ica

package
v2.0.0-...-662c643 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ICAModuleABI = ICAModuleMetaData.ABI

ICAModuleABI is the input ABI used to generate the binding from. Deprecated: Use ICAModuleMetaData.ABI instead.

View Source
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

func NewICAModule(address common.Address, backend bind.ContractBackend) (*ICAModule, error)

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*ICAModuleSubmitMsgsResultIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ICAModuleSubmitMsgsResultIterator) Next

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL