Verified contractPartial
Migrations
Address0x74b75fc0e1b00758fe2d28e6a4212088c58bc23f
- Balance
0 ETH
- Transactions
8
- Compiler
solc 0.5.15
- Same code
2 more contracts
Details
- Compiler
- solc 0.5.15+commit.6a57276f
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 9,156,138
- Creation transaction
- 0x78c84cdd6a…c3b4a0dc90
Migrations.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
/**
Author: Loopring Foundation (Loopring Project Ltd)
*/
pragma solidity ^0.5.11;
contract Migrations {
address public owner;
uint public last_completed_migration;
modifier restricted()
{
if (msg.sender == owner) {
_;
}
}
constructor()
public
{
owner = msg.sender;
}
function setCompleted(uint completed)
public
restricted
{
last_completed_migration = completed;
}
function upgrade(address newAddress)
public
restricted
{
Migrations upgraded = Migrations(newAddress);
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.