Documentation ¶
Index ¶
- func NewHandler(ak keeper.AccountKeeper, bk types.BankKeeper) sdk.Handler
- func NewMsgServerImpl(k keeper.AccountKeeper, bk types.BankKeeper) types.MsgServer
- type AppModule
- func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock)
- func (am AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
- func (am AppModule) ExportGenesis(_ sdk.Context, cdc codec.JSONMarshaler) json.RawMessage
- func (am AppModule) InitGenesis(_ sdk.Context, _ codec.JSONMarshaler, _ json.RawMessage) []abci.ValidatorUpdate
- func (am AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier
- func (AppModule) QuerierRoute() string
- func (AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
- func (am AppModule) RegisterServices(cfg module.Configurator)
- func (am AppModule) Route() sdk.Route
- type AppModuleBasic
- func (AppModuleBasic) DefaultGenesis(_ codec.JSONMarshaler) json.RawMessage
- func (AppModuleBasic) GetQueryCmd() *cobra.Command
- func (AppModuleBasic) GetTxCmd() *cobra.Command
- func (AppModuleBasic) Name() string
- func (a AppModuleBasic) RegisterGRPCGatewayRoutes(_ client.Context, _ *runtime.ServeMux)
- func (AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func (AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router)
- func (AppModuleBasic) ValidateGenesis(_ codec.JSONMarshaler, _ client.TxEncodingConfig, bz json.RawMessage) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶ added in v0.40.0
func NewHandler(ak keeper.AccountKeeper, bk types.BankKeeper) sdk.Handler
NewHandler returns a handler for x/auth message types.
func NewMsgServerImpl ¶ added in v0.40.0
func NewMsgServerImpl(k keeper.AccountKeeper, bk types.BankKeeper) types.MsgServer
NewMsgServerImpl returns an implementation of the vesting MsgServer interface, wrapping the corresponding AccountKeeper and BankKeeper.
Types ¶
type AppModule ¶ added in v0.40.0
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
AppModule extends the AppModuleBasic implementation by implementing the AppModule interface.
func NewAppModule ¶ added in v0.40.0
func NewAppModule(ak keeper.AccountKeeper, bk types.BankKeeper) AppModule
func (AppModule) BeginBlock ¶ added in v0.40.0
func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock)
BeginBlock performs a no-op.
func (AppModule) EndBlock ¶ added in v0.40.0
func (am AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
EndBlock performs a no-op.
func (AppModule) ExportGenesis ¶ added in v0.40.0
func (am AppModule) ExportGenesis(_ sdk.Context, cdc codec.JSONMarshaler) json.RawMessage
ExportGenesis is always empty, as InitGenesis does nothing either.
func (AppModule) InitGenesis ¶ added in v0.40.0
func (am AppModule) InitGenesis(_ sdk.Context, _ codec.JSONMarshaler, _ json.RawMessage) []abci.ValidatorUpdate
InitGenesis performs a no-op.
func (AppModule) LegacyQuerierHandler ¶ added in v0.40.0
func (am AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier
LegacyQuerierHandler performs a no-op.
func (AppModule) QuerierRoute ¶ added in v0.40.0
QuerierRoute returns an empty string as the module contains no query functionality.
func (AppModule) RegisterInvariants ¶ added in v0.40.0
func (AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
RegisterInvariants performs a no-op; there are no invariants to enforce.
func (AppModule) RegisterServices ¶ added in v0.40.0
func (am AppModule) RegisterServices(cfg module.Configurator)
RegisterServices registers module services.
type AppModuleBasic ¶ added in v0.40.0
type AppModuleBasic struct{}
AppModuleBasic defines the basic application module used by the sub-vesting module. The module itself contain no special logic or state other than message handling.
func (AppModuleBasic) DefaultGenesis ¶ added in v0.40.0
func (AppModuleBasic) DefaultGenesis(_ codec.JSONMarshaler) json.RawMessage
DefaultGenesis returns the module's default genesis state as raw bytes.
func (AppModuleBasic) GetQueryCmd ¶ added in v0.40.0
func (AppModuleBasic) GetQueryCmd() *cobra.Command
GetQueryCmd returns the module's root query command. Currently, this is a no-op.
func (AppModuleBasic) GetTxCmd ¶ added in v0.40.0
func (AppModuleBasic) GetTxCmd() *cobra.Command
GetTxCmd returns the root tx command for the auth module.
func (AppModuleBasic) Name ¶ added in v0.40.0
func (AppModuleBasic) Name() string
Name returns the module's name.
func (AppModuleBasic) RegisterGRPCGatewayRoutes ¶ added in v0.40.0
func (a AppModuleBasic) RegisterGRPCGatewayRoutes(_ client.Context, _ *runtime.ServeMux)
RegisterGRPCGatewayRoutes registers the module's gRPC Gateway routes. Currently, this is a no-op.
func (AppModuleBasic) RegisterInterfaces ¶ added in v0.40.0
func (AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces registers the module's interfaces and implementations with the given interface registry.
func (AppModuleBasic) RegisterLegacyAminoCodec ¶ added in v0.40.0
func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterCodec registers the module's types with the given codec.
func (AppModuleBasic) RegisterRESTRoutes ¶ added in v0.40.0
func (AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router)
RegisterRESTRoutes registers module's REST handlers. Currently, this is a no-op.
func (AppModuleBasic) ValidateGenesis ¶ added in v0.40.0
func (AppModuleBasic) ValidateGenesis(_ codec.JSONMarshaler, _ client.TxEncodingConfig, bz json.RawMessage) error
ValidateGenesis performs genesis state validation. Currently, this is a no-op.