Skip to content

Commit 3e724a8

Browse files
authored
Add Astar zKyoto support (#861)
* feat: add Astar zKyoto chain id * feat: add blockscout client for Astar zKyoto * feat: add 1.3.0 contracts for Astar zKyoto * fix: update a blockscout clients
1 parent e9933d9 commit 3e724a8

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

gnosis/eth/clients/blockscout_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ class BlockscoutClient:
108108
EthereumNetwork.RSS3_VSL_SEPOLIA_TESTNET: "https://scan.testnet.rss3.io/api/v1/graphql",
109109
EthereumNetwork.RSS3_VSL_MAINNET: "https://scan.rss3.io/api/v1/graphql",
110110
EthereumNetwork.CROSSFI_TESTNET: "https://scan.testnet.ms/graphiql",
111+
EthereumNetwork.ASTAR_ZKYOTO: "https://astar-zkyoto.blockscout.com/api/v1/graphql",
111112
}
112113

113114
def __init__(self, network: EthereumNetwork):

gnosis/eth/ethereum_network.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,6 +1150,7 @@ class EthereumNetwork(Enum):
11501150
ELECTRONEUM_TESTNET = 5201420
11511151
IMVERSED_MAINNET = 5555555
11521152
IMVERSED_TESTNET = 5555558
1153+
ASTAR_ZKYOTO = 6038361
11531154
SAAKURU_MAINNET = 7225878
11541155
OPENVESSEL = 7355310
11551156
QL1_TESTNET = 7668378

gnosis/safe/addresses.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,6 +1035,28 @@
10351035
"1.3.0",
10361036
), # default singleton address
10371037
],
1038+
EthereumNetwork.ASTAR_ZKYOTO: [
1039+
(
1040+
"0x3E5c63644E683549055b9Be8653de26E0B4CD36E",
1041+
914726,
1042+
"1.3.0+L2",
1043+
), # default singleton address
1044+
(
1045+
"0xfb1bffC9d739B8D520DaF37dF666da4C687191EA",
1046+
1026758,
1047+
"1.3.0+L2",
1048+
), # safe singleton address
1049+
(
1050+
"0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552",
1051+
914732,
1052+
"1.3.0",
1053+
), # default singleton address
1054+
(
1055+
"0x69f4D1788e39c87893C980c06EdF4b7f686e2938",
1056+
1026763,
1057+
"1.3.0",
1058+
), # safe singleton address
1059+
],
10381060
}
10391061

10401062
PROXY_FACTORIES: Dict[EthereumNetwork, List[Tuple[str, int]]] = {
@@ -1664,4 +1686,14 @@
16641686
132405,
16651687
), # v1.3.0 Default singleton address
16661688
],
1689+
EthereumNetwork.ASTAR_ZKYOTO: [
1690+
(
1691+
"0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC",
1692+
1026735,
1693+
), # v1.3.0 safe singleton address
1694+
(
1695+
"0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2",
1696+
914700,
1697+
), # v1.3.0 default singleton address
1698+
],
16671699
}

0 commit comments

Comments
 (0)