Documentation
¶
Index ¶
- func EndBlocker(ctx context.Context, k keeper.Keeper) error
- func ProvideModule(in FeegrantInputs) (keeper.Keeper, appmodule.AppModule)
- type AppModule
- func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions
- func (AppModule) ConsensusVersion() uint64
- func (am AppModule) DefaultGenesis() json.RawMessage
- func (am AppModule) EndBlock(ctx context.Context) error
- func (am AppModule) ExportGenesis(ctx context.Context) (json.RawMessage, error)
- func (AppModule) GenerateGenesisState(simState *module.SimulationState)
- func (AppModule) GetTxCmd() *cobra.Command
- func (am AppModule) InitGenesis(ctx context.Context, bz json.RawMessage) error
- func (AppModule) IsAppModule()
- func (am AppModule) IsOnePerModuleType()
- func (AppModule) Name() string
- func (AppModule) RegisterGRPCGatewayRoutes(clientCtx sdkclient.Context, mux *gwruntime.ServeMux)
- func (AppModule) RegisterInterfaces(registrar registry.InterfaceRegistrar)
- func (AppModule) RegisterLegacyAminoCodec(registrar registry.AminoRegistrar)
- func (am AppModule) RegisterMigrations(mr appmodule.MigrationRegistrar) error
- func (am AppModule) RegisterServices(registrar grpc.ServiceRegistrar) error
- func (am AppModule) RegisterStoreDecoder(sdr simtypes.StoreDecoderRegistry)
- func (am AppModule) ValidateGenesis(bz json.RawMessage) error
- func (am AppModule) WeightedOperationsX(weights simsx.WeightSource, reg simsx.Registry)
- type FeegrantInputs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProvideModule ¶
func ProvideModule(in FeegrantInputs) (keeper.Keeper, appmodule.AppModule)
Types ¶
type AppModule ¶
type AppModule struct {
// contains filtered or unexported fields
}
AppModule implements an application module for the feegrant module.
func NewAppModule ¶
func NewAppModule(cdc codec.Codec, keeper keeper.Keeper, registry cdctypes.InterfaceRegistry) AppModule
NewAppModule creates a new AppModule object
func (AppModule) AutoCLIOptions ¶
func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions
func (AppModule) ConsensusVersion ¶
ConsensusVersion implements HasConsensusVersion
func (AppModule) DefaultGenesis ¶
func (am AppModule) DefaultGenesis() json.RawMessage
DefaultGenesis returns default genesis state as raw bytes for the feegrant module.
func (AppModule) ExportGenesis ¶
ExportGenesis returns the exported genesis state as raw bytes for the feegrant module.
func (AppModule) GenerateGenesisState ¶
func (AppModule) GenerateGenesisState(simState *module.SimulationState)
GenerateGenesisState creates a randomized GenState of the feegrant module.
func (AppModule) InitGenesis ¶
InitGenesis performs genesis initialization for the feegrant module.
func (AppModule) IsAppModule ¶
func (AppModule) IsAppModule()
IsAppModule implements the appmodule.AppModule interface.
func (AppModule) IsOnePerModuleType ¶
func (am AppModule) IsOnePerModuleType()
IsOnePerModuleType implements the depinject.OnePerModuleType interface.
func (AppModule) Name ¶
Name returns the feegrant module's name. Deprecated: kept for legacy reasons.
func (AppModule) RegisterGRPCGatewayRoutes ¶
RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the feegrant module.
func (AppModule) RegisterInterfaces ¶
func (AppModule) RegisterInterfaces(registrar registry.InterfaceRegistrar)
RegisterInterfaces registers the feegrant module's interface types
func (AppModule) RegisterLegacyAminoCodec ¶
func (AppModule) RegisterLegacyAminoCodec(registrar registry.AminoRegistrar)
RegisterLegacyAminoCodec registers the feegrant module's types for the given codec.
func (AppModule) RegisterMigrations ¶
func (am AppModule) RegisterMigrations(mr appmodule.MigrationRegistrar) error
RegisterMigrations registers module migrations.
func (AppModule) RegisterServices ¶
func (am AppModule) RegisterServices(registrar grpc.ServiceRegistrar) error
RegisterServices registers module services.
func (AppModule) RegisterStoreDecoder ¶
func (am AppModule) RegisterStoreDecoder(sdr simtypes.StoreDecoderRegistry)
RegisterStoreDecoder registers a decoder for feegrant module's types
func (AppModule) ValidateGenesis ¶
func (am AppModule) ValidateGenesis(bz json.RawMessage) error
ValidateGenesis performs genesis state validation for the feegrant module.
func (AppModule) WeightedOperationsX ¶
func (am AppModule) WeightedOperationsX(weights simsx.WeightSource, reg simsx.Registry)
type FeegrantInputs ¶
type FeegrantInputs struct { depinject.In Environment appmodule.Environment Cdc codec.Codec AddressCodec address.Codec BankKeeper feegrant.BankKeeper Registry cdctypes.InterfaceRegistry }