Skip to content

Commit

Permalink
feat(token): save epochs_start block
Browse files Browse the repository at this point in the history
  • Loading branch information
hobofan committed Jul 9, 2018
1 parent 7eef4c5 commit 79da17a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contracts/RlayToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import "openzeppelin-solidity/contracts/MerkleProof.sol";
contract RlayToken is EIP20 {
// owner required for temporary workaround of permissioned payout calculation
address public owner;
// start block of all epochs
uint256 public epochs_start;
// mapping of epochs to the merkle root of the payouts for that epoch
mapping (uint256 => bytes32) public payout_roots;
// keeps track of the total withrawals made for a address
Expand All @@ -19,6 +21,7 @@ contract RlayToken is EIP20 {
"RLAY"
) public {
owner = msg.sender;
epochs_start = block.number;
}

function mintedAmountPerEpoch()
Expand Down

0 comments on commit 79da17a

Please sign in to comment.