Skip to content

Commit 7a036e3

Browse files
authored
fix(mixed): bump sor 4.17.11 - enable unichain support for mixed routes (#822)
* fix(mixed): enable unichain support for mixed routes * bump sor version
1 parent 81ec7fc commit 7a036e3

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@uniswap/smart-order-router",
3-
"version": "4.17.10",
3+
"version": "4.17.11",
44
"description": "Uniswap Smart Order Router",
55
"main": "build/main/index.js",
66
"typings": "build/main/index.d.ts",

src/util/addresses.ts

+2
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,15 @@ export const MIXED_ROUTE_QUOTER_V1_ADDRESSES: AddressMap = {
142142
[ChainId.GOERLI]:
143143
CHAIN_TO_ADDRESSES_MAP[ChainId.GOERLI].mixedRouteQuoterV1Address,
144144
[ChainId.BASE]: '0xc7A3b85D43fF66AD98A895dE0EaE4b9e24C932D7',
145+
[ChainId.UNICHAIN]: '0x48C0648E357639B446C99a6c7316A3eaFEaB35aE',
145146
};
146147

147148
export const MIXED_ROUTE_QUOTER_V2_ADDRESSES: AddressMap = {
148149
[ChainId.SEPOLIA]:
149150
CHAIN_TO_ADDRESSES_MAP[ChainId.SEPOLIA].mixedRouteQuoterV2Address,
150151
[ChainId.MAINNET]: '0xE63C5F5005909E96b5aA9CE10744CCE70eC16CC3',
151152
[ChainId.BASE]: '0xc7A3b85D43fF66AD98A895dE0EaE4b9e24C932D7',
153+
[ChainId.UNICHAIN]: '0x48C0648E357639B446C99a6c7316A3eaFEaB35aE',
152154
};
153155

154156
export const UNISWAP_MULTICALL_ADDRESSES: AddressMap = {

src/util/chains.ts

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export const MIXED_SUPPORTED = [
5353
ChainId.SEPOLIA,
5454
ChainId.GOERLI,
5555
ChainId.BASE,
56+
ChainId.UNICHAIN,
5657
];
5758

5859
export const HAS_L1_FEE = [

0 commit comments

Comments
 (0)