keeper

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(keeper Keeper) types.MsgServer

NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.

Types

type Keeper

type Keeper struct {
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeService store.KVStoreService,
	logger log.Logger,
	authority string,
) Keeper

func (Keeper) GetBurnRatio

func (k Keeper) GetBurnRatio(ctx sdk.Context) (res math.LegacyDec)

GetBurnRatio returns the BurnRatio param.

func (Keeper) GetGasAdjustments

func (k Keeper) GetGasAdjustments(ctx sdk.Context) (res []types.GasAdjustment)

GetGasAdjustments returns the GasAdjustments param.

func (Keeper) GetGasRefunds

func (k Keeper) GetGasRefunds(ctx sdk.Context) (res []types.GasRefund)

GetGasRefunds returns the GasRefunds param.

func (Keeper) GetMinGasPrice

func (k Keeper) GetMinGasPrice(ctx sdk.Context) (res math.LegacyDec)

GetMinGasPrice returns the MinGasPrice param.

func (Keeper) GetParams

func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)

GetParams returns the current x/global module parameters.

func (Keeper) Logger

func (k Keeper) Logger() log.Logger

func (Keeper) Params

func (Keeper) SetParams

func (k Keeper) SetParams(ctx sdk.Context, params types.Params)

SetParams sets the x/global module parameters.

Jump to

Keyboard shortcuts

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