queries

package
v4.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2025 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GrpcQuerier added in v4.0.1

func GrpcQuerier(queryRouter baseapp.GRPCQueryRouter, cdc codec.Codec) func(ctx sdk.Context, request *wasmvmtypes.GrpcQuery) (proto.Message, error)

GrpcQuerier dispatches whitelisted stargate queries.

func IsWhitelistedQuery

func IsWhitelistedQuery(queryPath string) error

IsWhitelistedQuery returns an error if the query is not whitelisted.

func RegisterCustomPlugins

func RegisterCustomPlugins(
	queryRouter baseapp.GRPCQueryRouter,
	cdc codec.Codec,
) []wasmkeeper.Option

RegisterCustomPlugins registers custom plugins for the wasm module.

func StargateQuerier

func StargateQuerier(queryRouter baseapp.GRPCQueryRouter, cdc codec.Codec) func(ctx sdk.Context, request *wasmvmtypes.StargateQuery) ([]byte, error)

StargateQuerier dispatches whitelisted stargate queries.

Types

This section is empty.

Jump to

Keyboard shortcuts

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