ibcmockapp

package
v0.3.17 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IbcmockappABI = IbcmockappMetaData.ABI

IbcmockappABI is the input ABI used to generate the binding from. Deprecated: Use IbcmockappMetaData.ABI instead.

View Source
var IbcmockappMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIBCHandler\",\"name\":\"ibcHandler_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"MOCKAPP_VERSION\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ibcAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"sequence\",\"type\":\"uint64\"},{\"internalType\":\"string\",\"name\":\"source_port\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"source_channel\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"destination_port\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"destination_channel\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"revision_number\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"revision_height\",\"type\":\"uint64\"}],\"internalType\":\"structHeight.Data\",\"name\":\"timeout_height\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"timeout_timestamp\",\"type\":\"uint64\"}],\"internalType\":\"structPacket.Data\",\"name\":\"packet\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"acknowledgement\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"onAcknowledgementPacket\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"}],\"internalType\":\"structIIBCModule.MsgOnChanCloseConfirm\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"onChanCloseConfirm\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"}],\"internalType\":\"structIIBCModule.MsgOnChanCloseInit\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"onChanCloseInit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"counterpartyVersion\",\"type\":\"string\"}],\"internalType\":\"structIIBCModule.MsgOnChanOpenAck\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"onChanOpenAck\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"}],\"internalType\":\"structIIBCModule.MsgOnChanOpenConfirm\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"onChanOpenConfirm\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"enumChannel.Order\",\"name\":\"order\",\"type\":\"uint8\"},{\"internalType\":\"string[]\",\"name\":\"connectionHops\",\"type\":\"string[]\"},{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"port_id\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channel_id\",\"type\":\"string\"}],\"internalType\":\"structChannelCounterparty.Data\",\"name\":\"counterparty\",\"type\":\"tuple\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"structIIBCModule.MsgOnChanOpenInit\",\"name\":\"msg_\",\"type\":\"tuple\"}],\"name\":\"onChanOpenInit\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"enumChannel.Order\",\"name\":\"order\",\"type\":\"uint8\"},{\"internalType\":\"string[]\",\"name\":\"connectionHops\",\"type\":\"string[]\"},{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"port_id\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channel_id\",\"type\":\"string\"}],\"internalType\":\"structChannelCounterparty.Data\",\"name\":\"counterparty\",\"type\":\"tuple\"},{\"internalType\":\"string\",\"name\":\"counterpartyVersion\",\"type\":\"string\"}],\"internalType\":\"structIIBCModule.MsgOnChanOpenTry\",\"name\":\"msg_\",\"type\":\"tuple\"}],\"name\":\"onChanOpenTry\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"sequence\",\"type\":\"uint64\"},{\"internalType\":\"string\",\"name\":\"source_port\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"source_channel\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"destination_port\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"destination_channel\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"revision_number\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"revision_height\",\"type\":\"uint64\"}],\"internalType\":\"structHeight.Data\",\"name\":\"timeout_height\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"timeout_timestamp\",\"type\":\"uint64\"}],\"internalType\":\"structPacket.Data\",\"name\":\"packet\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"onRecvPacket\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"acknowledgement\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"sequence\",\"type\":\"uint64\"},{\"internalType\":\"string\",\"name\":\"source_port\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"source_channel\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"destination_port\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"destination_channel\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"revision_number\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"revision_height\",\"type\":\"uint64\"}],\"internalType\":\"structHeight.Data\",\"name\":\"timeout_height\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"timeout_timestamp\",\"type\":\"uint64\"}],\"internalType\":\"structPacket.Data\",\"name\":\"\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"onTimeoutPacket\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"internalType\":\"string\",\"name\":\"sourcePort\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"sourceChannel\",\"type\":\"string\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"revision_number\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"revision_height\",\"type\":\"uint64\"}],\"internalType\":\"structHeight.Data\",\"name\":\"timeoutHeight\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"timeoutTimestamp\",\"type\":\"uint64\"}],\"name\":\"sendPacket\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IbcmockappMetaData contains all meta data concerning the Ibcmockapp contract.

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 HeightData

type HeightData struct {
	RevisionNumber uint64
	RevisionHeight uint64
}

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

type IIBCModuleMsgOnChanCloseConfirm added in v0.3.16

type IIBCModuleMsgOnChanCloseConfirm struct {
	PortId    string
	ChannelId string
}

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

