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":324}}
DidMethodKeys{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["DidMethodKey:DidMethodKey"],"value":"WithNonce:WithNonce@673","keys_id":43,"value_id":673}}
DidKeys{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Identity"],"key_vec":["[U8; 32]","U32"],"value":"DidKey:DidKey","keys_id":140,"value_id":331}}
DidControllers{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["[U8; 32]","DidOrDidMethodKey:DidOrDidMethodKey"],"value":"NULL","keys_id":674,"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":675,"value_id":156}}
Version{"origin":"PlainType","plain_type":"dock_core:common:storage_version:StorageVersion","PlainTypeValue":671}
Error Types
Name
Docs
PublicKeySizeIncorrectGiven public key is not of the correct size
DidAlreadyExistsThere is already a DID with the same value
DidMethodKeyExistsThere is already a DID key with the same value
DidDoesNotExistThere is no such DID registered
NotAnOffChainDidThe DID is not an off-chain DID
DidNotOwnedByAccountThe DID is not owned by the account
NoControllerProvidedNo controller was provided for the DID
IncompatibleVerificationRelationThe provided key type is not compatible with the provided verification relationship
ExpectedOffChainDidThe DID is expected to be an off-chain DID
ExpectedOnChainDidThe DID is expected to be an on-chain DID
InvalidSignatureThe provided signature is invalid
OnlyControllerCanUpdateOnly the controller of a DID can update the DID Document
NoKeyForDidNo key found for the DID
NoControllerForDidNo controller found for the DID
InvalidSignerThe signer is invalid
IncompatibleSignaturePublicKeyThe signature is incompatible with the provided public key
InsufficientVerificationRelationshipThe key does not have the required verification relationship
ControllerIsAlreadyAddedThe controller is already added for the DID
InvalidServiceEndpointThe service endpoint is invalid
ServiceEndpointAlreadyExistsThe service endpoint already exists
ServiceEndpointDoesNotExistThe service endpoint does not exist
KeyAgreementCantBeUsedForSigningKey agreement key cannot be used for signing
SigningKeyCantBeUsedForKeyAgreementSigning key cannot be used for key agreement
ExpectedDidA DID was expected
ExpectedDidMethodKeyA DID method key was expected
InvalidNonceThe provided nonce is invalid
OnchainDidDoesntExistThe on-chain DID does not exist
NoEntityThe entity does not exist
EmptyPayloadThe payload is empty
ConversionErrorConversion failed
NotEnoughSignaturesNot enough signatures provided
TooManySignaturesToo many signatures provided
EmptyPolicyPolicy can't be empty (have zero controllers)
TooManyControllersInPolicyPolicy can't have so many controllers