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 | |
| _noop | 0a0b | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| OffChainDidAdded | 0a00 | ["Did","OffChainDidDocRef"] | |
| OffChainDidUpdated | 0a01 | ["Did","OffChainDidDocRef"] | |
| OffChainDidRemoved | 0a02 | ["Did"] | |
| OnChainDidAdded | 0a03 | ["Did"] | |
| DidKeysAdded | 0a04 | ["Did"] | |
| DidKeysRemoved | 0a05 | ["Did"] | |
| DidControllersAdded | 0a06 | ["Did"] | |
| DidControllersRemoved | 0a07 | ["Did"] | |
| DidServiceEndpointAdded | 0a08 | ["Did"] | |
| DidServiceEndpointRemoved | 0a09 | ["Did"] | |
| OnChainDidRemoved | 0a0a | ["Did"] |
Name | Type | |
|---|---|---|
| Dids | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 32]"],"value":"StoredDidDetails:StoredDidDetails","keys_id":41,"value_id":480}} | |
| DidKeys | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Identity"],"key_vec":["[U8; 32]","U32"],"value":"DidKey:DidKey","keys_id":114,"value_id":484}} | |
| DidControllers | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["[U8; 32]","[U8; 32]"],"value":"NULL","keys_id":485,"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":486,"value_id":132}} | |
| Version | {"origin":"PlainType","plain_type":"core_mods:StorageVersion","PlainTypeValue":478} |
Name | Type | Value | |
|---|---|---|---|
| MaxDidDocRefSize | U16 | 0004 | |
| DidDocRefPerByteWeight | U64 | 0a00000000000000 | |
| MaxServiceEndpointIdSize | U16 | 0004 | |
| ServiceEndpointIdPerByteWeight | U64 | 0a00000000000000 | |
| MaxServiceEndpointOrigins | U16 | 4000 | |
| MaxServiceEndpointOriginSize | U16 | 0104 | |
| ServiceEndpointOriginPerByteWeight | U64 | 0a00000000000000 |
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 | |
| KeyAgreementCantBeUsedForSigning | |
| SigningKeyCantBeUsedForKeyAgreement |