ics20transfer

package
v0.3.40 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Ics20transferABI = Ics20transferMetaData.ABI

Ics20transferABI is the input ABI used to generate the binding from. Deprecated: Use Ics20transferMetaData.ABI instead.

View Source
var Ics20transferMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"ibcHandler_\",\"type\":\"address\",\"internalType\":\"contractIIBCHandler\"},{\"name\":\"port_\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"ICS20_VERSION\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"denom\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"deposit\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenContract\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"depositSendTransfer\",\"inputs\":[{\"name\":\"sourceChannel\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"tokenContract\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"receiver\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"timeout\",\"type\":\"tuple\",\"internalType\":\"structICS20Lib.Timeout\",\"components\":[{\"name\":\"height\",\"type\":\"tuple\",\"internalType\":\"structHeight.Data\",\"components\":[{\"name\":\"revision_number\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"revision_height\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"timestampNanos\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]}],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"encodeAddress\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"getVoucherEscrow\",\"inputs\":[{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"ibcAddress\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"onAcknowledgementPacket\",\"inputs\":[{\"name\":\"packet\",\"type\":\"tuple\",\"internalType\":\"structPacket\",\"components\":[{\"name\":\"sequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"sourcePort\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"sourceChannel\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"destinationPort\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"destinationChannel\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"timeoutHeight\",\"type\":\"tuple\",\"internalType\":\"structHeight.Data\",\"components\":[{\"name\":\"revision_number\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"revision_height\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"timeoutTimestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"acknowledgement\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanCloseConfirm\",\"inputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structIIBCModule.MsgOnChanCloseConfirm\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanCloseInit\",\"inputs\":[{\"name\":\"msg_\",\"type\":\"tuple\",\"internalType\":\"structIIBCModule.MsgOnChanCloseInit\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanOpenAck\",\"inputs\":[{\"name\":\"msg_\",\"type\":\"tuple\",\"internalType\":\"structIIBCModule.MsgOnChanOpenAck\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"counterpartyVersion\",\"type\":\"string\",\"internalType\":\"string\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanOpenConfirm\",\"inputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structIIBCModule.MsgOnChanOpenConfirm\",\"components\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanOpenInit\",\"inputs\":[{\"name\":\"msg_\",\"type\":\"tuple\",\"internalType\":\"structIIBCModuleInitializer.MsgOnChanOpenInit\",\"components\":[{\"name\":\"order\",\"type\":\"uint8\",\"internalType\":\"enumChannel.Order\"},{\"name\":\"connectionHops\",\"type\":\"string[]\",\"internalType\":\"string[]\"},{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"counterparty\",\"type\":\"tuple\",\"internalType\":\"structChannelCounterparty.Data\",\"components\":[{\"name\":\"port_id\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channel_id\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"name\":\"version\",\"type\":\"string\",\"internalType\":\"string\"}]}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanOpenTry\",\"inputs\":[{\"name\":\"msg_\",\"type\":\"tuple\",\"internalType\":\"structIIBCModuleInitializer.MsgOnChanOpenTry\",\"components\":[{\"name\":\"order\",\"type\":\"uint8\",\"internalType\":\"enumChannel.Order\"},{\"name\":\"connectionHops\",\"type\":\"string[]\",\"internalType\":\"string[]\"},{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"counterparty\",\"type\":\"tuple\",\"internalType\":\"structChannelCounterparty.Data\",\"components\":[{\"name\":\"port_id\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channel_id\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"name\":\"counterpartyVersion\",\"type\":\"string\",\"internalType\":\"string\"}]}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onRecvPacket\",\"inputs\":[{\"name\":\"packet\",\"type\":\"tuple\",\"internalType\":\"structPacket\",\"components\":[{\"name\":\"sequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"sourcePort\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"sourceChannel\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"destinationPort\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"destinationChannel\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"timeoutHeight\",\"type\":\"tuple\",\"internalType\":\"structHeight.Data\",\"components\":[{\"name\":\"revision_number\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"revision_height\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"timeoutTimestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"acknowledgement\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onTimeoutPacket\",\"inputs\":[{\"name\":\"packet\",\"type\":\"tuple\",\"internalType\":\"structPacket\",\"components\":[{\"name\":\"sequence\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"sourcePort\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"sourceChannel\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"destinationPort\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"destinationChannel\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"timeoutHeight\",\"type\":\"tuple\",\"internalType\":\"structHeight.Data\",\"components\":[{\"name\":\"revision_number\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"revision_height\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"timeoutTimestamp\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"sendTransfer\",\"inputs\":[{\"name\":\"sourceChannel\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"denom\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"receiver\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"timeout\",\"type\":\"tuple\",\"internalType\":\"structICS20Lib.Timeout\",\"components\":[{\"name\":\"height\",\"type\":\"tuple\",\"internalType\":\"structHeight.Data\",\"components\":[{\"name\":\"revision_number\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"revision_height\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]},{\"name\":\"timestampNanos\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]}],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"supportsInterface\",\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transfer\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"denom\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"withdraw\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tokenContract\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"error\",\"name\":\"IBCModuleChannelCloseNotAllowed\",\"inputs\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"type\":\"error\",\"name\":\"IBCModuleChannelOrderNotAllowed\",\"inputs\":[{\"name\":\"portId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"order\",\"type\":\"uint8\",\"internalType\":\"enumChannel.Order\"}]},{\"type\":\"error\",\"name\":\"IBCModuleInvalidSender\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ICS20BytesSliceOutOfBounds\",\"inputs\":[{\"name\":\"length\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"start\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"end\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ICS20BytesSliceOverflow\",\"inputs\":[{\"name\":\"length\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ICS20FailedERC20Transfer\",\"inputs\":[{\"name\":\"tokenContract\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ICS20FailedERC20TransferFrom\",\"inputs\":[{\"name\":\"tokenContract\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ICS20FailedRefund\",\"inputs\":[{\"name\":\"escrow\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"denom\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ICS20InsufficientBalance\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"balance\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"needed\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ICS20InvalidReceiver\",\"inputs\":[{\"name\":\"receiver\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ICS20InvalidReceiverAddress\",\"inputs\":[{\"name\":\"receiver\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"type\":\"error\",\"name\":\"ICS20InvalidSenderAddress\",\"inputs\":[{\"name\":\"sender\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"type\":\"error\",\"name\":\"ICS20InvalidTokenContract\",\"inputs\":[{\"name\":\"tokenContract\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ICS20JSONClosingBraceNotFound\",\"inputs\":[{\"name\":\"position\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"actual\",\"type\":\"bytes1\",\"internalType\":\"bytes1\"}]},{\"type\":\"error\",\"name\":\"ICS20JSONInvalidEscape\",\"inputs\":[{\"name\":\"position\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"actual\",\"type\":\"bytes1\",\"internalType\":\"bytes1\"}]},{\"type\":\"error\",\"name\":\"ICS20JSONStringClosingDoubleQuoteNotFound\",\"inputs\":[{\"name\":\"position\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"actual\",\"type\":\"bytes1\",\"internalType\":\"bytes1\"}]},{\"type\":\"error\",\"name\":\"ICS20JSONStringUnclosed\",\"inputs\":[{\"name\":\"bz\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"position\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ICS20JSONUnexpectedBytes\",\"inputs\":[{\"name\":\"position\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"expected\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"actual\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"ICS20UnexpectedPort\",\"inputs\":[{\"name\":\"actual\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"expected\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"type\":\"error\",\"name\":\"ICS20UnexpectedVersion\",\"inputs\":[{\"name\":\"version\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"type\":\"error\",\"name\":\"InvalidShortString\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"StringTooLong\",\"inputs\":[{\"name\":\"str\",\"type\":\"string\",\"internalType\":\"string\"}]}]",
}

