pub trait RefundFee<T: Config> {
    // Required method
    fn request_refund(
        account: T::AccountId,
        identity: IdtyId<T>,
        amount: BalanceOf<T>
    );
}
Expand description

trait used to request refund of a fee

Required Methods§

source

fn request_refund( account: T::AccountId, identity: IdtyId<T>, amount: BalanceOf<T> )

request refund for the account account using the quotas of identity identity

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: Config> RefundFee<T> for ()

source§

fn request_refund( _account: T::AccountId, _identity: IdtyId<T>, _amount: BalanceOf<T> )

Implementors§

source§

impl<T: Config> RefundFee<T> for Pallet<T>

Implementing the refund fee trait for the pallet.