IMaverickV2VotingEscrowBase
Last updated
Last updated
Inherits: IVotes, IHistoricalBalance
This function retrieves the address of the ERC20 token used as the base token for staking and rewards.
Returns
Name | Type | Description |
---|---|---|
This function retrieves the starting timestamp. This may be used for reward calculations or other time-based logic.
This function retrieves the details of a specific lockup for a given staker and lockup index.
Parameters
Returns
This function retrieves the total number of lockups associated with a specific staker.
Parameters
Returns
This function simulates a lockup scenario, providing details about the resulting lockup structure for a specified amount and duration.
Parameters
Returns
This function grants approval for a designated extender contract to manage a specific lockup on behalf of the staker.
Parameters
This function revokes approval previously granted to an extender contract for managing a specific lockup.
Parameters
This function checks whether a specific account has been approved by a staker to manage a particular lockup through an extender contract.
Parameters
Returns
This function extends the lockup period for the caller (msg.sender) for a specified lockup ID, adding a new duration and amount.
Parameters
Returns
This function extends the lockup period for a specified account, adding a new duration and amount. The caller (msg.sender) must be authorized to manage the lockup through an extender contract.
Parameters
Returns
This function merges multiple lockups associated with the caller (msg.sender) into a single new lockup.
Parameters
Returns
This function unstakes the specified lockup ID for the caller (msg.sender), returning the details of the unstaked lockup.
Parameters
Returns
This function is a simplified version of unstake
that automatically sends the unstaked tokens to the caller (msg.sender).
Parameters
Returns
This function stakes a specified amount of tokens for the caller (msg.sender) for a defined duration.
Parameters
Returns
This function stakes a specified amount of tokens for a defined duration, allowing the caller (msg.sender) to specify an optional recipient for the staked tokens.
Parameters
Returns
This function retrieves the total incentive information for a specific ERC-20 token.
Parameters
Returns
This function retrieves the total number of created incentive batches.
Returns
This function retrieves claim information for a specific account and incentive batch index.
Parameters
Returns
This function allows claiming rewards from a specific incentive batch while simultaneously extending a lockup with the claimed tokens.
Parameters
Returns
This function allows claiming rewards from a specific incentive batch, without extending any lockups.
Parameters
Returns
This function creates a new incentive batch for a specified amount of incentive tokens, timepoint, stake duration, and associated ERC-20 token. An incentive batch is a reward of incentives put up by the caller at a certain timepoint. The incentive batch is claimable by ve holders after the timepoint has passed. The ve holders will receive their incentive pro rata of their vote balance (pastbalanceOf
) at that timepoint. The incentivizer can specify that users have to stake the resulting incentive for a given stakeDuration
number of seconds. stakeDuration
can either be zero, meaning that no staking is required on redemption, or can be a number between MIN_STAKE_DURATION()
and MAX_STAKE_DURATION()
.
Parameters
Returns
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|