Name | Lookup | Parameters | |
|---|---|---|---|
| add_association | 1700 | 1 | |
| update_association | 1701 | 2 | |
| clear_association | 1702 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| AuthorRegistered | 1700 | ["AuthorId","AccountId"] | |
| AuthorDeRegistered | 1701 | ["AuthorId"] | |
| AuthorRotated | 1702 | ["AuthorId","AccountId"] | |
| DefunctAuthorBusted | 1703 | ["AuthorId","AccountId"] |
Name | Type | |
|---|---|---|
| MappingWithDeposit | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 32]"],"value":"pallet_author_mapping:pallet:RegistrationInfo","keys_id":41,"value_id":180}} |
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 AuthorId in question is already associated and cannot be overwritten |