MaverickV2VotingEscrowLens

Inherits: IMaverickV2VotingEscrowLens

Provides view functions for voting escrow information.

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.

function claimInformation(IMaverickV2VotingEscrow ve, address account, uint256 startIndex, uint256 endIndex)
    public
    view
    returns (IMaverickV2VotingEscrow.ClaimInformation[] memory returnElements);

Parameters

Returns

syncInformation

This function retrieves paginated information on the lockup synchronization status for legacy ve mav.

function syncInformation(IMaverickV2VotingEscrowWSync ve, address staker, uint256 startIndex, uint256 endIndex)
    public
    view
    returns (IMaverickV2VotingEscrow.Lockup[] memory legacyLockups, uint256[] memory syncedBalances);

Parameters

Returns

getLockups

This function retrieves paginated lockup information for a specific account and lockup index range within a provided Maverick V2 Voting Escrow (veToken) contract.

function getLockups(IMaverickV2VotingEscrow ve, address staker, uint256 startIndex, uint256 endIndex)
    public
    view
    returns (IMaverickV2VotingEscrow.Lockup[] memory returnElements);

Parameters

Returns

Last updated