Verified contractPartial
Migrations
Address0x297e7ff69869144740198bcdfb6aa53db677e4ca
- Balance
0 ETH
- Transactions
7
- Compiler
solc 0.4.15
- Same code
Only this contract
Details
- Compiler
- solc 0.4.15+commit.bbb8e64f
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 4,331,424
- Creation transaction
- 0xc472774874…15c4d21c60
Migrations.sol
pragma solidity ^0.4.4;
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.