From f573b4d31dd5539efb9dcaf9e67fa43c694f1df8 Mon Sep 17 00:00:00 2001 From: Guille <106994129+the-amazing-ultraton@users.noreply.github.com> Date: Fri, 16 Sep 2022 15:49:26 -0300 Subject: [PATCH] feat: register moonbeam, moonriver, and moonbase etherscan urls (#350) --- gnosis/eth/clients/etherscan_client.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnosis/eth/clients/etherscan_client.py b/gnosis/eth/clients/etherscan_client.py index 7a5adbf4a..4766bbe63 100644 --- a/gnosis/eth/clients/etherscan_client.py +++ b/gnosis/eth/clients/etherscan_client.py @@ -33,6 +33,9 @@ class EtherscanClient: EthereumNetwork.OPTIMISTIC: "https://optimistic.etherscan.io", EthereumNetwork.ARBITRUM: "https://arbiscan.io", EthereumNetwork.AVALANCHE: "https://snowtrace.io", + EthereumNetwork.MOON_MOONBEAM: "https://moonscan.io", + EthereumNetwork.MOON_MOONRIVER: "https://moonriver.moonscan.io", + EthereumNetwork.MOON_MOONBASE: "https://moonbase.moonscan.io", EthereumNetwork.CRONOS_MAINNET: "https://cronoscan.com", EthereumNetwork.CRONOS_TESTNET: "https://testnet.cronoscan.com", } @@ -48,6 +51,9 @@ class EtherscanClient: EthereumNetwork.OPTIMISTIC: "https://api-optimistic.etherscan.io", EthereumNetwork.ARBITRUM: "https://api.arbiscan.io", EthereumNetwork.AVALANCHE: "https://api.snowtrace.io", + EthereumNetwork.MOON_MOONBEAM: "https://api-moonbeam.moonscan.io", + EthereumNetwork.MOON_MOONRIVER: "https://api-moonriver.moonscan.io", + EthereumNetwork.MOON_MOONBASE: "https://api-moonbase.moonscan.io", EthereumNetwork.CRONOS_MAINNET: "https://api.cronoscan.com", EthereumNetwork.CRONOS_TESTNET: "https://api-testnet.cronoscan.com", }