subscan
Runtime Modules / DIDModule
Spec Version:
Events
Name
Lookup
Attributes
OffChainDidAdded0a00["Did","OffChainDidDocRef"]
OffChainDidUpdated0a01["Did","OffChainDidDocRef"]
OffChainDidRemoved0a02["Did"]
OnChainDidAdded0a03["Did"]
DidKeysAdded0a04["Did"]
DidKeysRemoved0a05["Did"]
DidControllersAdded0a06["Did"]
DidControllersRemoved0a07["Did"]
DidServiceEndpointAdded0a08["Did"]
DidServiceEndpointRemoved0a09["Did"]
OnChainDidRemoved0a0a["Did"]
Storage Functions
Name
Type
Dids{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 32]"],"value":"StoredDidDetails:StoredDidDetails","keys_id":41,"value_id":480}}
DidKeys{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Identity"],"key_vec":["[U8; 32]","U32"],"value":"DidKey:DidKey","keys_id":114,"value_id":484}}
DidControllers{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["[U8; 32]","[U8; 32]"],"value":"NULL","keys_id":485,"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":486,"value_id":132}}
Version{"origin":"PlainType","plain_type":"core_mods:StorageVersion","PlainTypeValue":478}
Constants
Name
Type
Value
MaxDidDocRefSizeU160004
DidDocRefPerByteWeightU640a00000000000000
MaxServiceEndpointIdSizeU160004
ServiceEndpointIdPerByteWeightU640a00000000000000
MaxServiceEndpointOriginsU164000
MaxServiceEndpointOriginSizeU160104
ServiceEndpointOriginPerByteWeightU640a00000000000000
Error Types
Name
Docs
PublicKeySizeIncorrectGiven public key is not of the correct size
DidAlreadyExistsThere is already a DID with same value
DidDoesNotExistThere is no such DID registered
IncompatSigPubkeySignature type does not match public key type
InvalidSignatureSignature by DID failed verification
DidDocRefTooBig
NotAnOffChainDid
DidNotOwnedByAccount
NoControllerProvided
IncompatibleVerificationRelationThe provided key type is not comptaible with the provided verification relationship
CannotGetDetailForOffChainDid
CannotGetDetailForOnChainDid
NoKeyProvided
EmptyPayload
IncorrectNonce
OnlyControllerCanUpdateOnly controller of a DID can update the DID Doc
NoKeyForDid
NoControllerForDid
InsufficientVerificationRelationshipThe key does not have the required verification relationship
ControllerIsAlreadyAdded
InvalidServiceEndpoint
ServiceEndpointAlreadyExists
ServiceEndpointDoesNotExist
KeyAgreementCantBeUsedForSigning
SigningKeyCantBeUsedForKeyAgreement