IMaverickV2VotingEscrowLens
Functions
claimInformation
This function retrieves paginated claim information for a specific account and claim index range within a provided Maverick V2 Voting Escrow (veToken) contract.
Parameters
ve
IMaverickV2VotingEscrow
The address of the IMaverickV2VotingEscrow contract for which to retrieve claim information.
account
address
The address of the account for which to retrieve claim information.
startIndex
uint256
The starting index for the desired range of claims.
endIndex
uint256
The ending index for the desired range of claims.
Returns
returnElements
IMaverickV2VotingEscrow.ClaimInformation[]
An array of IMaverickV2VotingEscrow.ClaimInformation
structs containing details about claimable rewards for the specified account within the index range.
syncInformation
This function retrieves paginated information on the lockup synchronization status for legacy ve mav.
Parameters
ve
IMaverickV2VotingEscrowWSync
The address of the ve contract for which to retrieve sync information.
staker
address
The address of the user for whom to retrieve sync information.
startIndex
uint256
The starting index for the desired range of legacy lockups.
endIndex
uint256
The ending index for the desired range of legacy lockups.
Returns
legacyLockups
IMaverickV2VotingEscrow.Lockup[]
An array of IMaverickV2VotingEscrow.Lockup
structs containing details about the user's legacy lockups within the index range.
syncedBalances
uint256[]
An array of uint256 values representing the synced balances corresponding to the legacy lockups.
getLockups
This function retrieves paginated lockup information for a specific account and lockup index range within a provided Maverick V2 Voting Escrow (veToken) contract.
Parameters
ve
IMaverickV2VotingEscrow
The address of the IMaverickV2VotingEscrow contract for which to retrieve lockup information.
staker
address
The address of the account for which to retrieve lockup information.
startIndex
uint256
The starting index for the desired range of lockups.
endIndex
uint256
The ending index for the desired range of lockups.
Returns
returnElements
IMaverickV2VotingEscrow.Lockup[]
An array of IMaverickV2VotingEscrow.Lockup
structs containing details about the lockups within the specified index range for the account.
Last updated