keeper

package
v1.1.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 11 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,
	bankKeeper types.BankKeeper,
) *Keeper

func (Keeper) ActiveVestingsIterator

func (k Keeper) ActiveVestingsIterator(ctx sdk.Context, block uint64) sdk.Iterator

func (Keeper) AddToActiveVestingsQueue

func (k Keeper) AddToActiveVestingsQueue(ctx sdk.Context, block, index uint64)

func (Keeper) EndBlocker

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

func (Keeper) GetAllVesting

func (k Keeper) GetAllVesting(ctx sdk.Context) (list []types.Vesting)

GetAllVesting returns all Vestings

func (Keeper) GetParams

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

GetParams get all parameters as types.Params

func (Keeper) GetVesting

func (k Keeper) GetVesting(
	ctx sdk.Context,
	index uint64,
) (val types.Vesting, found bool)

func (Keeper) IterateOverActiveVestingsQueue

func (k Keeper) IterateOverActiveVestingsQueue(ctx sdk.Context, block uint64, cb func(vesting types.Vesting) (stop bool))

func (Keeper) Logger

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

func (Keeper) Params

func (Keeper) RemoveFromActiveVestingsQueue

func (k Keeper) RemoveFromActiveVestingsQueue(ctx sdk.Context, block, index uint64)

func (Keeper) RemoveVesting

func (k Keeper) RemoveVesting(
	ctx sdk.Context,
	index uint64,
)

func (Keeper) SetParams

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

SetParams set the params

func (Keeper) SetVesting

func (k Keeper) SetVesting(ctx sdk.Context, v types.Vesting)

Jump to

Keyboard shortcuts

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