Function parachain_staking::pallet::dispatchables::force_remove_candidate
source · pub fn force_remove_candidate<T: Config>(
collator: <T::Lookup as StaticLookup>::Source
)
Expand description
Forcedly removes a collator candidate from the TopCandidates and clears all associated storage for the candidate and their delegators.
Prepares unstaking of the candidates and their delegators stake
which can be unfreezed via unlock_unstaked
after waiting at
least StakeDuration
many blocks. Also increments rewards for the
collator and their delegators.
Increments rewards of candidate and their delegators.
Emits CandidateRemoved
.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::force_remove_candidate
.