Name | Lookup | Parameters | |
|---|---|---|---|
| add_association | 1700 | 1 | |
| update_association | 1701 | 2 | |
| clear_association | 1702 | 1 | |
| remove_keys | 1703 | - | |
| set_keys | 1704 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| KeysRegistered | 1700 | ["NimbusId","AccountId","Keys"] | |
| KeysRemoved | 1701 | ["NimbusId","AccountId","Keys"] | |
| KeysRotated | 1702 | ["NimbusId","AccountId","Keys"] |
Name | Type | |
|---|---|---|
| MappingWithDeposit | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 32]"],"value":"pallet_author_mapping:pallet:RegistrationInfo","keys_id":51,"value_id":570}} | |
| NimbusLookup | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["H160"],"value":"[U8; 32]","keys_id":0,"value_id":51}} |
Name | Docs |
|---|---|
| AssociationNotFound | The association can't be cleared because it is not found. |
| NotYourAssociation | The association can't be cleared because it belongs to another account. |
| CannotAffordSecurityDeposit | This account cannot set an author because it cannon afford the security deposit |
| AlreadyAssociated | The NimbusId in question is already associated and cannot be overwritten |
| OldAuthorIdNotFound | No existing NimbusId can be found for the account |
| WrongKeySize | Keys have wrong size |
| DecodeNimbusFailed | Failed to decode NimbusId for `set_keys` |
| DecodeKeysFailed | Failed to decode T::Keys for `set_keys` |