Function pallet_collator_selection::pallet::dispatchables::set_candidacy_bond
source · pub fn set_candidacy_bond<T: Config>(
bond: <<T as Config>::Currency as Currency<<T as SystemConfig>::AccountId>>::Balance,
)
Expand description
Set the candidacy bond amount.
If the candidacy bond is increased by this call, all current candidates which have a deposit lower than the new bond will be kicked from the list and get their deposits back.
The origin for this call must be the UpdateOrigin
.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::set_candidacy_bond
.