Versions in this module Expand all Collapse all v1 v1.0.0 Aug 18, 2021 Changes in this version + const AssertionMethod + const AttributeDID + const AttributeKeyController + const AttributeKeyOwner + const AttributeKeyServiceID + const AttributeValueCategory + const Authentication + const CapabilityDelegation + const CapabilityInvocation + const DIDVerificationMethodTypeCosmosAddress + const DIDVerificationMethodTypeSecp256k1_2020 + const DidKeyPrefix + const DidPrefix + const EventTypeDidDocumentCreated + const EventTypeDidDocumentUpdated + const EventTypeServiceAdded + const EventTypeServiceDeleted + const EventTypeVerificationMethodAdded + const EventTypeVerificationRelationshipsUpdated + const EventTypeVerificationRevoked + const KeyAgreement + const MemStoreKey + const ModuleName + const QuerierRoute + const RouterKey + const StoreKey + const TypeMsgAddService + const TypeMsgAddVerification + const TypeMsgCreateDidDocument + const TypeMsgDeleteService + const TypeMsgRevokeVerification + const TypeMsgSetVerificationRelationships + const TypeMsgUpdateDidDocument + var DidDocumentKey = []byte + var DidMetadataKey = []byte + var ErrDidDocumentFound = sdkerrors.Register(ModuleName, 1101, "did document found") + var ErrDidDocumentNotFound = sdkerrors.Register(ModuleName, 1100, "did document not found") + var ErrEmptyRelationships = sdkerrors.Register(ModuleName, 1105, ...) + var ErrIntOverflowDid = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInvalidDIDFormat = sdkerrors.Register(ModuleName, 1102, ...) + var ErrInvalidDIDURLFormat = sdkerrors.Register(ModuleName, 1103, ...) + var ErrInvalidDidMethodFormat = sdkerrors.Register(ModuleName, 1110, "invalid did method format") + var ErrInvalidInput = sdkerrors.Register(ModuleName, 1108, "input is invalid") + var ErrInvalidLengthDid = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidRFC3986UriFormat = sdkerrors.Register(ModuleName, 1104, ...) + var ErrInvalidState = sdkerrors.Register(ModuleName, 1107, "the requested action is not applicable on the resource") + var ErrUnauthorized = sdkerrors.Register(ModuleName, 1106, ...) + var ErrUnexpectedEndOfGroupDid = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var ErrVerificationMethodNotFound = sdkerrors.Register(ModuleName, 1109, "verification method not found") + var ModuleCdc = codec.NewAminoCodec(amino) + var VerificationRelationships = map[string]VerificationRelationship + func BlockchainAccountID(account string) string + func DID(chainName, didID string) string + func DIDKey(didMethodSpecificDidDocument string) string + func IsEmpty(input string) bool + func IsValidDID(input string) bool + func IsValidDIDDocument(didDoc *DidDocument) bool + func IsValidDIDKeyFormat(did string) bool + func IsValidDIDMetadata(didMeta *DidMetadata) bool + func IsValidDIDURL(input string) bool + func IsValidRFC3986Uri(input string) bool + func NewDidDocumentCreatedEvent(owner string) sdk.Event + func NewDidDocumentUpdatedEvent(did string, controllers ...string) sdk.Event + func NewServiceAddedEvent(owner string, serviceID string) sdk.Event + func NewServiceDeletedEvent(owner string, serviceID string) sdk.Event + func NewVerificationAddedEvent(owner string, controller string) sdk.Event + func NewVerificationRelationshipsUpdatedEvent(owner string, methodID string) sdk.Event + func NewVerificationRevokedEvent(owner string, controller string) sdk.Event + func RegisterCodec(cdc *codec.LegacyAmino) + func RegisterInterfaces(registry cdctypes.InterfaceRegistry) + func RegisterMsgHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MsgClient) error + func RegisterMsgHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MsgServer) error + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error + func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + func UpdateDidMetadata(meta *DidMetadata, versionData []byte, updated time.Time) + func ValidateService(s *Service) (err error) + func ValidateVerification(v *Verification, allowedControllers ...string) (err error) + type DidDocument struct + AssertionMethod []string + Authentication []string + CapabilityDelegation []string + CapabilityInvocation []string + Context []string + Controller []string + Id string + KeyAgreement []string + Service []*Service + VerificationMethod []*VerificationMethod + func NewDidDocument(id string, options ...DidDocumentOption) (did DidDocument, err error) + func (*DidDocument) Descriptor() ([]byte, []int) + func (*DidDocument) ProtoMessage() + func (didDoc *DidDocument) AddServices(services ...*Service) (err error) + func (didDoc *DidDocument) AddVerifications(verifications ...*Verification) (err error) + func (didDoc *DidDocument) DeleteService(serviceID string) + func (didDoc *DidDocument) RevokeVerification(methodID string) error + func (didDoc *DidDocument) SetControllers(controllers ...string) error + func (didDoc *DidDocument) SetVerificationRelationships(methodID string, relationships ...string) error + func (didDoc DidDocument) GetBytes() []byte + func (didDoc DidDocument) GetVerificationRelationships(methodID string) []string + func (didDoc DidDocument) HasRelationship(signer string, relationships ...string) bool + func (m *DidDocument) Marshal() (dAtA []byte, err error) + func (m *DidDocument) MarshalTo(dAtA []byte) (int, error) + func (m *DidDocument) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *DidDocument) Reset() + func (m *DidDocument) Size() (n int) + func (m *DidDocument) String() string + func (m *DidDocument) Unmarshal(dAtA []byte) error + func (m *DidDocument) XXX_DiscardUnknown() + func (m *DidDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DidDocument) XXX_Merge(src proto.Message) + func (m *DidDocument) XXX_Size() int + func (m *DidDocument) XXX_Unmarshal(b []byte) error + func (this *DidDocument) Equal(that interface{}) bool + type DidDocumentOption func(*DidDocument) error + func WithControllers(controllers ...string) DidDocumentOption + func WithServices(services ...*Service) DidDocumentOption + func WithVerifications(verifications ...*Verification) DidDocumentOption + type DidMetadata struct + Created *time.Time + Deactivated bool + Updated *time.Time + VersionId string + func NewDidMetadata(versionData []byte, created time.Time) DidMetadata + func (*DidMetadata) Descriptor() ([]byte, []int) + func (*DidMetadata) ProtoMessage() + func (m *DidMetadata) Marshal() (dAtA []byte, err error) + func (m *DidMetadata) MarshalTo(dAtA []byte) (int, error) + func (m *DidMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *DidMetadata) Reset() + func (m *DidMetadata) Size() (n int) + func (m *DidMetadata) String() string + func (m *DidMetadata) Unmarshal(dAtA []byte) error + func (m *DidMetadata) XXX_DiscardUnknown() + func (m *DidMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DidMetadata) XXX_Merge(src proto.Message) + func (m *DidMetadata) XXX_Size() int + func (m *DidMetadata) XXX_Unmarshal(b []byte) error + func (this *DidMetadata) Equal(that interface{}) bool + type MsgAddService struct + Id string + ServiceData *Service + Signer string + func NewMsgAddService(id string, service *Service, signerAccount string) *MsgAddService + func (*MsgAddService) Descriptor() ([]byte, []int) + func (*MsgAddService) ProtoMessage() + func (MsgAddService) Route() string + func (MsgAddService) Type() string + func (m *MsgAddService) Marshal() (dAtA []byte, err error) + func (m *MsgAddService) MarshalTo(dAtA []byte) (int, error) + func (m *MsgAddService) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgAddService) Reset() + func (m *MsgAddService) Size() (n int) + func (m *MsgAddService) String() string + func (m *MsgAddService) Unmarshal(dAtA []byte) error + func (m *MsgAddService) XXX_DiscardUnknown() + func (m *MsgAddService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgAddService) XXX_Merge(src proto.Message) + func (m *MsgAddService) XXX_Size() int + func (m *MsgAddService) XXX_Unmarshal(b []byte) error + func (msg MsgAddService) GetSignBytes() []byte + func (msg MsgAddService) GetSigners() []sdk.AccAddress + func (msg MsgAddService) ValidateBasic() error + type MsgAddServiceResponse struct + func (*MsgAddServiceResponse) Descriptor() ([]byte, []int) + func (*MsgAddServiceResponse) ProtoMessage() + func (m *MsgAddServiceResponse) Marshal() (dAtA []byte, err error) + func (m *MsgAddServiceResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgAddServiceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgAddServiceResponse) Reset() + func (m *MsgAddServiceResponse) Size() (n int) + func (m *MsgAddServiceResponse) String() string + func (m *MsgAddServiceResponse) Unmarshal(dAtA []byte) error + func (m *MsgAddServiceResponse) XXX_DiscardUnknown() + func (m *MsgAddServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgAddServiceResponse) XXX_Merge(src proto.Message) + func (m *MsgAddServiceResponse) XXX_Size() int + func (m *MsgAddServiceResponse) XXX_Unmarshal(b []byte) error + type MsgAddVerification struct + Id string + Signer string + Verification *Verification + func NewMsgAddVerification(id string, verification *Verification, signerAccount string) *MsgAddVerification + func (*MsgAddVerification) Descriptor() ([]byte, []int) + func (*MsgAddVerification) ProtoMessage() + func (MsgAddVerification) Route() string + func (MsgAddVerification) Type() string + func (m *MsgAddVerification) Marshal() (dAtA []byte, err error) + func (m *MsgAddVerification) MarshalTo(dAtA []byte) (int, error) + func (m *MsgAddVerification) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgAddVerification) Reset() + func (m *MsgAddVerification) Size() (n int) + func (m *MsgAddVerification) String() string + func (m *MsgAddVerification) Unmarshal(dAtA []byte) error + func (m *MsgAddVerification) XXX_DiscardUnknown() + func (m *MsgAddVerification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgAddVerification) XXX_Merge(src proto.Message) + func (m *MsgAddVerification) XXX_Size() int + func (m *MsgAddVerification) XXX_Unmarshal(b []byte) error + func (msg MsgAddVerification) GetSignBytes() []byte + func (msg MsgAddVerification) GetSigners() []sdk.AccAddress + func (msg MsgAddVerification) ValidateBasic() error + type MsgAddVerificationResponse struct + func (*MsgAddVerificationResponse) Descriptor() ([]byte, []int) + func (*MsgAddVerificationResponse) ProtoMessage() + func (m *MsgAddVerificationResponse) Marshal() (dAtA []byte, err error) + func (m *MsgAddVerificationResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgAddVerificationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgAddVerificationResponse) Reset() + func (m *MsgAddVerificationResponse) Size() (n int) + func (m *MsgAddVerificationResponse) String() string + func (m *MsgAddVerificationResponse) Unmarshal(dAtA []byte) error + func (m *MsgAddVerificationResponse) XXX_DiscardUnknown() + func (m *MsgAddVerificationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgAddVerificationResponse) XXX_Merge(src proto.Message) + func (m *MsgAddVerificationResponse) XXX_Size() int + func (m *MsgAddVerificationResponse) XXX_Unmarshal(b []byte) error + type MsgClient interface + AddService func(ctx context.Context, in *MsgAddService, opts ...grpc.CallOption) (*MsgAddServiceResponse, error) + AddVerification func(ctx context.Context, in *MsgAddVerification, opts ...grpc.CallOption) (*MsgAddVerificationResponse, error) + CreateDidDocument func(ctx context.Context, in *MsgCreateDidDocument, opts ...grpc.CallOption) (*MsgCreateDidDocumentResponse, error) + DeleteService func(ctx context.Context, in *MsgDeleteService, opts ...grpc.CallOption) (*MsgDeleteServiceResponse, error) + RevokeVerification func(ctx context.Context, in *MsgRevokeVerification, opts ...grpc.CallOption) (*MsgRevokeVerificationResponse, error) + SetVerificationRelationships func(ctx context.Context, in *MsgSetVerificationRelationships, ...) (*MsgSetVerificationRelationshipsResponse, error) + UpdateDidDocument func(ctx context.Context, in *MsgUpdateDidDocument, opts ...grpc.CallOption) (*MsgUpdateDidDocumentResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgCreateDidDocument struct + Controller string + Id string + Services []*Service + Signer string + Verifications []*Verification + func NewMsgCreateDidDocument(id string, verifications []*Verification, services []*Service, ...) *MsgCreateDidDocument + func (*MsgCreateDidDocument) Descriptor() ([]byte, []int) + func (*MsgCreateDidDocument) ProtoMessage() + func (MsgCreateDidDocument) Route() string + func (MsgCreateDidDocument) Type() string + func (m *MsgCreateDidDocument) Marshal() (dAtA []byte, err error) + func (m *MsgCreateDidDocument) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateDidDocument) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateDidDocument) Reset() + func (m *MsgCreateDidDocument) Size() (n int) + func (m *MsgCreateDidDocument) String() string + func (m *MsgCreateDidDocument) Unmarshal(dAtA []byte) error + func (m *MsgCreateDidDocument) XXX_DiscardUnknown() + func (m *MsgCreateDidDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateDidDocument) XXX_Merge(src proto.Message) + func (m *MsgCreateDidDocument) XXX_Size() int + func (m *MsgCreateDidDocument) XXX_Unmarshal(b []byte) error + func (msg MsgCreateDidDocument) GetSignBytes() []byte + func (msg MsgCreateDidDocument) GetSigners() []sdk.AccAddress + func (msg MsgCreateDidDocument) ValidateBasic() error + type MsgCreateDidDocumentResponse struct + func (*MsgCreateDidDocumentResponse) Descriptor() ([]byte, []int) + func (*MsgCreateDidDocumentResponse) ProtoMessage() + func (m *MsgCreateDidDocumentResponse) Marshal() (dAtA []byte, err error) + func (m *MsgCreateDidDocumentResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateDidDocumentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateDidDocumentResponse) Reset() + func (m *MsgCreateDidDocumentResponse) Size() (n int) + func (m *MsgCreateDidDocumentResponse) String() string + func (m *MsgCreateDidDocumentResponse) Unmarshal(dAtA []byte) error + func (m *MsgCreateDidDocumentResponse) XXX_DiscardUnknown() + func (m *MsgCreateDidDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateDidDocumentResponse) XXX_Merge(src proto.Message) + func (m *MsgCreateDidDocumentResponse) XXX_Size() int + func (m *MsgCreateDidDocumentResponse) XXX_Unmarshal(b []byte) error + type MsgDeleteService struct + Id string + ServiceId string + Signer string + func NewMsgDeleteService(id string, serviceID string, signerAccount string) *MsgDeleteService + func (*MsgDeleteService) Descriptor() ([]byte, []int) + func (*MsgDeleteService) ProtoMessage() + func (MsgDeleteService) Route() string + func (MsgDeleteService) Type() string + func (m *MsgDeleteService) Marshal() (dAtA []byte, err error) + func (m *MsgDeleteService) MarshalTo(dAtA []byte) (int, error) + func (m *MsgDeleteService) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgDeleteService) Reset() + func (m *MsgDeleteService) Size() (n int) + func (m *MsgDeleteService) String() string + func (m *MsgDeleteService) Unmarshal(dAtA []byte) error + func (m *MsgDeleteService) XXX_DiscardUnknown() + func (m *MsgDeleteService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgDeleteService) XXX_Merge(src proto.Message) + func (m *MsgDeleteService) XXX_Size() int + func (m *MsgDeleteService) XXX_Unmarshal(b []byte) error + func (msg MsgDeleteService) GetSignBytes() []byte + func (msg MsgDeleteService) GetSigners() []sdk.AccAddress + func (msg MsgDeleteService) ValidateBasic() error + type MsgDeleteServiceResponse struct + func (*MsgDeleteServiceResponse) Descriptor() ([]byte, []int) + func (*MsgDeleteServiceResponse) ProtoMessage() + func (m *MsgDeleteServiceResponse) Marshal() (dAtA []byte, err error) + func (m *MsgDeleteServiceResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgDeleteServiceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgDeleteServiceResponse) Reset() + func (m *MsgDeleteServiceResponse) Size() (n int) + func (m *MsgDeleteServiceResponse) String() string + func (m *MsgDeleteServiceResponse) Unmarshal(dAtA []byte) error + func (m *MsgDeleteServiceResponse) XXX_DiscardUnknown() + func (m *MsgDeleteServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgDeleteServiceResponse) XXX_Merge(src proto.Message) + func (m *MsgDeleteServiceResponse) XXX_Size() int + func (m *MsgDeleteServiceResponse) XXX_Unmarshal(b []byte) error + type MsgRevokeVerification struct + Id string + MethodId string + Signer string + func NewMsgRevokeVerification(id string, methodID string, signerAccount string) *MsgRevokeVerification + func (*MsgRevokeVerification) Descriptor() ([]byte, []int) + func (*MsgRevokeVerification) ProtoMessage() + func (MsgRevokeVerification) Route() string + func (MsgRevokeVerification) Type() string + func (m *MsgRevokeVerification) Marshal() (dAtA []byte, err error) + func (m *MsgRevokeVerification) MarshalTo(dAtA []byte) (int, error) + func (m *MsgRevokeVerification) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgRevokeVerification) Reset() + func (m *MsgRevokeVerification) Size() (n int) + func (m *MsgRevokeVerification) String() string + func (m *MsgRevokeVerification) Unmarshal(dAtA []byte) error + func (m *MsgRevokeVerification) XXX_DiscardUnknown() + func (m *MsgRevokeVerification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgRevokeVerification) XXX_Merge(src proto.Message) + func (m *MsgRevokeVerification) XXX_Size() int + func (m *MsgRevokeVerification) XXX_Unmarshal(b []byte) error + func (msg MsgRevokeVerification) GetSignBytes() []byte + func (msg MsgRevokeVerification) GetSigners() []sdk.AccAddress + func (msg MsgRevokeVerification) ValidateBasic() error + type MsgRevokeVerificationResponse struct + func (*MsgRevokeVerificationResponse) Descriptor() ([]byte, []int) + func (*MsgRevokeVerificationResponse) ProtoMessage() + func (m *MsgRevokeVerificationResponse) Marshal() (dAtA []byte, err error) + func (m *MsgRevokeVerificationResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgRevokeVerificationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgRevokeVerificationResponse) Reset() + func (m *MsgRevokeVerificationResponse) Size() (n int) + func (m *MsgRevokeVerificationResponse) String() string + func (m *MsgRevokeVerificationResponse) Unmarshal(dAtA []byte) error + func (m *MsgRevokeVerificationResponse) XXX_DiscardUnknown() + func (m *MsgRevokeVerificationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgRevokeVerificationResponse) XXX_Merge(src proto.Message) + func (m *MsgRevokeVerificationResponse) XXX_Size() int + func (m *MsgRevokeVerificationResponse) XXX_Unmarshal(b []byte) error + type MsgServer interface + AddService func(context.Context, *MsgAddService) (*MsgAddServiceResponse, error) + AddVerification func(context.Context, *MsgAddVerification) (*MsgAddVerificationResponse, error) + CreateDidDocument func(context.Context, *MsgCreateDidDocument) (*MsgCreateDidDocumentResponse, error) + DeleteService func(context.Context, *MsgDeleteService) (*MsgDeleteServiceResponse, error) + RevokeVerification func(context.Context, *MsgRevokeVerification) (*MsgRevokeVerificationResponse, error) + SetVerificationRelationships func(context.Context, *MsgSetVerificationRelationships) (*MsgSetVerificationRelationshipsResponse, error) + UpdateDidDocument func(context.Context, *MsgUpdateDidDocument) (*MsgUpdateDidDocumentResponse, error) + type MsgSetVerificationRelationships struct + Id string + MethodId string + Relationships []string + Signer string + func NewMsgSetVerificationRelationships(id string, methodID string, relationships []string, signerAccount string) *MsgSetVerificationRelationships + func (*MsgSetVerificationRelationships) Descriptor() ([]byte, []int) + func (*MsgSetVerificationRelationships) ProtoMessage() + func (MsgSetVerificationRelationships) Route() string + func (MsgSetVerificationRelationships) Type() string + func (m *MsgSetVerificationRelationships) Marshal() (dAtA []byte, err error) + func (m *MsgSetVerificationRelationships) MarshalTo(dAtA []byte) (int, error) + func (m *MsgSetVerificationRelationships) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgSetVerificationRelationships) Reset() + func (m *MsgSetVerificationRelationships) Size() (n int) + func (m *MsgSetVerificationRelationships) String() string + func (m *MsgSetVerificationRelationships) Unmarshal(dAtA []byte) error + func (m *MsgSetVerificationRelationships) XXX_DiscardUnknown() + func (m *MsgSetVerificationRelationships) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgSetVerificationRelationships) XXX_Merge(src proto.Message) + func (m *MsgSetVerificationRelationships) XXX_Size() int + func (m *MsgSetVerificationRelationships) XXX_Unmarshal(b []byte) error + func (msg MsgSetVerificationRelationships) GetSignBytes() []byte + func (msg MsgSetVerificationRelationships) GetSigners() []sdk.AccAddress + func (msg MsgSetVerificationRelationships) ValidateBasic() error + type MsgSetVerificationRelationshipsResponse struct + func (*MsgSetVerificationRelationshipsResponse) Descriptor() ([]byte, []int) + func (*MsgSetVerificationRelationshipsResponse) ProtoMessage() + func (m *MsgSetVerificationRelationshipsResponse) Marshal() (dAtA []byte, err error) + func (m *MsgSetVerificationRelationshipsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgSetVerificationRelationshipsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgSetVerificationRelationshipsResponse) Reset() + func (m *MsgSetVerificationRelationshipsResponse) Size() (n int) + func (m *MsgSetVerificationRelationshipsResponse) String() string + func (m *MsgSetVerificationRelationshipsResponse) Unmarshal(dAtA []byte) error + func (m *MsgSetVerificationRelationshipsResponse) XXX_DiscardUnknown() + func (m *MsgSetVerificationRelationshipsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgSetVerificationRelationshipsResponse) XXX_Merge(src proto.Message) + func (m *MsgSetVerificationRelationshipsResponse) XXX_Size() int + func (m *MsgSetVerificationRelationshipsResponse) XXX_Unmarshal(b []byte) error + type MsgUpdateDidDocument struct + Controller []string + Id string + Signer string + func NewMsgUpdateDidDocument(id string, controller []string, signerAccount string) *MsgUpdateDidDocument + func (*MsgUpdateDidDocument) Descriptor() ([]byte, []int) + func (*MsgUpdateDidDocument) ProtoMessage() + func (MsgUpdateDidDocument) Route() string + func (MsgUpdateDidDocument) Type() string + func (m *MsgUpdateDidDocument) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateDidDocument) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateDidDocument) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateDidDocument) Reset() + func (m *MsgUpdateDidDocument) Size() (n int) + func (m *MsgUpdateDidDocument) String() string + func (m *MsgUpdateDidDocument) Unmarshal(dAtA []byte) error + func (m *MsgUpdateDidDocument) XXX_DiscardUnknown() + func (m *MsgUpdateDidDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateDidDocument) XXX_Merge(src proto.Message) + func (m *MsgUpdateDidDocument) XXX_Size() int + func (m *MsgUpdateDidDocument) XXX_Unmarshal(b []byte) error + func (msg MsgUpdateDidDocument) GetSignBytes() []byte + func (msg MsgUpdateDidDocument) GetSigners() []sdk.AccAddress + func (msg MsgUpdateDidDocument) ValidateBasic() error + type MsgUpdateDidDocumentResponse struct + func (*MsgUpdateDidDocumentResponse) Descriptor() ([]byte, []int) + func (*MsgUpdateDidDocumentResponse) ProtoMessage() + func (m *MsgUpdateDidDocumentResponse) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateDidDocumentResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateDidDocumentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateDidDocumentResponse) Reset() + func (m *MsgUpdateDidDocumentResponse) Size() (n int) + func (m *MsgUpdateDidDocumentResponse) String() string + func (m *MsgUpdateDidDocumentResponse) Unmarshal(dAtA []byte) error + func (m *MsgUpdateDidDocumentResponse) XXX_DiscardUnknown() + func (m *MsgUpdateDidDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateDidDocumentResponse) XXX_Merge(src proto.Message) + func (m *MsgUpdateDidDocumentResponse) XXX_Size() int + func (m *MsgUpdateDidDocumentResponse) XXX_Unmarshal(b []byte) error + type QueryClient interface + DidDocument func(ctx context.Context, in *QueryDidDocumentRequest, opts ...grpc.CallOption) (*QueryDidDocumentResponse, error) + DidDocuments func(ctx context.Context, in *QueryDidDocumentsRequest, opts ...grpc.CallOption) (*QueryDidDocumentsResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryDidDocumentRequest struct + Id string + func (*QueryDidDocumentRequest) Descriptor() ([]byte, []int) + func (*QueryDidDocumentRequest) ProtoMessage() + func (m *QueryDidDocumentRequest) GetId() string + func (m *QueryDidDocumentRequest) Marshal() (dAtA []byte, err error) + func (m *QueryDidDocumentRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryDidDocumentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryDidDocumentRequest) Reset() + func (m *QueryDidDocumentRequest) Size() (n int) + func (m *QueryDidDocumentRequest) String() string + func (m *QueryDidDocumentRequest) Unmarshal(dAtA []byte) error + func (m *QueryDidDocumentRequest) XXX_DiscardUnknown() + func (m *QueryDidDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryDidDocumentRequest) XXX_Merge(src proto.Message) + func (m *QueryDidDocumentRequest) XXX_Size() int + func (m *QueryDidDocumentRequest) XXX_Unmarshal(b []byte) error + type QueryDidDocumentResponse struct + DidDocument DidDocument + DidMetadata DidMetadata + func (*QueryDidDocumentResponse) Descriptor() ([]byte, []int) + func (*QueryDidDocumentResponse) ProtoMessage() + func (m *QueryDidDocumentResponse) GetDidDocument() DidDocument + func (m *QueryDidDocumentResponse) GetDidMetadata() DidMetadata + func (m *QueryDidDocumentResponse) Marshal() (dAtA []byte, err error) + func (m *QueryDidDocumentResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryDidDocumentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryDidDocumentResponse) Reset() + func (m *QueryDidDocumentResponse) Size() (n int) + func (m *QueryDidDocumentResponse) String() string + func (m *QueryDidDocumentResponse) Unmarshal(dAtA []byte) error + func (m *QueryDidDocumentResponse) XXX_DiscardUnknown() + func (m *QueryDidDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryDidDocumentResponse) XXX_Merge(src proto.Message) + func (m *QueryDidDocumentResponse) XXX_Size() int + func (m *QueryDidDocumentResponse) XXX_Unmarshal(b []byte) error + type QueryDidDocumentsRequest struct + Pagination *query.PageRequest + Status string + func (*QueryDidDocumentsRequest) Descriptor() ([]byte, []int) + func (*QueryDidDocumentsRequest) ProtoMessage() + func (m *QueryDidDocumentsRequest) GetPagination() *query.PageRequest + func (m *QueryDidDocumentsRequest) GetStatus() string + func (m *QueryDidDocumentsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryDidDocumentsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryDidDocumentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryDidDocumentsRequest) Reset() + func (m *QueryDidDocumentsRequest) Size() (n int) + func (m *QueryDidDocumentsRequest) String() string + func (m *QueryDidDocumentsRequest) Unmarshal(dAtA []byte) error + func (m *QueryDidDocumentsRequest) XXX_DiscardUnknown() + func (m *QueryDidDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryDidDocumentsRequest) XXX_Merge(src proto.Message) + func (m *QueryDidDocumentsRequest) XXX_Size() int + func (m *QueryDidDocumentsRequest) XXX_Unmarshal(b []byte) error + type QueryDidDocumentsResponse struct + DidDocuments []DidDocument + Pagination *query.PageResponse + func (*QueryDidDocumentsResponse) Descriptor() ([]byte, []int) + func (*QueryDidDocumentsResponse) ProtoMessage() + func (m *QueryDidDocumentsResponse) GetDidDocuments() []DidDocument + func (m *QueryDidDocumentsResponse) GetPagination() *query.PageResponse + func (m *QueryDidDocumentsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryDidDocumentsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryDidDocumentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryDidDocumentsResponse) Reset() + func (m *QueryDidDocumentsResponse) Size() (n int) + func (m *QueryDidDocumentsResponse) String() string + func (m *QueryDidDocumentsResponse) Unmarshal(dAtA []byte) error + func (m *QueryDidDocumentsResponse) XXX_DiscardUnknown() + func (m *QueryDidDocumentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryDidDocumentsResponse) XXX_Merge(src proto.Message) + func (m *QueryDidDocumentsResponse) XXX_Size() int + func (m *QueryDidDocumentsResponse) XXX_Unmarshal(b []byte) error + type QueryServer interface + DidDocument func(context.Context, *QueryDidDocumentRequest) (*QueryDidDocumentResponse, error) + DidDocuments func(context.Context, *QueryDidDocumentsRequest) (*QueryDidDocumentsResponse, error) + type Service struct + Id string + ServiceEndpoint string + Type string + func NewService(id string, serviceType string, serviceEndpoint string) *Service + func (*Service) Descriptor() ([]byte, []int) + func (*Service) ProtoMessage() + func (m *Service) Marshal() (dAtA []byte, err error) + func (m *Service) MarshalTo(dAtA []byte) (int, error) + func (m *Service) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Service) Reset() + func (m *Service) Size() (n int) + func (m *Service) String() string + func (m *Service) Unmarshal(dAtA []byte) error + func (m *Service) XXX_DiscardUnknown() + func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Service) XXX_Merge(src proto.Message) + func (m *Service) XXX_Size() int + func (m *Service) XXX_Unmarshal(b []byte) error + func (this *Service) Equal(that interface{}) bool + type Services []*Service + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) AddService(ctx context.Context, req *MsgAddService) (*MsgAddServiceResponse, error) + func (*UnimplementedMsgServer) AddVerification(ctx context.Context, req *MsgAddVerification) (*MsgAddVerificationResponse, error) + func (*UnimplementedMsgServer) CreateDidDocument(ctx context.Context, req *MsgCreateDidDocument) (*MsgCreateDidDocumentResponse, error) + func (*UnimplementedMsgServer) DeleteService(ctx context.Context, req *MsgDeleteService) (*MsgDeleteServiceResponse, error) + func (*UnimplementedMsgServer) RevokeVerification(ctx context.Context, req *MsgRevokeVerification) (*MsgRevokeVerificationResponse, error) + func (*UnimplementedMsgServer) SetVerificationRelationships(ctx context.Context, req *MsgSetVerificationRelationships) (*MsgSetVerificationRelationshipsResponse, error) + func (*UnimplementedMsgServer) UpdateDidDocument(ctx context.Context, req *MsgUpdateDidDocument) (*MsgUpdateDidDocumentResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) DidDocument(ctx context.Context, req *QueryDidDocumentRequest) (*QueryDidDocumentResponse, error) + func (*UnimplementedQueryServer) DidDocuments(ctx context.Context, req *QueryDidDocumentsRequest) (*QueryDidDocumentsResponse, error) + type Verification struct + Context []string + Method *VerificationMethod + Relationships []string + func NewVerification(method VerificationMethod, relationships []string, contexts []string) *Verification + func (*Verification) Descriptor() ([]byte, []int) + func (*Verification) ProtoMessage() + func (did Verification) GetBytes() []byte + func (m *Verification) GetContext() []string + func (m *Verification) GetMethod() *VerificationMethod + func (m *Verification) GetRelationships() []string + func (m *Verification) Marshal() (dAtA []byte, err error) + func (m *Verification) MarshalTo(dAtA []byte) (int, error) + func (m *Verification) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Verification) Reset() + func (m *Verification) Size() (n int) + func (m *Verification) String() string + func (m *Verification) Unmarshal(dAtA []byte) error + func (m *Verification) XXX_DiscardUnknown() + func (m *Verification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Verification) XXX_Merge(src proto.Message) + func (m *Verification) XXX_Size() int + func (m *Verification) XXX_Unmarshal(b []byte) error + type VerificationMaterialType int + const DIDVerificationMaterialBlockchainAccountID + const DIDVerificationMaterialPublicKeyHex + type VerificationMethod struct + Controller string + Id string + Type string + VerificationMaterial isVerificationMethod_VerificationMaterial + func NewVerificationMethod(id, controller, key string, vmt VerificationMaterialType) VerificationMethod + func (*VerificationMethod) Descriptor() ([]byte, []int) + func (*VerificationMethod) ProtoMessage() + func (*VerificationMethod) XXX_OneofWrappers() []interface{} + func (m *VerificationMethod) GetBlockchainAccountID() string + func (m *VerificationMethod) GetPublicKeyHex() string + func (m *VerificationMethod) GetVerificationMaterial() isVerificationMethod_VerificationMaterial + func (m *VerificationMethod) Marshal() (dAtA []byte, err error) + func (m *VerificationMethod) MarshalTo(dAtA []byte) (int, error) + func (m *VerificationMethod) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *VerificationMethod) Reset() + func (m *VerificationMethod) Size() (n int) + func (m *VerificationMethod) String() string + func (m *VerificationMethod) Unmarshal(dAtA []byte) error + func (m *VerificationMethod) XXX_DiscardUnknown() + func (m *VerificationMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VerificationMethod) XXX_Merge(src proto.Message) + func (m *VerificationMethod) XXX_Size() int + func (m *VerificationMethod) XXX_Unmarshal(b []byte) error + func (this *VerificationMethod) Equal(that interface{}) bool + func (vm VerificationMethod) MarshalJSON() ([]byte, error) + type VerificationMethod_BlockchainAccountID struct + BlockchainAccountID string + func (m *VerificationMethod_BlockchainAccountID) MarshalTo(dAtA []byte) (int, error) + func (m *VerificationMethod_BlockchainAccountID) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *VerificationMethod_BlockchainAccountID) Size() (n int) + func (this *VerificationMethod_BlockchainAccountID) Equal(that interface{}) bool + type VerificationMethod_PublicKeyHex struct + PublicKeyHex string + func (m *VerificationMethod_PublicKeyHex) MarshalTo(dAtA []byte) (int, error) + func (m *VerificationMethod_PublicKeyHex) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *VerificationMethod_PublicKeyHex) Size() (n int) + func (this *VerificationMethod_PublicKeyHex) Equal(that interface{}) bool + type VerificationRelationship int + type Verifications []*Verification Other modules containing this package github.com/allinbits/cosmos-cash/v2 github.com/allinbits/cosmos-cash/v3