Documentation ¶
Index ¶
- Constants
- type AppModule
- func (a AppModule) BeginBlock(context sdk.Context, block abci.RequestBeginBlock)
- func (a AppModule) ConsensusVersion() uint64
- func (a AppModule) EndBlock(context sdk.Context, block abci.RequestEndBlock) []abci.ValidatorUpdate
- func (a AppModule) ExportGenesis(ctx sdk.Context, marshaler codec.JSONCodec) json.RawMessage
- func (a AppModule) GenerateGenesisState(simstate *module.SimulationState)
- func (a AppModule) InitGenesis(ctx sdk.Context, marshaler codec.JSONCodec, message json.RawMessage) []abci.ValidatorUpdate
- func (a AppModule) LegacyQuerierHandler(amino *codec.LegacyAmino) sdk.Querier
- func (a AppModule) ProposalContents(simState module.SimulationState) []simtypes.WeightedProposalContent
- func (a AppModule) QuerierRoute() string
- func (a AppModule) RandomizedParams(r *rand.Rand) []simtypes.ParamChange
- func (a AppModule) RegisterInvariants(registry sdk.InvariantRegistry)
- func (a AppModule) RegisterServices(cfg module.Configurator)
- func (a AppModule) RegisterStoreDecoder(registry sdk.StoreDecoderRegistry)
- func (a AppModule) Route() sdk.Route
- func (a AppModule) WeightedOperations(simState module.SimulationState) []simtypes.WeightedOperation
- type AppModuleBasic
- func (a AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage
- func (a AppModuleBasic) GetQueryCmd() *cobra.Command
- func (a AppModuleBasic) GetTxCmd() *cobra.Command
- func (a AppModuleBasic) Name() string
- func (a AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux)
- func (a AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func (a AppModuleBasic) RegisterLegacyAminoCodec(amino *codec.LegacyAmino)
- func (a AppModuleBasic) RegisterRESTRoutes(context client.Context, router *mux.Router)
- func (a AppModuleBasic) ValidateGenesis(marshaler codec.JSONCodec, config client.TxEncodingConfig, ...) error
- type GlobalMinimumChainFeeDecorator
- type Querier
Constants ¶
const (
ModuleName = types.ModuleName
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
func NewAppModule ¶
func NewAppModule(paramSpace paramstypes.Subspace) *AppModule
NewAppModule constructor
func (AppModule) BeginBlock ¶
func (a AppModule) BeginBlock(context sdk.Context, block abci.RequestBeginBlock)
func (AppModule) ConsensusVersion ¶ added in v0.6.2
ConsensusVersion is a sequence number for state-breaking change of the module. It should be incremented on each consensus-breaking change introduced by the module. To avoid wrong/empty versions, the initial version should be set to 1.
func (AppModule) EndBlock ¶
func (a AppModule) EndBlock(context sdk.Context, block abci.RequestEndBlock) []abci.ValidatorUpdate
func (AppModule) ExportGenesis ¶
func (AppModule) GenerateGenesisState ¶ added in v1.0.0
func (a AppModule) GenerateGenesisState(simstate *module.SimulationState)
GenerateGenesisState genesis state for simulations only. Set to empty global fee
func (AppModule) InitGenesis ¶
func (a AppModule) InitGenesis(ctx sdk.Context, marshaler codec.JSONCodec, message json.RawMessage) []abci.ValidatorUpdate
func (AppModule) LegacyQuerierHandler ¶
func (a AppModule) LegacyQuerierHandler(amino *codec.LegacyAmino) sdk.Querier
func (AppModule) ProposalContents ¶ added in v1.0.0
func (a AppModule) ProposalContents(simState module.SimulationState) []simtypes.WeightedProposalContent
func (AppModule) QuerierRoute ¶
func (AppModule) RandomizedParams ¶ added in v1.0.0
func (a AppModule) RandomizedParams(r *rand.Rand) []simtypes.ParamChange
func (AppModule) RegisterInvariants ¶
func (a AppModule) RegisterInvariants(registry sdk.InvariantRegistry)
func (AppModule) RegisterServices ¶
func (a AppModule) RegisterServices(cfg module.Configurator)
func (AppModule) RegisterStoreDecoder ¶ added in v1.0.0
func (a AppModule) RegisterStoreDecoder(registry sdk.StoreDecoderRegistry)
func (AppModule) WeightedOperations ¶ added in v1.0.0
func (a AppModule) WeightedOperations(simState module.SimulationState) []simtypes.WeightedOperation
type AppModuleBasic ¶
type AppModuleBasic struct{}
AppModuleBasic defines the basic application module used by the wasm module.
func (AppModuleBasic) DefaultGenesis ¶
func (a AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage
func (AppModuleBasic) GetQueryCmd ¶
func (a AppModuleBasic) GetQueryCmd() *cobra.Command
func (AppModuleBasic) GetTxCmd ¶
func (a AppModuleBasic) GetTxCmd() *cobra.Command
func (AppModuleBasic) Name ¶
func (a AppModuleBasic) Name() string
func (AppModuleBasic) RegisterGRPCGatewayRoutes ¶
func (a AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux)
func (AppModuleBasic) RegisterInterfaces ¶
func (a AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)
func (AppModuleBasic) RegisterLegacyAminoCodec ¶
func (a AppModuleBasic) RegisterLegacyAminoCodec(amino *codec.LegacyAmino)
func (AppModuleBasic) RegisterRESTRoutes ¶
func (a AppModuleBasic) RegisterRESTRoutes(context client.Context, router *mux.Router)
func (AppModuleBasic) ValidateGenesis ¶
func (a AppModuleBasic) ValidateGenesis(marshaler codec.JSONCodec, config client.TxEncodingConfig, message json.RawMessage) error
type GlobalMinimumChainFeeDecorator ¶
type GlobalMinimumChainFeeDecorator struct {
// contains filtered or unexported fields
}
GlobalMinimumChainFeeDecorator Ante decorator that enforces a minimum fee set for all transactions. This minimum can be 0 though.
func NewGlobalMinimumChainFeeDecorator ¶
func NewGlobalMinimumChainFeeDecorator(paramSpace paramtypes.Subspace) GlobalMinimumChainFeeDecorator
NewGlobalMinimumChainFeeDecorator constructor
func (GlobalMinimumChainFeeDecorator) AnteHandle ¶
func (g GlobalMinimumChainFeeDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (newCtx sdk.Context, err error)
AnteHandle method that performs custom pre- and post-processing.
type Querier ¶ added in v1.0.0
type Querier struct {
// contains filtered or unexported fields
}
func NewQuerier ¶ added in v1.0.0
func NewQuerier(paramSource paramSource) Querier
func (Querier) MinimumGasPrices ¶ added in v1.0.0
func (g Querier) MinimumGasPrices(stdCtx context.Context, _ *types.QueryMinimumGasPricesRequest) (*types.QueryMinimumGasPricesResponse, error)
MinimumGasPrices return minimum gas prices