subspace

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParamSet

type ParamSet = paramtypes.ParamSet

type Subspace

type Subspace interface {
	GetParamSet(ctx sdk.Context, ps paramtypes.ParamSet)
	GetRaw(ctx sdk.Context, key []byte) []byte
	Set(ctx sdk.Context, key []byte, value interface{})
	HasKeyTable() bool
	WithKeyTable(paramtypes.KeyTable) paramtypes.Subspace
}

Subspace defines an interface that implements the legacy x/params Subspace type.

NOTE: This is used solely for migration of x/params managed parameters.

Jump to

Keyboard shortcuts

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