Skip to content

Commit 05513e0

Browse files
novaknoleGiorgi Lagidze
and
Giorgi Lagidze
authored
Chore: Add zksync mainnet support (#90)
* add zksync sepolia support configuration (#87) Co-authored-by: Giorgi Lagidze <[email protected]> * chore: added zksync mainnet support (#89) * add zksync mainnet support configuration * fix prettier --------- Co-authored-by: Giorgi Lagidze <[email protected]> --------- Co-authored-by: Giorgi Lagidze <[email protected]>
1 parent 05d8e78 commit 05513e0

File tree

6 files changed

+168
-1
lines changed

6 files changed

+168
-1
lines changed

configs/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## v0.6.0
9+
10+
## Added
11+
12+
- Add `zksync-mainnet` network configuration.
13+
814
## v0.5.0
915

1016
## Added

configs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@aragon/osx-commons-configs",
33
"author": "Aragon X",
4-
"version": "0.5.0",
4+
"version": "0.6.0",
55
"license": "AGPL-3.0-or-later",
66
"typings": "dist/index.d.ts",
77
"main": "dist/index.js",

configs/src/deployments/contracts.ts

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import * as mainnet from './json/mainnet.json';
99
import * as mumbai from './json/mumbai.json';
1010
import * as polygon from './json/polygon.json';
1111
import * as sepolia from './json/sepolia.json';
12+
import * as zksyncMainnet from './json/zksyncMainnet.json';
1213
import * as zksyncSepolia from './json/zksyncSepolia.json';
1314
import {NetworkDeployment, SupportedVersions} from './types';
1415

@@ -24,6 +25,7 @@ export {
2425
arbitrum,
2526
arbitrumSepolia,
2627
zksyncSepolia,
28+
zksyncMainnet,
2729
};
2830

2931
export const contracts: {
@@ -42,6 +44,7 @@ export const contracts: {
4244
arbitrum,
4345
arbitrumSepolia,
4446
zksyncSepolia,
47+
zksyncMainnet,
4548
local: {
4649
[SupportedVersions.V1_0_0]: {} as NetworkDeployment,
4750
[SupportedVersions.V1_3_0]: {} as NetworkDeployment,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
{
2+
"v1.3.0": {
3+
"AddresslistVotingSetup": {
4+
"address": "0x85F6454826f74EC75ABA0c7Ce1DfA00aBFcb2858",
5+
"blockNumber": 37460824,
6+
"deploymentTx": "0xfb42d0ba67465e76aa70ce3c517442c4b3d866d16aa711bd997930db1f4efb50"
7+
},
8+
"AddresslistVotingSetupImplementation": {
9+
"address": "0x1cbc2150e0C8E9aBC20AF515DAC70cBeb77407be",
10+
"blockNumber": 37460824,
11+
"deploymentTx": "0xfb42d0ba67465e76aa70ce3c517442c4b3d866d16aa711bd997930db1f4efb50"
12+
},
13+
"DAOFactory": {
14+
"address": "0x66Be46fFF2423f39Ba47CD83480C71232eeE5bcD",
15+
"blockNumber": 37460798,
16+
"deploymentTx": "0xcb67bfb280ef848867c7b05a0748abc13940a276d492ae4173a1d0f2614f1a44"
17+
},
18+
"DAORegistryProxy": {
19+
"address": "0xE7351bA0DDCc52249F27353893BcDBC74229e99d",
20+
"blockNumber": 37460768,
21+
"deploymentTx": "0x4d6e760f77fa059eda2b4a12a197651017949587c25b8de99a64ad0ef7f1c104"
22+
},
23+
"DAORegistryImplementation": {
24+
"address": "0x460D5F6cE93bfC22230b70c25CA8110Af8eb0064",
25+
"blockNumber": 37460765,
26+
"deploymentTx": "0xaea229ae87855f83ce15196232baea2b1eac554ae301d5ef148debb608b320bd"
27+
},
28+
"DAOENSSubdomainRegistrarProxy": {
29+
"address": "0x59D297b6E8ceffe99AC55401FDbC8F0800Bf684B",
30+
"blockNumber": 37460750,
31+
"deploymentTx": "0xb8f223b599d15b77ad7c52b13daad4ac50a7364c46c99bcc424d0255f8c675cb"
32+
},
33+
"DAOENSSubdomainRegistrarImplementation": {
34+
"address": "0x86622E11A5D4C4D5e7EACfa788BDd4fb22f15476",
35+
"blockNumber": 37460746,
36+
"deploymentTx": "0xa7e23081e253b24dfa9c12977f4b9741fc78c160629ba84ff1841ed814d73158"
37+
},
38+
"ENSRegistry": {
39+
"address": "0x61aaD591d84037948126bdAC2e06C0ea0C55a4fE",
40+
"blockNumber": 37460705,
41+
"deploymentTx": "0x6f2e3fe06d509f9924778e0dcc2789390566358f93b594a167b9c4e916810376"
42+
},
43+
"MultisigSetup": {
44+
"address": "0xD07290844d6b6ECF497B490FE5E82890dD16999a",
45+
"blockNumber": 37460843,
46+
"deploymentTx": "0xa34ea8a0e59a1b886c5834ebb282378846799ce22bd636dc5606d01e323249ab"
47+
},
48+
"MultisigSetupImplementation": {
49+
"address": "0x428C144b4e0E1DF244746632f6891e1a03541de4",
50+
"blockNumber": 37460843,
51+
"deploymentTx": "0xa34ea8a0e59a1b886c5834ebb282378846799ce22bd636dc5606d01e323249ab"
52+
},
53+
"PlaceholderSetup": {
54+
"address": "0x6D41F0dd14Ac0591F48f21050D02214b13728180",
55+
"blockNumber": 37460847,
56+
"deploymentTx": "0xd39f6f21562685dee6b6e3aa62b4b02a915b13df1965e28f9ca26a298ac2ba48"
57+
},
58+
"PluginRepoBase": {
59+
"address": "0xE916c573460ED02CA00E00009bd0dFCEe0324dD0",
60+
"blockNumber": 37460781,
61+
"deploymentTx": "0x8c396f105ef42c3b638fdbe4c51131dfab742d38a8061543b7d1a0b4e129a7df"
62+
},
63+
"PluginRepoFactory": {
64+
"address": "0xCc4f863FB743f2b08B2E887D639bC3a64ae12075",
65+
"blockNumber": 37460781,
66+
"deploymentTx": "0x8c396f105ef42c3b638fdbe4c51131dfab742d38a8061543b7d1a0b4e129a7df"
67+
},
68+
"PluginRepoRegistryProxy": {
69+
"address": "0xEa26fC4028D9293f453804b40F097F11974FdB79",
70+
"blockNumber": 37460776,
71+
"deploymentTx": "0xc9a3d15f5f3121b0063bc49c6c66a0d5620c9d0d60296c90517727b9258f20d5"
72+
},
73+
"PluginRepoRegistryImplementation": {
74+
"address": "0xC9F3707f32D4C572ceAf3B5DEe119B265b635d51",
75+
"blockNumber": 37460772,
76+
"deploymentTx": "0x4cda5cb8ca5f468fb2c3bc3b92952ff5771b372082b41825de6c0f1d1a7f51e1"
77+
},
78+
"PluginSetupProcessor": {
79+
"address": "0x8E3e98ECF5CdBF2bEcCD91d3BA580D472df5A0cB",
80+
"blockNumber": 37460792,
81+
"deploymentTx": "0x825efef92aa842776e5d8e32a316f82594c21c2db5119b3ff448b8357fd45b8c"
82+
},
83+
"PluginENSSubdomainRegistrarProxy": {
84+
"address": "0x3f028c7Cf0515bA726E32f48183810672A9CcEA8",
85+
"blockNumber": 37460758,
86+
"deploymentTx": "0x643dcab1ec9529e050f553da1ecaaa6c4a52529ad8c3d92c96b972c144623907"
87+
},
88+
"PluginENSSubdomainRegistrarImplementation": {
89+
"address": "0x2f8Be554Cf833Dbd5E244B2398739D9b4f6F8a67",
90+
"blockNumber": 37460754,
91+
"deploymentTx": "0xfcd0f6be44231049f3a5025f79e00feb59bb68ac4483c6569da9ac02eeb21c96"
92+
},
93+
"TokenVotingSetup": {
94+
"address": "0x2b3Ba0906b3f4F42Cf9128Acc0784312a60e17ed",
95+
"blockNumber": 37460834,
96+
"deploymentTx": "0x39f3510c21f463601d4136fd070461542500c47f98649bc5347051034b53086e"
97+
},
98+
"TokenVotingSetupImplementation": {
99+
"address": "0xde2A34D03f964e1bA620a0443e52B9c8427F391c",
100+
"blockNumber": 37460834,
101+
"deploymentTx": "0x39f3510c21f463601d4136fd070461542500c47f98649bc5347051034b53086e"
102+
},
103+
"AddresslistVotingRepoProxy": {
104+
"address": "0x5BC82E4473e01f57716FC7f1361d424B54968e17",
105+
"blockNumber": 37460851,
106+
"deploymentTx": "0x61be5972a637e4699760d9a6b5cd0e5e4656a6fc647c6e2953c7f78b27e4fa72"
107+
},
108+
"AddresslistVotingRepoImplementation": {
109+
"address": "0xE916c573460ED02CA00E00009bd0dFCEe0324dD0",
110+
"blockNumber": 37460781,
111+
"deploymentTx": "0x8c396f105ef42c3b638fdbe4c51131dfab742d38a8061543b7d1a0b4e129a7df"
112+
},
113+
"ManagementDAOProxy": {
114+
"address": "0x8a289003063781e0963a02b7aA9EB200d7B774CB",
115+
"blockNumber": 37460687,
116+
"deploymentTx": "0xb47daeb38d0ce002482ec4db44d35f325b86f0543b9240f45cad9a0424765b05"
117+
},
118+
"ManagementDAOImplementation": {
119+
"address": "0x0ED69b3b690e10Fb509FA1b081C1b74EF3FeB36D",
120+
"blockNumber": 37460684,
121+
"deploymentTx": "0x84979d8951708cb49aacd5178d37c5289410622298dfea22b4bf930279c143f0"
122+
},
123+
"MultisigRepoProxy": {
124+
"address": "0x83f88d380073c8F929fAB649F3d016649c101D3A",
125+
"blockNumber": 37460877,
126+
"deploymentTx": "0xdb4438278e5fe751dcf0eb67e9b389d9439369e18d0cb0d519cd6c0c4b3da848"
127+
},
128+
"MultisigRepoImplementation": {
129+
"address": "0xE916c573460ED02CA00E00009bd0dFCEe0324dD0",
130+
"blockNumber": 37460781,
131+
"deploymentTx": "0x8c396f105ef42c3b638fdbe4c51131dfab742d38a8061543b7d1a0b4e129a7df"
132+
},
133+
"TokenVotingRepoProxy": {
134+
"address": "0xE8F4C59f83CeE31A867E61c9959533A6e95ebCB3",
135+
"blockNumber": 37460864,
136+
"deploymentTx": "0xdd9f906a3ddc400ff6d8f353c3f8540703ec1d93f46ee22a27c50988843ff033"
137+
},
138+
"TokenVotingRepoImplementation": {
139+
"address": "0xE916c573460ED02CA00E00009bd0dFCEe0324dD0",
140+
"blockNumber": 37460781,
141+
"deploymentTx": "0x8c396f105ef42c3b638fdbe4c51131dfab742d38a8061543b7d1a0b4e129a7df"
142+
},
143+
"DAOBase": {
144+
"address": "0xe0232413B54B4cC25915b642279D3865808AdE6e",
145+
"blockNumber": 37460798,
146+
"deploymentTx": "0xcb67bfb280ef848867c7b05a0748abc13940a276d492ae4173a1d0f2614f1a44"
147+
}
148+
}
149+
}

configs/src/networks/networks.ts

+8
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ export const networks: NetworkConfigs = {
9292
name: SupportedNetworks.ZKSYNC_SEPOLIA,
9393
aliases: {},
9494
},
95+
[SupportedNetworks.ZKSYNC_MAINNET]: {
96+
chainId: 324,
97+
isTestnet: true,
98+
name: SupportedNetworks.ZKSYNC_MAINNET,
99+
aliases: {},
100+
},
95101
[SupportedNetworks.LOCAL]: {
96102
isTestnet: true,
97103
chainId: 31337,
@@ -113,6 +119,8 @@ export const networksAlchemyRpcUrl: NetworkRpcUrl = {
113119
[SupportedNetworks.ARBITRUM_SEPOLIA]: 'https://arb-sepolia.g.alchemy.com/v2/',
114120
[SupportedNetworks.ZKSYNC_SEPOLIA]:
115121
'https://zksync-sepolia.g.alchemy.com/v2/',
122+
[SupportedNetworks.ZKSYNC_MAINNET]:
123+
'https://zksync-mainnet.g.alchemy.com/v2/',
116124
[SupportedNetworks.LOCAL]: 'http://localhost:8545',
117125
};
118126

configs/src/networks/types.ts

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export enum SupportedNetworks {
1616
ARBITRUM = 'arbitrum',
1717
ARBITRUM_SEPOLIA = 'arbitrumSepolia',
1818
ZKSYNC_SEPOLIA = 'zksyncSepolia',
19+
ZKSYNC_MAINNET = 'zksyncMainnet',
1920
LOCAL = 'local',
2021
}
2122

0 commit comments

Comments
 (0)