Documentation ¶
Index ¶
- Constants
- func ExportGenesis(ctx context.Context, k *keeper.Keeper) *types.GenesisState
- func InitGenesis(ctx context.Context, k *keeper.Keeper, genesis types.GenesisState)
- func TxFeeChecker(keeper *keeper.Keeper) ante.TxFeeChecker
- type AppModule
- func (AppModule) AutoCLIOptions() *autocliv1.ModuleOptions
- func (AppModule) ConsensusVersion() uint64
- func (m AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage
- func (AppModule) GetTxCmd() *cobra.Command
- func (m AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, bz json.RawMessage)
- func (AppModule) IsAppModule()
- func (AppModule) IsOnePerModuleType()
- func (m AppModule) RegisterServices(cfg module.Configurator)
- type AppModuleBasic
- func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage
- func (AppModuleBasic) Name() string
- func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux)
- func (AppModuleBasic) RegisterInterfaces(reg codectypes.InterfaceRegistry)
- func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func (b AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error
- type Migrator
- type ModuleInputs
- type ModuleOutputs
Constants ¶
View Source
const ConsensusVersion = 2
ConsensusVersion defines the current GlobalFee module consensus version.
Variables ¶
This section is empty.
Functions ¶
func ExportGenesis ¶
func InitGenesis ¶
func TxFeeChecker ¶
func TxFeeChecker(keeper *keeper.Keeper) ante.TxFeeChecker
TxFeeChecker returns a custom ante.TxFeeChecker that ensures the fees for a given transaction respect the gas prices set in the GlobalFee module.
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
func NewAppModule ¶
func NewAppModule(registry codectypes.InterfaceRegistry, subspace paramstypes.Subspace, keeper *keeper.Keeper) AppModule
func (AppModule) AutoCLIOptions ¶
func (AppModule) AutoCLIOptions() *autocliv1.ModuleOptions
func (AppModule) ConsensusVersion ¶
func (AppModule) ExportGenesis ¶
func (AppModule) InitGenesis ¶
func (AppModule) IsAppModule ¶
func (AppModule) IsAppModule()
func (AppModule) IsOnePerModuleType ¶
func (AppModule) IsOnePerModuleType()
func (AppModule) RegisterServices ¶
func (m AppModule) RegisterServices(cfg module.Configurator)
type AppModuleBasic ¶
type AppModuleBasic struct {
// contains filtered or unexported fields
}
func NewAppModuleBasic ¶
func NewAppModuleBasic(registry codectypes.InterfaceRegistry) AppModuleBasic
func (AppModuleBasic) DefaultGenesis ¶
func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage
func (AppModuleBasic) Name ¶
func (AppModuleBasic) Name() string
func (AppModuleBasic) RegisterGRPCGatewayRoutes ¶
func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux)
func (AppModuleBasic) RegisterInterfaces ¶
func (AppModuleBasic) RegisterInterfaces(reg codectypes.InterfaceRegistry)
func (AppModuleBasic) RegisterLegacyAminoCodec ¶
func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
func (AppModuleBasic) ValidateGenesis ¶
func (b AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error
type Migrator ¶
func NewMigrator ¶
func NewMigrator(subspace paramstypes.Subspace, keeper *keeper.Keeper) Migrator
type ModuleInputs ¶
type ModuleInputs struct { depinject.In Config *modulev1.Module Service store.KVStoreService Registry codectypes.InterfaceRegistry Cdc codec.Codec Subspace paramstypes.Subspace }
type ModuleOutputs ¶
func ProvideModule ¶
func ProvideModule(in ModuleInputs) ModuleOutputs
Directories ¶
Path | Synopsis |
---|---|
api
|
|
module/v1
Code generated by protoc-gen-go-pulsar.
|
Code generated by protoc-gen-go-pulsar. |
v1
Code generated by protoc-gen-go-pulsar.
|
Code generated by protoc-gen-go-pulsar. |
client
|
|
e2e
module
|
|
simapp
module
|
|
Package types is a reverse proxy.
|
Package types is a reverse proxy. |
Click to show internal directories.
Click to hide internal directories.