package
1.0.0
Repository: https://github.com/cosmos/cosmos-sdk.git
Documentation: pkg.go.dev

# Packages

Package appmodule defines what is needed for a module to be used in the Cosmos SDK (runtime/v2).

# Interfaces

HasAminoCodec is an extension interface that module must implement to support JSON encoding and decoding of its types through amino.
HasGenesisAuto is the extension interface that modules should implement to handle genesis data and state initialization.
HasGenesisBasics is the legacy interface for stateless genesis methods.
HasPrecommit is an extension interface that contains information about the appmodule.AppModule and Precommit.
HasPrepareCheckState is an extension interface that contains information about the AppModule and PrepareCheckState.

# Type aliases

AppModule is a tag interface for app module implementations to use as a basis for extension interfaces.
Environment is used to get all services to their respective module.
GenesisSource is a source for genesis data in JSON format.
GenesisTarget is a target for writing genesis data in JSON format.
HasABCIGenesis defines a custom genesis handling API implementation for ABCI.
HasBeginBlocker is the extension interface that modules should implement to run custom logic before transaction processing in a block.
HasConsensusVersion is the interface for declaring a module consensus version.
HasEndBlocker is the extension interface that modules should implement to run custom logic after transaction processing in a block.
HasGenesis defines a custom genesis handling API implementation.
HasMigrations is implemented by a module which upgrades or has upgraded to a new consensus version.
HasPreBlocker is the extension interface that modules should implement to run custom logic before BeginBlock.
HasRegisterInterfaces is the interface for modules to register their msg types.
MigrationHandler is the migration function that each module registers.
MigrationRegistrar is the interface for registering in-place store migrations.
ValidatorUpdate defines a validator update.
VersionMap is a map of moduleName -> version.