Verified contractPartial
Migrations
Address0xf6d97f7d313eb6c4e40f5331b60abe2d163e8229
- Balance
0 ETH
- Transactions
3
- Compiler
solc 0.4.24
- Same code
182 more contracts
Details
- Compiler
- solc 0.4.24+commit.e67f0147
- Language
- solidity
- Optimization
- Yes, 1 runs
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 8,086,130
- Creation transaction
- 0x48e988a634…b403ab6424
- Main copy (most transactions)
- 0x8d7d4cc0…1db150ca
Migrations.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
pragma solidity ^0.4.23;
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": 1,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.