PreimageOracle
Verified contract
Active on
Ethereum with 0 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 15 additional slots
No balances found for "PreimageOracle"
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PreimageOracle"
ABI
ABI objects
Getter at block 21271342
KECCAK_TREE_DEPTH() view returns (uint256)
16
MAX_LEAF_COUNT() view returns (uint256)
65535
MIN_BOND_SIZE() view returns (uint256)
250000000000000000
PRECOMPILE_CALL_RESERVED_GAS() view returns (uint256)
100000
challengePeriod() view returns (uint256 challengePeriod_)
86400
minProposalSize() view returns (uint256 minProposalSize_)
126000
proposalCount() view returns (uint256 count_)
0
version() view returns (string)
1.1.2
Read-only
getTreeRootLPP(address _owner, uint256 _uuid) view returns (bytes32 treeRoot_)
preimageLengths(bytes32) view returns (uint256)
preimagePartOk(bytes32, uint256) view returns (bool)
preimageParts(bytes32, uint256) view returns (bytes32)
proposalBlocks(address, uint256, uint256) view returns (uint64)
proposalBlocksLen(address _claimant, uint256 _uuid) view returns (uint256 len_)
proposalBonds(address, uint256) view returns (uint256)
proposalBranches(address, uint256, uint256) view returns (bytes32)
proposalMetadata(address, uint256) view returns (bytes32)
proposalParts(address, uint256) view returns (bytes32)
proposals(uint256) view returns (address claimant, uint256 uuid)
readPreimage(bytes32 _key, uint256 _offset) view returns (bytes32 dat_, uint256 datLen_)
zeroHashes(uint256) view returns (bytes32)
State-modifying
Events addLeavesLPP(uint256 _uuid, uint256 _inputStartBlock, bytes _input, bytes32[] _stateCommitments, bool _finalize)
challengeFirstLPP(address _claimant, uint256 _uuid, struct PreimageOracleLeaf _postState, bytes32[] _postStateProof)
challengeLPP(address _claimant, uint256 _uuid, struct LibKeccakStateMatrix _stateMatrix, struct PreimageOracleLeaf _preState, bytes32[] _preStateProof, struct PreimageOracleLeaf _postState, bytes32[] _postStateProof)
initLPP(uint256 _uuid, uint32 _partOffset, uint32 _claimedSize) payable
loadBlobPreimagePart(uint256 _z, uint256 _y, bytes _commitment, bytes _proof, uint256 _partOffset)
loadKeccak256PreimagePart(uint256 _partOffset, bytes _preimage)
loadLocalData(uint256 _ident, bytes32 _localContext, bytes32 _word, uint256 _size, uint256 _partOffset) returns (bytes32 key_)
loadPrecompilePreimagePart(uint256 _partOffset, address _precompile, uint64 _requiredGas, bytes _input)
loadSha256PreimagePart(uint256 _partOffset, bytes _preimage)
squeezeLPP(address _claimant, uint256 _uuid, struct LibKeccakStateMatrix _stateMatrix, struct PreimageOracleLeaf _preState, bytes32[] _preStateProof, struct PreimageOracleLeaf _postState, bytes32[] _postStateProof)
This contract contains no event objects.
constructor(uint256 _minProposalSize, uint256 _challengePeriod)
This contract contains no fallback and receive objects.
ActiveProposal()
AlreadyFinalized()
AlreadyInitialized()
BadProposal()
BondTransferFailed()
InsufficientBond()
InvalidInputSize()
InvalidPreimage()
InvalidProof()
NotEOA()
NotInitialized()
PartOffsetOOB()
PostStateMatches()
StatesNotContiguous()
TreeSizeOverflow()
WrongStartingBlock()