Copyright 2024 M^0 Foundation
Inherits: IEpochBasedVoteToken
Author: M^0 Labs
Syncs account
so that its balance Snap array in storage, reflects their unrealized inflation.
Parameters
Name | Type | Description |
---|---|---|
Returns whether delegatee
has participated in voting during clock value epoch
.
Parameters
Name | Type | Description |
---|---|---|
Returns
Returns the participation inflation rate used to inflate tokens for participation.
Returns 100% in basis point, to be used to correctly ascertain the participation inflation rate.
Emitted when account
is manually synced.
Parameters
Revert message when trying to mark an account as participated in an epoch where it already participated.
Revert message when the proposed epoch is larger than the current epoch.
Parameters
Revert message when trying to construct contact with inflation above 100%.
Revert message when trying to perform an action not allowed outside of designated voting epochs.
Revert message when trying to perform an action not allowed during designated voting epochs.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
account
address
The address of the account to sync.
delegatee
address
The address of a delegatee with voting power.
epoch
uint256
The epoch number as a clock value.
<none>
bool
Whether delegatee
has participated in voting during epoch
.
account
address
The address of an account that is synced.
currentEpoch
uint16
The current epoch clock value.
epoch
uint16
The handled epoch clock value.