Documentation ¶
Index ¶
- func EndBlock(ctx sdk.Context, k keeper.Keeper) abcitypes.ValidatorUpdates
- func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState
- func InitGenesis(ctx sdk.Context, k keeper.Keeper, state *types.GenesisState)
- func NewHandler(k keeper.Keeper) sdk.Handler
- type AppModule
- func (a AppModule) BeginBlock(_ sdk.Context, _ abcitypes.RequestBeginBlock)
- func (a AppModule) EndBlock(ctx sdk.Context, _ abcitypes.RequestEndBlock) []abcitypes.ValidatorUpdate
- func (a AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONMarshaler) json.RawMessage
- func (a AppModule) GenerateGenesisState(state *module.SimulationState)
- func (a AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONMarshaler, message json.RawMessage) []abcitypes.ValidatorUpdate
- func (a AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier
- func (a AppModule) ProposalContents(_ module.SimulationState) []sdksimulation.WeightedProposalContent
- func (a AppModule) QuerierRoute() string
- func (a AppModule) RandomizedParams(r *rand.Rand) []sdksimulation.ParamChange
- func (a AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
- func (a AppModule) RegisterServices(configurator module.Configurator)
- func (a AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry)
- func (a AppModule) Route() sdk.Route
- func (a AppModule) WeightedOperations(state module.SimulationState) []sdksimulation.WeightedOperation
- type AppModuleBasic
- func (a AppModuleBasic) DefaultGenesis(cdc codec.JSONMarshaler) 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, mux *runtime.ServeMux)
- func (a AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func (a AppModuleBasic) RegisterLegacyAminoCodec(amino *codec.LegacyAmino)
- func (a AppModuleBasic) RegisterRESTRoutes(ctx client.Context, router *mux.Router)
- func (a AppModuleBasic) ValidateGenesis(cdc codec.JSONMarshaler, _ client.TxEncodingConfig, message json.RawMessage) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportGenesis ¶
func InitGenesis ¶
Types ¶
type AppModule ¶ added in v0.2.0
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
func NewAppModule ¶ added in v0.2.0
func NewAppModule(cdc codec.Marshaler, ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) AppModule
func (AppModule) BeginBlock ¶ added in v0.2.0
func (a AppModule) BeginBlock(_ sdk.Context, _ abcitypes.RequestBeginBlock)
func (AppModule) EndBlock ¶ added in v0.2.0
func (a AppModule) EndBlock(ctx sdk.Context, _ abcitypes.RequestEndBlock) []abcitypes.ValidatorUpdate
func (AppModule) ExportGenesis ¶ added in v0.2.0
func (a AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONMarshaler) json.RawMessage
func (AppModule) GenerateGenesisState ¶ added in v0.4.0
func (a AppModule) GenerateGenesisState(state *module.SimulationState)
func (AppModule) InitGenesis ¶ added in v0.2.0
func (a AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONMarshaler, message json.RawMessage) []abcitypes.ValidatorUpdate
func (AppModule) LegacyQuerierHandler ¶ added in v0.6.0
func (a AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier
func (AppModule) ProposalContents ¶ added in v0.4.0
func (a AppModule) ProposalContents(_ module.SimulationState) []sdksimulation.WeightedProposalContent
func (AppModule) QuerierRoute ¶ added in v0.2.0
func (AppModule) RandomizedParams ¶ added in v0.4.0
func (a AppModule) RandomizedParams(r *rand.Rand) []sdksimulation.ParamChange
func (AppModule) RegisterInvariants ¶ added in v0.2.0
func (a AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
func (AppModule) RegisterServices ¶ added in v0.6.0
func (a AppModule) RegisterServices(configurator module.Configurator)
func (AppModule) RegisterStoreDecoder ¶ added in v0.4.0
func (a AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry)
func (AppModule) WeightedOperations ¶ added in v0.4.0
func (a AppModule) WeightedOperations(state module.SimulationState) []sdksimulation.WeightedOperation
type AppModuleBasic ¶ added in v0.2.0
type AppModuleBasic struct{}
func (AppModuleBasic) DefaultGenesis ¶ added in v0.2.0
func (a AppModuleBasic) DefaultGenesis(cdc codec.JSONMarshaler) json.RawMessage
func (AppModuleBasic) GetQueryCmd ¶ added in v0.2.0
func (a AppModuleBasic) GetQueryCmd() *cobra.Command
func (AppModuleBasic) GetTxCmd ¶ added in v0.2.0
func (a AppModuleBasic) GetTxCmd() *cobra.Command
func (AppModuleBasic) Name ¶ added in v0.2.0
func (a AppModuleBasic) Name() string
func (AppModuleBasic) RegisterGRPCGatewayRoutes ¶ added in v0.6.0
func (a AppModuleBasic) RegisterGRPCGatewayRoutes(ctx client.Context, mux *runtime.ServeMux)
func (AppModuleBasic) RegisterInterfaces ¶ added in v0.6.0
func (a AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)
func (AppModuleBasic) RegisterLegacyAminoCodec ¶ added in v0.6.0
func (a AppModuleBasic) RegisterLegacyAminoCodec(amino *codec.LegacyAmino)
func (AppModuleBasic) RegisterRESTRoutes ¶ added in v0.2.0
func (a AppModuleBasic) RegisterRESTRoutes(ctx client.Context, router *mux.Router)
func (AppModuleBasic) ValidateGenesis ¶ added in v0.2.0
func (a AppModuleBasic) ValidateGenesis(cdc codec.JSONMarshaler, _ client.TxEncodingConfig, message json.RawMessage) error
Click to show internal directories.
Click to hide internal directories.