Documentation ¶
Index ¶
- Constants
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
- type Keeper
- func (k Keeper) AddCredentials(ctx sdk.Context, did exported.Did, credential types.DidCredential) (err error)
- func (k Keeper) AddDidDoc(ctx sdk.Context, did exported.DidDoc)
- func (k Keeper) AddressFromBase58EncodedPubkey(c context.Context, req *types.QueryAddressFromBase58EncodedPubkeyRequest) (*types.QueryAddressFromBase58EncodedPubkeyResponse, error)
- func (k Keeper) AddressFromDid(c context.Context, req *types.QueryAddressFromDidRequest) (*types.QueryAddressFromDidResponse, error)
- func (k Keeper) AllDidDocs(c context.Context, _ *types.QueryAllDidDocsRequest) (*types.QueryAllDidDocsResponse, error)
- func (k Keeper) AllDids(c context.Context, _ *types.QueryAllDidsRequest) (*types.QueryAllDidsResponse, error)
- func (k Keeper) DidDoc(c context.Context, req *types.QueryDidDocRequest) (*types.QueryDidDocResponse, error)
- func (k Keeper) GetAllDidDocs(ctx sdk.Context) (didDocs []exported.DidDoc)
- func (k Keeper) GetAllDids(ctx sdk.Context) (dids []exported.Did)
- func (k Keeper) GetDidDoc(ctx sdk.Context, did exported.Did) (exported.DidDoc, error)
- func (k Keeper) IterateDidDocs(ctx sdk.Context, cb func(account exported.DidDoc) (stop bool))
- func (k Keeper) MarshalDidDoc(did exported.DidDoc) ([]byte, error)
- func (k Keeper) MustGetDidDoc(ctx sdk.Context, did exported.Did) exported.DidDoc
- func (k Keeper) SetDidDoc(ctx sdk.Context, did exported.DidDoc) (err error)
- func (k Keeper) UnmarshalDidDoc(bz []byte) (exported.DidDoc, error)
Constants ¶
View Source
const ( QueryDidDoc = "queryDidDoc" QueryAllDids = "queryAllDids" QueryAllDidDocs = "queryAllDidDocs" )
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the distribution MsgServer interface for the provided Keeper.
func NewQuerier ¶
func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func (Keeper) AddCredentials ¶
func (Keeper) AddressFromBase58EncodedPubkey ¶
func (k Keeper) AddressFromBase58EncodedPubkey(c context.Context, req *types.QueryAddressFromBase58EncodedPubkeyRequest) (*types.QueryAddressFromBase58EncodedPubkeyResponse, error)
func (Keeper) AddressFromDid ¶
func (k Keeper) AddressFromDid(c context.Context, req *types.QueryAddressFromDidRequest) (*types.QueryAddressFromDidResponse, error)
func (Keeper) AllDidDocs ¶
func (k Keeper) AllDidDocs(c context.Context, _ *types.QueryAllDidDocsRequest) (*types.QueryAllDidDocsResponse, error)
func (Keeper) AllDids ¶
func (k Keeper) AllDids(c context.Context, _ *types.QueryAllDidsRequest) (*types.QueryAllDidsResponse, error)
func (Keeper) DidDoc ¶
func (k Keeper) DidDoc(c context.Context, req *types.QueryDidDocRequest) (*types.QueryDidDocResponse, error)
func (Keeper) GetAllDidDocs ¶
func (Keeper) IterateDidDocs ¶
func (Keeper) MarshalDidDoc ¶
MarshalDidDoc protobuf serializes a DidDoc interface
func (Keeper) MustGetDidDoc ¶
Click to show internal directories.
Click to hide internal directories.