uniswap-interface-uncensored/src/components/RoutingDiagram
Eric Zhong 47e6c0891e
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
2022-08-11 16:40:55 -04:00
..
__snapshots__ build: add global jest-styled-components config (#4148) 2022-07-20 15:27:40 -04:00
RoutingDiagram.test.tsx chore: upgrade to react 18 (#3992) 2022-07-13 16:56:09 -04:00
RoutingDiagram.tsx feat: Add support for mixed routes in the interface (#4181) 2022-08-11 16:40:55 -04:00