subscan
Runtime Modules / DIDModule
Spec Version:
Storage Functions
Name
Type
Dids{"origin":"MapType","map_type":{"key":"Did","hasher":"Blake2_128Concat","value":"StoredDidDetails","isLinked":false}}
DidKeys{"origin":"DoubleMapType","double_map_type":{"key":"Did","key2":"IncId","hasher":"Blake2_128Concat","key2Hasher":"Identity","value":"DidKey","isLinked":false}}
DidControllers{"origin":"DoubleMapType","double_map_type":{"key":"Did","key2":"Controller","hasher":"Blake2_128Concat","key2Hasher":"Blake2_128Concat","value":"Null","isLinked":false}}
DidServiceEndpoints{"origin":"DoubleMapType","double_map_type":{"key":"Did","key2":"WrappedBytes","hasher":"Blake2_128Concat","key2Hasher":"Blake2_128Concat","value":"ServiceEndpoint","isLinked":false}}
Version{"origin":"PlainType","plain_type":"StorageVersion"}
Constants
Name
Type
Value
MaxDidDocRefSizeu160x0004
DidDocRefPerByteWeightWeight0x0a00000000000000
MaxServiceEndpointIdSizeu160x0004
ServiceEndpointIdPerByteWeightWeight0x0a00000000000000
MaxServiceEndpointOriginsu160x4000
MaxServiceEndpointOriginSizeu160x0104
ServiceEndpointOriginPerByteWeightWeight0x0a00000000000000
Error Types
Name
Docs
PublicKeySizeIncorrect Given public key is not of the correct size
DidAlreadyExists There is already a DID with same value
DidDoesNotExist There is no such DID registered
IncompatSigPubkey Signature type does not match public key type
InvalidSignature Signature by DID failed verification
DidDocRefTooBig
NotAnOffChainDid
DidNotOwnedByAccount
NoControllerProvided
IncompatibleVerificationRelation The provided key type is not comptaible with the provided verification relationship
CannotGetDetailForOffChainDid
CannotGetDetailForOnChainDid
NoKeyProvided
EmptyPayload
IncorrectNonce
OnlyControllerCanUpdate Only controller of a DID can update the DID Doc
NoKeyForDid
NoControllerForDid
InsufficientVerificationRelationship The key does not have the required verification relationship
ControllerIsAlreadyAdded
InvalidServiceEndpoint
ServiceEndpointAlreadyExists
ServiceEndpointDoesNotExist