query

package
v0.0.0-...-192d3b1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package query provides interfaces used to query the state of the blockchain. These interfaces abstract the underlying request/response types and provide a single method to query for a specific piece of information from the chain.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrQueryAccountNotFound            = sdkerrors.Register(codespace, 1, "account not found")
	ErrQueryUnableToDeserializeAccount = sdkerrors.Register(codespace, 2, "unable to deserialize account")
	ErrQueryRetrieveSession            = sdkerrors.Register(codespace, 3, "error while trying to retrieve a session")
	ErrQueryPubKeyNotFound             = sdkerrors.Register(codespace, 4, "account pub key not found")
)

Functions

func NewAccountQuerier

func NewAccountQuerier(deps depinject.Config) (client.AccountQueryClient, error)

NewAccountQuerier returns a new instance of a client.AccountQueryClient by injecting the dependecies provided by the depinject.Config.

Required dependencies: - clientCtx

func NewApplicationQuerier

func NewApplicationQuerier(deps depinject.Config) (client.ApplicationQueryClient, error)

NewApplicationQuerier returns a new instance of a client.ApplicationQueryClient by injecting the dependecies provided by the depinject.Config

Required dependencies: - clientCtx

func NewSessionQuerier

func NewSessionQuerier(deps depinject.Config) (client.SessionQueryClient, error)

NewSessionQuerier returns a new instance of a client.SessionQueryClient by injecting the dependecies provided by the depinject.Config.

Required dependencies: - clientCtx

func NewSupplierQuerier

func NewSupplierQuerier(deps depinject.Config) (client.SupplierQueryClient, error)

NewSupplierQuerier returns a new instance of a client.SupplierQueryClient by injecting the dependecies provided by the depinject.Config.

Required dependencies: - grpc.ClientConn

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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