type IIBCModuleMsgOnChanCloseInit added in v0.3.16

type IIBCModuleMsgOnChanCloseInit struct {
	PortId    string
	ChannelId string
}

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

type IIBCModuleMsgOnChanOpenAck added in v0.3.16

type IIBCModuleMsgOnChanOpenAck struct {
	PortId              string
	ChannelId           string
	CounterpartyVersion string
}

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

type IIBCModuleMsgOnChanOpenConfirm added in v0.3.16

type IIBCModuleMsgOnChanOpenConfirm struct {
	PortId    string
	ChannelId string
}

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

type IIBCModuleMsgOnChanOpenInit added in v0.3.16

type IIBCModuleMsgOnChanOpenInit struct {
	Order          uint8
	ConnectionHops []string
	PortId         string
	ChannelId      string
	Counterparty   ChannelCounterpartyData
	Version        string
}

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

type IIBCModuleMsgOnChanOpenTry added in v0.3.16

type IIBCModuleMsgOnChanOpenTry struct {
	Order               uint8
	ConnectionHops      []string
	PortId              string
	ChannelId           string
	Counterparty        ChannelCounterpartyData
	CounterpartyVersion string
}

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

type Ibcmockapp

type Ibcmockapp struct {
	IbcmockappCaller     // Read-only binding to the contract
	IbcmockappTransactor // Write-only binding to the contract
	IbcmockappFilterer   // Log filterer for contract events
}

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

func NewIbcmockapp

func NewIbcmockapp(address common.Address, backend bind.ContractBackend) (*Ibcmockapp, error)

NewIbcmockapp creates a new instance of Ibcmockapp, bound to a specific deployed contract.

type IbcmockappCaller

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

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

func NewIbcmockappCaller

func NewIbcmockappCaller(address common.Address, caller bind.ContractCaller) (*IbcmockappCaller, error)

NewIbcmockappCaller creates a new read-only instance of Ibcmockapp, bound to a specific deployed contract.

func (*IbcmockappCaller) IbcAddress

func (_Ibcmockapp *IbcmockappCaller) IbcAddress(opts *bind.CallOpts) (common.Address, error)

IbcAddress is a free data retrieval call binding the contract method 0x696a9bf4.

Solidity: function ibcAddress() view returns(address)

func (*IbcmockappCaller) MOCKAPPVERSION added in v0.3.16

func (_Ibcmockapp *IbcmockappCaller) MOCKAPPVERSION(opts *bind.CallOpts) (string, error)

MOCKAPPVERSION is a free data retrieval call binding the contract method 0x7ef15d45.

Solidity: function MOCKAPP_VERSION() view returns(string)

type IbcmockappCallerRaw

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

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

func (*IbcmockappCallerRaw) Call

func (_Ibcmockapp *IbcmockappCallerRaw) 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 IbcmockappCallerSession

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

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

func (*IbcmockappCallerSession) IbcAddress

func (_Ibcmockapp *IbcmockappCallerSession) IbcAddress() (common.Address, error)

IbcAddress is a free data retrieval call binding the contract method 0x696a9bf4.

Solidity: function ibcAddress() view returns(address)

func (*IbcmockappCallerSession) MOCKAPPVERSION added in v0.3.16

func (_Ibcmockapp *IbcmockappCallerSession) MOCKAPPVERSION() (string, error)

MOCKAPPVERSION is a free data retrieval call binding the contract method 0x7ef15d45.

Solidity: function MOCKAPP_VERSION() view returns(string)

type IbcmockappFilterer

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

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

func NewIbcmockappFilterer

func NewIbcmockappFilterer(address common.Address, filterer bind.ContractFilterer) (*IbcmockappFilterer, error)

NewIbcmockappFilterer creates a new log filterer instance of Ibcmockapp, bound to a specific deployed contract.

type IbcmockappRaw

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

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

func (*IbcmockappRaw) Call

func (_Ibcmockapp *IbcmockappRaw) 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 (*IbcmockappRaw) Transact

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

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

func (*IbcmockappRaw) Transfer

func (_Ibcmockapp *IbcmockappRaw) 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 IbcmockappSession

type IbcmockappSession struct {
	Contract     *Ibcmockapp       // 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
}

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

func (*IbcmockappSession) IbcAddress

func (_Ibcmockapp *IbcmockappSession) IbcAddress() (common.Address, error)

IbcAddress is a free data retrieval call binding the contract method 0x696a9bf4.

