Trait supply::OnInflation

source ·
pub trait OnInflation<AccountId> {
    type Currency: ReservableCurrency<AccountId>;

    // Required method
    fn on_inflation(
        from: &AccountId,
        amount: <Self::Currency as Currency<AccountId>>::Balance
    );
}

Required Associated Types§

source

type Currency: ReservableCurrency<AccountId>

Required Methods§

source

fn on_inflation( from: &AccountId, amount: <Self::Currency as Currency<AccountId>>::Balance )

Implementors§