ibcmockapp

package
v0.3.38 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 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: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"ibcHandler_\",\"type\":\"address\",\"internalType\":\"contractIIBCHandler\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"MOCKAPP_VERSION\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"allowCloseChannel\",\"inputs\":[{\"name\":\"allow\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"closeChannelAllowed\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"ibcAddress\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"onAcknowledgementPacket\",\"inputs\":[{\"name\":\"packet\",\"type\":\"tuple\",\"internalType\":\"structPacket\",\"components\":[{\"name\":\"sequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"sourcePort\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"sourceChannel\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"destinationPort\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"destinationChannel\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"timeoutHeight\",\"type\":\"tuple\",\"internalType\":\"structHeight.Data\",\"components\":[{\"name\":\"revision_number\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"revision_height\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"timeoutTimestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"acknowledgement\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanCloseConfirm\",\"inputs\":[{\"name\":\"msg_\",\"type\":\"tuple\",\"internalType\":\"structIIBCModule.MsgOnChanCloseConfirm\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanCloseInit\",\"inputs\":[{\"name\":\"msg_\",\"type\":\"tuple\",\"internalType\":\"structIIBCModule.MsgOnChanCloseInit\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanOpenAck\",\"inputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structIIBCModule.MsgOnChanOpenAck\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"counterpartyVersion\",\"type\":\"string\",\"internalType\":\"string\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanOpenConfirm\",\"inputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structIIBCModule.MsgOnChanOpenConfirm\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanOpenInit\",\"inputs\":[{\"name\":\"msg_\",\"type\":\"tuple\",\"internalType\":\"structIIBCModuleInitializer.MsgOnChanOpenInit\",\"components\":[{\"name\":\"order\",\"type\":\"uint8\",\"internalType\":\"enumChannel.Order\"},{\"name\":\"connectionHops\",\"type\":\"string[]\",\"internalType\":\"string[]\"},{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"counterparty\",\"type\":\"tuple\",\"internalType\":\"structChannelCounterparty.Data\",\"components\":[{\"name\":\"port_id\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channel_id\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"name\":\"version\",\"type\":\"string\",\"internalType\":\"string\"}]}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanOpenTry\",\"inputs\":[{\"name\":\"msg_\",\"type\":\"tuple\",\"internalType\":\"structIIBCModuleInitializer.MsgOnChanOpenTry\",\"components\":[{\"name\":\"order\",\"type\":\"uint8\",\"internalType\":\"enumChannel.Order\"},{\"name\":\"connectionHops\",\"type\":\"string[]\",\"internalType\":\"string[]\"},{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"counterparty\",\"type\":\"tuple\",\"internalType\":\"structChannelCounterparty.Data\",\"components\":[{\"name\":\"port_id\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channel_id\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"name\":\"counterpartyVersion\",\"type\":\"string\",\"internalType\":\"string\"}]}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onRecvPacket\",\"inputs\":[{\"name\":\"packet\",\"type\":\"tuple\",\"internalType\":\"structPacket\",\"components\":[{\"name\":\"sequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"sourcePort\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"sourceChannel\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"destinationPort\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"destinationChannel\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"timeoutHeight\",\"type\":\"tuple\",\"internalType\":\"structHeight.Data\",\"components\":[{\"name\":\"revision_number\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"revision_height\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"timeoutTimestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"acknowledgement\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"onTimeoutPacket\",\"inputs\":[{\"name\":\"packet\",\"type\":\"tuple\",\"internalType\":\"structPacket\",\"components\":[{\"name\":\"sequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"sourcePort\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"sourceChannel\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"destinationPort\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"destinationChannel\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"timeoutHeight\",\"type\":\"tuple\",\"internalType\":\"structHeight.Data\",\"components\":[{\"name\":\"revision_number\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"revision_height\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"timeoutTimestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"sendPacket\",\"inputs\":[{\"name\":\"message\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"sourcePort\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"sourceChannel\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"timeoutHeight\",\"type\":\"tuple\",\"internalType\":\"structHeight.Data\",\"components\":[{\"name\":\"revision_number\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"revision_height\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"timeoutTimestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"supportsInterface\",\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"writeAcknowledgement\",\"inputs\":[{\"name\":\"destinationPort\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"destinationChannel\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"sequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"IBCMockUnexpectedAcknowledgement\",\"inputs\":[{\"name\":\"actual\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"expected\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"type\":\"error\",\"name\":\"IBCMockUnexpectedPacket\",\"inputs\":[{\"name\":\"actual\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"type\":\"error\",\"name\":\"IBCMockUnexpectedVersion\",\"inputs\":[{\"name\":\"actual\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"expected\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"type\":\"error\",\"name\":\"IBCModuleChannelCloseNotAllowed\",\"inputs\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"type\":\"error\",\"name\":\"IBCModuleChannelOrderNotAllowed\",\"inputs\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"order\",\"type\":\"uint8\",\"internalType\":\"enumChannel.Order\"}]},{\"type\":\"error\",\"name\":\"IBCModuleInvalidSender\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"OwnableInvalidOwner\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"OwnableUnauthorizedAccount\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}]}]",
}

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 IIBCModuleInitializerMsgOnChanOpenInit added in v0.3.38

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

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

