Skip to content
Verified contractPartialMIT

Migrations

Address0x49a063cd1ab8b5a2980059bc41d82aaa70c6bd85
Balance

0 ETH

 

Transactions

4

 

Compiler

solc 0.6.12

 

Same code

Only this contract

 

Details

Compiler
solc 0.6.12+commit.27d51765
Language
solidity
Optimization
Yes, 100 runs
EVM version
istanbul
License
MIT
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
13,371,113
Creation transaction
0x45b6f6b0e3…bbbea1ed5c

/home/boyd/git/keyko/test/celo-world/contracts/Migrations.sol

// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;

contract Migrations {
    address public owner = msg.sender;
    /* solhint-disable-next-line */
    uint256 public last_completed_migration;

    modifier restricted() {
        /* solhint-disable-next-line */
        require(msg.sender == owner, "This function is restricted to the contract's owner");
        _;
    }

    function setCompleted(uint256 completed) public restricted {
        last_completed_migration = completed;
    }
}
Compiler settingsShow
{
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "libraries": {},
  "optimizer": {
    "runs": 100,
    "enabled": true
  },
  "evmVersion": "istanbul",
  "remappings": []
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.