collectives-polkadot
subscan
Collectives Polkadot
Runtime Modules / FellowshipCollective
Spec Version:
Call Functions
Name
Lookup
Parameters
add_member3c001
promote_member3c011
demote_member3c021
remove_member3c032
vote3c042
cleanup_poll3c052
exchange_member3c062
Events
Name
Lookup
Attributes
MemberAdded3c00["AccountId"]
RankChanged3c01["AccountId","Rank"]
MemberRemoved3c02["AccountId","Rank"]
Voted3c03["AccountId","PollIndexOf","VoteRecord","TallyOf"]
MemberExchanged3c04["AccountId","AccountId"]
Storage Functions
Name
Type
MemberCount{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U16"],"value":"U32","keys_id":147,"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":["U32","AccountId"],"value":"pallet_ranked_collective:VoteRecord","keys_id":493,"value_id":167}}
VotingCleanup{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"Vec<U8>","keys_id":4,"value_id":494}}
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.