Expand description
Functions§
- add_
invulnerable - Add an invulnerable collator.
- apply_
for_ candidacy - Submit an application to become a collator candidate. The account must already have registered session keys.
- approve_
application - Approve a pending candidacy application.
- close_
application - Close a pending candidacy application and unreserve the bond.
- kick_
candidate - Forcibly remove a candidate from the active set.
- leave_
intent - Deregister
originas a collator candidate. Note that the collator can only leave on session change. TheCandidacyBondwill start un-bonding process. - register_
as_ candidate - Register this account as a collator candidate. The account must (a) already have
registered session keys and (b) be able to reserve the
CandidacyBond. - remove_
invulnerable - Remove an invulnerable collator.
- set_
candidacy_ bond - Set the candidacy bond amount.
- set_
desired_ candidates - Set the ideal number of collators (not including the invulnerables). If lowering this number, then the number of running collators could be higher than this figure. Aside from that edge case, there should be no other way to have more collators than the desired number.
- set_
invulnerables - Set the list of invulnerable (fixed) collators.
- set_
slash_ destination - Set slash destination.
Use
Someto deposit slashed balance into destination orNoneto burn it. - withdraw_
bond - Withdraw
CandidacyBondafter un-bonding period has finished. This call will fail called during un-bonding or if there’s noCandidacyBoundreserved.