Verified contractExact
CGCXiChainCheckpoint
Address0x22dcba739b802180f984e8bf12109e281c1953a4
- Balance
0 ETH
- Transactions
67
- Compiler
solc 0.8.4
- Same code
Only this contract
Details
- Compiler
- solc 0.8.4+commit.c7e474f2
- Language
- solidity
- Optimization
- Yes, 200 runs
- EVM version
- istanbul
- License
- Not stated
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 12,734,708
- Creation transaction
- 0x4c6ea78b79…51e4765433
iChain.sol
pragma solidity ^0.8.0;
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor() {
owner = msg.sender;
emit OwnershipTransferred(address(0), msg.sender);
}
modifier onlyOwner() {
require(owner == msg.sender, "msg.sender is not the owner");
_;
}
function transferOwnership(address _newOwner) public onlyOwner {
require(_newOwner != address(0), "new owner is the zero address");
emit OwnershipTransferred(owner, _newOwner);
owner = _newOwner;
}
}
contract CGCXiChainCheckpoint is Ownable {
function checkpoint(uint256 _checkpointNumber, bytes32 _checkpointHash, bytes32 _parentHash, bytes32 _blocksRoot, bytes32 _previousTxHash) external onlyOwner {
// Checkpoint is written as Calldata
}
}
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.