Documentation ¶
Index ¶
- Variables
- type IClientUpdates
- type IClientUpdatesCaller
- type IClientUpdatesCallerRaw
- type IClientUpdatesCallerSession
- type IClientUpdatesFilterer
- type IClientUpdatesRaw
- func (_IClientUpdates *IClientUpdatesRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IClientUpdates *IClientUpdatesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IClientUpdates *IClientUpdatesRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IClientUpdatesSession
- type IClientUpdatesTransactor
- type IClientUpdatesTransactorRaw
- type IClientUpdatesTransactorSession
- type ILightClient
- type ILightClientCaller
- type ILightClientCallerRaw
- type ILightClientCallerSession
- type ILightClientFilterer
- type ILightClientRaw
- func (_ILightClient *ILightClientRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ILightClient *ILightClientRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ILightClient *ILightClientRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ILightClientSession
- func (_ILightClient *ILightClientSession) GetState(height *big.Int) (*big.Int, error)
- func (_ILightClient *ILightClientSession) LIGHTCLIENTTYPE() (uint8, error)
- func (_ILightClient *ILightClientSession) UpdateClient(proof []byte, height *big.Int, appHash *big.Int) (*types.Transaction, error)
- func (_ILightClient *ILightClientSession) VerifyMembership(proof Ics23Proof, key []byte, expectedValue []byte) (*types.Transaction, error)
- func (_ILightClient *ILightClientSession) VerifyNonMembership(proof Ics23Proof, key []byte) (*types.Transaction, error)
- type ILightClientTransactor
- func (_ILightClient *ILightClientTransactor) UpdateClient(opts *bind.TransactOpts, proof []byte, height *big.Int, appHash *big.Int) (*types.Transaction, error)
- func (_ILightClient *ILightClientTransactor) VerifyMembership(opts *bind.TransactOpts, proof Ics23Proof, key []byte, expectedValue []byte) (*types.Transaction, error)
- func (_ILightClient *ILightClientTransactor) VerifyNonMembership(opts *bind.TransactOpts, proof Ics23Proof, key []byte) (*types.Transaction, error)
- type ILightClientTransactorRaw
- type ILightClientTransactorSession
- func (_ILightClient *ILightClientTransactorSession) UpdateClient(proof []byte, height *big.Int, appHash *big.Int) (*types.Transaction, error)
- func (_ILightClient *ILightClientTransactorSession) VerifyMembership(proof Ics23Proof, key []byte, expectedValue []byte) (*types.Transaction, error)
- func (_ILightClient *ILightClientTransactorSession) VerifyNonMembership(proof Ics23Proof, key []byte) (*types.Transaction, error)
- type Ics23Proof
- type OpIcs23Proof
- type OpIcs23ProofPath
Constants ¶
This section is empty.
Variables ¶
var IClientUpdatesABI = IClientUpdatesMetaData.ABI
IClientUpdatesABI is the input ABI used to generate the binding from. Deprecated: Use IClientUpdatesMetaData.ABI instead.
var IClientUpdatesMetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"LIGHT_CLIENT_TYPE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"enumLightClientType\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"updateClient\",\"inputs\":[{\"name\":\"proof\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"height\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"appHash\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"}]",
}
IClientUpdatesMetaData contains all meta data concerning the IClientUpdates contract.
var ILightClientABI = ILightClientMetaData.ABI
ILightClientABI is the input ABI used to generate the binding from. Deprecated: Use ILightClientMetaData.ABI instead.
var ILightClientMetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"LIGHT_CLIENT_TYPE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"enumLightClientType\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getState\",\"inputs\":[{\"name\":\"height\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"updateClient\",\"inputs\":[{\"name\":\"proof\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"height\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"appHash\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"verifyMembership\",\"inputs\":[{\"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\"}]},{\"name\":\"key\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"expectedValue\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"verifyNonMembership\",\"inputs\":[{\"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\"}]},{\"name\":\"key\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"}]",
}
ILightClientMetaData contains all meta data concerning the ILightClient contract.
Functions ¶
This section is empty.
Types ¶
type IClientUpdates ¶ added in v4.0.11
type IClientUpdates struct { IClientUpdatesCaller // Read-only binding to the contract IClientUpdatesTransactor // Write-only binding to the contract IClientUpdatesFilterer // Log filterer for contract events }
IClientUpdates is an auto generated Go binding around an Ethereum contract.
func NewIClientUpdates ¶ added in v4.0.11
func NewIClientUpdates(address common.Address, backend bind.ContractBackend) (*IClientUpdates, error)
NewIClientUpdates creates a new instance of IClientUpdates, bound to a specific deployed contract.
type IClientUpdatesCaller ¶ added in v4.0.11
type IClientUpdatesCaller struct {
// contains filtered or unexported fields
}
IClientUpdatesCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIClientUpdatesCaller ¶ added in v4.0.11
func NewIClientUpdatesCaller(address common.Address, caller bind.ContractCaller) (*IClientUpdatesCaller, error)
NewIClientUpdatesCaller creates a new read-only instance of IClientUpdates, bound to a specific deployed contract.
func (*IClientUpdatesCaller) LIGHTCLIENTTYPE ¶ added in v4.0.11
func (_IClientUpdates *IClientUpdatesCaller) LIGHTCLIENTTYPE(opts *bind.CallOpts) (uint8, error)
LIGHTCLIENTTYPE is a free data retrieval call binding the contract method 0x57c1c5f4.
Solidity: function LIGHT_CLIENT_TYPE() view returns(uint8)
type IClientUpdatesCallerRaw ¶ added in v4.0.11
type IClientUpdatesCallerRaw struct {
Contract *IClientUpdatesCaller // Generic read-only contract binding to access the raw methods on
}
IClientUpdatesCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IClientUpdatesCallerRaw) Call ¶ added in v4.0.11
func (_IClientUpdates *IClientUpdatesCallerRaw) 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 IClientUpdatesCallerSession ¶ added in v4.0.11
type IClientUpdatesCallerSession struct { Contract *IClientUpdatesCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IClientUpdatesCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IClientUpdatesCallerSession) LIGHTCLIENTTYPE ¶ added in v4.0.11
func (_IClientUpdates *IClientUpdatesCallerSession) LIGHTCLIENTTYPE() (uint8, error)
LIGHTCLIENTTYPE is a free data retrieval call binding the contract method 0x57c1c5f4.
Solidity: function LIGHT_CLIENT_TYPE() view returns(uint8)
type IClientUpdatesFilterer ¶ added in v4.0.11
type IClientUpdatesFilterer struct {
// contains filtered or unexported fields
}
IClientUpdatesFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIClientUpdatesFilterer ¶ added in v4.0.11
func NewIClientUpdatesFilterer(address common.Address, filterer bind.ContractFilterer) (*IClientUpdatesFilterer, error)
NewIClientUpdatesFilterer creates a new log filterer instance of IClientUpdates, bound to a specific deployed contract.
type IClientUpdatesRaw ¶ added in v4.0.11
type IClientUpdatesRaw struct {
Contract *IClientUpdates // Generic contract binding to access the raw methods on
}
IClientUpdatesRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IClientUpdatesRaw) Call ¶ added in v4.0.11
func (_IClientUpdates *IClientUpdatesRaw) 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 (*IClientUpdatesRaw) Transact ¶ added in v4.0.11
func (_IClientUpdates *IClientUpdatesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IClientUpdatesRaw) Transfer ¶ added in v4.0.11
func (_IClientUpdates *IClientUpdatesRaw) 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 IClientUpdatesSession ¶ added in v4.0.11
type IClientUpdatesSession struct { Contract *IClientUpdates // 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 }
IClientUpdatesSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IClientUpdatesSession) LIGHTCLIENTTYPE ¶ added in v4.0.11
func (_IClientUpdates *IClientUpdatesSession) LIGHTCLIENTTYPE() (uint8, error)
LIGHTCLIENTTYPE is a free data retrieval call binding the contract method 0x57c1c5f4.
Solidity: function LIGHT_CLIENT_TYPE() view returns(uint8)
func (*IClientUpdatesSession) UpdateClient ¶ added in v4.0.11
func (_IClientUpdates *IClientUpdatesSession) UpdateClient(proof []byte, height *big.Int, appHash *big.Int) (*types.Transaction, error)
UpdateClient is a paid mutator transaction binding the contract method 0x49ff245e.
Solidity: function updateClient(bytes proof, uint256 height, uint256 appHash) returns()
type IClientUpdatesTransactor ¶ added in v4.0.11
type IClientUpdatesTransactor struct {
// contains filtered or unexported fields
}
IClientUpdatesTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIClientUpdatesTransactor ¶ added in v4.0.11
func NewIClientUpdatesTransactor(address common.Address, transactor bind.ContractTransactor) (*IClientUpdatesTransactor, error)
NewIClientUpdatesTransactor creates a new write-only instance of IClientUpdates, bound to a specific deployed contract.
func (*IClientUpdatesTransactor) UpdateClient ¶ added in v4.0.11
func (_IClientUpdates *IClientUpdatesTransactor) UpdateClient(opts *bind.TransactOpts, proof []byte, height *big.Int, appHash *big.Int) (*types.Transaction, error)
UpdateClient is a paid mutator transaction binding the contract method 0x49ff245e.
Solidity: function updateClient(bytes proof, uint256 height, uint256 appHash) returns()
type IClientUpdatesTransactorRaw ¶ added in v4.0.11
type IClientUpdatesTransactorRaw struct {
Contract *IClientUpdatesTransactor // Generic write-only contract binding to access the raw methods on
}
IClientUpdatesTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IClientUpdatesTransactorRaw) Transact ¶ added in v4.0.11
func (_IClientUpdates *IClientUpdatesTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IClientUpdatesTransactorRaw) Transfer ¶ added in v4.0.11
func (_IClientUpdates *IClientUpdatesTransactorRaw) 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 IClientUpdatesTransactorSession ¶ added in v4.0.11
type IClientUpdatesTransactorSession struct { Contract *IClientUpdatesTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IClientUpdatesTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IClientUpdatesTransactorSession) UpdateClient ¶ added in v4.0.11
func (_IClientUpdates *IClientUpdatesTransactorSession) UpdateClient(proof []byte, height *big.Int, appHash *big.Int) (*types.Transaction, error)
UpdateClient is a paid mutator transaction binding the contract method 0x49ff245e.
Solidity: function updateClient(bytes proof, uint256 height, uint256 appHash) returns()
type ILightClient ¶
type ILightClient struct { ILightClientCaller // Read-only binding to the contract ILightClientTransactor // Write-only binding to the contract ILightClientFilterer // Log filterer for contract events }
ILightClient is an auto generated Go binding around an Ethereum contract.
func NewILightClient ¶
func NewILightClient(address common.Address, backend bind.ContractBackend) (*ILightClient, error)
NewILightClient creates a new instance of ILightClient, bound to a specific deployed contract.
type ILightClientCaller ¶
type ILightClientCaller struct {
// contains filtered or unexported fields
}
ILightClientCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewILightClientCaller ¶
func NewILightClientCaller(address common.Address, caller bind.ContractCaller) (*ILightClientCaller, error)
NewILightClientCaller creates a new read-only instance of ILightClient, bound to a specific deployed contract.
func (*ILightClientCaller) GetState ¶
func (_ILightClient *ILightClientCaller) GetState(opts *bind.CallOpts, height *big.Int) (*big.Int, error)
GetState is a free data retrieval call binding the contract method 0x44c9af28.
Solidity: function getState(uint256 height) view returns(uint256)
func (*ILightClientCaller) LIGHTCLIENTTYPE ¶
func (_ILightClient *ILightClientCaller) LIGHTCLIENTTYPE(opts *bind.CallOpts) (uint8, error)
LIGHTCLIENTTYPE is a free data retrieval call binding the contract method 0x57c1c5f4.
Solidity: function LIGHT_CLIENT_TYPE() view returns(uint8)
type ILightClientCallerRaw ¶
type ILightClientCallerRaw struct {
Contract *ILightClientCaller // Generic read-only contract binding to access the raw methods on
}
ILightClientCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ILightClientCallerRaw) Call ¶
func (_ILightClient *ILightClientCallerRaw) 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 ILightClientCallerSession ¶
type ILightClientCallerSession struct { Contract *ILightClientCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ILightClientCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ILightClientCallerSession) GetState ¶
GetState is a free data retrieval call binding the contract method 0x44c9af28.
Solidity: function getState(uint256 height) view returns(uint256)
func (*ILightClientCallerSession) LIGHTCLIENTTYPE ¶
func (_ILightClient *ILightClientCallerSession) LIGHTCLIENTTYPE() (uint8, error)
LIGHTCLIENTTYPE is a free data retrieval call binding the contract method 0x57c1c5f4.
Solidity: function LIGHT_CLIENT_TYPE() view returns(uint8)
type ILightClientFilterer ¶
type ILightClientFilterer struct {
// contains filtered or unexported fields
}
ILightClientFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewILightClientFilterer ¶
func NewILightClientFilterer(address common.Address, filterer bind.ContractFilterer) (*ILightClientFilterer, error)
NewILightClientFilterer creates a new log filterer instance of ILightClient, bound to a specific deployed contract.
type ILightClientRaw ¶
type ILightClientRaw struct {
Contract *ILightClient // Generic contract binding to access the raw methods on
}
ILightClientRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ILightClientRaw) Call ¶
func (_ILightClient *ILightClientRaw) 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 (*ILightClientRaw) Transact ¶
func (_ILightClient *ILightClientRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ILightClientRaw) Transfer ¶
func (_ILightClient *ILightClientRaw) 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 ILightClientSession ¶
type ILightClientSession struct { Contract *ILightClient // 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 }
ILightClientSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ILightClientSession) GetState ¶
GetState is a free data retrieval call binding the contract method 0x44c9af28.
Solidity: function getState(uint256 height) view returns(uint256)
func (*ILightClientSession) LIGHTCLIENTTYPE ¶
func (_ILightClient *ILightClientSession) LIGHTCLIENTTYPE() (uint8, error)
LIGHTCLIENTTYPE is a free data retrieval call binding the contract method 0x57c1c5f4.
Solidity: function LIGHT_CLIENT_TYPE() view returns(uint8)
func (*ILightClientSession) UpdateClient ¶
func (_ILightClient *ILightClientSession) UpdateClient(proof []byte, height *big.Int, appHash *big.Int) (*types.Transaction, error)
UpdateClient is a paid mutator transaction binding the contract method 0x49ff245e.
Solidity: function updateClient(bytes proof, uint256 height, uint256 appHash) returns()
func (*ILightClientSession) VerifyMembership ¶
func (_ILightClient *ILightClientSession) VerifyMembership(proof Ics23Proof, key []byte, expectedValue []byte) (*types.Transaction, error)
VerifyMembership is a paid mutator transaction binding the contract method 0xcb535ab5.
Solidity: function verifyMembership((((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof, bytes key, bytes expectedValue) returns()
func (*ILightClientSession) VerifyNonMembership ¶
func (_ILightClient *ILightClientSession) VerifyNonMembership(proof Ics23Proof, key []byte) (*types.Transaction, error)
VerifyNonMembership is a paid mutator transaction binding the contract method 0xfdaab4e5.
Solidity: function verifyNonMembership((((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof, bytes key) returns()
type ILightClientTransactor ¶
type ILightClientTransactor struct {
// contains filtered or unexported fields
}
ILightClientTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewILightClientTransactor ¶
func NewILightClientTransactor(address common.Address, transactor bind.ContractTransactor) (*ILightClientTransactor, error)
NewILightClientTransactor creates a new write-only instance of ILightClient, bound to a specific deployed contract.
func (*ILightClientTransactor) UpdateClient ¶
func (_ILightClient *ILightClientTransactor) UpdateClient(opts *bind.TransactOpts, proof []byte, height *big.Int, appHash *big.Int) (*types.Transaction, error)
UpdateClient is a paid mutator transaction binding the contract method 0x49ff245e.
Solidity: function updateClient(bytes proof, uint256 height, uint256 appHash) returns()
func (*ILightClientTransactor) VerifyMembership ¶
func (_ILightClient *ILightClientTransactor) VerifyMembership(opts *bind.TransactOpts, proof Ics23Proof, key []byte, expectedValue []byte) (*types.Transaction, error)
VerifyMembership is a paid mutator transaction binding the contract method 0xcb535ab5.
Solidity: function verifyMembership((((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof, bytes key, bytes expectedValue) returns()
func (*ILightClientTransactor) VerifyNonMembership ¶
func (_ILightClient *ILightClientTransactor) VerifyNonMembership(opts *bind.TransactOpts, proof Ics23Proof, key []byte) (*types.Transaction, error)
VerifyNonMembership is a paid mutator transaction binding the contract method 0xfdaab4e5.
Solidity: function verifyNonMembership((((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof, bytes key) returns()
type ILightClientTransactorRaw ¶
type ILightClientTransactorRaw struct {
Contract *ILightClientTransactor // Generic write-only contract binding to access the raw methods on
}
ILightClientTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ILightClientTransactorRaw) Transact ¶
func (_ILightClient *ILightClientTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ILightClientTransactorRaw) Transfer ¶
func (_ILightClient *ILightClientTransactorRaw) 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 ILightClientTransactorSession ¶
type ILightClientTransactorSession struct { Contract *ILightClientTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ILightClientTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ILightClientTransactorSession) UpdateClient ¶
func (_ILightClient *ILightClientTransactorSession) UpdateClient(proof []byte, height *big.Int, appHash *big.Int) (*types.Transaction, error)
UpdateClient is a paid mutator transaction binding the contract method 0x49ff245e.
Solidity: function updateClient(bytes proof, uint256 height, uint256 appHash) returns()
func (*ILightClientTransactorSession) VerifyMembership ¶
func (_ILightClient *ILightClientTransactorSession) VerifyMembership(proof Ics23Proof, key []byte, expectedValue []byte) (*types.Transaction, error)
VerifyMembership is a paid mutator transaction binding the contract method 0xcb535ab5.
Solidity: function verifyMembership((((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof, bytes key, bytes expectedValue) returns()
func (*ILightClientTransactorSession) VerifyNonMembership ¶
func (_ILightClient *ILightClientTransactorSession) VerifyNonMembership(proof Ics23Proof, key []byte) (*types.Transaction, error)
VerifyNonMembership is a paid mutator transaction binding the contract method 0xfdaab4e5.
Solidity: function verifyNonMembership((((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof, bytes key) returns()
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.