Name | Lookup | Parameters | |
|---|---|---|---|
| set_invulnerables | 2900 | 1 | |
| set_desired_candidates | 2901 | 1 | |
| set_candidacy_bond | 2902 | 1 | |
| register_as_candidate | 2903 | - | |
| leave_intent | 2904 | - |
Name | Lookup | Attributes | |
|---|---|---|---|
| NewInvulnerables | 2900 | ||
| NewDesiredCandidates | 2901 | ||
| NewCandidacyBond | 2902 | ||
| CandidateAdded | 2903 | ||
| CandidateRemoved | 2904 |
Name | Type | |
|---|---|---|
| Invulnerables | {"origin":"PlainType","plain_type":"Vec<AccountId>"} | |
| Candidates | {"origin":"PlainType","plain_type":"Vec<CandidateInfo<AccountId, BalanceOf>>"} | |
| LastAuthoredBlock | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"BlockNumber","isLinked":false}} | |
| DesiredCandidates | {"origin":"PlainType","plain_type":"u32"} | |
| CandidacyBond | {"origin":"PlainType","plain_type":"BalanceOf"} |
Name | Docs |
|---|---|
| TooManyCandidates | Too many candidates |
| TooFewCandidates | Too few candidates |
| Unknown | Unknown error |
| Permission | Permission issue |
| AlreadyCandidate | User is already a candidate |
| NotCandidate | User is not a candidate |
| AlreadyInvulnerable | User is already an Invulnerable |
| NoAssociatedValidatorId | Account has no associated validator ID |
| ValidatorNotRegistered | Validator ID is not yet registered |