Trait pallet_asset_tx_payment::HandleCredit [−][src]
pub trait HandleCredit<AccountId, B: Balanced<AccountId>> {
fn handle_credit(credit: CreditOf<AccountId, B>);
}
Expand description
Allows specifying what to do with the withdrawn asset fees.
Required methods
fn handle_credit(credit: CreditOf<AccountId, B>)
fn handle_credit(credit: CreditOf<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
Default implementation that just drops the credit according to the OnDrop
in the underlying
imbalance type.