PowerBootstrapToken
Inherits: IPowerBootstrapToken
Author: M^0 Labs
The timepoints queried is ignored as this token is not time-dependent.
State Variables
_totalSupply
The total supply of token.
_balances
Mapping to keep track of token balances per account.
Functions
constructor
Constructs a new PowerBootstrapToken contract.
Parameters
Name | Type | Description |
---|---|---|
|
| The initial accounts to mint tokens to. |
|
| The initial token balances to mint to each accounts. |
pastBalanceOf
Returns the token balance of account
at a past clock value epoch
.
Parameters
Name | Type | Description |
---|---|---|
|
| |
|
|
Returns
Name | Type | Description |
---|---|---|
|
| The token balance |
pastTotalSupply
Returns the total token supply at a past clock value epoch
.
Parameters
Name | Type | Description |
---|---|---|
|
|
Returns
Name | Type | Description |
---|---|---|
|
| The total token supply at |