subscan
Runtime Modules / AuthorMapping
Spec Version:
Call Functions
Name
Lookup
Parameters
add_association17001
update_association17012
clear_association17021
Events
Name
Lookup
Attributes
AuthorRegistered1700["AuthorId","AccountId"]
AuthorDeRegistered1701["AuthorId"]
AuthorRotated1702["AuthorId","AccountId"]
DefunctAuthorBusted1703["AuthorId","AccountId"]
Storage Functions
Name
Type
MappingWithDeposit{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 32]"],"value":"pallet_author_mapping:pallet:RegistrationInfo","keys_id":39,"value_id":164}}
Error Types
Name
Docs
AssociationNotFoundThe association can't be cleared because it is not found.
NotYourAssociationThe association can't be cleared because it belongs to another account.
CannotAffordSecurityDepositThis account cannot set an author because it cannon afford the security deposit
AlreadyAssociatedThe AuthorId in question is already associated and cannot be overwritten