keeper

package
v6.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2025 License: Apache-2.0 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 {
	Schema      collections.Schema
	ParamsStore collections.Item[types.Params]
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(cdc codec.BinaryCodec,
	storeService storetypes.KVStoreService, paramSpace paramsTypes.Subspace,
	mintKeeper mintkeeper.Keeper, ak authkeeper.AccountKeeper,
	authority string,
) Keeper

func (Keeper) GetAuthority

func (k Keeper) GetAuthority() string

GetAuthority returns the module authority address

func (Keeper) GetMintingParams

func (k Keeper) GetMintingParams(ctx sdk.Context) (mintTypes.Params, error)

func (Keeper) GetParams

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

func (Keeper) Logger

func (k Keeper) Logger(ctx sdk.Context) log.Logger

func (Keeper) Params

func (Keeper) SetMintingParams

func (k Keeper) SetMintingParams(ctx sdk.Context, params mintTypes.Params) error

func (Keeper) SetParams

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

func (Keeper) UpdateParams

func (k Keeper) UpdateParams(ctx sdk.Context, authority string, params types.Params) error

UpdateParams updates the halving module parameters

Jump to

Keyboard shortcuts

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