• Tina's avatar
    feat: read token taxes from backend response (#7532) · ff6d1cc5
    Tina authored
    * read token taxes from backend
    
    * revert env changes
    
    * upgrade router-sdk for updated price impact logic
    
    * add tax information to trade currencies instead of directly on trade object
    
    * consolidate getTradeCurrencies with getSwapCurrenciesWithTaxInfo
    
    * delete feature flag for token taxes!
    
    * run yarn dedupe again
    
    * fix unit tests
    
    * update logic for disabling inputs
    
    * update snapshot again
    
    * fix return value for uniswapx
    
    * remove unused constants and update comment
    
    * pr review
    
    * re-add useSwapTaxes for token descriptor page
    
    * add in client-side tax fetching on currency level
    
    * revert removing newline
    
    * typecheck....
    
    * typecheck...
    
    * remove inputTax, outputTax from routing-api arguments because they are now unused
    
    * dont pass in tax info to preview trade
    ff6d1cc5
index.tsx 3.5 KB