Documentation ¶
Index ¶
- Constants
- type AppModule
- func (AppModule) ConsensusVersion() uint64
- func (am AppModule) EndBlock(ctx sdk.Context, req abci.RequestEndBlock) []abci.ValidatorUpdate
- func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage
- func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, bz json.RawMessage) []abci.ValidatorUpdate
- func (am AppModule) IsAppModule()
- func (am AppModule) IsOnePerModuleType()
- func (am AppModule) RegisterServices(cfc module.Configurator)
- type AppModuleBasic
- func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage
- func (amb AppModuleBasic) GetQueryCmd() *cobra.Command
- func (amb AppModuleBasic) GetTxCmd() *cobra.Command
- func (amb AppModuleBasic) Name() string
- func (amb AppModuleBasic) RegisterGRPCGatewayRoutes(cliCtx client.Context, mux *runtime.ServeMux)
- func (amb AppModuleBasic) RegisterInterfaces(ir codectypes.InterfaceRegistry)
- func (amb AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error
- type Inputs
- type Outputs
Constants ¶
const ConsensusVersion = 1
ConsensusVersion is the x/feemarket module's consensus version identifier.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
AppModule represents an application module for the x/feemarket module.
func NewAppModule ¶
NewAppModule returns an application module for the x/feemarket module.
func (AppModule) ConsensusVersion ¶
ConsensusVersion implements AppModule/ConsensusVersion.
func (AppModule) EndBlock ¶
func (am AppModule) EndBlock(ctx sdk.Context, req abci.RequestEndBlock) []abci.ValidatorUpdate
EndBlock returns an endblocker for the x/feemarket module.
func (AppModule) ExportGenesis ¶
ExportGenesis returns the feemarket module's exported genesis state as raw JSON bytes. This method panics on any error.
func (AppModule) InitGenesis ¶
func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, bz json.RawMessage) []abci.ValidatorUpdate
InitGenesis performs the genesis initialization for the x/feemarket module. This method returns no validator set updates. This method panics on any errors.
func (AppModule) IsAppModule ¶
func (am AppModule) IsAppModule()
IsAppModule implements the appmodule.AppModule interface.
func (AppModule) IsOnePerModuleType ¶
func (am AppModule) IsOnePerModuleType()
IsOnePerModuleType implements the depinject.OnePerModuleType interface.
func (AppModule) RegisterServices ¶
func (am AppModule) RegisterServices(cfc module.Configurator)
RegisterServices registers the module's services with the app's module configurator.
type AppModuleBasic ¶
type AppModuleBasic struct {
// contains filtered or unexported fields
}
AppModuleBasic defines the base interface that the x/feemarket module exposes to the application.
func (AppModuleBasic) DefaultGenesis ¶
func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage
DefaultGenesis returns default genesis state as raw bytes for the feemarket module.
func (AppModuleBasic) GetQueryCmd ¶
func (amb AppModuleBasic) GetQueryCmd() *cobra.Command
GetQueryCmd returns the x/feemarket module base query cli-command.
func (AppModuleBasic) GetTxCmd ¶
func (amb AppModuleBasic) GetTxCmd() *cobra.Command
GetTxCmd is a no-op, as no txs are registered for submission (apart from messages that can only be executed by governance).
func (AppModuleBasic) Name ¶
func (amb AppModuleBasic) Name() string
Name returns the name of x/feemarket module.
func (AppModuleBasic) RegisterGRPCGatewayRoutes ¶
func (amb AppModuleBasic) RegisterGRPCGatewayRoutes(cliCtx client.Context, mux *runtime.ServeMux)
RegisterGRPCGatewayRoutes registers the necessary REST routes for the GRPC-gateway to the x/feemarket module QueryService on mux. This method panics on failure.
func (AppModuleBasic) RegisterInterfaces ¶
func (amb AppModuleBasic) RegisterInterfaces(ir codectypes.InterfaceRegistry)
RegisterInterfaces registers the necessary implementations / interfaces in the x/feemarket module w/ the interface-registry.
func (AppModuleBasic) RegisterLegacyAminoCodec ¶
func (amb AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary types from the x/feemarket module for amino serialization.
func (AppModuleBasic) ValidateGenesis ¶
func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error
ValidateGenesis performs genesis state validation for the feemarket module.