Skip to content
Verified contractPartialMIT

Migrations

Address0x1c012df929b3fe8f32fa055f6fc6debfc6797621
Balance

0 ETH

 

Transactions

3

 

Compiler

solc 0.8.9

 

Same code

122 more contracts

 

Details

Compiler
solc 0.8.9+commit.e5eed63a
Language
solidity
Optimization
No
EVM version
london
License
MIT
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
15,214,161
Creation transaction
0xd8e9f8918e…05f38a4f3c
Main copy (most transactions)
0xca47e538…20a96793

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.