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

TxHash Age From To Value [TxFee]
0x8c0abc3ba4209d65264c8b5b50fd78b444a6098f115f9779792b82f11a2d027a11 days 54 mins ago0xe4759025217db0a30ac923e297b8aa73cd4a97c5  IN   0xaaa886e95afa5404cac8b876fcb16218424c1cb20 Ether0.0026965
0x8027514271492c9a112cb49fd092310aff833782eb6d373cdc242390548040df11 days 56 mins ago0xe4759025217db0a30ac923e297b8aa73cd4a97c5  IN   0xaaa886e95afa5404cac8b876fcb16218424c1cb20 Ether0.0041965
0xb81f93b60ed392d0971b45a500069a559facb4b0d7dc05229798636f57c70a3b11 days 56 mins ago0xe4759025217db0a30ac923e297b8aa73cd4a97c5  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.4;

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
6060604052341561000f57600080fd5b5b60008054600160a060020a03191633600160a060020a03161790555b5b6101e58061003c6000396000f300606060405263ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630900f010811461005e578063445df0ac1461007f5780638da5cb5b146100a4578063fdacd576146100d3575b600080fd5b341561006957600080fd5b61007d600160a060020a03600435166100eb565b005b341561008a57600080fd5b610092610182565b60405190815260200160405180910390f35b34156100af57600080fd5b6100b7610188565b604051600160a060020a03909116815260200160405180910390f35b34156100de57600080fd5b61007d600435610197565b005b6000805433600160a060020a039081169116141561017c5781905080600160a060020a031663fdacd5766001546040517c010000000000000000000000000000000000000000000000000000000063ffffffff84160281526004810191909152602401600060405180830381600087803b151561016757600080fd5b6102c65a03f1151561017857600080fd5b5050505b5b5b5050565b60015481565b600054600160a060020a031681565b60005433600160a060020a03908116911614156101b45760018190555b5b5b505600a165627a7a7230582067bc9aab6dc90b23f6fac95ce495d9a12ef77024e74678f353c47e6b9a8f38910029

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