diff --git a/deploy/consts.ts b/deploy/consts.ts index e06448466..4c6aeea97 100644 --- a/deploy/consts.ts +++ b/deploy/consts.ts @@ -65,6 +65,10 @@ export const L1_ADDRESS_MAP: { [key: number]: { [contractName: string]: string } 324: { weth: "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91", }, + 11155111: { + finder: "0xeF684C38F94F48775959ECf2012D7E864ffb9dd4", + weth: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9", + }, }; export const L2_ADDRESS_MAP: { [key: number]: { [contractName: string]: string } } = { diff --git a/deployments/deployments.json b/deployments/deployments.json index 06b1330bd..0678f00fb 100644 --- a/deployments/deployments.json +++ b/deployments/deployments.json @@ -59,5 +59,11 @@ "SpokePool": { "address": "0x45fF03629D024b7763275e732a2d80202c18b31C", "blockNumber": 26276253 } }, "421611": { "SpokePool": { "address": "0x3BED21dAe767e4Df894B31b14aD32369cE4bad8b", "blockNumber": 10523275 } }, - "421613": { "SpokePool": { "address": "0xD29C85F15DF544bA632C9E25829fd29d767d7978", "blockNumber": 16711650 } } + "421613": { "SpokePool": { "address": "0xd08baaE74D6d2eAb1F3320B2E1a53eeb391ce8e5", "blockNumber": 30397192 } }, + "11155111": { + "AcrossConfigStore": { "address": "0xd85630E361cEbBC4c7f13e6eEd3587050fB81B86", "blockNumber": 3890922 }, + "LPTokenFactory": { "address": "0x28077B47Cd03326De7838926A63699849DD4fa87", "blockNumber": 3882568 }, + "HubPool": { "address": "0x09aea4b2242abC8bb4BB78D537A67a245A7bEC64", "blockNumber": 3883048 }, + "SpokePool": { "address": "0x3baD7AD0728f9917d1Bf08af5782dCbD516cDd96", "blockNumber": 3883174 } + } } diff --git a/hardhat.config.ts b/hardhat.config.ts index cd657cf05..db411a6ca 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -134,6 +134,12 @@ const config: HardhatUserConfig = { saveDeployments: true, accounts: { mnemonic }, }, + sepolia: { + url: "https://rpc2.sepolia.org", + accounts: { mnemonic }, + saveDeployments: true, + chainId: 11155111, + }, polygon: { chainId: 137, url: getNodeUrl("polygon-matic", true, 137), @@ -162,6 +168,7 @@ const config: HardhatUserConfig = { kovan: process.env.ETHERSCAN_API_KEY!, rinkeby: process.env.ETHERSCAN_API_KEY!, goerli: process.env.ETHERSCAN_API_KEY!, + // sepolia: process.env.ETHERSCAN_API_KEY!, hardhat-etherscan is unhappy with custom definitions. optimisticEthereum: process.env.OPTIMISM_ETHERSCAN_API_KEY!, arbitrumOne: process.env.ARBITRUM_ETHERSCAN_API_KEY!, polygon: process.env.POLYGON_ETHERSCAN_API_KEY!, diff --git a/package.json b/package.json index 4602b4748..b0bb52db2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@across-protocol/contracts-v2", - "version": "2.3.3", + "version": "2.3.4", "author": "UMA Team", "license": "AGPL-3.0-only", "repository": { diff --git a/utils/constants.ts b/utils/constants.ts index 62b6b4ced..79f378106 100644 --- a/utils/constants.ts +++ b/utils/constants.ts @@ -5,6 +5,7 @@ export const CHAIN_IDs = { BOBA: 288, POLYGON: 137, GOERLI: 5, + SEPOLIA: 11155111, MUMBAI: 80001, ARBITRUM_GOERLI: 421613, OPTIMISM_GOERLI: 420, @@ -78,7 +79,9 @@ export const TOKEN_SYMBOLS_MAP = { [CHAIN_IDs.POLYGON]: "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619", [CHAIN_IDs.BOBA]: "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000", [CHAIN_IDs.ARBITRUM]: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1", + [CHAIN_IDs.ARBITRUM_GOERLI]: "0xe39Ab88f8A4777030A534146A9Ca3B52bd5D43A3", [CHAIN_IDs.GOERLI]: "0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6", + [CHAIN_IDs.SEPOLIA]: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9", }, }, MATIC: { @@ -173,7 +176,9 @@ export const TOKEN_SYMBOLS_MAP = { [CHAIN_IDs.POLYGON]: "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619", [CHAIN_IDs.BOBA]: "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000", [CHAIN_IDs.ARBITRUM]: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1", + [CHAIN_IDs.ARBITRUM_GOERLI]: "0xe39Ab88f8A4777030A534146A9Ca3B52bd5D43A3", [CHAIN_IDs.GOERLI]: "0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6", + [CHAIN_IDs.SEPOLIA]: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9", }, }, WMATIC: {