Documentation ¶
Index ¶
- Constants
- type AppModule
- func (AppModule) ConsensusVersion() uint64
- func (a AppModule) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage
- func (a AppModule) ExportGenesis(context sdk.Context, cdc codec.JSONCodec) json.RawMessage
- func (a AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, bz json.RawMessage) []abci.ValidatorUpdate
- func (a AppModule) IsAppModule()
- func (a AppModule) IsOnePerModuleType()
- func (a AppModule) RegisterGRPCGatewayRoutes(_ client.Context, _ *runtime.ServeMux)
- func (a AppModule) RegisterServices(cfg module.Configurator)
- func (a AppModule) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error
- type AppModuleBasic
- func (a AppModuleBasic) GetQueryCmd() *cobra.Command
- func (a AppModuleBasic) GetTxCmd() *cobra.Command
- func (a AppModuleBasic) Name() string
- func (a AppModuleBasic) RegisterGRPCGatewayRoutes(_ client.Context, _ *runtime.ServeMux)
- func (a AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func (a AppModuleBasic) RegisterLegacyAminoCodec(_ *codec.LegacyAmino)
- type DepInjectInput
- type DepInjectOutput
Constants ¶
View Source
const ( ModuleName = types.ModuleName ConsensusVersion = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
func NewAppModule ¶
NewAppModule creates a new AppModule object.
func (AppModule) ConsensusVersion ¶
ConsensusVersion implements AppModule/ConsensusVersion.
func (AppModule) DefaultGenesis ¶
func (a AppModule) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage
func (AppModule) ExportGenesis ¶
func (AppModule) InitGenesis ¶
func (a AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, bz json.RawMessage) []abci.ValidatorUpdate
func (AppModule) IsAppModule ¶
func (a AppModule) IsAppModule()
func (AppModule) IsOnePerModuleType ¶
func (a AppModule) IsOnePerModuleType()
func (AppModule) RegisterGRPCGatewayRoutes ¶
func (AppModule) RegisterServices ¶
func (a AppModule) RegisterServices(cfg module.Configurator)
func (AppModule) ValidateGenesis ¶
func (a AppModule) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error
type AppModuleBasic ¶
type AppModuleBasic struct{} //nolint:decorder
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(_ client.Context, _ *runtime.ServeMux)
func (AppModuleBasic) RegisterInterfaces ¶
func (a AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)
func (AppModuleBasic) RegisterLegacyAminoCodec ¶
func (a AppModuleBasic) RegisterLegacyAminoCodec(_ *codec.LegacyAmino)
type DepInjectInput ¶
type DepInjectInput struct { depinject.In ModuleKey depinject.OwnModuleKey Config *modulev1.Module StoreService store.KVStoreService }
DepInjectInput is the input for the dep inject framework.
type DepInjectOutput ¶
type DepInjectOutput struct { depinject.Out ModuleKey depinject.OwnModuleKey Keeper *keeper.Keeper Module appmodule.AppModule }
DepInjectOutput is the output for the dep inject framework.
func ProvideModule ¶
func ProvideModule(in DepInjectInput) DepInjectOutput
Click to show internal directories.
Click to hide internal directories.