Verified contractPartial
Migrations
Address0x616a9af9ea0b2e4b5fb40ce1a5a99d8d8b05785e
- Balance
0 ETH
- Transactions
4
- Compiler
solc 0.5.10
- Same code
15 more contracts
Details
- Compiler
- solc 0.5.10+commit.5a6ea5b1
- Language
- solidity
- Optimization
- No
- EVM version
- byzantium
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 8,884,586
- Creation transaction
- 0x82977266d3…b7a204b04c
Migrations.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
// File: contracts/Migrations.sol
pragma solidity >=0.4.21 <0.6.0;
contract Migrations {
address public owner;
uint public last_completed_migration;
constructor() public {
owner = msg.sender;
}
modifier restricted() {
if (msg.sender == owner) _;
}
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);
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
},
"evmVersion": "byzantium"
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.