Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( KeyDelimiter = []byte{0x00} DIDDocumentKeyPrefix = []byte{0x11} // {Prefix}{DID} )
Functions ¶
func DIDDocumentKey ¶
func ExportGenesis ¶
func ExportGenesis(ctx sdk.Context, k Keeper) types.GenesisState
func InitGenesis ¶
func InitGenesis(ctx sdk.Context, k Keeper, data types.GenesisState)
func NewQuerier ¶
NewQuerier is the module level router for state queries
Types ¶
type Keeper ¶
type Keeper interface { Codec() *codec.Codec SetDIDDocument(ctx sdk.Context, did types.DID, doc types.DIDDocumentWithSeq) GetDIDDocument(ctx sdk.Context, did types.DID) types.DIDDocumentWithSeq ListDIDs(ctx sdk.Context) []types.DID }
Keeper maintains the link to data storage and exposes getter/setter methods for the various parts of the state machine
Click to show internal directories.
Click to hide internal directories.