ibchandler

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const IbchandlerABI = "" /* 20470-byte string literal not displayed */

IbchandlerABI is the input ABI used to generate the binding from.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelCounterpartyData

type ChannelCounterpartyData struct {
	PortId    string
	ChannelId string
}

ChannelCounterpartyData is an auto generated low-level Go binding around an user-defined struct.

type ChannelData

type ChannelData struct {
	State          uint8
	Ordering       uint8
	Counterparty   ChannelCounterpartyData
	ConnectionHops []string
	Version        string
}

ChannelData is an auto generated low-level Go binding around an user-defined struct.

type CounterpartyData

type CounterpartyData struct {
	ClientId     string
	ConnectionId string
	Prefix       MerklePrefixData
}

CounterpartyData is an auto generated low-level Go binding around an user-defined struct.

type HeightData

type HeightData struct {
	RevisionNumber uint64
	RevisionHeight uint64
}

HeightData is an auto generated low-level Go binding around an user-defined struct.

type IBCMsgsMsgChannelCloseConfirm

type IBCMsgsMsgChannelCloseConfirm struct {
	PortId      string
	ChannelId   string
	ProofInit   []byte
	ProofHeight HeightData
}

IBCMsgsMsgChannelCloseConfirm is an auto generated low-level Go binding around an user-defined struct.

type IBCMsgsMsgChannelCloseInit

type IBCMsgsMsgChannelCloseInit struct {
	PortId    string
	ChannelId string
}

IBCMsgsMsgChannelCloseInit is an auto generated low-level Go binding around an user-defined struct.

type IBCMsgsMsgChannelOpenAck

type IBCMsgsMsgChannelOpenAck struct {
	PortId                string
	ChannelId             string
	CounterpartyVersion   string
	CounterpartyChannelId string
	ProofTry              []byte
	ProofHeight           HeightData
}

IBCMsgsMsgChannelOpenAck is an auto generated low-level Go binding around an user-defined struct.

type IBCMsgsMsgChannelOpenConfirm

type IBCMsgsMsgChannelOpenConfirm struct {
	PortId      string
	ChannelId   string
	ProofAck    []byte
	ProofHeight HeightData
}

IBCMsgsMsgChannelOpenConfirm is an auto generated low-level Go binding around an user-defined struct.

type IBCMsgsMsgChannelOpenInit

type IBCMsgsMsgChannelOpenInit struct {
	PortId  string
	Channel ChannelData
}

IBCMsgsMsgChannelOpenInit is an auto generated low-level Go binding around an user-defined struct.

type IBCMsgsMsgChannelOpenTry

type IBCMsgsMsgChannelOpenTry struct {
	PortId              string
	PreviousChannelId   string
	Channel             ChannelData
	CounterpartyVersion string
	ProofInit           []byte
	ProofHeight         HeightData
}

IBCMsgsMsgChannelOpenTry is an auto generated low-level Go binding around an user-defined struct.

type IBCMsgsMsgConnectionOpenAck

type IBCMsgsMsgConnectionOpenAck struct {
	ConnectionId             string
	ClientStateBytes         []byte
	Version                  VersionData
	CounterpartyConnectionID string
	ProofTry                 []byte
	ProofClient              []byte
	ProofConsensus           []byte
	ProofHeight              HeightData
	ConsensusHeight          HeightData
}

IBCMsgsMsgConnectionOpenAck is an auto generated low-level Go binding around an user-defined struct.

type IBCMsgsMsgConnectionOpenConfirm

type IBCMsgsMsgConnectionOpenConfirm struct {
	ConnectionId string
	ProofAck     []byte
	ProofHeight  HeightData
}

IBCMsgsMsgConnectionOpenConfirm is an auto generated low-level Go binding around an user-defined struct.

type IBCMsgsMsgConnectionOpenInit

type IBCMsgsMsgConnectionOpenInit struct {
	ClientId     string
	Counterparty CounterpartyData
	DelayPeriod  uint64
}

IBCMsgsMsgConnectionOpenInit is an auto generated low-level Go binding around an user-defined struct.

type IBCMsgsMsgConnectionOpenTry

type IBCMsgsMsgConnectionOpenTry struct {
	PreviousConnectionId string
	Counterparty         CounterpartyData
	DelayPeriod          uint64
	ClientId             string
	ClientStateBytes     []byte
	CounterpartyVersions []VersionData
	ProofInit            []byte
	ProofClient          []byte
	ProofConsensus       []byte
	ProofHeight          HeightData
	ConsensusHeight      HeightData
}

IBCMsgsMsgConnectionOpenTry is an auto generated low-level Go binding around an user-defined struct.

type IBCMsgsMsgCreateClient

type IBCMsgsMsgCreateClient struct {
	ClientType          string
	Height              HeightData
	ClientStateBytes    []byte
	ConsensusStateBytes []byte
}

IBCMsgsMsgCreateClient is an auto generated low-level Go binding around an user-defined struct.

type IBCMsgsMsgPacketAcknowledgement

type IBCMsgsMsgPacketAcknowledgement struct {
	Packet          PacketData
	Acknowledgement []byte
	Proof           []byte
	ProofHeight     HeightData
}

IBCMsgsMsgPacketAcknowledgement is an auto generated low-level Go binding around an user-defined struct.

type IBCMsgsMsgPacketRecv

type IBCMsgsMsgPacketRecv struct {
	Packet      PacketData
	Proof       []byte
	ProofHeight HeightData
}

IBCMsgsMsgPacketRecv is an auto generated low-level Go binding around an user-defined struct.

