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 22 identical deployments.
0x36719e...c0028fJune 22, 2018Migrations
Same deployerFull standard Truffle Migrations contract with `upgrade(address)`. Cluster of 26 identical deployments.
0x0649fc...b24caaJune 22, 2018Migrations
Same deployerMigrations 572 sibling cluster of 23 identical deployments.
0x2c2b00...cb09e4June 22, 2018Migrations
Same deployerOne of 25 identical Truffle Migrations sibling clusters.
0x1acf60...6fc127June 23, 2018Migrations
Same deployerMigrations sibling — cluster of 24 identical deployments.
0x2250bd...3bc286June 23, 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