Solidity: function ibcAddress() view returns(address)

func (*IbcmockappSession) MOCKAPPVERSION added in v0.3.16

func (_Ibcmockapp *IbcmockappSession) MOCKAPPVERSION() (string, error)

MOCKAPPVERSION is a free data retrieval call binding the contract method 0x7ef15d45.

Solidity: function MOCKAPP_VERSION() view returns(string)

func (*IbcmockappSession) OnAcknowledgementPacket

func (_Ibcmockapp *IbcmockappSession) OnAcknowledgementPacket(packet PacketData, acknowledgement []byte, arg2 common.Address) (*types.Transaction, error)

OnAcknowledgementPacket is a paid mutator transaction binding the contract method 0xfb8b532e.

Solidity: function onAcknowledgementPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, bytes acknowledgement, address ) returns()

func (*IbcmockappSession) OnChanCloseConfirm

func (_Ibcmockapp *IbcmockappSession) OnChanCloseConfirm(arg0 IIBCModuleMsgOnChanCloseConfirm) (*types.Transaction, error)

OnChanCloseConfirm is a paid mutator transaction binding the contract method 0x38c858bc.

Solidity: function onChanCloseConfirm((string,string) ) returns()

func (*IbcmockappSession) OnChanCloseInit

func (_Ibcmockapp *IbcmockappSession) OnChanCloseInit(arg0 IIBCModuleMsgOnChanCloseInit) (*types.Transaction, error)

OnChanCloseInit is a paid mutator transaction binding the contract method 0x3c7df3fb.

Solidity: function onChanCloseInit((string,string) ) returns()

func (*IbcmockappSession) OnChanOpenAck

func (_Ibcmockapp *IbcmockappSession) OnChanOpenAck(arg0 IIBCModuleMsgOnChanOpenAck) (*types.Transaction, error)

OnChanOpenAck is a paid mutator transaction binding the contract method 0x12f6ff6f.

Solidity: function onChanOpenAck((string,string,string) ) returns()

func (*IbcmockappSession) OnChanOpenConfirm

func (_Ibcmockapp *IbcmockappSession) OnChanOpenConfirm(arg0 IIBCModuleMsgOnChanOpenConfirm) (*types.Transaction, error)

OnChanOpenConfirm is a paid mutator transaction binding the contract method 0x81b174dc.

Solidity: function onChanOpenConfirm((string,string) ) returns()

func (*IbcmockappSession) OnChanOpenInit

func (_Ibcmockapp *IbcmockappSession) OnChanOpenInit(msg_ IIBCModuleMsgOnChanOpenInit) (*types.Transaction, error)

OnChanOpenInit is a paid mutator transaction binding the contract method 0x0b7b4ccb.

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

func (*IbcmockappSession) OnChanOpenTry

func (_Ibcmockapp *IbcmockappSession) OnChanOpenTry(msg_ IIBCModuleMsgOnChanOpenTry) (*types.Transaction, error)

OnChanOpenTry is a paid mutator transaction binding the contract method 0xa7a61e66.

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

func (*IbcmockappSession) OnRecvPacket

func (_Ibcmockapp *IbcmockappSession) OnRecvPacket(packet PacketData, arg1 common.Address) (*types.Transaction, error)

OnRecvPacket is a paid mutator transaction binding the contract method 0x2301c6f5.

Solidity: function onRecvPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, address ) returns(bytes acknowledgement)

func (*IbcmockappSession) OnTimeoutPacket

func (_Ibcmockapp *IbcmockappSession) OnTimeoutPacket(arg0 PacketData, relayer common.Address) (*types.Transaction, error)

OnTimeoutPacket is a paid mutator transaction binding the contract method 0x52c7157d.

Solidity: function onTimeoutPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) , address relayer) returns()

func (*IbcmockappSession) SendPacket

func (_Ibcmockapp *IbcmockappSession) SendPacket(message []byte, sourcePort string, sourceChannel string, timeoutHeight HeightData, timeoutTimestamp uint64) (*types.Transaction, error)

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

Solidity: function sendPacket(bytes message, string sourcePort, string sourceChannel, (uint64,uint64) timeoutHeight, uint64 timeoutTimestamp) returns(uint64)

type IbcmockappTransactor

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

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

func NewIbcmockappTransactor

func NewIbcmockappTransactor(address common.Address, transactor bind.ContractTransactor) (*IbcmockappTransactor, error)

