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 |
Name | Lookup | Attributes | |
|---|---|---|---|
| OffChainDidAdded | 0a00 | ||
| OffChainDidUpdated | 0a01 | ||
| OffChainDidRemoved | 0a02 | ||
| OnChainDidAdded | 0a03 | ||
| DidKeysAdded | 0a04 | ||
| DidKeysRemoved | 0a05 | ||
| DidControllersAdded | 0a06 | ||
| DidControllersRemoved | 0a07 | ||
| DidServiceEndpointAdded | 0a08 | ||
| DidServiceEndpointRemoved | 0a09 | ||
| OnChainDidRemoved | 0a0a |
Name | Type | |
|---|---|---|
| Dids | {"origin":"MapType","map_type":{"key":"Did","hasher":"Blake2_128Concat","value":"StoredDidDetails","isLinked":false}} | |
| DidKeys | {"origin":"DoubleMapType","double_map_type":{"key":"Did","key2":"IncId","hasher":"Blake2_128Concat","key2Hasher":"Identity","value":"DidKey","isLinked":false}} | |
| DidControllers | {"origin":"DoubleMapType","double_map_type":{"key":"Did","key2":"Controller","hasher":"Blake2_128Concat","key2Hasher":"Blake2_128Concat","value":"Null","isLinked":false}} | |
| DidServiceEndpoints | {"origin":"DoubleMapType","double_map_type":{"key":"Did","key2":"WrappedBytes","hasher":"Blake2_128Concat","key2Hasher":"Blake2_128Concat","value":"ServiceEndpoint","isLinked":false}} | |
| Version | {"origin":"PlainType","plain_type":"StorageVersion"} |
Name | Type | Value | |
|---|---|---|---|
| MaxDidDocRefSize | u16 | 0x0004 | |
| DidDocRefPerByteWeight | Weight | 0x0a00000000000000 | |
| MaxServiceEndpointIdSize | u16 | 0x0004 | |
| ServiceEndpointIdPerByteWeight | Weight | 0x0a00000000000000 | |
| MaxServiceEndpointOrigins | u16 | 0x4000 | |
| MaxServiceEndpointOriginSize | u16 | 0x0104 | |
| ServiceEndpointOriginPerByteWeight | Weight | 0x0a00000000000000 |
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 |