Sponsored Link:   Ducatur - EOS Hackathon Won! MVP Ready! Softcap reached! - Buy 1st Multichain Token - 3in1 (ETH,NEO,EOS)



TxHash Age From To Value [TxFee]
   There are no matching entries   
 Internal Transactions as a result of Contract Execution
 Latest 1 Internal Transaction

ParentTxHash Block Age From To Value
0xb11e56110a1796dfdf341d3f14b75ad629457c112169dddfafa5d74e8b391dd33986863346 days 12 hrs ago0xd26114cd6ee289accf82350c8d8487fedb8a0c07  Contract Creation0 Ether
[ Download CSV Export  ] 
Warning: The compiled contract might be susceptible to ZeroFunctionSelector (very low-severity), DelegateCallReturnValue (low-severity), ECRecoverMalformedInput (medium-severity), SkipEmptyStringLiteral (low-severity) Solidity compiler bugs.

Contract Source Code Verified (Exact match)
Contract Name: TokenTimelock
Compiler Version: v0.4.11+commit.68ef5810
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20Basic {
  uint public totalSupply;
  function balanceOf(address who) constant returns (uint);
  function transfer(address to, uint value);
  event Transfer(address indexed from, address indexed to, uint value);
}

/**
 * @title TokenTimelock
 * @dev TokenTimelock is a token holder contract that will allow a
 * beneficiary to extract the tokens after a time has passed
 */
contract TokenTimelock {

  // ERC20 basic token contract being held
  ERC20Basic token;

  // beneficiary of tokens after they are released
  address beneficiary;

  // timestamp where token release is enabled
  uint releaseTime;

  function TokenTimelock(ERC20Basic _token, address _beneficiary, uint _releaseTime) {
    require(_releaseTime > now);
    token = _token;
    beneficiary = _beneficiary;
    releaseTime = _releaseTime;
  }

  /**
   * @dev beneficiary claims tokens held by time lock
   */
  function claim() {
    require(msg.sender == beneficiary);
    require(now >= releaseTime);

    uint amount = token.balanceOf(this);
    require(amount > 0);

    token.transfer(beneficiary, amount);
  }
}

    Contract ABI  
[{"constant":false,"inputs":[],"name":"claim","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"_token","type":"address"},{"name":"_beneficiary","type":"address"},{"name":"_releaseTime","type":"uint256"}],"payable":false,"type":"constructor"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000c57fe5b60405160608061025f8339810160409081528151602083015191909201515b4281116100385760006000fd5b60008054600160a060020a03808616600160a060020a031992831617909255600180549285169290911691909117905560028190555b5050505b6101de806100816000396000f300606060405263ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634e71d92d811461003a575bfe5b341561004257fe5b61004a61004c565b005b6001546000903373ffffffffffffffffffffffffffffffffffffffff9081169116146100785760006000fd5b6002544210156100885760006000fd5b6000805460408051602090810184905281517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff3081166004830152925192909316936370a082319360248082019492918390030190829087803b151561010157fe5b6102c65a03f1151561010f57fe5b505060405151915050600081116101265760006000fd5b60008054600154604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9283166004820152602481018690529051919092169263a9059cbb926044808201939182900301818387803b151561019d57fe5b6102c65a03f115156101ab57fe5b5050505b505600a165627a7a723058204c37435b790331d68c36965a2a6a779ee7dfa9e5ef15513f34e6101f902c29460029000000000000000000000000d26114cd6ee289accf82350c8d8487fedb8a0c070000000000000000000000002551d2357c8da54b7d330917e0e769d33f1f5b93000000000000000000000000000000000000000000000000000000005b381980

    Constructor Arguments (ABI-encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000d26114cd6EE289AccF82350c8d8487fedB8A0C070000000000000000000000002551d2357c8da54b7d330917e0e769d33f1f5b93000000000000000000000000000000000000000000000000000000005b381980

-----Decoded View---------------
Found 3 constructor arguments :
Arg [0] : 000000000000000000000000d26114cd6EE289AccF82350c8d8487fedB8A0C07
Arg [1] : 0000000000000000000000002551d2357c8da54b7d330917e0e769d33f1f5b93
Arg [2] : 000000000000000000000000000000000000000000000000000000005b381980


   Swarm Source:
bzzr://4c37435b790331d68c36965a2a6a779ee7dfa9e5ef15513f34e6101f902c2946

 

View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.