Documentation ¶
Index ¶
- func NewHandler(k *keeper.Keeper) sdk.Handler
- type AppModule
- func (a AppModule) BeginBlock(context sdk.Context, block abci.RequestBeginBlock)
- func (AppModule) ConsensusVersion() uint64
- func (a AppModule) EndBlock(context sdk.Context, block abci.RequestEndBlock) []abci.ValidatorUpdate
- func (a AppModule) ExportGenesis(ctx sdk.Context, jsonCodec codec.JSONCodec) json.RawMessage
- func (AppModule) GenerateGenesisState(simState *module.SimulationState)
- func (a AppModule) InitGenesis(ctx sdk.Context, jsonCodec codec.JSONCodec, message json.RawMessage) []abci.ValidatorUpdate
- func (a AppModule) LegacyQuerierHandler(amino *codec.LegacyAmino) sdk.Querier
- func (AppModule) ProposalContents(simState module.SimulationState) []simtypes.WeightedProposalContent
- func (a AppModule) QuerierRoute() string
- func (AppModule) RandomizedParams(r *rand.Rand) []simtypes.ParamChange
- func (a AppModule) RegisterInvariants(registry sdk.InvariantRegistry)
- func (a AppModule) RegisterServices(cfg module.Configurator)
- func (a AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry)
- func (a AppModule) Route() sdk.Route
- func (a AppModule) WeightedOperations(simState module.SimulationState) []simtypes.WeightedOperation
- type AppModuleBasic
- func (a AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage
- func (a AppModuleBasic) GetQueryCmd() *cobra.Command
- func (a AppModuleBasic) GetTxCmd() *cobra.Command
- func (a AppModuleBasic) Name() string
- func (a AppModuleBasic) RegisterGRPCGatewayRoutes(ctx client.Context, serveMux *runtime.ServeMux)
- func (a AppModuleBasic) RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func (a AppModuleBasic) RegisterLegacyAminoCodec(amino *codec.LegacyAmino)
- func (a AppModuleBasic) RegisterRESTRoutes(ctx client.Context, router *mux.Router)
- func (a AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
func (AppModule) BeginBlock ¶
func (a AppModule) BeginBlock(context sdk.Context, block abci.RequestBeginBlock)
func (AppModule) ConsensusVersion ¶
ConsensusVersion implements AppModule/ConsensusVersion.
func (AppModule) EndBlock ¶
func (a AppModule) EndBlock(context sdk.Context, block abci.RequestEndBlock) []abci.ValidatorUpdate
func (AppModule) ExportGenesis ¶
func (AppModule) GenerateGenesisState ¶
func (AppModule) GenerateGenesisState(simState *module.SimulationState)
GenerateGenesisState creates a randomized GenState of the pool-incentives module.
func (AppModule) InitGenesis ¶
func (a AppModule) InitGenesis(ctx sdk.Context, jsonCodec codec.JSONCodec, message json.RawMessage) []abci.ValidatorUpdate
func (AppModule) LegacyQuerierHandler ¶
func (a AppModule) LegacyQuerierHandler(amino *codec.LegacyAmino) sdk.Querier
func (AppModule) ProposalContents ¶
func (AppModule) ProposalContents(simState module.SimulationState) []simtypes.WeightedProposalContent
ProposalContents doesn't return any content functions for governance proposals.
func (AppModule) QuerierRoute ¶
func (AppModule) RandomizedParams ¶
func (AppModule) RandomizedParams(r *rand.Rand) []simtypes.ParamChange
RandomizedParams creates randomized pool-incentives param changes for the simulator.
func (AppModule) RegisterInvariants ¶
func (a AppModule) RegisterInvariants(registry sdk.InvariantRegistry)
func (AppModule) RegisterServices ¶
func (a AppModule) RegisterServices(cfg module.Configurator)
func (AppModule) RegisterStoreDecoder ¶
func (a AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry)
RegisterStoreDecoder registers a decoder for supply module's types.
func (AppModule) WeightedOperations ¶
func (a AppModule) WeightedOperations(simState module.SimulationState) []simtypes.WeightedOperation
WeightedOperations returns the all the lockup module operations with their respective weights.
type AppModuleBasic ¶
type AppModuleBasic struct {
// contains filtered or unexported fields
}
func NewAppModuleBasic ¶
func NewAppModuleBasic(cdc codec.Codec) AppModuleBasic
func (AppModuleBasic) DefaultGenesis ¶
func (a AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage
func (AppModuleBasic) GetQueryCmd ¶
func (a AppModuleBasic) GetQueryCmd() *cobra.Command
func (AppModuleBasic) GetTxCmd ¶
func (a AppModuleBasic) GetTxCmd() *cobra.Command
func (AppModuleBasic) Name ¶
func (a AppModuleBasic) Name() string
func (AppModuleBasic) RegisterGRPCGatewayRoutes ¶
func (a AppModuleBasic) RegisterGRPCGatewayRoutes(ctx client.Context, serveMux *runtime.ServeMux)
func (AppModuleBasic) RegisterInterfaces ¶
func (a AppModuleBasic) RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func (AppModuleBasic) RegisterLegacyAminoCodec ¶
func (a AppModuleBasic) RegisterLegacyAminoCodec(amino *codec.LegacyAmino)
func (AppModuleBasic) RegisterRESTRoutes ¶
func (a AppModuleBasic) RegisterRESTRoutes(ctx client.Context, router *mux.Router)
func (AppModuleBasic) ValidateGenesis ¶
func (a AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error
Click to show internal directories.
Click to hide internal directories.