diff --git a/sdks/sdk-core/src/addresses.ts b/sdks/sdk-core/src/addresses.ts index 6e259946..62a70491 100644 --- a/sdks/sdk-core/src/addresses.ts +++ b/sdks/sdk-core/src/addresses.ts @@ -50,6 +50,7 @@ export const V2_FACTORY_ADDRESSES: AddressMap = { [ChainId.OPTIMISM]: '0x0c3c1c532F1e39EdF36BE9Fe0bE1410313E074Bf', [ChainId.ARBITRUM_ONE]: '0xf1D7CC64Fb4452F05c498126312eBE29f30Fbcf9', [ChainId.AVALANCHE]: '0x9e5A52f57b3038F1B8EeE45F28b3C1967e22799C', + [ChainId.BASE_SEPOLIA]: '0x7Ae58f10f7849cA6F5fB71b7f45CB416c9204b1e', [ChainId.BASE]: '0x8909dc15e40173ff4699343b6eb8132c65e18ec6', [ChainId.BNB]: '0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6', [ChainId.POLYGON]: '0x9e5A52f57b3038F1B8EeE45F28b3C1967e22799C', @@ -69,6 +70,7 @@ export const V2_ROUTER_ADDRESSES: AddressMap = { [ChainId.SEPOLIA]: '0xeE567Fe1712Faf6149d80dA1E6934E354124CfE3', [ChainId.ARBITRUM_ONE]: '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', [ChainId.OPTIMISM]: '0x4a7b5da61326a6379179b40d00f57e5bbdc962c2', + [ChainId.BASE_SEPOLIA]: '0x1689E7B1F10000AE47eBfE339a4f69dECd19F602', [ChainId.BASE]: '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', [ChainId.AVALANCHE]: '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', [ChainId.BNB]: '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24', @@ -225,6 +227,23 @@ const BASE_GOERLI_ADDRESSES: ChainAddresses = { swapRouter02Address: '0x8357227D4eDc78991Db6FDB9bD6ADE250536dE1d', } +// Base Sepolia v3 addresses +const BASE_SEPOLIA_ADDRESSES: ChainAddresses = { + v3CoreFactoryAddress: '0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24', + multicallAddress: '0xd867e273eAbD6c853fCd0Ca0bFB6a3aE6491d2C1', + quoterAddress: '0xC5290058841028F1614F3A6F0F5816cAd0df5E27', + v3MigratorAddress: '0xCbf8b7f80800bd4888Fbc7bf1713B80FE4E23E10', + nonfungiblePositionManagerAddress: '0x27F971cb582BF9E50F397e4d29a5C7A34f11faA2', + tickLensAddress: '0xedf6066a2b290C185783862C7F4776A2C8077AD1', + swapRouter02Address: '0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4', + + // v4 + v4PoolManagerAddress: '0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408', + v4PositionManagerAddress: '0x4b2c77d209d3405f41a037ec6c77f7f5b8e2ca80', + v4StateView: '0x571291b572ed32ce6751a2cb2486ebee8defb9b4', + v4QuoterAddress: '0x4a6513c898fe1b2d0e78d3b0e0a4a151589b1cba', +} + const ZORA_ADDRESSES: ChainAddresses = { v3CoreFactoryAddress: '0x7145F8aeef1f6510E92164038E1B6F8cB2c42Cbb', multicallAddress: '0xA51c76bEE6746cB487a7e9312E43e2b8f4A37C15', @@ -327,6 +346,7 @@ export const CHAIN_TO_ADDRESSES_MAP: Record [ChainId.AVALANCHE]: AVALANCHE_ADDRESSES, [ChainId.BASE]: BASE_ADDRESSES, [ChainId.BASE_GOERLI]: BASE_GOERLI_ADDRESSES, + [ChainId.BASE_SEPOLIA]: BASE_SEPOLIA_ADDRESSES, [ChainId.ZORA]: ZORA_ADDRESSES, [ChainId.ZORA_SEPOLIA]: ZORA_SEPOLIA_ADDRESSES, [ChainId.ROOTSTOCK]: ROOTSTOCK_ADDRESSES, diff --git a/sdks/sdk-core/src/chains.ts b/sdks/sdk-core/src/chains.ts index b5f875fa..b2cd58ae 100644 --- a/sdks/sdk-core/src/chains.ts +++ b/sdks/sdk-core/src/chains.ts @@ -17,6 +17,7 @@ export enum ChainId { BNB = 56, AVALANCHE = 43114, BASE_GOERLI = 84531, + BASE_SEPOLIA = 84532, BASE = 8453, ZORA = 7777777, ZORA_SEPOLIA = 999999999, @@ -47,6 +48,7 @@ export const SUPPORTED_CHAINS = [ ChainId.AVALANCHE, ChainId.BASE, ChainId.BASE_GOERLI, + ChainId.BASE_SEPOLIA, ChainId.ZORA, ChainId.ZORA_SEPOLIA, ChainId.ROOTSTOCK, diff --git a/sdks/sdk-core/src/entities/weth9.ts b/sdks/sdk-core/src/entities/weth9.ts index 38ecfa11..419c679c 100644 --- a/sdks/sdk-core/src/entities/weth9.ts +++ b/sdks/sdk-core/src/entities/weth9.ts @@ -20,6 +20,7 @@ export const WETH9: { [chainId: number]: Token } = { 421614: new Token(421614, '0x980B62Da83eFf3D4576C647993b0c1D7faf17c73', 18, 'WETH', 'Wrapped Ether'), 8453: new Token(8453, '0x4200000000000000000000000000000000000006', 18, 'WETH', 'Wrapped Ether'), + 84532: new Token(84532, '0x4200000000000000000000000000000000000006', 18, 'WETH', 'Wrapped Ether'), 56: new Token(56, '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c', 18, 'WBNB', 'Wrapped BNB'), 137: new Token(137, '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', 18, 'WMATIC', 'Wrapped MATIC'),