Skip to content

Commit

Permalink
fix(mixed): bump sor 4.17.11 - enable unichain support for mixed rout…
Browse files Browse the repository at this point in the history
…es (#822)

* fix(mixed): enable unichain support for mixed routes

* bump sor version
  • Loading branch information
xrsv authored Feb 7, 2025
1 parent 81ec7fc commit 7a036e3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@uniswap/smart-order-router",
"version": "4.17.10",
"version": "4.17.11",
"description": "Uniswap Smart Order Router",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions src/util/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,15 @@ export const MIXED_ROUTE_QUOTER_V1_ADDRESSES: AddressMap = {
[ChainId.GOERLI]:
CHAIN_TO_ADDRESSES_MAP[ChainId.GOERLI].mixedRouteQuoterV1Address,
[ChainId.BASE]: '0xc7A3b85D43fF66AD98A895dE0EaE4b9e24C932D7',
[ChainId.UNICHAIN]: '0x48C0648E357639B446C99a6c7316A3eaFEaB35aE',
};

export const MIXED_ROUTE_QUOTER_V2_ADDRESSES: AddressMap = {
[ChainId.SEPOLIA]:
CHAIN_TO_ADDRESSES_MAP[ChainId.SEPOLIA].mixedRouteQuoterV2Address,
[ChainId.MAINNET]: '0xE63C5F5005909E96b5aA9CE10744CCE70eC16CC3',
[ChainId.BASE]: '0xc7A3b85D43fF66AD98A895dE0EaE4b9e24C932D7',
[ChainId.UNICHAIN]: '0x48C0648E357639B446C99a6c7316A3eaFEaB35aE',
};

export const UNISWAP_MULTICALL_ADDRESSES: AddressMap = {
Expand Down
1 change: 1 addition & 0 deletions src/util/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export const MIXED_SUPPORTED = [
ChainId.SEPOLIA,
ChainId.GOERLI,
ChainId.BASE,
ChainId.UNICHAIN,
];

export const HAS_L1_FEE = [
Expand Down

0 comments on commit 7a036e3

Please sign in to comment.