Name | Lookup | Parameters | |
|---|---|---|---|
| new_offchain | 0a00 | 2 | |
| set_offchain_did_doc_ref | 0a01 | 2 | |
| remove_offchain_did | 0a02 | 1 | |
| new_onchain | 0a03 | 3 | |
| add_keys | 0a04 | 2 | |
| remove_keys | 0a05 | 2 | |
| add_controllers | 0a06 | 2 | |
| remove_controllers | 0a07 | 2 | |
| add_service_endpoint | 0a08 | 2 | |
| remove_service_endpoint | 0a09 | 2 | |
| remove_onchain_did | 0a0a | 2 | |
| new_did_method_key | 0a0b | 1 | |
| noop | 0a0c | 5 |
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":324}} | |
| DidMethodKeys | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["DidMethodKey:DidMethodKey"],"value":"WithNonce:WithNonce@675","keys_id":43,"value_id":675}} | |
| 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":676,"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":677,"value_id":156}} | |
| Version | {"origin":"PlainType","plain_type":"dock_core:common:storage_version:StorageVersion","PlainTypeValue":673} |
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 |