Skip to content

Commit

Permalink
feat: register cronos etherscan urls
Browse files Browse the repository at this point in the history
  • Loading branch information
the-amazing-ultraton authored and Uxio0 committed Sep 6, 2022
1 parent ed83837 commit fd7e1a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gnosis/eth/clients/etherscan_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ class EtherscanClient:
EthereumNetwork.OPTIMISTIC: "https://optimistic.etherscan.io",
EthereumNetwork.ARBITRUM: "https://arbiscan.io",
EthereumNetwork.AVALANCHE: "https://snowtrace.io",
EthereumNetwork.CRONOS_MAINNET: "https://cronoscan.com",
EthereumNetwork.CRONOS_TESTNET: "https://testnet.cronoscan.com",
}

NETWORK_WITH_API_URL = {
Expand All @@ -46,6 +48,8 @@ class EtherscanClient:
EthereumNetwork.OPTIMISTIC: "https://api-optimistic.etherscan.io",
EthereumNetwork.ARBITRUM: "https://api.arbiscan.io",
EthereumNetwork.AVALANCHE: "https://api.snowtrace.io",
EthereumNetwork.CRONOS_MAINNET: "https://api.cronoscan.com",
EthereumNetwork.CRONOS_TESTNET: "https://api-testnet.cronoscan.com",
}
HTTP_HEADERS = {
"User-Agent": "curl/7.77.0",
Expand Down

0 comments on commit fd7e1a8

Please sign in to comment.