Skip to content
Verified contractPartialMIT

Migrations

Address0xe5a0bc97f0471823d94ad7cef5c2009bfeffe072
Balance

0 ETH

 

Transactions

57

 

Compiler

solc 0.5.16

 

Same code

2 more contracts

 

Details

Compiler
solc 0.5.16+commit.9c3226ce
Language
solidity
Optimization
No
License
MIT
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
10,818,203
Creation transaction
0x6e8e2118e6…b84fac1144

Migrations.sol

// File: contracts/Migrations.sol

// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0;

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;
  }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 0,
    "enabled": false
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.