params

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StoreKey         = types.StoreKey
	TStoreKey        = types.TStoreKey
	DefaultCodespace = types.DefaultCodespace
	ModuleName       = types.ModuleName
)

Variables

View Source
var (
	NewParamSetPair = types.NewParamSetPair
	NewKeyTable     = types.NewKeyTable
)

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.Codec, key *types.KVStoreKey, tkey *types.TransientStoreKey, codespace types.CodespaceType) (k Keeper)

NewKeeper constructs a params keeper

func (Keeper) GetSubspace

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

Get existing substore from keeper

func (Keeper) Logger

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

Logger returns a module-specific logger.

func (Keeper) Subspace

func (k Keeper) Subspace(s string) Subspace

Allocate subspace used for keepers

type KeyTable

type KeyTable = types.KeyTable

type ParamSetPair

type ParamSetPair = types.ParamSetPair

type ParamSetPairs

type ParamSetPairs = types.ParamSetPairs

type Subspace

type Subspace = types.Subspace

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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