IPowerBootstrapToken
Author: M^0 Labs
Functions
pastBalanceOf
Returns the token balance of account
at a past clock value epoch
.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of some account. |
|
| The epoch number as a clock value. |
Returns
Name | Type | Description |
---|---|---|
|
| The token balance |
pastTotalSupply
Returns the total token supply at a past clock value epoch
.
Parameters
Name | Type | Description |
---|---|---|
|
| The epoch number as a clock value. |
Returns
Name | Type | Description |
---|---|---|
|
| The total token supply at |
Errors
ArrayLengthMismatch
Revert message when the length of some accounts array does not equal the length of some balances array.
Parameters
Name | Type | Description |
---|---|---|
|
| The length of the accounts array. |
|
| 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.