pub trait FeeHandler<T: Config> {
    fn apply_fees(
        from: &T::AccountId,
        to: &T::AccountId,
        detail: &PaymentDetail<T>,
        remark: Option<&[u8]>
    ) -> (T::AccountId, Percent); }
Expand description

Fee Handler trait that defines how to handle marketplace fees to every payment/swap

Required Methods§

Get the distribution of fees to marketplace participants

Implementors§