2019-12-10 08:48:57 -08:00
|
|
|
package params
|
|
|
|
|
2019-04-30 09:31:38 -07:00
|
|
|
// nolint
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/cosmos/cosmos-sdk/x/params/subspace"
|
|
|
|
"github.com/cosmos/cosmos-sdk/x/params/types"
|
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
2019-12-27 09:57:54 -08:00
|
|
|
StoreKey = subspace.StoreKey
|
|
|
|
TStoreKey = subspace.TStoreKey
|
|
|
|
ModuleName = types.ModuleName
|
|
|
|
RouterKey = types.RouterKey
|
|
|
|
ProposalTypeChange = types.ProposalTypeChange
|
2019-05-20 06:13:32 -07:00
|
|
|
)
|
2019-04-30 09:31:38 -07:00
|
|
|
|
2019-05-20 06:13:32 -07:00
|
|
|
var (
|
|
|
|
// functions aliases
|
2019-07-19 06:43:38 -07:00
|
|
|
NewParamSetPair = subspace.NewParamSetPair
|
2019-05-20 06:13:32 -07:00
|
|
|
NewSubspace = subspace.NewSubspace
|
|
|
|
NewKeyTable = subspace.NewKeyTable
|
|
|
|
RegisterCodec = types.RegisterCodec
|
|
|
|
ErrUnknownSubspace = types.ErrUnknownSubspace
|
|
|
|
ErrSettingParameter = types.ErrSettingParameter
|
|
|
|
ErrEmptyChanges = types.ErrEmptyChanges
|
|
|
|
ErrEmptySubspace = types.ErrEmptySubspace
|
|
|
|
ErrEmptyKey = types.ErrEmptyKey
|
|
|
|
ErrEmptyValue = types.ErrEmptyValue
|
|
|
|
NewParameterChangeProposal = types.NewParameterChangeProposal
|
|
|
|
NewParamChange = types.NewParamChange
|
|
|
|
ValidateChanges = types.ValidateChanges
|
2020-02-12 08:34:09 -08:00
|
|
|
NewCodec = types.NewCodec
|
2019-07-31 06:59:16 -07:00
|
|
|
|
|
|
|
// variable aliases
|
|
|
|
ModuleCdc = types.ModuleCdc
|
2019-04-30 09:31:38 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
type (
|
2020-02-12 08:34:09 -08:00
|
|
|
Codec = types.Codec
|
2019-05-20 06:13:32 -07:00
|
|
|
ParamSetPair = subspace.ParamSetPair
|
|
|
|
ParamSetPairs = subspace.ParamSetPairs
|
|
|
|
ParamSet = subspace.ParamSet
|
|
|
|
Subspace = subspace.Subspace
|
|
|
|
ReadOnlySubspace = subspace.ReadOnlySubspace
|
|
|
|
KeyTable = subspace.KeyTable
|
2019-04-30 09:31:38 -07:00
|
|
|
ParameterChangeProposal = types.ParameterChangeProposal
|
|
|
|
ParamChange = types.ParamChange
|
|
|
|
)
|