0 txs
0 calls
constructor
constructor(uint256 _threshold)
functions
commitments
viewfunction commitments(address arg0, uint256 arg1) view returns (bytes32)
committer_count
viewfunction committer_count() view returns (uint256)
future_owner
viewfunction future_owner() view returns (address)
get_block_hash
viewfunction get_block_hash(uint256 _number) view returns (bytes32)
get_committer
viewfunction get_committer(uint256 arg0) view returns (address)
is_committer
viewfunction is_committer(address _committer) view returns (bool)
owner
viewfunction owner() view returns (address)
threshold
viewfunction threshold() view returns (uint256)
accept_transfer_ownership
nonpayablefunction accept_transfer_ownership()
add_committer
nonpayablefunction add_committer(address _committer)
apply
nonpayablefunction apply(uint256 _number, bytes32 _hash, address[] _committers)
commit_transfer_ownership
nonpayablefunction commit_transfer_ownership(address _future_owner)
commit
nonpayablefunction commit(uint256 _number, bytes32 _hash)
remove_committer
nonpayablefunction remove_committer(address _committer)
set_block_hash
nonpayablefunction set_block_hash(uint256 _number, bytes32 _hash)
set_threshold
nonpayablefunction set_threshold(uint256 _threshold)
events
AddCommitter
event AddCommitter(address indexed committer)
ApplyBlockHash
event ApplyBlockHash(uint256 indexed number, bytes32 hash)
CommitBlockHash
event CommitBlockHash(address indexed committer, uint256 indexed number, bytes32 hash)
RemoveCommitter
event RemoveCommitter(address indexed committer)
SetThreshold
event SetThreshold(uint256 threshold)
TransferOwnership
event TransferOwnership(address indexed owner)
errors
No errors.
creation bytecode
0x3461007d5760206106f86000396000516024557f46e8115bf463f9c29a9424fe152addef1bfaf2b43180d19bb7c2c78cc0ff1ebf60206106f860403960206040a133602555337fcfaaa26691e16e66e73290fc725eee1a6b4e0e693a1640484937aac25ffb55a460006040a261066161008261000039610661610000f35b600080fd60003560e01c6002600d820660011b61064701601e39600051565b6399ca856c811861006857604436103417610642576004358060a01c610642576040526001604051602052600052604060002080602435602052600052604060002090505460605260206060f35b63bf8d5f31811861063c57602436103417610642576004358060a01c610642576040526002604051602052600052604060002054151560605260206060f361063c565b636876d894811861063c5760243610341761064257600435600354811015610642576004015460405260206040f361063c565b6342cde4e881186100fa57346106425760245460405260206040f35b6339652ba4811861063c57602436103417610642576004358060a01c6106425760405260255433186106425760035460018103818111610642579050606052606051156101ac57600260405160205260005260406000205460018103818111610642579050608052606051600354811015610642576004015460a05260a051608051600354811015610642576004015560805160018101818110610642579050600260a0516020526000526040600020555b6001600354801561064257038060035550600060026040516020526000526040600020556040517f7e10e432298311a6e8b3ac2db903c9d8e89a137ea670aee0b38094e1c45a8b4260006080a20061063c565b638da5cb5b811861021b57346106425760255460405260206040f35b639724283f811861063c57602436103417610642576000600435602052600052604060002054604052604051156106425760206040f361063c565b631ec0cdc1811861063c57346106425760265460405260206040f361063c565b63f2f0387781186102f4576044361034176106425760023360205260005260406000205415610642576024356001336020526000526040600020806004356020526000526040600020905055600435337f8039f84f0eb77eb0be5293b76b4581ab181b17950e0da213eaf8847d6cf8fc0260243560405260206040a3005b63e5ea47b8811861063c57346106425760265433186106425733602555337fcfaaa26691e16e66e73290fc725eee1a6b4e0e693a1640484937aac25ffb55a460006040a20061063c565b63669e562d8118610488576084361034176106425760443560040160208135116106425780356000816020811161064257801561039c57905b8060051b6020850101358060a01c610642578160051b60600152600101818118610377575b50508060405250506000600435602052600052604060002054610642576024351561064257602454604051106106425760006104605260006040516020811161064257801561043f57905b8060051b606001516104805260243560016104805160205260005260406000208060043560205260005260406000209050541861064257610480516104605110156106425761048051610460526001018181186103e7575b505060243560006004356020526000526040600020556004357f52e6e649c6b58521edb4571424aef2925807e91f5b7b6896a41920b034a40775602435610480526020610480a2005b634c8f8206811861063c57602436103417610642576025543318610642576004356024557f46e8115bf463f9c29a9424fe152addef1bfaf2b43180d19bb7c2c78cc0ff1ebf60043560405260206040a10061063c565b6385ff2e9d811861063c57602436103417610642576004358060a01c610642576040526025543318610642576040511561064257600260405160205260005260406000205461064257600354601f8111610642576040518160040155600181016003555060035460026040516020526000526040600020556040517fc871dc6554951ceeadd9fa74a35411fd9083fa2cbbe44e9b0ebbc0b4bca0a7ca60006060a20061063c565b638595864781186105e8576044361034176106425760255433186106425760243560006004356020526000526040600020556004357f52e6e649c6b58521edb4571424aef2925807e91f5b7b6896a41920b034a4077560243560405260206040a2005b636b441a40811861063c57602436103417610642576004358060a01c610642576040526025543318610642576040516026550061063c565b636c545203811861063c57346106425760035460405260206040f35b60006000fd5b600080fd04de00de00ab063c033e025601ff063c063c0620001a058502768419066181181a00a16576797065728300030a00150000000000000000000000000000000000000000000000000000000000000001