Name | Lookup | Parameters | |
|---|---|---|---|
| set_invulnerables | 2900 | 1 | |
| set_desired_candidates | 2901 | 1 | |
| set_candidacy_bond | 2902 | 1 | |
| register_as_candidate | 2903 | - | |
| leave_intent | 2904 | - | |
| withdraw_bond | 2905 | - | |
| set_slash_destination | 2906 | 1 | |
| add_invulnerable | 2907 | 1 | |
| remove_invulnerable | 2908 | 1 | |
| apply_for_candidacy | 2909 | - | |
| close_application | 290a | 1 | |
| approve_application | 290b | 1 | |
| kick_candidate | 290c | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| NewInvulnerables | 2900 | ["Vec<AccountId>"] | |
| NewDesiredCandidates | 2901 | ["u32"] | |
| NewCandidacyBond | 2902 | ["BalanceOf"] | |
| CandidateAdded | 2903 | ["AccountId","BalanceOf"] | |
| CandidateRemoved | 2904 | ["AccountId"] | |
| CandidateSlashed | 2905 | ["AccountId"] | |
| CandidacyApplicationSubmitted | 2906 | ["AccountId","BalanceOf"] | |
| CandidacyApplicationApproved | 2907 | ["AccountId","BalanceOf"] | |
| CandidacyApplicationClosed | 2908 | ["AccountId"] | |
| CandidateKicked | 2909 | ["AccountId"] |
Name | Type | |
|---|---|---|
| Invulnerables | {"origin":"PlainType","plain_type":"Vec<AccountId>","PlainTypeValue":81} | |
| Candidates | {"origin":"PlainType","plain_type":"Vec<pallet_collator_selection:pallet:CandidateInfo>","PlainTypeValue":582} | |
| NonCandidates | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"Tuple:U32U128","keys_id":0,"value_id":584}} | |
| LastAuthoredBlock | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"U32","keys_id":0,"value_id":4}} | |
| DesiredCandidates | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| CandidacyBond | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| SlashDestination | {"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0} | |
| PendingApplications | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"U128","keys_id":0,"value_id":6}} |
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 |
| NotInvulnerable | User is not an Invulnerable |
| NoAssociatedValidatorId | Account has no associated validator ID |
| ValidatorNotRegistered | Validator ID is not yet registered |
| NotAllowedCandidate | Account is now allowed to be a candidate due to an external reason (e.g. it might be participating in dApp staking) |
| BondStillLocked | The candidacy bond is currently in the un-bonding period. |
| NoCandidacyBond | No candidacy bond available for withdrawal. |
| PendingApplicationExists | User has already submitted an application |
| NoApplicationFound | No candidacy application found |