pub trait HandleCredit<AccountId, B: Balanced<AccountId>> {
// Required method
fn handle_credit(credit: Credit<AccountId, B>);
}
Expand description
Allows specifying what to do with the withdrawn asset fees.
Required Methods§
sourcefn handle_credit(credit: Credit<AccountId, B>)
fn handle_credit(credit: Credit<AccountId, B>)
Implement to determine what to do with the withdrawn asset fees.
Default for CreditOf
from the assets pallet is to burn and
decrease total issuance.
Implementations on Foreign Types§
source§impl<A, B: Balanced<A>> HandleCredit<A, B> for ()
impl<A, B: Balanced<A>> HandleCredit<A, B> for ()
Default implementation that just drops the credit according to the OnDrop
in the underlying
imbalance type.