Skip to content

Commit

Permalink
Add PGN Mainnet, PGN Testnet, Arthera Testnet 1.3.0 and 1.4.1 contrac…
Browse files Browse the repository at this point in the history
…ts (#682)


---------

Co-authored-by: Sophia <[email protected]>
  • Loading branch information
bertux and sodofi authored Dec 12, 2023
1 parent e7841a9 commit 981485f
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gnosis/eth/clients/blockscout_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ class BlockscoutClient:
EthereumNetwork.CRONOS_TESTNET: "https://cronos.org/explorer/testnet3/graphiql",
EthereumNetwork.THUNDERCORE_MAINNET: "https://explorer-mainnet.thundercore.com/graphiql",
EthereumNetwork.THUNDERCORE_TESTNET: "https://explorer-testnet.thundercore.com/graphiql",
EthereumNetwork.PGN_MAINNET: "https://explorer.publicgoods.network/graphiql",
EthereumNetwork.PGN_TESTNET: "https://explorer.sepolia.publicgoods.network/graphiql",
EthereumNetwork.ARTHERA_TESTNET: "https://explorer-test.arthera.net/graphiql",
}

def __init__(self, network: EthereumNetwork):
Expand Down
3 changes: 3 additions & 0 deletions gnosis/eth/ethereum_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ class EthereumNetwork(Enum):
HYPERONCHAIN_TESTNET = 400
SX_NETWORK_MAINNET = 416
OPTIMISM_GOERLI_TESTNET = 420
PGN_MAINNET = 424
ZEETH_CHAIN = 427
RUPAYA = 499
CAMINO_C_CHAIN = 500
Expand Down Expand Up @@ -476,6 +477,7 @@ class EthereumNetwork(Enum):
SJATSH = 10086
BLOCKCHAIN_GENESIS_MAINNET = 10101
CHIADO_TESTNET = 10200
ARTHERA_TESTNET = 10243
_0XTADE = 10248
NUMBERS_MAINNET = 10507
NUMBERS_TESTNET = 10508
Expand Down Expand Up @@ -561,6 +563,7 @@ class EthereumNetwork(Enum):
REI_CHAIN_MAINNET = 55555
REI_CHAIN_TESTNET = 55556
BOBA_BNB_MAINNET = 56288
PGN_TESTNET = 58008
LINEA_TESTNET = 59140
LINEA = 59144
THINKIUM_TESTNET_CHAIN_0 = 60000
Expand Down
24 changes: 24 additions & 0 deletions gnosis/safe/addresses.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,20 @@
("0x3E5c63644E683549055b9Be8653de26E0B4CD36E", 194005796, "1.3.0+L2"),
("0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552", 194005824, "1.3.0"),
],
EthereumNetwork.PGN_MAINNET: [
("0x3E5c63644E683549055b9Be8653de26E0B4CD36E", 344345, "1.3.0+L2"),
("0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552", 344348, "1.3.0"),
],
EthereumNetwork.PGN_TESTNET: [
("0x3E5c63644E683549055b9Be8653de26E0B4CD36E", 1774114, "1.3.0+L2"),
("0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552", 1774116, "1.3.0"),
],
EthereumNetwork.ARTHERA_TESTNET: [
("0x29fcB43b46531BcA003ddC8FCB67FFE91900C762", 4186405, "1.4.1+L2"),
("0x41675C099F32341bf84BFc5382aF534df5C7461a", 4186415, "1.4.1"),
("0xfb1bffC9d739B8D520DaF37dF666da4C687191EA", 119967, "1.3.0+L2"),
("0x69f4D1788e39c87893C980c06EdF4b7f686e2938", 119968, "1.3.0"),
],
}

PROXY_FACTORIES: Dict[EthereumNetwork, List[Tuple[str, int]]] = {
Expand Down Expand Up @@ -1060,4 +1074,14 @@
EthereumNetwork.TELOS_EVM_TESTNET: [
("0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2", 194005709), # v1.3.0
],
EthereumNetwork.PGN_MAINNET: [
("0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2", 344314), # v1.3.0
],
EthereumNetwork.PGN_TESTNET: [
("0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2", 1774097), # v1.3.0
],
EthereumNetwork.ARTHERA_TESTNET: [
("0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67", 4186337), # v1.4.1
("0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC", 119959), # v1.3.0
],
}

0 comments on commit 981485f

Please sign in to comment.