Name | Lookup | Parameters | |
|---|---|---|---|
| vote | 1100 | 2 | |
| remove_voter | 1101 | - | |
| submit_candidacy | 1102 | 1 | |
| renounce_candidacy | 1103 | 1 | |
| remove_member | 1104 | 2 | |
| clean_defunct_voters | 1105 | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| NewTerm | 1100 | ||
| EmptyTerm | 1101 | ||
| ElectionError | 1102 | ||
| MemberKicked | 1103 | ||
| Renounced | 1104 | ||
| CandidateSlashed | 1105 | ||
| SeatHolderSlashed | 1106 |
Name | Type | |
|---|---|---|
| Members | {"origin":"PlainType","plain_type":"Vec<SeatHolder<AccountId, BalanceOf>>"} | |
| RunnersUp | {"origin":"PlainType","plain_type":"Vec<SeatHolder<AccountId, BalanceOf>>"} | |
| Candidates | {"origin":"PlainType","plain_type":"Vec<(AccountId, BalanceOf)>"} | |
| ElectionRounds | {"origin":"PlainType","plain_type":"u32"} | |
| Voting | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"Voter<AccountId, BalanceOf>","isLinked":false}} |
Name | Type | Value | |
|---|---|---|---|
| CandidacyBond | BalanceOf | 0x0010a5d4e80000000000000000000000 | |
| VotingBondBase | BalanceOf | 0x007013b72e0000000000000000000000 | |
| VotingBondFactor | BalanceOf | 0x00d01213000000000000000000000000 | |
| DesiredMembers | u32 | 0x0d000000 | |
| DesiredRunnersUp | u32 | 0x14000000 | |
| TermDuration | BlockNumber | 0xc0890100 | |
| ModuleId | LockIdentifier | 0x706872656c656374 |
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. |