ics20transferbank

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Ics20transferbankABI = "" /* 5658-byte string literal not displayed */

Ics20transferbankABI is the input ABI used to generate the binding from.

Variables

This section is empty.

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.

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.

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

func (_Ics20transferbank *Ics20transferbankSession) OnAcknowledgementPacket(packet PacketData, acknowledgement []byte) (*types.Transaction, error)

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

Solidity: function onAcknowledgementPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, bytes acknowledgement) 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) (*types.Transaction, error)

OnRecvPacket is a paid mutator transaction binding the contract method 0x5550b656.

Solidity: function onRecvPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet) 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) (*types.Transaction, error)

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

Solidity: function onAcknowledgementPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, bytes acknowledgement) 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) (*types.Transaction, error)

OnRecvPacket is a paid mutator transaction binding the contract method 0x5550b656.

Solidity: function onRecvPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet) 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) (*types.Transaction, error)

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

Solidity: function onAcknowledgementPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet, bytes acknowledgement) 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) (*types.Transaction, error)

OnRecvPacket is a paid mutator transaction binding the contract method 0x5550b656.

Solidity: function onRecvPacket((uint64,string,string,string,string,bytes,(uint64,uint64),uint64) packet) 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