Ics20transferMetaData contains all meta data concerning the Ics20transfer 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 ICS20LibTimeout

type ICS20LibTimeout struct {
	Height         HeightData
	TimestampNanos uint64
}

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

type IIBCModuleInitializerMsgOnChanOpenInit

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

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

type IIBCModuleInitializerMsgOnChanOpenTry

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

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

type IIBCModuleMsgOnChanCloseConfirm

type IIBCModuleMsgOnChanCloseConfirm struct {
	PortId    string
	ChannelId string
}

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

type IIBCModuleMsgOnChanCloseInit

type IIBCModuleMsgOnChanCloseInit struct {
	PortId    string
	ChannelId string
}

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

type IIBCModuleMsgOnChanOpenAck

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

type IIBCModuleMsgOnChanOpenConfirm struct {
	PortId    string
	ChannelId string
}

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

type Ics20transfer

type Ics20transfer struct {
	Ics20transferCaller     // Read-only binding to the contract
	Ics20transferTransactor // Write-only binding to the contract
	Ics20transferFilterer   // Log filterer for contract events
}

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

func NewIcs20transfer

func NewIcs20transfer(address common.Address, backend bind.ContractBackend) (*Ics20transfer, error)

NewIcs20transfer creates a new instance of Ics20transfer, bound to a specific deployed contract.

