queries

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 65 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IXplaClient

type IXplaClient struct {
	Ixplac    ModuleClient
	QueryType uint8
}

Query internal XPLA client

func NewIXplaClient

func NewIXplaClient(moduleClient ModuleClient, qt uint8) *IXplaClient

func (IXplaClient) QueryAnchor

func (i IXplaClient) QueryAnchor() (string, error)

Query client for Anchor module.

func (IXplaClient) QueryAuth

func (i IXplaClient) QueryAuth() (string, error)

Query client for auth module.

func (IXplaClient) QueryBank

func (i IXplaClient) QueryBank() (string, error)

Query client for bank module.

func (IXplaClient) QueryBase

func (i IXplaClient) QueryBase() (string, error)

Query client for bank module.

func (IXplaClient) QueryDID

func (i IXplaClient) QueryDID() (string, error)

Query client for DID module.

func (IXplaClient) QueryDistribution

func (i IXplaClient) QueryDistribution() (string, error)

Query client for distribution module.

func (IXplaClient) QueryEvidence

func (i IXplaClient) QueryEvidence() (string, error)

Query client for evidence module.

func (IXplaClient) QueryEvm

func (i IXplaClient) QueryEvm() (string, error)

Query client for evm module.

func (IXplaClient) QueryFeegrant

func (i IXplaClient) QueryFeegrant() (string, error)

Query client for fee-grant module.

func (IXplaClient) QueryGov

func (i IXplaClient) QueryGov() (string, error)

Query client for gov module.

func (IXplaClient) QueryMint

func (i IXplaClient) QueryMint() (string, error)

Query client for mint module.

func (IXplaClient) QueryParams

func (i IXplaClient) QueryParams() (string, error)

Query client for params module.

func (IXplaClient) QueryPrivate

func (i IXplaClient) QueryPrivate() (string, error)

Query client for private module.

func (IXplaClient) QuerySlashing

func (i IXplaClient) QuerySlashing() (string, error)

Query client for slashing module.

func (IXplaClient) QueryStaking

func (i IXplaClient) QueryStaking() (string, error)

Query client for staking module.

func (IXplaClient) QueryUpgrade

func (i IXplaClient) QueryUpgrade() (string, error)

Query client for upgrade module.

func (IXplaClient) QueryWasm

func (i IXplaClient) QueryWasm() (string, error)

Query client for wasm module.

type ModuleClient

type ModuleClient interface {
	GetChainId() string
	GetPrivateKey() key.PrivateKey
	GetEncoding() params.EncodingConfig
	GetContext() context.Context
	GetLcdURL() string
	GetGrpcUrl() string
	GetGrpcClient() grpc.ClientConn
	GetRpc() string
	GetEvmRpc() string
	GetBroadcastMode() string
	GetAccountNumber() string
	GetSequence() string
	GetGasLimit() string
	GetGasPrice() string
	GetGasAdjustment() string
	GetFeeAmount() string
	GetSignMode() signing.SignMode
	GetFeeGranter() sdk.AccAddress
	GetTimeoutHeight() string
	GetPagination() *query.PageRequest
	GetOutputDocument() string
	GetModule() string
	GetMsg() interface{}
	GetMsgType() string
	GetVPByte() []byte
}

Jump to

Keyboard shortcuts

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