Versions in this module Expand all Collapse all v0 v0.9.3 Nov 20, 2020 v0.9.0 Oct 19, 2020 Changes in this version + const StoreKey + const TStoreKey + const TestParamStore + type KeyTable struct + func NewKeyTable(keytypes ...interface{}) (res KeyTable) + func (t KeyTable) RegisterParamSet(ps ParamSet) KeyTable + func (t KeyTable) RegisterType(key []byte, ty interface{}) KeyTable + type ParamSet interface + ParamSetPairs func() ParamSetPairs + type ParamSetPair struct + Key []byte + Value interface{} + type ParamSetPairs []ParamSetPair + type ReadOnlySubspace struct + func (ros ReadOnlySubspace) Get(ctx sdk.Context, key []byte, ptr interface{}) + func (ros ReadOnlySubspace) GetRaw(ctx sdk.Context, key []byte) []byte + func (ros ReadOnlySubspace) Has(ctx sdk.Context, key []byte) bool + func (ros ReadOnlySubspace) Modified(ctx sdk.Context, key []byte) bool + func (ros ReadOnlySubspace) Name() string + type Subspace struct + func DefaultTestComponents(t *testing.T) (sdk.Context, Subspace, func() sdk.CommitID) + func NewSubspace(cdc *codec.Codec, key sdk.StoreKey, tkey sdk.StoreKey, name string) (res Subspace) + func (s Subspace) Get(ctx sdk.Context, key []byte, ptr interface{}) + func (s Subspace) GetIfExists(ctx sdk.Context, key []byte, ptr interface{}) + func (s Subspace) GetParamSet(ctx sdk.Context, ps ParamSet) + func (s Subspace) GetParamSetWithSubkey(ctx sdk.Context, subkey []byte, ps ParamSet) + func (s Subspace) GetRaw(ctx sdk.Context, key []byte) []byte + func (s Subspace) GetWithSubkey(ctx sdk.Context, key, subkey []byte, ptr interface{}) + func (s Subspace) GetWithSubkeyIfExists(ctx sdk.Context, key, subkey []byte, ptr interface{}) + func (s Subspace) Has(ctx sdk.Context, key []byte) bool + func (s Subspace) Modified(ctx sdk.Context, key []byte) bool + func (s Subspace) Name() string + func (s Subspace) Set(ctx sdk.Context, key []byte, param interface{}) + func (s Subspace) SetParamSet(ctx sdk.Context, ps ParamSet) + func (s Subspace) SetParamSetWithSubkey(ctx sdk.Context, subkey []byte, ps ParamSet) + func (s Subspace) SetWithSubkey(ctx sdk.Context, key []byte, subkey []byte, param interface{}) + func (s Subspace) Update(ctx sdk.Context, key []byte, param []byte) error + func (s Subspace) UpdateWithSubkey(ctx sdk.Context, key []byte, subkey []byte, param []byte) error + func (s Subspace) WithKeyTable(table KeyTable) Subspace