type IBCMsgsMsgUpdateClient

type IBCMsgsMsgUpdateClient struct {
	ClientId string
	Header   []byte
}

IBCMsgsMsgUpdateClient is an auto generated low-level Go binding around an user-defined struct.

type Ibchandler

type Ibchandler struct {
	IbchandlerCaller     // Read-only binding to the contract
	IbchandlerTransactor // Write-only binding to the contract
	IbchandlerFilterer   // Log filterer for contract events
}

Ibchandler is an auto generated Go binding around an Ethereum contract.

func NewIbchandler

func NewIbchandler(address common.Address, backend bind.ContractBackend) (*Ibchandler, error)

NewIbchandler creates a new instance of Ibchandler, bound to a specific deployed contract.

type IbchandlerAcknowledgePacket

type IbchandlerAcknowledgePacket struct {
	Packet          PacketData
	Acknowledgement []byte
	Raw             types.Log // Blockchain specific contextual infos
}

IbchandlerAcknowledgePacket represents a AcknowledgePacket event raised by the Ibchandler contract.

type IbchandlerAcknowledgePacketIterator

type IbchandlerAcknowledgePacketIterator struct {
	Event *IbchandlerAcknowledgePacket // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IbchandlerAcknowledgePacketIterator is returned from FilterAcknowledgePacket and is used to iterate over the raw logs and unpacked data for AcknowledgePacket events raised by the Ibchandler contract.

func (*IbchandlerAcknowledgePacketIterator) Close

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

func (*IbchandlerAcknowledgePacketIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IbchandlerAcknowledgePacketIterator) 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 IbchandlerCaller

type IbchandlerCaller struct {
	// contains filtered or unexported fields
}

IbchandlerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewIbchandlerCaller

func NewIbchandlerCaller(address common.Address, caller bind.ContractCaller) (*IbchandlerCaller, error)

NewIbchandlerCaller creates a new read-only instance of Ibchandler, bound to a specific deployed contract.

func (*IbchandlerCaller) CreateClientWithClientId

func (_Ibchandler *IbchandlerCaller) CreateClientWithClientId(opts *bind.CallOpts, msg_ IBCMsgsMsgCreateClient) (string, error)

func (*IbchandlerCaller) GetHostAddress

func (_Ibchandler *IbchandlerCaller) GetHostAddress(opts *bind.CallOpts) (common.Address, error)

GetHostAddress is a free data retrieval call binding the contract method 0xeb238c77.

Solidity: function getHostAddress() view returns(address)

type IbchandlerCallerRaw

type IbchandlerCallerRaw struct {
	Contract *IbchandlerCaller // Generic read-only contract binding to access the raw methods on
}

IbchandlerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*IbchandlerCallerRaw) Call

func (_Ibchandler *IbchandlerCallerRaw) 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 IbchandlerCallerSession

type IbchandlerCallerSession struct {
	Contract *IbchandlerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts     // Call options to use throughout this session
}

IbchandlerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*IbchandlerCallerSession) GetHostAddress

func (_Ibchandler *IbchandlerCallerSession) GetHostAddress() (common.Address, error)

GetHostAddress is a free data retrieval call binding the contract method 0xeb238c77.

Solidity: function getHostAddress() view returns(address)

type IbchandlerFilterer

type IbchandlerFilterer struct {
	// contains filtered or unexported fields
}

IbchandlerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewIbchandlerFilterer

func NewIbchandlerFilterer(address common.Address, filterer bind.ContractFilterer) (*IbchandlerFilterer, error)

NewIbchandlerFilterer creates a new log filterer instance of Ibchandler, bound to a specific deployed contract.

func (*IbchandlerFilterer) FilterAcknowledgePacket

func (_Ibchandler *IbchandlerFilterer) FilterAcknowledgePacket(opts *bind.FilterOpts) (*IbchandlerAcknowledgePacketIterator, error)

FilterAcknowledgePacket is a free log retrieval operation binding the contract event 0x47471450765e6e1b0b055ba2a1de04d4ce71f778c92b306e725083eb120dfd89.

Solidity: event AcknowledgePacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, bytes acknowledgement)

func (*IbchandlerFilterer) FilterRecvPacket

func (_Ibchandler *IbchandlerFilterer) FilterRecvPacket(opts *bind.FilterOpts) (*IbchandlerRecvPacketIterator, error)

FilterRecvPacket is a free log retrieval operation binding the contract event 0x346f4351ee865d86a679d00f3995f0520f803d3a227604af08430e26e9345a7a.

Solidity: event RecvPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet)

func (*IbchandlerFilterer) FilterSendPacket

func (_Ibchandler *IbchandlerFilterer) FilterSendPacket(opts *bind.FilterOpts) (*IbchandlerSendPacketIterator, error)

FilterSendPacket is a free log retrieval operation binding the contract event 0xe701f25bda8992b211749f81adb9a8ea6e8cf8a3c9f2e29ed496e6c5f059154c.

Solidity: event SendPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet)

func (*IbchandlerFilterer) FilterWriteAcknowledgement

func (_Ibchandler *IbchandlerFilterer) FilterWriteAcknowledgement(opts *bind.FilterOpts) (*IbchandlerWriteAcknowledgementIterator, error)

FilterWriteAcknowledgement is a free log retrieval operation binding the contract event 0x39b14668930c816f244f4073c0fdf459d3dd73ae571b57b3efe8205919472d2a.

Solidity: event WriteAcknowledgement(string destinationPortId, string destinationChannel, uint64 sequence, bytes acknowledgement)

func (*IbchandlerFilterer) ParseAcknowledgePacket

