• 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
Name
Last commit
Last update
..
PendingModalContent Loading commit data...
__snapshots__ Loading commit data...
ConfirmSwapModal.tsx Loading commit data...
GasBreakdownTooltip.tsx Loading commit data...
GasEstimateTooltip.tsx Loading commit data...
MaxSlippageTooltip.tsx Loading commit data...
PriceImpactModal.tsx Loading commit data...
PriceImpactWarning.tsx Loading commit data...
SwapBuyFiatButton.test.tsx Loading commit data...
SwapBuyFiatButton.tsx Loading commit data...
SwapDetailsDropdown.test.tsx Loading commit data...
SwapDetailsDropdown.tsx Loading commit data...
SwapHeader.tsx Loading commit data...
SwapLineItem.test.tsx Loading commit data...
SwapLineItem.tsx Loading commit data...
SwapModalFooter.test.tsx Loading commit data...
SwapModalFooter.tsx Loading commit data...
SwapModalHeader.test.tsx Loading commit data...
SwapModalHeader.tsx Loading commit data...
SwapModalHeaderAmount.tsx Loading commit data...
SwapRoute.tsx Loading commit data...
SwapSkeleton.test.tsx Loading commit data...
SwapSkeleton.tsx Loading commit data...
TradePrice.test.tsx Loading commit data...
TradePrice.tsx Loading commit data...
UnsupportedCurrencyFooter.test.tsx Loading commit data...
UnsupportedCurrencyFooter.tsx Loading commit data...
confirmPriceImpactWithoutFee.ts Loading commit data...
constants.ts Loading commit data...
styled.tsx Loading commit data...