@layerzerolabs/verify-contract 1.1.23 → 1.1.25
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 +12 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -44545,6 +44545,8 @@ var DEFAULT_SCAN_API_URLS = /* @__PURE__ */ new Map([
|
|
|
44545
44545
|
["fantom", "https://api.ftmscan.com/api"],
|
|
44546
44546
|
["fantom-mainnet", "https://api.ftmscan.com/api"],
|
|
44547
44547
|
["fantom-testnet", "https://api-testnet.ftmscan.com/api"],
|
|
44548
|
+
["flare", "https://api.routescan.io/v2/network/mainnet/evm/14/etherscan"],
|
|
44549
|
+
["flare-mainnet", "https://api.routescan.io/v2/network/mainnet/evm/14/etherscan"],
|
|
44548
44550
|
["fraxtal", "https://api.fraxscan.com/api"],
|
|
44549
44551
|
["fraxtal-mainnet", "https://api.fraxscan.com/api"],
|
|
44550
44552
|
["fuji", "https://api-testnet.snowtrace.io/api"],
|
|
@@ -44553,9 +44555,14 @@ var DEFAULT_SCAN_API_URLS = /* @__PURE__ */ new Map([
|
|
|
44553
44555
|
["gnosis-mainnet", "https://api.gnosisscan.io/api"],
|
|
44554
44556
|
["goerli", "https://api-goerli.etherscan.io/api"],
|
|
44555
44557
|
["goerli-mainnet", "https://api-goerli.etherscan.io/api"],
|
|
44558
|
+
["gravity", "https://explorer.gravity.xyz/api"],
|
|
44559
|
+
["gravity-mainnet", "https://explorer.gravity.xyz/api"],
|
|
44556
44560
|
["kava", "https://kavascan.com/api"],
|
|
44557
44561
|
["kava-mainnet", "https://kavascan.com/api"],
|
|
44558
44562
|
["kava-testnet", "https://testnet.kavascan.com/api"],
|
|
44563
|
+
["klaytn", "https://api-cypress.klaytnscope.com/api"],
|
|
44564
|
+
["klaytn-mainnet", "https://api-cypress.klaytnscope.com/api"],
|
|
44565
|
+
["klaytn-testnet", "https://api-baobab.klaytnscope.com/api"],
|
|
44559
44566
|
["linea", "https://api.lineascan.build/api"],
|
|
44560
44567
|
["linea-mainnet", "https://api.lineascan.build/api"],
|
|
44561
44568
|
["mantle", "https://explorer.mantle.xyz/api"],
|
|
@@ -44574,8 +44581,12 @@ var DEFAULT_SCAN_API_URLS = /* @__PURE__ */ new Map([
|
|
|
44574
44581
|
["optimism-mainnet", "https://api-optimistic.etherscan.io/api"],
|
|
44575
44582
|
["polygon", "https://api.polygonscan.com/api"],
|
|
44576
44583
|
["polygon-mainnet", "https://api.polygonscan.com/api"],
|
|
44584
|
+
["rarible", "https://mainnet.explorer.rarichain.org/api"],
|
|
44585
|
+
["rarible-mainnet", "https://mainnet.explorer.rarichain.org/api"],
|
|
44577
44586
|
["scroll", "https://api.scrollscan.com/api"],
|
|
44578
44587
|
["scroll-mainnet", "https://api.scrollscan.com/api"],
|
|
44588
|
+
["xchain", "https://xchain-explorer.idex.io/api"],
|
|
44589
|
+
["xchain-mainnet", "https://xchain-explorer.idex.io/api"],
|
|
44579
44590
|
["xlayer", "https://www.oklink.com/api/v5/explorer/contract/verify-source-code-plugin/XLAYER"],
|
|
44580
44591
|
["xlayer-mainnet", "https://www.oklink.com/api/v5/explorer/contract/verify-source-code-plugin/XLAYER"],
|
|
44581
44592
|
["zkconsensys", "https://api.lineascan.build/api"],
|
|
@@ -57078,7 +57089,7 @@ var verifyNonTarget = async (config, logger11) => {
|
|
|
57078
57089
|
const verificationArtifacts = config.contracts.flatMap((contract) => {
|
|
57079
57090
|
var _a;
|
|
57080
57091
|
const { address, network, contractName, deployment: deploymentPathOrBasename } = contract;
|
|
57081
|
-
logger11.info(`
|
|
57092
|
+
logger11.info(`Collecting information for contract ${contractName} on network ${network}`);
|
|
57082
57093
|
const networkConfig = networks[network];
|
|
57083
57094
|
if (networkConfig == null) {
|
|
57084
57095
|
logger11.info(`No network configured for contract ${contractName} on network ${network}`);
|