Name | Lookup | Parameters | |
|---|---|---|---|
| vote | 0c00 | 2 | |
| remove_voter | 0c01 | - | |
| report_defunct_voter | 0c02 | 1 | |
| submit_candidacy | 0c03 | 1 | |
| renounce_candidacy | 0c04 | 1 | |
| remove_member | 0c05 | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| NewTerm | 0900 | ||
| EmptyTerm | 0901 | ||
| MemberKicked | 0902 | ||
| MemberRenounced | 0903 | ||
| VoterReported | 0904 |
Name | Type | |
|---|---|---|
| Members | {"origin":"PlainType","plain_type":"Vec<(AccountId, BalanceOf)>"} | |
| RunnersUp | {"origin":"PlainType","plain_type":"Vec<(AccountId, BalanceOf)>"} | |
| ElectionRounds | {"origin":"PlainType","plain_type":"u32"} | |
| Voting | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"(BalanceOf, Vec<AccountId>)","isLinked":false}} | |
| Candidates | {"origin":"PlainType","plain_type":"Vec<AccountId>"} |
Name | Type | Value | |
|---|---|---|---|
| CandidacyBond | BalanceOf | 0x00008a5d784563010000000000000000 | |
| VotingBond | BalanceOf | 0x00407a10f35a00000000000000000000 | |
| DesiredMembers | u32 | 0x0d000000 | |
| DesiredRunnersUp | u32 | 0x07000000 | |
| TermDuration | BlockNumber | 0x00270600 | |
| 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. |
| RunnerSubmit | Runner cannot re-submit candidacy. |
| InsufficientCandidateFunds | Candidate does not have enough funds. |
| NotMember | Not a member. |
| InvalidCandidateCount | 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. |