Verified contractPartial
Migrations
Address0x44f1a3f8fece24627b1ae72ea7e1e7116ca3f849
- Balance
0 ETH
- Transactions
5
- Compiler
solc 0.4.24
- Same code
55 more contracts
Details
- Compiler
- solc 0.4.24+commit.e67f0147
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 6,587,044
- Creation transaction
- 0x24b602770f…883356440d
Migrations.sol
pragma solidity ^0.4.24;
contract Migrations {
address public owner;
uint public lastCompletedMigration;
modifier restricted() {
if (msg.sender == owner) {
_;
}
}
constructor() public {
owner = msg.sender;
}
function setCompleted(uint completed) public restricted {
lastCompletedMigration = completed;
}
function upgrade(address newAddress) public restricted {
Migrations upgraded = Migrations(newAddress);
upgraded.setCompleted(lastCompletedMigration);
}
}Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.