Name | Lookup | Parameters | |
---|---|---|---|
vote | 7a00 | 2 | |
remove_voter | 7a01 | - | |
submit_candidacy | 7a02 | 1 | |
renounce_candidacy | 7a03 | 1 | |
remove_member | 7a04 | 3 | |
clean_defunct_voters | 7a05 | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
NewTerm | 7a00 | ["Vec<(<T as frame_system::Config>::AccountId, BalanceOf)>"] | |
EmptyTerm | 7a01 | ||
ElectionError | 7a02 | ||
MemberKicked | 7a03 | ["<T as frame_system::Config>::AccountId"] | |
Renounced | 7a04 | ["<T as frame_system::Config>::AccountId"] | |
CandidateSlashed | 7a05 | ["<T as frame_system::Config>::AccountId","BalanceOf"] | |
SeatHolderSlashed | 7a06 | ["<T as frame_system::Config>::AccountId","BalanceOf"] |
Name | Type | |
---|---|---|
Members | {"origin":"PlainType","plain_type":"Vec<pallet_elections_phragmen:SeatHolder>","PlainTypeValue":466} | |
RunnersUp | {"origin":"PlainType","plain_type":"Vec<pallet_elections_phragmen:SeatHolder>","PlainTypeValue":466} | |
Candidates | {"origin":"PlainType","plain_type":"Vec<Tuple:AccountIdU128>","PlainTypeValue":131} | |
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":468}} |
Name | Type | Value | |
---|---|---|---|
PalletId | [U8; 8] | 706872656c656374 | |
CandidacyBond | U128 | 00407a10f35a00000000000000000000 | |
VotingBondBase | U128 | 00a0724e180900000000000000000000 | |
VotingBondFactor | U128 | 0010a5d4e80000000000000000000000 | |
DesiredMembers | U32 | 07000000 | |
DesiredRunnersUp | U32 | 06000000 | |
TermDuration | U32 | c0a80000 | |
MaxCandidates | U32 | e8030000 | |
MaxVoters | U32 | 10270000 | |
MaxVotesPerVoter | U32 | 10000000 |
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. |