Skip to content
Verified contractPartialMIT

Migrations

Address0xb078d2a61bac7654cb612828ab75b8790a7d9dcd
Balance

0 ETH

 

Transactions

2

 

Compiler

solc 0.8.7

 

Same code

51 more contracts

 

Details

Compiler
solc 0.8.7+commit.e28d00a7
Language
solidity
Optimization
No
EVM version
london
License
MIT
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
13,243,133
Creation transaction
0x4ebb9d8f4d…046ab417b1
Main copy (most transactions)
0x1ee2e9d1…e0f6e925

/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
{
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "libraries": {},
  "optimizer": {
    "runs": 200,
    "enabled": false
  },
  "evmVersion": "london",
  "remappings": []
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.