Verified contractPartial
Migrations
Address0xca1620a73d06f1dc462dabd9781bcc79e528d184
- Balance
0 ETH
- Transactions
2
- Compiler
solc 0.4.15
- Same code
237 more contracts
Details
- Compiler
- solc 0.4.15+commit.8b45bddb
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 4,302,563
- Creation transaction
- 0xf2dcacc7ff…1b97a6ca85
- Main copy (most transactions)
- 0x3b447784…c20aa9d1
Migrations.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
pragma solidity ^0.4.11;
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);
}
}Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.