Documentation ¶
Index ¶
- func ExportGenesis(ctx sdk.Context, k *keeper.Keeper) *types.GenesisState
- func InitGenesis(ctx sdk.Context, k *keeper.Keeper, gs types.GenesisState)
- type AppModule
- func (AppModule) BeginBlock(_ sdk.Context, _ *abci.RequestBeginBlock)
- func (AppModule) ConsensusVersion() uint64
- func (AppModule) EndBlock(_ sdk.Context, _ *abci.RequestEndBlock) []abci.ValidatorUpdate
- func (a AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage
- func (a AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, data json.RawMessage) []abci.ValidatorUpdate
- func (a AppModule) IsAppModule()
- func (a AppModule) IsOnePerModuleType()
- func (AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
- func (a AppModule) RegisterServices(cfg module.Configurator)
- type AppModuleBasic
- func (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(clientCtx client.Context, mux *runtime.ServeMux)
- func (a AppModuleBasic) RegisterInterfaces(registry codecTypes.InterfaceRegistry)
- func (a AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error
- type Inputs
- type Outputs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportGenesis ¶
func InitGenesis ¶
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
func (AppModule) BeginBlock ¶
func (AppModule) BeginBlock(_ sdk.Context, _ *abci.RequestBeginBlock)
func (AppModule) ConsensusVersion ¶
func (AppModule) EndBlock ¶
func (AppModule) EndBlock(_ sdk.Context, _ *abci.RequestEndBlock) []abci.ValidatorUpdate
func (AppModule) ExportGenesis ¶
func (AppModule) InitGenesis ¶
func (a AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, data json.RawMessage) []abci.ValidatorUpdate
func (AppModule) IsAppModule ¶
func (a AppModule) IsAppModule()
func (AppModule) IsOnePerModuleType ¶
func (a AppModule) IsOnePerModuleType()
func (AppModule) RegisterInvariants ¶
func (AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
func (AppModule) RegisterServices ¶
func (a AppModule) RegisterServices(cfg module.Configurator)
type AppModuleBasic ¶
type AppModuleBasic struct{}
func (AppModuleBasic) DefaultGenesis ¶
func (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(clientCtx client.Context, mux *runtime.ServeMux)
func (AppModuleBasic) RegisterInterfaces ¶
func (a AppModuleBasic) RegisterInterfaces(registry codecTypes.InterfaceRegistry)
func (AppModuleBasic) RegisterLegacyAminoCodec ¶
func (a AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
func (AppModuleBasic) ValidateGenesis ¶
func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error
type Inputs ¶
type Inputs struct { depinject.In Config *moduleV1.Module Cdc codec.Codec Key *storeTypes.KVStoreKey MsgServiceRouter *baseapp.MsgServiceRouter }
Click to show internal directories.
Click to hide internal directories.