Documentation
¶
Index ¶
- func GetStargateWhitelistedPaths() (keys []string)
- func GetWhitelistedQuery(queryPath string) (codec.ProtoMarshaler, error)
- func RegisterStargateQueries(queryRouter baseapp.GRPCQueryRouter, codec codec.Codec) []wasmkeeper.Option
- func StargateQuerier(queryRouter baseapp.GRPCQueryRouter, cdc codec.Codec) func(ctx sdk.Context, request *wasmvmtypes.StargateQuery) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStargateWhitelistedPaths ¶
func GetStargateWhitelistedPaths() (keys []string)
func GetWhitelistedQuery ¶
func GetWhitelistedQuery(queryPath string) (codec.ProtoMarshaler, error)
GetWhitelistedQuery returns the whitelisted query at the provided path. If the query does not exist, or it was setup wrong by the chain, this returns an error.
func RegisterStargateQueries ¶
func RegisterStargateQueries(queryRouter baseapp.GRPCQueryRouter, codec codec.Codec) []wasmkeeper.Option
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.
Click to show internal directories.
Click to hide internal directories.