collectives-polkadot
subscan
Collectives Polkadot
Runtime Modules / SecretaryCollective
Spec Version:
Call Functions
Name
Lookup
Parameters
add_member50001
promote_member50011
demote_member50021
remove_member50032
vote50042
cleanup_poll50052
exchange_member50062
Events
Name
Lookup
Attributes
MemberAdded5000["AccountId"]
RankChanged5001["AccountId","Rank"]
MemberRemoved5002["AccountId","Rank"]
Voted5003["AccountId","PollIndexOf","VoteRecord","TallyOf"]
MemberExchanged5004["AccountId","AccountId"]
Storage Functions
Name
Type
MemberCount{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U16"],"value":"U32","keys_id":152,"value_id":4}}
Members{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"U16","keys_id":0,"value_id":490}}
IdToIndex{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U16","AccountId"],"value":"U32","keys_id":491,"value_id":4}}
IndexToId{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U16","U32"],"value":"AccountId","keys_id":492,"value_id":0}}
Voting{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["U8","AccountId"],"value":"pallet_ranked_collective:VoteRecord","keys_id":534,"value_id":172}}
VotingCleanup{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U8"],"value":"Vec<U8>","keys_id":2,"value_id":535}}
Error Types
Name
Docs
AlreadyMemberAccount is already a member.
NotMemberAccount is not a member.
NotPollingThe given poll index is unknown or has closed.
OngoingThe given poll is still ongoing.
NoneRemainingThere are no further records to be removed.
CorruptionUnexpected error in state.
RankTooLowThe member's rank is too low to vote.
InvalidWitnessThe information provided is incorrect.
NoPermissionThe origin is not sufficiently privileged to do the operation.
SameMemberThe new member to exchange is the same as the old member
TooManyMembersThe max member count for the rank has been reached.