referrerpolicy=no-referrer-when-downgrade
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.

The pending slash amount of the member must be equal or more than ExistentialDeposit. This call can be dispatched permissionlessly (i.e. by any account). If the execution is successful, fee is refunded and caller may be rewarded with a part of the slash based on the crate::pallet::Config::StakeAdapter configuration.

§Warning: Doc-Only

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