Verified contractExactMIT
Migrations
Address0xbb342c168bf423bac066c4e2a5dea5853f6bfeb4
- 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,004
- Creation transaction
- 0x10d255fd63…4846f5521a
- 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.