@zoralabs/protocol-deployments 0.1.5 → 0.1.6-DEV.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/generated/wagmi.d.ts +10 -10
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/json/1155.json +212 -0
- package/json/mints.json +46 -0
- package/package.json +3 -3
- package/src/generated/mints.ts +2 -2
- package/src/generated/wagmi.ts +8 -8
- package/.turbo/turbo-build.log +0 -31
- package/tsconfig.build.json +0 -10
- package/tsup.config.ts +0 -11
- package/wagmi.config.ts +0 -170
package/json/1155.json
ADDED
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
{
|
|
2
|
+
"chainConfigs": {
|
|
3
|
+
"1": {
|
|
4
|
+
"FACTORY_OWNER": "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
|
|
5
|
+
"MINT_FEE_RECIPIENT": "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0",
|
|
6
|
+
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
7
|
+
},
|
|
8
|
+
"10": {
|
|
9
|
+
"FACTORY_OWNER": "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
|
|
10
|
+
"MINT_FEE_RECIPIENT": "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c",
|
|
11
|
+
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
12
|
+
},
|
|
13
|
+
"999": {
|
|
14
|
+
"FACTORY_OWNER": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
|
|
15
|
+
"MINT_FEE_RECIPIENT": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
|
|
16
|
+
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
17
|
+
},
|
|
18
|
+
"8453": {
|
|
19
|
+
"FACTORY_OWNER": "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
|
|
20
|
+
"MINT_FEE_RECIPIENT": "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
|
|
21
|
+
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
22
|
+
},
|
|
23
|
+
"42161": {
|
|
24
|
+
"FACTORY_OWNER": "0xF7DafC329C93D84267c0E7B146C0bD68807f6A03",
|
|
25
|
+
"MINT_FEE_RECIPIENT": "0x10Fb02A68C3EA8bD439A6f515dcE07CC049f5c94",
|
|
26
|
+
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
27
|
+
},
|
|
28
|
+
"81457": {
|
|
29
|
+
"FACTORY_OWNER": "0x5b297B1b87f8De28C9fA7AFe183Db9F9e6295523",
|
|
30
|
+
"MINT_FEE_RECIPIENT": "0x72E6394056f9152D3a41e5A25De383c191D16134",
|
|
31
|
+
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
32
|
+
},
|
|
33
|
+
"421614": {
|
|
34
|
+
"FACTORY_OWNER": "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
|
|
35
|
+
"MINT_FEE_RECIPIENT": "0x256537b56007b32BabEB44E868EC8AA5cBF03D30",
|
|
36
|
+
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
37
|
+
},
|
|
38
|
+
"7777777": {
|
|
39
|
+
"FACTORY_OWNER": "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
|
|
40
|
+
"MINT_FEE_RECIPIENT": "0xEcfc2ee50409E459c554a2b0376F882Ce916D853",
|
|
41
|
+
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
42
|
+
},
|
|
43
|
+
"11155111": {
|
|
44
|
+
"FACTORY_OWNER": "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
|
|
45
|
+
"MINT_FEE_RECIPIENT": "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
|
|
46
|
+
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
47
|
+
},
|
|
48
|
+
"168587773": {
|
|
49
|
+
"FACTORY_OWNER": "0x8cF22F26d528B09b3cc54b7ff956630Bf741b773",
|
|
50
|
+
"MINT_FEE_RECIPIENT": "0x8cF22F26d528B09b3cc54b7ff956630Bf741b773",
|
|
51
|
+
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
52
|
+
},
|
|
53
|
+
"999999999": {
|
|
54
|
+
"FACTORY_OWNER": "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
|
|
55
|
+
"MINT_FEE_RECIPIENT": "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
|
|
56
|
+
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"addresses": {
|
|
60
|
+
"1": {
|
|
61
|
+
"CONTRACT_1155_IMPL": "0x32006e298C19818CD5e8000E26439691f0ac2128",
|
|
62
|
+
"CONTRACT_1155_IMPL_VERSION": "2.7.0",
|
|
63
|
+
"FACTORY_IMPL": "0xD662FB0fB00261C039441EF49Dbab154d7c533bD",
|
|
64
|
+
"FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
65
|
+
"FIXED_PRICE_SALE_STRATEGY": "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
66
|
+
"MERKLE_MINT_SALE_STRATEGY": "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
67
|
+
"PREMINTER_IMPL": "0x6f4f0c7748050d178b50cB000c94d54ea54A82aA",
|
|
68
|
+
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
69
|
+
"REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
|
|
70
|
+
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
71
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
72
|
+
"timestamp": 1706664239
|
|
73
|
+
},
|
|
74
|
+
"10": {
|
|
75
|
+
"CONTRACT_1155_IMPL": "0xECfbCf718E17B6e76A675dDB936a9249C69DD2aA",
|
|
76
|
+
"CONTRACT_1155_IMPL_VERSION": "2.7.0",
|
|
77
|
+
"FACTORY_IMPL": "0x32006e298C19818CD5e8000E26439691f0ac2128",
|
|
78
|
+
"FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
79
|
+
"FIXED_PRICE_SALE_STRATEGY": "0x3678862f04290E565cCA2EF163BAeb92Bb76790C",
|
|
80
|
+
"MERKLE_MINT_SALE_STRATEGY": "0x899ce31dF6C6Af81203AcAaD285bF539234eF4b8",
|
|
81
|
+
"PREMINTER_IMPL": "0x6f4f0c7748050d178b50cB000c94d54ea54A82aA",
|
|
82
|
+
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
83
|
+
"REDEEM_MINTER_FACTORY": "0x1B28A04b7eB7b93f920ddF2021aa3fAE065395f2",
|
|
84
|
+
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
85
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
86
|
+
"timestamp": 1706664035
|
|
87
|
+
},
|
|
88
|
+
"999": {
|
|
89
|
+
"CONTRACT_1155_IMPL": "0x2022AdEF470DA3543a19fac8c9be80618112704D",
|
|
90
|
+
"CONTRACT_1155_IMPL_VERSION": "2.7.0",
|
|
91
|
+
"FACTORY_IMPL": "0x4b0365Ec68C2D92Af2Fa56f120095F0859142Eff",
|
|
92
|
+
"FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
93
|
+
"FIXED_PRICE_SALE_STRATEGY": "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
94
|
+
"MERKLE_MINT_SALE_STRATEGY": "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
95
|
+
"PREMINTER_IMPL": "0x795Efc066f89DFB03048dDd0598F2D8521c99Df6",
|
|
96
|
+
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
97
|
+
"REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
|
|
98
|
+
"UPGRADE_GATE": "0x0000000000000000000000000000000000000000",
|
|
99
|
+
"timestamp": 1704399834
|
|
100
|
+
},
|
|
101
|
+
"8453": {
|
|
102
|
+
"CONTRACT_1155_IMPL": "0xAF5A4F6F6640734d7D000321Bb27De40D4Ae91f6",
|
|
103
|
+
"CONTRACT_1155_IMPL_VERSION": "2.7.0",
|
|
104
|
+
"FACTORY_IMPL": "0x7B59c0378F540c0356A5DAEF7574255A7C74EC76",
|
|
105
|
+
"FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
106
|
+
"FIXED_PRICE_SALE_STRATEGY": "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
107
|
+
"MERKLE_MINT_SALE_STRATEGY": "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
108
|
+
"PREMINTER_IMPL": "0x6f4f0c7748050d178b50cB000c94d54ea54A82aA",
|
|
109
|
+
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
110
|
+
"REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
|
|
111
|
+
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
112
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
113
|
+
"timestamp": 1706663976
|
|
114
|
+
},
|
|
115
|
+
"42161": {
|
|
116
|
+
"CONTRACT_1155_IMPL": "0x97eb05B8db496B12244BCcf17CF377d00a99b67a",
|
|
117
|
+
"CONTRACT_1155_IMPL_VERSION": "2.7.0",
|
|
118
|
+
"FACTORY_IMPL": "0x48d8db63724444C6270749fEe80bBDB6CF33677f",
|
|
119
|
+
"FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
120
|
+
"FIXED_PRICE_SALE_STRATEGY": "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
|
|
121
|
+
"MERKLE_MINT_SALE_STRATEGY": "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
|
|
122
|
+
"PREMINTER_IMPL": "0x6f4f0c7748050d178b50cB000c94d54ea54A82aA",
|
|
123
|
+
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
124
|
+
"REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
|
|
125
|
+
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
126
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
127
|
+
"timestamp": 1706664653
|
|
128
|
+
},
|
|
129
|
+
"81457": {
|
|
130
|
+
"CONTRACT_1155_IMPL": "0x97eb05B8db496B12244BCcf17CF377d00a99b67a",
|
|
131
|
+
"CONTRACT_1155_IMPL_VERSION": "2.7.1",
|
|
132
|
+
"FACTORY_IMPL": "0x48d8db63724444C6270749fEe80bBDB6CF33677f",
|
|
133
|
+
"FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
134
|
+
"FIXED_PRICE_SALE_STRATEGY": "0x3EB144aee170BF62FdA1536e38aF51f08e34A5D0",
|
|
135
|
+
"MERKLE_MINT_SALE_STRATEGY": "0xB9C997FcC46a27331CC986cc2416ee99C1d506c3",
|
|
136
|
+
"PREMINTER_IMPL": "0xe3150ab94e3730D4B157ffD31Ad042323E122b4C",
|
|
137
|
+
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
138
|
+
"REDEEM_MINTER_FACTORY": "0x7A0dE1B1f5420Df5D946878fBe2cF109011BE614",
|
|
139
|
+
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
140
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
141
|
+
"timestamp": 1709235955
|
|
142
|
+
},
|
|
143
|
+
"421614": {
|
|
144
|
+
"CONTRACT_1155_IMPL": "0xc288fe9B145fC31D9aFBa771d0FeB986F6eb49e3",
|
|
145
|
+
"CONTRACT_1155_IMPL_VERSION": "2.7.0",
|
|
146
|
+
"FACTORY_IMPL": "0x314E552b55DFbDfD4d76623E1D45E5056723998B",
|
|
147
|
+
"FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
148
|
+
"FIXED_PRICE_SALE_STRATEGY": "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
|
|
149
|
+
"MERKLE_MINT_SALE_STRATEGY": "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
|
|
150
|
+
"PREMINTER_IMPL": "0x6f4f0c7748050d178b50cB000c94d54ea54A82aA",
|
|
151
|
+
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
152
|
+
"REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
|
|
153
|
+
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
154
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
155
|
+
"timestamp": 1706661669
|
|
156
|
+
},
|
|
157
|
+
"7777777": {
|
|
158
|
+
"CONTRACT_1155_IMPL": "0x57f412Ea90b59ce4023AFDE95C251E3c747EB7F8",
|
|
159
|
+
"CONTRACT_1155_IMPL_VERSION": "2.7.0",
|
|
160
|
+
"FACTORY_IMPL": "0xc6bf69986859f0dC0b77f2cA6AD86F5b294c0443",
|
|
161
|
+
"FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
162
|
+
"FIXED_PRICE_SALE_STRATEGY": "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
163
|
+
"MERKLE_MINT_SALE_STRATEGY": "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
164
|
+
"PREMINTER_IMPL": "0x6f4f0c7748050d178b50cB000c94d54ea54A82aA",
|
|
165
|
+
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
166
|
+
"REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
|
|
167
|
+
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
168
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
169
|
+
"timestamp": 1706663694
|
|
170
|
+
},
|
|
171
|
+
"11155111": {
|
|
172
|
+
"CONTRACT_1155_IMPL": "0x437A762fc2a8f898Aa7a2575Be21c41753DC4797",
|
|
173
|
+
"CONTRACT_1155_IMPL_VERSION": "2.7.0",
|
|
174
|
+
"FACTORY_IMPL": "0xF82286760a953D2Bad7D6F2F0da458Ac20f955D3",
|
|
175
|
+
"FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
176
|
+
"FIXED_PRICE_SALE_STRATEGY": "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
|
|
177
|
+
"MERKLE_MINT_SALE_STRATEGY": "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
|
|
178
|
+
"PREMINTER_IMPL": "0x795Efc066f89DFB03048dDd0598F2D8521c99Df6",
|
|
179
|
+
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
180
|
+
"REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
|
|
181
|
+
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
182
|
+
"ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
183
|
+
"timestamp": 1704336497
|
|
184
|
+
},
|
|
185
|
+
"168587773": {
|
|
186
|
+
"CONTRACT_1155_IMPL": "0x437A762fc2a8f898Aa7a2575Be21c41753DC4797",
|
|
187
|
+
"CONTRACT_1155_IMPL_VERSION": "2.7.1",
|
|
188
|
+
"FACTORY_IMPL": "0xF82286760a953D2Bad7D6F2F0da458Ac20f955D3",
|
|
189
|
+
"FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
190
|
+
"FIXED_PRICE_SALE_STRATEGY": "0x3EB144aee170BF62FdA1536e38aF51f08e34A5D0",
|
|
191
|
+
"MERKLE_MINT_SALE_STRATEGY": "0xB9C997FcC46a27331CC986cc2416ee99C1d506c3",
|
|
192
|
+
"PREMINTER_IMPL": "0xe3150ab94e3730D4B157ffD31Ad042323E122b4C",
|
|
193
|
+
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
194
|
+
"REDEEM_MINTER_FACTORY": "0x7A0dE1B1f5420Df5D946878fBe2cF109011BE614",
|
|
195
|
+
"UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
196
|
+
"timestamp": 1709234007
|
|
197
|
+
},
|
|
198
|
+
"999999999": {
|
|
199
|
+
"CONTRACT_1155_IMPL": "0x980170C861E723309628a27c27397a955920F968",
|
|
200
|
+
"CONTRACT_1155_IMPL_VERSION": "2.7.0",
|
|
201
|
+
"FACTORY_IMPL": "0xcea530A0d2d158500E248a59682a1D230c2422F7",
|
|
202
|
+
"FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
203
|
+
"FIXED_PRICE_SALE_STRATEGY": "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
|
|
204
|
+
"MERKLE_MINT_SALE_STRATEGY": "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
|
|
205
|
+
"PREMINTER_IMPL": "0x6f4f0c7748050d178b50cB000c94d54ea54A82aA",
|
|
206
|
+
"PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
207
|
+
"REDEEM_MINTER_FACTORY": "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
|
|
208
|
+
"UPGRADE_GATE": "0x0000000000000000000000000000000000000000",
|
|
209
|
+
"timestamp": 1706663810
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
package/json/mints.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"chainConfigs": {
|
|
3
|
+
"1": {
|
|
4
|
+
"PROXY_ADMIN": "0xDB392f4391462d60B8B4413ef72018Ab595Af9D0",
|
|
5
|
+
"MINTS_OWNER": "0xd1d1D4e36117aB794ec5d4c78cBD3a8904E691D0"
|
|
6
|
+
},
|
|
7
|
+
"10": {
|
|
8
|
+
"PROXY_ADMIN": "0x4c7f7b6067fac9a737ecf2ca1a733fc85dd65a2b",
|
|
9
|
+
"MINTS_OWNER": "0x7A810DCd0f8d83B20212326813Db6EF7E9FD030c"
|
|
10
|
+
},
|
|
11
|
+
"420": {
|
|
12
|
+
"PROXY_ADMIN": "0xbb45052B2260707655Dfd916a416264f5981192c",
|
|
13
|
+
"MINTS_OWNER": "0x5dEe21327CD7CD6725C2578DA1c3E5bb2D2D34b2"
|
|
14
|
+
},
|
|
15
|
+
"999": {
|
|
16
|
+
"PROXY_ADMIN": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252",
|
|
17
|
+
"MINTS_OWNER": "0xE84DBB2B25F761751231a9D0DAfbdD4dC3aa8252"
|
|
18
|
+
},
|
|
19
|
+
"8453": {
|
|
20
|
+
"PROXY_ADMIN": "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
|
|
21
|
+
"MINTS_OWNER": "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6"
|
|
22
|
+
},
|
|
23
|
+
"84531": {
|
|
24
|
+
"PROXY_ADMIN": "0x02539E813cA450C2c7334e885423f4A899a063Fe",
|
|
25
|
+
"MINTS_OWNER": "0x02539E813cA450C2c7334e885423f4A899a063Fe"
|
|
26
|
+
},
|
|
27
|
+
"7777777": {
|
|
28
|
+
"PROXY_ADMIN": "0xdEA20c96253dc2d64897D2b8d27A8d935dE74955",
|
|
29
|
+
"MINTS_OWNER": "0xEcfc2ee50409E459c554a2b0376F882Ce916D853"
|
|
30
|
+
},
|
|
31
|
+
"11155111": {
|
|
32
|
+
"PROXY_ADMIN": "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
|
|
33
|
+
"MINTS_OWNER": "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D"
|
|
34
|
+
},
|
|
35
|
+
"999999999": {
|
|
36
|
+
"PROXY_ADMIN": "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
|
|
37
|
+
"MINTS_OWNER": "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"addresses": {
|
|
41
|
+
"999999999": {
|
|
42
|
+
"MINTS_MANAGER_IMPL": "0x9e6fa79Ce33aF9F718C0D276b5cF2E10897899DB",
|
|
43
|
+
"MINTS_MANAGER_IMPL_VERSION": "0.0.2"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zoralabs/protocol-deployments",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6-DEV.0",
|
|
4
4
|
"repository": "https://github.com/ourzora/zora-protocol",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@lavamoat/preinstall-always-fail": "2.0.0",
|
|
36
36
|
"@zoralabs/1155-deployments": "*",
|
|
37
37
|
"@zoralabs/zora-1155-contracts": "*",
|
|
38
|
-
"@zoralabs/mints-contracts": "
|
|
39
|
-
"@zoralabs/mints-deployments": "
|
|
38
|
+
"@zoralabs/mints-contracts": "0.1.1-DEV.0",
|
|
39
|
+
"@zoralabs/mints-deployments": "0.0.1-DEV.0"
|
|
40
40
|
}
|
|
41
41
|
}
|
package/src/generated/mints.ts
CHANGED
|
@@ -39,13 +39,13 @@ export const chainConfigs = {
|
|
|
39
39
|
export const addresses = {
|
|
40
40
|
7777777: {
|
|
41
41
|
MINTS_ETH_UNWRAPPER_AND_CALLER:
|
|
42
|
-
"
|
|
42
|
+
"0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
|
|
43
43
|
MINTS_MANAGER_IMPL: "0x212957295F3A40408E14531387915cDfB26A7DeB",
|
|
44
44
|
MINTS_MANAGER_IMPL_VERSION: "0.1.0",
|
|
45
45
|
},
|
|
46
46
|
999999999: {
|
|
47
47
|
MINTS_ETH_UNWRAPPER_AND_CALLER:
|
|
48
|
-
"
|
|
48
|
+
"0xb0994EB9520C98C97e1F3953a5964535C2bd271A",
|
|
49
49
|
MINTS_MANAGER_IMPL: "0x212957295F3A40408E14531387915cDfB26A7DeB",
|
|
50
50
|
MINTS_MANAGER_IMPL_VERSION: "0.1.0",
|
|
51
51
|
},
|
package/src/generated/wagmi.ts
CHANGED
|
@@ -21,8 +21,8 @@ export const iUnwrapAndForwardActionABI = [
|
|
|
21
21
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/
|
|
25
|
-
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/
|
|
24
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
25
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
26
26
|
*/
|
|
27
27
|
export const mintsEthUnwrapperAndCallerABI = [
|
|
28
28
|
{
|
|
@@ -114,17 +114,17 @@ export const mintsEthUnwrapperAndCallerABI = [
|
|
|
114
114
|
] as const
|
|
115
115
|
|
|
116
116
|
/**
|
|
117
|
-
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/
|
|
118
|
-
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/
|
|
117
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
118
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
119
119
|
*/
|
|
120
120
|
export const mintsEthUnwrapperAndCallerAddress = {
|
|
121
|
-
7777777: '
|
|
122
|
-
999999999: '
|
|
121
|
+
7777777: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
|
|
122
|
+
999999999: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
|
|
123
123
|
} as const
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
|
-
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/
|
|
127
|
-
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/
|
|
126
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
127
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
|
|
128
128
|
*/
|
|
129
129
|
export const mintsEthUnwrapperAndCallerConfig = {
|
|
130
130
|
address: mintsEthUnwrapperAndCallerAddress,
|
package/.turbo/turbo-build.log
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
$ yarn wagmi && yarn bundle-configs && tsup
|
|
2
|
-
$ wagmi generate
|
|
3
|
-
- Validating plugins
|
|
4
|
-
✔ Validating plugins
|
|
5
|
-
- Resolving contracts
|
|
6
|
-
✔ Resolving contracts
|
|
7
|
-
- Running plugins
|
|
8
|
-
✔ Running plugins
|
|
9
|
-
- Writing to [90msrc/generated/wagmi.ts[39m
|
|
10
|
-
✔ Writing to [90msrc/generated/wagmi.ts[39m
|
|
11
|
-
$ tsx scripts/bundle-configs.ts && yarn prettier
|
|
12
|
-
$ prettier --write 'src/**/*.ts' 'scripts/*' 'wagmi.config.ts'
|
|
13
|
-
src/addresses.ts 248ms (unchanged)
|
|
14
|
-
src/index.ts 6ms (unchanged)
|
|
15
|
-
scripts/bundle-chainConfigs.ts 22ms (unchanged)
|
|
16
|
-
scripts/bundle-configs.ts 45ms (unchanged)
|
|
17
|
-
wagmi.config.ts 47ms (unchanged)
|
|
18
|
-
[34mCLI[39m Building entry: src/index.ts
|
|
19
|
-
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
20
|
-
[34mCLI[39m tsup v7.3.0
|
|
21
|
-
[34mCLI[39m Using tsup config: /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-deployments/tsup.config.ts
|
|
22
|
-
[34mCLI[39m Target: es2021
|
|
23
|
-
[34mCLI[39m Cleaning output folder
|
|
24
|
-
[34mCJS[39m Build start
|
|
25
|
-
[34mESM[39m Build start
|
|
26
|
-
[32mESM[39m [1mdist/index.js [22m[32m165.51 KB[39m
|
|
27
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m307.47 KB[39m
|
|
28
|
-
[32mESM[39m ⚡️ Build success in 60ms
|
|
29
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m168.25 KB[39m
|
|
30
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[32m307.97 KB[39m
|
|
31
|
-
[32mCJS[39m ⚡️ Build success in 61ms
|
package/tsconfig.build.json
DELETED
package/tsup.config.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from "tsup";
|
|
2
|
-
|
|
3
|
-
export default defineConfig({
|
|
4
|
-
entry: ["src/index.ts"],
|
|
5
|
-
sourcemap: true,
|
|
6
|
-
clean: true,
|
|
7
|
-
dts: false,
|
|
8
|
-
format: ["cjs", "esm"],
|
|
9
|
-
onSuccess:
|
|
10
|
-
"tsc --project tsconfig.build.json --emitDeclarationOnly --declaration --declarationMap",
|
|
11
|
-
});
|
package/wagmi.config.ts
DELETED
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from "@wagmi/cli";
|
|
2
|
-
import { Abi } from "viem";
|
|
3
|
-
import { readdirSync, readFileSync } from "fs";
|
|
4
|
-
import * as abis from "@zoralabs/zora-1155-contracts";
|
|
5
|
-
import {
|
|
6
|
-
zoraMints1155ABI,
|
|
7
|
-
zoraMintsManagerImplABI,
|
|
8
|
-
mintsEthUnwrapperAndCallerABI,
|
|
9
|
-
iUnwrapAndForwardActionABI,
|
|
10
|
-
} from "@zoralabs/mints-contracts";
|
|
11
|
-
|
|
12
|
-
type Address = `0x${string}`;
|
|
13
|
-
|
|
14
|
-
type Addresses = {
|
|
15
|
-
[contractName: string]: {
|
|
16
|
-
address: {
|
|
17
|
-
[chainId: number]: Address;
|
|
18
|
-
};
|
|
19
|
-
abi: Abi;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
const get1155Addresses = () => {
|
|
24
|
-
const addresses: Addresses = {};
|
|
25
|
-
|
|
26
|
-
const addressesFiles = readdirSync("../1155-deployments/addresses");
|
|
27
|
-
|
|
28
|
-
const addAddress = ({
|
|
29
|
-
contractName,
|
|
30
|
-
chainId,
|
|
31
|
-
address,
|
|
32
|
-
abi,
|
|
33
|
-
}: {
|
|
34
|
-
contractName: string;
|
|
35
|
-
chainId: number;
|
|
36
|
-
address?: Address;
|
|
37
|
-
abi: Abi;
|
|
38
|
-
}) => {
|
|
39
|
-
if (!address) return;
|
|
40
|
-
if (!addresses[contractName]) {
|
|
41
|
-
addresses[contractName] = {
|
|
42
|
-
address: {},
|
|
43
|
-
abi,
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
addresses[contractName]!.address[chainId] = address;
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
for (const addressesFile of addressesFiles) {
|
|
51
|
-
const jsonAddress = JSON.parse(
|
|
52
|
-
readFileSync(`../1155-deployments/addresses/${addressesFile}`, "utf-8"),
|
|
53
|
-
) as {
|
|
54
|
-
FIXED_PRICE_SALE_STRATEGY: Address;
|
|
55
|
-
MERKLE_MINT_SALE_STRATEGY: Address;
|
|
56
|
-
REDEEM_MINTER_FACTORY: Address;
|
|
57
|
-
"1155_IMPL": Address;
|
|
58
|
-
FACTORY_IMPL: Address;
|
|
59
|
-
FACTORY_PROXY: Address;
|
|
60
|
-
PREMINTER_PROXY?: Address;
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
const chainId = parseInt(addressesFile.split(".")[0]);
|
|
64
|
-
|
|
65
|
-
addAddress({
|
|
66
|
-
contractName: "ZoraCreatorFixedPriceSaleStrategy",
|
|
67
|
-
chainId,
|
|
68
|
-
address: jsonAddress.FIXED_PRICE_SALE_STRATEGY,
|
|
69
|
-
abi: abis.zoraCreatorFixedPriceSaleStrategyABI,
|
|
70
|
-
});
|
|
71
|
-
addAddress({
|
|
72
|
-
contractName: "ZoraCreatorMerkleMinterStrategy",
|
|
73
|
-
chainId,
|
|
74
|
-
address: jsonAddress.MERKLE_MINT_SALE_STRATEGY,
|
|
75
|
-
abi: abis.zoraCreatorMerkleMinterStrategyABI,
|
|
76
|
-
});
|
|
77
|
-
addAddress({
|
|
78
|
-
contractName: "ZoraCreator1155FactoryImpl",
|
|
79
|
-
chainId,
|
|
80
|
-
address: jsonAddress.FACTORY_PROXY,
|
|
81
|
-
abi: abis.zoraCreator1155FactoryImplABI,
|
|
82
|
-
});
|
|
83
|
-
addAddress({
|
|
84
|
-
contractName: "ZoraCreatorRedeemMinterFactory",
|
|
85
|
-
chainId,
|
|
86
|
-
address: jsonAddress.REDEEM_MINTER_FACTORY,
|
|
87
|
-
abi: abis.zoraCreatorRedeemMinterFactoryABI,
|
|
88
|
-
});
|
|
89
|
-
addAddress({
|
|
90
|
-
contractName: "ZoraCreator1155PremintExecutorImpl",
|
|
91
|
-
chainId,
|
|
92
|
-
address: jsonAddress.PREMINTER_PROXY,
|
|
93
|
-
abi: abis.zoraCreator1155PremintExecutorImplABI,
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
return addresses;
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
const getMintsAddresses = () => {
|
|
101
|
-
const addressesFiles = readdirSync("../mints-deployments/addresses");
|
|
102
|
-
|
|
103
|
-
const chainIds = addressesFiles.map((x) => Number(x.split(".")[0]));
|
|
104
|
-
|
|
105
|
-
const mintsProxyConfig = JSON.parse(
|
|
106
|
-
readFileSync(
|
|
107
|
-
"../mints-deployments/deterministicConfig/mintsProxy/params.json",
|
|
108
|
-
"utf-8",
|
|
109
|
-
),
|
|
110
|
-
);
|
|
111
|
-
|
|
112
|
-
const mintsEthUnwrapperAndCallerAddress = JSON.parse(
|
|
113
|
-
readFileSync("../mints-deployments/addresses/999999999.json", "utf-8"),
|
|
114
|
-
).MINTS_ETH_UNWRAPPER_AND_CALLER as Address;
|
|
115
|
-
|
|
116
|
-
const mintsManagerAddress = mintsProxyConfig.manager
|
|
117
|
-
.deployedAddress as Address;
|
|
118
|
-
const zoraMints1155Address = mintsProxyConfig.mints1155
|
|
119
|
-
.deployedAddress as Address;
|
|
120
|
-
|
|
121
|
-
return {
|
|
122
|
-
mintsManager: Object.fromEntries(
|
|
123
|
-
chainIds.map((chainId) => [chainId, mintsManagerAddress]),
|
|
124
|
-
),
|
|
125
|
-
mints1155: Object.fromEntries(
|
|
126
|
-
chainIds.map((chainId) => [chainId, zoraMints1155Address as Address]),
|
|
127
|
-
),
|
|
128
|
-
mintsEthUnwrapperAndCaller: Object.fromEntries(
|
|
129
|
-
chainIds.map((chainId) => [chainId, mintsEthUnwrapperAndCallerAddress]),
|
|
130
|
-
),
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
|
|
134
|
-
const mintsAddresses = getMintsAddresses();
|
|
135
|
-
|
|
136
|
-
export default defineConfig({
|
|
137
|
-
out: "src/generated/wagmi.ts",
|
|
138
|
-
contracts: [
|
|
139
|
-
...Object.entries(get1155Addresses()).map(
|
|
140
|
-
([contractName, addressConfig]) => ({
|
|
141
|
-
abi: addressConfig.abi,
|
|
142
|
-
address: addressConfig.address,
|
|
143
|
-
name: contractName,
|
|
144
|
-
}),
|
|
145
|
-
),
|
|
146
|
-
{
|
|
147
|
-
abi: abis.zoraCreator1155ImplABI,
|
|
148
|
-
name: "ZoraCreator1155Impl",
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
abi: zoraMintsManagerImplABI,
|
|
152
|
-
name: "ZoraMintsManagerImpl",
|
|
153
|
-
address: mintsAddresses.mintsManager,
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
abi: zoraMints1155ABI,
|
|
157
|
-
name: "ZoraMints1155",
|
|
158
|
-
address: mintsAddresses.mints1155,
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
abi: mintsEthUnwrapperAndCallerABI,
|
|
162
|
-
name: "MintsEthUnwrapperAndCaller",
|
|
163
|
-
address: mintsAddresses.mintsEthUnwrapperAndCaller,
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
abi: iUnwrapAndForwardActionABI,
|
|
167
|
-
name: "IUnwrapAndForwardAction",
|
|
168
|
-
},
|
|
169
|
-
],
|
|
170
|
-
});
|