keeper

package
v0.0.0-...-3aeaace Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(keeper Keeper) types.MsgServer

func NewQuerier

func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier

func VerifyDIDOwnership

func VerifyDIDOwnership(signData *types.DIDDocument, seq uint64, doc *types.DIDDocument, verificationMethodID string, sig []byte) (uint64, error)

Types

type Keeper

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

func NewKeeper

func NewKeeper(cdc codec.Codec, storeKey, memKey sdk.StoreKey) *Keeper

func (Keeper) DID

func (Keeper) GetDIDDocument

func (k Keeper) GetDIDDocument(ctx sdk.Context, did string) types.DIDDocumentWithSeq

func (Keeper) GetDeactivatedDIDDocument

func (k Keeper) GetDeactivatedDIDDocument(ctx sdk.Context, creator string) types.DIDDocumentWithSeq

func (Keeper) ListDIDs

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

func (Keeper) Logger

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

func (Keeper) SetDIDDocument

func (k Keeper) SetDIDDocument(ctx sdk.Context, did string, doc types.DIDDocumentWithSeq)

func (Keeper) SetDeactivatedDIDDocument

func (k Keeper) SetDeactivatedDIDDocument(ctx sdk.Context, creator string, doc types.DIDDocumentWithSeq)

Jump to

Keyboard shortcuts

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