keeper

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServer added in v1.5.0

func NewMsgServer(
	keeper Keeper,
	bankKeeper types.BankKeeper,
	tokenKeeper types.TokenKeeper,
	communityKeeper types.CommunityKeeper,
) types.MsgServer

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

func NewQueryServer added in v1.5.0

func NewQueryServer(keeper Keeper, tokenKeeper types.TokenKeeper) types.QueryServer

NewQueryServer returns an implementation of the QueryServer interface for the provided Keeper.

Types

type Keeper

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

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeKey sdk.StoreKey,
	paramSpace paramtypes.Subspace,
) *Keeper

func (Keeper) GetParams added in v1.4.0

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

func (Keeper) IsSupervisor added in v1.5.0

func (k Keeper) IsSupervisor(ctx sdk.Context, address sdk.AccAddress) bool

func (Keeper) Logger added in v1.5.0

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

func (Keeper) SetParams added in v1.4.0

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

Jump to

Keyboard shortcuts

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