Trait orml_traits::currency::OnDust

source ·
pub trait OnDust<AccountId, CurrencyId, Balance> {
    // Required method
    fn on_dust(who: &AccountId, currency_id: CurrencyId, amount: Balance);
}
Expand description

Handler for account which has dust, need to burn or recycle it

Required Methods§

source

fn on_dust(who: &AccountId, currency_id: CurrencyId, amount: Balance)

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<AccountId, CurrencyId, Balance> OnDust<AccountId, CurrencyId, Balance> for ()

source§

fn on_dust(_: &AccountId, _: CurrencyId, _: Balance)

Implementors§