Skip to content

Commit

Permalink
Add WEMIX3.0 Mainnet & Testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
comverser committed Mar 30, 2023
1 parent 1740539 commit c1f7b64
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gnosis/eth/clients/etherscan_client.py
Expand Up @@ -43,6 +43,8 @@ class EtherscanClient:
EthereumNetwork.CELO_MAINNET: "https://celoscan.io",
EthereumNetwork.BASE_GOERLI_TESTNET: "https://goerli.basescan.org",
EthereumNetwork.NEON_EVM_DEVNET: "https://neonscan.org",
EthereumNetwork.WEMIX3_0_MAINNET: "https://explorer.wemix.com",
EthereumNetwork.WEMIX3_0_TESTNET: "https://explorer.test.wemix.com",
}

NETWORK_WITH_API_URL = {
Expand All @@ -66,6 +68,8 @@ class EtherscanClient:
EthereumNetwork.CELO_MAINNET: "https://api.celoscan.io",
EthereumNetwork.BASE_GOERLI_TESTNET: "https://api-goerli.basescan.org",
EthereumNetwork.NEON_EVM_DEVNET: "https://devnet-api.neonscan.org",
EthereumNetwork.WEMIX3_0_MAINNET: "https://api.wemix.com",
EthereumNetwork.WEMIX3_0_TESTNET: "https://api.test.wemix.com",
}
HTTP_HEADERS = {
"User-Agent": "curl/7.77.0",
Expand Down
14 changes: 14 additions & 0 deletions gnosis/safe/addresses.py
Expand Up @@ -264,6 +264,14 @@
("0x3E5c63644E683549055b9Be8653de26E0B4CD36E", 28314790, "1.3.0+L2"),
("0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552", 28314796, "1.3.0"),
],
EthereumNetwork.WEMIX3_0_MAINNET: [
("0xfb1bffC9d739B8D520DaF37dF666da4C687191EA", 12651754, "1.3.0+L2"),
("0x69f4D1788e39c87893C980c06EdF4b7f686e2938", 12651757, "1.3.0"),
],
EthereumNetwork.WEMIX3_0_TESTNET: [
("0xfb1bffC9d739B8D520DaF37dF666da4C687191EA", 20834033, "1.3.0+L2"),
("0x69f4D1788e39c87893C980c06EdF4b7f686e2938", 20834039, "1.3.0"),
],
}

PROXY_FACTORIES: Dict[EthereumNetwork, List[Tuple[str, int]]] = {
Expand Down Expand Up @@ -457,4 +465,10 @@
EthereumNetwork.CROSSBELL: [
("0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2", 28314747), # v1.3.0
],
EthereumNetwork.WEMIX3_0_MAINNET: [
("0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC", 12651730), # v1.3.0
],
EthereumNetwork.WEMIX3_0_TESTNET: [
("0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC", 20833988), # v1.3.0
],
}

0 comments on commit c1f7b64

Please sign in to comment.