subscan
Runtime Modules / Did
Spec Version:
Events
Name
Lookup
Attributes
DidCreated4000["AccountIdOf","DidIdentifierOf"]
DidUpdated4001["DidIdentifierOf"]
DidDeleted4002["DidIdentifierOf"]
DidCallDispatched4003["DidIdentifierOf","DispatchResult"]
Storage Functions
Name
Type
Did{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"did:did_details:DidDetails","keys_id":0,"value_id":463}}
ServiceEndpoints{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Blake2_128Concat"],"key_vec":["AccountId","Vec<U8>"],"value":"did:service_endpoints:DidEndpoint","keys_id":471,"value_id":318}}
DidEndpointsCount{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"U32","keys_id":0,"value_id":8}}
DidBlacklist{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"NULL","keys_id":0,"value_id":45}}
Constants
Name
Type
Value
BaseDepositU12800008d49fd1a07000000000000000000
ServiceEndpointDepositU12800f024eebded00000000000000000000
KeyDepositU12800dc2074970100000000000000000000
FeeU12800203d88792d00000000000000000000
MaxPublicKeysPerDidU3214000000
MaxNewKeyAgreementKeysU320a000000
MaxTotalKeyAgreementKeysU3213000000
MaxBlocksTxValidityU642c01000000000000
MaxNumberOfServicesPerDidU3219000000
MaxServiceIdLengthU3232000000
MaxServiceTypeLengthU3232000000
MaxNumberOfTypesPerServiceU3201000000
MaxServiceUrlLengthU32d0070000
MaxNumberOfUrlsPerServiceU3202000000
Error Types
Name
Docs
InvalidSignatureFormatThe DID operation signature is not in the format the verificationkey expects.
InvalidSignatureThe DID operation signature is invalid for the payload and theverification key provided.
AlreadyExistsThe DID with the given identifier is already present on chain.
NotFoundNo DID with the given identifier is present on chain.
VerificationKeyNotFoundOne or more verification keys referenced are not stored in the setof verification keys.
InvalidNonceThe DID operation nonce is not equal to the current DID nonce + 1.
UnsupportedDidAuthorizationCallThe called extrinsic does not support DID authorisation.
InvalidDidAuthorizationCallThe call had parameters that conflicted with each otheror were invalid.
MaxNewKeyAgreementKeysLimitExceededA number of new key agreement keys greater than the maximum allowedhas been provided.
MaxPublicKeysExceededThe maximum number of public keys for this DID key identifier hasbeen reached.
MaxKeyAgreementKeysExceededThe maximum number of key agreements has been reached for the DIDsubject.
BadDidOriginThe DID call was submitted by the wrong account
TransactionExpiredThe block number provided in a DID-authorized operation is invalid.
AlreadyDeletedThe DID has already been previously deleted.
NotOwnerOfDepositOnly the owner of the deposit can reclaim its reserved balance.
UnableToPayFeesThe origin is unable to reserve the deposit and pay the fee.
MaxNumberOfServicesExceededThe maximum number of service endpoints for a DID has been exceeded.
MaxServiceIdLengthExceededThe service endpoint ID exceeded the maximum allowed length.
MaxServiceTypeLengthExceededOne of the service endpoint types exceeded the maximum allowedlength.
MaxNumberOfTypesPerServiceExceededThe maximum number of types for a service endpoint has beenexceeded.
MaxServiceUrlLengthExceededOne of the service endpoint URLs exceeded the maximum allowedlength.
MaxNumberOfUrlsPerServiceExceededThe maximum number of URLs for a service endpoint has been exceeded.
ServiceAlreadyExistsA service with the provided ID is already present for the given DID.
ServiceNotFoundA service with the provided ID is not present under the given DID.
InvalidServiceEncodingOne of the service endpoint details contains non-ASCII characters.
MaxStoredEndpointsCountExceededThe number of service endpoints stored under the DID is larger thanthe number of endpoints to delete.
InternalAn error that is not supposed to take place, yet it happened.