From d4206489118a97112a22253f8e018d00ed13d782 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 4 Jul 2024 12:37:49 +0200 Subject: [PATCH] Add addresses 1.3.0 for chain DODOCHAIN_TESTNET (#1200) * Add new chain 53457 * Add new explorer client URL: https://testnet-scan.dodochain.com/api/v1/graphql * Add new master copy address 0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552 * Add new master copy address 0x3E5c63644E683549055b9Be8653de26E0B4CD36E * Add new proxy address 0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2 --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- gnosis/eth/clients/blockscout_client.py | 1 + gnosis/eth/ethereum_network.py | 1 + gnosis/safe/addresses.py | 7 +++++++ 3 files changed, 9 insertions(+) diff --git a/gnosis/eth/clients/blockscout_client.py b/gnosis/eth/clients/blockscout_client.py index 5b2df2979..12a17942f 100644 --- a/gnosis/eth/clients/blockscout_client.py +++ b/gnosis/eth/clients/blockscout_client.py @@ -118,6 +118,7 @@ class BlockscoutClient: EthereumNetwork.LISK: "https://blockscout.lisk.com/api/v1/graphql", EthereumNetwork.OPEN_CAMPUS_CODEX: "https://opencampus-codex.blockscout.com/api/v1/graphql", EthereumNetwork.LORENZO: "https://scan.lorenzo-protocol.xyz/api/v1/graphql", + EthereumNetwork.DODOCHAIN_TESTNET: "https://testnet-scan.dodochain.com/api/v1/graphql", } def __init__(self, network: EthereumNetwork): diff --git a/gnosis/eth/ethereum_network.py b/gnosis/eth/ethereum_network.py index ad70d6631..99d933db0 100644 --- a/gnosis/eth/ethereum_network.py +++ b/gnosis/eth/ethereum_network.py @@ -932,6 +932,7 @@ class EthereumNetwork(Enum): LUMOZ_TESTNET_ALPHA = 51178 SARDIS_MAINNET = 51712 ELECTRONEUM_MAINNET = 52014 + DODOCHAIN_TESTNET = 53457 DFK_CHAIN = 53935 HAQQ_CHAIN_TESTNET = 54211 TORONET_TESTNET = 54321 diff --git a/gnosis/safe/addresses.py b/gnosis/safe/addresses.py index 47304e2e2..7b8c9ba7e 100644 --- a/gnosis/safe/addresses.py +++ b/gnosis/safe/addresses.py @@ -1567,6 +1567,10 @@ "1.4.1+L2", ), # v1.4.1+L2 ], + EthereumNetwork.DODOCHAIN_TESTNET: [ + ("0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552", 1649, "1.3.0"), # v1.3.0 + ("0x3E5c63644E683549055b9Be8653de26E0B4CD36E", 1648, "1.3.0+L2"), # v1.3.0+L2 + ], } PROXY_FACTORIES: Dict[EthereumNetwork, List[Tuple[str, int]]] = { @@ -2353,4 +2357,7 @@ EthereumNetwork.F_XCORE_MAINNET_NETWORK: [ ("0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67", 16088791), # v1.4.1 ], + EthereumNetwork.DODOCHAIN_TESTNET: [ + ("0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2", 1641), # v1.3.0 + ], }