func (_Ibchandler *IbchandlerFilterer) ParseAcknowledgePacket(log types.Log) (*IbchandlerAcknowledgePacket, error)

ParseAcknowledgePacket is a log parse operation binding the contract event 0x47471450765e6e1b0b055ba2a1de04d4ce71f778c92b306e725083eb120dfd89.

Solidity: event AcknowledgePacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, bytes acknowledgement)

func (*IbchandlerFilterer) ParseRecvPacket

func (_Ibchandler *IbchandlerFilterer) ParseRecvPacket(log types.Log) (*IbchandlerRecvPacket, error)

ParseRecvPacket is a log parse operation binding the contract event 0x346f4351ee865d86a679d00f3995f0520f803d3a227604af08430e26e9345a7a.

Solidity: event RecvPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet)

func (*IbchandlerFilterer) ParseSendPacket

func (_Ibchandler *IbchandlerFilterer) ParseSendPacket(log types.Log) (*IbchandlerSendPacket, error)

ParseSendPacket is a log parse operation binding the contract event 0xe701f25bda8992b211749f81adb9a8ea6e8cf8a3c9f2e29ed496e6c5f059154c.

Solidity: event SendPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet)

func (*IbchandlerFilterer) ParseWriteAcknowledgement

func (_Ibchandler *IbchandlerFilterer) ParseWriteAcknowledgement(log types.Log) (*IbchandlerWriteAcknowledgement, error)

ParseWriteAcknowledgement is a log parse operation binding the contract event 0x39b14668930c816f244f4073c0fdf459d3dd73ae571b57b3efe8205919472d2a.

Solidity: event WriteAcknowledgement(string destinationPortId, string destinationChannel, uint64 sequence, bytes acknowledgement)

func (*IbchandlerFilterer) WatchAcknowledgePacket

func (_Ibchandler *IbchandlerFilterer) WatchAcknowledgePacket(opts *bind.WatchOpts, sink chan<- *IbchandlerAcknowledgePacket) (event.Subscription, error)

WatchAcknowledgePacket is a free log subscription operation binding the contract event 0x47471450765e6e1b0b055ba2a1de04d4ce71f778c92b306e725083eb120dfd89.

Solidity: event AcknowledgePacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, bytes acknowledgement)

func (*IbchandlerFilterer) WatchRecvPacket

func (_Ibchandler *IbchandlerFilterer) WatchRecvPacket(opts *bind.WatchOpts, sink chan<- *IbchandlerRecvPacket) (event.Subscription, error)

WatchRecvPacket is a free log subscription operation binding the contract event 0x346f4351ee865d86a679d00f3995f0520f803d3a227604af08430e26e9345a7a.

Solidity: event RecvPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet)

func (*IbchandlerFilterer) WatchSendPacket

func (_Ibchandler *IbchandlerFilterer) WatchSendPacket(opts *bind.WatchOpts, sink chan<- *IbchandlerSendPacket) (event.Subscription, error)

WatchSendPacket is a free log subscription operation binding the contract event 0xe701f25bda8992b211749f81adb9a8ea6e8cf8a3c9f2e29ed496e6c5f059154c.

Solidity: event SendPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet)

func (*IbchandlerFilterer) WatchWriteAcknowledgement

func (_Ibchandler *IbchandlerFilterer) WatchWriteAcknowledgement(opts *bind.WatchOpts, sink chan<- *IbchandlerWriteAcknowledgement) (event.Subscription, error)

WatchWriteAcknowledgement is a free log subscription operation binding the contract event 0x39b14668930c816f244f4073c0fdf459d3dd73ae571b57b3efe8205919472d2a.

Solidity: event WriteAcknowledgement(string destinationPortId, string destinationChannel, uint64 sequence, bytes acknowledgement)

type IbchandlerRaw

type IbchandlerRaw struct {
	Contract *Ibchandler // Generic contract binding to access the raw methods on
}

IbchandlerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*IbchandlerRaw) Call

func (_Ibchandler *IbchandlerRaw) 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 (*IbchandlerRaw) Transact

func (_Ibchandler *IbchandlerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IbchandlerRaw) Transfer

func (_Ibchandler *IbchandlerRaw) 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 IbchandlerRecvPacket

type IbchandlerRecvPacket struct {
	Packet PacketData
	Raw    types.Log // Blockchain specific contextual infos
}

IbchandlerRecvPacket represents a RecvPacket event raised by the Ibchandler contract.

type IbchandlerRecvPacketIterator