type IIBCModuleInitializerMsgOnChanOpenTry added in v0.3.38

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

IIBCModuleInitializerMsgOnChanOpenTry 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 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) CloseChannelAllowed added in v0.3.25

func (_Ibcmockapp *IbcmockappCaller) CloseChannelAllowed(opts *bind.CallOpts) (bool, error)

CloseChannelAllowed is a free data retrieval call binding the contract method 0x5a42d326.

Solidity: function closeChannelAllowed() view returns(bool)

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)

func (*IbcmockappCaller) OnRecvPacket added in v0.3.25

func (_Ibcmockapp *IbcmockappCaller) OnRecvPacket(opts *bind.CallOpts, packet Packet, arg1 common.Address) ([]byte, error)

OnRecvPacket is a free data retrieval call binding the contract method 0x2301c6f5.

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

func (*IbcmockappCaller) OnTimeoutPacket added in v0.3.25

func (_Ibcmockapp *IbcmockappCaller) OnTimeoutPacket(opts *bind.CallOpts, packet Packet, arg1 common.Address) error

OnTimeoutPacket is a free data retrieval call binding the contract method 0x52c7157d.

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

func (*IbcmockappCaller) Owner added in v0.3.25

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

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*IbcmockappCaller) SupportsInterface added in v0.3.33

func (_Ibcmockapp *IbcmockappCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

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) CloseChannelAllowed added in v0.3.25

func (_Ibcmockapp *IbcmockappCallerSession) CloseChannelAllowed() (bool, error)

CloseChannelAllowed is a free data retrieval call binding the contract method 0x5a42d326.

Solidity: function closeChannelAllowed() view returns(bool)

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)

func (*IbcmockappCallerSession) OnRecvPacket added in v0.3.25

func (_Ibcmockapp *IbcmockappCallerSession) OnRecvPacket(packet Packet, arg1 common.Address) ([]byte, error)

OnRecvPacket is a free data retrieval call binding the contract method 0x2301c6f5.

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

func (*IbcmockappCallerSession) OnTimeoutPacket added in v0.3.25

func (_Ibcmockapp *IbcmockappCallerSession) OnTimeoutPacket(packet Packet, arg1 common.Address) error

OnTimeoutPacket is a free data retrieval call binding the contract method 0x52c7157d.

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

func (*IbcmockappCallerSession) Owner added in v0.3.25

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

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*IbcmockappCallerSession) SupportsInterface added in v0.3.33

func (_Ibcmockapp *IbcmockappCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

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.

func (*IbcmockappFilterer) FilterOwnershipTransferred added in v0.3.25

func (_Ibcmockapp *IbcmockappFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*IbcmockappOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*IbcmockappFilterer) ParseOwnershipTransferred added in v0.3.25

func (_Ibcmockapp *IbcmockappFilterer) ParseOwnershipTransferred(log types.Log) (*IbcmockappOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*IbcmockappFilterer) WatchOwnershipTransferred added in v0.3.25

func (_Ibcmockapp *IbcmockappFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *IbcmockappOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type IbcmockappOwnershipTransferred added in v0.3.25

type IbcmockappOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

IbcmockappOwnershipTransferred represents a OwnershipTransferred event raised by the Ibcmockapp contract.

type IbcmockappOwnershipTransferredIterator added in v0.3.25

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

IbcmockappOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Ibcmockapp contract.

func (*IbcmockappOwnershipTransferredIterator) Close added in v0.3.25

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

func (*IbcmockappOwnershipTransferredIterator) Error added in v0.3.25

Error returns any retrieval or parsing error occurred during filtering.

func (*IbcmockappOwnershipTransferredIterator) Next added in v0.3.25

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 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) AllowCloseChannel added in v0.3.25

func (_Ibcmockapp *IbcmockappSession) AllowCloseChannel(allow bool) (*types.Transaction, error)

AllowCloseChannel is a paid mutator transaction binding the contract method 0x9cc3ca73.

Solidity: function allowCloseChannel(bool allow) returns()

func (*IbcmockappSession) CloseChannelAllowed added in v0.3.25

func (_Ibcmockapp *IbcmockappSession) CloseChannelAllowed() (bool, error)

CloseChannelAllowed is a free data retrieval call binding the contract method 0x5a42d326.

Solidity: function closeChannelAllowed() view returns(bool)

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 Packet, 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(msg_ IIBCModuleMsgOnChanCloseConfirm) (*types.Transaction, error)

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

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

func (*IbcmockappSession) OnChanCloseInit

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

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

Solidity: function onChanCloseInit((string,string) msg_) 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_ IIBCModuleInitializerMsgOnChanOpenInit) (*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(address, string)

func (*IbcmockappSession) OnChanOpenTry

func (_Ibcmockapp *IbcmockappSession) OnChanOpenTry(msg_ IIBCModuleInitializerMsgOnChanOpenTry) (*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(address, string)

func (*IbcmockappSession) OnRecvPacket

func (_Ibcmockapp *IbcmockappSession) OnRecvPacket(packet Packet, arg1 common.Address) ([]byte, error)

OnRecvPacket is a free data retrieval call binding the contract method 0x2301c6f5.

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

func (*IbcmockappSession) OnTimeoutPacket

func (_Ibcmockapp *IbcmockappSession) OnTimeoutPacket(packet Packet, arg1 common.Address) error

OnTimeoutPacket is a free data retrieval call binding the contract method 0x52c7157d.

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

func (*IbcmockappSession) Owner added in v0.3.25

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

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*IbcmockappSession) RenounceOwnership added in v0.3.25

func (_Ibcmockapp *IbcmockappSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() 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)

func (*IbcmockappSession) SupportsInterface added in v0.3.33

func (_Ibcmockapp *IbcmockappSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*IbcmockappSession) TransferOwnership added in v0.3.25

func (_Ibcmockapp *IbcmockappSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*IbcmockappSession) WriteAcknowledgement added in v0.3.25

func (_Ibcmockapp *IbcmockappSession) WriteAcknowledgement(destinationPort string, destinationChannel string, sequence uint64) (*types.Transaction, error)

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

Solidity: function writeAcknowledgement(string destinationPort, string destinationChannel, uint64 sequence) returns()

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) AllowCloseChannel added in v0.3.25

