Copyright 2024 M^0 Foundation
Inherits: IERC5805, IERC20Extended
Author: M^0 Labs
Changes the voting power delegation for account
to delegatee
.
Parameters
Name | Type | Description |
---|---|---|
Returns the digest to be signed, via EIP-712, given an internal digest (i.e. hash struct).
Parameters
Returns
Returns the token balance of account
at a past clock value epoch
.
Parameters
Returns
Returns the delegatee of account
at a past clock value epoch
.
Parameters
Returns
Returns the total token supply at a past clock value epoch
.
Parameters
Returns
Revert message when the provided epoch is zero.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
account
address
The purported address of the signing account.
delegatee
address
The address the voting power of account
will be delegated to.
nonce
uint256
The nonce used for the signature.
expiry
uint256
The timestamp until which the signature is still valid.
signature
bytes
A byte array signature.
delegatee
address
The address of the delegatee to delegate to.
nonce
uint256
The nonce of the account delegating.
expiry
uint256
The timestamp until which the signature is still valid.
<none>
bytes32
The digest to be signed.
account
address
The address of some account.
epoch
uint256
The epoch number as a clock value.
<none>
uint256
The token balance account
at epoch
.
account
address
The address of some account.
epoch
uint256
The epoch number as a clock value.
<none>
address
The delegatee of the voting power of account
at epoch
.
epoch
uint256
The epoch number as a clock value.
<none>
uint256
The total token supply at epoch
.