Dock
subscan
Runtime Modules / DIDModule
Spec Version:
Events
Name
Lookup
Attributes
OffChainDidAdded0a00["Did","OffChainDidDocRef"]
OffChainDidUpdated0a01["Did","OffChainDidDocRef"]
OffChainDidRemoved0a02["Did"]
OnChainDidAdded0a03["Did"]
DidMethodKeyAdded0a04["DidMethodKey"]
DidKeysAdded0a05["Did"]
DidKeysRemoved0a06["Did"]
DidControllersAdded0a07["Did"]
DidControllersRemoved0a08["Did"]
DidServiceEndpointAdded0a09["Did"]
DidServiceEndpointRemoved0a0a["Did"]
OnChainDidRemoved0a0b["Did"]
Storage Functions
Name
Type
Dids{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 32]"],"value":"StoredDidDetails:StoredDidDetails","keys_id":42,"value_id":318}}
DidMethodKeys{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["DidMethodKey:DidMethodKey"],"value":"WithNonce:WithNonce@663","keys_id":43,"value_id":663}}
DidKeys{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Identity"],"key_vec":["[U8; 32]","U32"],"value":"DidKey:DidKey","keys_id":140,"value_id":325}}
DidControllers{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["[U8; 32]","DidOrDidMethodKey:DidOrDidMethodKey"],"value":"NULL","keys_id":664,"value_id":38}}
DidServiceEndpoints{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["[U8; 32]","Vec<U8>"],"value":"ServiceEndpoint:ServiceEndpoint","keys_id":665,"value_id":158}}
Version{"origin":"PlainType","plain_type":"dock_core:common:storage_version:StorageVersion","PlainTypeValue":661}
Error Types
Name
Docs
PublicKeySizeIncorrectGiven public key is not of the correct size
DidAlreadyExistsThere is already a DID with same value
DidMethodKeyExistsThere is already a DID key with same value
DidDoesNotExistThere is no such DID registered
NotAnOffChainDid
DidNotOwnedByAccount
NoControllerProvided
IncompatibleVerificationRelationThe provided key type is not comptaible with the provided verification relationship
ExpectedOffChainDid
ExpectedOnChainDid
InvalidSignature
OnlyControllerCanUpdateOnly controller of a DID can update the DID Doc
NoKeyForDid
NoControllerForDid
InvalidSigner
IncompatibleSignaturePublicKey
InsufficientVerificationRelationshipThe key does not have the required verification relationship
ControllerIsAlreadyAdded
InvalidServiceEndpoint
ServiceEndpointAlreadyExists
ServiceEndpointDoesNotExist
KeyAgreementCantBeUsedForSigning
SigningKeyCantBeUsedForKeyAgreement
ExpectedDid
ExpectedDidMethodKey
InvalidNonce