Skip to content

Commit

Permalink
Fix url for Gnosis Chain blockscout
Browse files Browse the repository at this point in the history
- Add Gnosis Chain etherscan url
  • Loading branch information
Uxio0 committed Jul 7, 2023
1 parent 966de80 commit 72e04cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gnosis/eth/clients/blockscout_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class BlockScoutConfigurationProblem(BlockscoutClientException):

class BlockscoutClient:
NETWORK_WITH_URL = {
EthereumNetwork.GNOSIS: "https://blockscout.com/poa/xdai/",
EthereumNetwork.GNOSIS: "https://gnosis.blockscout.com/graphiql",
EthereumNetwork.POLYGON: "https://polygon-explorer-mainnet.chainstacklabs.com/",
EthereumNetwork.MUMBAI: "https://polygon-explorer-mumbai.chainstacklabs.com/",
EthereumNetwork.ENERGY_WEB_CHAIN: "https://explorer.energyweb.org/",
Expand Down
2 changes: 2 additions & 0 deletions gnosis/eth/clients/etherscan_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class EtherscanClient:
EthereumNetwork.ARBITRUM_NOVA: "https://nova.arbiscan.io",
EthereumNetwork.ARBITRUM_GOERLI: "https://goerli.arbiscan.io",
EthereumNetwork.AVALANCHE_C_CHAIN: "https://snowtrace.io",
EthereumNetwork.GNOSIS: "https://gnosisscan.io",
EthereumNetwork.MOONBEAM: "https://moonscan.io",
EthereumNetwork.MOONRIVER: "https://moonriver.moonscan.io",
EthereumNetwork.MOONBASE_ALPHA: "https://moonbase.moonscan.io",
Expand All @@ -61,6 +62,7 @@ class EtherscanClient:
EthereumNetwork.ARBITRUM_NOVA: "https://api-nova.arbiscan.io",
EthereumNetwork.ARBITRUM_GOERLI: "https://api-goerli.arbiscan.io",
EthereumNetwork.AVALANCHE_C_CHAIN: "https://api.snowtrace.io",
EthereumNetwork.GNOSIS: "https://api.gnosisscan.io",
EthereumNetwork.MOONBEAM: "https://api-moonbeam.moonscan.io",
EthereumNetwork.MOONRIVER: "https://api-moonriver.moonscan.io",
EthereumNetwork.MOONBASE_ALPHA: "https://api-moonbase.moonscan.io",
Expand Down

0 comments on commit 72e04cb

Please sign in to comment.