Skip to content

Commit

Permalink
chore: bump sor to 4.18.2 - fix: support mixed quote on rest of L2s
Browse files Browse the repository at this point in the history
  • Loading branch information
jsy1218 committed Feb 20, 2025
1 parent 02e1aed commit 65ce08e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/util/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,13 @@ export const MIXED_ROUTE_QUOTER_V1_ADDRESSES: AddressMap = {
CHAIN_TO_ADDRESSES_MAP[ChainId.GOERLI].mixedRouteQuoterV1Address,
[ChainId.BASE]: '0xc7A3b85D43fF66AD98A895dE0EaE4b9e24C932D7',
[ChainId.UNICHAIN]: '0x48C0648E357639B446C99a6c7316A3eaFEaB35aE',
[ChainId.ARBITRUM_ONE]: '0x9D0F15f2cf58655fDDcD1EE6129C547fDaeD01b1',
[ChainId.POLYGON]: '0x9d0f15f2cf58655fddcd1ee6129c547fdaed01b1',
[ChainId.OPTIMISM]: '0xf0c802DCb0cF1C4f7B953756b49D940EED190221',
[ChainId.AVALANCHE]: '0x9D0F15f2cf58655fDDcD1EE6129C547fDaeD01b1',
[ChainId.BNB]: '0xf0c802DCb0cF1C4f7B953756b49D940EED190221',
[ChainId.WORLDCHAIN]: '0x9D0F15f2cf58655fDDcD1EE6129C547fDaeD01b1',
[ChainId.ZORA]: '0x5f739c790a48E97eec0efb81bab5D152c0A0ecA0',
};

export const MIXED_ROUTE_QUOTER_V2_ADDRESSES: AddressMap = {
Expand All @@ -151,6 +158,13 @@ export const MIXED_ROUTE_QUOTER_V2_ADDRESSES: AddressMap = {
[ChainId.MAINNET]: '0xE63C5F5005909E96b5aA9CE10744CCE70eC16CC3',
[ChainId.BASE]: '0xc7A3b85D43fF66AD98A895dE0EaE4b9e24C932D7',
[ChainId.UNICHAIN]: '0x48C0648E357639B446C99a6c7316A3eaFEaB35aE',
[ChainId.ARBITRUM_ONE]: '0x9D0F15f2cf58655fDDcD1EE6129C547fDaeD01b1',
[ChainId.POLYGON]: '0x9d0f15f2cf58655fddcd1ee6129c547fdaed01b1',
[ChainId.OPTIMISM]: '0xf0c802DCb0cF1C4f7B953756b49D940EED190221',
[ChainId.AVALANCHE]: '0x9D0F15f2cf58655fDDcD1EE6129C547fDaeD01b1',
[ChainId.BNB]: '0xf0c802DCb0cF1C4f7B953756b49D940EED190221',
[ChainId.WORLDCHAIN]: '0x9D0F15f2cf58655fDDcD1EE6129C547fDaeD01b1',
[ChainId.ZORA]: '0x5f739c790a48E97eec0efb81bab5D152c0A0ecA0',
};

export const UNISWAP_MULTICALL_ADDRESSES: AddressMap = {
Expand Down
7 changes: 7 additions & 0 deletions src/util/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ export const MIXED_SUPPORTED = [
ChainId.BASE,
ChainId.UNICHAIN,
ChainId.BASE,
ChainId.ARBITRUM_ONE,
ChainId.POLYGON,
ChainId.OPTIMISM,
ChainId.AVALANCHE,
ChainId.BNB,
ChainId.WORLDCHAIN,
ChainId.ZORA,
];

export const HAS_L1_FEE = [
Expand Down

0 comments on commit 65ce08e

Please sign in to comment.