Documentation ¶
Index ¶
- Variables
- type ICAModule
- type ICAModuleCaller
- type ICAModuleCallerRaw
- type ICAModuleCallerSession
- type ICAModuleFilterer
- func (_ICAModule *ICAModuleFilterer) FilterSubmitMsgsResult(opts *bind.FilterOpts, packetSrcChannel []string) (*ICAModuleSubmitMsgsResultIterator, error)
- func (_ICAModule *ICAModuleFilterer) ParseSubmitMsgsResult(log types.Log) (*ICAModuleSubmitMsgsResult, error)
- func (_ICAModule *ICAModuleFilterer) WatchSubmitMsgsResult(opts *bind.WatchOpts, sink chan<- *ICAModuleSubmitMsgsResult, ...) (event.Subscription, error)
- type ICAModuleRaw
- func (_ICAModule *ICAModuleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ICAModule *ICAModuleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ICAModule *ICAModuleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ICAModuleSession
- func (_ICAModule *ICAModuleSession) QueryAccount(connectionID string, addr common.Address) (string, error)
- func (_ICAModule *ICAModuleSession) RegisterAccount(connectionID string, version string) (*types.Transaction, error)
- func (_ICAModule *ICAModuleSession) SubmitMsgs(connectionID string, data []byte, timeout *big.Int) (*types.Transaction, error)
- type ICAModuleSubmitMsgsResult
- type ICAModuleSubmitMsgsResultIterator
- type ICAModuleTransactor
- type ICAModuleTransactorRaw
- type ICAModuleTransactorSession
Constants ¶
This section is empty.
Variables ¶
var ICAModuleABI = ICAModuleMetaData.ABI
ICAModuleABI is the input ABI used to generate the binding from. Deprecated: Use ICAModuleMetaData.ABI instead.
var ICAModuleMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"string\",\"name\":\"packetSrcChannel\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"seq\",\"type\":\"uint64\"}],\"name\":\"SubmitMsgsResult\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"connectionID\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"queryAccount\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"connectionID\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"name\":\"registerAccount\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"connectionID\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"timeout\",\"type\":\"uint256\"}],\"name\":\"submitMsgs\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
}
ICAModuleMetaData contains all meta data concerning the ICAModule contract.
Functions ¶
This section is empty.
Types ¶
type ICAModule ¶
type ICAModule struct { ICAModuleCaller // Read-only binding to the contract ICAModuleTransactor // Write-only binding to the contract ICAModuleFilterer // Log filterer for contract events }
ICAModule is an auto generated Go binding around an Ethereum contract.
func NewICAModule ¶
NewICAModule creates a new instance of ICAModule, bound to a specific deployed contract.
type ICAModuleCaller ¶
type ICAModuleCaller struct {
// contains filtered or unexported fields
}
ICAModuleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewICAModuleCaller ¶
func NewICAModuleCaller(address common.Address, caller bind.ContractCaller) (*ICAModuleCaller, error)
NewICAModuleCaller creates a new read-only instance of ICAModule, bound to a specific deployed contract.
func (*ICAModuleCaller) QueryAccount ¶
func (_ICAModule *ICAModuleCaller) QueryAccount(opts *bind.CallOpts, connectionID string, addr common.Address) (string, error)
QueryAccount is a free data retrieval call binding the contract method 0x15bf8a47.
Solidity: function queryAccount(string connectionID, address addr) view returns(string)
type ICAModuleCallerRaw ¶
type ICAModuleCallerRaw struct {
Contract *ICAModuleCaller // Generic read-only contract binding to access the raw methods on
}
ICAModuleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ICAModuleCallerRaw) Call ¶
func (_ICAModule *ICAModuleCallerRaw) 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 ICAModuleCallerSession ¶
type ICAModuleCallerSession struct { Contract *ICAModuleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ICAModuleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ICAModuleCallerSession) QueryAccount ¶
func (_ICAModule *ICAModuleCallerSession) QueryAccount(connectionID string, addr common.Address) (string, error)
QueryAccount is a free data retrieval call binding the contract method 0x15bf8a47.
Solidity: function queryAccount(string connectionID, address addr) view returns(string)
type ICAModuleFilterer ¶
type ICAModuleFilterer struct {
// contains filtered or unexported fields
}
ICAModuleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewICAModuleFilterer ¶
func NewICAModuleFilterer(address common.Address, filterer bind.ContractFilterer) (*ICAModuleFilterer, error)
NewICAModuleFilterer creates a new log filterer instance of ICAModule, bound to a specific deployed contract.
func (*ICAModuleFilterer) FilterSubmitMsgsResult ¶
func (_ICAModule *ICAModuleFilterer) FilterSubmitMsgsResult(opts *bind.FilterOpts, packetSrcChannel []string) (*ICAModuleSubmitMsgsResultIterator, error)
FilterSubmitMsgsResult is a free log retrieval operation binding the contract event 0x3e695f8f5525f556604458a25db1d059820bd331e56bc17b0693b9d35e243eca.
Solidity: event SubmitMsgsResult(string indexed packetSrcChannel, uint64 seq)
func (*ICAModuleFilterer) ParseSubmitMsgsResult ¶
func (_ICAModule *ICAModuleFilterer) ParseSubmitMsgsResult(log types.Log) (*ICAModuleSubmitMsgsResult, error)
ParseSubmitMsgsResult is a log parse operation binding the contract event 0x3e695f8f5525f556604458a25db1d059820bd331e56bc17b0693b9d35e243eca.
Solidity: event SubmitMsgsResult(string indexed packetSrcChannel, uint64 seq)
func (*ICAModuleFilterer) WatchSubmitMsgsResult ¶
func (_ICAModule *ICAModuleFilterer) WatchSubmitMsgsResult(opts *bind.WatchOpts, sink chan<- *ICAModuleSubmitMsgsResult, packetSrcChannel []string) (event.Subscription, error)
WatchSubmitMsgsResult is a free log subscription operation binding the contract event 0x3e695f8f5525f556604458a25db1d059820bd331e56bc17b0693b9d35e243eca.
Solidity: event SubmitMsgsResult(string indexed packetSrcChannel, uint64 seq)
type ICAModuleRaw ¶
type ICAModuleRaw struct {
Contract *ICAModule // Generic contract binding to access the raw methods on
}
ICAModuleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ICAModuleRaw) Call ¶
func (_ICAModule *ICAModuleRaw) 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 (*ICAModuleRaw) Transact ¶
func (_ICAModule *ICAModuleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ICAModuleRaw) Transfer ¶
func (_ICAModule *ICAModuleRaw) 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 ICAModuleSession ¶
type ICAModuleSession struct { Contract *ICAModule // 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 }
ICAModuleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ICAModuleSession) QueryAccount ¶
func (_ICAModule *ICAModuleSession) QueryAccount(connectionID string, addr common.Address) (string, error)
QueryAccount is a free data retrieval call binding the contract method 0x15bf8a47.
Solidity: function queryAccount(string connectionID, address addr) view returns(string)
func (*ICAModuleSession) RegisterAccount ¶
func (_ICAModule *ICAModuleSession) RegisterAccount(connectionID string, version string) (*types.Transaction, error)
RegisterAccount is a paid mutator transaction binding the contract method 0xddc7b6a7.
Solidity: function registerAccount(string connectionID, string version) payable returns(bool)
func (*ICAModuleSession) SubmitMsgs ¶
func (_ICAModule *ICAModuleSession) SubmitMsgs(connectionID string, data []byte, timeout *big.Int) (*types.Transaction, error)
SubmitMsgs is a paid mutator transaction binding the contract method 0x697bfa34.
Solidity: function submitMsgs(string connectionID, bytes data, uint256 timeout) payable returns(uint64)
type ICAModuleSubmitMsgsResult ¶
type ICAModuleSubmitMsgsResult struct { PacketSrcChannel common.Hash Seq uint64 Raw types.Log // Blockchain specific contextual infos }
ICAModuleSubmitMsgsResult represents a SubmitMsgsResult event raised by the ICAModule contract.
type ICAModuleSubmitMsgsResultIterator ¶
type ICAModuleSubmitMsgsResultIterator struct { Event *ICAModuleSubmitMsgsResult // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ICAModuleSubmitMsgsResultIterator is returned from FilterSubmitMsgsResult and is used to iterate over the raw logs and unpacked data for SubmitMsgsResult events raised by the ICAModule contract.
func (*ICAModuleSubmitMsgsResultIterator) Close ¶
func (it *ICAModuleSubmitMsgsResultIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ICAModuleSubmitMsgsResultIterator) Error ¶
func (it *ICAModuleSubmitMsgsResultIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ICAModuleSubmitMsgsResultIterator) Next ¶
func (it *ICAModuleSubmitMsgsResultIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ICAModuleTransactor ¶
type ICAModuleTransactor struct {
// contains filtered or unexported fields
}
ICAModuleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewICAModuleTransactor ¶
func NewICAModuleTransactor(address common.Address, transactor bind.ContractTransactor) (*ICAModuleTransactor, error)
NewICAModuleTransactor creates a new write-only instance of ICAModule, bound to a specific deployed contract.
func (*ICAModuleTransactor) RegisterAccount ¶
func (_ICAModule *ICAModuleTransactor) RegisterAccount(opts *bind.TransactOpts, connectionID string, version string) (*types.Transaction, error)
RegisterAccount is a paid mutator transaction binding the contract method 0xddc7b6a7.
Solidity: function registerAccount(string connectionID, string version) payable returns(bool)
func (*ICAModuleTransactor) SubmitMsgs ¶
func (_ICAModule *ICAModuleTransactor) SubmitMsgs(opts *bind.TransactOpts, connectionID string, data []byte, timeout *big.Int) (*types.Transaction, error)
SubmitMsgs is a paid mutator transaction binding the contract method 0x697bfa34.
Solidity: function submitMsgs(string connectionID, bytes data, uint256 timeout) payable returns(uint64)
type ICAModuleTransactorRaw ¶
type ICAModuleTransactorRaw struct {
Contract *ICAModuleTransactor // Generic write-only contract binding to access the raw methods on
}
ICAModuleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ICAModuleTransactorRaw) Transact ¶
func (_ICAModule *ICAModuleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ICAModuleTransactorRaw) Transfer ¶
func (_ICAModule *ICAModuleTransactorRaw) 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 ICAModuleTransactorSession ¶
type ICAModuleTransactorSession struct { Contract *ICAModuleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ICAModuleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ICAModuleTransactorSession) RegisterAccount ¶
func (_ICAModule *ICAModuleTransactorSession) RegisterAccount(connectionID string, version string) (*types.Transaction, error)
RegisterAccount is a paid mutator transaction binding the contract method 0xddc7b6a7.
Solidity: function registerAccount(string connectionID, string version) payable returns(bool)
func (*ICAModuleTransactorSession) SubmitMsgs ¶
func (_ICAModule *ICAModuleTransactorSession) SubmitMsgs(connectionID string, data []byte, timeout *big.Int) (*types.Transaction, error)
SubmitMsgs is a paid mutator transaction binding the contract method 0x697bfa34.
Solidity: function submitMsgs(string connectionID, bytes data, uint256 timeout) payable returns(uint64)