keeper

package
v2.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 9 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.Codec,
	storeKey,
	memKey sdk.StoreKey,

	bk bank.Keeper,
	didKeeper types.DidKeeper,
	vcKeeper types.VcKeeper,

) *Keeper

func (Keeper) GetRegulators

func (k Keeper) GetRegulators(ctx sdk.Context) *types.Regulators

GetRegulators sets a protocol buffer object in the db with a prefixed key

func (Keeper) GetRegulatorsAddresses

func (k Keeper) GetRegulatorsAddresses(ctx sdk.Context) []string

GetRegulatorsAddresses retrieve the genesis configured regulator addresses and dids

func (Keeper) Logger

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

func (Keeper) SetRegulators

func (k Keeper) SetRegulators(ctx sdk.Context,
	params *types.Regulators,
)

SetRegulators sets a protocol buffer object in the db with a prefixed key

func (Keeper) SetVerifiableCredential

func (k Keeper) SetVerifiableCredential(ctx sdk.Context, vc vctypes.VerifiableCredential) error

SetVerifiableCredential store verifiable credentials

Jump to

Keyboard shortcuts

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