Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- func RegisterInvariants(ir sdk.InvariantRegistry, k Keeper)
- type Keeper
- func (k Keeper) ApplyDidDocumentUpdates(ctx sdk.Context, updates *types.UpdateDidDocumentRequest) error
- func (k Keeper) DidDocument(goCtx context.Context, req *types.QueryGetDidDocumentRequest) (*types.QueryGetDidDocumentResponse, error)
- func (k Keeper) DidDocumentAll(goCtx context.Context, req *types.QueryAllDidDocumentRequest) (*types.QueryAllDidDocumentResponse, error)
- func (k Keeper) DidStatus(goCtx context.Context, req *types.QueryGetDidStatusRequest) (*types.QueryGetDidStatusResponse, error)
- func (k Keeper) GetAllDidDocument(ctx sdk.Context) (list []types.DidDocument)
- func (k Keeper) GetAllDids(ctx sdk.Context) ([]string, error)
- func (k Keeper) GetAuthority() string
- func (k Keeper) GetDidStatus(ctx sdk.Context, did string) types.DidStatus
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) HasDidDocument(ctx sdk.Context, did string) bool
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) ReadDidDocument(ctx sdk.Context, did string) (types.DidDocument, error)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) StoreDidDocument(ctx sdk.Context, document types.DidDocument)
- func (k Keeper) VerifySignature(msg codec.ProtoMarshaler, signature *types.Signature, ...) error
- type MsgServer
- func (k MsgServer) CreateDidDocument(goCtx context.Context, msg *types.MsgCreateDidDocument) (*types.MsgCreateDidDocumentResponse, error)
- func (k MsgServer) DeactivateDidDocument(goCtx context.Context, msg *types.MsgDeactivateDidDocument) (*types.MsgDeactivateDidDocumentResponse, error)
- func (k MsgServer) UpdateDidDocument(goCtx context.Context, msg *types.MsgUpdateDidDocument) (*types.MsgUpdateDidDocumentResponse, error)
- func (k MsgServer) UpdateParams(goCtx context.Context, req *types.MsgUpdateParams) (*types.MsgUpdateParamsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
func RegisterInvariants ¶
func RegisterInvariants(ir sdk.InvariantRegistry, k Keeper)
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey storetypes.StoreKey, paramSpace paramtypes.Subspace, authority string, ) Keeper
func (Keeper) ApplyDidDocumentUpdates ¶
func (k Keeper) ApplyDidDocumentUpdates(ctx sdk.Context, updates *types.UpdateDidDocumentRequest) error
ApplyDidDocumentUpdates handles the update of basic fields in a DID Document.
func (Keeper) DidDocument ¶
func (k Keeper) DidDocument(goCtx context.Context, req *types.QueryGetDidDocumentRequest) (*types.QueryGetDidDocumentResponse, error)
func (Keeper) DidDocumentAll ¶
func (k Keeper) DidDocumentAll(goCtx context.Context, req *types.QueryAllDidDocumentRequest) (*types.QueryAllDidDocumentResponse, error)
func (Keeper) DidStatus ¶
func (k Keeper) DidStatus(goCtx context.Context, req *types.QueryGetDidStatusRequest) (*types.QueryGetDidStatusResponse, error)
func (Keeper) GetAllDidDocument ¶
func (k Keeper) GetAllDidDocument(ctx sdk.Context) (list []types.DidDocument)
func (Keeper) GetAuthority ¶
GetAuthority returns the module's authority.
func (Keeper) GetDidStatus ¶
func (Keeper) Params ¶
func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) ReadDidDocument ¶
func (Keeper) StoreDidDocument ¶
func (k Keeper) StoreDidDocument(ctx sdk.Context, document types.DidDocument)
func (Keeper) VerifySignature ¶
func (k Keeper) VerifySignature(msg codec.ProtoMarshaler, signature *types.Signature, verificationMethod *types.DidVerificationMethod) error
type MsgServer ¶
type MsgServer struct {
Keeper
}
func (MsgServer) CreateDidDocument ¶
func (k MsgServer) CreateDidDocument(goCtx context.Context, msg *types.MsgCreateDidDocument) (*types.MsgCreateDidDocumentResponse, error)
func (MsgServer) DeactivateDidDocument ¶
func (k MsgServer) DeactivateDidDocument(goCtx context.Context, msg *types.MsgDeactivateDidDocument) (*types.MsgDeactivateDidDocumentResponse, error)
func (MsgServer) UpdateDidDocument ¶
func (k MsgServer) UpdateDidDocument(goCtx context.Context, msg *types.MsgUpdateDidDocument) (*types.MsgUpdateDidDocumentResponse, error)
func (MsgServer) UpdateParams ¶
func (k MsgServer) UpdateParams(goCtx context.Context, req *types.MsgUpdateParams) (*types.MsgUpdateParamsResponse, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.