Name | Lookup | Parameters | |
|---|---|---|---|
| vote | 1000 | 2 | |
| remove_voter | 1001 | - | |
| submit_candidacy | 1002 | 1 | |
| renounce_candidacy | 1003 | 1 | |
| remove_member | 1004 | 2 | |
| clean_defunct_voters | 1005 | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| NewTerm | 1000 | ["Vec<(<T as frame_system::Config>::AccountId, BalanceOf)>"] | |
| EmptyTerm | 1001 | ||
| ElectionError | 1002 | ||
| MemberKicked | 1003 | ["<T as frame_system::Config>::AccountId"] | |
| Renounced | 1004 | ["<T as frame_system::Config>::AccountId"] | |
| CandidateSlashed | 1005 | ["<T as frame_system::Config>::AccountId","BalanceOf"] | |
| SeatHolderSlashed | 1006 | ["<T as frame_system::Config>::AccountId","BalanceOf"] |
Name | Type | |
|---|---|---|
| Members | {"origin":"PlainType","plain_type":"Vec<pallet_elections_phragmen:SeatHolder>","PlainTypeValue":552} | |
| RunnersUp | {"origin":"PlainType","plain_type":"Vec<pallet_elections_phragmen:SeatHolder>","PlainTypeValue":552} | |
| Candidates | {"origin":"PlainType","plain_type":"Vec<Tuple:AccountIdU128>","PlainTypeValue":58} | |
| 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":554}} |
Name | Type | Value | |
|---|---|---|---|
| PalletId | [U8; 8] | 706872656c656374 | |
| CandidacyBond | U128 | 34a1aec6000000000000000000000000 | |
| VotingBondBase | U128 | 10c55b920f0000000000000000000000 | |
| VotingBondFactor | U128 | 80965b06000000000000000000000000 | |
| DesiredMembers | U32 | 13000000 | |
| DesiredRunnersUp | U32 | 13000000 | |
| TermDuration | U32 | 40380000 |
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. |
| ReportSelf | Cannot report self. |
| DuplicatedCandidate | Duplicated candidate submission. |
| 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. |