feat: Add support for mixed routes in the interface (#4181)
* Expand typing to match new QuoteResponse from routing api * lint autofix * Expand InterfaceTrade class to match router-sdk and allow mixedroutes * Add new routing-api poolInRoute logic for client side trade * eslint fix == * Add custom mxiedProtocolBadge and add into badgeDiagram * Bump router-sdk to published version, and install latest local SOR * git checkout main yarn.lock && yarn && npx yarn-deduplicate * Bump SOR to 2.9.2 * bump SOR to 2.9.2 * Update yarn.lock * revert slice.ts * Add guesstimate logic for mixedRoutes * Oops wrong pool import lol * Add beta url + expand protocols array * Add forceMixedRoutes for testing * Fix cyrpress build issue: no-loop-func * Change to prod url and remove testing param * remove protocol flag * Revisions: getRouteProtocol helper, fix gas acc for mixed route * revert protocols array abck * Remove :Protocol
Showing
... | ... | @@ -131,9 +131,9 @@ |
"@uniswap/liquidity-staker": "^1.0.2", | ||
"@uniswap/merkle-distributor": "1.0.1", | ||
"@uniswap/redux-multicall": "^1.1.5", | ||
"@uniswap/router-sdk": "^1.0.6", | ||
"@uniswap/router-sdk": "^1.3.0", | ||
"@uniswap/sdk-core": "^3.0.1", | ||
"@uniswap/smart-order-router": "^2.8.2", | ||
"@uniswap/smart-order-router": "^2.9.2", | ||
"@uniswap/token-lists": "^1.0.0-beta.30", | ||
"@uniswap/v2-core": "1.0.0", | ||
"@uniswap/v2-periphery": "^1.1.0-beta.0", | ||
... | ... |
Please register or sign in to comment