keeper

package
v0.0.0-...-42f099e Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 License: BSD-3-Clause Imports: 15 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,

	ganymedeKeeper types.GanymedeKeeper,
) *Keeper

func (Keeper) GetAllKvzoo

func (k Keeper) GetAllKvzoo(ctx sdk.Context) (list []types.Kvzoo)

GetAllKvzoo returns all kvzoo

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

GetAllUsers returns all users

func (Keeper) GetKvzoo

func (k Keeper) GetKvzoo(
	ctx sdk.Context,
	owner string,
	zooKey string,

) (val types.Kvzoo, found bool)

GetKvzoo returns a kvzoo from its index

func (Keeper) GetKvzooByKey

func (k Keeper) GetKvzooByKey(
	ctx sdk.Context,
	kvKey []byte,
) (val types.Kvzoo, found bool)

GetKvzoo returns a kvzoo from its index, Key is given

func (Keeper) GetParams

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

GetParams get all parameters as types.Params

func (Keeper) Kvzoo

func (Keeper) KvzooAll

func (Keeper) Logger

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

func (Keeper) Params

func (Keeper) RemoveKvzoo

func (k Keeper) RemoveKvzoo(
	ctx sdk.Context,
	owner string,
	zooKey string,
	linkOwner string,
)

RemoveKvzoo removes a kvzoo from the store

func (Keeper) SetKvzoo

func (k Keeper) SetKvzoo(ctx sdk.Context, kvzoo types.Kvzoo)

SetKvzoo set a specific kvzoo in the store from its index

func (Keeper) SetKvzooUpdate

func (k Keeper) SetKvzooUpdate(ctx sdk.Context, kvzoo types.Kvzoo, oldOwner string, oldLinkOwner string)

SetKvzoo set a specific kvzoo in the store from its index

func (Keeper) SetParams

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

SetParams set the params

Jump to

Keyboard shortcuts

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