Versions in this module Expand all Collapse all v0 v0.2.0 Nov 8, 2019 Changes in this version + const CodeEmptyData + 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 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) ProposalType() string + func (pcp ParameterChangeProposal) String() string + func (pcp ParameterChangeProposal) ValidateBasic() sdk.Error