Documentation ¶
Index ¶
- Variables
- type DummyLightClient
- type DummyLightClientCaller
- func (_DummyLightClient *DummyLightClientCaller) ConsensusStates(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_DummyLightClient *DummyLightClientCaller) GetLightClientType(opts *bind.CallOpts) (uint8, error)
- func (_DummyLightClient *DummyLightClientCaller) GetState(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_DummyLightClient *DummyLightClientCaller) LIGHTCLIENTTYPE(opts *bind.CallOpts) (uint8, error)
- func (_DummyLightClient *DummyLightClientCaller) UpdateClient(opts *bind.CallOpts, arg0 []byte, arg1 *big.Int, arg2 *big.Int) error
- func (_DummyLightClient *DummyLightClientCaller) VerifyMembership(opts *bind.CallOpts, proof Ics23Proof, arg1 []byte, arg2 []byte) error
- func (_DummyLightClient *DummyLightClientCaller) VerifyNonMembership(opts *bind.CallOpts, proof Ics23Proof, arg1 []byte) error
- type DummyLightClientCallerRaw
- type DummyLightClientCallerSession
- func (_DummyLightClient *DummyLightClientCallerSession) ConsensusStates(arg0 *big.Int) (*big.Int, error)
- func (_DummyLightClient *DummyLightClientCallerSession) GetLightClientType() (uint8, error)
- func (_DummyLightClient *DummyLightClientCallerSession) GetState(arg0 *big.Int) (*big.Int, error)
- func (_DummyLightClient *DummyLightClientCallerSession) LIGHTCLIENTTYPE() (uint8, error)
- func (_DummyLightClient *DummyLightClientCallerSession) UpdateClient(arg0 []byte, arg1 *big.Int, arg2 *big.Int) error
- func (_DummyLightClient *DummyLightClientCallerSession) VerifyMembership(proof Ics23Proof, arg1 []byte, arg2 []byte) error
- func (_DummyLightClient *DummyLightClientCallerSession) VerifyNonMembership(proof Ics23Proof, arg1 []byte) error
- type DummyLightClientFilterer
- type DummyLightClientRaw
- func (_DummyLightClient *DummyLightClientRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_DummyLightClient *DummyLightClientRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_DummyLightClient *DummyLightClientRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type DummyLightClientSession
- func (_DummyLightClient *DummyLightClientSession) ConsensusStates(arg0 *big.Int) (*big.Int, error)
- func (_DummyLightClient *DummyLightClientSession) GetLightClientType() (uint8, error)
- func (_DummyLightClient *DummyLightClientSession) GetState(arg0 *big.Int) (*big.Int, error)
- func (_DummyLightClient *DummyLightClientSession) LIGHTCLIENTTYPE() (uint8, error)
- func (_DummyLightClient *DummyLightClientSession) UpdateClient(arg0 []byte, arg1 *big.Int, arg2 *big.Int) error
- func (_DummyLightClient *DummyLightClientSession) VerifyMembership(proof Ics23Proof, arg1 []byte, arg2 []byte) error
- func (_DummyLightClient *DummyLightClientSession) VerifyNonMembership(proof Ics23Proof, arg1 []byte) error
- type DummyLightClientTransactor
- type DummyLightClientTransactorRaw
- type DummyLightClientTransactorSession
- type Ics23Proof
- type OpIcs23Proof
- type OpIcs23ProofPath
Constants ¶
This section is empty.
Variables ¶
var DummyLightClientABI = DummyLightClientMetaData.ABI
DummyLightClientABI is the input ABI used to generate the binding from. Deprecated: Use DummyLightClientMetaData.ABI instead.
var DummyLightClientMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"LIGHT_CLIENT_TYPE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"enumLightClientType\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"consensusStates\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getLightClientType\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"enumLightClientType\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"getState\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"appHash\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"updateClient\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"pure\"},{\"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\":\"\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"pure\"},{\"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\":\"\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"pure\"},{\"type\":\"error\",\"name\":\"InvalidDummyMembershipProof\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidDummyNonMembershipProof\",\"inputs\":[]}]",
}
DummyLightClientMetaData contains all meta data concerning the DummyLightClient contract.
Functions ¶
This section is empty.
Types ¶
type DummyLightClient ¶
type DummyLightClient struct { DummyLightClientCaller // Read-only binding to the contract DummyLightClientTransactor // Write-only binding to the contract DummyLightClientFilterer // Log filterer for contract events }
DummyLightClient is an auto generated Go binding around an Ethereum contract.
func NewDummyLightClient ¶
func NewDummyLightClient(address common.Address, backend bind.ContractBackend) (*DummyLightClient, error)
NewDummyLightClient creates a new instance of DummyLightClient, bound to a specific deployed contract.
type DummyLightClientCaller ¶
type DummyLightClientCaller struct {
// contains filtered or unexported fields
}
DummyLightClientCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewDummyLightClientCaller ¶
func NewDummyLightClientCaller(address common.Address, caller bind.ContractCaller) (*DummyLightClientCaller, error)
NewDummyLightClientCaller creates a new read-only instance of DummyLightClient, bound to a specific deployed contract.
func (*DummyLightClientCaller) ConsensusStates ¶
func (_DummyLightClient *DummyLightClientCaller) ConsensusStates(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
ConsensusStates is a free data retrieval call binding the contract method 0x1b738a22.
Solidity: function consensusStates(uint256 ) view returns(uint256)
func (*DummyLightClientCaller) GetLightClientType ¶
func (_DummyLightClient *DummyLightClientCaller) GetLightClientType(opts *bind.CallOpts) (uint8, error)
GetLightClientType is a free data retrieval call binding the contract method 0x36028d2a.
Solidity: function getLightClientType() pure returns(uint8)
func (*DummyLightClientCaller) GetState ¶
func (_DummyLightClient *DummyLightClientCaller) GetState(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
GetState is a free data retrieval call binding the contract method 0x44c9af28.
Solidity: function getState(uint256 ) pure returns(uint256 appHash)
func (*DummyLightClientCaller) LIGHTCLIENTTYPE ¶
func (_DummyLightClient *DummyLightClientCaller) 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)
func (*DummyLightClientCaller) UpdateClient ¶
func (_DummyLightClient *DummyLightClientCaller) UpdateClient(opts *bind.CallOpts, arg0 []byte, arg1 *big.Int, arg2 *big.Int) error
UpdateClient is a free data retrieval call binding the contract method 0x49ff245e.
Solidity: function updateClient(bytes , uint256 , uint256 ) pure returns()
func (*DummyLightClientCaller) VerifyMembership ¶
func (_DummyLightClient *DummyLightClientCaller) VerifyMembership(opts *bind.CallOpts, proof Ics23Proof, arg1 []byte, arg2 []byte) error
VerifyMembership is a free data retrieval call binding the contract method 0xcb535ab5.
Solidity: function verifyMembership((((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof, bytes , bytes ) pure returns()
func (*DummyLightClientCaller) VerifyNonMembership ¶
func (_DummyLightClient *DummyLightClientCaller) VerifyNonMembership(opts *bind.CallOpts, proof Ics23Proof, arg1 []byte) error
VerifyNonMembership is a free data retrieval call binding the contract method 0xfdaab4e5.
Solidity: function verifyNonMembership((((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof, bytes ) pure returns()
type DummyLightClientCallerRaw ¶
type DummyLightClientCallerRaw struct {
Contract *DummyLightClientCaller // Generic read-only contract binding to access the raw methods on
}
DummyLightClientCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*DummyLightClientCallerRaw) Call ¶
func (_DummyLightClient *DummyLightClientCallerRaw) 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 DummyLightClientCallerSession ¶
type DummyLightClientCallerSession struct { Contract *DummyLightClientCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
DummyLightClientCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*DummyLightClientCallerSession) ConsensusStates ¶
func (_DummyLightClient *DummyLightClientCallerSession) ConsensusStates(arg0 *big.Int) (*big.Int, error)
ConsensusStates is a free data retrieval call binding the contract method 0x1b738a22.
Solidity: function consensusStates(uint256 ) view returns(uint256)
func (*DummyLightClientCallerSession) GetLightClientType ¶
func (_DummyLightClient *DummyLightClientCallerSession) GetLightClientType() (uint8, error)
GetLightClientType is a free data retrieval call binding the contract method 0x36028d2a.
Solidity: function getLightClientType() pure returns(uint8)
func (*DummyLightClientCallerSession) GetState ¶
GetState is a free data retrieval call binding the contract method 0x44c9af28.
Solidity: function getState(uint256 ) pure returns(uint256 appHash)
func (*DummyLightClientCallerSession) LIGHTCLIENTTYPE ¶
func (_DummyLightClient *DummyLightClientCallerSession) LIGHTCLIENTTYPE() (uint8, error)
LIGHTCLIENTTYPE is a free data retrieval call binding the contract method 0x57c1c5f4.
Solidity: function LIGHT_CLIENT_TYPE() view returns(uint8)
func (*DummyLightClientCallerSession) UpdateClient ¶
func (_DummyLightClient *DummyLightClientCallerSession) UpdateClient(arg0 []byte, arg1 *big.Int, arg2 *big.Int) error
UpdateClient is a free data retrieval call binding the contract method 0x49ff245e.
Solidity: function updateClient(bytes , uint256 , uint256 ) pure returns()
func (*DummyLightClientCallerSession) VerifyMembership ¶
func (_DummyLightClient *DummyLightClientCallerSession) VerifyMembership(proof Ics23Proof, arg1 []byte, arg2 []byte) error
VerifyMembership is a free data retrieval call binding the contract method 0xcb535ab5.
Solidity: function verifyMembership((((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof, bytes , bytes ) pure returns()
func (*DummyLightClientCallerSession) VerifyNonMembership ¶
func (_DummyLightClient *DummyLightClientCallerSession) VerifyNonMembership(proof Ics23Proof, arg1 []byte) error
VerifyNonMembership is a free data retrieval call binding the contract method 0xfdaab4e5.
Solidity: function verifyNonMembership((((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof, bytes ) pure returns()
type DummyLightClientFilterer ¶
type DummyLightClientFilterer struct {
// contains filtered or unexported fields
}
DummyLightClientFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewDummyLightClientFilterer ¶
func NewDummyLightClientFilterer(address common.Address, filterer bind.ContractFilterer) (*DummyLightClientFilterer, error)
NewDummyLightClientFilterer creates a new log filterer instance of DummyLightClient, bound to a specific deployed contract.
type DummyLightClientRaw ¶
type DummyLightClientRaw struct {
Contract *DummyLightClient // Generic contract binding to access the raw methods on
}
DummyLightClientRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*DummyLightClientRaw) Call ¶
func (_DummyLightClient *DummyLightClientRaw) 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 (*DummyLightClientRaw) Transact ¶
func (_DummyLightClient *DummyLightClientRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DummyLightClientRaw) Transfer ¶
func (_DummyLightClient *DummyLightClientRaw) 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 DummyLightClientSession ¶
type DummyLightClientSession struct { Contract *DummyLightClient // 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 }
DummyLightClientSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*DummyLightClientSession) ConsensusStates ¶
ConsensusStates is a free data retrieval call binding the contract method 0x1b738a22.
Solidity: function consensusStates(uint256 ) view returns(uint256)
func (*DummyLightClientSession) GetLightClientType ¶
func (_DummyLightClient *DummyLightClientSession) GetLightClientType() (uint8, error)
GetLightClientType is a free data retrieval call binding the contract method 0x36028d2a.
Solidity: function getLightClientType() pure returns(uint8)
func (*DummyLightClientSession) GetState ¶
GetState is a free data retrieval call binding the contract method 0x44c9af28.
Solidity: function getState(uint256 ) pure returns(uint256 appHash)
func (*DummyLightClientSession) LIGHTCLIENTTYPE ¶
func (_DummyLightClient *DummyLightClientSession) LIGHTCLIENTTYPE() (uint8, error)
LIGHTCLIENTTYPE is a free data retrieval call binding the contract method 0x57c1c5f4.
Solidity: function LIGHT_CLIENT_TYPE() view returns(uint8)
func (*DummyLightClientSession) UpdateClient ¶
func (_DummyLightClient *DummyLightClientSession) UpdateClient(arg0 []byte, arg1 *big.Int, arg2 *big.Int) error
UpdateClient is a free data retrieval call binding the contract method 0x49ff245e.
Solidity: function updateClient(bytes , uint256 , uint256 ) pure returns()
func (*DummyLightClientSession) VerifyMembership ¶
func (_DummyLightClient *DummyLightClientSession) VerifyMembership(proof Ics23Proof, arg1 []byte, arg2 []byte) error
VerifyMembership is a free data retrieval call binding the contract method 0xcb535ab5.
Solidity: function verifyMembership((((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof, bytes , bytes ) pure returns()
func (*DummyLightClientSession) VerifyNonMembership ¶
func (_DummyLightClient *DummyLightClientSession) VerifyNonMembership(proof Ics23Proof, arg1 []byte) error
VerifyNonMembership is a free data retrieval call binding the contract method 0xfdaab4e5.
Solidity: function verifyNonMembership((((bytes,bytes)[],bytes,bytes,bytes)[],uint256) proof, bytes ) pure returns()
type DummyLightClientTransactor ¶
type DummyLightClientTransactor struct {
// contains filtered or unexported fields
}
DummyLightClientTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewDummyLightClientTransactor ¶
func NewDummyLightClientTransactor(address common.Address, transactor bind.ContractTransactor) (*DummyLightClientTransactor, error)
NewDummyLightClientTransactor creates a new write-only instance of DummyLightClient, bound to a specific deployed contract.
type DummyLightClientTransactorRaw ¶
type DummyLightClientTransactorRaw struct {
Contract *DummyLightClientTransactor // Generic write-only contract binding to access the raw methods on
}
DummyLightClientTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*DummyLightClientTransactorRaw) Transact ¶
func (_DummyLightClient *DummyLightClientTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DummyLightClientTransactorRaw) Transfer ¶
func (_DummyLightClient *DummyLightClientTransactorRaw) 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 DummyLightClientTransactorSession ¶
type DummyLightClientTransactorSession struct { Contract *DummyLightClientTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DummyLightClientTransactorSession 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.