denommetadata

package
v3.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleCreateDenomMetadataProposal added in v3.1.0

func HandleCreateDenomMetadataProposal(ctx sdk.Context, k *keeper.Keeper, p *types.CreateDenomMetadataProposal) error

HandleCreateDenomMetadataProposal is a handler for executing a passed denom metadata creation proposal

func HandleUpdateDenomMetadataProposal added in v3.1.0

func HandleUpdateDenomMetadataProposal(ctx sdk.Context, k *keeper.Keeper, p *types.UpdateDenomMetadataProposal) error

HandleUpdateDenomMetadataProposal is a handler for executing a passed denom metadata update proposal

func NewDenomMetadataProposalHandler added in v3.1.0

func NewDenomMetadataProposalHandler(k *keeper.Keeper) govtypes.Handler

Types

type AppModule added in v3.1.0

type AppModule struct {
	AppModuleBasic
	// contains filtered or unexported fields
}

AppModule implements the AppModule interface for the module.

func NewAppModule added in v3.1.0

func NewAppModule(
	keeper *keeper.Keeper,
	evmKeeper evmkeeper.Keeper,
	bankKeeper bankkeeper.Keeper,
) AppModule

NewAppModule creates a new AppModule struct.

func (AppModule) BeginBlock added in v3.1.0

func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock)

BeginBlock executes all ABCI BeginBlock logic respective to the module.

func (AppModule) ConsensusVersion added in v3.1.0

func (AppModule) ConsensusVersion() uint64

ConsensusVersion implements AppModule/ConsensusVersion.

func (AppModule) EndBlock added in v3.1.0

EndBlock executes all ABCI EndBlock logic respective to the module. Returns a nil validatorUpdate struct array.

func (AppModule) ExportGenesis added in v3.1.0

func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage

ExportGenesis returns the module's exported genesis state as raw JSON bytes.

func (AppModule) GetHooks added in v3.1.0

func (am AppModule) GetHooks() []types.DenomMetadataHooks

func (AppModule) InitGenesis added in v3.1.0

func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, gs json.RawMessage) []abci.ValidatorUpdate

InitGenesis performs the module's genesis initialization. Returns an empty ValidatorUpdate array.

func (AppModule) LegacyQuerierHandler added in v3.1.0

func (am AppModule) LegacyQuerierHandler(legacyQuerierCdc *codec.LegacyAmino) sdk.Querier

LegacyQuerierHandler returns the incentive module's Querier.

func (AppModule) Name added in v3.1.0

func (am AppModule) Name() string

Name returns the module's name.

func (AppModule) QuerierRoute added in v3.1.0

func (AppModule) QuerierRoute() string

QuerierRoute returns the module's query routing key.

func (AppModule) RegisterInvariants added in v3.1.0

func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry)

RegisterInvariants registers the module's invariants.

func (AppModule) RegisterServices added in v3.1.0

func (am AppModule) RegisterServices(cfg module.Configurator)

RegisterServices registers the module's services.

func (AppModule) Route added in v3.1.0

func (am AppModule) Route() sdk.Route

Route returns the module's message routing key.

type AppModuleBasic added in v3.1.0

type AppModuleBasic struct{}

Implements the AppModuleBasic interface for the module.

func NewAppModuleBasic added in v3.1.0

func NewAppModuleBasic() AppModuleBasic

NewAppModuleBasic creates a new AppModuleBasic struct.

func (AppModuleBasic) DefaultGenesis added in v3.1.0

func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage

DefaultGenesis returns the module's default genesis state.

func (AppModuleBasic) GetQueryCmd added in v3.1.0

func (AppModuleBasic) GetQueryCmd() *cobra.Command

GetQueryCmd returns the module's root query command.

func (AppModuleBasic) GetTxCmd added in v3.1.0

func (a AppModuleBasic) GetTxCmd() *cobra.Command

GetTxCmd returns the module's root tx command.

func (AppModuleBasic) Name added in v3.1.0

func (AppModuleBasic) Name() string

Name returns the module's name.

func (AppModuleBasic) RegisterGRPCGatewayRoutes added in v3.1.0

func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux)

RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module.

func (AppModuleBasic) RegisterInterfaces added in v3.1.0

func (a AppModuleBasic) RegisterInterfaces(reg cdctypes.InterfaceRegistry)

RegisterInterfaces registers the module's interface types.

func (AppModuleBasic) RegisterLegacyAminoCodec added in v3.1.0

func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers the module's types on the LegacyAmino codec.

func (AppModuleBasic) RegisterRESTRoutes added in v3.1.0

func (AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Router)

RegisterRESTRoutes registers the module's REST service handlers.

func (AppModuleBasic) ValidateGenesis added in v3.1.0

func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error

ValidateGenesis performs genesis state validation for the module.

Directories

Path Synopsis
cli

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL