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 deployerStandard Truffle Migrations (unoptimized variant). Cluster of 22 identical deployments.
0x0d178a...9dc865September 11, 2018Migrations
Same deployerMigrations 760 sibling cluster of 21 identical deployments.
0x12c420...62076cSeptember 11, 2018Migrations
Same deployerMigrations 760 sibling — cluster of 20 identical deployments.
0x253cbd...d766f4September 11, 2018Migrations
Same deployerMigrations 760 sibling cluster of 24 identical deployments.
0x3a4f16...3ff11fOctober 17, 2018Migrations
Same deployerMigrations 760 sibling — cluster of 23 identical deployments.
0x444c67...f7ca5cOctober 17, 2018Migrations
Same deployerStandard Truffle Migrations (unoptimized variant). Cluster of 25 identical deployments.
0x23161c...cc3e28October 18, 2018