Skip to content
Verified contractPartialMIT

Migrations

Address0x28cf997cc26f5cdfe0d2d5f3fafd297f0a0a7a42
Balance

0 ETH

 

Transactions

3

 

Compiler

solc 0.8.13

 

Same code

42 more contracts

 

Details

Compiler
solc 0.8.13+commit.abaa5c0e
Language
solidity
Optimization
No
EVM version
london
License
MIT
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
14,630,660
Creation transaction
0x48de8e649d…5ae7ddada8
Main copy (most transactions)
0xd1cd59e9…2d2e0ce8

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