Skip to content

Commit

Permalink
(feat) updates uniswap to latest and removes alpharouter exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
fengtality committed Jul 26, 2024
1 parent 3db080c commit 5545795
Show file tree
Hide file tree
Showing 3 changed files with 492 additions and 284 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@
"@types/minimist": "^1.2.2",
"@types/morgan": "^1.9.3",
"@types/uuid": "^8.3.4",
"@uniswap/sdk": "3.0.2",
"@uniswap/sdk-core": "^3.0.0",
"@uniswap/smart-order-router": "^2.5.26",
"@uniswap/v3-core": "^1.0.0",
"@uniswap/sdk": "3.0.3",
"@uniswap/sdk-core": "^5.3.1",
"@uniswap/smart-order-router": "^3.36.1",
"@uniswap/v3-core": "^1.0.1",
"@uniswap/v3-periphery": "^1.1.1",
"@uniswap/v3-sdk": "^3.7.0",
"@uniswap/v3-sdk": "^3.13.1",
"abi-decoder": "^2.4.0",
"ajv": "^8.6.3",
"algosdk": "^2.2.0",
Expand Down
8 changes: 4 additions & 4 deletions src/connectors/uniswap/uniswap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ export class Uniswap implements Uniswapish {
this._alphaRouter = null;
const excluded_chainIds = [
11155111, // sepolia
8453, // base
56, // binance-smart-chain
42220, // celo
43114, // avalanche
// 8453, // base
// 56, // binance-smart-chain
// 42220, // celo
// 43114, // avalanche
];
if (this.chainId in excluded_chainIds) {
this._alphaRouter = new AlphaRouter({
Expand Down
Loading

0 comments on commit 5545795

Please sign in to comment.