pub fn calculate_pool_trade_fee(
    amount: Balance,
    fee: (u32, u32)
) -> Option<Balance>