NewIbcmockappTransactor creates a new write-only instance of Ibcmockapp, bound to a specific deployed contract.

func (*IbcmockappTransactor) OnAcknowledgementPacket

func (_Ibcmockapp *IbcmockappTransactor) OnAcknowledgementPacket(opts *bind.TransactOpts, packet PacketData, acknowledgement []byte, arg2 common.Address) (*types.Transaction, error)

OnAcknowledgementPacket is a paid mutator transaction binding the contract method 0xfb8b532e.

Solidity: function onAcknowledgementPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, bytes acknowledgement, address ) returns()

func (*IbcmockappTransactor) OnChanCloseConfirm

func (_Ibcmockapp *IbcmockappTransactor) OnChanCloseConfirm(opts *bind.TransactOpts, arg0 IIBCModuleMsgOnChanCloseConfirm) (*types.Transaction, error)

OnChanCloseConfirm is a paid mutator transaction binding the contract method 0x38c858bc.

Solidity: function onChanCloseConfirm((string,string) ) returns()

func (*IbcmockappTransactor) OnChanCloseInit

func (_Ibcmockapp *IbcmockappTransactor) OnChanCloseInit(opts *bind.TransactOpts, arg0 IIBCModuleMsgOnChanCloseInit) (*types.Transaction, error)

OnChanCloseInit is a paid mutator transaction binding the contract method 0x3c7df3fb.

Solidity: function onChanCloseInit((string,string) ) returns()

func (*IbcmockappTransactor) OnChanOpenAck

func (_Ibcmockapp *IbcmockappTransactor) OnChanOpenAck(opts *bind.TransactOpts, arg0 IIBCModuleMsgOnChanOpenAck) (*types.Transaction, error)

OnChanOpenAck is a paid mutator transaction binding the contract method 0x12f6ff6f.

Solidity: function onChanOpenAck((string,string,string) ) returns()

func (*IbcmockappTransactor) OnChanOpenConfirm

func (_Ibcmockapp *IbcmockappTransactor) OnChanOpenConfirm(opts *bind.TransactOpts, arg0 IIBCModuleMsgOnChanOpenConfirm) (*types.Transaction, error)

OnChanOpenConfirm is a paid mutator transaction binding the contract method 0x81b174dc.

Solidity: function onChanOpenConfirm((string,string) ) returns()

func (*IbcmockappTransactor) OnChanOpenInit

func (_Ibcmockapp *IbcmockappTransactor) OnChanOpenInit(opts *bind.TransactOpts, msg_ IIBCModuleMsgOnChanOpenInit) (*types.Transaction, error)

OnChanOpenInit is a paid mutator transaction binding the contract method 0x0b7b4ccb.

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

func (*IbcmockappTransactor) OnChanOpenTry

func (_Ibcmockapp *IbcmockappTransactor) OnChanOpenTry(opts *bind.TransactOpts, msg_ IIBCModuleMsgOnChanOpenTry) (*types.Transaction, error)

OnChanOpenTry is a paid mutator transaction binding the contract method 0xa7a61e66.

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

func (*IbcmockappTransactor) OnRecvPacket

func (_Ibcmockapp *IbcmockappTransactor) OnRecvPacket(opts *bind.TransactOpts, packet PacketData, arg1 common.Address) (*types.Transaction, error)

OnRecvPacket is a paid mutator transaction binding the contract method 0x2301c6f5.

Solidity: function onRecvPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, address ) returns(bytes acknowledgement)

func (*IbcmockappTransactor) OnTimeoutPacket

func (_Ibcmockapp *IbcmockappTransactor) OnTimeoutPacket(opts *bind.TransactOpts, arg0 PacketData, relayer common.Address) (*types.Transaction, error)

OnTimeoutPacket is a paid mutator transaction binding the contract method 0x52c7157d.

Solidity: function onTimeoutPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) , address relayer) returns()

func (*IbcmockappTransactor) SendPacket

func (_Ibcmockapp *IbcmockappTransactor) SendPacket(opts *bind.TransactOpts, message []byte, sourcePort string, sourceChannel string, timeoutHeight HeightData, timeoutTimestamp uint64) (*types.Transaction, error)

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

Solidity: function sendPacket(bytes message, string sourcePort, string sourceChannel, (uint64,uint64) timeoutHeight, uint64 timeoutTimestamp) returns(uint64)

