feat: read token taxes from backend response (#7532)
* 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
Showing
... | @@ -202,7 +202,7 @@ | ... | @@ -202,7 +202,7 @@ |
"@uniswap/merkle-distributor": "^1.0.1", | "@uniswap/merkle-distributor": "^1.0.1", | ||
"@uniswap/permit2-sdk": "^1.2.0", | "@uniswap/permit2-sdk": "^1.2.0", | ||
"@uniswap/redux-multicall": "^1.1.8", | "@uniswap/redux-multicall": "^1.1.8", | ||
"@uniswap/router-sdk": "^1.6.0", | "@uniswap/router-sdk": "^1.7.1", | ||
"@uniswap/sdk-core": "4.0.7", | "@uniswap/sdk-core": "4.0.7", | ||
"@uniswap/smart-order-router": "^3.15.0", | "@uniswap/smart-order-router": "^3.15.0", | ||
"@uniswap/token-lists": "^1.0.0-beta.33", | "@uniswap/token-lists": "^1.0.0-beta.33", | ||
... | ... |
Please register or sign in to comment