type IbchandlerRecvPacketIterator struct {
	Event *IbchandlerRecvPacket // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IbchandlerRecvPacketIterator is returned from FilterRecvPacket and is used to iterate over the raw logs and unpacked data for RecvPacket events raised by the Ibchandler contract.

func (*IbchandlerRecvPacketIterator) Close

func (it *IbchandlerRecvPacketIterator) Close() error

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

func (*IbchandlerRecvPacketIterator) Error

func (it *IbchandlerRecvPacketIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IbchandlerRecvPacketIterator) 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 IbchandlerSendPacket

type IbchandlerSendPacket struct {
	Packet PacketData
	Raw    types.Log // Blockchain specific contextual infos
}

IbchandlerSendPacket represents a SendPacket event raised by the Ibchandler contract.

type IbchandlerSendPacketIterator

type IbchandlerSendPacketIterator struct {
	Event *IbchandlerSendPacket // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IbchandlerSendPacketIterator is returned from FilterSendPacket and is used to iterate over the raw logs and unpacked data for SendPacket events raised by the Ibchandler contract.

func (*IbchandlerSendPacketIterator) Close

func (it *IbchandlerSendPacketIterator) Close() error

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

func (*IbchandlerSendPacketIterator) Error

func (it *IbchandlerSendPacketIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IbchandlerSendPacketIterator) 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 IbchandlerSession

type IbchandlerSession struct {
	Contract     *Ibchandler       // 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
}

IbchandlerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*IbchandlerSession) AcknowledgePacket

func (_Ibchandler *IbchandlerSession) AcknowledgePacket(msg_ IBCMsgsMsgPacketAcknowledgement) (*types.Transaction, error)

AcknowledgePacket is a paid mutator transaction binding the contract method 0x59f37976.

Solidity: function acknowledgePacket(((uint64,string,string,string,string,bytes,(uint64,uint64),uint64),bytes,bytes,(uint64,uint64)) msg_) returns()

func (*IbchandlerSession) BindPort

func (_Ibchandler *IbchandlerSession) BindPort(portId string, moduleAddress common.Address) (*types.Transaction, error)

BindPort is a paid mutator transaction binding the contract method 0x117e886a.

Solidity: function bindPort(string portId, address moduleAddress) returns()

func (*IbchandlerSession) ChannelCloseConfirm

func (_Ibchandler *IbchandlerSession) ChannelCloseConfirm(msg_ IBCMsgsMsgChannelCloseConfirm) (*types.Transaction, error)

ChannelCloseConfirm is a paid mutator transaction binding the contract method 0x25cbc3a6.

Solidity: function channelCloseConfirm((string,string,bytes,(uint64,uint64)) msg_) returns()

func (*IbchandlerSession) ChannelCloseInit

func (_Ibchandler *IbchandlerSession) ChannelCloseInit(msg_ IBCMsgsMsgChannelCloseInit) (*types.Transaction, error)

ChannelCloseInit is a paid mutator transaction binding the contract method 0xa06cb3a2.

Solidity: function channelCloseInit((string,string) msg_) returns()

func (*IbchandlerSession) ChannelOpenAck

func (_Ibchandler *IbchandlerSession) ChannelOpenAck(msg_ IBCMsgsMsgChannelOpenAck) (*types.Transaction, error)

ChannelOpenAck is a paid mutator transaction binding the contract method 0x256c4199.

Solidity: function channelOpenAck((string,string,string,string,bytes,(uint64,uint64)) msg_) returns()

func (*IbchandlerSession) ChannelOpenConfirm

func (_Ibchandler *IbchandlerSession) ChannelOpenConfirm(msg_ IBCMsgsMsgChannelOpenConfirm) (*types.Transaction, error)

ChannelOpenConfirm is a paid mutator transaction binding the contract method 0x5bd51b62.

Solidity: function channelOpenConfirm((string,string,bytes,(uint64,uint64)) msg_) returns()

func (*IbchandlerSession) ChannelOpenInit

func (_Ibchandler *IbchandlerSession) ChannelOpenInit(msg_ IBCMsgsMsgChannelOpenInit) (*types.Transaction, error)

ChannelOpenInit is a paid mutator transaction binding the contract method 0xdd3469fc.

Solidity: function channelOpenInit((string,(uint8,uint8,(string,string),string[],string)) msg_) returns(string)

func (*IbchandlerSession) ChannelOpenTry

func (_Ibchandler *IbchandlerSession) ChannelOpenTry(msg_ IBCMsgsMsgChannelOpenTry) (*types.Transaction, error)

ChannelOpenTry is a paid mutator transaction binding the contract method 0xec6260a9.

Solidity: function channelOpenTry((string,string,(uint8,uint8,(string,string),string[],string),string,bytes,(uint64,uint64)) msg_) returns(string)

func (*IbchandlerSession) ConnectionOpenAck

func (_Ibchandler *IbchandlerSession) ConnectionOpenAck(msg_ IBCMsgsMsgConnectionOpenAck) (*types.Transaction, error)

ConnectionOpenAck is a paid mutator transaction binding the contract method 0xb531861f.

Solidity: function connectionOpenAck((string,bytes,(string,string[]),string,bytes,bytes,bytes,(uint64,uint64),(uint64,uint64)) msg_) returns()

func (*IbchandlerSession) ConnectionOpenConfirm

func (_Ibchandler *IbchandlerSession) ConnectionOpenConfirm(msg_ IBCMsgsMsgConnectionOpenConfirm) (*types.Transaction, error)

ConnectionOpenConfirm is a paid mutator transaction binding the contract method 0x6a728f2c.

Solidity: function connectionOpenConfirm((string,bytes,(uint64,uint64)) msg_) returns()

func (*IbchandlerSession) ConnectionOpenInit

func (_Ibchandler *IbchandlerSession) ConnectionOpenInit(msg_ IBCMsgsMsgConnectionOpenInit) (*types.Transaction, error)

ConnectionOpenInit is a paid mutator transaction binding the contract method 0x01c6400f.

Solidity: function connectionOpenInit((string,(string,string,(bytes)),uint64) msg_) returns(string)

func (*IbchandlerSession) ConnectionOpenTry

func (_Ibchandler *IbchandlerSession) ConnectionOpenTry(msg_ IBCMsgsMsgConnectionOpenTry) (*types.Transaction, error)

ConnectionOpenTry is a paid mutator transaction binding the contract method 0xde310341.

Solidity: function connectionOpenTry((string,(string,string,(bytes)),uint64,string,bytes,(string,string[])[],bytes,bytes,bytes,(uint64,uint64),(uint64,uint64)) msg_) returns(string)

func (*IbchandlerSession) CreateClient

func (_Ibchandler *IbchandlerSession) CreateClient(msg_ IBCMsgsMsgCreateClient) (*types.Transaction, error)

CreateClient is a paid mutator transaction binding the contract method 0x0c8273ff.

Solidity: function createClient((string,(uint64,uint64),bytes,bytes) msg_) returns(string)

func (*IbchandlerSession) GetHostAddress

func (_Ibchandler *IbchandlerSession) GetHostAddress() (common.Address, error)

GetHostAddress is a free data retrieval call binding the contract method 0xeb238c77.

Solidity: function getHostAddress() view returns(address)

func (*IbchandlerSession) RecvPacket

func (_Ibchandler *IbchandlerSession) RecvPacket(msg_ IBCMsgsMsgPacketRecv) (*types.Transaction, error)

RecvPacket is a paid mutator transaction binding the contract method 0x236ebd70.

Solidity: function recvPacket(((uint64,string,string,string,string,bytes,(uint64,uint64),uint64),bytes,(uint64,uint64)) msg_) returns(bytes acknowledgement)

func (*IbchandlerSession) RegisterClient

func (_Ibchandler *IbchandlerSession) RegisterClient(clientType string, client common.Address) (*types.Transaction, error)

RegisterClient is a paid mutator transaction binding the contract method 0x18c19870.

Solidity: function registerClient(string clientType, address client) returns()

func (*IbchandlerSession) SendPacket

func (_Ibchandler *IbchandlerSession) SendPacket(packet PacketData) (*types.Transaction, error)

SendPacket is a paid mutator transaction binding the contract method 0x40835e44.

Solidity: function sendPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet) returns()

