Skip to content
Verified contractExactMIT

Migrations

Address0x1907fef5f0fe41daa1c99877be4f5356dddfdbc8
Balance

0 ETH

 

Transactions

3

 

Compiler

solc 0.8.16

 

Same code

15 more contracts

 

Details

Compiler
solc 0.8.16+commit.07a7930e
Language
solidity
Optimization
No
EVM version
london
License
MIT
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
15,352,285
Creation transaction
0xb921d4d95f…10e772dad7
Main copy (most transactions)
0x04f34899…273363ac

project:/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.