IMaverickV2VotingEscrowWSync
Functions
MIN_SYNC_DURATION
This function retrieves the minimum lockup duration required for a legacy lockup to be eligible for synchronization.
Returns
Name | Type | Description |
---|---|---|
|
| The minimum allowed lockup end time. |
legacyVeMav
This function retrieves the address of the legacy Maverick V1 Voting Escrow (veMav) token.
Returns
Name | Type | Description |
---|---|---|
|
| legacyVeMav The address of the IERC20 legacy veMav token. |
syncBalances
This function retrieves the synced balance for a specific legacy lockup index of a user.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of the user for whom to retrieve the synced balance. |
|
| The index of the legacy lockup for which to retrieve the synced balance. |
Returns
Name | Type | Description |
---|---|---|
|
| The synced balance associated with the legacy lockup. |
sync
This function synchronizes a specific legacy lockup index for a user within the contract. If the legacy lockup.end is not at least block.timestamp + MIN_SYNC_DURATION()
, this function will revert.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of the user for whom to perform synchronization. |
|
| The index of the legacy lockup to be synchronized. |
Returns
Name | Type | Description |
---|---|---|
|
| The new balance resulting from the synchronization process. |
Events
Sync
Errors
VotingEscrowLockupEndTooShortToSync
Last updated