type Ics20transferCaller

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

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

func NewIcs20transferCaller

func NewIcs20transferCaller(address common.Address, caller bind.ContractCaller) (*Ics20transferCaller, error)

NewIcs20transferCaller creates a new read-only instance of Ics20transfer, bound to a specific deployed contract.

func (*Ics20transferCaller) BalanceOf

func (_Ics20transfer *Ics20transferCaller) BalanceOf(opts *bind.CallOpts, account common.Address, denom string) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0xb9b092c8.

Solidity: function balanceOf(address account, string denom) view returns(uint256)

func (*Ics20transferCaller) EncodeAddress

func (_Ics20transfer *Ics20transferCaller) EncodeAddress(opts *bind.CallOpts, sender common.Address) (string, error)

EncodeAddress is a free data retrieval call binding the contract method 0xd32b1bea.

Solidity: function encodeAddress(address sender) pure returns(string)

func (*Ics20transferCaller) GetVoucherEscrow

func (_Ics20transfer *Ics20transferCaller) GetVoucherEscrow(opts *bind.CallOpts, channelId string) (common.Address, error)

GetVoucherEscrow is a free data retrieval call binding the contract method 0x39c9c070.

Solidity: function getVoucherEscrow(string channelId) view returns(address)

func (*Ics20transferCaller) ICS20VERSION

func (_Ics20transfer *Ics20transferCaller) 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 (*Ics20transferCaller) IbcAddress