type IbcmockappTransactorRaw

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

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

func (*IbcmockappTransactorRaw) Transact

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

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

func (*IbcmockappTransactorRaw) Transfer

func (_Ibcmockapp *IbcmockappTransactorRaw) 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 IbcmockappTransactorSession

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

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

func (*IbcmockappTransactorSession) OnAcknowledgementPacket

func (_Ibcmockapp *IbcmockappTransactorSession) OnAcknowledgementPacket(packet PacketData, acknowledgement []byte, arg2 common.Address) (*types.Transaction, error)

OnAcknowledgementPacket is a paid mutator transaction binding the contract method 0xfb8b532e.

Solidity: function onAcknowledgementPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, bytes acknowledgement, address ) returns()

func (*IbcmockappTransactorSession) OnChanCloseConfirm

func (_Ibcmockapp *IbcmockappTransactorSession) OnChanCloseConfirm(arg0 IIBCModuleMsgOnChanCloseConfirm) (*types.Transaction, error)

OnChanCloseConfirm is a paid mutator transaction binding the contract method 0x38c858bc.

Solidity: function onChanCloseConfirm((string,string) ) returns()

func (*IbcmockappTransactorSession) OnChanCloseInit

func (_Ibcmockapp *IbcmockappTransactorSession) OnChanCloseInit(arg0 IIBCModuleMsgOnChanCloseInit) (*types.Transaction, error)

OnChanCloseInit is a paid mutator transaction binding the contract method 0x3c7df3fb.

Solidity: function onChanCloseInit((string,string) ) returns()

func (*IbcmockappTransactorSession) OnChanOpenAck

func (_Ibcmockapp *IbcmockappTransactorSession) OnChanOpenAck(arg0 IIBCModuleMsgOnChanOpenAck) (*types.Transaction, error)

OnChanOpenAck is a paid mutator transaction binding the contract method 0x12f6ff6f.

Solidity: function onChanOpenAck((string,string,string) ) returns()

func (*IbcmockappTransactorSession) OnChanOpenConfirm

func (_Ibcmockapp *IbcmockappTransactorSession) OnChanOpenConfirm(arg0 IIBCModuleMsgOnChanOpenConfirm) (*types.Transaction, error)

OnChanOpenConfirm is a paid mutator transaction binding the contract method 0x81b174dc.

Solidity: function onChanOpenConfirm((string,string) ) returns()

func (*IbcmockappTransactorSession) OnChanOpenInit

func (_Ibcmockapp *IbcmockappTransactorSession) OnChanOpenInit(msg_ IIBCModuleMsgOnChanOpenInit) (*types.Transaction, error)

OnChanOpenInit is a paid mutator transaction binding the contract method 0x0b7b4ccb.

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

func (*IbcmockappTransactorSession) OnChanOpenTry

func (_Ibcmockapp *IbcmockappTransactorSession) OnChanOpenTry(msg_ IIBCModuleMsgOnChanOpenTry) (*types.Transaction, error)

OnChanOpenTry is a paid mutator transaction binding the contract method 0xa7a61e66.

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

func (*IbcmockappTransactorSession) OnRecvPacket

func (_Ibcmockapp *IbcmockappTransactorSession) OnRecvPacket(packet PacketData, arg1 common.Address) (*types.Transaction, error)

OnRecvPacket is a paid mutator transaction binding the contract method 0x2301c6f5.

Solidity: function onRecvPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, address ) returns(bytes acknowledgement)

func (*IbcmockappTransactorSession) OnTimeoutPacket

func (_Ibcmockapp *IbcmockappTransactorSession) OnTimeoutPacket(arg0 PacketData, relayer common.Address) (*types.Transaction, error)

OnTimeoutPacket is a paid mutator transaction binding the contract method 0x52c7157d.

Solidity: function onTimeoutPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) , address relayer) returns()

func (*IbcmockappTransactorSession) SendPacket

func (_Ibcmockapp *IbcmockappTransactorSession) SendPacket(message []byte, sourcePort string, sourceChannel string, timeoutHeight HeightData, timeoutTimestamp uint64) (*types.Transaction, error)

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

Solidity: function sendPacket(bytes message, string sourcePort, string sourceChannel, (uint64,uint64) timeoutHeight, uint64 timeoutTimestamp) returns(uint64)

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.

Jump to

Keyboard shortcuts

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