func (*IbchandlerSession) SetExpectedTimePerBlock

func (_Ibchandler *IbchandlerSession) SetExpectedTimePerBlock(expectedTimePerBlock_ uint64) (*types.Transaction, error)

SetExpectedTimePerBlock is a paid mutator transaction binding the contract method 0x27184c13.

Solidity: function setExpectedTimePerBlock(uint64 expectedTimePerBlock_) returns()

func (*IbchandlerSession) UpdateClient

func (_Ibchandler *IbchandlerSession) UpdateClient(msg_ IBCMsgsMsgUpdateClient) (*types.Transaction, error)

UpdateClient is a paid mutator transaction binding the contract method 0xda6cea55.

Solidity: function updateClient((string,bytes) msg_) returns()

func (*IbchandlerSession) WriteAcknowledgement

func (_Ibchandler *IbchandlerSession) WriteAcknowledgement(destinationPortId string, destinationChannel string, sequence uint64, acknowledgement []byte) (*types.Transaction, error)

WriteAcknowledgement is a paid mutator transaction binding the contract method 0xb56e79de.

Solidity: function writeAcknowledgement(string destinationPortId, string destinationChannel, uint64 sequence, bytes acknowledgement) returns()

type IbchandlerTransactor

type IbchandlerTransactor struct {
	// contains filtered or unexported fields
}

IbchandlerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewIbchandlerTransactor

func NewIbchandlerTransactor(address common.Address, transactor bind.ContractTransactor) (*IbchandlerTransactor, error)

NewIbchandlerTransactor creates a new write-only instance of Ibchandler, bound to a specific deployed contract.

func (*IbchandlerTransactor) AcknowledgePacket

func (_Ibchandler *IbchandlerTransactor) AcknowledgePacket(opts *bind.TransactOpts, msg_ IBCMsgsMsgPacketAcknowledgement) (*types.Transaction, error)

AcknowledgePacket is a paid mutator transaction binding the contract method 0x59f37976.

Solidity: function acknowledgePacket(((uint64,string,string,string,string,bytes,(uint64,uint64),uint64),bytes,bytes,(uint64,uint64)) msg_) returns()

func (*IbchandlerTransactor) BindPort

func (_Ibchandler *IbchandlerTransactor) BindPort(opts *bind.TransactOpts, portId string, moduleAddress common.Address) (*types.Transaction, error)

BindPort is a paid mutator transaction binding the contract method 0x117e886a.

Solidity: function bindPort(string portId, address moduleAddress) returns()

func (*IbchandlerTransactor) ChannelCloseConfirm

func (_Ibchandler *IbchandlerTransactor) ChannelCloseConfirm(opts *bind.TransactOpts, msg_ IBCMsgsMsgChannelCloseConfirm) (*types.Transaction, error)

ChannelCloseConfirm is a paid mutator transaction binding the contract method 0x25cbc3a6.

Solidity: function channelCloseConfirm((string,string,bytes,(uint64,uint64)) msg_) returns()

func (*IbchandlerTransactor) ChannelCloseInit

func (_Ibchandler *IbchandlerTransactor) ChannelCloseInit(opts *bind.TransactOpts, msg_ IBCMsgsMsgChannelCloseInit) (*types.Transaction, error)

ChannelCloseInit is a paid mutator transaction binding the contract method 0xa06cb3a2.

Solidity: function channelCloseInit((string,string) msg_) returns()

func (*IbchandlerTransactor) ChannelOpenAck

func (_Ibchandler *IbchandlerTransactor) ChannelOpenAck(opts *bind.TransactOpts, msg_ IBCMsgsMsgChannelOpenAck) (*types.Transaction, error)

ChannelOpenAck is a paid mutator transaction binding the contract method 0x256c4199.

Solidity: function channelOpenAck((string,string,string,string,bytes,(uint64,uint64)) msg_) returns()

