referrerpolicy=no-referrer-when-downgrade
pub fn take_candidate_slot<T: Config>(
    deposit: <<T as Config>::Currency as Currency<<T as SystemConfig>::AccountId>>::Balance,
    target: T::AccountId,
)
Expand description

The caller origin replaces a candidate target in the collator candidate list by reserving deposit. The amount deposit reserved by the caller must be greater than the existing bond of the target it is trying to replace.

This call will fail if the caller is already a collator candidate or invulnerable, the caller does not have registered session keys, the target is not a collator candidate, and/or the deposit amount cannot be reserved.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::take_candidate_slot.