pub trait HandleImbalanceDrop<AssetId, Balance> {
    // Required method
    fn handle(asset: AssetId, amount: Balance);
}
Expand description

Handler for when an imbalance gets dropped. This could handle either a credit (negative) or debt (positive) imbalance.

Required Methods§

source

fn handle(asset: AssetId, amount: Balance)

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<AccountId, U: Unbalanced<AccountId>> HandleImbalanceDrop<<U as Inspect<AccountId>>::AssetId, <U as Inspect<AccountId>>::Balance> for DecreaseIssuance<AccountId, U>

source§

impl<AccountId, U: Unbalanced<AccountId>> HandleImbalanceDrop<<U as Inspect<AccountId>>::AssetId, <U as Inspect<AccountId>>::Balance> for IncreaseIssuance<AccountId, U>