diff --git a/v1/data/addresses.json b/v1/data/addresses.json index 1075d08c4..352e04507 100644 --- a/v1/data/addresses.json +++ b/v1/data/addresses.json @@ -10,6 +10,14 @@ "zetaTokenConsumerUniV2": "", "zetaTokenConsumerUniV3": "" }, + "base_mainnet": { + "connector": "", + "erc20Custody": "", + "immutableCreate2Factory": "0x095a03c6a68137fE9a566bBc3e552F299d8b886d", + "tss": "0x70e967acFcC17c3941E87562161406d41676FD83", + "tssUpdater": "0x4Ed087B3aB502475c97cF9d3f1637eFd2470B8FE", + "zetaToken": "" + }, "bsc_mainnet": { "connector": "0x000063A6e758D9e2f438d430108377564cf4077D", "erc20Custody": "0x00000fF8fA992424957F97688015814e707A0115", diff --git a/v1/data/addresses.mainnet.json b/v1/data/addresses.mainnet.json index 68f3c7f37..2d0565784 100644 --- a/v1/data/addresses.mainnet.json +++ b/v1/data/addresses.mainnet.json @@ -160,6 +160,20 @@ "chain_name": "polygon_mainnet", "type": "zetaToken" }, + { + "address": "0x4Ed087B3aB502475c97cF9d3f1637eFd2470B8FE", + "category": "omnichain", + "chain_id": 8453, + "chain_name": "base_mainnet", + "type": "tssUpdater" + }, + { + "address": "0x70e967acFcC17c3941E87562161406d41676FD83", + "category": "omnichain", + "chain_id": 8453, + "chain_name": "base_mainnet", + "type": "tss" + }, { "address": "0x239e96c8f17C85c30100AC26F635Ea15f23E9c67", "category": "messaging", diff --git a/v1/hardhat.config.ts b/v1/hardhat.config.ts index d98a278d1..e45740822 100644 --- a/v1/hardhat.config.ts +++ b/v1/hardhat.config.ts @@ -47,6 +47,14 @@ const config: HardhatUserConfig = { browserURL: "https://sepolia.basescan.org/", }, }, + { + chainId: 8453, + network: "base_mainnet", + urls: { + apiURL: "https://api.basescan.org/api", + browserURL: "https://basescan.org/", + }, + }, ], }, networks: { diff --git a/v1/lib/address.tools.ts b/v1/lib/address.tools.ts index 2de148e3a..147680715 100644 --- a/v1/lib/address.tools.ts +++ b/v1/lib/address.tools.ts @@ -67,6 +67,7 @@ export declare type ZetaProtocolMainNetwork = | "btc_mainnet" | "eth_mainnet" | "polygon_mainnet" + | "base_mainnet" | "zeta_mainnet"; export const zetaProtocolMainNetworks: ZetaProtocolMainNetwork[] = [ @@ -74,6 +75,7 @@ export const zetaProtocolMainNetworks: ZetaProtocolMainNetwork[] = [ "btc_mainnet", "eth_mainnet", "polygon_mainnet", + "base_mainnet", "zeta_mainnet", ]; diff --git a/v1/lib/contracts.constants.ts b/v1/lib/contracts.constants.ts index bdfa6066d..ee736cad3 100644 --- a/v1/lib/contracts.constants.ts +++ b/v1/lib/contracts.constants.ts @@ -12,6 +12,12 @@ const SALT_NUMBERS = { zetaERC20Custody: "0", zetaToken: "0", }, + base_mainnet: { + zetaConnector: "0", + zetaConsumer: "0", + zetaERC20Custody: "0", + zetaToken: "0", + }, baobab_testnet: { zetaConnector: "71733", zetaConsumer: "0", diff --git a/v1/package.json b/v1/package.json index f028cded7..159cb77bd 100644 --- a/v1/package.json +++ b/v1/package.json @@ -47,7 +47,7 @@ "ethereum-waffle": "^4.0.9", "ethereumjs-utils": "^5.2.5", "ethers": "5.6.8", - "hardhat": "^2.17.2", + "hardhat": "^2.22.12", "hardhat-abi-exporter": "^2.10.1", "hardhat-gas-reporter": "^1.0.9", "inquirer": "^8.2.4", @@ -89,5 +89,8 @@ "tsc:watch": "npx tsc --watch" }, "types": "./dist/lib/index.d.ts", - "version": "0.0.8" + "version": "0.0.8", + "dependencies": { + "chokidar": "^4.0.1" + } }