keeper

package
v0.0.0-...-7c30539 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQuerier

func NewQuerier(k Keeper) sdk.Querier

NewQuerier returns a new querier handler for the x/params module.

Types

type Keeper

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

Keeper of the global paramstore

func NewKeeper

func NewKeeper(cdc codec.Marshaler, key, tkey sdk.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) Logger

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

Logger returns a module-specific logger.

func (Keeper) Params

Params returns subspace params

func (Keeper) Subspace

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

Allocate subspace used for keepers

Jump to

Keyboard shortcuts

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