Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) BurnTaxRate(c context.Context, _ *types.QueryBurnTaxRateRequest) (*types.QueryBurnTaxRateResponse, error)
- func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k Keeper) GetAuthority() string
- func (k Keeper) GetBurnTaxRate(ctx sdk.Context) sdk.Dec
- func (k Keeper) GetBypassMinFeeMsgTypes(ctx sdk.Context) []string
- func (k Keeper) GetGasPrices(ctx sdk.Context) sdk.DecCoins
- func (k Keeper) GetMaxTotalBypassMinFeeMsgGasUsage(ctx sdk.Context) uint64
- func (k Keeper) GetParams(clientCtx sdk.Context) (params types.Params)
- func (k Keeper) InitGenesis(ctx sdk.Context, genState *types.GenesisState)
- func (k Keeper) IsEnabled(ctx sdk.Context) bool
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(c context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the tax2gas MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey storetypes.StoreKey, authority string, ) Keeper
func (Keeper) BurnTaxRate ¶
func (k Keeper) BurnTaxRate(c context.Context, _ *types.QueryBurnTaxRateRequest) (*types.QueryBurnTaxRateResponse, error)
BurnTaxRate queries burn tax rate of tax2gas module
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
ExportGenesis returns the tax2gas module's exported genesis.
func (Keeper) GetAuthority ¶
GetAuthority returns the x/tax2gas module's authority.
func (Keeper) GetBypassMinFeeMsgTypes ¶
GetBypassMinFeeMsgTypes gets the tax2gas module's BypassMinFeeMsgTypes.
func (Keeper) GetMaxTotalBypassMinFeeMsgGasUsage ¶
GetBypassMinFeeMsgTypes gets the tax2gas module's BypassMinFeeMsgTypes.
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx sdk.Context, genState *types.GenesisState)
InitGenesis initializes the tax2gas module's state from a provided genesis state.
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
Params queries params of tax2gas module
Click to show internal directories.
Click to hide internal directories.