Name | Lookup | Parameters | |
---|---|---|---|
vote | 4700 | 2 | |
remove_voter | 4701 | - | |
submit_candidacy | 4702 | 1 | |
renounce_candidacy | 4703 | 1 | |
remove_member | 4704 | 3 | |
clean_defunct_voters | 4705 | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
NewTerm | 4700 | ["Vec<(<T as frame_system::Config>::AccountId, BalanceOf)>"] | |
EmptyTerm | 4701 | ||
ElectionError | 4702 | ||
MemberKicked | 4703 | ["<T as frame_system::Config>::AccountId"] | |
Renounced | 4704 | ["<T as frame_system::Config>::AccountId"] | |
CandidateSlashed | 4705 | ["<T as frame_system::Config>::AccountId","BalanceOf"] | |
SeatHolderSlashed | 4706 | ["<T as frame_system::Config>::AccountId","BalanceOf"] |
Name | Type | |
---|---|---|
Members | {"origin":"PlainType","plain_type":"Vec<pallet_elections_phragmen:SeatHolder>","PlainTypeValue":530} | |
RunnersUp | {"origin":"PlainType","plain_type":"Vec<pallet_elections_phragmen:SeatHolder>","PlainTypeValue":530} | |
Candidates | {"origin":"PlainType","plain_type":"Vec<Tuple:AccountIdU128>","PlainTypeValue":106} | |
ElectionRounds | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
Voting | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_elections_phragmen:Voter","keys_id":0,"value_id":532}} |
Name | Type | Value | |
---|---|---|---|
PalletId | [U8; 8] | 6163612f70687265 | |
CandidacyBond | U128 | 00e87648170000000000000000000000 | |
VotingBondBase | U128 | 00c817a8040000000000000000000000 | |
VotingBondFactor | U128 | 00e40b54020000000000000000000000 | |
DesiredMembers | U32 | 0d000000 | |
DesiredRunnersUp | U32 | 07000000 | |
TermDuration | U32 | e0c40000 | |
MaxCandidates | U32 | 14000000 | |
MaxVoters | U32 | 64000000 | |
MaxVotesPerVoter | U32 | 05000000 |
Name | Docs |
---|---|
UnableToVote | Cannot vote when no candidates or members exist. |
NoVotes | Must vote for at least one candidate. |
TooManyVotes | Cannot vote more than candidates. |
MaximumVotesExceeded | Cannot vote more than maximum allowed. |
LowBalance | Cannot vote with stake less than minimum balance. |
UnableToPayBond | Voter can not pay voting bond. |
MustBeVoter | Must be a voter. |
DuplicatedCandidate | Duplicated candidate submission. |
TooManyCandidates | Too many candidates have been created. |
MemberSubmit | Member cannot re-submit candidacy. |
RunnerUpSubmit | Runner cannot re-submit candidacy. |
InsufficientCandidateFunds | Candidate does not have enough funds. |
NotMember | Not a member. |
InvalidWitnessData | The provided count of number of candidates is incorrect. |
InvalidVoteCount | The provided count of number of votes is incorrect. |
InvalidRenouncing | The renouncing origin presented a wrong `Renouncing` parameter. |
InvalidReplacement | Prediction regarding replacement after member removal is wrong. |