Trait xor_fee::WithdrawFee
source · pub trait WithdrawFee<T: Config> {
// Required method
fn withdraw_fee(
who: &T::AccountId,
fee_source: &T::AccountId,
call: &<T as Config>::RuntimeCall,
fee: Balance
) -> Result<(T::AccountId, Option<<<T as Config>::XorCurrency as Currency<<T as Config>::AccountId>>::NegativeImbalance>), DispatchError>;
}