keeper

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: GPL-3.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 {
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeKey,
	memKey sdk.StoreKey,
	ps paramtypes.Subspace,

	accountKeeper types.AccountKeeper, bankKeeper types.BankKeeper, capabilityKeeper types.CapabilityKeeper, mintKeeper types.MintKeeper,
) *Keeper

func (Keeper) GetAllWhatIs

func (k Keeper) GetAllWhatIs(ctx sdk.Context) (list []types.WhatIs)

GetAllWhatIs returns all whatIs

func (Keeper) GetParams

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

GetParams get all parameters as types.Params

func (Keeper) GetWhatIs

func (k Keeper) GetWhatIs(
	ctx sdk.Context,
	did string,
) (val types.WhatIs, found bool)

GetWhatIs returns a whatIs from its did

func (Keeper) Logger

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

func (Keeper) Params

func (Keeper) RemoveWhatIs

func (k Keeper) RemoveWhatIs(
	ctx sdk.Context,
	did string,
)

RemoveWhatIs removes a whatIs from the store

func (Keeper) SetParams

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

SetParams set the params

func (Keeper) SetWhatIs

func (k Keeper) SetWhatIs(ctx sdk.Context, whatIs types.WhatIs)

SetWhatIs set a specific whatIs in the store from its did

func (Keeper) WhatIs

Jump to

Keyboard shortcuts

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