Verified contractPartial
Migrations
Address0xfaaa8474d0faf40cdb67be315cd38451c1afe13d
- Balance
0 ETH
- Transactions
62
- Compiler
solc 0.4.26
- Same code
1,390 more contracts
Details
- Compiler
- solc 0.4.26+commit.4563c3fc
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 6,362,300
- Creation transaction
- 0x6a8af4506b…a19ffd0a43
Migrations.sol
pragma solidity ^0.4.23;
// @dev Generated and used by the Truffle framework
contract Migrations {
address public owner;
uint256 public last_completed_migration;
modifier restricted() {
if (msg.sender == owner)
_;
}
constructor() public {
owner = msg.sender;
}
function setCompleted(uint256 completed) public restricted {
last_completed_migration = completed;
}
function upgrade(address newAddress) public restricted {
Migrations upgraded = Migrations(newAddress);
upgraded.setCompleted(last_completed_migration);
}
}Compiler settingsShow
{
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.