Function compute_fee_amount

Source
pub fn compute_fee_amount<T: Config>(
    weight: Weight,
    asset_location: &Location,
) -> Result<u128, Error>
Expand description

Helper function to compute fee amount from weight and asset location. This is used by the XcmTransactorFeeTrader adapter implementation.