mirror of https://github.com/vacp2p/minime.git
More comments
This commit is contained in:
parent
4a760b1fef
commit
74f667bd8a
|
@ -33,15 +33,15 @@ contract MiniMeToken is Owned {
|
||||||
string public version = 'H0.1'; //human 0.1 standard. Just an arbitrary versioning scheme.
|
string public version = 'H0.1'; //human 0.1 standard. Just an arbitrary versioning scheme.
|
||||||
|
|
||||||
struct Checkpoint {
|
struct Checkpoint {
|
||||||
// snapshot when starts to take effect this assignation
|
// snapshot when starts to take effect this value
|
||||||
uint fromBlock;
|
uint fromBlock;
|
||||||
// balance assigned to token holder from this snapshot
|
// value used from the block
|
||||||
uint value;
|
uint value;
|
||||||
}
|
}
|
||||||
|
|
||||||
MiniMeToken public parentToken;
|
MiniMeToken public parentToken; // Parent token contract. 0x0 for a root token
|
||||||
uint public parentSnapShotBlock;
|
uint public parentSnapShotBlock; // Block used as the initial ditstribution of the parent token.
|
||||||
uint public creationBlock;
|
uint public creationBlock; // Timestamp when the token was created
|
||||||
mapping (address => Checkpoint[]) balances;
|
mapping (address => Checkpoint[]) balances;
|
||||||
mapping (address => mapping (address => uint256)) allowed;
|
mapping (address => mapping (address => uint256)) allowed;
|
||||||
Checkpoint[] totalSupplyHistory;
|
Checkpoint[] totalSupplyHistory;
|
||||||
|
|
Loading…
Reference in New Issue