func (*IbchandlerTransactor) ChannelOpenConfirm

func (_Ibchandler *IbchandlerTransactor) ChannelOpenConfirm(opts *bind.TransactOpts, msg_ IBCMsgsMsgChannelOpenConfirm) (*types.Transaction, error)

ChannelOpenConfirm is a paid mutator transaction binding the contract method 0x5bd51b62.

Solidity: function channelOpenConfirm((string,string,bytes,(uint64,uint64)) msg_) returns()

func (*IbchandlerTransactor) ChannelOpenInit

func (_Ibchandler *IbchandlerTransactor) ChannelOpenInit(opts *bind.TransactOpts, msg_ IBCMsgsMsgChannelOpenInit) (*types.Transaction, error)

ChannelOpenInit is a paid mutator transaction binding the contract method 0xdd3469fc.

Solidity: function channelOpenInit((string,(uint8,uint8,(string,string),string[],string)) msg_) returns(string)

func (*IbchandlerTransactor) ChannelOpenTry

func (_Ibchandler *IbchandlerTransactor) ChannelOpenTry(opts *bind.TransactOpts, msg_ IBCMsgsMsgChannelOpenTry) (*types.Transaction, error)

ChannelOpenTry is a paid mutator transaction binding the contract method 0xec6260a9.

Solidity: function channelOpenTry((string,string,(uint8,uint8,(string,string),string[],string),string,bytes,(uint64,uint64)) msg_) returns(string)

func (*IbchandlerTransactor) ConnectionOpenAck

func (_Ibchandler *IbchandlerTransactor) ConnectionOpenAck(opts *bind.TransactOpts, msg_ IBCMsgsMsgConnectionOpenAck) (*types.Transaction, error)

ConnectionOpenAck is a paid mutator transaction binding the contract method 0xb531861f.

Solidity: function connectionOpenAck((string,bytes,(string,string[]),string,bytes,bytes,bytes,(uint64,uint64),(uint64,uint64)) msg_) returns()

func (*IbchandlerTransactor) ConnectionOpenConfirm

func (_Ibchandler *IbchandlerTransactor) ConnectionOpenConfirm(opts *bind.TransactOpts, msg_ IBCMsgsMsgConnectionOpenConfirm) (*types.Transaction, error)

ConnectionOpenConfirm is a paid mutator transaction binding the contract method 0x6a728f2c.

Solidity: function connectionOpenConfirm((string,bytes,(uint64,uint64)) msg_) returns()

func (*IbchandlerTransactor) ConnectionOpenInit

func (_Ibchandler *IbchandlerTransactor) ConnectionOpenInit(opts *bind.TransactOpts, msg_ IBCMsgsMsgConnectionOpenInit) (*types.Transaction, error)

ConnectionOpenInit is a paid mutator transaction binding the contract method 0x01c6400f.

Solidity: function connectionOpenInit((string,(string,string,(bytes)),uint64) msg_) returns(string)

func (*IbchandlerTransactor) ConnectionOpenTry

func (_Ibchandler *IbchandlerTransactor) ConnectionOpenTry(opts *bind.TransactOpts, msg_ IBCMsgsMsgConnectionOpenTry) (*types.Transaction, error)

ConnectionOpenTry is a paid mutator transaction binding the contract method 0xde310341.

Solidity: function connectionOpenTry((string,(string,string,(bytes)),uint64,string,bytes,(string,string[])[],bytes,bytes,bytes,(uint64,uint64),(uint64,uint64)) msg_) returns(string)

func (*IbchandlerTransactor) CreateClient

func (_Ibchandler *IbchandlerTransactor) CreateClient(opts *bind.TransactOpts, msg_ IBCMsgsMsgCreateClient) (*types.Transaction, error)

CreateClient is a paid mutator transaction binding the contract method 0x0c8273ff.

Solidity: function createClient((string,(uint64,uint64),bytes,bytes) msg_) returns(string)

func (*IbchandlerTransactor) RecvPacket

func (_Ibchandler *IbchandlerTransactor) RecvPacket(opts *bind.TransactOpts, msg_ IBCMsgsMsgPacketRecv) (*types.Transaction, error)

RecvPacket is a paid mutator transaction binding the contract method 0x236ebd70.

Solidity: function recvPacket(((uint64,string,string,string,string,bytes,(uint64,uint64),uint64),bytes,(uint64,uint64)) msg_) returns(bytes acknowledgement)

func (*IbchandlerTransactor) RegisterClient

func (_Ibchandler *IbchandlerTransactor) RegisterClient(opts *bind.TransactOpts, clientType string, client common.Address) (*types.Transaction, error)

RegisterClient is a paid mutator transaction binding the contract method 0x18c19870.

Solidity: function registerClient(string clientType, address client) returns()

func (*IbchandlerTransactor) SendPacket

func (_Ibchandler *IbchandlerTransactor) SendPacket(opts *bind.TransactOpts, packet PacketData) (*types.Transaction, error)

SendPacket is a paid mutator transaction binding the contract method 0x40835e44.

Solidity: function sendPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet) returns()

func (*IbchandlerTransactor) SetExpectedTimePerBlock

func (_Ibchandler *IbchandlerTransactor) SetExpectedTimePerBlock(opts *bind.TransactOpts, expectedTimePerBlock_ uint64) (*types.Transaction, error)

SetExpectedTimePerBlock is a paid mutator transaction binding the contract method 0x27184c13.

Solidity: function setExpectedTimePerBlock(uint64 expectedTimePerBlock_) returns()

func (*IbchandlerTransactor) UpdateClient

