Documentation
¶
Index ¶
- Variables
- type LibKeccakStateMatrix
- type PreimageOracle
- type PreimageOracleCaller
- func (_PreimageOracle *PreimageOracleCaller) ChallengePeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_PreimageOracle *PreimageOracleCaller) GetTreeRootLPP(opts *bind.CallOpts, _owner common.Address, _uuid *big.Int) ([32]byte, error)
- func (_PreimageOracle *PreimageOracleCaller) KECCAKTREEDEPTH(opts *bind.CallOpts) (*big.Int, error)
- func (_PreimageOracle *PreimageOracleCaller) MAXLEAFCOUNT(opts *bind.CallOpts) (*big.Int, error)
- func (_PreimageOracle *PreimageOracleCaller) MINBONDSIZE(opts *bind.CallOpts) (*big.Int, error)
- func (_PreimageOracle *PreimageOracleCaller) MinProposalSize(opts *bind.CallOpts) (*big.Int, error)
- func (_PreimageOracle *PreimageOracleCaller) PRECOMPILECALLRESERVEDGAS(opts *bind.CallOpts) (*big.Int, error)
- func (_PreimageOracle *PreimageOracleCaller) PreimageLengths(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_PreimageOracle *PreimageOracleCaller) PreimagePartOk(opts *bind.CallOpts, arg0 [32]byte, arg1 *big.Int) (bool, error)
- func (_PreimageOracle *PreimageOracleCaller) PreimageParts(opts *bind.CallOpts, arg0 [32]byte, arg1 *big.Int) ([32]byte, error)
- func (_PreimageOracle *PreimageOracleCaller) ProposalBlocks(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int, arg2 *big.Int) (uint64, error)
- func (_PreimageOracle *PreimageOracleCaller) ProposalBlocksLen(opts *bind.CallOpts, _claimant common.Address, _uuid *big.Int) (*big.Int, error)
- func (_PreimageOracle *PreimageOracleCaller) ProposalBonds(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- func (_PreimageOracle *PreimageOracleCaller) ProposalBranches(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int, arg2 *big.Int) ([32]byte, error)
- func (_PreimageOracle *PreimageOracleCaller) ProposalCount(opts *bind.CallOpts) (*big.Int, error)
- func (_PreimageOracle *PreimageOracleCaller) ProposalMetadata(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) ([32]byte, error)
- func (_PreimageOracle *PreimageOracleCaller) ProposalParts(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) ([32]byte, error)
- func (_PreimageOracle *PreimageOracleCaller) Proposals(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_PreimageOracle *PreimageOracleCaller) ReadPreimage(opts *bind.CallOpts, _key [32]byte, _offset *big.Int) (struct{ ... }, error)
- func (_PreimageOracle *PreimageOracleCaller) Version(opts *bind.CallOpts) (string, error)
- func (_PreimageOracle *PreimageOracleCaller) ZeroHashes(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)
- type PreimageOracleCallerRaw
- type PreimageOracleCallerSession
- func (_PreimageOracle *PreimageOracleCallerSession) ChallengePeriod() (*big.Int, error)
- func (_PreimageOracle *PreimageOracleCallerSession) GetTreeRootLPP(_owner common.Address, _uuid *big.Int) ([32]byte, error)
- func (_PreimageOracle *PreimageOracleCallerSession) KECCAKTREEDEPTH() (*big.Int, error)
- func (_PreimageOracle *PreimageOracleCallerSession) MAXLEAFCOUNT() (*big.Int, error)
- func (_PreimageOracle *PreimageOracleCallerSession) MINBONDSIZE() (*big.Int, error)
- func (_PreimageOracle *PreimageOracleCallerSession) MinProposalSize() (*big.Int, error)
- func (_PreimageOracle *PreimageOracleCallerSession) PRECOMPILECALLRESERVEDGAS() (*big.Int, error)
- func (_PreimageOracle *PreimageOracleCallerSession) PreimageLengths(arg0 [32]byte) (*big.Int, error)
- func (_PreimageOracle *PreimageOracleCallerSession) PreimagePartOk(arg0 [32]byte, arg1 *big.Int) (bool, error)
- func (_PreimageOracle *PreimageOracleCallerSession) PreimageParts(arg0 [32]byte, arg1 *big.Int) ([32]byte, error)
- func (_PreimageOracle *PreimageOracleCallerSession) ProposalBlocks(arg0 common.Address, arg1 *big.Int, arg2 *big.Int) (uint64, error)
- func (_PreimageOracle *PreimageOracleCallerSession) ProposalBlocksLen(_claimant common.Address, _uuid *big.Int) (*big.Int, error)
- func (_PreimageOracle *PreimageOracleCallerSession) ProposalBonds(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- func (_PreimageOracle *PreimageOracleCallerSession) ProposalBranches(arg0 common.Address, arg1 *big.Int, arg2 *big.Int) ([32]byte, error)
- func (_PreimageOracle *PreimageOracleCallerSession) ProposalCount() (*big.Int, error)
- func (_PreimageOracle *PreimageOracleCallerSession) ProposalMetadata(arg0 common.Address, arg1 *big.Int) ([32]byte, error)
- func (_PreimageOracle *PreimageOracleCallerSession) ProposalParts(arg0 common.Address, arg1 *big.Int) ([32]byte, error)
- func (_PreimageOracle *PreimageOracleCallerSession) Proposals(arg0 *big.Int) (struct{ ... }, error)
- func (_PreimageOracle *PreimageOracleCallerSession) ReadPreimage(_key [32]byte, _offset *big.Int) (struct{ ... }, error)
- func (_PreimageOracle *PreimageOracleCallerSession) Version() (string, error)
- func (_PreimageOracle *PreimageOracleCallerSession) ZeroHashes(arg0 *big.Int) ([32]byte, error)
- type PreimageOracleFilterer
- type PreimageOracleLeaf
- type PreimageOracleRaw
- func (_PreimageOracle *PreimageOracleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_PreimageOracle *PreimageOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PreimageOracleSession
- func (_PreimageOracle *PreimageOracleSession) AddLeavesLPP(_uuid *big.Int, _inputStartBlock *big.Int, _input []byte, ...) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleSession) ChallengeFirstLPP(_claimant common.Address, _uuid *big.Int, _postState PreimageOracleLeaf, ...) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleSession) ChallengeLPP(_claimant common.Address, _uuid *big.Int, _stateMatrix LibKeccakStateMatrix, ...) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleSession) ChallengePeriod() (*big.Int, error)
- func (_PreimageOracle *PreimageOracleSession) GetTreeRootLPP(_owner common.Address, _uuid *big.Int) ([32]byte, error)
- func (_PreimageOracle *PreimageOracleSession) InitLPP(_uuid *big.Int, _partOffset uint32, _claimedSize uint32) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleSession) KECCAKTREEDEPTH() (*big.Int, error)
- func (_PreimageOracle *PreimageOracleSession) LoadBlobPreimagePart(_z *big.Int, _y *big.Int, _commitment []byte, _proof []byte, ...) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleSession) LoadKeccak256PreimagePart(_partOffset *big.Int, _preimage []byte) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleSession) LoadLocalData(_ident *big.Int, _localContext [32]byte, _word [32]byte, _size *big.Int, ...) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleSession) LoadPrecompilePreimagePart(_partOffset *big.Int, _precompile common.Address, _requiredGas uint64, ...) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleSession) LoadSha256PreimagePart(_partOffset *big.Int, _preimage []byte) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleSession) MAXLEAFCOUNT() (*big.Int, error)
- func (_PreimageOracle *PreimageOracleSession) MINBONDSIZE() (*big.Int, error)
- func (_PreimageOracle *PreimageOracleSession) MinProposalSize() (*big.Int, error)
- func (_PreimageOracle *PreimageOracleSession) PRECOMPILECALLRESERVEDGAS() (*big.Int, error)
- func (_PreimageOracle *PreimageOracleSession) PreimageLengths(arg0 [32]byte) (*big.Int, error)
- func (_PreimageOracle *PreimageOracleSession) PreimagePartOk(arg0 [32]byte, arg1 *big.Int) (bool, error)
- func (_PreimageOracle *PreimageOracleSession) PreimageParts(arg0 [32]byte, arg1 *big.Int) ([32]byte, error)
- func (_PreimageOracle *PreimageOracleSession) ProposalBlocks(arg0 common.Address, arg1 *big.Int, arg2 *big.Int) (uint64, error)
- func (_PreimageOracle *PreimageOracleSession) ProposalBlocksLen(_claimant common.Address, _uuid *big.Int) (*big.Int, error)
- func (_PreimageOracle *PreimageOracleSession) ProposalBonds(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- func (_PreimageOracle *PreimageOracleSession) ProposalBranches(arg0 common.Address, arg1 *big.Int, arg2 *big.Int) ([32]byte, error)
- func (_PreimageOracle *PreimageOracleSession) ProposalCount() (*big.Int, error)
- func (_PreimageOracle *PreimageOracleSession) ProposalMetadata(arg0 common.Address, arg1 *big.Int) ([32]byte, error)
- func (_PreimageOracle *PreimageOracleSession) ProposalParts(arg0 common.Address, arg1 *big.Int) ([32]byte, error)
- func (_PreimageOracle *PreimageOracleSession) Proposals(arg0 *big.Int) (struct{ ... }, error)
- func (_PreimageOracle *PreimageOracleSession) ReadPreimage(_key [32]byte, _offset *big.Int) (struct{ ... }, error)
- func (_PreimageOracle *PreimageOracleSession) SqueezeLPP(_claimant common.Address, _uuid *big.Int, _stateMatrix LibKeccakStateMatrix, ...) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleSession) Version() (string, error)
- func (_PreimageOracle *PreimageOracleSession) ZeroHashes(arg0 *big.Int) ([32]byte, error)
- type PreimageOracleTransactor
- func (_PreimageOracle *PreimageOracleTransactor) AddLeavesLPP(opts *bind.TransactOpts, _uuid *big.Int, _inputStartBlock *big.Int, ...) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleTransactor) ChallengeFirstLPP(opts *bind.TransactOpts, _claimant common.Address, _uuid *big.Int, ...) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleTransactor) ChallengeLPP(opts *bind.TransactOpts, _claimant common.Address, _uuid *big.Int, ...) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleTransactor) InitLPP(opts *bind.TransactOpts, _uuid *big.Int, _partOffset uint32, ...) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleTransactor) LoadBlobPreimagePart(opts *bind.TransactOpts, _z *big.Int, _y *big.Int, _commitment []byte, ...) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleTransactor) LoadKeccak256PreimagePart(opts *bind.TransactOpts, _partOffset *big.Int, _preimage []byte) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleTransactor) LoadLocalData(opts *bind.TransactOpts, _ident *big.Int, _localContext [32]byte, ...) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleTransactor) LoadPrecompilePreimagePart(opts *bind.TransactOpts, _partOffset *big.Int, _precompile common.Address, ...) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleTransactor) LoadSha256PreimagePart(opts *bind.TransactOpts, _partOffset *big.Int, _preimage []byte) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleTransactor) SqueezeLPP(opts *bind.TransactOpts, _claimant common.Address, _uuid *big.Int, ...) (*types.Transaction, error)
- type PreimageOracleTransactorRaw
- type PreimageOracleTransactorSession
- func (_PreimageOracle *PreimageOracleTransactorSession) AddLeavesLPP(_uuid *big.Int, _inputStartBlock *big.Int, _input []byte, ...) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleTransactorSession) ChallengeFirstLPP(_claimant common.Address, _uuid *big.Int, _postState PreimageOracleLeaf, ...) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleTransactorSession) ChallengeLPP(_claimant common.Address, _uuid *big.Int, _stateMatrix LibKeccakStateMatrix, ...) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleTransactorSession) InitLPP(_uuid *big.Int, _partOffset uint32, _claimedSize uint32) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleTransactorSession) LoadBlobPreimagePart(_z *big.Int, _y *big.Int, _commitment []byte, _proof []byte, ...) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleTransactorSession) LoadKeccak256PreimagePart(_partOffset *big.Int, _preimage []byte) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleTransactorSession) LoadLocalData(_ident *big.Int, _localContext [32]byte, _word [32]byte, _size *big.Int, ...) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleTransactorSession) LoadPrecompilePreimagePart(_partOffset *big.Int, _precompile common.Address, _requiredGas uint64, ...) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleTransactorSession) LoadSha256PreimagePart(_partOffset *big.Int, _preimage []byte) (*types.Transaction, error)
- func (_PreimageOracle *PreimageOracleTransactorSession) SqueezeLPP(_claimant common.Address, _uuid *big.Int, _stateMatrix LibKeccakStateMatrix, ...) (*types.Transaction, error)
- type RISCV
- type RISCVCaller
- type RISCVCallerRaw
- type RISCVCallerSession
- type RISCVFilterer
- type RISCVRaw
- func (_RISCV *RISCVRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_RISCV *RISCVRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_RISCV *RISCVRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RISCVSession
- type RISCVTransactor
- type RISCVTransactorRaw
- type RISCVTransactorSession
Constants ¶
This section is empty.
Variables ¶
var PreimageOracleABI = PreimageOracleMetaData.ABI
PreimageOracleABI is the input ABI used to generate the binding from. Deprecated: Use PreimageOracleMetaData.ABI instead.
var PreimageOracleMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_minProposalSize\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_challengePeriod\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"KECCAK_TREE_DEPTH\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"MAX_LEAF_COUNT\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"MIN_BOND_SIZE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"PRECOMPILE_CALL_RESERVED_GAS\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"addLeavesLPP\",\"inputs\":[{\"name\":\"_uuid\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_inputStartBlock\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_input\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"_stateCommitments\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"},{\"name\":\"_finalize\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"challengeFirstLPP\",\"inputs\":[{\"name\":\"_claimant\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_uuid\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_postState\",\"type\":\"tuple\",\"internalType\":\"structPreimageOracle.Leaf\",\"components\":[{\"name\":\"input\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"stateCommitment\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"_postStateProof\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"challengeLPP\",\"inputs\":[{\"name\":\"_claimant\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_uuid\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_stateMatrix\",\"type\":\"tuple\",\"internalType\":\"structLibKeccak.StateMatrix\",\"components\":[{\"name\":\"state\",\"type\":\"uint64[25]\",\"internalType\":\"uint64[25]\"}]},{\"name\":\"_preState\",\"type\":\"tuple\",\"internalType\":\"structPreimageOracle.Leaf\",\"components\":[{\"name\":\"input\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"stateCommitment\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"_preStateProof\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"},{\"name\":\"_postState\",\"type\":\"tuple\",\"internalType\":\"structPreimageOracle.Leaf\",\"components\":[{\"name\":\"input\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"stateCommitment\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"_postStateProof\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"challengePeriod\",\"inputs\":[],\"outputs\":[{\"name\":\"challengePeriod_\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getTreeRootLPP\",\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_uuid\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"treeRoot_\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initLPP\",\"inputs\":[{\"name\":\"_uuid\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_partOffset\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"_claimedSize\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"loadBlobPreimagePart\",\"inputs\":[{\"name\":\"_z\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_y\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_commitment\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"_proof\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"_partOffset\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"loadKeccak256PreimagePart\",\"inputs\":[{\"name\":\"_partOffset\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_preimage\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"loadLocalData\",\"inputs\":[{\"name\":\"_ident\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_localContext\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_word\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_size\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_partOffset\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"key_\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"loadPrecompilePreimagePart\",\"inputs\":[{\"name\":\"_partOffset\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_precompile\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_requiredGas\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_input\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"loadSha256PreimagePart\",\"inputs\":[{\"name\":\"_partOffset\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_preimage\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"minProposalSize\",\"inputs\":[],\"outputs\":[{\"name\":\"minProposalSize_\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"preimageLengths\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"preimagePartOk\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"preimageParts\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposalBlocks\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposalBlocksLen\",\"inputs\":[{\"name\":\"_claimant\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_uuid\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"len_\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposalBonds\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposalBranches\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposalCount\",\"inputs\":[],\"outputs\":[{\"name\":\"count_\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposalMetadata\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"LPPMetaData\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposalParts\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposals\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"claimant\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"uuid\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"readPreimage\",\"inputs\":[{\"name\":\"_key\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_offset\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"dat_\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"datLen_\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"squeezeLPP\",\"inputs\":[{\"name\":\"_claimant\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_uuid\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_stateMatrix\",\"type\":\"tuple\",\"internalType\":\"structLibKeccak.StateMatrix\",\"components\":[{\"name\":\"state\",\"type\":\"uint64[25]\",\"internalType\":\"uint64[25]\"}]},{\"name\":\"_preState\",\"type\":\"tuple\",\"internalType\":\"structPreimageOracle.Leaf\",\"components\":[{\"name\":\"input\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"stateCommitment\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"_preStateProof\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"},{\"name\":\"_postState\",\"type\":\"tuple\",\"internalType\":\"structPreimageOracle.Leaf\",\"components\":[{\"name\":\"input\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"stateCommitment\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"_postStateProof\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"version\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"zeroHashes\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"error\",\"name\":\"ActiveProposal\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"AlreadyFinalized\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"AlreadyInitialized\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"BadProposal\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"BondTransferFailed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InsufficientBond\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidInputSize\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidPreimage\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidProof\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NotEOA\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NotInitialized\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"PartOffsetOOB\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"PostStateMatches\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"StatesNotContiguous\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"TreeSizeOverflow\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"WrongStartingBlock\",\"inputs\":[]}]",
}
PreimageOracleMetaData contains all meta data concerning the PreimageOracle contract.
var RISCVABI = RISCVMetaData.ABI
RISCVABI is the input ABI used to generate the binding from. Deprecated: Use RISCVMetaData.ABI instead.
var RISCVMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_oracle\",\"type\":\"address\",\"internalType\":\"contractIPreimageOracle\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"oracle\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIPreimageOracle\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"step\",\"inputs\":[{\"name\":\"_stateData\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"_proof\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"_localContext\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"version\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"}]",
}
RISCVMetaData contains all meta data concerning the RISCV contract.
Functions ¶
This section is empty.
Types ¶
type LibKeccakStateMatrix ¶
type LibKeccakStateMatrix struct {
State [25]uint64
}
LibKeccakStateMatrix is an auto generated low-level Go binding around an user-defined struct.
type PreimageOracle ¶
type PreimageOracle struct { PreimageOracleCaller // Read-only binding to the contract PreimageOracleTransactor // Write-only binding to the contract PreimageOracleFilterer // Log filterer for contract events }
PreimageOracle is an auto generated Go binding around an Ethereum contract.
func NewPreimageOracle ¶
func NewPreimageOracle(address common.Address, backend bind.ContractBackend) (*PreimageOracle, error)
NewPreimageOracle creates a new instance of PreimageOracle, bound to a specific deployed contract.
type PreimageOracleCaller ¶
type PreimageOracleCaller struct {
// contains filtered or unexported fields
}
PreimageOracleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPreimageOracleCaller ¶
func NewPreimageOracleCaller(address common.Address, caller bind.ContractCaller) (*PreimageOracleCaller, error)
NewPreimageOracleCaller creates a new read-only instance of PreimageOracle, bound to a specific deployed contract.
func (*PreimageOracleCaller) ChallengePeriod ¶
ChallengePeriod is a free data retrieval call binding the contract method 0xf3f480d9.
Solidity: function challengePeriod() view returns(uint256 challengePeriod_)
func (*PreimageOracleCaller) GetTreeRootLPP ¶
func (_PreimageOracle *PreimageOracleCaller) GetTreeRootLPP(opts *bind.CallOpts, _owner common.Address, _uuid *big.Int) ([32]byte, error)
GetTreeRootLPP is a free data retrieval call binding the contract method 0x0359a563.
Solidity: function getTreeRootLPP(address _owner, uint256 _uuid) view returns(bytes32 treeRoot_)
func (*PreimageOracleCaller) KECCAKTREEDEPTH ¶
KECCAKTREEDEPTH is a free data retrieval call binding the contract method 0x2055b36b.
Solidity: function KECCAK_TREE_DEPTH() view returns(uint256)
func (*PreimageOracleCaller) MAXLEAFCOUNT ¶
MAXLEAFCOUNT is a free data retrieval call binding the contract method 0x4d52b4c9.
Solidity: function MAX_LEAF_COUNT() view returns(uint256)
func (*PreimageOracleCaller) MINBONDSIZE ¶
MINBONDSIZE is a free data retrieval call binding the contract method 0x7051472e.
Solidity: function MIN_BOND_SIZE() view returns(uint256)
func (*PreimageOracleCaller) MinProposalSize ¶
MinProposalSize is a free data retrieval call binding the contract method 0xdd24f9bf.
Solidity: function minProposalSize() view returns(uint256 minProposalSize_)
func (*PreimageOracleCaller) PRECOMPILECALLRESERVEDGAS ¶ added in v1.1.0
func (_PreimageOracle *PreimageOracleCaller) PRECOMPILECALLRESERVEDGAS(opts *bind.CallOpts) (*big.Int, error)
PRECOMPILECALLRESERVEDGAS is a free data retrieval call binding the contract method 0xb5e7154c.
Solidity: function PRECOMPILE_CALL_RESERVED_GAS() view returns(uint256)
func (*PreimageOracleCaller) PreimageLengths ¶
func (_PreimageOracle *PreimageOracleCaller) PreimageLengths(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
PreimageLengths is a free data retrieval call binding the contract method 0xfef2b4ed.
Solidity: function preimageLengths(bytes32 ) view returns(uint256)
func (*PreimageOracleCaller) PreimagePartOk ¶
func (_PreimageOracle *PreimageOracleCaller) PreimagePartOk(opts *bind.CallOpts, arg0 [32]byte, arg1 *big.Int) (bool, error)
PreimagePartOk is a free data retrieval call binding the contract method 0x8542cf50.
Solidity: function preimagePartOk(bytes32 , uint256 ) view returns(bool)
func (*PreimageOracleCaller) PreimageParts ¶
func (_PreimageOracle *PreimageOracleCaller) PreimageParts(opts *bind.CallOpts, arg0 [32]byte, arg1 *big.Int) ([32]byte, error)
PreimageParts is a free data retrieval call binding the contract method 0x61238bde.
Solidity: function preimageParts(bytes32 , uint256 ) view returns(bytes32)
func (*PreimageOracleCaller) ProposalBlocks ¶
func (_PreimageOracle *PreimageOracleCaller) ProposalBlocks(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int, arg2 *big.Int) (uint64, error)
ProposalBlocks is a free data retrieval call binding the contract method 0x882856ef.
Solidity: function proposalBlocks(address , uint256 , uint256 ) view returns(uint64)
func (*PreimageOracleCaller) ProposalBlocksLen ¶
func (_PreimageOracle *PreimageOracleCaller) ProposalBlocksLen(opts *bind.CallOpts, _claimant common.Address, _uuid *big.Int) (*big.Int, error)
ProposalBlocksLen is a free data retrieval call binding the contract method 0x9d53a648.
Solidity: function proposalBlocksLen(address _claimant, uint256 _uuid) view returns(uint256 len_)
func (*PreimageOracleCaller) ProposalBonds ¶
func (_PreimageOracle *PreimageOracleCaller) ProposalBonds(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)
ProposalBonds is a free data retrieval call binding the contract method 0xddcd58de.
Solidity: function proposalBonds(address , uint256 ) view returns(uint256)
func (*PreimageOracleCaller) ProposalBranches ¶
func (_PreimageOracle *PreimageOracleCaller) ProposalBranches(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int, arg2 *big.Int) ([32]byte, error)
ProposalBranches is a free data retrieval call binding the contract method 0xb4801e61.
Solidity: function proposalBranches(address , uint256 , uint256 ) view returns(bytes32)
func (*PreimageOracleCaller) ProposalCount ¶
ProposalCount is a free data retrieval call binding the contract method 0xda35c664.
Solidity: function proposalCount() view returns(uint256 count_)
func (*PreimageOracleCaller) ProposalMetadata ¶
func (_PreimageOracle *PreimageOracleCaller) ProposalMetadata(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) ([32]byte, error)
ProposalMetadata is a free data retrieval call binding the contract method 0x6551927b.
Solidity: function proposalMetadata(address , uint256 ) view returns(bytes32)
func (*PreimageOracleCaller) ProposalParts ¶
func (_PreimageOracle *PreimageOracleCaller) ProposalParts(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) ([32]byte, error)
ProposalParts is a free data retrieval call binding the contract method 0xb2e67ba8.
Solidity: function proposalParts(address , uint256 ) view returns(bytes32)
func (*PreimageOracleCaller) Proposals ¶
func (_PreimageOracle *PreimageOracleCaller) Proposals(opts *bind.CallOpts, arg0 *big.Int) (struct { Claimant common.Address Uuid *big.Int }, error)
Proposals is a free data retrieval call binding the contract method 0x013cf08b.
Solidity: function proposals(uint256 ) view returns(address claimant, uint256 uuid)
func (*PreimageOracleCaller) ReadPreimage ¶
func (_PreimageOracle *PreimageOracleCaller) ReadPreimage(opts *bind.CallOpts, _key [32]byte, _offset *big.Int) (struct { Dat [32]byte DatLen *big.Int }, error)
ReadPreimage is a free data retrieval call binding the contract method 0xe03110e1.
Solidity: function readPreimage(bytes32 _key, uint256 _offset) view returns(bytes32 dat_, uint256 datLen_)
func (*PreimageOracleCaller) Version ¶
func (_PreimageOracle *PreimageOracleCaller) Version(opts *bind.CallOpts) (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
func (*PreimageOracleCaller) ZeroHashes ¶
func (_PreimageOracle *PreimageOracleCaller) ZeroHashes(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)
ZeroHashes is a free data retrieval call binding the contract method 0x7ac54767.
Solidity: function zeroHashes(uint256 ) view returns(bytes32)
type PreimageOracleCallerRaw ¶
type PreimageOracleCallerRaw struct {
Contract *PreimageOracleCaller // Generic read-only contract binding to access the raw methods on
}
PreimageOracleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PreimageOracleCallerRaw) Call ¶
func (_PreimageOracle *PreimageOracleCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type PreimageOracleCallerSession ¶
type PreimageOracleCallerSession struct { Contract *PreimageOracleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PreimageOracleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PreimageOracleCallerSession) ChallengePeriod ¶
func (_PreimageOracle *PreimageOracleCallerSession) ChallengePeriod() (*big.Int, error)
ChallengePeriod is a free data retrieval call binding the contract method 0xf3f480d9.
Solidity: function challengePeriod() view returns(uint256 challengePeriod_)
func (*PreimageOracleCallerSession) GetTreeRootLPP ¶
func (_PreimageOracle *PreimageOracleCallerSession) GetTreeRootLPP(_owner common.Address, _uuid *big.Int) ([32]byte, error)
GetTreeRootLPP is a free data retrieval call binding the contract method 0x0359a563.
Solidity: function getTreeRootLPP(address _owner, uint256 _uuid) view returns(bytes32 treeRoot_)
func (*PreimageOracleCallerSession) KECCAKTREEDEPTH ¶
func (_PreimageOracle *PreimageOracleCallerSession) KECCAKTREEDEPTH() (*big.Int, error)
KECCAKTREEDEPTH is a free data retrieval call binding the contract method 0x2055b36b.
Solidity: function KECCAK_TREE_DEPTH() view returns(uint256)
func (*PreimageOracleCallerSession) MAXLEAFCOUNT ¶
func (_PreimageOracle *PreimageOracleCallerSession) MAXLEAFCOUNT() (*big.Int, error)
MAXLEAFCOUNT is a free data retrieval call binding the contract method 0x4d52b4c9.
Solidity: function MAX_LEAF_COUNT() view returns(uint256)
func (*PreimageOracleCallerSession) MINBONDSIZE ¶
func (_PreimageOracle *PreimageOracleCallerSession) MINBONDSIZE() (*big.Int, error)
MINBONDSIZE is a free data retrieval call binding the contract method 0x7051472e.
Solidity: function MIN_BOND_SIZE() view returns(uint256)
func (*PreimageOracleCallerSession) MinProposalSize ¶
func (_PreimageOracle *PreimageOracleCallerSession) MinProposalSize() (*big.Int, error)
MinProposalSize is a free data retrieval call binding the contract method 0xdd24f9bf.
Solidity: function minProposalSize() view returns(uint256 minProposalSize_)
func (*PreimageOracleCallerSession) PRECOMPILECALLRESERVEDGAS ¶ added in v1.1.0
func (_PreimageOracle *PreimageOracleCallerSession) PRECOMPILECALLRESERVEDGAS() (*big.Int, error)
PRECOMPILECALLRESERVEDGAS is a free data retrieval call binding the contract method 0xb5e7154c.
Solidity: function PRECOMPILE_CALL_RESERVED_GAS() view returns(uint256)
func (*PreimageOracleCallerSession) PreimageLengths ¶
func (_PreimageOracle *PreimageOracleCallerSession) PreimageLengths(arg0 [32]byte) (*big.Int, error)
PreimageLengths is a free data retrieval call binding the contract method 0xfef2b4ed.
Solidity: function preimageLengths(bytes32 ) view returns(uint256)
func (*PreimageOracleCallerSession) PreimagePartOk ¶
func (_PreimageOracle *PreimageOracleCallerSession) PreimagePartOk(arg0 [32]byte, arg1 *big.Int) (bool, error)
PreimagePartOk is a free data retrieval call binding the contract method 0x8542cf50.
Solidity: function preimagePartOk(bytes32 , uint256 ) view returns(bool)
func (*PreimageOracleCallerSession) PreimageParts ¶
func (_PreimageOracle *PreimageOracleCallerSession) PreimageParts(arg0 [32]byte, arg1 *big.Int) ([32]byte, error)
PreimageParts is a free data retrieval call binding the contract method 0x61238bde.
Solidity: function preimageParts(bytes32 , uint256 ) view returns(bytes32)
func (*PreimageOracleCallerSession) ProposalBlocks ¶
func (_PreimageOracle *PreimageOracleCallerSession) ProposalBlocks(arg0 common.Address, arg1 *big.Int, arg2 *big.Int) (uint64, error)
ProposalBlocks is a free data retrieval call binding the contract method 0x882856ef.
Solidity: function proposalBlocks(address , uint256 , uint256 ) view returns(uint64)
func (*PreimageOracleCallerSession) ProposalBlocksLen ¶
func (_PreimageOracle *PreimageOracleCallerSession) ProposalBlocksLen(_claimant common.Address, _uuid *big.Int) (*big.Int, error)
ProposalBlocksLen is a free data retrieval call binding the contract method 0x9d53a648.
Solidity: function proposalBlocksLen(address _claimant, uint256 _uuid) view returns(uint256 len_)
func (*PreimageOracleCallerSession) ProposalBonds ¶
func (_PreimageOracle *PreimageOracleCallerSession) ProposalBonds(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
ProposalBonds is a free data retrieval call binding the contract method 0xddcd58de.
Solidity: function proposalBonds(address , uint256 ) view returns(uint256)
func (*PreimageOracleCallerSession) ProposalBranches ¶
func (_PreimageOracle *PreimageOracleCallerSession) ProposalBranches(arg0 common.Address, arg1 *big.Int, arg2 *big.Int) ([32]byte, error)
ProposalBranches is a free data retrieval call binding the contract method 0xb4801e61.
Solidity: function proposalBranches(address , uint256 , uint256 ) view returns(bytes32)
func (*PreimageOracleCallerSession) ProposalCount ¶
func (_PreimageOracle *PreimageOracleCallerSession) ProposalCount() (*big.Int, error)
ProposalCount is a free data retrieval call binding the contract method 0xda35c664.
Solidity: function proposalCount() view returns(uint256 count_)
func (*PreimageOracleCallerSession) ProposalMetadata ¶
func (_PreimageOracle *PreimageOracleCallerSession) ProposalMetadata(arg0 common.Address, arg1 *big.Int) ([32]byte, error)
ProposalMetadata is a free data retrieval call binding the contract method 0x6551927b.
Solidity: function proposalMetadata(address , uint256 ) view returns(bytes32)
func (*PreimageOracleCallerSession) ProposalParts ¶
func (_PreimageOracle *PreimageOracleCallerSession) ProposalParts(arg0 common.Address, arg1 *big.Int) ([32]byte, error)
ProposalParts is a free data retrieval call binding the contract method 0xb2e67ba8.
Solidity: function proposalParts(address , uint256 ) view returns(bytes32)
func (*PreimageOracleCallerSession) Proposals ¶
func (_PreimageOracle *PreimageOracleCallerSession) Proposals(arg0 *big.Int) (struct { Claimant common.Address Uuid *big.Int }, error)
Proposals is a free data retrieval call binding the contract method 0x013cf08b.
Solidity: function proposals(uint256 ) view returns(address claimant, uint256 uuid)
func (*PreimageOracleCallerSession) ReadPreimage ¶
func (_PreimageOracle *PreimageOracleCallerSession) ReadPreimage(_key [32]byte, _offset *big.Int) (struct { Dat [32]byte DatLen *big.Int }, error)
ReadPreimage is a free data retrieval call binding the contract method 0xe03110e1.
Solidity: function readPreimage(bytes32 _key, uint256 _offset) view returns(bytes32 dat_, uint256 datLen_)
func (*PreimageOracleCallerSession) Version ¶
func (_PreimageOracle *PreimageOracleCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
func (*PreimageOracleCallerSession) ZeroHashes ¶
func (_PreimageOracle *PreimageOracleCallerSession) ZeroHashes(arg0 *big.Int) ([32]byte, error)
ZeroHashes is a free data retrieval call binding the contract method 0x7ac54767.
Solidity: function zeroHashes(uint256 ) view returns(bytes32)
type PreimageOracleFilterer ¶
type PreimageOracleFilterer struct {
// contains filtered or unexported fields
}
PreimageOracleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPreimageOracleFilterer ¶
func NewPreimageOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*PreimageOracleFilterer, error)
NewPreimageOracleFilterer creates a new log filterer instance of PreimageOracle, bound to a specific deployed contract.
type PreimageOracleLeaf ¶
PreimageOracleLeaf is an auto generated low-level Go binding around an user-defined struct.
type PreimageOracleRaw ¶
type PreimageOracleRaw struct {
Contract *PreimageOracle // Generic contract binding to access the raw methods on
}
PreimageOracleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PreimageOracleRaw) Call ¶
func (_PreimageOracle *PreimageOracleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*PreimageOracleRaw) Transact ¶
func (_PreimageOracle *PreimageOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PreimageOracleRaw) Transfer ¶
func (_PreimageOracle *PreimageOracleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type PreimageOracleSession ¶
type PreimageOracleSession struct { Contract *PreimageOracle // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PreimageOracleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PreimageOracleSession) AddLeavesLPP ¶
func (_PreimageOracle *PreimageOracleSession) AddLeavesLPP(_uuid *big.Int, _inputStartBlock *big.Int, _input []byte, _stateCommitments [][32]byte, _finalize bool) (*types.Transaction, error)
AddLeavesLPP is a paid mutator transaction binding the contract method 0x7917de1d.
Solidity: function addLeavesLPP(uint256 _uuid, uint256 _inputStartBlock, bytes _input, bytes32[] _stateCommitments, bool _finalize) returns()
func (*PreimageOracleSession) ChallengeFirstLPP ¶
func (_PreimageOracle *PreimageOracleSession) ChallengeFirstLPP(_claimant common.Address, _uuid *big.Int, _postState PreimageOracleLeaf, _postStateProof [][32]byte) (*types.Transaction, error)
ChallengeFirstLPP is a paid mutator transaction binding the contract method 0xec5efcbc.
Solidity: function challengeFirstLPP(address _claimant, uint256 _uuid, (bytes,uint256,bytes32) _postState, bytes32[] _postStateProof) returns()
func (*PreimageOracleSession) ChallengeLPP ¶
func (_PreimageOracle *PreimageOracleSession) ChallengeLPP(_claimant common.Address, _uuid *big.Int, _stateMatrix LibKeccakStateMatrix, _preState PreimageOracleLeaf, _preStateProof [][32]byte, _postState PreimageOracleLeaf, _postStateProof [][32]byte) (*types.Transaction, error)
ChallengeLPP is a paid mutator transaction binding the contract method 0x3909af5c.
Solidity: function challengeLPP(address _claimant, uint256 _uuid, (uint64[25]) _stateMatrix, (bytes,uint256,bytes32) _preState, bytes32[] _preStateProof, (bytes,uint256,bytes32) _postState, bytes32[] _postStateProof) returns()
func (*PreimageOracleSession) ChallengePeriod ¶
func (_PreimageOracle *PreimageOracleSession) ChallengePeriod() (*big.Int, error)
ChallengePeriod is a free data retrieval call binding the contract method 0xf3f480d9.
Solidity: function challengePeriod() view returns(uint256 challengePeriod_)
func (*PreimageOracleSession) GetTreeRootLPP ¶
func (_PreimageOracle *PreimageOracleSession) GetTreeRootLPP(_owner common.Address, _uuid *big.Int) ([32]byte, error)
GetTreeRootLPP is a free data retrieval call binding the contract method 0x0359a563.
Solidity: function getTreeRootLPP(address _owner, uint256 _uuid) view returns(bytes32 treeRoot_)
func (*PreimageOracleSession) InitLPP ¶
func (_PreimageOracle *PreimageOracleSession) InitLPP(_uuid *big.Int, _partOffset uint32, _claimedSize uint32) (*types.Transaction, error)
InitLPP is a paid mutator transaction binding the contract method 0xfaf37bc7.
Solidity: function initLPP(uint256 _uuid, uint32 _partOffset, uint32 _claimedSize) payable returns()
func (*PreimageOracleSession) KECCAKTREEDEPTH ¶
func (_PreimageOracle *PreimageOracleSession) KECCAKTREEDEPTH() (*big.Int, error)
KECCAKTREEDEPTH is a free data retrieval call binding the contract method 0x2055b36b.
Solidity: function KECCAK_TREE_DEPTH() view returns(uint256)
func (*PreimageOracleSession) LoadBlobPreimagePart ¶
func (_PreimageOracle *PreimageOracleSession) LoadBlobPreimagePart(_z *big.Int, _y *big.Int, _commitment []byte, _proof []byte, _partOffset *big.Int) (*types.Transaction, error)
LoadBlobPreimagePart is a paid mutator transaction binding the contract method 0x9d7e8769.
Solidity: function loadBlobPreimagePart(uint256 _z, uint256 _y, bytes _commitment, bytes _proof, uint256 _partOffset) returns()
func (*PreimageOracleSession) LoadKeccak256PreimagePart ¶
func (_PreimageOracle *PreimageOracleSession) LoadKeccak256PreimagePart(_partOffset *big.Int, _preimage []byte) (*types.Transaction, error)
LoadKeccak256PreimagePart is a paid mutator transaction binding the contract method 0xe1592611.
Solidity: function loadKeccak256PreimagePart(uint256 _partOffset, bytes _preimage) returns()
func (*PreimageOracleSession) LoadLocalData ¶
func (_PreimageOracle *PreimageOracleSession) LoadLocalData(_ident *big.Int, _localContext [32]byte, _word [32]byte, _size *big.Int, _partOffset *big.Int) (*types.Transaction, error)
LoadLocalData is a paid mutator transaction binding the contract method 0x52f0f3ad.
Solidity: function loadLocalData(uint256 _ident, bytes32 _localContext, bytes32 _word, uint256 _size, uint256 _partOffset) returns(bytes32 key_)
func (*PreimageOracleSession) LoadPrecompilePreimagePart ¶
func (_PreimageOracle *PreimageOracleSession) LoadPrecompilePreimagePart(_partOffset *big.Int, _precompile common.Address, _requiredGas uint64, _input []byte) (*types.Transaction, error)
LoadPrecompilePreimagePart is a paid mutator transaction binding the contract method 0xea713950.
Solidity: function loadPrecompilePreimagePart(uint256 _partOffset, address _precompile, uint64 _requiredGas, bytes _input) returns()
func (*PreimageOracleSession) LoadSha256PreimagePart ¶
func (_PreimageOracle *PreimageOracleSession) LoadSha256PreimagePart(_partOffset *big.Int, _preimage []byte) (*types.Transaction, error)
LoadSha256PreimagePart is a paid mutator transaction binding the contract method 0x8dc4be11.
Solidity: function loadSha256PreimagePart(uint256 _partOffset, bytes _preimage) returns()
func (*PreimageOracleSession) MAXLEAFCOUNT ¶
func (_PreimageOracle *PreimageOracleSession) MAXLEAFCOUNT() (*big.Int, error)
MAXLEAFCOUNT is a free data retrieval call binding the contract method 0x4d52b4c9.
Solidity: function MAX_LEAF_COUNT() view returns(uint256)
func (*PreimageOracleSession) MINBONDSIZE ¶
func (_PreimageOracle *PreimageOracleSession) MINBONDSIZE() (*big.Int, error)
MINBONDSIZE is a free data retrieval call binding the contract method 0x7051472e.
Solidity: function MIN_BOND_SIZE() view returns(uint256)
func (*PreimageOracleSession) MinProposalSize ¶
func (_PreimageOracle *PreimageOracleSession) MinProposalSize() (*big.Int, error)
MinProposalSize is a free data retrieval call binding the contract method 0xdd24f9bf.
Solidity: function minProposalSize() view returns(uint256 minProposalSize_)
func (*PreimageOracleSession) PRECOMPILECALLRESERVEDGAS ¶ added in v1.1.0
func (_PreimageOracle *PreimageOracleSession) PRECOMPILECALLRESERVEDGAS() (*big.Int, error)
PRECOMPILECALLRESERVEDGAS is a free data retrieval call binding the contract method 0xb5e7154c.
Solidity: function PRECOMPILE_CALL_RESERVED_GAS() view returns(uint256)
func (*PreimageOracleSession) PreimageLengths ¶
func (_PreimageOracle *PreimageOracleSession) PreimageLengths(arg0 [32]byte) (*big.Int, error)
PreimageLengths is a free data retrieval call binding the contract method 0xfef2b4ed.
Solidity: function preimageLengths(bytes32 ) view returns(uint256)
func (*PreimageOracleSession) PreimagePartOk ¶
func (_PreimageOracle *PreimageOracleSession) PreimagePartOk(arg0 [32]byte, arg1 *big.Int) (bool, error)
PreimagePartOk is a free data retrieval call binding the contract method 0x8542cf50.
Solidity: function preimagePartOk(bytes32 , uint256 ) view returns(bool)
func (*PreimageOracleSession) PreimageParts ¶
func (_PreimageOracle *PreimageOracleSession) PreimageParts(arg0 [32]byte, arg1 *big.Int) ([32]byte, error)
PreimageParts is a free data retrieval call binding the contract method 0x61238bde.
Solidity: function preimageParts(bytes32 , uint256 ) view returns(bytes32)
func (*PreimageOracleSession) ProposalBlocks ¶
func (_PreimageOracle *PreimageOracleSession) ProposalBlocks(arg0 common.Address, arg1 *big.Int, arg2 *big.Int) (uint64, error)
ProposalBlocks is a free data retrieval call binding the contract method 0x882856ef.
Solidity: function proposalBlocks(address , uint256 , uint256 ) view returns(uint64)
func (*PreimageOracleSession) ProposalBlocksLen ¶
func (_PreimageOracle *PreimageOracleSession) ProposalBlocksLen(_claimant common.Address, _uuid *big.Int) (*big.Int, error)
ProposalBlocksLen is a free data retrieval call binding the contract method 0x9d53a648.
Solidity: function proposalBlocksLen(address _claimant, uint256 _uuid) view returns(uint256 len_)
func (*PreimageOracleSession) ProposalBonds ¶
func (_PreimageOracle *PreimageOracleSession) ProposalBonds(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
ProposalBonds is a free data retrieval call binding the contract method 0xddcd58de.
Solidity: function proposalBonds(address , uint256 ) view returns(uint256)
func (*PreimageOracleSession) ProposalBranches ¶
func (_PreimageOracle *PreimageOracleSession) ProposalBranches(arg0 common.Address, arg1 *big.Int, arg2 *big.Int) ([32]byte, error)
ProposalBranches is a free data retrieval call binding the contract method 0xb4801e61.
Solidity: function proposalBranches(address , uint256 , uint256 ) view returns(bytes32)
func (*PreimageOracleSession) ProposalCount ¶
func (_PreimageOracle *PreimageOracleSession) ProposalCount() (*big.Int, error)
ProposalCount is a free data retrieval call binding the contract method 0xda35c664.
Solidity: function proposalCount() view returns(uint256 count_)
func (*PreimageOracleSession) ProposalMetadata ¶
func (_PreimageOracle *PreimageOracleSession) ProposalMetadata(arg0 common.Address, arg1 *big.Int) ([32]byte, error)
ProposalMetadata is a free data retrieval call binding the contract method 0x6551927b.
Solidity: function proposalMetadata(address , uint256 ) view returns(bytes32)
func (*PreimageOracleSession) ProposalParts ¶
func (_PreimageOracle *PreimageOracleSession) ProposalParts(arg0 common.Address, arg1 *big.Int) ([32]byte, error)
ProposalParts is a free data retrieval call binding the contract method 0xb2e67ba8.
Solidity: function proposalParts(address , uint256 ) view returns(bytes32)
func (*PreimageOracleSession) Proposals ¶
func (_PreimageOracle *PreimageOracleSession) Proposals(arg0 *big.Int) (struct { Claimant common.Address Uuid *big.Int }, error)
Proposals is a free data retrieval call binding the contract method 0x013cf08b.
Solidity: function proposals(uint256 ) view returns(address claimant, uint256 uuid)
func (*PreimageOracleSession) ReadPreimage ¶
func (_PreimageOracle *PreimageOracleSession) ReadPreimage(_key [32]byte, _offset *big.Int) (struct { Dat [32]byte DatLen *big.Int }, error)
ReadPreimage is a free data retrieval call binding the contract method 0xe03110e1.
Solidity: function readPreimage(bytes32 _key, uint256 _offset) view returns(bytes32 dat_, uint256 datLen_)
func (*PreimageOracleSession) SqueezeLPP ¶
func (_PreimageOracle *PreimageOracleSession) SqueezeLPP(_claimant common.Address, _uuid *big.Int, _stateMatrix LibKeccakStateMatrix, _preState PreimageOracleLeaf, _preStateProof [][32]byte, _postState PreimageOracleLeaf, _postStateProof [][32]byte) (*types.Transaction, error)
SqueezeLPP is a paid mutator transaction binding the contract method 0xd18534b5.
Solidity: function squeezeLPP(address _claimant, uint256 _uuid, (uint64[25]) _stateMatrix, (bytes,uint256,bytes32) _preState, bytes32[] _preStateProof, (bytes,uint256,bytes32) _postState, bytes32[] _postStateProof) returns()
func (*PreimageOracleSession) Version ¶
func (_PreimageOracle *PreimageOracleSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
func (*PreimageOracleSession) ZeroHashes ¶
func (_PreimageOracle *PreimageOracleSession) ZeroHashes(arg0 *big.Int) ([32]byte, error)
ZeroHashes is a free data retrieval call binding the contract method 0x7ac54767.
Solidity: function zeroHashes(uint256 ) view returns(bytes32)
type PreimageOracleTransactor ¶
type PreimageOracleTransactor struct {
// contains filtered or unexported fields
}
PreimageOracleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPreimageOracleTransactor ¶
func NewPreimageOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*PreimageOracleTransactor, error)
NewPreimageOracleTransactor creates a new write-only instance of PreimageOracle, bound to a specific deployed contract.
func (*PreimageOracleTransactor) AddLeavesLPP ¶
func (_PreimageOracle *PreimageOracleTransactor) AddLeavesLPP(opts *bind.TransactOpts, _uuid *big.Int, _inputStartBlock *big.Int, _input []byte, _stateCommitments [][32]byte, _finalize bool) (*types.Transaction, error)
AddLeavesLPP is a paid mutator transaction binding the contract method 0x7917de1d.
Solidity: function addLeavesLPP(uint256 _uuid, uint256 _inputStartBlock, bytes _input, bytes32[] _stateCommitments, bool _finalize) returns()
func (*PreimageOracleTransactor) ChallengeFirstLPP ¶
func (_PreimageOracle *PreimageOracleTransactor) ChallengeFirstLPP(opts *bind.TransactOpts, _claimant common.Address, _uuid *big.Int, _postState PreimageOracleLeaf, _postStateProof [][32]byte) (*types.Transaction, error)
ChallengeFirstLPP is a paid mutator transaction binding the contract method 0xec5efcbc.
Solidity: function challengeFirstLPP(address _claimant, uint256 _uuid, (bytes,uint256,bytes32) _postState, bytes32[] _postStateProof) returns()
func (*PreimageOracleTransactor) ChallengeLPP ¶
func (_PreimageOracle *PreimageOracleTransactor) ChallengeLPP(opts *bind.TransactOpts, _claimant common.Address, _uuid *big.Int, _stateMatrix LibKeccakStateMatrix, _preState PreimageOracleLeaf, _preStateProof [][32]byte, _postState PreimageOracleLeaf, _postStateProof [][32]byte) (*types.Transaction, error)
ChallengeLPP is a paid mutator transaction binding the contract method 0x3909af5c.
Solidity: function challengeLPP(address _claimant, uint256 _uuid, (uint64[25]) _stateMatrix, (bytes,uint256,bytes32) _preState, bytes32[] _preStateProof, (bytes,uint256,bytes32) _postState, bytes32[] _postStateProof) returns()
func (*PreimageOracleTransactor) InitLPP ¶
func (_PreimageOracle *PreimageOracleTransactor) InitLPP(opts *bind.TransactOpts, _uuid *big.Int, _partOffset uint32, _claimedSize uint32) (*types.Transaction, error)
InitLPP is a paid mutator transaction binding the contract method 0xfaf37bc7.
Solidity: function initLPP(uint256 _uuid, uint32 _partOffset, uint32 _claimedSize) payable returns()
func (*PreimageOracleTransactor) LoadBlobPreimagePart ¶
func (_PreimageOracle *PreimageOracleTransactor) LoadBlobPreimagePart(opts *bind.TransactOpts, _z *big.Int, _y *big.Int, _commitment []byte, _proof []byte, _partOffset *big.Int) (*types.Transaction, error)
LoadBlobPreimagePart is a paid mutator transaction binding the contract method 0x9d7e8769.
Solidity: function loadBlobPreimagePart(uint256 _z, uint256 _y, bytes _commitment, bytes _proof, uint256 _partOffset) returns()
func (*PreimageOracleTransactor) LoadKeccak256PreimagePart ¶
func (_PreimageOracle *PreimageOracleTransactor) LoadKeccak256PreimagePart(opts *bind.TransactOpts, _partOffset *big.Int, _preimage []byte) (*types.Transaction, error)
LoadKeccak256PreimagePart is a paid mutator transaction binding the contract method 0xe1592611.
Solidity: function loadKeccak256PreimagePart(uint256 _partOffset, bytes _preimage) returns()
func (*PreimageOracleTransactor) LoadLocalData ¶
func (_PreimageOracle *PreimageOracleTransactor) LoadLocalData(opts *bind.TransactOpts, _ident *big.Int, _localContext [32]byte, _word [32]byte, _size *big.Int, _partOffset *big.Int) (*types.Transaction, error)
LoadLocalData is a paid mutator transaction binding the contract method 0x52f0f3ad.
Solidity: function loadLocalData(uint256 _ident, bytes32 _localContext, bytes32 _word, uint256 _size, uint256 _partOffset) returns(bytes32 key_)
func (*PreimageOracleTransactor) LoadPrecompilePreimagePart ¶
func (_PreimageOracle *PreimageOracleTransactor) LoadPrecompilePreimagePart(opts *bind.TransactOpts, _partOffset *big.Int, _precompile common.Address, _requiredGas uint64, _input []byte) (*types.Transaction, error)
LoadPrecompilePreimagePart is a paid mutator transaction binding the contract method 0xea713950.
Solidity: function loadPrecompilePreimagePart(uint256 _partOffset, address _precompile, uint64 _requiredGas, bytes _input) returns()
func (*PreimageOracleTransactor) LoadSha256PreimagePart ¶
func (_PreimageOracle *PreimageOracleTransactor) LoadSha256PreimagePart(opts *bind.TransactOpts, _partOffset *big.Int, _preimage []byte) (*types.Transaction, error)
LoadSha256PreimagePart is a paid mutator transaction binding the contract method 0x8dc4be11.
Solidity: function loadSha256PreimagePart(uint256 _partOffset, bytes _preimage) returns()
func (*PreimageOracleTransactor) SqueezeLPP ¶
func (_PreimageOracle *PreimageOracleTransactor) SqueezeLPP(opts *bind.TransactOpts, _claimant common.Address, _uuid *big.Int, _stateMatrix LibKeccakStateMatrix, _preState PreimageOracleLeaf, _preStateProof [][32]byte, _postState PreimageOracleLeaf, _postStateProof [][32]byte) (*types.Transaction, error)
SqueezeLPP is a paid mutator transaction binding the contract method 0xd18534b5.
Solidity: function squeezeLPP(address _claimant, uint256 _uuid, (uint64[25]) _stateMatrix, (bytes,uint256,bytes32) _preState, bytes32[] _preStateProof, (bytes,uint256,bytes32) _postState, bytes32[] _postStateProof) returns()
type PreimageOracleTransactorRaw ¶
type PreimageOracleTransactorRaw struct {
Contract *PreimageOracleTransactor // Generic write-only contract binding to access the raw methods on
}
PreimageOracleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PreimageOracleTransactorRaw) Transact ¶
func (_PreimageOracle *PreimageOracleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PreimageOracleTransactorRaw) Transfer ¶
func (_PreimageOracle *PreimageOracleTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type PreimageOracleTransactorSession ¶
type PreimageOracleTransactorSession struct { Contract *PreimageOracleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PreimageOracleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PreimageOracleTransactorSession) AddLeavesLPP ¶
func (_PreimageOracle *PreimageOracleTransactorSession) AddLeavesLPP(_uuid *big.Int, _inputStartBlock *big.Int, _input []byte, _stateCommitments [][32]byte, _finalize bool) (*types.Transaction, error)
AddLeavesLPP is a paid mutator transaction binding the contract method 0x7917de1d.
Solidity: function addLeavesLPP(uint256 _uuid, uint256 _inputStartBlock, bytes _input, bytes32[] _stateCommitments, bool _finalize) returns()
func (*PreimageOracleTransactorSession) ChallengeFirstLPP ¶
func (_PreimageOracle *PreimageOracleTransactorSession) ChallengeFirstLPP(_claimant common.Address, _uuid *big.Int, _postState PreimageOracleLeaf, _postStateProof [][32]byte) (*types.Transaction, error)
ChallengeFirstLPP is a paid mutator transaction binding the contract method 0xec5efcbc.
Solidity: function challengeFirstLPP(address _claimant, uint256 _uuid, (bytes,uint256,bytes32) _postState, bytes32[] _postStateProof) returns()
func (*PreimageOracleTransactorSession) ChallengeLPP ¶
func (_PreimageOracle *PreimageOracleTransactorSession) ChallengeLPP(_claimant common.Address, _uuid *big.Int, _stateMatrix LibKeccakStateMatrix, _preState PreimageOracleLeaf, _preStateProof [][32]byte, _postState PreimageOracleLeaf, _postStateProof [][32]byte) (*types.Transaction, error)
ChallengeLPP is a paid mutator transaction binding the contract method 0x3909af5c.
Solidity: function challengeLPP(address _claimant, uint256 _uuid, (uint64[25]) _stateMatrix, (bytes,uint256,bytes32) _preState, bytes32[] _preStateProof, (bytes,uint256,bytes32) _postState, bytes32[] _postStateProof) returns()
func (*PreimageOracleTransactorSession) InitLPP ¶
func (_PreimageOracle *PreimageOracleTransactorSession) InitLPP(_uuid *big.Int, _partOffset uint32, _claimedSize uint32) (*types.Transaction, error)
InitLPP is a paid mutator transaction binding the contract method 0xfaf37bc7.
Solidity: function initLPP(uint256 _uuid, uint32 _partOffset, uint32 _claimedSize) payable returns()
func (*PreimageOracleTransactorSession) LoadBlobPreimagePart ¶
func (_PreimageOracle *PreimageOracleTransactorSession) LoadBlobPreimagePart(_z *big.Int, _y *big.Int, _commitment []byte, _proof []byte, _partOffset *big.Int) (*types.Transaction, error)
LoadBlobPreimagePart is a paid mutator transaction binding the contract method 0x9d7e8769.
Solidity: function loadBlobPreimagePart(uint256 _z, uint256 _y, bytes _commitment, bytes _proof, uint256 _partOffset) returns()
func (*PreimageOracleTransactorSession) LoadKeccak256PreimagePart ¶
func (_PreimageOracle *PreimageOracleTransactorSession) LoadKeccak256PreimagePart(_partOffset *big.Int, _preimage []byte) (*types.Transaction, error)
LoadKeccak256PreimagePart is a paid mutator transaction binding the contract method 0xe1592611.
Solidity: function loadKeccak256PreimagePart(uint256 _partOffset, bytes _preimage) returns()
func (*PreimageOracleTransactorSession) LoadLocalData ¶
func (_PreimageOracle *PreimageOracleTransactorSession) LoadLocalData(_ident *big.Int, _localContext [32]byte, _word [32]byte, _size *big.Int, _partOffset *big.Int) (*types.Transaction, error)
LoadLocalData is a paid mutator transaction binding the contract method 0x52f0f3ad.
Solidity: function loadLocalData(uint256 _ident, bytes32 _localContext, bytes32 _word, uint256 _size, uint256 _partOffset) returns(bytes32 key_)
func (*PreimageOracleTransactorSession) LoadPrecompilePreimagePart ¶
func (_PreimageOracle *PreimageOracleTransactorSession) LoadPrecompilePreimagePart(_partOffset *big.Int, _precompile common.Address, _requiredGas uint64, _input []byte) (*types.Transaction, error)
LoadPrecompilePreimagePart is a paid mutator transaction binding the contract method 0xea713950.
Solidity: function loadPrecompilePreimagePart(uint256 _partOffset, address _precompile, uint64 _requiredGas, bytes _input) returns()
func (*PreimageOracleTransactorSession) LoadSha256PreimagePart ¶
func (_PreimageOracle *PreimageOracleTransactorSession) LoadSha256PreimagePart(_partOffset *big.Int, _preimage []byte) (*types.Transaction, error)
LoadSha256PreimagePart is a paid mutator transaction binding the contract method 0x8dc4be11.
Solidity: function loadSha256PreimagePart(uint256 _partOffset, bytes _preimage) returns()
func (*PreimageOracleTransactorSession) SqueezeLPP ¶
func (_PreimageOracle *PreimageOracleTransactorSession) SqueezeLPP(_claimant common.Address, _uuid *big.Int, _stateMatrix LibKeccakStateMatrix, _preState PreimageOracleLeaf, _preStateProof [][32]byte, _postState PreimageOracleLeaf, _postStateProof [][32]byte) (*types.Transaction, error)
SqueezeLPP is a paid mutator transaction binding the contract method 0xd18534b5.
Solidity: function squeezeLPP(address _claimant, uint256 _uuid, (uint64[25]) _stateMatrix, (bytes,uint256,bytes32) _preState, bytes32[] _preStateProof, (bytes,uint256,bytes32) _postState, bytes32[] _postStateProof) returns()
type RISCV ¶
type RISCV struct { RISCVCaller // Read-only binding to the contract RISCVTransactor // Write-only binding to the contract RISCVFilterer // Log filterer for contract events }
RISCV is an auto generated Go binding around an Ethereum contract.
type RISCVCaller ¶
type RISCVCaller struct {
// contains filtered or unexported fields
}
RISCVCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewRISCVCaller ¶
func NewRISCVCaller(address common.Address, caller bind.ContractCaller) (*RISCVCaller, error)
NewRISCVCaller creates a new read-only instance of RISCV, bound to a specific deployed contract.
type RISCVCallerRaw ¶
type RISCVCallerRaw struct {
Contract *RISCVCaller // Generic read-only contract binding to access the raw methods on
}
RISCVCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*RISCVCallerRaw) Call ¶
func (_RISCV *RISCVCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type RISCVCallerSession ¶
type RISCVCallerSession struct { Contract *RISCVCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
RISCVCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*RISCVCallerSession) Oracle ¶
func (_RISCV *RISCVCallerSession) Oracle() (common.Address, error)
Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.
Solidity: function oracle() view returns(address)
func (*RISCVCallerSession) Version ¶ added in v1.1.1
func (_RISCV *RISCVCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type RISCVFilterer ¶
type RISCVFilterer struct {
// contains filtered or unexported fields
}
RISCVFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewRISCVFilterer ¶
func NewRISCVFilterer(address common.Address, filterer bind.ContractFilterer) (*RISCVFilterer, error)
NewRISCVFilterer creates a new log filterer instance of RISCV, bound to a specific deployed contract.
type RISCVRaw ¶
type RISCVRaw struct {
Contract *RISCV // Generic contract binding to access the raw methods on
}
RISCVRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*RISCVRaw) Call ¶
func (_RISCV *RISCVRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*RISCVRaw) Transact ¶
func (_RISCV *RISCVRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RISCVRaw) Transfer ¶
func (_RISCV *RISCVRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type RISCVSession ¶
type RISCVSession struct { Contract *RISCV // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
RISCVSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*RISCVSession) Oracle ¶
func (_RISCV *RISCVSession) Oracle() (common.Address, error)
Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.
Solidity: function oracle() view returns(address)
func (*RISCVSession) Step ¶
func (_RISCV *RISCVSession) Step(_stateData []byte, _proof []byte, _localContext [32]byte) (*types.Transaction, error)
Step is a paid mutator transaction binding the contract method 0xe14ced32.
Solidity: function step(bytes _stateData, bytes _proof, bytes32 _localContext) returns(bytes32)
func (*RISCVSession) Version ¶ added in v1.1.1
func (_RISCV *RISCVSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type RISCVTransactor ¶
type RISCVTransactor struct {
// contains filtered or unexported fields
}
RISCVTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewRISCVTransactor ¶
func NewRISCVTransactor(address common.Address, transactor bind.ContractTransactor) (*RISCVTransactor, error)
NewRISCVTransactor creates a new write-only instance of RISCV, bound to a specific deployed contract.
func (*RISCVTransactor) Step ¶
func (_RISCV *RISCVTransactor) Step(opts *bind.TransactOpts, _stateData []byte, _proof []byte, _localContext [32]byte) (*types.Transaction, error)
Step is a paid mutator transaction binding the contract method 0xe14ced32.
Solidity: function step(bytes _stateData, bytes _proof, bytes32 _localContext) returns(bytes32)
type RISCVTransactorRaw ¶
type RISCVTransactorRaw struct {
Contract *RISCVTransactor // Generic write-only contract binding to access the raw methods on
}
RISCVTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*RISCVTransactorRaw) Transact ¶
func (_RISCV *RISCVTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RISCVTransactorRaw) Transfer ¶
func (_RISCV *RISCVTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type RISCVTransactorSession ¶
type RISCVTransactorSession struct { Contract *RISCVTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
RISCVTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*RISCVTransactorSession) Step ¶
func (_RISCV *RISCVTransactorSession) Step(_stateData []byte, _proof []byte, _localContext [32]byte) (*types.Transaction, error)
Step is a paid mutator transaction binding the contract method 0xe14ced32.
Solidity: function step(bytes _stateData, bytes _proof, bytes32 _localContext) returns(bytes32)