Skip to content

Commit

Permalink
Bump v2 SDK and increase SOR version (#499)
Browse files Browse the repository at this point in the history
* Bump V2-SDK to 4.2.0

* 3.24.1

* 3.24.2

* fix test

* update dependencies

* Revert "Bump uniswap sdk core to 4.09 and add correct base swap router address (#481)"

This reverts commit a9f037a.

* increase gas deviation
  • Loading branch information
mikeki committed Feb 22, 2024
1 parent a9f037a commit 0ff8a62
Show file tree
Hide file tree
Showing 13 changed files with 106 additions and 133 deletions.
168 changes: 69 additions & 99 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@uniswap/smart-order-router",
"version": "3.24.0",
"version": "3.24.2",
"description": "Uniswap Smart Order Router",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
Expand Down Expand Up @@ -32,16 +32,16 @@
},
"dependencies": {
"@types/brotli": "^1.3.4",
"@uniswap/default-token-list": "^11.2.0",
"@uniswap/default-token-list": "^11.13.0",
"@uniswap/permit2-sdk": "^1.2.0",
"@uniswap/router-sdk": "^1.7.5",
"@uniswap/router-sdk": "^1.8.0",
"@uniswap/sdk-core": "^4.1.2",
"@uniswap/swap-router-contracts": "^1.3.0",
"@uniswap/swap-router-contracts": "^1.3.1",
"@uniswap/token-lists": "^1.0.0-beta.31",
"@uniswap/universal-router": "^1.6.0",
"@uniswap/universal-router-sdk": "^1.6.1",
"@uniswap/v2-sdk": "^4.0.1",
"@uniswap/v3-sdk": "^3.10.1",
"@uniswap/universal-router-sdk": "^1.7.1",
"@uniswap/v2-sdk": "^4.2.0",
"@uniswap/v3-sdk": "^3.10.2",
"async-retry": "^1.3.1",
"await-timeout": "^1.1.1",
"axios": "^0.21.1",
Expand Down
4 changes: 2 additions & 2 deletions src/providers/simulation-provider.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { JsonRpcProvider } from '@ethersproject/providers';
import { ChainId, SWAP_ROUTER_02_ADDRESSES, TradeType } from '@uniswap/sdk-core';
import { ChainId, TradeType } from '@uniswap/sdk-core';
import { PERMIT2_ADDRESS } from '@uniswap/universal-router-sdk';
import { BigNumber } from 'ethers/lib/ethers';

Expand All @@ -11,7 +11,7 @@ import {
} from '../routers';
import { Erc20__factory } from '../types/other/factories/Erc20__factory';
import { Permit2__factory } from '../types/other/factories/Permit2__factory';
import { CurrencyAmount, log } from '../util';
import { CurrencyAmount, log, SWAP_ROUTER_02_ADDRESSES } from '../util';

import { IPortionProvider } from './portion-provider';
import { ArbitrumGasData, OptimismGasData } from './v3/gas-data-provider';
Expand Down
4 changes: 2 additions & 2 deletions src/providers/swap-router-provider.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ApprovalTypes } from '@uniswap/router-sdk';
import { ChainId, Currency, CurrencyAmount, SWAP_ROUTER_02_ADDRESSES } from '@uniswap/sdk-core';
import { ChainId, Currency, CurrencyAmount } from '@uniswap/sdk-core';

import { SwapRouter02__factory } from '../types/other/factories/SwapRouter02__factory';
import { log } from '../util';
import { log, SWAP_ROUTER_02_ADDRESSES } from '../util';

import { IMulticallProvider } from './multicall-provider';

Expand Down
Loading

0 comments on commit 0ff8a62

Please sign in to comment.