Documentation
¶
Index ¶
Constants ¶
View Source
const (
// StoreKey is the string key for the params store
StoreKey = subspace.StoreKey
// TStoreKey is the string key for the params transient store
TStoreKey = subspace.TStoreKey
)
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 ¶ added in v0.25.0
func (k Keeper) GetSubspace(storename string) (Subspace, bool)
Get existing substore from keeper
type KeyTable ¶ added in v0.31.0
type KeyTable = subspace.KeyTable
re-export types from subspace
func NewKeyTable ¶ added in v0.31.0
func NewKeyTable(keytypes ...interface{}) KeyTable
nolint - re-export functions from subspace
type ParamSetPairs ¶ added in v0.31.0
type ParamSetPairs = subspace.ParamSetPairs
re-export types from subspace
type ReadOnlySubspace ¶ added in v0.25.0
type ReadOnlySubspace = subspace.ReadOnlySubspace
re-export types from subspace
type Subspace ¶ added in v0.25.0
type Subspace = subspace.Subspace
re-export types from subspace
func DefaultTestComponents ¶ added in v0.31.0
func DefaultTestComponents(t *testing.T) (sdk.Context, Subspace, func() sdk.CommitID)
Click to show internal directories.
Click to hide internal directories.