Versions in this module Expand all Collapse all v0 v0.9.3 Nov 20, 2020 Changes in this version + const CodeInvalidChangeParams + func ErrInvalidChange(codespace sdk.CodespaceType, msg string) sdk.Error + func RegisterParameterChangeValidator(validator ParameterChangeValidator) + type ParameterChangeValidator interface + Validate func(change ParamChange) error v0.9.0 Oct 19, 2020 Changes in this version + const CodeEmptyData + const CodeMixedSubspace + const CodeSettingParameter + const CodeUnknownSubspace + const DefaultCodespace + const ModuleName + const ProposalTypeChange + const RouterKey + var ModuleCdc *codec.Codec + func ErrEmptyChanges(codespace sdk.CodespaceType) sdk.Error + func ErrEmptyKey(codespace sdk.CodespaceType) sdk.Error + func ErrEmptySubspace(codespace sdk.CodespaceType) sdk.Error + func ErrEmptyValue(codespace sdk.CodespaceType) sdk.Error + func ErrMixedSubspace(codespace sdk.CodespaceType) sdk.Error + func ErrSettingParameter(codespace sdk.CodespaceType, key, subkey, value, msg string) sdk.Error + func ErrUnknownSubspace(codespace sdk.CodespaceType, space string) sdk.Error + func RegisterCodec(cdc *codec.Codec) + func ValidateChanges(changes []ParamChange) sdk.Error + type ParamChange struct + Key string + Subkey string + Subspace string + Value string + func NewParamChange(subspace, key, value string) ParamChange + func NewParamChangeWithSubkey(subspace, key, subkey, value string) ParamChange + func (pc ParamChange) String() string + type ParameterChangeProposal struct + Changes []ParamChange + Description string + Title string + func NewParameterChangeProposal(title, description string, changes []ParamChange) ParameterChangeProposal + func (pcp ParameterChangeProposal) GetDescription() string + func (pcp ParameterChangeProposal) GetTitle() string + func (pcp ParameterChangeProposal) ProposalRoute() string + func (pcp ParameterChangeProposal) ProposalToken() string + func (pcp ParameterChangeProposal) ProposalType() string + func (pcp ParameterChangeProposal) String() string + func (pcp ParameterChangeProposal) ValidateBasic() sdk.Error