From 217bb946eaa8d187617f721aed9b0cba2bc06f6b Mon Sep 17 00:00:00 2001 From: Pascal Marco Caversaccio Date: Sat, 8 Jun 2024 17:18:58 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20Add=20Core,=20Telos,=20and=20Rootst?= =?UTF-8?q?ock=20Test=20and=20Main=20Network=20Deployments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pascal Marco Caversaccio --- README.md | 6 ++ package.json | 6 +- pnpm-lock.yaml | 195 ++++++++++++++++++------------------------------ src/networks.ts | 12 +++ 4 files changed, 92 insertions(+), 127 deletions(-) diff --git a/README.md b/README.md index a9a5a82..17deca3 100644 --- a/README.md +++ b/README.md @@ -222,6 +222,9 @@ The current available networks are: - `seiArcticTestnet` - `xlayerTestnet` - `bobTestnet` + - `coreTestnet` + - `telosTestnet` + - `rootstockTestnet` - **EVM-Based Production Networks:** - `ethMain` - `bscMain` @@ -260,6 +263,9 @@ The current available networks are: - `modeMain` - `xlayerMain` - `bobMain` + - `coreMain` + - `telosMain` + - `rootstockMain` > [!IMPORTANT] > Note that you must ensure that your deployment account has sufficient funds on **all** target networks. diff --git a/package.json b/package.json index 240741d..c7484e8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xdeployer", - "version": "3.0.11", + "version": "3.0.12", "description": "Hardhat plugin to deploy your smart contracts across multiple EVM chains with the same deterministic address.", "author": "Pascal Marco Caversaccio ", "license": "MIT", @@ -46,14 +46,14 @@ "@types/chai": "^4.3.16", "@types/fs-extra": "^11.0.4", "@types/mocha": "^10.0.6", - "@types/node": "^20.14.1", + "@types/node": "^20.14.2", "chai": "^4.4.1", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "ethers": "^6.13.0", "hardhat": "^2.22.5", "mocha": "^10.4.0", - "prettier": "^3.3.0", + "prettier": "^3.3.1", "prettier-plugin-solidity": "^1.3.1", "ts-node": "^10.9.2", "typescript": "^5.4.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0030a47..978474b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,7 +12,7 @@ importers: version: 9.4.0 "@nomicfoundation/hardhat-ethers": specifier: ^3.0.6 - version: 3.0.6(ethers@6.13.0)(hardhat@2.22.5(ts-node@10.9.2(@types/node@20.14.1)(typescript@5.4.5))(typescript@5.4.5)) + version: 3.0.6(ethers@6.13.0)(hardhat@2.22.5(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5)) "@types/chai": specifier: ^4.3.16 version: 4.3.16 @@ -23,8 +23,8 @@ importers: specifier: ^10.0.6 version: 10.0.6 "@types/node": - specifier: ^20.14.1 - version: 20.14.1 + specifier: ^20.14.2 + version: 20.14.2 chai: specifier: ^4.4.1 version: 4.4.1 @@ -39,19 +39,19 @@ importers: version: 6.13.0 hardhat: specifier: ^2.22.5 - version: 2.22.5(ts-node@10.9.2(@types/node@20.14.1)(typescript@5.4.5))(typescript@5.4.5) + version: 2.22.5(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5) mocha: specifier: ^10.4.0 version: 10.4.0 prettier: - specifier: ^3.3.0 - version: 3.3.0 + specifier: ^3.3.1 + version: 3.3.1 prettier-plugin-solidity: specifier: ^1.3.1 - version: 1.3.1(prettier@3.3.0) + version: 1.3.1(prettier@3.3.1) ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@20.14.1)(typescript@5.4.5) + version: 10.9.2(@types/node@20.14.2)(typescript@5.4.5) typescript: specifier: ^5.4.5 version: 5.4.5 @@ -420,100 +420,59 @@ packages: ethers: ^6.1.0 hardhat: ^2.0.0 - "@nomicfoundation/solidity-analyzer-darwin-arm64@0.1.1": + "@nomicfoundation/solidity-analyzer-darwin-arm64@0.1.2": resolution: { - integrity: sha512-KcTodaQw8ivDZyF+D76FokN/HdpgGpfjc/gFCImdLUyqB6eSWVaZPazMbeAjmfhx3R0zm/NYVzxwAokFKgrc0w==, + integrity: sha512-JaqcWPDZENCvm++lFFGjrDd8mxtf+CtLd2MiXvMNTBD33dContTZ9TWETwNFwg7JTJT5Q9HEecH7FA+HTSsIUw==, } - engines: { node: ">= 10" } - cpu: [arm64] - os: [darwin] - - "@nomicfoundation/solidity-analyzer-darwin-x64@0.1.1": - resolution: - { - integrity: sha512-XhQG4BaJE6cIbjAVtzGOGbK3sn1BO9W29uhk9J8y8fZF1DYz0Doj8QDMfpMu+A6TjPDs61lbsmeYodIDnfveSA==, - } - engines: { node: ">= 10" } - cpu: [x64] - os: [darwin] - - "@nomicfoundation/solidity-analyzer-freebsd-x64@0.1.1": - resolution: - { - integrity: sha512-GHF1VKRdHW3G8CndkwdaeLkVBi5A9u2jwtlS7SLhBc8b5U/GcoL39Q+1CSO3hYqePNP+eV5YI7Zgm0ea6kMHoA==, - } - engines: { node: ">= 10" } - cpu: [x64] - os: [freebsd] - - "@nomicfoundation/solidity-analyzer-linux-arm64-gnu@0.1.1": - resolution: - { - integrity: sha512-g4Cv2fO37ZsUENQ2vwPnZc2zRenHyAxHcyBjKcjaSmmkKrFr64yvzeNO8S3GBFCo90rfochLs99wFVGT/0owpg==, - } - engines: { node: ">= 10" } - cpu: [arm64] - os: [linux] + engines: { node: ">= 12" } - "@nomicfoundation/solidity-analyzer-linux-arm64-musl@0.1.1": + "@nomicfoundation/solidity-analyzer-darwin-x64@0.1.2": resolution: { - integrity: sha512-WJ3CE5Oek25OGE3WwzK7oaopY8xMw9Lhb0mlYuJl/maZVo+WtP36XoQTb7bW/i8aAdHW5Z+BqrHMux23pvxG3w==, + integrity: sha512-fZNmVztrSXC03e9RONBT+CiksSeYcxI1wlzqyr0L7hsQlK1fzV+f04g2JtQ1c/Fe74ZwdV6aQBdd6Uwl1052sw==, } - engines: { node: ">= 10" } - cpu: [arm64] - os: [linux] + engines: { node: ">= 12" } - "@nomicfoundation/solidity-analyzer-linux-x64-gnu@0.1.1": + "@nomicfoundation/solidity-analyzer-linux-arm64-gnu@0.1.2": resolution: { - integrity: sha512-5WN7leSr5fkUBBjE4f3wKENUy9HQStu7HmWqbtknfXkkil+eNWiBV275IOlpXku7v3uLsXTOKpnnGHJYI2qsdA==, + integrity: sha512-3d54oc+9ZVBuB6nbp8wHylk4xh0N0Gc+bk+/uJae+rUgbOBwQSfuGIbAZt1wBXs5REkSmynEGcqx6DutoK0tPA==, } - engines: { node: ">= 10" } - cpu: [x64] - os: [linux] + engines: { node: ">= 12" } - "@nomicfoundation/solidity-analyzer-linux-x64-musl@0.1.1": + "@nomicfoundation/solidity-analyzer-linux-arm64-musl@0.1.2": resolution: { - integrity: sha512-KdYMkJOq0SYPQMmErv/63CwGwMm5XHenEna9X9aB8mQmhDBrYrlAOSsIPgFCUSL0hjxE3xHP65/EPXR/InD2+w==, + integrity: sha512-iDJfR2qf55vgsg7BtJa7iPiFAsYf2d0Tv/0B+vhtnI16+wfQeTbP7teookbGvAo0eJo7aLLm0xfS/GTkvHIucA==, } - engines: { node: ">= 10" } - cpu: [x64] - os: [linux] + engines: { node: ">= 12" } - "@nomicfoundation/solidity-analyzer-win32-arm64-msvc@0.1.1": + "@nomicfoundation/solidity-analyzer-linux-x64-gnu@0.1.2": resolution: { - integrity: sha512-VFZASBfl4qiBYwW5xeY20exWhmv6ww9sWu/krWSesv3q5hA0o1JuzmPHR4LPN6SUZj5vcqci0O6JOL8BPw+APg==, + integrity: sha512-9dlHMAt5/2cpWyuJ9fQNOUXFB/vgSFORg1jpjX1Mh9hJ/MfZXlDdHQ+DpFCs32Zk5pxRBb07yGvSHk9/fezL+g==, } - engines: { node: ">= 10" } - cpu: [arm64] - os: [win32] + engines: { node: ">= 12" } - "@nomicfoundation/solidity-analyzer-win32-ia32-msvc@0.1.1": + "@nomicfoundation/solidity-analyzer-linux-x64-musl@0.1.2": resolution: { - integrity: sha512-JnFkYuyCSA70j6Si6cS1A9Gh1aHTEb8kOTBApp/c7NRTFGNMH8eaInKlyuuiIbvYFhlXW4LicqyYuWNNq9hkpQ==, + integrity: sha512-GzzVeeJob3lfrSlDKQw2bRJ8rBf6mEYaWY+gW0JnTDHINA0s2gPR4km5RLIj1xeZZOYz4zRw+AEeYgLRqB2NXg==, } - engines: { node: ">= 10" } - cpu: [ia32] - os: [win32] + engines: { node: ">= 12" } - "@nomicfoundation/solidity-analyzer-win32-x64-msvc@0.1.1": + "@nomicfoundation/solidity-analyzer-win32-x64-msvc@0.1.2": resolution: { - integrity: sha512-HrVJr6+WjIXGnw3Q9u6KQcbZCtk0caVWhCdFADySvRyUxJ8PnzlaP+MhwNE8oyT8OZ6ejHBRrrgjSqDCFXGirw==, + integrity: sha512-Fdjli4DCcFHb4Zgsz0uEJXZ2K7VEO+w5KVv7HmT7WO10iODdU9csC2az4jrhEsRtiR9Gfd74FlG0NYlw1BMdyA==, } - engines: { node: ">= 10" } - cpu: [x64] - os: [win32] + engines: { node: ">= 12" } - "@nomicfoundation/solidity-analyzer@0.1.1": + "@nomicfoundation/solidity-analyzer@0.1.2": resolution: { - integrity: sha512-1LMtXj1puAxyFusBgUIy5pZk3073cNXYnXUpuNKFghHbIit/xZgbk0AokpUADbNm3gyD6bFWl3LRFh3dhVdREg==, + integrity: sha512-q4n32/FNKIhQ3zQGGw5CvPF6GTvDCpYwIf7bEY/dZTZbgfDsHyjJwURxUJf3VQuuJj+fDIFl4+KkBVbw4Ef6jA==, } engines: { node: ">= 12" } @@ -662,10 +621,10 @@ packages: integrity: sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==, } - "@types/node@20.14.1": + "@types/node@20.14.2": resolution: { - integrity: sha512-T2MzSGEu+ysB/FkWfqmhV3PLyQlowdptmmgD20C6QxsS8Fmv5SjpZ1ayXaEC0S21/h5UJ9iA6W/5vSNU5l00OA==, + integrity: sha512-xyu6WAMVwv6AKFLB+e/7ySZVr/0zLCzOa7rSpq6jNwpqOrUbcACDWC+53d4n2QHOnDou0fbIsg8wZu/sxrnI4Q==, } "@types/pbkdf2@3.1.2": @@ -1209,10 +1168,10 @@ packages: } engines: { node: ">=10" } - deep-eql@4.1.3: + deep-eql@4.1.4: resolution: { - integrity: sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==, + integrity: sha512-SUwdGfqdKOwxCPeVYjwSyRpJ7Z+fhpwIAtmCUdZIWZ/YP5R9WAsyuSgpLVDi9bjWoN2LXHNss/dk3urXtdQxGg==, } engines: { node: ">=6" } @@ -2206,10 +2165,10 @@ packages: peerDependencies: prettier: ">=2.3.0" - prettier@3.3.0: + prettier@3.3.1: resolution: { - integrity: sha512-J9odKxERhCQ10OC2yb93583f6UnYutOeiV5i0zEDS7UGTdUt0u+y8erxl3lBKvwo/JHyyoEdXjwp4dke9oyZ/g==, + integrity: sha512-7CAwy5dRsxs8PHXT3twixW9/OEll8MLE0VRPCJyl7CkS6VHGPSlsVaWTiASPTyGyYRyApxlaWTzwUxVNrhcwDg==, } engines: { node: ">=14" } hasBin: true @@ -3068,57 +3027,45 @@ snapshots: "@nomicfoundation/ethereumjs-rlp": 5.0.4 ethereum-cryptography: 0.1.3 - "@nomicfoundation/hardhat-ethers@3.0.6(ethers@6.13.0)(hardhat@2.22.5(ts-node@10.9.2(@types/node@20.14.1)(typescript@5.4.5))(typescript@5.4.5))": + "@nomicfoundation/hardhat-ethers@3.0.6(ethers@6.13.0)(hardhat@2.22.5(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5))": dependencies: debug: 4.3.5 ethers: 6.13.0 - hardhat: 2.22.5(ts-node@10.9.2(@types/node@20.14.1)(typescript@5.4.5))(typescript@5.4.5) + hardhat: 2.22.5(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5) lodash.isequal: 4.5.0 transitivePeerDependencies: - supports-color - "@nomicfoundation/solidity-analyzer-darwin-arm64@0.1.1": - optional: true - - "@nomicfoundation/solidity-analyzer-darwin-x64@0.1.1": - optional: true - - "@nomicfoundation/solidity-analyzer-freebsd-x64@0.1.1": - optional: true - - "@nomicfoundation/solidity-analyzer-linux-arm64-gnu@0.1.1": + "@nomicfoundation/solidity-analyzer-darwin-arm64@0.1.2": optional: true - "@nomicfoundation/solidity-analyzer-linux-arm64-musl@0.1.1": + "@nomicfoundation/solidity-analyzer-darwin-x64@0.1.2": optional: true - "@nomicfoundation/solidity-analyzer-linux-x64-gnu@0.1.1": + "@nomicfoundation/solidity-analyzer-linux-arm64-gnu@0.1.2": optional: true - "@nomicfoundation/solidity-analyzer-linux-x64-musl@0.1.1": + "@nomicfoundation/solidity-analyzer-linux-arm64-musl@0.1.2": optional: true - "@nomicfoundation/solidity-analyzer-win32-arm64-msvc@0.1.1": + "@nomicfoundation/solidity-analyzer-linux-x64-gnu@0.1.2": optional: true - "@nomicfoundation/solidity-analyzer-win32-ia32-msvc@0.1.1": + "@nomicfoundation/solidity-analyzer-linux-x64-musl@0.1.2": optional: true - "@nomicfoundation/solidity-analyzer-win32-x64-msvc@0.1.1": + "@nomicfoundation/solidity-analyzer-win32-x64-msvc@0.1.2": optional: true - "@nomicfoundation/solidity-analyzer@0.1.1": + "@nomicfoundation/solidity-analyzer@0.1.2": optionalDependencies: - "@nomicfoundation/solidity-analyzer-darwin-arm64": 0.1.1 - "@nomicfoundation/solidity-analyzer-darwin-x64": 0.1.1 - "@nomicfoundation/solidity-analyzer-freebsd-x64": 0.1.1 - "@nomicfoundation/solidity-analyzer-linux-arm64-gnu": 0.1.1 - "@nomicfoundation/solidity-analyzer-linux-arm64-musl": 0.1.1 - "@nomicfoundation/solidity-analyzer-linux-x64-gnu": 0.1.1 - "@nomicfoundation/solidity-analyzer-linux-x64-musl": 0.1.1 - "@nomicfoundation/solidity-analyzer-win32-arm64-msvc": 0.1.1 - "@nomicfoundation/solidity-analyzer-win32-ia32-msvc": 0.1.1 - "@nomicfoundation/solidity-analyzer-win32-x64-msvc": 0.1.1 + "@nomicfoundation/solidity-analyzer-darwin-arm64": 0.1.2 + "@nomicfoundation/solidity-analyzer-darwin-x64": 0.1.2 + "@nomicfoundation/solidity-analyzer-linux-arm64-gnu": 0.1.2 + "@nomicfoundation/solidity-analyzer-linux-arm64-musl": 0.1.2 + "@nomicfoundation/solidity-analyzer-linux-x64-gnu": 0.1.2 + "@nomicfoundation/solidity-analyzer-linux-x64-musl": 0.1.2 + "@nomicfoundation/solidity-analyzer-win32-x64-msvc": 0.1.2 "@scure/base@1.1.6": {} @@ -3194,22 +3141,22 @@ snapshots: "@types/bn.js@4.11.6": dependencies: - "@types/node": 20.14.1 + "@types/node": 20.14.2 "@types/bn.js@5.1.5": dependencies: - "@types/node": 20.14.1 + "@types/node": 20.14.2 "@types/chai@4.3.16": {} "@types/fs-extra@11.0.4": dependencies: "@types/jsonfile": 6.1.4 - "@types/node": 20.14.1 + "@types/node": 20.14.2 "@types/jsonfile@6.1.4": dependencies: - "@types/node": 20.14.1 + "@types/node": 20.14.2 "@types/lru-cache@5.1.1": {} @@ -3217,17 +3164,17 @@ snapshots: "@types/node@18.15.13": {} - "@types/node@20.14.1": + "@types/node@20.14.2": dependencies: undici-types: 5.26.5 "@types/pbkdf2@3.1.2": dependencies: - "@types/node": 20.14.1 + "@types/node": 20.14.2 "@types/secp256k1@4.0.6": dependencies: - "@types/node": 20.14.1 + "@types/node": 20.14.2 "@typescript-eslint/eslint-plugin@7.12.0(@typescript-eslint/parser@7.12.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5)": dependencies: @@ -3452,7 +3399,7 @@ snapshots: dependencies: assertion-error: 1.1.0 check-error: 1.0.3 - deep-eql: 4.1.3 + deep-eql: 4.1.4 get-func-name: 2.0.2 loupe: 2.3.7 pathval: 1.1.1 @@ -3571,7 +3518,7 @@ snapshots: decamelize@4.0.0: {} - deep-eql@4.1.3: + deep-eql@4.1.4: dependencies: type-detect: 4.0.8 @@ -3886,7 +3833,7 @@ snapshots: graphemer@1.4.0: {} - hardhat@2.22.5(ts-node@10.9.2(@types/node@20.14.1)(typescript@5.4.5))(typescript@5.4.5): + hardhat@2.22.5(ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5))(typescript@5.4.5): dependencies: "@ethersproject/abi": 5.7.0 "@metamask/eth-sig-util": 4.0.1 @@ -3894,7 +3841,7 @@ snapshots: "@nomicfoundation/ethereumjs-common": 4.0.4 "@nomicfoundation/ethereumjs-tx": 5.0.4 "@nomicfoundation/ethereumjs-util": 9.0.4 - "@nomicfoundation/solidity-analyzer": 0.1.1 + "@nomicfoundation/solidity-analyzer": 0.1.2 "@sentry/node": 5.30.0 "@types/bn.js": 5.1.5 "@types/lru-cache": 5.1.1 @@ -3932,7 +3879,7 @@ snapshots: uuid: 8.3.2 ws: 7.5.9 optionalDependencies: - ts-node: 10.9.2(@types/node@20.14.1)(typescript@5.4.5) + ts-node: 10.9.2(@types/node@20.14.2)(typescript@5.4.5) typescript: 5.4.5 transitivePeerDependencies: - bufferutil @@ -4236,14 +4183,14 @@ snapshots: prelude-ls@1.2.1: {} - prettier-plugin-solidity@1.3.1(prettier@3.3.0): + prettier-plugin-solidity@1.3.1(prettier@3.3.1): dependencies: "@solidity-parser/parser": 0.17.0 - prettier: 3.3.0 + prettier: 3.3.1 semver: 7.6.2 solidity-comments-extractor: 0.0.8 - prettier@3.3.0: {} + prettier@3.3.1: {} punycode@2.3.1: {} @@ -4419,14 +4366,14 @@ snapshots: dependencies: typescript: 5.4.5 - ts-node@10.9.2(@types/node@20.14.1)(typescript@5.4.5): + ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5): dependencies: "@cspotcode/source-map-support": 0.8.1 "@tsconfig/node10": 1.0.11 "@tsconfig/node12": 1.0.11 "@tsconfig/node14": 1.0.3 "@tsconfig/node16": 1.0.4 - "@types/node": 20.14.1 + "@types/node": 20.14.2 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 diff --git a/src/networks.ts b/src/networks.ts index 9e7d3a8..8e3c1bb 100644 --- a/src/networks.ts +++ b/src/networks.ts @@ -38,6 +38,9 @@ export const networks = [ "seiArcticTestnet", "xlayerTestnet", "bobTestnet", + "coreTestnet", + "telosTestnet", + "rootstockTestnet", "ethMain", "bscMain", "optimismMain", @@ -75,6 +78,9 @@ export const networks = [ "modeMain", "xlayerMain", "bobMain", + "coreMain", + "telosMain", + "rootstockMain", ]; // List of block explorers, in the same order as `networks` @@ -117,6 +123,9 @@ export const explorers = [ "https://seistream.app/", "https://www.oklink.com/xlayer-test/", "https://testnet-explorer.gobob.xyz/", + "https://scan.test.btcs.network/", + "https://testnet.teloscan.io/", + "https://rootstock-testnet.blockscout.com/", "https://etherscan.io/", "https://bscscan.com/", "https://optimistic.etherscan.io/", @@ -154,4 +163,7 @@ export const explorers = [ "https://explorer.mode.network/", "https://www.oklink.com/xlayer/", "https://explorer.gobob.xyz/", + "https://scan.coredao.org/", + "https://www.teloscan.io/", + "https://rootstock.blockscout.com/", ];