• cartcrom's avatar
    feat: workaround for FOT swaps (#7218) · 1c142bb7
    cartcrom authored
    * 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
    1c142bb7
fotAdjustments.ts 295 Bytes