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.
pub fn slash<T: Config>(
who: &T::AccountId,
value: BalanceOf<T>,
) -> (NegativeImbalanceOf<T>, BalanceOf<T>)
Slash the value from who
.
A negative imbalance is returned which can be resolved to deposit the slashed value.