Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pragma solidity ^0.4.24;
- contract TRY{
- uint public temp=0;
- function transfer_ether() public payable{
- require(msg.value>=60);
- temp=60;
- msg.sender.transfer(msg.value-60);
- }
- function to_contract() public payable {
- uint a=temp;
- temp=0;
- msg.sender.transfer(a);
- }
- }
Add Comment
Please, Sign In to add comment