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":318}} | |
DidMethodKeys | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["DidMethodKey:DidMethodKey"],"value":"WithNonce:WithNonce@663","keys_id":43,"value_id":663}} | |
DidKeys | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Identity"],"key_vec":["[U8; 32]","U32"],"value":"DidKey:DidKey","keys_id":140,"value_id":325}} | |
DidControllers | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["[U8; 32]","DidOrDidMethodKey:DidOrDidMethodKey"],"value":"NULL","keys_id":664,"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":665,"value_id":158}} | |
Version | {"origin":"PlainType","plain_type":"dock_core:common:storage_version:StorageVersion","PlainTypeValue":661} |
Name | Docs |
---|---|
PublicKeySizeIncorrect | Given public key is not of the correct size |
DidAlreadyExists | There is already a DID with same value |
DidMethodKeyExists | There is already a DID key with same value |
DidDoesNotExist | There is no such DID registered |
NotAnOffChainDid | |
DidNotOwnedByAccount | |
NoControllerProvided | |
IncompatibleVerificationRelation | The provided key type is not comptaible with the provided verification relationship |
ExpectedOffChainDid | |
ExpectedOnChainDid | |
InvalidSignature | |
OnlyControllerCanUpdate | Only controller of a DID can update the DID Doc |
NoKeyForDid | |
NoControllerForDid | |
InvalidSigner | |
IncompatibleSignaturePublicKey | |
InsufficientVerificationRelationship | The key does not have the required verification relationship |
ControllerIsAlreadyAdded | |
InvalidServiceEndpoint | |
ServiceEndpointAlreadyExists | |
ServiceEndpointDoesNotExist | |
KeyAgreementCantBeUsedForSigning | |
SigningKeyCantBeUsedForKeyAgreement | |
ExpectedDid | |
ExpectedDidMethodKey | |
InvalidNonce |