Documentation ¶
Index ¶
- Variables
- type ChannelCounterpartyData
- type HeightData
- type IIBCModuleMsgOnChanCloseConfirm
- type IIBCModuleMsgOnChanCloseInit
- type IIBCModuleMsgOnChanOpenAck
- type IIBCModuleMsgOnChanOpenConfirm
- type IIBCModuleMsgOnChanOpenInit
- type IIBCModuleMsgOnChanOpenTry
- type Ics20transferbank
- type Ics20transferbankCaller
- type Ics20transferbankCallerRaw
- type Ics20transferbankCallerSession
- type Ics20transferbankFilterer
- type Ics20transferbankRaw
- func (_Ics20transferbank *Ics20transferbankRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Ics20transferbank *Ics20transferbankRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Ics20transferbankSession
- func (_Ics20transferbank *Ics20transferbankSession) ICS20VERSION() (string, error)
- func (_Ics20transferbank *Ics20transferbankSession) IbcAddress() (common.Address, error)
- func (_Ics20transferbank *Ics20transferbankSession) OnAcknowledgementPacket(packet PacketData, acknowledgement []byte, arg2 common.Address) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankSession) OnChanCloseConfirm(arg0 IIBCModuleMsgOnChanCloseConfirm) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankSession) OnChanCloseInit(arg0 IIBCModuleMsgOnChanCloseInit) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankSession) OnChanOpenAck(msg_ IIBCModuleMsgOnChanOpenAck) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankSession) OnChanOpenConfirm(arg0 IIBCModuleMsgOnChanOpenConfirm) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankSession) OnChanOpenInit(msg_ IIBCModuleMsgOnChanOpenInit) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankSession) OnChanOpenTry(msg_ IIBCModuleMsgOnChanOpenTry) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankSession) OnRecvPacket(packet PacketData, arg1 common.Address) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankSession) OnTimeoutPacket(packet PacketData, arg1 common.Address) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankSession) SendTransfer(denom string, amount *big.Int, receiver string, sourcePort string, ...) (*types.Transaction, error)
- type Ics20transferbankTransactor
- func (_Ics20transferbank *Ics20transferbankTransactor) OnAcknowledgementPacket(opts *bind.TransactOpts, packet PacketData, acknowledgement []byte, ...) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankTransactor) OnChanCloseConfirm(opts *bind.TransactOpts, arg0 IIBCModuleMsgOnChanCloseConfirm) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankTransactor) OnChanCloseInit(opts *bind.TransactOpts, arg0 IIBCModuleMsgOnChanCloseInit) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankTransactor) OnChanOpenAck(opts *bind.TransactOpts, msg_ IIBCModuleMsgOnChanOpenAck) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankTransactor) OnChanOpenConfirm(opts *bind.TransactOpts, arg0 IIBCModuleMsgOnChanOpenConfirm) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankTransactor) OnChanOpenInit(opts *bind.TransactOpts, msg_ IIBCModuleMsgOnChanOpenInit) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankTransactor) OnChanOpenTry(opts *bind.TransactOpts, msg_ IIBCModuleMsgOnChanOpenTry) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankTransactor) OnRecvPacket(opts *bind.TransactOpts, packet PacketData, arg1 common.Address) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankTransactor) OnTimeoutPacket(opts *bind.TransactOpts, packet PacketData, arg1 common.Address) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankTransactor) SendTransfer(opts *bind.TransactOpts, denom string, amount *big.Int, receiver string, ...) (*types.Transaction, error)
- type Ics20transferbankTransactorRaw
- type Ics20transferbankTransactorSession
- func (_Ics20transferbank *Ics20transferbankTransactorSession) OnAcknowledgementPacket(packet PacketData, acknowledgement []byte, arg2 common.Address) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankTransactorSession) OnChanCloseConfirm(arg0 IIBCModuleMsgOnChanCloseConfirm) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankTransactorSession) OnChanCloseInit(arg0 IIBCModuleMsgOnChanCloseInit) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankTransactorSession) OnChanOpenAck(msg_ IIBCModuleMsgOnChanOpenAck) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankTransactorSession) OnChanOpenConfirm(arg0 IIBCModuleMsgOnChanOpenConfirm) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankTransactorSession) OnChanOpenInit(msg_ IIBCModuleMsgOnChanOpenInit) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankTransactorSession) OnChanOpenTry(msg_ IIBCModuleMsgOnChanOpenTry) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankTransactorSession) OnRecvPacket(packet PacketData, arg1 common.Address) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankTransactorSession) OnTimeoutPacket(packet PacketData, arg1 common.Address) (*types.Transaction, error)
- func (_Ics20transferbank *Ics20transferbankTransactorSession) SendTransfer(denom string, amount *big.Int, receiver string, sourcePort string, ...) (*types.Transaction, error)
- type PacketData
Constants ¶
This section is empty.
Variables ¶
var Ics20transferbankABI = Ics20transferbankMetaData.ABI
Ics20transferbankABI is the input ABI used to generate the binding from. Deprecated: Use Ics20transferbankMetaData.ABI instead.
var Ics20transferbankMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"contractIBCHandler\",\"name\":\"ibcHandler_\",\"type\":\"address\"},{\"internalType\":\"contractIICS20Bank\",\"name\":\"bank_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ICS20_VERSION\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ibcAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"sequence\",\"type\":\"uint64\"},{\"internalType\":\"string\",\"name\":\"source_port\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"source_channel\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"destination_port\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"destination_channel\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"revision_number\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"revision_height\",\"type\":\"uint64\"}],\"internalType\":\"structHeight.Data\",\"name\":\"timeout_height\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"timeout_timestamp\",\"type\":\"uint64\"}],\"internalType\":\"structPacket.Data\",\"name\":\"packet\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"acknowledgement\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"onAcknowledgementPacket\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"}],\"internalType\":\"structIIBCModule.MsgOnChanCloseConfirm\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"onChanCloseConfirm\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"}],\"internalType\":\"structIIBCModule.MsgOnChanCloseInit\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"onChanCloseInit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"counterpartyVersion\",\"type\":\"string\"}],\"internalType\":\"structIIBCModule.MsgOnChanOpenAck\",\"name\":\"msg_\",\"type\":\"tuple\"}],\"name\":\"onChanOpenAck\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"}],\"internalType\":\"structIIBCModule.MsgOnChanOpenConfirm\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"onChanOpenConfirm\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"enumChannel.Order\",\"name\":\"order\",\"type\":\"uint8\"},{\"internalType\":\"string[]\",\"name\":\"connectionHops\",\"type\":\"string[]\"},{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"port_id\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channel_id\",\"type\":\"string\"}],\"internalType\":\"structChannelCounterparty.Data\",\"name\":\"counterparty\",\"type\":\"tuple\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"}],\"internalType\":\"structIIBCModule.MsgOnChanOpenInit\",\"name\":\"msg_\",\"type\":\"tuple\"}],\"name\":\"onChanOpenInit\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"enumChannel.Order\",\"name\":\"order\",\"type\":\"uint8\"},{\"internalType\":\"string[]\",\"name\":\"connectionHops\",\"type\":\"string[]\"},{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"port_id\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channel_id\",\"type\":\"string\"}],\"internalType\":\"structChannelCounterparty.Data\",\"name\":\"counterparty\",\"type\":\"tuple\"},{\"internalType\":\"string\",\"name\":\"counterpartyVersion\",\"type\":\"string\"}],\"internalType\":\"structIIBCModule.MsgOnChanOpenTry\",\"name\":\"msg_\",\"type\":\"tuple\"}],\"name\":\"onChanOpenTry\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"sequence\",\"type\":\"uint64\"},{\"internalType\":\"string\",\"name\":\"source_port\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"source_channel\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"destination_port\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"destination_channel\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"revision_number\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"revision_height\",\"type\":\"uint64\"}],\"internalType\":\"structHeight.Data\",\"name\":\"timeout_height\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"timeout_timestamp\",\"type\":\"uint64\"}],\"internalType\":\"structPacket.Data\",\"name\":\"packet\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"onRecvPacket\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"acknowledgement\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint64\",\"name\":\"sequence\",\"type\":\"uint64\"},{\"internalType\":\"string\",\"name\":\"source_port\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"source_channel\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"destination_port\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"destination_channel\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint64\",\"name\":\"revision_number\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"revision_height\",\"type\":\"uint64\"}],\"internalType\":\"structHeight.Data\",\"name\":\"timeout_height\",\"type\":\"tuple\"},{\"internalType\":\"uint64\",\"name\":\"timeout_timestamp\",\"type\":\"uint64\"}],\"internalType\":\"structPacket.Data\",\"name\":\"packet\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"onTimeoutPacket\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"receiver\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"sourcePort\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"sourceChannel\",\"type\":\"string\"},{\"internalType\":\"uint64\",\"name\":\"timeoutHeight\",\"type\":\"uint64\"}],\"name\":\"sendTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
Ics20transferbankMetaData contains all meta data concerning the Ics20transferbank contract.
Functions ¶
This section is empty.
Types ¶
type ChannelCounterpartyData ¶
ChannelCounterpartyData is an auto generated low-level Go binding around an user-defined struct.
type HeightData ¶
HeightData is an auto generated low-level Go binding around an user-defined struct.
type IIBCModuleMsgOnChanCloseConfirm ¶ added in v0.3.16
IIBCModuleMsgOnChanCloseConfirm is an auto generated low-level Go binding around an user-defined struct.
type IIBCModuleMsgOnChanCloseInit ¶ added in v0.3.16
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
IIBCModuleMsgOnChanOpenConfirm is an auto generated low-level Go binding around an user-defined struct.
type IIBCModuleMsgOnChanOpenInit ¶ added in v0.3.16
type IIBCModuleMsgOnChanOpenInit struct { Order uint8 ConnectionHops []string PortId string ChannelId string Counterparty ChannelCounterpartyData Version string }
IIBCModuleMsgOnChanOpenInit is an auto generated low-level Go binding around an user-defined struct.
type IIBCModuleMsgOnChanOpenTry ¶ added in v0.3.16
type IIBCModuleMsgOnChanOpenTry struct { Order uint8 ConnectionHops []string PortId string ChannelId string Counterparty ChannelCounterpartyData CounterpartyVersion string }
IIBCModuleMsgOnChanOpenTry is an auto generated low-level Go binding around an user-defined struct.
type Ics20transferbank ¶
type Ics20transferbank struct { Ics20transferbankCaller // Read-only binding to the contract Ics20transferbankTransactor // Write-only binding to the contract Ics20transferbankFilterer // Log filterer for contract events }
Ics20transferbank is an auto generated Go binding around an Ethereum contract.
func NewIcs20transferbank ¶
func NewIcs20transferbank(address common.Address, backend bind.ContractBackend) (*Ics20transferbank, error)
NewIcs20transferbank creates a new instance of Ics20transferbank, bound to a specific deployed contract.
type Ics20transferbankCaller ¶
type Ics20transferbankCaller struct {
// contains filtered or unexported fields
}
Ics20transferbankCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIcs20transferbankCaller ¶
func NewIcs20transferbankCaller(address common.Address, caller bind.ContractCaller) (*Ics20transferbankCaller, error)
NewIcs20transferbankCaller creates a new read-only instance of Ics20transferbank, bound to a specific deployed contract.
func (*Ics20transferbankCaller) ICS20VERSION ¶ added in v0.3.15
func (_Ics20transferbank *Ics20transferbankCaller) ICS20VERSION(opts *bind.CallOpts) (string, error)
ICS20VERSION is a free data retrieval call binding the contract method 0x025183eb.
Solidity: function ICS20_VERSION() view returns(string)
func (*Ics20transferbankCaller) IbcAddress ¶ added in v0.3.4
func (_Ics20transferbank *Ics20transferbankCaller) 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)
type Ics20transferbankCallerRaw ¶
type Ics20transferbankCallerRaw struct {
Contract *Ics20transferbankCaller // Generic read-only contract binding to access the raw methods on
}
Ics20transferbankCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*Ics20transferbankCallerRaw) Call ¶
func (_Ics20transferbank *Ics20transferbankCallerRaw) 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 Ics20transferbankCallerSession ¶
type Ics20transferbankCallerSession struct { Contract *Ics20transferbankCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
Ics20transferbankCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*Ics20transferbankCallerSession) ICS20VERSION ¶ added in v0.3.15
func (_Ics20transferbank *Ics20transferbankCallerSession) ICS20VERSION() (string, error)
ICS20VERSION is a free data retrieval call binding the contract method 0x025183eb.
Solidity: function ICS20_VERSION() view returns(string)
func (*Ics20transferbankCallerSession) IbcAddress ¶ added in v0.3.4
func (_Ics20transferbank *Ics20transferbankCallerSession) IbcAddress() (common.Address, error)
IbcAddress is a free data retrieval call binding the contract method 0x696a9bf4.
Solidity: function ibcAddress() view returns(address)
type Ics20transferbankFilterer ¶
type Ics20transferbankFilterer struct {
// contains filtered or unexported fields
}
Ics20transferbankFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIcs20transferbankFilterer ¶
func NewIcs20transferbankFilterer(address common.Address, filterer bind.ContractFilterer) (*Ics20transferbankFilterer, error)
NewIcs20transferbankFilterer creates a new log filterer instance of Ics20transferbank, bound to a specific deployed contract.
type Ics20transferbankRaw ¶
type Ics20transferbankRaw struct {
Contract *Ics20transferbank // Generic contract binding to access the raw methods on
}
Ics20transferbankRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*Ics20transferbankRaw) Call ¶
func (_Ics20transferbank *Ics20transferbankRaw) 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 (*Ics20transferbankRaw) Transact ¶
func (_Ics20transferbank *Ics20transferbankRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Ics20transferbankRaw) Transfer ¶
func (_Ics20transferbank *Ics20transferbankRaw) 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 Ics20transferbankSession ¶
type Ics20transferbankSession struct { Contract *Ics20transferbank // 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 }
Ics20transferbankSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*Ics20transferbankSession) ICS20VERSION ¶ added in v0.3.15
func (_Ics20transferbank *Ics20transferbankSession) ICS20VERSION() (string, error)
ICS20VERSION is a free data retrieval call binding the contract method 0x025183eb.
Solidity: function ICS20_VERSION() view returns(string)
func (*Ics20transferbankSession) IbcAddress ¶ added in v0.3.4
func (_Ics20transferbank *Ics20transferbankSession) IbcAddress() (common.Address, error)
IbcAddress is a free data retrieval call binding the contract method 0x696a9bf4.
Solidity: function ibcAddress() view returns(address)
func (*Ics20transferbankSession) OnAcknowledgementPacket ¶
func (_Ics20transferbank *Ics20transferbankSession) OnAcknowledgementPacket(packet PacketData, acknowledgement []byte, arg2 common.Address) (*types.Transaction, error)
OnAcknowledgementPacket is a paid mutator transaction binding the contract method 0xfb8b532e.
Solidity: function onAcknowledgementPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, bytes acknowledgement, address ) returns()
func (*Ics20transferbankSession) OnChanCloseConfirm ¶
func (_Ics20transferbank *Ics20transferbankSession) OnChanCloseConfirm(arg0 IIBCModuleMsgOnChanCloseConfirm) (*types.Transaction, error)
OnChanCloseConfirm is a paid mutator transaction binding the contract method 0x38c858bc.
Solidity: function onChanCloseConfirm((string,string) ) returns()
func (*Ics20transferbankSession) OnChanCloseInit ¶
func (_Ics20transferbank *Ics20transferbankSession) OnChanCloseInit(arg0 IIBCModuleMsgOnChanCloseInit) (*types.Transaction, error)
OnChanCloseInit is a paid mutator transaction binding the contract method 0x3c7df3fb.
Solidity: function onChanCloseInit((string,string) ) returns()
func (*Ics20transferbankSession) OnChanOpenAck ¶
func (_Ics20transferbank *Ics20transferbankSession) OnChanOpenAck(msg_ IIBCModuleMsgOnChanOpenAck) (*types.Transaction, error)
OnChanOpenAck is a paid mutator transaction binding the contract method 0x12f6ff6f.
Solidity: function onChanOpenAck((string,string,string) msg_) returns()
func (*Ics20transferbankSession) OnChanOpenConfirm ¶
func (_Ics20transferbank *Ics20transferbankSession) OnChanOpenConfirm(arg0 IIBCModuleMsgOnChanOpenConfirm) (*types.Transaction, error)
OnChanOpenConfirm is a paid mutator transaction binding the contract method 0x81b174dc.
Solidity: function onChanOpenConfirm((string,string) ) returns()
func (*Ics20transferbankSession) OnChanOpenInit ¶
func (_Ics20transferbank *Ics20transferbankSession) OnChanOpenInit(msg_ IIBCModuleMsgOnChanOpenInit) (*types.Transaction, error)
OnChanOpenInit is a paid mutator transaction binding the contract method 0x0b7b4ccb.
Solidity: function onChanOpenInit((uint8,string[],string,string,(string,string),string) msg_) returns(string)
func (*Ics20transferbankSession) OnChanOpenTry ¶
func (_Ics20transferbank *Ics20transferbankSession) OnChanOpenTry(msg_ IIBCModuleMsgOnChanOpenTry) (*types.Transaction, error)
OnChanOpenTry is a paid mutator transaction binding the contract method 0xa7a61e66.
Solidity: function onChanOpenTry((uint8,string[],string,string,(string,string),string) msg_) returns(string)
func (*Ics20transferbankSession) OnRecvPacket ¶
func (_Ics20transferbank *Ics20transferbankSession) OnRecvPacket(packet PacketData, arg1 common.Address) (*types.Transaction, error)
OnRecvPacket is a paid mutator transaction binding the contract method 0x2301c6f5.
Solidity: function onRecvPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, address ) returns(bytes acknowledgement)
func (*Ics20transferbankSession) OnTimeoutPacket ¶ added in v0.3.12
func (_Ics20transferbank *Ics20transferbankSession) OnTimeoutPacket(packet PacketData, arg1 common.Address) (*types.Transaction, error)
OnTimeoutPacket is a paid mutator transaction binding the contract method 0x52c7157d.
Solidity: function onTimeoutPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, address ) returns()
func (*Ics20transferbankSession) SendTransfer ¶
func (_Ics20transferbank *Ics20transferbankSession) SendTransfer(denom string, amount *big.Int, receiver string, sourcePort string, sourceChannel string, timeoutHeight uint64) (*types.Transaction, error)
SendTransfer is a paid mutator transaction binding the contract method 0xe0c0705d.
Solidity: function sendTransfer(string denom, uint256 amount, string receiver, string sourcePort, string sourceChannel, uint64 timeoutHeight) returns()
type Ics20transferbankTransactor ¶
type Ics20transferbankTransactor struct {
// contains filtered or unexported fields
}
Ics20transferbankTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIcs20transferbankTransactor ¶
func NewIcs20transferbankTransactor(address common.Address, transactor bind.ContractTransactor) (*Ics20transferbankTransactor, error)
NewIcs20transferbankTransactor creates a new write-only instance of Ics20transferbank, bound to a specific deployed contract.
func (*Ics20transferbankTransactor) OnAcknowledgementPacket ¶
func (_Ics20transferbank *Ics20transferbankTransactor) OnAcknowledgementPacket(opts *bind.TransactOpts, packet PacketData, acknowledgement []byte, arg2 common.Address) (*types.Transaction, error)
OnAcknowledgementPacket is a paid mutator transaction binding the contract method 0xfb8b532e.
Solidity: function onAcknowledgementPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, bytes acknowledgement, address ) returns()
func (*Ics20transferbankTransactor) OnChanCloseConfirm ¶
func (_Ics20transferbank *Ics20transferbankTransactor) OnChanCloseConfirm(opts *bind.TransactOpts, arg0 IIBCModuleMsgOnChanCloseConfirm) (*types.Transaction, error)
OnChanCloseConfirm is a paid mutator transaction binding the contract method 0x38c858bc.
Solidity: function onChanCloseConfirm((string,string) ) returns()
func (*Ics20transferbankTransactor) OnChanCloseInit ¶
func (_Ics20transferbank *Ics20transferbankTransactor) OnChanCloseInit(opts *bind.TransactOpts, arg0 IIBCModuleMsgOnChanCloseInit) (*types.Transaction, error)
OnChanCloseInit is a paid mutator transaction binding the contract method 0x3c7df3fb.
Solidity: function onChanCloseInit((string,string) ) returns()
func (*Ics20transferbankTransactor) OnChanOpenAck ¶
func (_Ics20transferbank *Ics20transferbankTransactor) OnChanOpenAck(opts *bind.TransactOpts, msg_ IIBCModuleMsgOnChanOpenAck) (*types.Transaction, error)
OnChanOpenAck is a paid mutator transaction binding the contract method 0x12f6ff6f.
Solidity: function onChanOpenAck((string,string,string) msg_) returns()
func (*Ics20transferbankTransactor) OnChanOpenConfirm ¶
func (_Ics20transferbank *Ics20transferbankTransactor) 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 (*Ics20transferbankTransactor) OnChanOpenInit ¶
func (_Ics20transferbank *Ics20transferbankTransactor) OnChanOpenInit(opts *bind.TransactOpts, msg_ IIBCModuleMsgOnChanOpenInit) (*types.Transaction, error)
OnChanOpenInit is a paid mutator transaction binding the contract method 0x0b7b4ccb.
Solidity: function onChanOpenInit((uint8,string[],string,string,(string,string),string) msg_) returns(string)
func (*Ics20transferbankTransactor) OnChanOpenTry ¶
func (_Ics20transferbank *Ics20transferbankTransactor) OnChanOpenTry(opts *bind.TransactOpts, msg_ IIBCModuleMsgOnChanOpenTry) (*types.Transaction, error)
OnChanOpenTry is a paid mutator transaction binding the contract method 0xa7a61e66.
Solidity: function onChanOpenTry((uint8,string[],string,string,(string,string),string) msg_) returns(string)
func (*Ics20transferbankTransactor) OnRecvPacket ¶
func (_Ics20transferbank *Ics20transferbankTransactor) OnRecvPacket(opts *bind.TransactOpts, packet PacketData, arg1 common.Address) (*types.Transaction, error)
OnRecvPacket is a paid mutator transaction binding the contract method 0x2301c6f5.
Solidity: function onRecvPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, address ) returns(bytes acknowledgement)
func (*Ics20transferbankTransactor) OnTimeoutPacket ¶ added in v0.3.12
func (_Ics20transferbank *Ics20transferbankTransactor) OnTimeoutPacket(opts *bind.TransactOpts, packet PacketData, arg1 common.Address) (*types.Transaction, error)
OnTimeoutPacket is a paid mutator transaction binding the contract method 0x52c7157d.
Solidity: function onTimeoutPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, address ) returns()
func (*Ics20transferbankTransactor) SendTransfer ¶
func (_Ics20transferbank *Ics20transferbankTransactor) SendTransfer(opts *bind.TransactOpts, denom string, amount *big.Int, receiver string, sourcePort string, sourceChannel string, timeoutHeight uint64) (*types.Transaction, error)
SendTransfer is a paid mutator transaction binding the contract method 0xe0c0705d.
Solidity: function sendTransfer(string denom, uint256 amount, string receiver, string sourcePort, string sourceChannel, uint64 timeoutHeight) returns()
type Ics20transferbankTransactorRaw ¶
type Ics20transferbankTransactorRaw struct {
Contract *Ics20transferbankTransactor // Generic write-only contract binding to access the raw methods on
}
Ics20transferbankTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*Ics20transferbankTransactorRaw) Transact ¶
func (_Ics20transferbank *Ics20transferbankTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Ics20transferbankTransactorRaw) Transfer ¶
func (_Ics20transferbank *Ics20transferbankTransactorRaw) 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 Ics20transferbankTransactorSession ¶
type Ics20transferbankTransactorSession struct { Contract *Ics20transferbankTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
Ics20transferbankTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*Ics20transferbankTransactorSession) OnAcknowledgementPacket ¶
func (_Ics20transferbank *Ics20transferbankTransactorSession) OnAcknowledgementPacket(packet PacketData, acknowledgement []byte, arg2 common.Address) (*types.Transaction, error)
OnAcknowledgementPacket is a paid mutator transaction binding the contract method 0xfb8b532e.
Solidity: function onAcknowledgementPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, bytes acknowledgement, address ) returns()
func (*Ics20transferbankTransactorSession) OnChanCloseConfirm ¶
func (_Ics20transferbank *Ics20transferbankTransactorSession) OnChanCloseConfirm(arg0 IIBCModuleMsgOnChanCloseConfirm) (*types.Transaction, error)
OnChanCloseConfirm is a paid mutator transaction binding the contract method 0x38c858bc.
Solidity: function onChanCloseConfirm((string,string) ) returns()
func (*Ics20transferbankTransactorSession) OnChanCloseInit ¶
func (_Ics20transferbank *Ics20transferbankTransactorSession) OnChanCloseInit(arg0 IIBCModuleMsgOnChanCloseInit) (*types.Transaction, error)
OnChanCloseInit is a paid mutator transaction binding the contract method 0x3c7df3fb.
Solidity: function onChanCloseInit((string,string) ) returns()
func (*Ics20transferbankTransactorSession) OnChanOpenAck ¶
func (_Ics20transferbank *Ics20transferbankTransactorSession) OnChanOpenAck(msg_ IIBCModuleMsgOnChanOpenAck) (*types.Transaction, error)
OnChanOpenAck is a paid mutator transaction binding the contract method 0x12f6ff6f.
Solidity: function onChanOpenAck((string,string,string) msg_) returns()
func (*Ics20transferbankTransactorSession) OnChanOpenConfirm ¶
func (_Ics20transferbank *Ics20transferbankTransactorSession) OnChanOpenConfirm(arg0 IIBCModuleMsgOnChanOpenConfirm) (*types.Transaction, error)
OnChanOpenConfirm is a paid mutator transaction binding the contract method 0x81b174dc.
Solidity: function onChanOpenConfirm((string,string) ) returns()
func (*Ics20transferbankTransactorSession) OnChanOpenInit ¶
func (_Ics20transferbank *Ics20transferbankTransactorSession) OnChanOpenInit(msg_ IIBCModuleMsgOnChanOpenInit) (*types.Transaction, error)
OnChanOpenInit is a paid mutator transaction binding the contract method 0x0b7b4ccb.
Solidity: function onChanOpenInit((uint8,string[],string,string,(string,string),string) msg_) returns(string)
func (*Ics20transferbankTransactorSession) OnChanOpenTry ¶
func (_Ics20transferbank *Ics20transferbankTransactorSession) OnChanOpenTry(msg_ IIBCModuleMsgOnChanOpenTry) (*types.Transaction, error)
OnChanOpenTry is a paid mutator transaction binding the contract method 0xa7a61e66.
Solidity: function onChanOpenTry((uint8,string[],string,string,(string,string),string) msg_) returns(string)
func (*Ics20transferbankTransactorSession) OnRecvPacket ¶
func (_Ics20transferbank *Ics20transferbankTransactorSession) OnRecvPacket(packet PacketData, arg1 common.Address) (*types.Transaction, error)
OnRecvPacket is a paid mutator transaction binding the contract method 0x2301c6f5.
Solidity: function onRecvPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, address ) returns(bytes acknowledgement)
func (*Ics20transferbankTransactorSession) OnTimeoutPacket ¶ added in v0.3.12
func (_Ics20transferbank *Ics20transferbankTransactorSession) OnTimeoutPacket(packet PacketData, arg1 common.Address) (*types.Transaction, error)
OnTimeoutPacket is a paid mutator transaction binding the contract method 0x52c7157d.
Solidity: function onTimeoutPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, address ) returns()
func (*Ics20transferbankTransactorSession) SendTransfer ¶
func (_Ics20transferbank *Ics20transferbankTransactorSession) SendTransfer(denom string, amount *big.Int, receiver string, sourcePort string, sourceChannel string, timeoutHeight uint64) (*types.Transaction, error)
SendTransfer is a paid mutator transaction binding the contract method 0xe0c0705d.
Solidity: function sendTransfer(string denom, uint256 amount, string receiver, string sourcePort, string sourceChannel, uint64 timeoutHeight) returns()
type PacketData ¶
type PacketData struct { Sequence uint64 SourcePort string SourceChannel string DestinationPort string DestinationChannel string Data []byte TimeoutHeight HeightData TimeoutTimestamp uint64 }
PacketData is an auto generated low-level Go binding around an user-defined struct.