referrerpolicy=no-referrer-when-downgrade

Function pallet_staking::asset::slash

source ·
pub fn slash<T: Config>(
    who: &T::AccountId,
    value: BalanceOf<T>,
) -> (NegativeImbalanceOf<T>, BalanceOf<T>)
Expand description

Slash the value from who.

A negative imbalance is returned which can be resolved to deposit the slashed value.