Verified contractPartial
Migrations
Address0xae1de4b100df1dec9176bc1c08bd38a04075f5f8
- Balance
0 ETH
- Transactions
1
- 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,747,494
- Creation transaction
- 0xb8eb998319…478f6fec28
- Main copy (most transactions)
- 0xfaaa8474…c1afe13d
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.