IPowerBootstrapToken
Author: M^0 Labs
Functions
pastBalanceOf
Returns the token balance of account
at a past clock value epoch
.
Parameters
account
address
The address of some account.
epoch
uint256
The epoch number as a clock value.
Returns
<none>
uint256
The token balance account
at epoch
.
pastTotalSupply
Returns the total token supply at a past clock value epoch
.
Parameters
epoch
uint256
The epoch number as a clock value.
Returns
<none>
uint256
The total token supply at epoch
.
Errors
ArrayLengthMismatch
Revert message when the length of some accounts array does not equal the length of some balances array.
Parameters
accountsLength
uint256
The length of the accounts array.
balancesLength
uint256
The length of the balances array.
TotalSupplyTooLarge
Revert message when the total supply is larger than type(uint240).max
, rendering the contract incompatible as a bootstrap token for the PowerToken.