Documentation ¶
Index ¶
- Variables
- type AckPacket
- type Height
- type IbcEndpoint
- type IbcPacket
- type Moon
- type MoonCaller
- func (_Moon *MoonCaller) AckPackets(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Moon *MoonCaller) ConnectedChannels(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)
- func (_Moon *MoonCaller) Dispatcher(opts *bind.CallOpts) (common.Address, error)
- func (_Moon *MoonCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Moon *MoonCaller) RecvedPackets(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Moon *MoonCaller) SupportedVersions(opts *bind.CallOpts, arg0 *big.Int) (string, error)
- func (_Moon *MoonCaller) TimeoutPackets(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- type MoonCallerRaw
- type MoonCallerSession
- func (_Moon *MoonCallerSession) AckPackets(arg0 *big.Int) (struct{ ... }, error)
- func (_Moon *MoonCallerSession) ConnectedChannels(arg0 *big.Int) ([32]byte, error)
- func (_Moon *MoonCallerSession) Dispatcher() (common.Address, error)
- func (_Moon *MoonCallerSession) Owner() (common.Address, error)
- func (_Moon *MoonCallerSession) RecvedPackets(arg0 *big.Int) (struct{ ... }, error)
- func (_Moon *MoonCallerSession) SupportedVersions(arg0 *big.Int) (string, error)
- func (_Moon *MoonCallerSession) TimeoutPackets(arg0 *big.Int) (struct{ ... }, error)
- type MoonFilterer
- func (_Moon *MoonFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*MoonOwnershipTransferredIterator, error)
- func (_Moon *MoonFilterer) ParseOwnershipTransferred(log types.Log) (*MoonOwnershipTransferred, error)
- func (_Moon *MoonFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MoonOwnershipTransferred, ...) (event.Subscription, error)
- type MoonOwnershipTransferred
- type MoonOwnershipTransferredIterator
- type MoonRaw
- func (_Moon *MoonRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Moon *MoonRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Moon *MoonRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MoonSession
- func (_Moon *MoonSession) AckPackets(arg0 *big.Int) (struct{ ... }, error)
- func (_Moon *MoonSession) ConnectedChannels(arg0 *big.Int) ([32]byte, error)
- func (_Moon *MoonSession) Dispatcher() (common.Address, error)
- func (_Moon *MoonSession) Greet(message string, channelId [32]byte, timeoutTimestamp uint64) (*types.Transaction, error)
- func (_Moon *MoonSession) GreetWithFee(message string, channelId [32]byte, timeoutTimestamp uint64, ...) (*types.Transaction, error)
- func (_Moon *MoonSession) OnAcknowledgementPacket(arg0 IbcPacket, ack AckPacket) (*types.Transaction, error)
- func (_Moon *MoonSession) OnChanCloseConfirm(channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
- func (_Moon *MoonSession) OnChanCloseInit(channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
- func (_Moon *MoonSession) OnChanOpenAck(channelId [32]byte, arg1 [32]byte, counterpartyVersion string) (*types.Transaction, error)
- func (_Moon *MoonSession) OnChanOpenConfirm(channelId [32]byte) (*types.Transaction, error)
- func (_Moon *MoonSession) OnChanOpenTry(arg0 uint8, arg1 []string, channelId [32]byte, arg3 string, arg4 [32]byte, ...) (*types.Transaction, error)
- func (_Moon *MoonSession) OnRecvPacket(packet IbcPacket) (*types.Transaction, error)
- func (_Moon *MoonSession) OnTimeoutPacket(packet IbcPacket) (*types.Transaction, error)
- func (_Moon *MoonSession) Owner() (common.Address, error)
- func (_Moon *MoonSession) Receive() (*types.Transaction, error)
- func (_Moon *MoonSession) RecvedPackets(arg0 *big.Int) (struct{ ... }, error)
- func (_Moon *MoonSession) RenounceOwnership() (*types.Transaction, error)
- func (_Moon *MoonSession) SupportedVersions(arg0 *big.Int) (string, error)
- func (_Moon *MoonSession) TimeoutPackets(arg0 *big.Int) (struct{ ... }, error)
- func (_Moon *MoonSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Moon *MoonSession) TriggerChannelClose(channelId [32]byte) (*types.Transaction, error)
- func (_Moon *MoonSession) TriggerChannelInit(version string, ordering uint8, feeEnabled bool, connectionHops []string, ...) (*types.Transaction, error)
- func (_Moon *MoonSession) TriggerChannelInitWithFee(version string, ordering uint8, feeEnabled bool, connectionHops []string, ...) (*types.Transaction, error)
- type MoonTransactor
- func (_Moon *MoonTransactor) Greet(opts *bind.TransactOpts, message string, channelId [32]byte, ...) (*types.Transaction, error)
- func (_Moon *MoonTransactor) GreetWithFee(opts *bind.TransactOpts, message string, channelId [32]byte, ...) (*types.Transaction, error)
- func (_Moon *MoonTransactor) OnAcknowledgementPacket(opts *bind.TransactOpts, arg0 IbcPacket, ack AckPacket) (*types.Transaction, error)
- func (_Moon *MoonTransactor) OnChanCloseConfirm(opts *bind.TransactOpts, channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
- func (_Moon *MoonTransactor) OnChanCloseInit(opts *bind.TransactOpts, channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
- func (_Moon *MoonTransactor) OnChanOpenAck(opts *bind.TransactOpts, channelId [32]byte, arg1 [32]byte, ...) (*types.Transaction, error)
- func (_Moon *MoonTransactor) OnChanOpenConfirm(opts *bind.TransactOpts, channelId [32]byte) (*types.Transaction, error)
- func (_Moon *MoonTransactor) OnChanOpenTry(opts *bind.TransactOpts, arg0 uint8, arg1 []string, channelId [32]byte, ...) (*types.Transaction, error)
- func (_Moon *MoonTransactor) OnRecvPacket(opts *bind.TransactOpts, packet IbcPacket) (*types.Transaction, error)
- func (_Moon *MoonTransactor) OnTimeoutPacket(opts *bind.TransactOpts, packet IbcPacket) (*types.Transaction, error)
- func (_Moon *MoonTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Moon *MoonTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Moon *MoonTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Moon *MoonTransactor) TriggerChannelClose(opts *bind.TransactOpts, channelId [32]byte) (*types.Transaction, error)
- func (_Moon *MoonTransactor) TriggerChannelInit(opts *bind.TransactOpts, version string, ordering uint8, feeEnabled bool, ...) (*types.Transaction, error)
- func (_Moon *MoonTransactor) TriggerChannelInitWithFee(opts *bind.TransactOpts, version string, ordering uint8, feeEnabled bool, ...) (*types.Transaction, error)
- type MoonTransactorRaw
- type MoonTransactorSession
- func (_Moon *MoonTransactorSession) Greet(message string, channelId [32]byte, timeoutTimestamp uint64) (*types.Transaction, error)
- func (_Moon *MoonTransactorSession) GreetWithFee(message string, channelId [32]byte, timeoutTimestamp uint64, ...) (*types.Transaction, error)
- func (_Moon *MoonTransactorSession) OnAcknowledgementPacket(arg0 IbcPacket, ack AckPacket) (*types.Transaction, error)
- func (_Moon *MoonTransactorSession) OnChanCloseConfirm(channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
- func (_Moon *MoonTransactorSession) OnChanCloseInit(channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
- func (_Moon *MoonTransactorSession) OnChanOpenAck(channelId [32]byte, arg1 [32]byte, counterpartyVersion string) (*types.Transaction, error)
- func (_Moon *MoonTransactorSession) OnChanOpenConfirm(channelId [32]byte) (*types.Transaction, error)
- func (_Moon *MoonTransactorSession) OnChanOpenTry(arg0 uint8, arg1 []string, channelId [32]byte, arg3 string, arg4 [32]byte, ...) (*types.Transaction, error)
- func (_Moon *MoonTransactorSession) OnRecvPacket(packet IbcPacket) (*types.Transaction, error)
- func (_Moon *MoonTransactorSession) OnTimeoutPacket(packet IbcPacket) (*types.Transaction, error)
- func (_Moon *MoonTransactorSession) Receive() (*types.Transaction, error)
- func (_Moon *MoonTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Moon *MoonTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Moon *MoonTransactorSession) TriggerChannelClose(channelId [32]byte) (*types.Transaction, error)
- func (_Moon *MoonTransactorSession) TriggerChannelInit(version string, ordering uint8, feeEnabled bool, connectionHops []string, ...) (*types.Transaction, error)
- func (_Moon *MoonTransactorSession) TriggerChannelInitWithFee(version string, ordering uint8, feeEnabled bool, connectionHops []string, ...) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var MoonABI = MoonMetaData.ABI
MoonABI is the input ABI used to generate the binding from. Deprecated: Use MoonMetaData.ABI instead.
var MoonMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_dispatcher\",\"type\":\"address\",\"internalType\":\"contractIbcDispatcher\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"receive\",\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"ackPackets\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"success\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"connectedChannels\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"dispatcher\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIbcDispatcher\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"greet\",\"inputs\":[{\"name\":\"message\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"timeoutTimestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"outputs\":[{\"name\":\"sequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"greetWithFee\",\"inputs\":[{\"name\":\"message\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"timeoutTimestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"gasLimits\",\"type\":\"uint256[2]\",\"internalType\":\"uint256[2]\"},{\"name\":\"gasPrices\",\"type\":\"uint256[2]\",\"internalType\":\"uint256[2]\"}],\"outputs\":[{\"name\":\"sequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"onAcknowledgementPacket\",\"inputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structIbcPacket\",\"components\":[{\"name\":\"src\",\"type\":\"tuple\",\"internalType\":\"structIbcEndpoint\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"dest\",\"type\":\"tuple\",\"internalType\":\"structIbcEndpoint\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"sequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"timeoutHeight\",\"type\":\"tuple\",\"internalType\":\"structHeight\",\"components\":[{\"name\":\"revision_number\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"revision_height\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"timeoutTimestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"ack\",\"type\":\"tuple\",\"internalType\":\"structAckPacket\",\"components\":[{\"name\":\"success\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanCloseConfirm\",\"inputs\":[{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanCloseInit\",\"inputs\":[{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanOpenAck\",\"inputs\":[{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"counterpartyVersion\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanOpenConfirm\",\"inputs\":[{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanOpenTry\",\"inputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"enumChannelOrder\"},{\"name\":\"\",\"type\":\"string[]\",\"internalType\":\"string[]\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"counterpartyVersion\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[{\"name\":\"selectedVersion\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onRecvPacket\",\"inputs\":[{\"name\":\"packet\",\"type\":\"tuple\",\"internalType\":\"structIbcPacket\",\"components\":[{\"name\":\"src\",\"type\":\"tuple\",\"internalType\":\"structIbcEndpoint\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"dest\",\"type\":\"tuple\",\"internalType\":\"structIbcEndpoint\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"sequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"timeoutHeight\",\"type\":\"tuple\",\"internalType\":\"structHeight\",\"components\":[{\"name\":\"revision_number\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"revision_height\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"timeoutTimestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]}],\"outputs\":[{\"name\":\"ackPacket\",\"type\":\"tuple\",\"internalType\":\"structAckPacket\",\"components\":[{\"name\":\"success\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onTimeoutPacket\",\"inputs\":[{\"name\":\"packet\",\"type\":\"tuple\",\"internalType\":\"structIbcPacket\",\"components\":[{\"name\":\"src\",\"type\":\"tuple\",\"internalType\":\"structIbcEndpoint\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"dest\",\"type\":\"tuple\",\"internalType\":\"structIbcEndpoint\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"sequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"timeoutHeight\",\"type\":\"tuple\",\"internalType\":\"structHeight\",\"components\":[{\"name\":\"revision_number\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"revision_height\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"timeoutTimestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"recvedPackets\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"src\",\"type\":\"tuple\",\"internalType\":\"structIbcEndpoint\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"dest\",\"type\":\"tuple\",\"internalType\":\"structIbcEndpoint\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"sequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"timeoutHeight\",\"type\":\"tuple\",\"internalType\":\"structHeight\",\"components\":[{\"name\":\"revision_number\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"revision_height\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"timeoutTimestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"supportedVersions\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"timeoutPackets\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"src\",\"type\":\"tuple\",\"internalType\":\"structIbcEndpoint\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"dest\",\"type\":\"tuple\",\"internalType\":\"structIbcEndpoint\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"name\":\"sequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"timeoutHeight\",\"type\":\"tuple\",\"internalType\":\"structHeight\",\"components\":[{\"name\":\"revision_number\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"revision_height\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"timeoutTimestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"triggerChannelClose\",\"inputs\":[{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"triggerChannelInit\",\"inputs\":[{\"name\":\"version\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"ordering\",\"type\":\"uint8\",\"internalType\":\"enumChannelOrder\"},{\"name\":\"feeEnabled\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"connectionHops\",\"type\":\"string[]\",\"internalType\":\"string[]\"},{\"name\":\"counterpartyPortId\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"triggerChannelInitWithFee\",\"inputs\":[{\"name\":\"version\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"ordering\",\"type\":\"uint8\",\"internalType\":\"enumChannelOrder\"},{\"name\":\"feeEnabled\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"connectionHops\",\"type\":\"string[]\",\"internalType\":\"string[]\"},{\"name\":\"counterpartyPortId\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"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\":\"ChannelNotFound\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"UnsupportedVersion\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"notIbcDispatcher\",\"inputs\":[]}]",
}
MoonMetaData contains all meta data concerning the Moon contract.
Functions ¶
This section is empty.
Types ¶
type IbcEndpoint ¶
IbcEndpoint is an auto generated low-level Go binding around an user-defined struct.
type IbcPacket ¶
type IbcPacket struct { Src IbcEndpoint Dest IbcEndpoint Sequence uint64 Data []byte TimeoutHeight Height TimeoutTimestamp uint64 }
IbcPacket is an auto generated low-level Go binding around an user-defined struct.
type Moon ¶
type Moon struct { MoonCaller // Read-only binding to the contract MoonTransactor // Write-only binding to the contract MoonFilterer // Log filterer for contract events }
Moon is an auto generated Go binding around an Ethereum contract.
type MoonCaller ¶
type MoonCaller struct {
// contains filtered or unexported fields
}
MoonCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMoonCaller ¶
func NewMoonCaller(address common.Address, caller bind.ContractCaller) (*MoonCaller, error)
NewMoonCaller creates a new read-only instance of Moon, bound to a specific deployed contract.
func (*MoonCaller) AckPackets ¶
func (_Moon *MoonCaller) AckPackets(opts *bind.CallOpts, arg0 *big.Int) (struct { Success bool Data []byte }, error)
AckPackets is a free data retrieval call binding the contract method 0x4252ae9b.
Solidity: function ackPackets(uint256 ) view returns(bool success, bytes data)
func (*MoonCaller) ConnectedChannels ¶
ConnectedChannels is a free data retrieval call binding the contract method 0xbb3f9f8d.
Solidity: function connectedChannels(uint256 ) view returns(bytes32)
func (*MoonCaller) Dispatcher ¶
Dispatcher is a free data retrieval call binding the contract method 0xcb7e9057.
Solidity: function dispatcher() view returns(address)
func (*MoonCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*MoonCaller) RecvedPackets ¶
func (_Moon *MoonCaller) RecvedPackets(opts *bind.CallOpts, arg0 *big.Int) (struct { Src IbcEndpoint Dest IbcEndpoint Sequence uint64 Data []byte TimeoutHeight Height TimeoutTimestamp uint64 }, error)
RecvedPackets is a free data retrieval call binding the contract method 0xf12b758a.
Solidity: function recvedPackets(uint256 ) view returns((string,bytes32) src, (string,bytes32) dest, uint64 sequence, bytes data, (uint64,uint64) timeoutHeight, uint64 timeoutTimestamp)
func (*MoonCaller) SupportedVersions ¶
SupportedVersions is a free data retrieval call binding the contract method 0x7d622184.
Solidity: function supportedVersions(uint256 ) view returns(string)
func (*MoonCaller) TimeoutPackets ¶
func (_Moon *MoonCaller) TimeoutPackets(opts *bind.CallOpts, arg0 *big.Int) (struct { Src IbcEndpoint Dest IbcEndpoint Sequence uint64 Data []byte TimeoutHeight Height TimeoutTimestamp uint64 }, error)
TimeoutPackets is a free data retrieval call binding the contract method 0x4eeb7391.
Solidity: function timeoutPackets(uint256 ) view returns((string,bytes32) src, (string,bytes32) dest, uint64 sequence, bytes data, (uint64,uint64) timeoutHeight, uint64 timeoutTimestamp)
type MoonCallerRaw ¶
type MoonCallerRaw struct {
Contract *MoonCaller // Generic read-only contract binding to access the raw methods on
}
MoonCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MoonCallerRaw) Call ¶
func (_Moon *MoonCallerRaw) 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 MoonCallerSession ¶
type MoonCallerSession struct { Contract *MoonCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MoonCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MoonCallerSession) AckPackets ¶
func (_Moon *MoonCallerSession) AckPackets(arg0 *big.Int) (struct { Success bool Data []byte }, error)
AckPackets is a free data retrieval call binding the contract method 0x4252ae9b.
Solidity: function ackPackets(uint256 ) view returns(bool success, bytes data)
func (*MoonCallerSession) ConnectedChannels ¶
func (_Moon *MoonCallerSession) ConnectedChannels(arg0 *big.Int) ([32]byte, error)
ConnectedChannels is a free data retrieval call binding the contract method 0xbb3f9f8d.
Solidity: function connectedChannels(uint256 ) view returns(bytes32)
func (*MoonCallerSession) Dispatcher ¶
func (_Moon *MoonCallerSession) Dispatcher() (common.Address, error)
Dispatcher is a free data retrieval call binding the contract method 0xcb7e9057.
Solidity: function dispatcher() view returns(address)
func (*MoonCallerSession) Owner ¶
func (_Moon *MoonCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*MoonCallerSession) RecvedPackets ¶
func (_Moon *MoonCallerSession) RecvedPackets(arg0 *big.Int) (struct { Src IbcEndpoint Dest IbcEndpoint Sequence uint64 Data []byte TimeoutHeight Height TimeoutTimestamp uint64 }, error)
RecvedPackets is a free data retrieval call binding the contract method 0xf12b758a.
Solidity: function recvedPackets(uint256 ) view returns((string,bytes32) src, (string,bytes32) dest, uint64 sequence, bytes data, (uint64,uint64) timeoutHeight, uint64 timeoutTimestamp)
func (*MoonCallerSession) SupportedVersions ¶
func (_Moon *MoonCallerSession) SupportedVersions(arg0 *big.Int) (string, error)
SupportedVersions is a free data retrieval call binding the contract method 0x7d622184.
Solidity: function supportedVersions(uint256 ) view returns(string)
func (*MoonCallerSession) TimeoutPackets ¶
func (_Moon *MoonCallerSession) TimeoutPackets(arg0 *big.Int) (struct { Src IbcEndpoint Dest IbcEndpoint Sequence uint64 Data []byte TimeoutHeight Height TimeoutTimestamp uint64 }, error)
TimeoutPackets is a free data retrieval call binding the contract method 0x4eeb7391.
Solidity: function timeoutPackets(uint256 ) view returns((string,bytes32) src, (string,bytes32) dest, uint64 sequence, bytes data, (uint64,uint64) timeoutHeight, uint64 timeoutTimestamp)
type MoonFilterer ¶
type MoonFilterer struct {
// contains filtered or unexported fields
}
MoonFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMoonFilterer ¶
func NewMoonFilterer(address common.Address, filterer bind.ContractFilterer) (*MoonFilterer, error)
NewMoonFilterer creates a new log filterer instance of Moon, bound to a specific deployed contract.
func (*MoonFilterer) FilterOwnershipTransferred ¶
func (_Moon *MoonFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MoonOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*MoonFilterer) ParseOwnershipTransferred ¶
func (_Moon *MoonFilterer) ParseOwnershipTransferred(log types.Log) (*MoonOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*MoonFilterer) WatchOwnershipTransferred ¶
func (_Moon *MoonFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MoonOwnershipTransferred, 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 MoonOwnershipTransferred ¶
type MoonOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
MoonOwnershipTransferred represents a OwnershipTransferred event raised by the Moon contract.
type MoonOwnershipTransferredIterator ¶
type MoonOwnershipTransferredIterator struct { Event *MoonOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MoonOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Moon contract.
func (*MoonOwnershipTransferredIterator) Close ¶
func (it *MoonOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MoonOwnershipTransferredIterator) Error ¶
func (it *MoonOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MoonOwnershipTransferredIterator) Next ¶
func (it *MoonOwnershipTransferredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type MoonRaw ¶
type MoonRaw struct {
Contract *Moon // Generic contract binding to access the raw methods on
}
MoonRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MoonRaw) Call ¶
func (_Moon *MoonRaw) 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 (*MoonRaw) Transact ¶
func (_Moon *MoonRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MoonRaw) Transfer ¶
func (_Moon *MoonRaw) 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 MoonSession ¶
type MoonSession struct { Contract *Moon // 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 }
MoonSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MoonSession) AckPackets ¶
AckPackets is a free data retrieval call binding the contract method 0x4252ae9b.
Solidity: function ackPackets(uint256 ) view returns(bool success, bytes data)
func (*MoonSession) ConnectedChannels ¶
func (_Moon *MoonSession) ConnectedChannels(arg0 *big.Int) ([32]byte, error)
ConnectedChannels is a free data retrieval call binding the contract method 0xbb3f9f8d.
Solidity: function connectedChannels(uint256 ) view returns(bytes32)
func (*MoonSession) Dispatcher ¶
func (_Moon *MoonSession) Dispatcher() (common.Address, error)
Dispatcher is a free data retrieval call binding the contract method 0xcb7e9057.
Solidity: function dispatcher() view returns(address)
func (*MoonSession) Greet ¶
func (_Moon *MoonSession) Greet(message string, channelId [32]byte, timeoutTimestamp uint64) (*types.Transaction, error)
Greet is a paid mutator transaction binding the contract method 0x5bfd12b8.
Solidity: function greet(string message, bytes32 channelId, uint64 timeoutTimestamp) returns(uint64 sequence)
func (*MoonSession) GreetWithFee ¶
func (_Moon *MoonSession) GreetWithFee(message string, channelId [32]byte, timeoutTimestamp uint64, gasLimits [2]*big.Int, gasPrices [2]*big.Int) (*types.Transaction, error)
GreetWithFee is a paid mutator transaction binding the contract method 0x3513a995.
Solidity: function greetWithFee(string message, bytes32 channelId, uint64 timeoutTimestamp, uint256[2] gasLimits, uint256[2] gasPrices) payable returns(uint64 sequence)
func (*MoonSession) OnAcknowledgementPacket ¶
func (_Moon *MoonSession) OnAcknowledgementPacket(arg0 IbcPacket, ack AckPacket) (*types.Transaction, error)
OnAcknowledgementPacket is a paid mutator transaction binding the contract method 0x7e1d42b5.
Solidity: function onAcknowledgementPacket(((string,bytes32),(string,bytes32),uint64,bytes,(uint64,uint64),uint64) , (bool,bytes) ack) returns()
func (*MoonSession) OnChanCloseConfirm ¶
func (_Moon *MoonSession) OnChanCloseConfirm(channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
OnChanCloseConfirm is a paid mutator transaction binding the contract method 0x3f9fdbe4.
Solidity: function onChanCloseConfirm(bytes32 channelId, string , bytes32 ) returns()
func (*MoonSession) OnChanCloseInit ¶
func (_Moon *MoonSession) OnChanCloseInit(channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
OnChanCloseInit is a paid mutator transaction binding the contract method 0x1eb7dd5e.
Solidity: function onChanCloseInit(bytes32 channelId, string , bytes32 ) returns()
func (*MoonSession) OnChanOpenAck ¶
func (_Moon *MoonSession) OnChanOpenAck(channelId [32]byte, arg1 [32]byte, counterpartyVersion string) (*types.Transaction, error)
OnChanOpenAck is a paid mutator transaction binding the contract method 0xe847e280.
Solidity: function onChanOpenAck(bytes32 channelId, bytes32 , string counterpartyVersion) returns()
func (*MoonSession) OnChanOpenConfirm ¶
func (_Moon *MoonSession) OnChanOpenConfirm(channelId [32]byte) (*types.Transaction, error)
OnChanOpenConfirm is a paid mutator transaction binding the contract method 0xfad28a24.
Solidity: function onChanOpenConfirm(bytes32 channelId) returns()
func (*MoonSession) OnChanOpenTry ¶
func (_Moon *MoonSession) OnChanOpenTry(arg0 uint8, arg1 []string, channelId [32]byte, arg3 string, arg4 [32]byte, counterpartyVersion string) (*types.Transaction, error)
OnChanOpenTry is a paid mutator transaction binding the contract method 0x4bdb5597.
Solidity: function onChanOpenTry(uint8 , string[] , bytes32 channelId, string , bytes32 , string counterpartyVersion) returns(string selectedVersion)
func (*MoonSession) OnRecvPacket ¶
func (_Moon *MoonSession) OnRecvPacket(packet IbcPacket) (*types.Transaction, error)
OnRecvPacket is a paid mutator transaction binding the contract method 0x4dcc0aa6.
Solidity: function onRecvPacket(((string,bytes32),(string,bytes32),uint64,bytes,(uint64,uint64),uint64) packet) returns((bool,bytes) ackPacket)
func (*MoonSession) OnTimeoutPacket ¶
func (_Moon *MoonSession) OnTimeoutPacket(packet IbcPacket) (*types.Transaction, error)
OnTimeoutPacket is a paid mutator transaction binding the contract method 0x602f9834.
Solidity: function onTimeoutPacket(((string,bytes32),(string,bytes32),uint64,bytes,(uint64,uint64),uint64) packet) returns()
func (*MoonSession) Owner ¶
func (_Moon *MoonSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*MoonSession) Receive ¶
func (_Moon *MoonSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*MoonSession) RecvedPackets ¶
func (_Moon *MoonSession) RecvedPackets(arg0 *big.Int) (struct { Src IbcEndpoint Dest IbcEndpoint Sequence uint64 Data []byte TimeoutHeight Height TimeoutTimestamp uint64 }, error)
RecvedPackets is a free data retrieval call binding the contract method 0xf12b758a.
Solidity: function recvedPackets(uint256 ) view returns((string,bytes32) src, (string,bytes32) dest, uint64 sequence, bytes data, (uint64,uint64) timeoutHeight, uint64 timeoutTimestamp)
func (*MoonSession) RenounceOwnership ¶
func (_Moon *MoonSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*MoonSession) SupportedVersions ¶
func (_Moon *MoonSession) SupportedVersions(arg0 *big.Int) (string, error)
SupportedVersions is a free data retrieval call binding the contract method 0x7d622184.
Solidity: function supportedVersions(uint256 ) view returns(string)
func (*MoonSession) TimeoutPackets ¶
func (_Moon *MoonSession) TimeoutPackets(arg0 *big.Int) (struct { Src IbcEndpoint Dest IbcEndpoint Sequence uint64 Data []byte TimeoutHeight Height TimeoutTimestamp uint64 }, error)
TimeoutPackets is a free data retrieval call binding the contract method 0x4eeb7391.
Solidity: function timeoutPackets(uint256 ) view returns((string,bytes32) src, (string,bytes32) dest, uint64 sequence, bytes data, (uint64,uint64) timeoutHeight, uint64 timeoutTimestamp)
func (*MoonSession) TransferOwnership ¶
func (_Moon *MoonSession) 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 (*MoonSession) TriggerChannelClose ¶
func (_Moon *MoonSession) TriggerChannelClose(channelId [32]byte) (*types.Transaction, error)
TriggerChannelClose is a paid mutator transaction binding the contract method 0x558850ac.
Solidity: function triggerChannelClose(bytes32 channelId) returns()
func (*MoonSession) TriggerChannelInit ¶
func (_Moon *MoonSession) TriggerChannelInit(version string, ordering uint8, feeEnabled bool, connectionHops []string, counterpartyPortId string) (*types.Transaction, error)
TriggerChannelInit is a paid mutator transaction binding the contract method 0x7a805598.
Solidity: function triggerChannelInit(string version, uint8 ordering, bool feeEnabled, string[] connectionHops, string counterpartyPortId) returns()
func (*MoonSession) TriggerChannelInitWithFee ¶
func (_Moon *MoonSession) TriggerChannelInitWithFee(version string, ordering uint8, feeEnabled bool, connectionHops []string, counterpartyPortId string) (*types.Transaction, error)
TriggerChannelInitWithFee is a paid mutator transaction binding the contract method 0x61995001.
Solidity: function triggerChannelInitWithFee(string version, uint8 ordering, bool feeEnabled, string[] connectionHops, string counterpartyPortId) payable returns()
type MoonTransactor ¶
type MoonTransactor struct {
// contains filtered or unexported fields
}
MoonTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMoonTransactor ¶
func NewMoonTransactor(address common.Address, transactor bind.ContractTransactor) (*MoonTransactor, error)
NewMoonTransactor creates a new write-only instance of Moon, bound to a specific deployed contract.
func (*MoonTransactor) Greet ¶
func (_Moon *MoonTransactor) Greet(opts *bind.TransactOpts, message string, channelId [32]byte, timeoutTimestamp uint64) (*types.Transaction, error)
Greet is a paid mutator transaction binding the contract method 0x5bfd12b8.
Solidity: function greet(string message, bytes32 channelId, uint64 timeoutTimestamp) returns(uint64 sequence)
func (*MoonTransactor) GreetWithFee ¶
func (_Moon *MoonTransactor) GreetWithFee(opts *bind.TransactOpts, message string, channelId [32]byte, timeoutTimestamp uint64, gasLimits [2]*big.Int, gasPrices [2]*big.Int) (*types.Transaction, error)
GreetWithFee is a paid mutator transaction binding the contract method 0x3513a995.
Solidity: function greetWithFee(string message, bytes32 channelId, uint64 timeoutTimestamp, uint256[2] gasLimits, uint256[2] gasPrices) payable returns(uint64 sequence)
func (*MoonTransactor) OnAcknowledgementPacket ¶
func (_Moon *MoonTransactor) OnAcknowledgementPacket(opts *bind.TransactOpts, arg0 IbcPacket, ack AckPacket) (*types.Transaction, error)
OnAcknowledgementPacket is a paid mutator transaction binding the contract method 0x7e1d42b5.
Solidity: function onAcknowledgementPacket(((string,bytes32),(string,bytes32),uint64,bytes,(uint64,uint64),uint64) , (bool,bytes) ack) returns()
func (*MoonTransactor) OnChanCloseConfirm ¶
func (_Moon *MoonTransactor) OnChanCloseConfirm(opts *bind.TransactOpts, channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
OnChanCloseConfirm is a paid mutator transaction binding the contract method 0x3f9fdbe4.
Solidity: function onChanCloseConfirm(bytes32 channelId, string , bytes32 ) returns()
func (*MoonTransactor) OnChanCloseInit ¶
func (_Moon *MoonTransactor) OnChanCloseInit(opts *bind.TransactOpts, channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
OnChanCloseInit is a paid mutator transaction binding the contract method 0x1eb7dd5e.
Solidity: function onChanCloseInit(bytes32 channelId, string , bytes32 ) returns()
func (*MoonTransactor) OnChanOpenAck ¶
func (_Moon *MoonTransactor) OnChanOpenAck(opts *bind.TransactOpts, channelId [32]byte, arg1 [32]byte, counterpartyVersion string) (*types.Transaction, error)
OnChanOpenAck is a paid mutator transaction binding the contract method 0xe847e280.
Solidity: function onChanOpenAck(bytes32 channelId, bytes32 , string counterpartyVersion) returns()
func (*MoonTransactor) OnChanOpenConfirm ¶
func (_Moon *MoonTransactor) OnChanOpenConfirm(opts *bind.TransactOpts, channelId [32]byte) (*types.Transaction, error)
OnChanOpenConfirm is a paid mutator transaction binding the contract method 0xfad28a24.
Solidity: function onChanOpenConfirm(bytes32 channelId) returns()
func (*MoonTransactor) OnChanOpenTry ¶
func (_Moon *MoonTransactor) OnChanOpenTry(opts *bind.TransactOpts, arg0 uint8, arg1 []string, channelId [32]byte, arg3 string, arg4 [32]byte, counterpartyVersion string) (*types.Transaction, error)
OnChanOpenTry is a paid mutator transaction binding the contract method 0x4bdb5597.
Solidity: function onChanOpenTry(uint8 , string[] , bytes32 channelId, string , bytes32 , string counterpartyVersion) returns(string selectedVersion)
func (*MoonTransactor) OnRecvPacket ¶
func (_Moon *MoonTransactor) OnRecvPacket(opts *bind.TransactOpts, packet IbcPacket) (*types.Transaction, error)
OnRecvPacket is a paid mutator transaction binding the contract method 0x4dcc0aa6.
Solidity: function onRecvPacket(((string,bytes32),(string,bytes32),uint64,bytes,(uint64,uint64),uint64) packet) returns((bool,bytes) ackPacket)
func (*MoonTransactor) OnTimeoutPacket ¶
func (_Moon *MoonTransactor) OnTimeoutPacket(opts *bind.TransactOpts, packet IbcPacket) (*types.Transaction, error)
OnTimeoutPacket is a paid mutator transaction binding the contract method 0x602f9834.
Solidity: function onTimeoutPacket(((string,bytes32),(string,bytes32),uint64,bytes,(uint64,uint64),uint64) packet) returns()
func (*MoonTransactor) Receive ¶
func (_Moon *MoonTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*MoonTransactor) RenounceOwnership ¶
func (_Moon *MoonTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*MoonTransactor) TransferOwnership ¶
func (_Moon *MoonTransactor) 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 (*MoonTransactor) TriggerChannelClose ¶
func (_Moon *MoonTransactor) TriggerChannelClose(opts *bind.TransactOpts, channelId [32]byte) (*types.Transaction, error)
TriggerChannelClose is a paid mutator transaction binding the contract method 0x558850ac.
Solidity: function triggerChannelClose(bytes32 channelId) returns()
func (*MoonTransactor) TriggerChannelInit ¶
func (_Moon *MoonTransactor) TriggerChannelInit(opts *bind.TransactOpts, version string, ordering uint8, feeEnabled bool, connectionHops []string, counterpartyPortId string) (*types.Transaction, error)
TriggerChannelInit is a paid mutator transaction binding the contract method 0x7a805598.
Solidity: function triggerChannelInit(string version, uint8 ordering, bool feeEnabled, string[] connectionHops, string counterpartyPortId) returns()
func (*MoonTransactor) TriggerChannelInitWithFee ¶
func (_Moon *MoonTransactor) TriggerChannelInitWithFee(opts *bind.TransactOpts, version string, ordering uint8, feeEnabled bool, connectionHops []string, counterpartyPortId string) (*types.Transaction, error)
TriggerChannelInitWithFee is a paid mutator transaction binding the contract method 0x61995001.
Solidity: function triggerChannelInitWithFee(string version, uint8 ordering, bool feeEnabled, string[] connectionHops, string counterpartyPortId) payable returns()
type MoonTransactorRaw ¶
type MoonTransactorRaw struct {
Contract *MoonTransactor // Generic write-only contract binding to access the raw methods on
}
MoonTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MoonTransactorRaw) Transact ¶
func (_Moon *MoonTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MoonTransactorRaw) Transfer ¶
func (_Moon *MoonTransactorRaw) 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 MoonTransactorSession ¶
type MoonTransactorSession struct { Contract *MoonTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MoonTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MoonTransactorSession) Greet ¶
func (_Moon *MoonTransactorSession) Greet(message string, channelId [32]byte, timeoutTimestamp uint64) (*types.Transaction, error)
Greet is a paid mutator transaction binding the contract method 0x5bfd12b8.
Solidity: function greet(string message, bytes32 channelId, uint64 timeoutTimestamp) returns(uint64 sequence)
func (*MoonTransactorSession) GreetWithFee ¶
func (_Moon *MoonTransactorSession) GreetWithFee(message string, channelId [32]byte, timeoutTimestamp uint64, gasLimits [2]*big.Int, gasPrices [2]*big.Int) (*types.Transaction, error)
GreetWithFee is a paid mutator transaction binding the contract method 0x3513a995.
Solidity: function greetWithFee(string message, bytes32 channelId, uint64 timeoutTimestamp, uint256[2] gasLimits, uint256[2] gasPrices) payable returns(uint64 sequence)
func (*MoonTransactorSession) OnAcknowledgementPacket ¶
func (_Moon *MoonTransactorSession) OnAcknowledgementPacket(arg0 IbcPacket, ack AckPacket) (*types.Transaction, error)
OnAcknowledgementPacket is a paid mutator transaction binding the contract method 0x7e1d42b5.
Solidity: function onAcknowledgementPacket(((string,bytes32),(string,bytes32),uint64,bytes,(uint64,uint64),uint64) , (bool,bytes) ack) returns()
func (*MoonTransactorSession) OnChanCloseConfirm ¶
func (_Moon *MoonTransactorSession) OnChanCloseConfirm(channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
OnChanCloseConfirm is a paid mutator transaction binding the contract method 0x3f9fdbe4.
Solidity: function onChanCloseConfirm(bytes32 channelId, string , bytes32 ) returns()
func (*MoonTransactorSession) OnChanCloseInit ¶
func (_Moon *MoonTransactorSession) OnChanCloseInit(channelId [32]byte, arg1 string, arg2 [32]byte) (*types.Transaction, error)
OnChanCloseInit is a paid mutator transaction binding the contract method 0x1eb7dd5e.
Solidity: function onChanCloseInit(bytes32 channelId, string , bytes32 ) returns()
func (*MoonTransactorSession) OnChanOpenAck ¶
func (_Moon *MoonTransactorSession) OnChanOpenAck(channelId [32]byte, arg1 [32]byte, counterpartyVersion string) (*types.Transaction, error)
OnChanOpenAck is a paid mutator transaction binding the contract method 0xe847e280.
Solidity: function onChanOpenAck(bytes32 channelId, bytes32 , string counterpartyVersion) returns()
func (*MoonTransactorSession) OnChanOpenConfirm ¶
func (_Moon *MoonTransactorSession) OnChanOpenConfirm(channelId [32]byte) (*types.Transaction, error)
OnChanOpenConfirm is a paid mutator transaction binding the contract method 0xfad28a24.
Solidity: function onChanOpenConfirm(bytes32 channelId) returns()
func (*MoonTransactorSession) OnChanOpenTry ¶
func (_Moon *MoonTransactorSession) OnChanOpenTry(arg0 uint8, arg1 []string, channelId [32]byte, arg3 string, arg4 [32]byte, counterpartyVersion string) (*types.Transaction, error)
OnChanOpenTry is a paid mutator transaction binding the contract method 0x4bdb5597.
Solidity: function onChanOpenTry(uint8 , string[] , bytes32 channelId, string , bytes32 , string counterpartyVersion) returns(string selectedVersion)
func (*MoonTransactorSession) OnRecvPacket ¶
func (_Moon *MoonTransactorSession) OnRecvPacket(packet IbcPacket) (*types.Transaction, error)
OnRecvPacket is a paid mutator transaction binding the contract method 0x4dcc0aa6.
Solidity: function onRecvPacket(((string,bytes32),(string,bytes32),uint64,bytes,(uint64,uint64),uint64) packet) returns((bool,bytes) ackPacket)
func (*MoonTransactorSession) OnTimeoutPacket ¶
func (_Moon *MoonTransactorSession) OnTimeoutPacket(packet IbcPacket) (*types.Transaction, error)
OnTimeoutPacket is a paid mutator transaction binding the contract method 0x602f9834.
Solidity: function onTimeoutPacket(((string,bytes32),(string,bytes32),uint64,bytes,(uint64,uint64),uint64) packet) returns()
func (*MoonTransactorSession) Receive ¶
func (_Moon *MoonTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*MoonTransactorSession) RenounceOwnership ¶
func (_Moon *MoonTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*MoonTransactorSession) TransferOwnership ¶
func (_Moon *MoonTransactorSession) 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 (*MoonTransactorSession) TriggerChannelClose ¶
func (_Moon *MoonTransactorSession) TriggerChannelClose(channelId [32]byte) (*types.Transaction, error)
TriggerChannelClose is a paid mutator transaction binding the contract method 0x558850ac.
Solidity: function triggerChannelClose(bytes32 channelId) returns()
func (*MoonTransactorSession) TriggerChannelInit ¶
func (_Moon *MoonTransactorSession) TriggerChannelInit(version string, ordering uint8, feeEnabled bool, connectionHops []string, counterpartyPortId string) (*types.Transaction, error)
TriggerChannelInit is a paid mutator transaction binding the contract method 0x7a805598.
Solidity: function triggerChannelInit(string version, uint8 ordering, bool feeEnabled, string[] connectionHops, string counterpartyPortId) returns()
func (*MoonTransactorSession) TriggerChannelInitWithFee ¶
func (_Moon *MoonTransactorSession) TriggerChannelInitWithFee(version string, ordering uint8, feeEnabled bool, connectionHops []string, counterpartyPortId string) (*types.Transaction, error)
TriggerChannelInitWithFee is a paid mutator transaction binding the contract method 0x61995001.
Solidity: function triggerChannelInitWithFee(string version, uint8 ordering, bool feeEnabled, string[] connectionHops, string counterpartyPortId) payable returns()