Skip to content
Verified contractPartialMIT

Migrations

Address0x87f5e9c4967f4d85767281d817201bddbe83ae3c
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.6.2

 

Same code

Only this contract

 

Details

Compiler
solc 0.6.2+commit.bacdbe57
Language
solidity
Optimization
No
EVM version
istanbul
License
MIT
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
12,007,080
Creation transaction
0xa630a4f3c0…28e273d0d0

/contracts/Migrations.sol

// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;

contract Migrations {
  address public owner = msg.sender;
  uint public last_completed_migration;

  modifier restricted() {
    require(
      msg.sender == owner,
      "This function is restricted to the contract's owner"
    );
    _;
  }

  function setCompleted(uint completed) public restricted {
    last_completed_migration = completed;
  }
}
Compiler settingsShow
{
  "libraries": {},
  "optimizer": {
    "runs": 200,
    "enabled": false
  },
  "evmVersion": "istanbul",
  "remappings": []
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.