SHARE
TWEET

Untitled

a guest Jun 18th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. coins[msg.sender] += 5;
  2.      
  3. func getInterest(){
  4.     if( (coins[msg.sender].lastClainBlk + 100 ) < block.number ){
  5.         coins[msg.sender].balance += coins[msg.sender].balance *RATE;
  6.         coins[msg.sender].lastClainBlk = block.number
  7.     }
  8. }
  9.      
  10. assert(transactionsValid(transactions));
  11. var new_head = hash(transactions, nonce, blockhead);
  12. assert(new_head < threshold);
  13. coins[msg.sender] += 5;
  14. blockhead = new_head;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top