keeper

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: MIT Imports: 12 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,
	storeKey storeTypes.StoreKey,
	authority string,
) *Keeper

func (Keeper) GetBurnRatio

func (k Keeper) GetBurnRatio(ctx sdk.Context) (res sdk.Dec)

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 sdk.Dec)

GetMinGasPrice returns the MinGasPrice param.

func (Keeper) GetMinInitialDepositRatio

func (k Keeper) GetMinInitialDepositRatio(ctx sdk.Context) (res sdk.Dec)

GetMinInitialDepositRatio returns the MinInitialDepositRatio 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(ctx sdk.Context) 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