lib

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CosmosTypesABI = CosmosTypesMetaData.ABI

CosmosTypesABI is the input ABI used to generate the binding from. Deprecated: Use CosmosTypesMetaData.ABI instead.

View Source
var CosmosTypesBin = CosmosTypesMetaData.Bin

CosmosTypesBin is the compiled bytecode used for deploying new contracts. Deprecated: Use CosmosTypesMetaData.Bin instead.

View Source
var CosmosTypesMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"}],\"internalType\":\"structCosmos.Coin\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"coin\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"internalType\":\"uint64\",\"name\":\"offset\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"limit\",\"type\":\"uint64\"},{\"internalType\":\"bool\",\"name\":\"countTotal\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"reverse\",\"type\":\"bool\"}],\"internalType\":\"structCosmos.PageRequest\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"pageRequest\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"nextKey\",\"type\":\"string\"},{\"internalType\":\"uint64\",\"name\":\"total\",\"type\":\"uint64\"}],\"internalType\":\"structCosmos.PageResponse\",\"name\":\"\",\"type\":\"tuple\"}],\"name\":\"pageResponse\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561000f575f80fd5b506102118061001d5f395ff3fe608060405234801561000f575f80fd5b506004361061003f575f3560e01c80631acc976f146100435780632ff6e5df1461005f578063426ce1a91461007b575b5f80fd5b61005d600480360381019061005891906100ca565b610097565b005b6100796004803603810190610074919061012f565b61009a565b005b61009560048036038101906100909190610194565b61009d565b005b50565b50565b50565b5f80fd5b5f80fd5b5f80fd5b5f60a082840312156100c1576100c06100a8565b5b81905092915050565b5f602082840312156100df576100de6100a0565b5b5f82013567ffffffffffffffff8111156100fc576100fb6100a4565b5b610108848285016100ac565b91505092915050565b5f60408284031215610126576101256100a8565b5b81905092915050565b5f60208284031215610144576101436100a0565b5b5f82013567ffffffffffffffff811115610161576101606100a4565b5b61016d84828501610111565b91505092915050565b5f6040828403121561018b5761018a6100a8565b5b81905092915050565b5f602082840312156101a9576101a86100a0565b5b5f82013567ffffffffffffffff8111156101c6576101c56100a4565b5b6101d284828501610176565b9150509291505056fea2646970667358221220fa37c47e12470a2d562a8aea76fff71fc39a36c3b8962ae6382ade5b3645f9a364736f6c63430008140033",
}

CosmosTypesMetaData contains all meta data concerning the CosmosTypes contract.

Functions

This section is empty.

Types

type CosmosCoin

type CosmosCoin struct {
	Amount *big.Int
	Denom  string
}

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

type CosmosPageRequest

type CosmosPageRequest struct {
	Key        string
	Offset     uint64
	Limit      uint64
	CountTotal bool
	Reverse    bool
}

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

type CosmosPageResponse

type CosmosPageResponse struct {
	NextKey string
	Total   uint64
}

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

type CosmosTypes

type CosmosTypes struct {
	CosmosTypesCaller     // Read-only binding to the contract
	CosmosTypesTransactor // Write-only binding to the contract
	CosmosTypesFilterer   // Log filterer for contract events
}

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

func DeployCosmosTypes

func DeployCosmosTypes(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *CosmosTypes, error)

DeployCosmosTypes deploys a new Ethereum contract, binding an instance of CosmosTypes to it.

func NewCosmosTypes

func NewCosmosTypes(address common.Address, backend bind.ContractBackend) (*CosmosTypes, error)

NewCosmosTypes creates a new instance of CosmosTypes, bound to a specific deployed contract.

type CosmosTypesCaller

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

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

func NewCosmosTypesCaller

func NewCosmosTypesCaller(address common.Address, caller bind.ContractCaller) (*CosmosTypesCaller, error)

NewCosmosTypesCaller creates a new read-only instance of CosmosTypes, bound to a specific deployed contract.

func (*CosmosTypesCaller) Coin

func (_CosmosTypes *CosmosTypesCaller) Coin(opts *bind.CallOpts, arg0 CosmosCoin) error

Coin is a free data retrieval call binding the contract method 0x2ff6e5df.

