Name | Lookup | Parameters | |
---|---|---|---|
set_invulnerables | 1500 | 1 | |
set_desired_candidates | 1501 | 1 | |
set_candidacy_bond | 1502 | 1 | |
register_as_candidate | 1503 | - | |
leave_intent | 1504 | - | |
add_invulnerable | 1505 | 1 | |
remove_invulnerable | 1506 | 1 | |
update_bond | 1507 | 1 | |
take_candidate_slot | 1508 | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
NewInvulnerables | 1500 | ["Vec<AccountId>"] | |
InvulnerableAdded | 1501 | ["AccountId"] | |
InvulnerableRemoved | 1502 | ["AccountId"] | |
NewDesiredCandidates | 1503 | ["u32"] | |
NewCandidacyBond | 1504 | ["BalanceOf"] | |
CandidateAdded | 1505 | ["AccountId","BalanceOf"] | |
CandidateBondUpdated | 1506 | ["AccountId","BalanceOf"] | |
CandidateRemoved | 1507 | ["AccountId"] | |
CandidateReplaced | 1508 | ["AccountId","AccountId","BalanceOf"] | |
InvalidInvulnerableSkipped | 1509 | ["AccountId"] |
Name | Type | |
---|---|---|
Invulnerables | {"origin":"PlainType","plain_type":"Vec<AccountId>","PlainTypeValue":244} | |
CandidateList | {"origin":"PlainType","plain_type":"Vec<pallet_collator_selection:pallet:CandidateInfo>","PlainTypeValue":245} | |
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} |
Name | Docs |
---|---|
TooManyCandidates | The pallet has too many candidates. |
TooFewEligibleCollators | Leaving would result in too few candidates. |
AlreadyCandidate | Account is already a candidate. |
NotCandidate | Account is not a candidate. |
TooManyInvulnerables | There are too many Invulnerables. |
AlreadyInvulnerable | Account is already an Invulnerable. |
NotInvulnerable | Account is not an Invulnerable. |
NoAssociatedValidatorId | Account has no associated validator ID. |
ValidatorNotRegistered | Validator ID is not yet registered. |
InsertToCandidateListFailed | Could not insert in the candidate list. |
RemoveFromCandidateListFailed | Could not remove from the candidate list. |
DepositTooLow | New deposit amount would be below the minimum candidacy bond. |
UpdateCandidateListFailed | Could not update the candidate list. |
InsufficientBond | Deposit amount is too low to take the target's slot in the candidate list. |
TargetIsNotCandidate | The target account to be replaced in the candidate list is not a candidate. |
IdenticalDeposit | The updated deposit amount is equal to the amount already reserved. |
InvalidUnreserve | Cannot lower candidacy bond while occupying a future collator slot in the list. |