Skip to content
Verified contractPartialBUSL-1.1

Migrations

Address0xb56e997d3edaa4f7f5b111c04018ca0e1c253c2c
Balance

0 ETH

 

Transactions

97

 

Compiler

solc 0.8.15

 

Same code

1 more contract

 

Details

Compiler
solc 0.8.15+commit.e14f2714
Language
solidity
Optimization
Yes, 800 runs
License
BUSL-1.1
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
15,346,466
Creation transaction
0xab65a2a786…049e44d47c

Migrations.sol

// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.15;

contract Migrations {
    address public owner;
    uint256 public last_completed_migration;

    constructor() {
        owner = msg.sender;
    }

    modifier restricted() {
        if (msg.sender == owner) _;
    }

    function setCompleted(uint256 completed) public restricted {
        last_completed_migration = completed;
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 800,
    "enabled": true
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.