pub trait FeeManager {
    // Required methods
    fn is_waived(origin: Option<&MultiLocation>, r: FeeReason) -> bool;
    fn handle_fee(fee: MultiAssets);
}
Expand description

Handle stuff to do with taking fees in certain XCM instructions.

Required Methods§

source

fn is_waived(origin: Option<&MultiLocation>, r: FeeReason) -> bool

Determine if a fee which would normally payable should be waived.

source

fn handle_fee(fee: MultiAssets)

Do something with the fee which has been paid. Doing nothing here silently burns the fees.

Implementations on Foreign Types§

source§

impl FeeManager for ()

Implementors§