module

package
v0.0.0-...-324de33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
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

func (am AppModule) ConsensusVersion() uint64

ConsensusVersion implements module.HasConsensusVersion/ConsensusVersion.

func (AppModule) DefaultGenesis

func (am AppModule) DefaultGenesis(_ codec.JSONCodec) json.RawMessage

DefaultGenesis implements module.HasGenesis/DefaultGenesis.

func (AppModule) ExportGenesis

func (am AppModule) ExportGenesis(ctx sdk.Context, jsonCodec codec.JSONCodec) json.RawMessage

ExportGenesis implements module.HasGenesis/ExportGenesis.

func (AppModule) GetTxCmd

func (am AppModule) GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for the module

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) Name

func (am AppModule) Name() string

Name implements module.AppModuleBasic/Name.

func (AppModule) RegisterGRPCGatewayRoutes

func (am AppModule) RegisterGRPCGatewayRoutes(clientCtx sdkclient.Context, mux *runtime.ServeMux)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL