|
51 | 51 | "base:": (".basescan.org", "basescan.org"),
|
52 | 52 | "gno:": (".gnosisscan.io", "gnosisscan.io"),
|
53 | 53 | "polyzk:": ("-zkevm.polygonscan.com", "zkevm.polygonscan.com"),
|
| 54 | + "blast:": (".blastscan.io", "blastscan.io"), |
54 | 55 | }
|
55 | 56 |
|
56 | 57 |
|
@@ -241,6 +242,7 @@ def compile(self, crytic_compile: "CryticCompile", **kwargs: str) -> None:
|
241 | 242 | base_api_key = kwargs.get("base_api_key", None)
|
242 | 243 | gno_api_key = kwargs.get("gno_api_key", None)
|
243 | 244 | polyzk_api_key = kwargs.get("polyzk_api_key", None)
|
| 245 | + blast_api_key = kwargs.get("blast_api_key", None) |
244 | 246 |
|
245 | 247 | export_dir = kwargs.get("export_dir", "crytic-export")
|
246 | 248 | export_dir = os.path.join(
|
@@ -280,6 +282,9 @@ def compile(self, crytic_compile: "CryticCompile", **kwargs: str) -> None:
|
280 | 282 | if polyzk_api_key and "zkevm" in etherscan_url:
|
281 | 283 | etherscan_url += f"&apikey={polyzk_api_key}"
|
282 | 284 | etherscan_bytecode_url += f"&apikey={polyzk_api_key}"
|
| 285 | + if blast_api_key and "blast" in etherscan_url: |
| 286 | + etherscan_url += f"&apikey={blast_api_key}" |
| 287 | + etherscan_bytecode_url += f"&apikey={blast_api_key}" |
283 | 288 |
|
284 | 289 | source_code: str = ""
|
285 | 290 | result: Dict[str, Union[bool, str, int]] = {}
|
|
0 commit comments