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
initialAccounts_
address[]
The initial accounts to mint tokens to.
initialBalances_
uint256[]
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
account_
address
<none>
uint256
Returns
Name
Type
Description
<none>
uint256
The token balance account
at epoch
.
pastTotalSupply
Returns the total token supply at a past clock value epoch
.
Parameters
Name
Type
Description
<none>
uint256
Returns
Name
Type
Description
<none>
uint256
The total token supply at epoch
.