keeper

package
v0.50.10 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 1,621

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Keeper

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

Keeper of the global paramstore

func NewKeeper

func NewKeeper(cdc codec.BinaryCodec, legacyAmino *codec.LegacyAmino, key, tkey storetypes.StoreKey) Keeper

NewKeeper constructs a params keeper

func (Keeper) GetSubspace

func (k Keeper) GetSubspace(s string) (types.Subspace, bool)

Get existing substore from keeper

func (Keeper) GetSubspaces added in v0.46.0

func (k Keeper) GetSubspaces() []types.Subspace

GetSubspaces returns all the registered subspaces.

func (Keeper) Logger

func (k Keeper) Logger(ctx sdk.Context) log.Logger

Logger returns a module-specific logger.

func (Keeper) Params added in v0.40.0

Params returns subspace params

func (Keeper) Subspace

func (k Keeper) Subspace(s string) types.Subspace

Allocate subspace used for keepers

func (Keeper) Subspaces added in v0.46.0

Subspaces implements the gRPC query handler for fetching all registered subspaces and all the keys for each subspace.

Jump to

Keyboard shortcuts

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