Function parachain_staking::pallet::dispatchables::delegator_stake_less
source · pub fn delegator_stake_less<T: Config>(
less: <<T as Config>::Currency as Inspect<<T as Config>::AccountId>>::Balance
)
Expand description
Reduce the stake for delegating a collator candidate.
If the new amount of staked fund is not large enough, the collator could be removed from the set of collator candidates and not be considered for authoring the next blocks.
The unstaked funds are not release immediately to the account, but
they will be available after StakeDuration
blocks.
The remaining staked funds must still be larger than the minimum required by this pallet to maintain the status of delegator.
The resulting total amount of funds staked must be within the allowed range as set in the pallet’s configuration.
Emits DelegatorStakedLess
.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::delegator_stake_less
.