pub trait DoneSlash<AssetId, Reason, AccountId, Balance> {
// Provided method
fn done_slash(
_asset: AssetId,
_reason: &Reason,
_who: &AccountId,
_amount: Balance,
) { ... }
}
Expand description
Trait for optional bookkeeping callbacks after a slash
Provided Methods§
fn done_slash( _asset: AssetId, _reason: &Reason, _who: &AccountId, _amount: Balance, )
Object Safety§
This trait is not object safe.