params

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: MPL-2.0 Imports: 3 Imported by: 0

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

NewKeeper constructs a params keeper

func (Keeper) GetSubspace

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

Get existing substore from keeper

func (Keeper) Subspace

func (k Keeper) Subspace(spacename string) Subspace

Allocate subspace used for keepers

type KeyValuePairs

type KeyValuePairs = subspace.KeyValuePairs

re-export types from subspace

type ParamSet

type ParamSet = subspace.ParamSet

re-export types from subspace

type ReadOnlySubspace

type ReadOnlySubspace = subspace.ReadOnlySubspace

re-export types from subspace

type Subspace

type Subspace = subspace.Subspace

re-export types from subspace

type TypeTable

type TypeTable = subspace.TypeTable

re-export types from subspace

func NewTypeTable

func NewTypeTable(keytypes ...interface{}) TypeTable

re-export functions from subspace

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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