Name | Lookup | Parameters | |
---|---|---|---|
new | 0900 | 2 | |
update_key | 0901 | 2 | |
remove | 0902 | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
DidAdded | 0900 | ||
KeyUpdated | 0901 | ||
DidRemoved | 0902 |
Name | Type | |
---|---|---|
Dids | {"origin":"MapType","map_type":{"key":"dock::did::Did","hasher":"Blake2_128Concat","value":"(dock::did::KeyDetail, BlockNumber)","isLinked":false}} |
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 |
DifferentBlockNumber | For replay protection, an update to state is required to contain the same block number in which the last update was performed. |
IncomparSigPubkey | Signature type does not match public key type |
InvalidSig | Signature verification failed while key update or did removal |