Name | Lookup | Parameters | |
|---|---|---|---|
| set_invulnerables | 1500 | 1 | |
| set_desired_candidates | 1501 | 1 | |
| set_candidacy_bond | 1502 | 1 | |
| register_as_candidate | 1503 | - | |
| leave_intent | 1504 | - |
Name | Lookup | Attributes | |
|---|---|---|---|
| NewInvulnerables | 1500 | ||
| NewDesiredCandidates | 1501 | ||
| NewCandidacyBond | 1502 | ||
| CandidateAdded | 1503 | ||
| CandidateRemoved | 1504 |
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 |