@layerzerolabs/verify-contract 1.1.24 → 1.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +2 -2
- package/dist/index.js +22 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +22 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -44526,6 +44526,10 @@ var DEFAULT_SCAN_API_URLS = /* @__PURE__ */ new Map([
|
|
|
44526
44526
|
["arbitrum", "https://api.arbiscan.io/api"],
|
|
44527
44527
|
["arbitrum-goerli", "https://api-goerli.arbiscan.io/api"],
|
|
44528
44528
|
["arbitrum-mainnet", "https://api.arbiscan.io/api"],
|
|
44529
|
+
["astar", "https://astar.blockscout.com/api"],
|
|
44530
|
+
["astar-mainnet", "https://astar.blockscout.com/api"],
|
|
44531
|
+
["aurora", "https://explorer.mainnet.aurora.dev/api"],
|
|
44532
|
+
["aurora-mainnet", "https://explorer.mainnet.aurora.dev/api"],
|
|
44529
44533
|
["avalanche", "https://api.snowtrace.io/api"],
|
|
44530
44534
|
["avalanche-mainnet", "https://api.snowtrace.io/api"],
|
|
44531
44535
|
["avalanche-testnet", "https://api-testnet.snowtrace.io/api"],
|
|
@@ -44537,6 +44541,8 @@ var DEFAULT_SCAN_API_URLS = /* @__PURE__ */ new Map([
|
|
|
44537
44541
|
["bsc", "https://api.bscscan.com/api"],
|
|
44538
44542
|
["bsc-mainnet", "https://api.bscscan.com/api"],
|
|
44539
44543
|
["bsc-testnet", "https://api-testnet.bscscan.com/api"],
|
|
44544
|
+
["ebi", "https://explorer.ebi.xyz/api"],
|
|
44545
|
+
["ebi-mainnet", "https://explorer.ebi.xyz/api"],
|
|
44540
44546
|
["ethereum", "https://api.etherscan.io/api"],
|
|
44541
44547
|
["ethereum-goerli", "https://api-goerli.etherscan.io/api"],
|
|
44542
44548
|
["ethereum-mainnet", "https://api.etherscan.io/api"],
|
|
@@ -44557,9 +44563,14 @@ var DEFAULT_SCAN_API_URLS = /* @__PURE__ */ new Map([
|
|
|
44557
44563
|
["goerli-mainnet", "https://api-goerli.etherscan.io/api"],
|
|
44558
44564
|
["gravity", "https://explorer.gravity.xyz/api"],
|
|
44559
44565
|
["gravity-mainnet", "https://explorer.gravity.xyz/api"],
|
|
44566
|
+
["iota", "https://explorer.evm.iota.org/api"],
|
|
44567
|
+
["iota-mainnet", "https://explorer.evm.iota.org/api"],
|
|
44560
44568
|
["kava", "https://kavascan.com/api"],
|
|
44561
44569
|
["kava-mainnet", "https://kavascan.com/api"],
|
|
44562
44570
|
["kava-testnet", "https://testnet.kavascan.com/api"],
|
|
44571
|
+
["klaytn", "https://api-cypress.klaytnscope.com/api"],
|
|
44572
|
+
["klaytn-mainnet", "https://api-cypress.klaytnscope.com/api"],
|
|
44573
|
+
["klaytn-testnet", "https://api-baobab.klaytnscope.com/api"],
|
|
44563
44574
|
["linea", "https://api.lineascan.build/api"],
|
|
44564
44575
|
["linea-mainnet", "https://api.lineascan.build/api"],
|
|
44565
44576
|
["mantle", "https://explorer.mantle.xyz/api"],
|
|
@@ -44573,15 +44584,25 @@ var DEFAULT_SCAN_API_URLS = /* @__PURE__ */ new Map([
|
|
|
44573
44584
|
["moonbeam", "https://api-moonbeam.moonscan.io/api"],
|
|
44574
44585
|
["moonbeam-mainnet", "https://api-moonbeam.moonscan.io/api"],
|
|
44575
44586
|
["moonbeam-testnet", "https://api-moonbase.moonscan.io/api"],
|
|
44587
|
+
["moonriver", "https://api-moonriver.moonscan.io/api"],
|
|
44588
|
+
["moonriver-mainnet", "https://api-moonriver.moonscan.io/api"],
|
|
44576
44589
|
["optimism", "https://api-optimistic.etherscan.io/api"],
|
|
44577
44590
|
["optimism-goerli", "https://api-goerli-optimistic.etherscan.io/api"],
|
|
44578
44591
|
["optimism-mainnet", "https://api-optimistic.etherscan.io/api"],
|
|
44579
44592
|
["polygon", "https://api.polygonscan.com/api"],
|
|
44580
44593
|
["polygon-mainnet", "https://api.polygonscan.com/api"],
|
|
44594
|
+
["rarible", "https://mainnet.explorer.rarichain.org/api"],
|
|
44595
|
+
["rarible-mainnet", "https://mainnet.explorer.rarichain.org/api"],
|
|
44581
44596
|
["scroll", "https://api.scrollscan.com/api"],
|
|
44582
44597
|
["scroll-mainnet", "https://api.scrollscan.com/api"],
|
|
44598
|
+
["taiko", "https://api.taikoscan.io/api"],
|
|
44599
|
+
["taiko-mainnet", "https://api.taikoscan.io/api"],
|
|
44600
|
+
["xchain", "https://xchain-explorer.idex.io/api"],
|
|
44601
|
+
["xchain-mainnet", "https://xchain-explorer.idex.io/api"],
|
|
44583
44602
|
["xlayer", "https://www.oklink.com/api/v5/explorer/contract/verify-source-code-plugin/XLAYER"],
|
|
44584
44603
|
["xlayer-mainnet", "https://www.oklink.com/api/v5/explorer/contract/verify-source-code-plugin/XLAYER"],
|
|
44604
|
+
["zkatana", "https://astar-zkevm.explorer.startale.com/api"],
|
|
44605
|
+
["zkatana-mainnet", "https://astar-zkevm.explorer.startale.com/api"],
|
|
44585
44606
|
["zkconsensys", "https://api.lineascan.build/api"],
|
|
44586
44607
|
["zkconsensys-mainnet", "https://api.lineascan.build/api"],
|
|
44587
44608
|
["zkpolygon", "https://api-zkevm.polygonscan.com/api"],
|
|
@@ -57082,7 +57103,7 @@ var verifyNonTarget = async (config, logger11) => {
|
|
|
57082
57103
|
const verificationArtifacts = config.contracts.flatMap((contract) => {
|
|
57083
57104
|
var _a;
|
|
57084
57105
|
const { address, network, contractName, deployment: deploymentPathOrBasename } = contract;
|
|
57085
|
-
logger11.info(`
|
|
57106
|
+
logger11.info(`Collecting information for contract ${contractName} on network ${network}`);
|
|
57086
57107
|
const networkConfig = networks[network];
|
|
57087
57108
|
if (networkConfig == null) {
|
|
57088
57109
|
logger11.info(`No network configured for contract ${contractName} on network ${network}`);
|