Documentation ¶
Index ¶
- Variables
- type IbcUtils
- type IbcUtilsCaller
- type IbcUtilsCallerRaw
- type IbcUtilsCallerSession
- type IbcUtilsFilterer
- type IbcUtilsRaw
- func (_IbcUtils *IbcUtilsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IbcUtils *IbcUtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IbcUtils *IbcUtilsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IbcUtilsSession
- type IbcUtilsTransactor
- type IbcUtilsTransactorRaw
- type IbcUtilsTransactorSession
- type UniversalPacket
Constants ¶
This section is empty.
Variables ¶
var IbcUtilsABI = IbcUtilsMetaData.ABI
IbcUtilsABI is the input ABI used to generate the binding from. Deprecated: Use IbcUtilsMetaData.ABI instead.
var IbcUtilsMetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"fromUniversalPacketBytes\",\"inputs\":[{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"universalPacketData\",\"type\":\"tuple\",\"internalType\":\"structUniversalPacket\",\"components\":[{\"name\":\"srcPortAddr\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"mwBitmap\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"destPortAddr\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"appData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"hexStrToAddress\",\"inputs\":[{\"name\":\"hexStr\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"pure\"},{\"type\":\"error\",\"name\":\"StringTooLong\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"invalidCharacter\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"invalidHexStringLength\",\"inputs\":[]}]",
}
IbcUtilsMetaData contains all meta data concerning the IbcUtils contract.
Functions ¶
This section is empty.
Types ¶
type IbcUtils ¶
type IbcUtils struct { IbcUtilsCaller // Read-only binding to the contract IbcUtilsTransactor // Write-only binding to the contract IbcUtilsFilterer // Log filterer for contract events }
IbcUtils is an auto generated Go binding around an Ethereum contract.
func NewIbcUtils ¶
NewIbcUtils creates a new instance of IbcUtils, bound to a specific deployed contract.
type IbcUtilsCaller ¶
type IbcUtilsCaller struct {
// contains filtered or unexported fields
}
IbcUtilsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIbcUtilsCaller ¶
func NewIbcUtilsCaller(address common.Address, caller bind.ContractCaller) (*IbcUtilsCaller, error)
NewIbcUtilsCaller creates a new read-only instance of IbcUtils, bound to a specific deployed contract.
func (*IbcUtilsCaller) FromUniversalPacketBytes ¶
func (_IbcUtils *IbcUtilsCaller) FromUniversalPacketBytes(opts *bind.CallOpts, data []byte) (UniversalPacket, error)
FromUniversalPacketBytes is a free data retrieval call binding the contract method 0xd5c39a9d.
Solidity: function fromUniversalPacketBytes(bytes data) pure returns((bytes32,uint256,bytes32,bytes) universalPacketData)
func (*IbcUtilsCaller) HexStrToAddress ¶
func (_IbcUtils *IbcUtilsCaller) HexStrToAddress(opts *bind.CallOpts, hexStr string) (common.Address, error)
HexStrToAddress is a free data retrieval call binding the contract method 0xa1ef9a98.
Solidity: function hexStrToAddress(string hexStr) pure returns(address addr)
type IbcUtilsCallerRaw ¶
type IbcUtilsCallerRaw struct {
Contract *IbcUtilsCaller // Generic read-only contract binding to access the raw methods on
}
IbcUtilsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IbcUtilsCallerRaw) Call ¶
func (_IbcUtils *IbcUtilsCallerRaw) 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 IbcUtilsCallerSession ¶
type IbcUtilsCallerSession struct { Contract *IbcUtilsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IbcUtilsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IbcUtilsCallerSession) FromUniversalPacketBytes ¶
func (_IbcUtils *IbcUtilsCallerSession) FromUniversalPacketBytes(data []byte) (UniversalPacket, error)
FromUniversalPacketBytes is a free data retrieval call binding the contract method 0xd5c39a9d.
Solidity: function fromUniversalPacketBytes(bytes data) pure returns((bytes32,uint256,bytes32,bytes) universalPacketData)
func (*IbcUtilsCallerSession) HexStrToAddress ¶
func (_IbcUtils *IbcUtilsCallerSession) HexStrToAddress(hexStr string) (common.Address, error)
HexStrToAddress is a free data retrieval call binding the contract method 0xa1ef9a98.
Solidity: function hexStrToAddress(string hexStr) pure returns(address addr)
type IbcUtilsFilterer ¶
type IbcUtilsFilterer struct {
// contains filtered or unexported fields
}
IbcUtilsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIbcUtilsFilterer ¶
func NewIbcUtilsFilterer(address common.Address, filterer bind.ContractFilterer) (*IbcUtilsFilterer, error)
NewIbcUtilsFilterer creates a new log filterer instance of IbcUtils, bound to a specific deployed contract.
type IbcUtilsRaw ¶
type IbcUtilsRaw struct {
Contract *IbcUtils // Generic contract binding to access the raw methods on
}
IbcUtilsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IbcUtilsRaw) Call ¶
func (_IbcUtils *IbcUtilsRaw) 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 (*IbcUtilsRaw) Transact ¶
func (_IbcUtils *IbcUtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IbcUtilsRaw) Transfer ¶
func (_IbcUtils *IbcUtilsRaw) 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 IbcUtilsSession ¶
type IbcUtilsSession struct { Contract *IbcUtils // 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 }
IbcUtilsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IbcUtilsSession) FromUniversalPacketBytes ¶
func (_IbcUtils *IbcUtilsSession) FromUniversalPacketBytes(data []byte) (UniversalPacket, error)
FromUniversalPacketBytes is a free data retrieval call binding the contract method 0xd5c39a9d.
Solidity: function fromUniversalPacketBytes(bytes data) pure returns((bytes32,uint256,bytes32,bytes) universalPacketData)
func (*IbcUtilsSession) HexStrToAddress ¶
func (_IbcUtils *IbcUtilsSession) HexStrToAddress(hexStr string) (common.Address, error)
HexStrToAddress is a free data retrieval call binding the contract method 0xa1ef9a98.
Solidity: function hexStrToAddress(string hexStr) pure returns(address addr)
type IbcUtilsTransactor ¶
type IbcUtilsTransactor struct {
// contains filtered or unexported fields
}
IbcUtilsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIbcUtilsTransactor ¶
func NewIbcUtilsTransactor(address common.Address, transactor bind.ContractTransactor) (*IbcUtilsTransactor, error)
NewIbcUtilsTransactor creates a new write-only instance of IbcUtils, bound to a specific deployed contract.
type IbcUtilsTransactorRaw ¶
type IbcUtilsTransactorRaw struct {
Contract *IbcUtilsTransactor // Generic write-only contract binding to access the raw methods on
}
IbcUtilsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IbcUtilsTransactorRaw) Transact ¶
func (_IbcUtils *IbcUtilsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IbcUtilsTransactorRaw) Transfer ¶
func (_IbcUtils *IbcUtilsTransactorRaw) 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 IbcUtilsTransactorSession ¶
type IbcUtilsTransactorSession struct { Contract *IbcUtilsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IbcUtilsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.