func (_Ics20transfer *Ics20transferCaller) IbcAddress(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function ibcAddress() view returns(address)

func (*Ics20transferCaller) SupportsInterface

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

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

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

type Ics20transferCallerRaw

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

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

func (*Ics20transferCallerRaw) Call

func (_Ics20transfer *Ics20transferCallerRaw) 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 Ics20transferCallerSession

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

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

func (*Ics20transferCallerSession) BalanceOf

func (_Ics20transfer *Ics20transferCallerSession) BalanceOf(account common.Address, denom string) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0xb9b092c8.

Solidity: function balanceOf(address account, string denom) view returns(uint256)

func (*Ics20transferCallerSession) EncodeAddress

func (_Ics20transfer *Ics20transferCallerSession) EncodeAddress(sender common.Address) (string, error)

EncodeAddress is a free data retrieval call binding the contract method 0xd32b1bea.

Solidity: function encodeAddress(address sender) pure returns(string)

func (*Ics20transferCallerSession) GetVoucherEscrow

func (_Ics20transfer *Ics20transferCallerSession) GetVoucherEscrow(channelId string) (common.Address, error)

GetVoucherEscrow is a free data retrieval call binding the contract method 0x39c9c070.

Solidity: function getVoucherEscrow(string channelId) view returns(address)

func (*Ics20transferCallerSession) ICS20VERSION

func (_Ics20transfer *Ics20transferCallerSession) ICS20VERSION() (string, error)

ICS20VERSION is a free data retrieval call binding the contract method 0x025183eb.

Solidity: function ICS20_VERSION() view returns(string)

func (*Ics20transferCallerSession) IbcAddress

func (_Ics20transfer *Ics20transferCallerSession) IbcAddress() (common.Address, error)

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

Solidity: function ibcAddress() view returns(address)

func (*Ics20transferCallerSession) SupportsInterface

func (_Ics20transfer *Ics20transferCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

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

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

type Ics20transferFilterer

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

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

func NewIcs20transferFilterer

func NewIcs20transferFilterer(address common.Address, filterer bind.ContractFilterer) (*Ics20transferFilterer, error)

NewIcs20transferFilterer creates a new log filterer instance of Ics20transfer, bound to a specific deployed contract.

type Ics20transferRaw

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

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

func (*Ics20transferRaw) Call

func (_Ics20transfer *Ics20transferRaw) 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 (*Ics20transferRaw) Transact

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

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

func (*Ics20transferRaw) Transfer

func (_Ics20transfer *Ics20transferRaw) 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 Ics20transferSession

type Ics20transferSession struct {
	Contract     *Ics20transfer    // 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
}

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

func (*Ics20transferSession) BalanceOf

func (_Ics20transfer *Ics20transferSession) BalanceOf(account common.Address, denom string) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0xb9b092c8.

Solidity: function balanceOf(address account, string denom) view returns(uint256)

func (*Ics20transferSession) Deposit

func (_Ics20transfer *Ics20transferSession) Deposit(to common.Address, tokenContract common.Address, amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x8340f549.

Solidity: function deposit(address to, address tokenContract, uint256 amount) returns()

func (*Ics20transferSession) DepositSendTransfer

func (_Ics20transfer *Ics20transferSession) DepositSendTransfer(sourceChannel string, tokenContract common.Address, amount *big.Int, receiver string, timeout ICS20LibTimeout) (*types.Transaction, error)

DepositSendTransfer is a paid mutator transaction binding the contract method 0x8e8f8ca3.

Solidity: function depositSendTransfer(string sourceChannel, address tokenContract, uint256 amount, string receiver, ((uint64,uint64),uint64) timeout) returns(uint64)

func (*Ics20transferSession) EncodeAddress

func (_Ics20transfer *Ics20transferSession) EncodeAddress(sender common.Address) (string, error)

EncodeAddress is a free data retrieval call binding the contract method 0xd32b1bea.

Solidity: function encodeAddress(address sender) pure returns(string)

func (*Ics20transferSession) GetVoucherEscrow

func (_Ics20transfer *Ics20transferSession) GetVoucherEscrow(channelId string) (common.Address, error)

GetVoucherEscrow is a free data retrieval call binding the contract method 0x39c9c070.

Solidity: function getVoucherEscrow(string channelId) view returns(address)

func (*Ics20transferSession) ICS20VERSION

func (_Ics20transfer *Ics20transferSession) ICS20VERSION() (string, error)

ICS20VERSION is a free data retrieval call binding the contract method 0x025183eb.

Solidity: function ICS20_VERSION() view returns(string)

func (*Ics20transferSession) IbcAddress

func (_Ics20transfer *Ics20transferSession) IbcAddress() (common.Address, error)

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

Solidity: function ibcAddress() view returns(address)

func (*Ics20transferSession) OnAcknowledgementPacket

func (_Ics20transfer *Ics20transferSession) OnAcknowledgementPacket(packet Packet, acknowledgement []byte, arg2 common.Address) (*types.Transaction, error)

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

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

func (*Ics20transferSession) OnChanCloseConfirm

func (_Ics20transfer *Ics20transferSession) OnChanCloseConfirm(arg0 IIBCModuleMsgOnChanCloseConfirm) (*types.Transaction, error)

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

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

func (*Ics20transferSession) OnChanCloseInit

func (_Ics20transfer *Ics20transferSession) OnChanCloseInit(msg_ IIBCModuleMsgOnChanCloseInit) (*types.Transaction, error)

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

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

func (*Ics20transferSession) OnChanOpenAck

func (_Ics20transfer *Ics20transferSession) 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 (*Ics20transferSession) OnChanOpenConfirm

func (_Ics20transfer *Ics20transferSession) OnChanOpenConfirm(arg0 IIBCModuleMsgOnChanOpenConfirm) (*types.Transaction, error)

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

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

func (*Ics20transferSession) OnChanOpenInit

func (_Ics20transfer *Ics20transferSession) OnChanOpenInit(msg_ IIBCModuleInitializerMsgOnChanOpenInit) (*types.Transaction, error)

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

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

func (*Ics20transferSession) OnChanOpenTry

func (_Ics20transfer *Ics20transferSession) OnChanOpenTry(msg_ IIBCModuleInitializerMsgOnChanOpenTry) (*types.Transaction, error)

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

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

func (*Ics20transferSession) OnRecvPacket

func (_Ics20transfer *Ics20transferSession) OnRecvPacket(packet Packet, 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 (*Ics20transferSession) OnTimeoutPacket

func (_Ics20transfer *Ics20transferSession) OnTimeoutPacket(packet Packet, 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 (*Ics20transferSession) SendTransfer

func (_Ics20transfer *Ics20transferSession) SendTransfer(sourceChannel string, denom string, amount *big.Int, receiver string, timeout ICS20LibTimeout) (*types.Transaction, error)

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

Solidity: function sendTransfer(string sourceChannel, string denom, uint256 amount, string receiver, ((uint64,uint64),uint64) timeout) returns(uint64)

func (*Ics20transferSession) SupportsInterface

func (_Ics20transfer *Ics20transferSession) SupportsInterface(interfaceId [4]byte) (bool, error)

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

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

func (*Ics20transferSession) Transfer

func (_Ics20transfer *Ics20transferSession) Transfer(to common.Address, denom string, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xfff3a01b.

Solidity: function transfer(address to, string denom, uint256 amount) returns()

func (*Ics20transferSession) Withdraw

func (_Ics20transfer *Ics20transferSession) Withdraw(to common.Address, tokenContract common.Address, amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xd9caed12.

Solidity: function withdraw(address to, address tokenContract, uint256 amount) returns()

type Ics20transferTransactor

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

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

func NewIcs20transferTransactor

func NewIcs20transferTransactor(address common.Address, transactor bind.ContractTransactor) (*Ics20transferTransactor, error)

NewIcs20transferTransactor creates a new write-only instance of Ics20transfer, bound to a specific deployed contract.

func (*Ics20transferTransactor) Deposit

func (_Ics20transfer *Ics20transferTransactor) Deposit(opts *bind.TransactOpts, to common.Address, tokenContract common.Address, amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x8340f549.

Solidity: function deposit(address to, address tokenContract, uint256 amount) returns()

func (*Ics20transferTransactor) DepositSendTransfer

func (_Ics20transfer *Ics20transferTransactor) DepositSendTransfer(opts *bind.TransactOpts, sourceChannel string, tokenContract common.Address, amount *big.Int, receiver string, timeout ICS20LibTimeout) (*types.Transaction, error)

DepositSendTransfer is a paid mutator transaction binding the contract method 0x8e8f8ca3.

Solidity: function depositSendTransfer(string sourceChannel, address tokenContract, uint256 amount, string receiver, ((uint64,uint64),uint64) timeout) returns(uint64)

func (*Ics20transferTransactor) OnAcknowledgementPacket

func (_Ics20transfer *Ics20transferTransactor) OnAcknowledgementPacket(opts *bind.TransactOpts, packet Packet, acknowledgement []byte, arg2 common.Address) (*types.Transaction, error)

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

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

func (*Ics20transferTransactor) OnChanCloseConfirm

func (_Ics20transfer *Ics20transferTransactor) 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 (*Ics20transferTransactor) OnChanCloseInit

func (_Ics20transfer *Ics20transferTransactor) OnChanCloseInit(opts *bind.TransactOpts, msg_ IIBCModuleMsgOnChanCloseInit) (*types.Transaction, error)

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

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

func (*Ics20transferTransactor) OnChanOpenAck

func (_Ics20transfer *Ics20transferTransactor) 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 (*Ics20transferTransactor) OnChanOpenConfirm

func (_Ics20transfer *Ics20transferTransactor) 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 (*Ics20transferTransactor) OnChanOpenInit

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

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

func (*Ics20transferTransactor) OnChanOpenTry

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

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

func (*Ics20transferTransactor) OnRecvPacket

func (_Ics20transfer *Ics20transferTransactor) OnRecvPacket(opts *bind.TransactOpts, packet Packet, 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 (*Ics20transferTransactor) OnTimeoutPacket

func (_Ics20transfer *Ics20transferTransactor) OnTimeoutPacket(opts *bind.TransactOpts, packet Packet, 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 (*Ics20transferTransactor) SendTransfer

func (_Ics20transfer *Ics20transferTransactor) SendTransfer(opts *bind.TransactOpts, sourceChannel string, denom string, amount *big.Int, receiver string, timeout ICS20LibTimeout) (*types.Transaction, error)

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

Solidity: function sendTransfer(string sourceChannel, string denom, uint256 amount, string receiver, ((uint64,uint64),uint64) timeout) returns(uint64)

func (*Ics20transferTransactor) Transfer

func (_Ics20transfer *Ics20transferTransactor) Transfer(opts *bind.TransactOpts, to common.Address, denom string, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xfff3a01b.

Solidity: function transfer(address to, string denom, uint256 amount) returns()

func (*Ics20transferTransactor) Withdraw

func (_Ics20transfer *Ics20transferTransactor) Withdraw(opts *bind.TransactOpts, to common.Address, tokenContract common.Address, amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xd9caed12.

Solidity: function withdraw(address to, address tokenContract, uint256 amount) returns()

type Ics20transferTransactorRaw

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

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

func (*Ics20transferTransactorRaw) Transact

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

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

func (*Ics20transferTransactorRaw) Transfer

func (_Ics20transfer *Ics20transferTransactorRaw) 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 Ics20transferTransactorSession

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

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

func (*Ics20transferTransactorSession) Deposit

func (_Ics20transfer *Ics20transferTransactorSession) Deposit(to common.Address, tokenContract common.Address, amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x8340f549.

Solidity: function deposit(address to, address tokenContract, uint256 amount) returns()

func (*Ics20transferTransactorSession) DepositSendTransfer

func (_Ics20transfer *Ics20transferTransactorSession) DepositSendTransfer(sourceChannel string, tokenContract common.Address, amount *big.Int, receiver string, timeout ICS20LibTimeout) (*types.Transaction, error)

DepositSendTransfer is a paid mutator transaction binding the contract method 0x8e8f8ca3.

Solidity: function depositSendTransfer(string sourceChannel, address tokenContract, uint256 amount, string receiver, ((uint64,uint64),uint64) timeout) returns(uint64)

func (*Ics20transferTransactorSession) OnAcknowledgementPacket

func (_Ics20transfer *Ics20transferTransactorSession) OnAcknowledgementPacket(packet Packet, acknowledgement []byte, arg2 common.Address) (*types.Transaction, error)

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

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

func (*Ics20transferTransactorSession) OnChanCloseConfirm

func (_Ics20transfer *Ics20transferTransactorSession) OnChanCloseConfirm(arg0 IIBCModuleMsgOnChanCloseConfirm) (*types.Transaction, error)

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

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

func (*Ics20transferTransactorSession) OnChanCloseInit

func (_Ics20transfer *Ics20transferTransactorSession) OnChanCloseInit(msg_ IIBCModuleMsgOnChanCloseInit) (*types.Transaction, error)

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

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

func (*Ics20transferTransactorSession) OnChanOpenAck

func (_Ics20transfer *Ics20transferTransactorSession) 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 (*Ics20transferTransactorSession) OnChanOpenConfirm

func (_Ics20transfer *Ics20transferTransactorSession) OnChanOpenConfirm(arg0 IIBCModuleMsgOnChanOpenConfirm) (*types.Transaction, error)

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

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

func (*Ics20transferTransactorSession) OnChanOpenInit

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

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

func (*Ics20transferTransactorSession) OnChanOpenTry

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

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

func (*Ics20transferTransactorSession) OnRecvPacket

func (_Ics20transfer *Ics20transferTransactorSession) OnRecvPacket(packet Packet, 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 (*Ics20transferTransactorSession) OnTimeoutPacket

func (_Ics20transfer *Ics20transferTransactorSession) OnTimeoutPacket(packet Packet, 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 (*Ics20transferTransactorSession) SendTransfer

func (_Ics20transfer *Ics20transferTransactorSession) SendTransfer(sourceChannel string, denom string, amount *big.Int, receiver string, timeout ICS20LibTimeout) (*types.Transaction, error)

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

Solidity: function sendTransfer(string sourceChannel, string denom, uint256 amount, string receiver, ((uint64,uint64),uint64) timeout) returns(uint64)

func (*Ics20transferTransactorSession) Transfer

func (_Ics20transfer *Ics20transferTransactorSession) Transfer(to common.Address, denom string, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xfff3a01b.

Solidity: function transfer(address to, string denom, uint256 amount) returns()

func (*Ics20transferTransactorSession) Withdraw

func (_Ics20transfer *Ics20transferTransactorSession) Withdraw(to common.Address, tokenContract common.Address, amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xd9caed12.

Solidity: function withdraw(address to, address tokenContract, uint256 amount) returns()

type Packet

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

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

Jump to

Keyboard shortcuts

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