Skip to content

Commit f573b4d

Browse files
feat: register moonbeam, moonriver, and moonbase etherscan urls (safe-global#350)
1 parent 9865a0f commit f573b4d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

gnosis/eth/clients/etherscan_client.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ class EtherscanClient:
3333
EthereumNetwork.OPTIMISTIC: "https://optimistic.etherscan.io",
3434
EthereumNetwork.ARBITRUM: "https://arbiscan.io",
3535
EthereumNetwork.AVALANCHE: "https://snowtrace.io",
36+
EthereumNetwork.MOON_MOONBEAM: "https://moonscan.io",
37+
EthereumNetwork.MOON_MOONRIVER: "https://moonriver.moonscan.io",
38+
EthereumNetwork.MOON_MOONBASE: "https://moonbase.moonscan.io",
3639
EthereumNetwork.CRONOS_MAINNET: "https://cronoscan.com",
3740
EthereumNetwork.CRONOS_TESTNET: "https://testnet.cronoscan.com",
3841
}
@@ -48,6 +51,9 @@ class EtherscanClient:
4851
EthereumNetwork.OPTIMISTIC: "https://api-optimistic.etherscan.io",
4952
EthereumNetwork.ARBITRUM: "https://api.arbiscan.io",
5053
EthereumNetwork.AVALANCHE: "https://api.snowtrace.io",
54+
EthereumNetwork.MOON_MOONBEAM: "https://api-moonbeam.moonscan.io",
55+
EthereumNetwork.MOON_MOONRIVER: "https://api-moonriver.moonscan.io",
56+
EthereumNetwork.MOON_MOONBASE: "https://api-moonbase.moonscan.io",
5157
EthereumNetwork.CRONOS_MAINNET: "https://api.cronoscan.com",
5258
EthereumNetwork.CRONOS_TESTNET: "https://api-testnet.cronoscan.com",
5359
}

0 commit comments

Comments
 (0)