Guest User

Untitled

a guest
Dec 10th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. contract ERC918 {
  2.  
  3. function mint(uint256 nonce) public returns (bool success);
  4.  
  5. function getAdjustmentInterval() public view returns (uint);
  6.  
  7. function getChallengeNumber() public view returns (bytes32);
  8.  
  9. function getMiningDifficulty() public view returns (uint);
  10.  
  11. function getMiningTarget() public view returns (uint);
  12.  
  13. function getMiningReward() public view returns (uint);
  14.  
  15. function hash(uint256 _nonce, address _minter) public returns (bytes32 digest);
  16.  
  17. function _reward(address _minter) internal returns (uint);
  18.  
  19. function _epoch() internal returns (uint);
  20.  
  21. function _adjustDifficulty() internal returns (uint);
  22.  
  23. event Mint(address indexed from, uint rewardAmount, uint epochCount, bytes32 newChallengeNumber);
  24. }
Add Comment
Please, Sign In to add comment