func (_Ibchandler *IbchandlerTransactor) UpdateClient(opts *bind.TransactOpts, msg_ IBCMsgsMsgUpdateClient) (*types.Transaction, error)

UpdateClient is a paid mutator transaction binding the contract method 0xda6cea55.

Solidity: function updateClient((string,bytes) msg_) returns()

func (*IbchandlerTransactor) WriteAcknowledgement

func (_Ibchandler *IbchandlerTransactor) WriteAcknowledgement(opts *bind.TransactOpts, destinationPortId string, destinationChannel string, sequence uint64, acknowledgement []byte) (*types.Transaction, error)

WriteAcknowledgement is a paid mutator transaction binding the contract method 0xb56e79de.

Solidity: function writeAcknowledgement(string destinationPortId, string destinationChannel, uint64 sequence, bytes acknowledgement) returns()

type IbchandlerTransactorRaw

type IbchandlerTransactorRaw struct {
	Contract *IbchandlerTransactor // Generic write-only contract binding to access the raw methods on
}

IbchandlerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*IbchandlerTransactorRaw) Transact

func (_Ibchandler *IbchandlerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IbchandlerTransactorRaw) Transfer

func (_Ibchandler *IbchandlerTransactorRaw) 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 IbchandlerTransactorSession

type IbchandlerTransactorSession struct {
	Contract     *IbchandlerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts     // Transaction auth options to use throughout this session
}

IbchandlerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*IbchandlerTransactorSession) AcknowledgePacket

func (_Ibchandler *IbchandlerTransactorSession) AcknowledgePacket(msg_ IBCMsgsMsgPacketAcknowledgement) (*types.Transaction, error)

AcknowledgePacket is a paid mutator transaction binding the contract method 0x59f37976.

Solidity: function acknowledgePacket(((uint64,string,string,string,string,bytes,(uint64,uint64),uint64),bytes,bytes,(uint64,uint64)) msg_) returns()

func (*IbchandlerTransactorSession) BindPort

func (_Ibchandler *IbchandlerTransactorSession) BindPort(portId string, moduleAddress common.Address) (*types.Transaction, error)

BindPort is a paid mutator transaction binding the contract method 0x117e886a.

Solidity: function bindPort(string portId, address moduleAddress) returns()

func (*IbchandlerTransactorSession) ChannelCloseConfirm

func (_Ibchandler *IbchandlerTransactorSession) ChannelCloseConfirm(msg_ IBCMsgsMsgChannelCloseConfirm) (*types.Transaction, error)

ChannelCloseConfirm is a paid mutator transaction binding the contract method 0x25cbc3a6.

Solidity: function channelCloseConfirm((string,string,bytes,(uint64,uint64)) msg_) returns()

func (*IbchandlerTransactorSession) ChannelCloseInit

func (_Ibchandler *IbchandlerTransactorSession) ChannelCloseInit(msg_ IBCMsgsMsgChannelCloseInit) (*types.Transaction, error)

ChannelCloseInit is a paid mutator transaction binding the contract method 0xa06cb3a2.

Solidity: function channelCloseInit((string,string) msg_) returns()

func (*IbchandlerTransactorSession) ChannelOpenAck

func (_Ibchandler *IbchandlerTransactorSession) ChannelOpenAck(msg_ IBCMsgsMsgChannelOpenAck) (*types.Transaction, error)

ChannelOpenAck is a paid mutator transaction binding the contract method 0x256c4199.

Solidity: function channelOpenAck((string,string,string,string,bytes,(uint64,uint64)) msg_) returns()

func (*IbchandlerTransactorSession) ChannelOpenConfirm

func (_Ibchandler *IbchandlerTransactorSession) ChannelOpenConfirm(msg_ IBCMsgsMsgChannelOpenConfirm) (*types.Transaction, error)

ChannelOpenConfirm is a paid mutator transaction binding the contract method 0x5bd51b62.

Solidity: function channelOpenConfirm((string,string,bytes,(uint64,uint64)) msg_) returns()

func (*IbchandlerTransactorSession) ChannelOpenInit

func (_Ibchandler *IbchandlerTransactorSession) ChannelOpenInit(msg_ IBCMsgsMsgChannelOpenInit) (*types.Transaction, error)

ChannelOpenInit is a paid mutator transaction binding the contract method 0xdd3469fc.

Solidity: function channelOpenInit((string,(uint8,uint8,(string,string),string[],string)) msg_) returns(string)

func (*IbchandlerTransactorSession) ChannelOpenTry

func (_Ibchandler *IbchandlerTransactorSession) ChannelOpenTry(msg_ IBCMsgsMsgChannelOpenTry) (*types.Transaction, error)

ChannelOpenTry is a paid mutator transaction binding the contract method 0xec6260a9.

Solidity: function channelOpenTry((string,string,(uint8,uint8,(string,string),string[],string),string,bytes,(uint64,uint64)) msg_) returns(string)

func (*IbchandlerTransactorSession) ConnectionOpenAck

func (_Ibchandler *IbchandlerTransactorSession) ConnectionOpenAck(msg_ IBCMsgsMsgConnectionOpenAck) (*types.Transaction, error)

ConnectionOpenAck is a paid mutator transaction binding the contract method 0xb531861f.

Solidity: function connectionOpenAck((string,bytes,(string,string[]),string,bytes,bytes,bytes,(uint64,uint64),(uint64,uint64)) msg_) returns()

func (*IbchandlerTransactorSession) ConnectionOpenConfirm

func (_Ibchandler *IbchandlerTransactorSession) ConnectionOpenConfirm(msg_ IBCMsgsMsgConnectionOpenConfirm) (*types.Transaction, error)

