Name | Lookup | Parameters | |
|---|---|---|---|
| set_invulnerables | 0900 | 1 | |
| set_desired_candidates | 0901 | 1 | |
| set_candidacy_bond | 0902 | 1 | |
| register_as_candidate | 0903 | - | |
| leave_intent | 0904 | - |
Name | Lookup | Attributes | |
|---|---|---|---|
| NewInvulnerables | 0900 | ||
| NewDesiredCandidates | 0901 | ||
| NewCandidacyBond | 0902 | ||
| CandidateAdded | 0903 | ||
| CandidateRemoved | 0904 |
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 |