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 deployerOne of 23 identical Truffle Migrations sibling clusters.
0x152440...c1e41aDecember 12, 2018Migrations
Same deployerFull standard Truffle Migrations contract with `upgrade(address)`. Cluster of 24 identical deployments.
0x0a5473...e539b5December 12, 2018Migrations
Same deployerMigrations sibling — cluster of 22 identical deployments.
0x1b21c4...f0cf00December 13, 2018Migrations
Same deployerMigrations 572 sibling cluster of 21 identical deployments.
0x204e15...1f431cDecember 13, 2018Migrations
Same deployerMigrations 572 sibling — cluster of 20 identical deployments.
0x29b470...204402December 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