Skip to content
Verified contractExactMIT

Migrations

Address0x662d11caeee424b7fda9d006db38d6cc81bba425
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.7.4

 

Same code

5 more contracts

 

Details

Compiler
solc 0.7.4+commit.3f05b770
Language
solidity
Optimization
Yes, 200 runs
EVM version
istanbul
License
MIT
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
11,374,006
Creation transaction
0xb750f6d915…7ccb4d3ea7
Main copy (most transactions)
0x24e0c656…0c74e26b

/Volumes/Work/Code/token-installation-timelock/contracts/Migrations.sol

// Migrations.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.4;

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": true
  },
  "evmVersion": "istanbul",
  "remappings": []
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.