Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing methods on Rust ElContracts #166

Open
pablodeymo opened this issue Nov 21, 2024 · 1 comment
Open

missing methods on Rust ElContracts #166

pablodeymo opened this issue Nov 21, 2024 · 1 comment

Comments

@pablodeymo
Copy link
Collaborator

pablodeymo commented Nov 21, 2024

Tracking issue for missing methods in elcontracts

  • Todo:
    GetCurrentClaimableDistributionRoot

  • Done:
    GetCumulativeClaimed
    GetAllocatableMagnitude
    CheckClaim
    GetStrategyAndUnderlyingToken
    GetDistributionRootsLength
    CurrRewardsCalculationEndTimestamp
    GetRootIndexFromHash
    GetStrategiesForOperatorSet
    GetOperatorSetsForOperator
    GetDelegatedAndSlashableSharesForOperatorSetsBefore
    GetAllocationDelay
    GetRegisteredSets
    GetSlashableSharesForOperatorSets
    GetNumOperatorsForOperatorSet
    GetOperatorsForOperatorSet
    GetDelegatedOperator
    GetMaxMagnitudes
    GetAllocationInfo
    GetOperatorShares
    GetOperatorsShares
    GetNumOperatorSetsForOperator
    IsOperatorRegisteredWithOperatorSet

@pablodeymo
Copy link
Collaborator Author

bindings already in the code:

    pub enum IRewardsCoordinatorCalls {
        CALCULATION_INTERVAL_SECONDS(CALCULATION_INTERVAL_SECONDSCall),
        GENESIS_REWARDS_TIMESTAMP(GENESIS_REWARDS_TIMESTAMPCall),
        MAX_FUTURE_LENGTH(MAX_FUTURE_LENGTHCall),
        MAX_RETROACTIVE_LENGTH(MAX_RETROACTIVE_LENGTHCall),
        MAX_REWARDS_DURATION(MAX_REWARDS_DURATIONCall),
        activationDelay(activationDelayCall),
        calculateEarnerLeafHash(calculateEarnerLeafHashCall),
        calculateTokenLeafHash(calculateTokenLeafHashCall),
        checkClaim(checkClaimCall),
        claimerFor(claimerForCall),
        createAVSRewardsSubmission(createAVSRewardsSubmissionCall),
        createRewardsForAllSubmission(createRewardsForAllSubmissionCall),
        cumulativeClaimed(cumulativeClaimedCall),
        currRewardsCalculationEndTimestamp(currRewardsCalculationEndTimestampCall),
        disableRoot(disableRootCall),
        getCurrentDistributionRoot(getCurrentDistributionRootCall),
        getDistributionRootAtIndex(getDistributionRootAtIndexCall),
        getDistributionRootsLength(getDistributionRootsLengthCall),
        getRootIndexFromHash(getRootIndexFromHashCall),
        globalOperatorCommissionBips(globalOperatorCommissionBipsCall),
        operatorCommissionBips(operatorCommissionBipsCall),
        processClaim(processClaimCall),
        rewardsUpdater(rewardsUpdaterCall),
        setActivationDelay(setActivationDelayCall),
        setClaimerFor(setClaimerForCall),
        setGlobalOperatorCommission(setGlobalOperatorCommissionCall),
        setRewardsForAllSubmitter(setRewardsForAllSubmitterCall),
        setRewardsUpdater(setRewardsUpdaterCall),
        submitRoot(submitRootCall),
    }

@pablodeymo pablodeymo changed the title missing methods on Rust ElContracts Reader missing methods on Rust ElContracts Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant