subscan
Runtime Modules / FellowshipCollective
Spec Version:
Call Functions
Name
Lookup
Parameters
add_member6a001
promote_member6a011
demote_member6a021
remove_member6a032
vote6a042
cleanup_poll6a052
exchange_member6a062
Events
Name
Lookup
Attributes
MemberAdded6a00["AccountId"]
RankChanged6a01["AccountId","Rank"]
MemberRemoved6a02["AccountId","Rank"]
Voted6a03["AccountId","PollIndexOf","VoteRecord","TallyOf"]
MemberExchanged6a04["AccountId","AccountId"]
Storage Functions
Name
Type
MemberCount{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U16"],"value":"U32","keys_id":95,"value_id":4}}
Members{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"U16","keys_id":0,"value_id":1112}}
IdToIndex{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U16","AccountId"],"value":"U32","keys_id":1113,"value_id":4}}
IndexToId{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U16","U32"],"value":"AccountId","keys_id":1114,"value_id":0}}
Voting{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"pallet_ranked_collective:VoteRecord","keys_id":817,"value_id":747}}
VotingCleanup{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"Vec<U8>","keys_id":4,"value_id":1115}}
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.