Documentation ¶
Index ¶
- Variables
- type IAppStateVerifier
- type IAppStateVerifierCaller
- type IAppStateVerifierCallerRaw
- type IAppStateVerifierCallerSession
- type IAppStateVerifierFilterer
- type IAppStateVerifierRaw
- func (_IAppStateVerifier *IAppStateVerifierRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IAppStateVerifier *IAppStateVerifierRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IAppStateVerifier *IAppStateVerifierRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IAppStateVerifierSession
- type IAppStateVerifierTransactor
- type IAppStateVerifierTransactorRaw
- type IAppStateVerifierTransactorSession
- type IProofVerifier
- type IProofVerifierCaller
- func (_IProofVerifier *IProofVerifierCaller) VerifyMembership(opts *bind.CallOpts, appHash [32]byte, key []byte, value []byte, ...) error
- func (_IProofVerifier *IProofVerifierCaller) VerifyNonMembership(opts *bind.CallOpts, appHash [32]byte, key []byte, proof Ics23Proof) error
- func (_IProofVerifier *IProofVerifierCaller) VerifyStateUpdate(opts *bind.CallOpts, l1header L1Header, proof OpL2StateProof, appHash [32]byte, ...) error
- type IProofVerifierCallerRaw
- type IProofVerifierCallerSession
- func (_IProofVerifier *IProofVerifierCallerSession) VerifyMembership(appHash [32]byte, key []byte, value []byte, proof Ics23Proof) error
- func (_IProofVerifier *IProofVerifierCallerSession) VerifyNonMembership(appHash [32]byte, key []byte, proof Ics23Proof) error
- func (_IProofVerifier *IProofVerifierCallerSession) VerifyStateUpdate(l1header L1Header, proof OpL2StateProof, appHash [32]byte, ...) error
- type IProofVerifierFilterer
- type IProofVerifierRaw
- func (_IProofVerifier *IProofVerifierRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IProofVerifier *IProofVerifierRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IProofVerifier *IProofVerifierRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IProofVerifierSession
- func (_IProofVerifier *IProofVerifierSession) VerifyMembership(appHash [32]byte, key []byte, value []byte, proof Ics23Proof) error
- func (_IProofVerifier *IProofVerifierSession) VerifyNonMembership(appHash [32]byte, key []byte, proof Ics23Proof) error
- func (_IProofVerifier *IProofVerifierSession) VerifyStateUpdate(l1header L1Header, proof OpL2StateProof, appHash [32]byte, ...) error
- type IProofVerifierTransactor
- type IProofVerifierTransactorRaw
- type IProofVerifierTransactorSession
- type Ics23Proof
- type L1Header
- type OpIcs23Proof
- type OpIcs23ProofPath
- type OpL2StateProof
Constants ¶
This section is empty.
Variables ¶
var IAppStateVerifierABI = IAppStateVerifierMetaData.ABI
IAppStateVerifierABI is the input ABI used to generate the binding from. Deprecated: Use IAppStateVerifierMetaData.ABI instead.
var IAppStateVerifierMetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"verifyMembership\",\"inputs\":[{\"name\":\"appHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"key\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"value\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"proof\",\"type\":\"tuple\",\"internalType\":\"structIcs23Proof\",\"components\":[{\"name\":\"proof\",\"type\":\"tuple[]\",\"internalType\":\"structOpIcs23Proof[]\",\"components\":[{\"name\":\"path\",\"type\":\"tuple[]\",\"internalType\":\"structOpIcs23ProofPath[]\",\"components\":[{\"name\":\"prefix\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"suffix\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"name\":\"key\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"value\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"prefix\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"name\":\"height\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"outputs\":[],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"verifyNonMembership\",\"inputs\":[{\"name\":\"appHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"key\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"proof\",\"type\":\"tuple\",\"internalType\":\"structIcs23Proof\",\"components\":[{\"name\":\"proof\",\"type\":\"tuple[]\",\"internalType\":\"structOpIcs23Proof[]\",\"components\":[{\"name\":\"path\",\"type\":\"tuple[]\",\"internalType\":\"structOpIcs23ProofPath[]\",\"components\":[{\"name\":\"prefix\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"suffix\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"name\":\"key\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"value\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"prefix\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"name\":\"height\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"outputs\":[],\"stateMutability\":\"pure\"},{\"type\":\"error\",\"name\":\"InvalidAppHash\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidIbcStateProof\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidL1BlockHash\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidL1BlockNumber\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidPacketProof\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidProofKey\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidProofValue\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidRLPEncodedL1BlockNumber\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidRLPEncodedL1StateRoot\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"MethodNotImplemented\",\"inputs\":[]}]",
}
IAppStateVerifierMetaData contains all meta data concerning the IAppStateVerifier contract.
var IProofVerifierABI = IProofVerifierMetaData.ABI
IProofVerifierABI is the input ABI used to generate the binding from. Deprecated: Use IProofVerifierMetaData.ABI instead.
var IProofVerifierMetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"verifyMembership\",\"inputs\":[{\"name\":\"appHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"key\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"value\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"proof\",\"type\":\"tuple\",\"internalType\":\"structIcs23Proof\",\"components\":[{\"name\":\"proof\",\"type\":\"tuple[]\",\"internalType\":\"structOpIcs23Proof[]\",\"components\":[{\"name\":\"path\",\"type\":\"tuple[]\",\"internalType\":\"structOpIcs23ProofPath[]\",\"components\":[{\"name\":\"prefix\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"suffix\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"name\":\"key\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"value\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"prefix\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"name\":\"height\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"outputs\":[],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"verifyNonMembership\",\"inputs\":[{\"name\":\"appHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"key\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"proof\",\"type\":\"tuple\",\"internalType\":\"structIcs23Proof\",\"components\":[{\"name\":\"proof\",\"type\":\"tuple[]\",\"internalType\":\"structOpIcs23Proof[]\",\"components\":[{\"name\":\"path\",\"type\":\"tuple[]\",\"internalType\":\"structOpIcs23ProofPath[]\",\"components\":[{\"name\":\"prefix\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"suffix\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"name\":\"key\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"value\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"prefix\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"name\":\"height\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"outputs\":[],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"verifyStateUpdate\",\"inputs\":[{\"name\":\"l1header\",\"type\":\"tuple\",\"internalType\":\"structL1Header\",\"components\":[{\"name\":\"header\",\"type\":\"bytes[]\",\"internalType\":\"bytes[]\"},{\"name\":\"stateRoot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"number\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"proof\",\"type\":\"tuple\",\"internalType\":\"structOpL2StateProof\",\"components\":[{\"name\":\"accountProof\",\"type\":\"bytes[]\",\"internalType\":\"bytes[]\"},{\"name\":\"outputRootProof\",\"type\":\"bytes[]\",\"internalType\":\"bytes[]\"},{\"name\":\"l2OutputProposalKey\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"l2BlockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"appHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"trustedL1BlockHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"trustedL1BlockNumber\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"outputs\":[],\"stateMutability\":\"view\"},{\"type\":\"error\",\"name\":\"InvalidAppHash\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidIbcStateProof\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidL1BlockHash\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidL1BlockNumber\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidPacketProof\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidProofKey\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidProofValue\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidRLPEncodedL1BlockNumber\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidRLPEncodedL1StateRoot\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"MethodNotImplemented\",\"inputs\":[]}]",
}
IProofVerifierMetaData contains all meta data concerning the IProofVerifier contract.
Functions ¶
This section is empty.
Types ¶
type IAppStateVerifier ¶
type IAppStateVerifier struct { IAppStateVerifierCaller // Read-only binding to the contract IAppStateVerifierTransactor // Write-only binding to the contract IAppStateVerifierFilterer // Log filterer for contract events }
IAppStateVerifier is an auto generated Go binding around an Ethereum contract.
func NewIAppStateVerifier ¶
func NewIAppStateVerifier(address common.Address, backend bind.ContractBackend) (*IAppStateVerifier, error)
NewIAppStateVerifier creates a new instance of IAppStateVerifier, bound to a specific deployed contract.
type IAppStateVerifierCaller ¶
type IAppStateVerifierCaller struct {
// contains filtered or unexported fields
}
IAppStateVerifierCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIAppStateVerifierCaller ¶
func NewIAppStateVerifierCaller(address common.Address, caller bind.ContractCaller) (*IAppStateVerifierCaller, error)
NewIAppStateVerifierCaller creates a new read-only instance of IAppStateVerifier, bound to a specific deployed contract.
func (*IAppStateVerifierCaller) VerifyMembership ¶
func (_IAppStateVerifier *IAppStateVerifierCaller) VerifyMembership(opts *bind.CallOpts, appHash [32]byte, key []byte, value []byte, proof Ics23Proof) error
VerifyMembership is a free data retrieval call binding the contract method 0xc2f0329f.
Solidity: function verifyMembership(bytes32 appHash, bytes key, bytes value, (((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof) pure returns()
func (*IAppStateVerifierCaller) VerifyNonMembership ¶
func (_IAppStateVerifier *IAppStateVerifierCaller) VerifyNonMembership(opts *bind.CallOpts, appHash [32]byte, key []byte, proof Ics23Proof) error
VerifyNonMembership is a free data retrieval call binding the contract method 0x2a6ded74.
Solidity: function verifyNonMembership(bytes32 appHash, bytes key, (((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof) pure returns()
type IAppStateVerifierCallerRaw ¶
type IAppStateVerifierCallerRaw struct {
Contract *IAppStateVerifierCaller // Generic read-only contract binding to access the raw methods on
}
IAppStateVerifierCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IAppStateVerifierCallerRaw) Call ¶
func (_IAppStateVerifier *IAppStateVerifierCallerRaw) 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 IAppStateVerifierCallerSession ¶
type IAppStateVerifierCallerSession struct { Contract *IAppStateVerifierCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IAppStateVerifierCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IAppStateVerifierCallerSession) VerifyMembership ¶
func (_IAppStateVerifier *IAppStateVerifierCallerSession) VerifyMembership(appHash [32]byte, key []byte, value []byte, proof Ics23Proof) error
VerifyMembership is a free data retrieval call binding the contract method 0xc2f0329f.
Solidity: function verifyMembership(bytes32 appHash, bytes key, bytes value, (((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof) pure returns()
func (*IAppStateVerifierCallerSession) VerifyNonMembership ¶
func (_IAppStateVerifier *IAppStateVerifierCallerSession) VerifyNonMembership(appHash [32]byte, key []byte, proof Ics23Proof) error
VerifyNonMembership is a free data retrieval call binding the contract method 0x2a6ded74.
Solidity: function verifyNonMembership(bytes32 appHash, bytes key, (((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof) pure returns()
type IAppStateVerifierFilterer ¶
type IAppStateVerifierFilterer struct {
// contains filtered or unexported fields
}
IAppStateVerifierFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIAppStateVerifierFilterer ¶
func NewIAppStateVerifierFilterer(address common.Address, filterer bind.ContractFilterer) (*IAppStateVerifierFilterer, error)
NewIAppStateVerifierFilterer creates a new log filterer instance of IAppStateVerifier, bound to a specific deployed contract.
type IAppStateVerifierRaw ¶
type IAppStateVerifierRaw struct {
Contract *IAppStateVerifier // Generic contract binding to access the raw methods on
}
IAppStateVerifierRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IAppStateVerifierRaw) Call ¶
func (_IAppStateVerifier *IAppStateVerifierRaw) 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 (*IAppStateVerifierRaw) Transact ¶
func (_IAppStateVerifier *IAppStateVerifierRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IAppStateVerifierRaw) Transfer ¶
func (_IAppStateVerifier *IAppStateVerifierRaw) 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 IAppStateVerifierSession ¶
type IAppStateVerifierSession struct { Contract *IAppStateVerifier // 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 }
IAppStateVerifierSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IAppStateVerifierSession) VerifyMembership ¶
func (_IAppStateVerifier *IAppStateVerifierSession) VerifyMembership(appHash [32]byte, key []byte, value []byte, proof Ics23Proof) error
VerifyMembership is a free data retrieval call binding the contract method 0xc2f0329f.
Solidity: function verifyMembership(bytes32 appHash, bytes key, bytes value, (((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof) pure returns()
func (*IAppStateVerifierSession) VerifyNonMembership ¶
func (_IAppStateVerifier *IAppStateVerifierSession) VerifyNonMembership(appHash [32]byte, key []byte, proof Ics23Proof) error
VerifyNonMembership is a free data retrieval call binding the contract method 0x2a6ded74.
Solidity: function verifyNonMembership(bytes32 appHash, bytes key, (((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof) pure returns()
type IAppStateVerifierTransactor ¶
type IAppStateVerifierTransactor struct {
// contains filtered or unexported fields
}
IAppStateVerifierTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIAppStateVerifierTransactor ¶
func NewIAppStateVerifierTransactor(address common.Address, transactor bind.ContractTransactor) (*IAppStateVerifierTransactor, error)
NewIAppStateVerifierTransactor creates a new write-only instance of IAppStateVerifier, bound to a specific deployed contract.
type IAppStateVerifierTransactorRaw ¶
type IAppStateVerifierTransactorRaw struct {
Contract *IAppStateVerifierTransactor // Generic write-only contract binding to access the raw methods on
}
IAppStateVerifierTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IAppStateVerifierTransactorRaw) Transact ¶
func (_IAppStateVerifier *IAppStateVerifierTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IAppStateVerifierTransactorRaw) Transfer ¶
func (_IAppStateVerifier *IAppStateVerifierTransactorRaw) 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 IAppStateVerifierTransactorSession ¶
type IAppStateVerifierTransactorSession struct { Contract *IAppStateVerifierTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IAppStateVerifierTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type IProofVerifier ¶
type IProofVerifier struct { IProofVerifierCaller // Read-only binding to the contract IProofVerifierTransactor // Write-only binding to the contract IProofVerifierFilterer // Log filterer for contract events }
IProofVerifier is an auto generated Go binding around an Ethereum contract.
func NewIProofVerifier ¶
func NewIProofVerifier(address common.Address, backend bind.ContractBackend) (*IProofVerifier, error)
NewIProofVerifier creates a new instance of IProofVerifier, bound to a specific deployed contract.
type IProofVerifierCaller ¶
type IProofVerifierCaller struct {
// contains filtered or unexported fields
}
IProofVerifierCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIProofVerifierCaller ¶
func NewIProofVerifierCaller(address common.Address, caller bind.ContractCaller) (*IProofVerifierCaller, error)
NewIProofVerifierCaller creates a new read-only instance of IProofVerifier, bound to a specific deployed contract.
func (*IProofVerifierCaller) VerifyMembership ¶
func (_IProofVerifier *IProofVerifierCaller) VerifyMembership(opts *bind.CallOpts, appHash [32]byte, key []byte, value []byte, proof Ics23Proof) error
VerifyMembership is a free data retrieval call binding the contract method 0xc2f0329f.
Solidity: function verifyMembership(bytes32 appHash, bytes key, bytes value, (((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof) pure returns()
func (*IProofVerifierCaller) VerifyNonMembership ¶
func (_IProofVerifier *IProofVerifierCaller) VerifyNonMembership(opts *bind.CallOpts, appHash [32]byte, key []byte, proof Ics23Proof) error
VerifyNonMembership is a free data retrieval call binding the contract method 0x2a6ded74.
Solidity: function verifyNonMembership(bytes32 appHash, bytes key, (((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof) pure returns()
func (*IProofVerifierCaller) VerifyStateUpdate ¶
func (_IProofVerifier *IProofVerifierCaller) VerifyStateUpdate(opts *bind.CallOpts, l1header L1Header, proof OpL2StateProof, appHash [32]byte, trustedL1BlockHash [32]byte, trustedL1BlockNumber uint64) error
VerifyStateUpdate is a free data retrieval call binding the contract method 0x0a1bb8b5.
Solidity: function verifyStateUpdate((bytes[],bytes32,uint64) l1header, (bytes[],bytes[],bytes32,bytes32) proof, bytes32 appHash, bytes32 trustedL1BlockHash, uint64 trustedL1BlockNumber) view returns()
type IProofVerifierCallerRaw ¶
type IProofVerifierCallerRaw struct {
Contract *IProofVerifierCaller // Generic read-only contract binding to access the raw methods on
}
IProofVerifierCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IProofVerifierCallerRaw) Call ¶
func (_IProofVerifier *IProofVerifierCallerRaw) 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 IProofVerifierCallerSession ¶
type IProofVerifierCallerSession struct { Contract *IProofVerifierCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IProofVerifierCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IProofVerifierCallerSession) VerifyMembership ¶
func (_IProofVerifier *IProofVerifierCallerSession) VerifyMembership(appHash [32]byte, key []byte, value []byte, proof Ics23Proof) error
VerifyMembership is a free data retrieval call binding the contract method 0xc2f0329f.
Solidity: function verifyMembership(bytes32 appHash, bytes key, bytes value, (((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof) pure returns()
func (*IProofVerifierCallerSession) VerifyNonMembership ¶
func (_IProofVerifier *IProofVerifierCallerSession) VerifyNonMembership(appHash [32]byte, key []byte, proof Ics23Proof) error
VerifyNonMembership is a free data retrieval call binding the contract method 0x2a6ded74.
Solidity: function verifyNonMembership(bytes32 appHash, bytes key, (((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof) pure returns()
func (*IProofVerifierCallerSession) VerifyStateUpdate ¶
func (_IProofVerifier *IProofVerifierCallerSession) VerifyStateUpdate(l1header L1Header, proof OpL2StateProof, appHash [32]byte, trustedL1BlockHash [32]byte, trustedL1BlockNumber uint64) error
VerifyStateUpdate is a free data retrieval call binding the contract method 0x0a1bb8b5.
Solidity: function verifyStateUpdate((bytes[],bytes32,uint64) l1header, (bytes[],bytes[],bytes32,bytes32) proof, bytes32 appHash, bytes32 trustedL1BlockHash, uint64 trustedL1BlockNumber) view returns()
type IProofVerifierFilterer ¶
type IProofVerifierFilterer struct {
// contains filtered or unexported fields
}
IProofVerifierFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIProofVerifierFilterer ¶
func NewIProofVerifierFilterer(address common.Address, filterer bind.ContractFilterer) (*IProofVerifierFilterer, error)
NewIProofVerifierFilterer creates a new log filterer instance of IProofVerifier, bound to a specific deployed contract.
type IProofVerifierRaw ¶
type IProofVerifierRaw struct {
Contract *IProofVerifier // Generic contract binding to access the raw methods on
}
IProofVerifierRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IProofVerifierRaw) Call ¶
func (_IProofVerifier *IProofVerifierRaw) 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 (*IProofVerifierRaw) Transact ¶
func (_IProofVerifier *IProofVerifierRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IProofVerifierRaw) Transfer ¶
func (_IProofVerifier *IProofVerifierRaw) 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 IProofVerifierSession ¶
type IProofVerifierSession struct { Contract *IProofVerifier // 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 }
IProofVerifierSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IProofVerifierSession) VerifyMembership ¶
func (_IProofVerifier *IProofVerifierSession) VerifyMembership(appHash [32]byte, key []byte, value []byte, proof Ics23Proof) error
VerifyMembership is a free data retrieval call binding the contract method 0xc2f0329f.
Solidity: function verifyMembership(bytes32 appHash, bytes key, bytes value, (((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof) pure returns()
func (*IProofVerifierSession) VerifyNonMembership ¶
func (_IProofVerifier *IProofVerifierSession) VerifyNonMembership(appHash [32]byte, key []byte, proof Ics23Proof) error
VerifyNonMembership is a free data retrieval call binding the contract method 0x2a6ded74.
Solidity: function verifyNonMembership(bytes32 appHash, bytes key, (((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof) pure returns()
func (*IProofVerifierSession) VerifyStateUpdate ¶
func (_IProofVerifier *IProofVerifierSession) VerifyStateUpdate(l1header L1Header, proof OpL2StateProof, appHash [32]byte, trustedL1BlockHash [32]byte, trustedL1BlockNumber uint64) error
VerifyStateUpdate is a free data retrieval call binding the contract method 0x0a1bb8b5.
Solidity: function verifyStateUpdate((bytes[],bytes32,uint64) l1header, (bytes[],bytes[],bytes32,bytes32) proof, bytes32 appHash, bytes32 trustedL1BlockHash, uint64 trustedL1BlockNumber) view returns()
type IProofVerifierTransactor ¶
type IProofVerifierTransactor struct {
// contains filtered or unexported fields
}
IProofVerifierTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIProofVerifierTransactor ¶
func NewIProofVerifierTransactor(address common.Address, transactor bind.ContractTransactor) (*IProofVerifierTransactor, error)
NewIProofVerifierTransactor creates a new write-only instance of IProofVerifier, bound to a specific deployed contract.
type IProofVerifierTransactorRaw ¶
type IProofVerifierTransactorRaw struct {
Contract *IProofVerifierTransactor // Generic write-only contract binding to access the raw methods on
}
IProofVerifierTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IProofVerifierTransactorRaw) Transact ¶
func (_IProofVerifier *IProofVerifierTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IProofVerifierTransactorRaw) Transfer ¶
func (_IProofVerifier *IProofVerifierTransactorRaw) 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 IProofVerifierTransactorSession ¶
type IProofVerifierTransactorSession struct { Contract *IProofVerifierTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IProofVerifierTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type Ics23Proof ¶
type Ics23Proof struct { Proof []OpIcs23Proof Height *big.Int }
Ics23Proof is an auto generated low-level Go binding around an user-defined struct.
type OpIcs23Proof ¶
type OpIcs23Proof struct { Path []OpIcs23ProofPath Key []byte Value []byte Prefix []byte }
OpIcs23Proof is an auto generated low-level Go binding around an user-defined struct.
type OpIcs23ProofPath ¶
OpIcs23ProofPath is an auto generated low-level Go binding around an user-defined struct.