keeper

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: Apache-2.0 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,
	memKey storetypes.StoreKey,
	ps paramtypes.Subspace,
	accountKeeper types.AccountKeeper,
	bankKeeper types.BankKeeper,
) *Keeper

func (Keeper) GetMintDenom

func (k Keeper) GetMintDenom(ctx sdk.Context) (val types.MintDenom, found bool)

GetMintDenom returns mintDenom

func (Keeper) GetMintedPool

func (k Keeper) GetMintedPool(ctx sdk.Context) (val types.MintedPool, found bool)

GetMintedPool returns mintedPool

func (Keeper) GetParams

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

GetParams get all parameters as types.Params

func (Keeper) GetStartBlock

func (k Keeper) GetStartBlock(ctx sdk.Context) (val types.StartBlock, found bool)

GetStartBlock returns startBlock

func (Keeper) Logger

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

func (Keeper) Params

func (Keeper) RemoveMintDenom

func (k Keeper) RemoveMintDenom(ctx sdk.Context)

RemoveMintDenom removes mintDenom from the store

func (Keeper) RemoveMintedPool

func (k Keeper) RemoveMintedPool(ctx sdk.Context)

RemoveMintedPool removes mintedPool from the store

func (Keeper) RemoveStartBlock

func (k Keeper) RemoveStartBlock(ctx sdk.Context)

RemoveStartBlock removes startBlock from the store

func (Keeper) SetMintDenom

func (k Keeper) SetMintDenom(ctx sdk.Context, mintDenom types.MintDenom)

SetMintDenom set mintDenom in the store

func (Keeper) SetMintedPool

func (k Keeper) SetMintedPool(ctx sdk.Context, mintedPool types.MintedPool)

SetMintedPool set mintedPool in the store

func (Keeper) SetParams

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

SetParams set the params

func (Keeper) SetStartBlock

func (k Keeper) SetStartBlock(ctx sdk.Context, startBlock types.StartBlock)

SetStartBlock set startBlock in the store

Jump to

Keyboard shortcuts

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