Documentation ¶
Index ¶
- Constants
- type AppModule
- func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions
- func (am AppModule) ConsensusVersion() uint64
- func (am AppModule) DefaultGenesis(_ codec.JSONCodec) json.RawMessage
- func (am AppModule) ExportGenesis(ctx sdk.Context, jsonCodec codec.JSONCodec) json.RawMessage
- func (am AppModule) GetTxCmd() *cobra.Command
- func (am AppModule) InitGenesis(ctx sdk.Context, jsonCodec codec.JSONCodec, message json.RawMessage)
- func (am AppModule) IsAppModule()
- func (am AppModule) IsOnePerModuleType()
- func (am AppModule) Name() string
- func (am AppModule) RegisterGRPCGatewayRoutes(clientCtx sdkclient.Context, mux *runtime.ServeMux)
- func (am AppModule) RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func (am AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
- func (am AppModule) RegisterLegacyAminoCodec(amino *codec.LegacyAmino)
- func (am AppModule) RegisterServices(cfg module.Configurator)
- func (am AppModule) ValidateGenesis(_ codec.JSONCodec, _ sdkclient.TxEncodingConfig, bz json.RawMessage) error
Constants ¶
const ConsensusVersion = 1
ConsensusVersion is the module consensus version.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppModule ¶
type AppModule struct {
// contains filtered or unexported fields
}
AppModule implements the AppModule interface.
func NewAppModule ¶
func NewAppModule(cdc codec.BinaryCodec, k keeper.Keeper) AppModule
NewAppModule returns a new AppModule instance.
func (AppModule) AutoCLIOptions ¶
func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions
AutoCLIOptions implements the autocli.HasAutoCLIConfig interface.
func (AppModule) ConsensusVersion ¶
ConsensusVersion implements module.HasConsensusVersion/ConsensusVersion.
func (AppModule) DefaultGenesis ¶
func (am AppModule) DefaultGenesis(_ codec.JSONCodec) json.RawMessage
DefaultGenesis implements module.HasGenesis/DefaultGenesis.
func (AppModule) ExportGenesis ¶
ExportGenesis implements module.HasGenesis/ExportGenesis.
func (AppModule) InitGenesis ¶
func (am AppModule) InitGenesis(ctx sdk.Context, jsonCodec codec.JSONCodec, message json.RawMessage)
InitGenesis implements module.HasGenesis/InitGenesis.
func (AppModule) IsAppModule ¶
func (am AppModule) IsAppModule()
IsAppModule implements the appmodule.AppModule/IsAppModule.
func (AppModule) IsOnePerModuleType ¶
func (am AppModule) IsOnePerModuleType()
IsOnePerModuleType implements appmodule.AppModule/IsOnePerModuleType.
func (AppModule) RegisterGRPCGatewayRoutes ¶
RegisterGRPCGatewayRoutes implements module.AppModuleBasic/RegisterGRPCGatewayRoutes.
func (AppModule) RegisterInterfaces ¶
func (am AppModule) RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces implements module.AppModuleBasic/RegisterInterfaces.
func (AppModule) RegisterInvariants ¶
func (am AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
RegisterInvariants implements module.HasInvariants/RegisterInvariants.
func (AppModule) RegisterLegacyAminoCodec ¶
func (am AppModule) RegisterLegacyAminoCodec(amino *codec.LegacyAmino)
RegisterLegacyAminoCodec implements module.AppModuleBasic/RegisterLegacyAminoCodec.
func (AppModule) RegisterServices ¶
func (am AppModule) RegisterServices(cfg module.Configurator)
RegisterServices implements module.HasServices/RegisterServices.
func (AppModule) ValidateGenesis ¶
func (am AppModule) ValidateGenesis(_ codec.JSONCodec, _ sdkclient.TxEncodingConfig, bz json.RawMessage) error
ValidateGenesis implements module.HasGenesis/ValidateGenesis.