Solidity: function coin((uint256,string) ) pure returns()

func (*CosmosTypesCaller) PageRequest

func (_CosmosTypes *CosmosTypesCaller) PageRequest(opts *bind.CallOpts, arg0 CosmosPageRequest) error

PageRequest is a free data retrieval call binding the contract method 0x1acc976f.

Solidity: function pageRequest((string,uint64,uint64,bool,bool) ) pure returns()

func (*CosmosTypesCaller) PageResponse

func (_CosmosTypes *CosmosTypesCaller) PageResponse(opts *bind.CallOpts, arg0 CosmosPageResponse) error

PageResponse is a free data retrieval call binding the contract method 0x426ce1a9.

Solidity: function pageResponse((string,uint64) ) pure returns()

type CosmosTypesCallerRaw

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

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

func (*CosmosTypesCallerRaw) Call

func (_CosmosTypes *CosmosTypesCallerRaw) 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 CosmosTypesCallerSession

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

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

func (*CosmosTypesCallerSession) Coin

func (_CosmosTypes *CosmosTypesCallerSession) Coin(arg0 CosmosCoin) error

Coin is a free data retrieval call binding the contract method 0x2ff6e5df.

Solidity: function coin((uint256,string) ) pure returns()

func (*CosmosTypesCallerSession) PageRequest

func (_CosmosTypes *CosmosTypesCallerSession) PageRequest(arg0 CosmosPageRequest) error

PageRequest is a free data retrieval call binding the contract method 0x1acc976f.

Solidity: function pageRequest((string,uint64,uint64,bool,bool) ) pure returns()

func (*CosmosTypesCallerSession) PageResponse

func (_CosmosTypes *CosmosTypesCallerSession) PageResponse(arg0 CosmosPageResponse) error

PageResponse is a free data retrieval call binding the contract method 0x426ce1a9.

Solidity: function pageResponse((string,uint64) ) pure returns()

type CosmosTypesFilterer

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

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

func NewCosmosTypesFilterer

func NewCosmosTypesFilterer(address common.Address, filterer bind.ContractFilterer) (*CosmosTypesFilterer, error)

NewCosmosTypesFilterer creates a new log filterer instance of CosmosTypes, bound to a specific deployed contract.

type CosmosTypesRaw

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

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

func (*CosmosTypesRaw) Call

func (_CosmosTypes *CosmosTypesRaw) 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 (*CosmosTypesRaw) Transact

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

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

func (*CosmosTypesRaw) Transfer

func (_CosmosTypes *CosmosTypesRaw) 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 CosmosTypesSession

type CosmosTypesSession struct {
	Contract     *CosmosTypes      // 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
}

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

func (*CosmosTypesSession) Coin

func (_CosmosTypes *CosmosTypesSession) Coin(arg0 CosmosCoin) error

Coin is a free data retrieval call binding the contract method 0x2ff6e5df.

Solidity: function coin((uint256,string) ) pure returns()

func (*CosmosTypesSession) PageRequest

func (_CosmosTypes *CosmosTypesSession) PageRequest(arg0 CosmosPageRequest) error

PageRequest is a free data retrieval call binding the contract method 0x1acc976f.

Solidity: function pageRequest((string,uint64,uint64,bool,bool) ) pure returns()

func (*CosmosTypesSession) PageResponse

func (_CosmosTypes *CosmosTypesSession) PageResponse(arg0 CosmosPageResponse) error

PageResponse is a free data retrieval call binding the contract method 0x426ce1a9.

Solidity: function pageResponse((string,uint64) ) pure returns()

type CosmosTypesTransactor

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

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

func NewCosmosTypesTransactor

func NewCosmosTypesTransactor(address common.Address, transactor bind.ContractTransactor) (*CosmosTypesTransactor, error)

NewCosmosTypesTransactor creates a new write-only instance of CosmosTypes, bound to a specific deployed contract.

type CosmosTypesTransactorRaw

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

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

func (*CosmosTypesTransactorRaw) Transact

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

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

func (*CosmosTypesTransactorRaw) Transfer

func (_CosmosTypes *CosmosTypesTransactorRaw) 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 CosmosTypesTransactorSession

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

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

Jump to

Keyboard shortcuts

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