Name | Lookup | Attributes | |
|---|---|---|---|
| OffChainDidAdded | 0a00 | ["Did","OffChainDidDocRef"] | |
| OffChainDidUpdated | 0a01 | ["Did","OffChainDidDocRef"] | |
| OffChainDidRemoved | 0a02 | ["Did"] | |
| OnChainDidAdded | 0a03 | ["Did"] | |
| DidMethodKeyAdded | 0a04 | ["DidMethodKey"] | |
| DidKeysAdded | 0a05 | ["Did"] | |
| DidKeysRemoved | 0a06 | ["Did"] | |
| DidControllersAdded | 0a07 | ["Did"] | |
| DidControllersRemoved | 0a08 | ["Did"] | |
| DidServiceEndpointAdded | 0a09 | ["Did"] | |
| DidServiceEndpointRemoved | 0a0a | ["Did"] | |
| OnChainDidRemoved | 0a0b | ["Did"] |
Name | Type | |
|---|---|---|
| Dids | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 32]"],"value":"StoredDidDetails:StoredDidDetails","keys_id":42,"value_id":411}} | |
| DidMethodKeys | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["DidMethodKey:DidMethodKey"],"value":"WithNonce:WithNonce@415","keys_id":43,"value_id":415}} | |
| DidKeys | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Identity"],"key_vec":["[U8; 32]","U32"],"value":"DidKey:DidKey","keys_id":399,"value_id":416}} | |
| DidControllers | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["[U8; 32]","DidOrDidMethodKey:DidOrDidMethodKey"],"value":"NULL","keys_id":419,"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":421,"value_id":423}} | |
| Version | {"origin":"PlainType","plain_type":"dock_core:common:storage_version:StorageVersion","PlainTypeValue":409} |
Name | Docs |
|---|---|
| PublicKeySizeIncorrect | Given public key is not of the correct size |
| DidAlreadyExists | There is already a DID with the same value |
| DidMethodKeyExists | There is already a DID key with the same value |
| DidDoesNotExist | There is no such DID registered |
| NotAnOffChainDid | The DID is not an off-chain DID |
| DidNotOwnedByAccount | The DID is not owned by the account |
| NoControllerProvided | No controller was provided for the DID |
| IncompatibleVerificationRelation | The provided key type is not compatible with the provided verification relationship |
| ExpectedOffChainDid | The DID is expected to be an off-chain DID |
| ExpectedOnChainDid | The DID is expected to be an on-chain DID |
| InvalidSignature | The provided signature is invalid |
| OnlyControllerCanUpdate | Only the controller of a DID can update the DID Document |
| NoKeyForDid | No key found for the DID |
| NoControllerForDid | No controller found for the DID |
| InvalidSigner | The signer is invalid |
| IncompatibleSignaturePublicKey | The signature is incompatible with the provided public key |
| InsufficientVerificationRelationship | The key does not have the required verification relationship |
| ControllerIsAlreadyAdded | The controller is already added for the DID |
| InvalidServiceEndpoint | The service endpoint is invalid |
| ServiceEndpointAlreadyExists | The service endpoint already exists |
| ServiceEndpointDoesNotExist | The service endpoint does not exist |
| KeyAgreementCantBeUsedForSigning | Key agreement key cannot be used for signing |
| SigningKeyCantBeUsedForKeyAgreement | Signing key cannot be used for key agreement |
| ExpectedDid | A DID was expected |
| ExpectedDidMethodKey | A DID method key was expected |
| InvalidNonce | The provided nonce is invalid |
| OnchainDidDoesntExist | The on-chain DID does not exist |
| NoEntity | The entity does not exist |
| EmptyPayload | The payload is empty |
| ConversionError | Conversion failed |
| NotEnoughSignatures | Not enough signatures provided |
| TooManySignatures | Too many signatures provided |
| EmptyPolicy | Policy can't be empty (have zero controllers) |
| TooManyControllersInPolicy | Policy can't have so many controllers |