ics20transferbank

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Ics20transferbankABI = Ics20transferbankMetaData.ABI

Ics20transferbankABI is the input ABI used to generate the binding from. Deprecated: Use Ics20transferbankMetaData.ABI instead.

View Source
var Ics20transferbankMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIBCHandler\",\"name\":\"ibcHandler_\",\"type\":\"address\"},{\"internalType\":\"contractIICS20Bank\",\"name\":\"bank_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"}],\"name\":\"onChanCloseConfirm\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"}],\"name\":\"onChanCloseInit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"counterpartyVersion\",\"type\":\"string\"}],\"name\":\"onChanOpenAck\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"portId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"channelId\",\"type\":\"string\"}],\"name\":\"onChanOpenConfirm\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumChannel.Order\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"},{\"internalType\":\"string\",\"name\":\"\",\"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\":\"\",\"type\":\"tuple\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"onChanOpenInit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumChannel.Order\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"},{\"internalType\":\"string\",\"name\":\"\",\"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\":\"\",\"type\":\"tuple\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"onChanOpenTry\",\"outputs\":[],\"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\":[{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"internalType\":\"uint64\",\"name\":\"amount\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"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

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 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) 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) 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) 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(portId string, channelId string) (*types.Transaction, error)

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

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

func (*Ics20transferbankSession) OnChanCloseInit

func (_Ics20transferbank *Ics20transferbankSession) OnChanCloseInit(portId string, channelId string) (*types.Transaction, error)

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

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

func (*Ics20transferbankSession) OnChanOpenAck

func (_Ics20transferbank *Ics20transferbankSession) OnChanOpenAck(portId string, channelId string, counterpartyVersion string) (*types.Transaction, error)

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

Solidity: function onChanOpenAck(string portId, string channelId, string counterpartyVersion) returns()

func (*Ics20transferbankSession) OnChanOpenConfirm

func (_Ics20transferbank *Ics20transferbankSession) OnChanOpenConfirm(portId string, channelId string) (*types.Transaction, error)

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

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

func (*Ics20transferbankSession) OnChanOpenInit

func (_Ics20transferbank *Ics20transferbankSession) OnChanOpenInit(arg0 uint8, arg1 []string, arg2 string, channelId string, arg4 ChannelCounterpartyData, arg5 string) (*types.Transaction, error)

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

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

func (*Ics20transferbankSession) OnChanOpenTry

func (_Ics20transferbank *Ics20transferbankSession) OnChanOpenTry(arg0 uint8, arg1 []string, arg2 string, channelId string, arg4 ChannelCounterpartyData, arg5 string, arg6 string) (*types.Transaction, error)

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

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

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) SendTransfer

func (_Ics20transferbank *Ics20transferbankSession) SendTransfer(denom string, amount uint64, receiver common.Address, sourcePort string, sourceChannel string, timeoutHeight uint64) (*types.Transaction, error)

SendTransfer is a paid mutator transaction binding the contract method 0xed6cb8dd.

Solidity: function sendTransfer(string denom, uint64 amount, address 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, portId string, channelId string) (*types.Transaction, error)

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

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

func (*Ics20transferbankTransactor) OnChanCloseInit

func (_Ics20transferbank *Ics20transferbankTransactor) OnChanCloseInit(opts *bind.TransactOpts, portId string, channelId string) (*types.Transaction, error)

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

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

func (*Ics20transferbankTransactor) OnChanOpenAck

func (_Ics20transferbank *Ics20transferbankTransactor) OnChanOpenAck(opts *bind.TransactOpts, portId string, channelId string, counterpartyVersion string) (*types.Transaction, error)

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

Solidity: function onChanOpenAck(string portId, string channelId, string counterpartyVersion) returns()

func (*Ics20transferbankTransactor) OnChanOpenConfirm

func (_Ics20transferbank *Ics20transferbankTransactor) OnChanOpenConfirm(opts *bind.TransactOpts, portId string, channelId string) (*types.Transaction, error)

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

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

func (*Ics20transferbankTransactor) OnChanOpenInit

func (_Ics20transferbank *Ics20transferbankTransactor) OnChanOpenInit(opts *bind.TransactOpts, arg0 uint8, arg1 []string, arg2 string, channelId string, arg4 ChannelCounterpartyData, arg5 string) (*types.Transaction, error)

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

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

func (*Ics20transferbankTransactor) OnChanOpenTry

func (_Ics20transferbank *Ics20transferbankTransactor) OnChanOpenTry(opts *bind.TransactOpts, arg0 uint8, arg1 []string, arg2 string, channelId string, arg4 ChannelCounterpartyData, arg5 string, arg6 string) (*types.Transaction, error)

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

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

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) SendTransfer

func (_Ics20transferbank *Ics20transferbankTransactor) SendTransfer(opts *bind.TransactOpts, denom string, amount uint64, receiver common.Address, sourcePort string, sourceChannel string, timeoutHeight uint64) (*types.Transaction, error)

SendTransfer is a paid mutator transaction binding the contract method 0xed6cb8dd.

Solidity: function sendTransfer(string denom, uint64 amount, address 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(portId string, channelId string) (*types.Transaction, error)

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

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

func (*Ics20transferbankTransactorSession) OnChanCloseInit

func (_Ics20transferbank *Ics20transferbankTransactorSession) OnChanCloseInit(portId string, channelId string) (*types.Transaction, error)

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

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

func (*Ics20transferbankTransactorSession) OnChanOpenAck

func (_Ics20transferbank *Ics20transferbankTransactorSession) OnChanOpenAck(portId string, channelId string, counterpartyVersion string) (*types.Transaction, error)

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

Solidity: function onChanOpenAck(string portId, string channelId, string counterpartyVersion) returns()

func (*Ics20transferbankTransactorSession) OnChanOpenConfirm

func (_Ics20transferbank *Ics20transferbankTransactorSession) OnChanOpenConfirm(portId string, channelId string) (*types.Transaction, error)

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

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

func (*Ics20transferbankTransactorSession) OnChanOpenInit

func (_Ics20transferbank *Ics20transferbankTransactorSession) OnChanOpenInit(arg0 uint8, arg1 []string, arg2 string, channelId string, arg4 ChannelCounterpartyData, arg5 string) (*types.Transaction, error)

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

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

func (*Ics20transferbankTransactorSession) OnChanOpenTry

func (_Ics20transferbank *Ics20transferbankTransactorSession) OnChanOpenTry(arg0 uint8, arg1 []string, arg2 string, channelId string, arg4 ChannelCounterpartyData, arg5 string, arg6 string) (*types.Transaction, error)

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

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

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) SendTransfer

func (_Ics20transferbank *Ics20transferbankTransactorSession) SendTransfer(denom string, amount uint64, receiver common.Address, sourcePort string, sourceChannel string, timeoutHeight uint64) (*types.Transaction, error)

SendTransfer is a paid mutator transaction binding the contract method 0xed6cb8dd.

Solidity: function sendTransfer(string denom, uint64 amount, address 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.

Jump to

Keyboard shortcuts

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