Contract Overview
ETH Balance: 0 Ether
No Of Transactions: 3 txns
  Latest 3 txns

TxHash Age From To Value [TxFee]
0xc67442762ddaa434bff499ec99f25ea9349568ef54c4f918bf37fd396abe405c10 days 18 hrs ago0xc19fb23f396b338b7b7fc97ab02da9cfdb119187  IN   0x2f26b99bb778e2b63bc1952a93b62e16d448009e0 Ether0.0026965
0xaed73b9c44b581ae9d6c13a5a81f533a33f1b8df48dd9e1637610590e362dfb910 days 18 hrs ago0xc19fb23f396b338b7b7fc97ab02da9cfdb119187  IN   0x2f26b99bb778e2b63bc1952a93b62e16d448009e0 Ether0.0041965
0xcc5369bd8f2945e5b9c9f1e953b76dc654339f3bf60ea2a20ee1eb5df5d739f410 days 18 hrs ago0xc19fb23f396b338b7b7fc97ab02da9cfdb119187  IN    Contract Creation0 Ether0.0201556
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Warning: The compiled contract might be susceptible to ZeroFunctionSelector (very low-severity) Solidity compiler bugs.

Contract Source Code Verified
Contract Name: Migrations
Compiler Version: v0.4.15+commit.bbb8e64f
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts
pragma solidity ^0.4.2;

contract Migrations {
  address public owner;
  uint public last_completed_migration;

  modifier restricted() {
    if (msg.sender == owner) _;
  }

  function Migrations() {
    owner = msg.sender;
  }

  function setCompleted(uint completed) restricted {
    last_completed_migration = completed;
  }

  function upgrade(address new_address) restricted {
    Migrations upgraded = Migrations(new_address);
    upgraded.setCompleted(last_completed_migration);
  }
}

    Contract ABI  
[{"constant":false,"inputs":[{"name":"new_address","type":"address"}],"name":"upgrade","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"last_completed_migration","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"completed","type":"uint256"}],"name":"setCompleted","outputs":[],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000f57600080fd5b5b60008054600160a060020a03191633600160a060020a03161790555b5b6101e58061003c6000396000f300606060405263ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630900f010811461005e578063445df0ac1461007f5780638da5cb5b146100a4578063fdacd576146100d3575b600080fd5b341561006957600080fd5b61007d600160a060020a03600435166100eb565b005b341561008a57600080fd5b610092610182565b60405190815260200160405180910390f35b34156100af57600080fd5b6100b7610188565b604051600160a060020a03909116815260200160405180910390f35b34156100de57600080fd5b61007d600435610197565b005b6000805433600160a060020a039081169116141561017c5781905080600160a060020a031663fdacd5766001546040517c010000000000000000000000000000000000000000000000000000000063ffffffff84160281526004810191909152602401600060405180830381600087803b151561016757600080fd5b6102c65a03f1151561017857600080fd5b5050505b5b5b5050565b60015481565b600054600160a060020a031681565b60005433600160a060020a03908116911614156101b45760018190555b5b5b505600a165627a7a72305820c2ccfd203fec93a79c38fbbe5ae0f1f73a09209485f5fead18a45d0d73a398e50029

   Swarm Source:
bzzr://c2ccfd203fec93a79c38fbbe5ae0f1f73a09209485f5fead18a45d0d73a398e5
View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward