This contract is not yet documented
Know something about this contract? Switch to the History tab and suggest an edit to help preserve Ethereum history.
Key Facts
Heuristic Analysis
The following characteristics were detected through bytecode analysis and may not be accurate.
Byzantium Era
First Metropolis hard fork. Added zk-SNARK precompiles, REVERT opcode, and staticcall.
Bytecode Overview
Verified Source Available
This contract has verified source code on Etherscan.
Show source code (Solidity)
// Submitted by EthereumHistory (ethereumhistory.com)
pragma solidity ^0.4.24;
contract Migrations {
address public owner;
uint public last_completed_migration;
modifier restricted() {
if (msg.sender == owner) _;
}
constructor() public {
owner = msg.sender;
}
function setCompleted(uint completed) public restricted {
last_completed_migration = completed;
}
function upgrade(address new_address) public restricted {
Migrations upgraded = Migrations(new_address);
upgraded.setCompleted(last_completed_migration);
}
}
External Links
Related contracts
Migrations
Same deployerMigrations 572 sibling — cluster of 28 identical deployments.
0x26b3c9...e8156eSeptember 13, 2018Migrations
Same deployerOne of 31 identical Truffle Migrations sibling clusters.
0x187c7c...3fe912September 13, 2018Migrations
Same deployerMigrations sibling — cluster of 30 identical deployments.
0x1d5ec5...d07f98September 13, 2018Migrations
Same deployerMigrations 572 sibling cluster of 29 identical deployments.
0x255527...4f5b71September 13, 2018Migrations
Same deployerFull standard Truffle Migrations contract — tracks `last_completed_migration`, restricted to deployer, with `upgrade(address)` to hand off to a new Migrations. Cluster of 32 identical deployments.
0x147ace...49a901September 13, 2018Msg
Same eraMinimal contract that stores a single public string in state, exposed via the auto-generated m() getter. First of 281 identical siblings. Source verified by EthereumHistory.
0x2c8f58...37b173January 13, 2018