Documentation ¶
Overview ¶
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/terra-project/core/x/params/internal/types/
nolint
Index ¶
- Constants
- Variables
- type AppModule
- func (am AppModule) GenerateGenesisState(simState *module.SimulationState)
- func (am AppModule) ProposalContents(simState module.SimulationState) []sim.WeightedProposalContent
- func (am AppModule) RandomizedParams(r *rand.Rand) []sim.ParamChange
- func (am AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry)
- func (am AppModule) WeightedOperations(simState module.SimulationState) []sim.WeightedOperation
- type AppModuleBasic
- func (AppModuleBasic) DefaultGenesis() json.RawMessage
- func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
- func (AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command
- func (AppModuleBasic) Name() string
- func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
- func (AppModuleBasic) RegisterRESTRoutes(cliCtx context.CLIContext, route *mux.Router)
- func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
- type CosmosAppModule
- type CosmosAppModuleBasic
- type Keeper
- type KeyTable
- type ParamChange
- type ParamSet
- type ParamSetPair
- type ParamSetPairs
- type ParameterChangeProposal
- type ReadOnlySubspace
- type Subspace
Constants ¶
const ( StoreKey = params.StoreKey TStoreKey = params.TStoreKey ModuleNam = params.ModuleName RouterKey = params.RouterKey ProposalTeChange = params.ProposalTypeChange )
Variables ¶
var ( // functions aliases RegisterCodec = types.RegisterCodec // variable aliases ModuleCdc = types.ModuleCdc )
var ( // functions aliases NewParamSetPair = params.NewParamSetPair NewSubspace = params.NewSubspace NewKeyTable = params.NewKeyTable NewKeeper = params.NewKeeper NewParamChangeProposalHandler = params.NewParamChangeProposalHandler ErrUnknownSubspace = params.ErrUnknownSubspace ErrSettingParameter = params.ErrSettingParameter ErrEmptyChanges = params.ErrEmptyChanges ErrEmptySubspace = params.ErrEmptySubspace ErrEmptyKey = params.ErrEmptyKey ErrEmptyValue = params.ErrEmptyValue NewParameterChangeProposal = params.NewParameterChangeProposal NewParamChange = params.NewParamChange ValidateChanges = params.ValidateChanges // variables aliases CosmosModuleCdc = params.ModuleCdc NewCosmosAppModule = params.NewAppModule )
Functions ¶
This section is empty.
Types ¶
type AppModule ¶ added in v0.4.0
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
AppModule implements an application module for the distribution module.
func NewAppModule ¶ added in v0.4.0
func NewAppModule() AppModule
NewAppModule creates a new AppModule object
func (AppModule) GenerateGenesisState ¶ added in v0.4.0
func (am AppModule) GenerateGenesisState(simState *module.SimulationState)
GenerateGenesisState creates a randomized GenState of the auth module
func (AppModule) ProposalContents ¶ added in v0.4.0
func (am AppModule) ProposalContents(simState module.SimulationState) []sim.WeightedProposalContent
ProposalContents doesn't return any content functions for governance proposals.
func (AppModule) RandomizedParams ¶ added in v0.4.0
func (am AppModule) RandomizedParams(r *rand.Rand) []sim.ParamChange
RandomizedParams creates randomized auth param changes for the simulator.
func (AppModule) RegisterStoreDecoder ¶ added in v0.4.0
func (am AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry)
RegisterStoreDecoder registers a decoder for auth module's types
func (AppModule) WeightedOperations ¶ added in v0.4.0
func (am AppModule) WeightedOperations(simState module.SimulationState) []sim.WeightedOperation
WeightedOperations doesn't return any auth module operation.
type AppModuleBasic ¶
type AppModuleBasic struct{}
AppModuleBasic defines the basic application module used by the slashing module.
func (AppModuleBasic) DefaultGenesis ¶
func (AppModuleBasic) DefaultGenesis() json.RawMessage
DefaultGenesis returns default genesis state as raw bytes for the slashing module.
func (AppModuleBasic) GetQueryCmd ¶
func (AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
GetQueryCmd returns the root query command for the slashing module.
func (AppModuleBasic) GetTxCmd ¶
func (AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command
GetTxCmd returns the root tx command for the slashing module.
func (AppModuleBasic) Name ¶
func (AppModuleBasic) Name() string
Name returns the slashing module's name
func (AppModuleBasic) RegisterCodec ¶
func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
RegisterCodec registers the slashing module's types for the given codec.
func (AppModuleBasic) RegisterRESTRoutes ¶
func (AppModuleBasic) RegisterRESTRoutes(cliCtx context.CLIContext, route *mux.Router)
RegisterRESTRoutes registers the REST routes for the slashing module.
func (AppModuleBasic) ValidateGenesis ¶
func (AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
ValidateGenesis performs genesis state validation for the slashing module.
type CosmosAppModule ¶ added in v0.4.0
type CosmosAppModuleBasic ¶
type CosmosAppModuleBasic = params.AppModuleBasic
type ParamChange ¶
type ParamChange = params.ParamChange
type ParamSetPair ¶
type ParamSetPair = params.ParamSetPair
type ParamSetPairs ¶
type ParamSetPairs = params.ParamSetPairs
type ParameterChangeProposal ¶
type ParameterChangeProposal = params.ParameterChangeProposal
type ReadOnlySubspace ¶
type ReadOnlySubspace = params.ReadOnlySubspace