feat: workaround for FOT swaps (#7218)
* fix: workaround to include tax in slippage tolerance * refactor: simplify tax line item components * docs: update FOT comments * fix: simplify tax calculation logic * docs: update comment and add TODO * fix: use postTaxAmountOut for price change calculation * fix: use preTaxStablecoinPriceImpact for swab button warnings * test: unit test for swap details/modal * feat: add feature flag to gate FOT changes * docs: add comment to postTaxOutputAmount getter * fix: reword fee tooltip * refactor: warning theme color variable usage * fix: update snapshots * fix: use preTaxStablecoinPriceImpact for price impact prompt logic * lint: dependency array
Showing
src/constants/tax.ts
0 → 100644
Please register or sign in to comment