ConnectionOpenConfirm is a paid mutator transaction binding the contract method 0x6a728f2c.

Solidity: function connectionOpenConfirm((string,bytes,(uint64,uint64)) msg_) returns()

func (*IbchandlerTransactorSession) ConnectionOpenInit

func (_Ibchandler *IbchandlerTransactorSession) ConnectionOpenInit(msg_ IBCMsgsMsgConnectionOpenInit) (*types.Transaction, error)

ConnectionOpenInit is a paid mutator transaction binding the contract method 0x01c6400f.

Solidity: function connectionOpenInit((string,(string,string,(bytes)),uint64) msg_) returns(string)

func (*IbchandlerTransactorSession) ConnectionOpenTry

func (_Ibchandler *IbchandlerTransactorSession) ConnectionOpenTry(msg_ IBCMsgsMsgConnectionOpenTry) (*types.Transaction, error)

ConnectionOpenTry is a paid mutator transaction binding the contract method 0xde310341.

Solidity: function connectionOpenTry((string,(string,string,(bytes)),uint64,string,bytes,(string,string[])[],bytes,bytes,bytes,(uint64,uint64),(uint64,uint64)) msg_) returns(string)

func (*IbchandlerTransactorSession) CreateClient

func (_Ibchandler *IbchandlerTransactorSession) CreateClient(msg_ IBCMsgsMsgCreateClient) (*types.Transaction, error)

CreateClient is a paid mutator transaction binding the contract method 0x0c8273ff.

Solidity: function createClient((string,(uint64,uint64),bytes,bytes) msg_) returns(string)

func (*IbchandlerTransactorSession) RecvPacket

func (_Ibchandler *IbchandlerTransactorSession) RecvPacket(msg_ IBCMsgsMsgPacketRecv) (*types.Transaction, error)

RecvPacket is a paid mutator transaction binding the contract method 0x236ebd70.

Solidity: function recvPacket(((uint64,string,string,string,string,bytes,(uint64,uint64),uint64),bytes,(uint64,uint64)) msg_) returns(bytes acknowledgement)

func (*IbchandlerTransactorSession) RegisterClient

func (_Ibchandler *IbchandlerTransactorSession) RegisterClient(clientType string, client common.Address) (*types.Transaction, error)

RegisterClient is a paid mutator transaction binding the contract method 0x18c19870.

Solidity: function registerClient(string clientType, address client) returns()

func (*IbchandlerTransactorSession) SendPacket

func (_Ibchandler *IbchandlerTransactorSession) SendPacket(packet PacketData) (*types.Transaction, error)

SendPacket is a paid mutator transaction binding the contract method 0x40835e44.

Solidity: function sendPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet) returns()

func (*IbchandlerTransactorSession) SetExpectedTimePerBlock

func (_Ibchandler *IbchandlerTransactorSession) SetExpectedTimePerBlock(expectedTimePerBlock_ uint64) (*types.Transaction, error)

SetExpectedTimePerBlock is a paid mutator transaction binding the contract method 0x27184c13.

Solidity: function setExpectedTimePerBlock(uint64 expectedTimePerBlock_) returns()

func (*IbchandlerTransactorSession) UpdateClient

func (_Ibchandler *IbchandlerTransactorSession) UpdateClient(msg_ IBCMsgsMsgUpdateClient) (*types.Transaction, error)

UpdateClient is a paid mutator transaction binding the contract method 0xda6cea55.

Solidity: function updateClient((string,bytes) msg_) returns()

func (*IbchandlerTransactorSession) WriteAcknowledgement

func (_Ibchandler *IbchandlerTransactorSession) WriteAcknowledgement(destinationPortId string, destinationChannel string, sequence uint64, acknowledgement []byte) (*types.Transaction, error)

WriteAcknowledgement is a paid mutator transaction binding the contract method 0xb56e79de.

Solidity: function writeAcknowledgement(string destinationPortId, string destinationChannel, uint64 sequence, bytes acknowledgement) returns()

type IbchandlerWriteAcknowledgement

type IbchandlerWriteAcknowledgement struct {
	DestinationPortId  string
	DestinationChannel string
	Sequence           uint64
	Acknowledgement    []byte
	Raw                types.Log // Blockchain specific contextual infos
}

IbchandlerWriteAcknowledgement represents a WriteAcknowledgement event raised by the Ibchandler contract.

type IbchandlerWriteAcknowledgementIterator

type IbchandlerWriteAcknowledgementIterator struct {
	Event *IbchandlerWriteAcknowledgement // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IbchandlerWriteAcknowledgementIterator is returned from FilterWriteAcknowledgement and is used to iterate over the raw logs and unpacked data for WriteAcknowledgement events raised by the Ibchandler contract.

func (*IbchandlerWriteAcknowledgementIterator) Close

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

func (*IbchandlerWriteAcknowledgementIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IbchandlerWriteAcknowledgementIterator) 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 MerklePrefixData

type MerklePrefixData struct {
	KeyPrefix []byte
}

MerklePrefixData is an auto generated low-level Go binding around an user-defined struct.

type PacketData

type PacketData struct {
	Sequence           uint64
	SourcePort         string
	SourceChannel      string
	DestinationPort    string
	DestinationChannel string
	Data               []byte
	TimeoutHeight      HeightData
	TimeoutTimestamp   uint64
}

PacketData is an auto generated low-level Go binding around an user-defined struct.

type VersionData

type VersionData struct {
	Identifier string
	Features   []string
}

VersionData is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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