Documentation ¶
Index ¶
- Constants
- Variables
- func InitGenesis(ctx types.Context, ak AuthKeeper, data GenesisState)
- type AppModule
- func (am AppModule) BeginBlocker(ctx abci_types.Context, req abci.RequestBeginBlock)
- func (am AppModule) Committer(ctx abci_types.Context)
- func (am AppModule) EndBlock(ctx abci_types.Context, req abci.RequestEndBlock) []abci.ValidatorUpdate
- func (am AppModule) ExportGenesis(ctx abci_types.Context) json.RawMessage
- func (am AppModule) InitGenesis(ctx abci_types.Context, data json.RawMessage) []abci.ValidatorUpdate
- func (am AppModule) RegisterServices(cfg module.Configurator)
- type AppModuleBasic
- func (AppModuleBasic) DefaultGenesis(_ []tmtypes.GenesisValidator) json.RawMessage
- func (AppModuleBasic) Name() string
- func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
- func (am AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux)
- func (AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)
- type AuthKeeper
- type GenesisState
- type Params
Constants ¶
View Source
const ( DefaultCodespace = types.DefaultParamspace StoreKey = types.StoreKey ModuleName = types.ModuleName FeeCollectorName = types.FeeCollectorName )
Variables ¶
View Source
var ( ErrTxValidateBasic = types.ErrTxValidateBasic NewAuthKeeper = keeper.NewAuthKeeper NewGenesisState = types.NewGenesisState )
Functions ¶
func InitGenesis ¶
func InitGenesis(ctx types.Context, ak AuthKeeper, data GenesisState)
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic AuthKeeper AuthKeeper }
func (AppModule) BeginBlocker ¶
func (am AppModule) BeginBlocker(ctx abci_types.Context, req abci.RequestBeginBlock)
func (AppModule) Committer ¶
func (am AppModule) Committer(ctx abci_types.Context)
func (AppModule) EndBlock ¶
func (am AppModule) EndBlock(ctx abci_types.Context, req abci.RequestEndBlock) []abci.ValidatorUpdate
func (AppModule) ExportGenesis ¶ added in v1.5.23
func (am AppModule) ExportGenesis(ctx abci_types.Context) json.RawMessage
func (AppModule) InitGenesis ¶
func (am AppModule) InitGenesis(ctx abci_types.Context, data json.RawMessage) []abci.ValidatorUpdate
func (AppModule) RegisterServices ¶
func (am AppModule) RegisterServices(cfg module.Configurator)
type AppModuleBasic ¶
type AppModuleBasic struct { }
func (AppModuleBasic) DefaultGenesis ¶
func (AppModuleBasic) DefaultGenesis(_ []tmtypes.GenesisValidator) json.RawMessage
func (AppModuleBasic) Name ¶
func (AppModuleBasic) Name() string
Name returns the auth module's name.
func (AppModuleBasic) RegisterCodec ¶
func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)
func (AppModuleBasic) RegisterGRPCGatewayRoutes ¶
func (am AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux)
func (AppModuleBasic) RegisterInterfaces ¶
func (AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)
type AuthKeeper ¶
type AuthKeeper = keeper.AuthKeeper
type GenesisState ¶
type GenesisState = types.GenesisState
func ExportGenesis ¶ added in v1.5.23
func ExportGenesis(ctx types.Context, ak AuthKeeper) GenesisState
Click to show internal directories.
Click to hide internal directories.