feat: routing api integration (#2080)
* initial routing api integration * add routing api slice * display route in dialog * addressed pr feedback * switch to `get` * renamed useRouterTradeExactIn to useRouter * moving few files to later iteration * removed unnecessary `as` * switch to polling * add todo for blocknumber freshness * remove account-slippage-deadline
Showing
... | @@ -18,7 +18,7 @@ | ... | @@ -18,7 +18,7 @@ |
"@reach/dialog": "^0.10.3", | "@reach/dialog": "^0.10.3", | ||
"@reach/portal": "^0.10.3", | "@reach/portal": "^0.10.3", | ||
"@react-hook/window-scroll": "^1.3.0", | "@react-hook/window-scroll": "^1.3.0", | ||
"@reduxjs/toolkit": "^1.6.0", | "@reduxjs/toolkit": "^1.6.1", | ||
"@typechain/ethers-v5": "^7.0.0", | "@typechain/ethers-v5": "^7.0.0", | ||
"@types/d3": "^6.7.1", | "@types/d3": "^6.7.1", | ||
"@types/jest": "^25.2.1", | "@types/jest": "^25.2.1", | ||
... | ... |
src/hooks/useRouter.ts
0 → 100644
src/state/routing/slice.ts
0 → 100644
Please register or sign in to comment