ics20transferbank

package
v0.3.30 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 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: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"ibcHandler_\",\"type\":\"address\",\"internalType\":\"contractIIBCHandler\"},{\"name\":\"bank_\",\"type\":\"address\",\"internalType\":\"contractIICS20Bank\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"ICS20_VERSION\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"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\":\"structIIBCModule.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\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onChanOpenTry\",\"inputs\":[{\"name\":\"msg_\",\"type\":\"tuple\",\"internalType\":\"structIIBCModule.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\":\"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\":\"denom\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"receiver\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"sourcePort\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"sourceChannel\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"timeoutHeight\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"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\":\"ICS20BankNotAdminRole\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ICS20BankNotBurnRole\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ICS20BankNotMintRole\",\"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\":\"ICS20EscrowAddressNotFound\",\"inputs\":[{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"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\":\"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\":\"ICS20InvalidSender\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"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\":\"ICS20UnexpectedVersion\",\"inputs\":[{\"name\":\"version\",\"type\":\"string\",\"internalType\":\"string\"}]}]",
}

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 IIBCModuleMsgOnChanCloseConfirm added in v0.3.16

type IIBCModuleMsgOnChanCloseConfirm struct {
	PortId    string
	ChannelId string
}

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

type IIBCModuleMsgOnChanCloseInit added in v0.3.16

type IIBCModuleMsgOnChanCloseInit struct {
	PortId    string
	ChannelId string
}

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

type IIBCModuleMsgOnChanOpenAck added in v0.3.16

type IIBCModuleMsgOnChanOpenAck struct {
	PortId              string
	ChannelId           string
	CounterpartyVersion string
}

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

type IIBCModuleMsgOnChanOpenConfirm added in v0.3.16

type IIBCModuleMsgOnChanOpenConfirm struct {
	PortId    string
	ChannelId string
}

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

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

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

Solidity: function onChanCloseInit((string,string) msg_) 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 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 (*Ics20transferbankSession) OnTimeoutPacket added in v0.3.12

func (_Ics20transferbank *Ics20transferbankSession) 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 (*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 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 (*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, msg_ IIBCModuleMsgOnChanCloseInit) (*types.Transaction, error)

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

Solidity: function onChanCloseInit((string,string) msg_) 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 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 (*Ics20transferbankTransactor) OnTimeoutPacket added in v0.3.12

func (_Ics20transferbank *Ics20transferbankTransactor) 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 (*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 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 (*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(msg_ IIBCModuleMsgOnChanCloseInit) (*types.Transaction, error)

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

Solidity: function onChanCloseInit((string,string) msg_) 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 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 (*Ics20transferbankTransactorSession) OnTimeoutPacket added in v0.3.12

func (_Ics20transferbank *Ics20transferbankTransactorSession) 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 (*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 Packet added in v0.3.25

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

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

Jump to

Keyboard shortcuts

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