From 4ecebe02be5fbe7990d654a1fa560256f74188c4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 10:48:58 +0100 Subject: [PATCH] Add addresses 1.3.0 for chain HASHKEY_CHAIN_TESTNET (#1467) * Add new explorer client URL: https://hashkeychain-testnet-explorer.alt.technology/api/v1/graphql * Add new master copy address 0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552 * Add new master copy address 0x3E5c63644E683549055b9Be8653de26E0B4CD36E * Add new proxy address 0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2 * Apply linter fixes --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- safe_eth/eth/clients/blockscout_client.py | 1 + safe_eth/safe/addresses.py | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/safe_eth/eth/clients/blockscout_client.py b/safe_eth/eth/clients/blockscout_client.py index bd584e39..ba4c9665 100644 --- a/safe_eth/eth/clients/blockscout_client.py +++ b/safe_eth/eth/clients/blockscout_client.py @@ -148,6 +148,7 @@ class BlockscoutClient: EthereumNetwork.PLUME_DEVNET: "https://test-explorer.plumenetwork.xyz/api/v1/graphql", EthereumNetwork.PLUME_MAINNET: "https://phoenix-explorer.plumenetwork.xyz/api/v1/graphql", EthereumNetwork.SWELL_NETWORK: "https://explorer.swellnetwork.io/api/v1/graphql", + EthereumNetwork.HASHKEY_CHAIN_TESTNET: "https://hashkeychain-testnet-explorer.alt.technology/api/v1/graphql", } def __init__(self, network: EthereumNetwork): diff --git a/safe_eth/safe/addresses.py b/safe_eth/safe/addresses.py index ec2407b7..f44e92dd 100644 --- a/safe_eth/safe/addresses.py +++ b/safe_eth/safe/addresses.py @@ -1987,6 +1987,14 @@ ("0x41675C099F32341bf84BFc5382aF534df5C7461a", 261807, "1.4.1"), # v1.4.1 ("0x29fcB43b46531BcA003ddC8FCB67FFE91900C762", 261813, "1.4.1+L2"), # v1.4.1+L2 ], + EthereumNetwork.HASHKEY_CHAIN_TESTNET: [ + ("0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552", 4795480, "1.3.0"), # v1.3.0 + ( + "0x3E5c63644E683549055b9Be8653de26E0B4CD36E", + 4795470, + "1.3.0+L2", + ), # v1.3.0+L2 + ], } PROXY_FACTORIES: Dict[EthereumNetwork, List[Tuple[str, int]]] = { @@ -2986,4 +2994,7 @@ ("0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC", 261536), # v1.3.0 ("0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67", 261762), # v1.4.1 ], + EthereumNetwork.HASHKEY_CHAIN_TESTNET: [ + ("0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2", 4795410), # v1.3.0 + ], }