Documentation ¶
Overview ¶
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/hashgard/hashgard-aliyun-sdk/x/params/subspace ALIASGEN: github.com/hashgard/hashgard-aliyun-sdk/x/params/types
nolint: deadcode unused
Index ¶
- Constants
- Variables
- func NewParamChangeProposalHandler(k Keeper) govtypes.Handler
- type AppModuleBasic
- func (AppModuleBasic) DefaultGenesis() json.RawMessage
- func (AppModuleBasic) GetQueryCmd(_ *codec.Codec) *cobra.Command
- func (AppModuleBasic) GetTxCmd(_ *codec.Codec) *cobra.Command
- func (AppModuleBasic) Name() string
- func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
- func (AppModuleBasic) RegisterRESTRoutes(_ context.CLIContext, _ *mux.Router)
- func (AppModuleBasic) ValidateGenesis(_ json.RawMessage) error
- type Keeper
- type KeyTable
- type ParamChange
- type ParamSet
- type ParamSetPair
- type ParamSetPairs
- type ParameterChangeProposal
- type ReadOnlySubspace
- type Subspace
Constants ¶
View Source
const ( StoreKey = subspace.StoreKey TStoreKey = subspace.TStoreKey TestParamStore = subspace.TestParamStore DefaultCodespace = types.DefaultCodespace CodeUnknownSubspace = types.CodeUnknownSubspace CodeSettingParameter = types.CodeSettingParameter CodeEmptyData = types.CodeEmptyData ModuleName = types.ModuleName RouterKey = types.RouterKey ProposalTypeChange = types.ProposalTypeChange )
Variables ¶
View Source
var ( // functions aliases NewSubspace = subspace.NewSubspace NewKeyTable = subspace.NewKeyTable DefaultTestComponents = subspace.DefaultTestComponents 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 NewParamChangeWithSubkey = types.NewParamChangeWithSubkey ValidateChanges = types.ValidateChanges // variable aliases ModuleCdc = types.ModuleCdc )
Functions ¶
Types ¶
type AppModuleBasic ¶
type AppModuleBasic struct{}
app module basics object
func (AppModuleBasic) DefaultGenesis ¶
func (AppModuleBasic) DefaultGenesis() json.RawMessage
default genesis state
func (AppModuleBasic) GetQueryCmd ¶
func (AppModuleBasic) GetQueryCmd(_ *codec.Codec) *cobra.Command
get the root query command of this module
func (AppModuleBasic) GetTxCmd ¶
func (AppModuleBasic) GetTxCmd(_ *codec.Codec) *cobra.Command
get the root tx command of this module
func (AppModuleBasic) RegisterCodec ¶
func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
register module codec
func (AppModuleBasic) RegisterRESTRoutes ¶
func (AppModuleBasic) RegisterRESTRoutes(_ context.CLIContext, _ *mux.Router)
register rest routes
func (AppModuleBasic) ValidateGenesis ¶
func (AppModuleBasic) ValidateGenesis(_ json.RawMessage) error
module validate genesis
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, codespace sdk.CodespaceType) (k Keeper)
NewKeeper constructs a params keeper
func (Keeper) GetSubspace ¶
Get existing substore from keeper
type ParamChange ¶
type ParamChange = types.ParamChange
type ParamSetPair ¶
type ParamSetPair = subspace.ParamSetPair
type ParamSetPairs ¶
type ParamSetPairs = subspace.ParamSetPairs
type ParameterChangeProposal ¶
type ParameterChangeProposal = types.ParameterChangeProposal
type ReadOnlySubspace ¶
type ReadOnlySubspace = subspace.ReadOnlySubspace
Source Files ¶
Click to show internal directories.
Click to hide internal directories.