Function pallet_nomination_pools::pallet::dispatchables::apply_slash
source · pub fn apply_slash<T: Config>(
member_account: <<T as Config>::Lookup as StaticLookup>::Source,
)
Expand description
Apply a pending slash on a member.
Fails unless crate::pallet::Config::StakeAdapter
is of strategy type:
adapter::StakeStrategyType::Delegate
.
This call can be dispatched permissionlessly (i.e. by any account). If the member has slash to be applied, caller may be rewarded with the part of the slash.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::apply_slash
.