Verified contractExactMIT
Migrations
Address0x24e0c6562ff19e2e97e79de47e4d16e60c74e26b
- Balance
0 ETH
- Transactions
7
- 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,406,750
- Creation transaction
- 0xfc23f3286b…c8ee914c25
/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.