Skip to content

Commit 1ac8941

Browse files
authored
Merge pull request #1 from ZaneH/master
chore: add flags for base, gnosis, polygonzkevm
2 parents 94911af + 55429bf commit 1ac8941

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

crytic_compile/cryticparser/cryticparser.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,30 @@ def _init_etherscan(parser: ArgumentParser) -> None:
385385
default=DEFAULTS_FLAG_IN_CONFIG["etherscan_api_key"],
386386
)
387387

388+
group_etherscan.add_argument(
389+
"--base-apikey",
390+
help="Basescan API key.",
391+
action="store",
392+
dest="base_api_key",
393+
default=DEFAULTS_FLAG_IN_CONFIG["etherscan_api_key"],
394+
)
395+
396+
group_etherscan.add_argument(
397+
"--gno-apikey",
398+
help="Gnosisscan API key.",
399+
action="store",
400+
dest="gno_api_key",
401+
default=DEFAULTS_FLAG_IN_CONFIG["etherscan_api_key"],
402+
)
403+
404+
group_etherscan.add_argument(
405+
"--polyzk-apikey",
406+
help="zkEVM Polygonscan API key.",
407+
action="store",
408+
dest="polyzk_api_key",
409+
default=DEFAULTS_FLAG_IN_CONFIG["etherscan_api_key"],
410+
)
411+
388412
group_etherscan.add_argument(
389413
"--etherscan-export-directory",
390414
help="Directory in which to save the analyzed contracts.",

0 commit comments

Comments
 (0)