In practice for the arb bot:
# have 1 TEC -> velodrome sell for rETH -> mint > 1 TEC
velo_sell = max(velo_tec_to_reth_1[-1], velo_tec_to_reth_2[-1])/1e18
abc_mint = bonding_curve.get_mint_amount(velo_sell) * (1 - buyFeePct)
# have 1 TEC -> burn for rETH -> sell > 1 TEC on velo
abc_burn = bonding_curve.get_balance_return(tec_order_amount) * (1 - sellFeePct)
Can we simplify the API so that user does not need to manually apply the fees?