querier

package
v3.0.0-...-1ba514b Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthQuerier

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

func NewAuthQuerier

func NewAuthQuerier(
	clientCtx client.Context,
	clients []rpcclient.RemoteClient,
	maxBlockHeight *atomic.Int64,
) *AuthQuerier

func (*AuthQuerier) QueryAccount

func (q *AuthQuerier) QueryAccount(address sdk.Address) (*auth.QueryAccountResponse, error)

type FeedQuerier

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

func NewFeedQuerier

func NewFeedQuerier(
	clientCtx client.Context,
	clients []rpcclient.RemoteClient,
	maxBlockHeight *atomic.Int64,
) *FeedQuerier

func (*FeedQuerier) QueryCurrentFeeds

func (q *FeedQuerier) QueryCurrentFeeds() (*feeds.QueryCurrentFeedsResponse, error)

func (*FeedQuerier) QueryIsFeeder

func (q *FeedQuerier) QueryIsFeeder(
	validator sdk.ValAddress,
	feeder sdk.Address,
) (*feeds.QueryIsFeederResponse, error)

func (*FeedQuerier) QueryParams

func (q *FeedQuerier) QueryParams() (*feeds.QueryParamsResponse, error)

func (*FeedQuerier) QueryReferenceSourceConfig

func (q *FeedQuerier) QueryReferenceSourceConfig() (*feeds.QueryReferenceSourceConfigResponse, error)

func (*FeedQuerier) QueryValidValidator

func (q *FeedQuerier) QueryValidValidator(valAddress sdk.ValAddress) (*feeds.QueryValidValidatorResponse, error)

func (*FeedQuerier) QueryValidatorPrices

func (q *FeedQuerier) QueryValidatorPrices(valAddress sdk.ValAddress) (*feeds.QueryValidatorPricesResponse, error)

type QueryFunction

type QueryFunction[I, O any] func(ctx context.Context, in *I, opts ...grpc.CallOption) (*O, error)

type TxQuerier

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

func NewTxQuerier

func NewTxQuerier(clientCtx client.Context, clients []rpcclient.RemoteClient) *TxQuerier

func (*TxQuerier) QueryTx

func (q *TxQuerier) QueryTx(hash string) (*types.TxResponse, error)

Jump to

Keyboard shortcuts

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