func (_Ibcmockapp *IbcmockappTransactor) AllowCloseChannel(opts *bind.TransactOpts, allow bool) (*types.Transaction, error)

AllowCloseChannel is a paid mutator transaction binding the contract method 0x9cc3ca73.

Solidity: function allowCloseChannel(bool allow) returns()

func (*IbcmockappTransactor) OnAcknowledgementPacket

func (_Ibcmockapp *IbcmockappTransactor) OnAcknowledgementPacket(opts *bind.TransactOpts, packet Packet, 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, msg_ IIBCModuleMsgOnChanCloseConfirm) (*types.Transaction, error)

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

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

func (*IbcmockappTransactor) OnChanCloseInit

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

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

Solidity: function onChanCloseInit((string,string) msg_) 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

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

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

func (*IbcmockappTransactor) OnChanOpenTry

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

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

func (*IbcmockappTransactor) RenounceOwnership added in v0.3.25

func (_Ibcmockapp *IbcmockappTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() 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)

func (*IbcmockappTransactor) TransferOwnership added in v0.3.25

func (_Ibcmockapp *IbcmockappTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*IbcmockappTransactor) WriteAcknowledgement added in v0.3.25

func (_Ibcmockapp *IbcmockappTransactor) WriteAcknowledgement(opts *bind.TransactOpts, destinationPort string, destinationChannel string, sequence uint64) (*types.Transaction, error)

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

Solidity: function writeAcknowledgement(string destinationPort, string destinationChannel, uint64 sequence) returns()

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) AllowCloseChannel added in v0.3.25

func (_Ibcmockapp *IbcmockappTransactorSession) AllowCloseChannel(allow bool) (*types.Transaction, error)

AllowCloseChannel is a paid mutator transaction binding the contract method 0x9cc3ca73.

Solidity: function allowCloseChannel(bool allow) returns()

func (*IbcmockappTransactorSession) OnAcknowledgementPacket

func (_Ibcmockapp *IbcmockappTransactorSession) OnAcknowledgementPacket(packet Packet, 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(msg_ IIBCModuleMsgOnChanCloseConfirm) (*types.Transaction, error)

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

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

func (*IbcmockappTransactorSession) OnChanCloseInit

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

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

Solidity: function onChanCloseInit((string,string) msg_) 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

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

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

func (*IbcmockappTransactorSession) OnChanOpenTry

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

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

func (*IbcmockappTransactorSession) RenounceOwnership added in v0.3.25

func (_Ibcmockapp *IbcmockappTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() 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)

func (*IbcmockappTransactorSession) TransferOwnership added in v0.3.25

func (_Ibcmockapp *IbcmockappTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*IbcmockappTransactorSession) WriteAcknowledgement added in v0.3.25

func (_Ibcmockapp *IbcmockappTransactorSession) WriteAcknowledgement(destinationPort string, destinationChannel string, sequence uint64) (*types.Transaction, error)

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

Solidity: function writeAcknowledgement(string destinationPort, string destinationChannel, uint64 sequence) returns()

type Packet added in v0.3.25

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

Packet 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