@zoralabs/protocol-deployments 0.1.6 → 0.1.7

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.
@@ -1,3 +1,516 @@
1
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2
+ // ERC20Minter
3
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
4
+
5
+ /**
6
+ * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
7
+ * - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
8
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
9
+ * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
10
+ * - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
11
+ * - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
12
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
13
+ * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
14
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
15
+ */
16
+ export const erc20MinterABI = [
17
+ {
18
+ stateMutability: 'pure',
19
+ type: 'function',
20
+ inputs: [{ name: 'totalReward', internalType: 'uint256', type: 'uint256' }],
21
+ name: 'computePaidMintRewards',
22
+ outputs: [
23
+ {
24
+ name: '',
25
+ internalType: 'struct IERC20Minter.RewardsSettings',
26
+ type: 'tuple',
27
+ components: [
28
+ {
29
+ name: 'createReferralReward',
30
+ internalType: 'uint256',
31
+ type: 'uint256',
32
+ },
33
+ {
34
+ name: 'mintReferralReward',
35
+ internalType: 'uint256',
36
+ type: 'uint256',
37
+ },
38
+ { name: 'zoraReward', internalType: 'uint256', type: 'uint256' },
39
+ {
40
+ name: 'firstMinterReward',
41
+ internalType: 'uint256',
42
+ type: 'uint256',
43
+ },
44
+ ],
45
+ },
46
+ ],
47
+ },
48
+ {
49
+ stateMutability: 'pure',
50
+ type: 'function',
51
+ inputs: [
52
+ { name: 'totalReward', internalType: 'uint256', type: 'uint256' },
53
+ { name: 'rewardPct', internalType: 'uint256', type: 'uint256' },
54
+ ],
55
+ name: 'computeReward',
56
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
57
+ },
58
+ {
59
+ stateMutability: 'pure',
60
+ type: 'function',
61
+ inputs: [{ name: 'totalValue', internalType: 'uint256', type: 'uint256' }],
62
+ name: 'computeTotalReward',
63
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
64
+ },
65
+ {
66
+ stateMutability: 'pure',
67
+ type: 'function',
68
+ inputs: [],
69
+ name: 'contractName',
70
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
71
+ },
72
+ {
73
+ stateMutability: 'pure',
74
+ type: 'function',
75
+ inputs: [],
76
+ name: 'contractURI',
77
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
78
+ },
79
+ {
80
+ stateMutability: 'pure',
81
+ type: 'function',
82
+ inputs: [],
83
+ name: 'contractVersion',
84
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
85
+ },
86
+ {
87
+ stateMutability: 'view',
88
+ type: 'function',
89
+ inputs: [
90
+ { name: 'tokenContract', internalType: 'address', type: 'address' },
91
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
92
+ ],
93
+ name: 'getCreateReferral',
94
+ outputs: [
95
+ { name: 'createReferral', internalType: 'address', type: 'address' },
96
+ ],
97
+ },
98
+ {
99
+ stateMutability: 'view',
100
+ type: 'function',
101
+ inputs: [
102
+ { name: 'tokenContract', internalType: 'address', type: 'address' },
103
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
104
+ ],
105
+ name: 'getFirstMinter',
106
+ outputs: [
107
+ { name: 'firstMinter', internalType: 'address', type: 'address' },
108
+ ],
109
+ },
110
+ {
111
+ stateMutability: 'view',
112
+ type: 'function',
113
+ inputs: [
114
+ { name: 'tokenContract', internalType: 'address', type: 'address' },
115
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
116
+ { name: 'wallet', internalType: 'address', type: 'address' },
117
+ ],
118
+ name: 'getMintedPerWallet',
119
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
120
+ },
121
+ {
122
+ stateMutability: 'nonpayable',
123
+ type: 'function',
124
+ inputs: [
125
+ {
126
+ name: '_zoraRewardRecipientAddress',
127
+ internalType: 'address',
128
+ type: 'address',
129
+ },
130
+ ],
131
+ name: 'initialize',
132
+ outputs: [],
133
+ },
134
+ {
135
+ stateMutability: 'nonpayable',
136
+ type: 'function',
137
+ inputs: [
138
+ { name: 'mintTo', internalType: 'address', type: 'address' },
139
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
140
+ { name: 'tokenAddress', internalType: 'address', type: 'address' },
141
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
142
+ { name: 'totalValue', internalType: 'uint256', type: 'uint256' },
143
+ { name: 'currency', internalType: 'address', type: 'address' },
144
+ { name: 'mintReferral', internalType: 'address', type: 'address' },
145
+ { name: 'comment', internalType: 'string', type: 'string' },
146
+ ],
147
+ name: 'mint',
148
+ outputs: [],
149
+ },
150
+ {
151
+ stateMutability: 'pure',
152
+ type: 'function',
153
+ inputs: [
154
+ { name: '', internalType: 'address', type: 'address' },
155
+ { name: '', internalType: 'uint256', type: 'uint256' },
156
+ { name: '', internalType: 'uint256', type: 'uint256' },
157
+ { name: '', internalType: 'uint256', type: 'uint256' },
158
+ { name: '', internalType: 'bytes', type: 'bytes' },
159
+ ],
160
+ name: 'requestMint',
161
+ outputs: [
162
+ {
163
+ name: '',
164
+ internalType: 'struct ICreatorCommands.CommandSet',
165
+ type: 'tuple',
166
+ components: [
167
+ {
168
+ name: 'commands',
169
+ internalType: 'struct ICreatorCommands.Command[]',
170
+ type: 'tuple[]',
171
+ components: [
172
+ {
173
+ name: 'method',
174
+ internalType: 'enum ICreatorCommands.CreatorActions',
175
+ type: 'uint8',
176
+ },
177
+ { name: 'args', internalType: 'bytes', type: 'bytes' },
178
+ ],
179
+ },
180
+ { name: 'at', internalType: 'uint256', type: 'uint256' },
181
+ ],
182
+ },
183
+ ],
184
+ },
185
+ {
186
+ stateMutability: 'nonpayable',
187
+ type: 'function',
188
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
189
+ name: 'resetSale',
190
+ outputs: [],
191
+ },
192
+ {
193
+ stateMutability: 'view',
194
+ type: 'function',
195
+ inputs: [
196
+ { name: 'tokenContract', internalType: 'address', type: 'address' },
197
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
198
+ ],
199
+ name: 'sale',
200
+ outputs: [
201
+ {
202
+ name: '',
203
+ internalType: 'struct IERC20Minter.SalesConfig',
204
+ type: 'tuple',
205
+ components: [
206
+ { name: 'saleStart', internalType: 'uint64', type: 'uint64' },
207
+ { name: 'saleEnd', internalType: 'uint64', type: 'uint64' },
208
+ {
209
+ name: 'maxTokensPerAddress',
210
+ internalType: 'uint64',
211
+ type: 'uint64',
212
+ },
213
+ { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' },
214
+ { name: 'fundsRecipient', internalType: 'address', type: 'address' },
215
+ { name: 'currency', internalType: 'address', type: 'address' },
216
+ ],
217
+ },
218
+ ],
219
+ },
220
+ {
221
+ stateMutability: 'nonpayable',
222
+ type: 'function',
223
+ inputs: [
224
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
225
+ {
226
+ name: 'salesConfig',
227
+ internalType: 'struct IERC20Minter.SalesConfig',
228
+ type: 'tuple',
229
+ components: [
230
+ { name: 'saleStart', internalType: 'uint64', type: 'uint64' },
231
+ { name: 'saleEnd', internalType: 'uint64', type: 'uint64' },
232
+ {
233
+ name: 'maxTokensPerAddress',
234
+ internalType: 'uint64',
235
+ type: 'uint64',
236
+ },
237
+ { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' },
238
+ { name: 'fundsRecipient', internalType: 'address', type: 'address' },
239
+ { name: 'currency', internalType: 'address', type: 'address' },
240
+ ],
241
+ },
242
+ ],
243
+ name: 'setSale',
244
+ outputs: [],
245
+ },
246
+ {
247
+ stateMutability: 'nonpayable',
248
+ type: 'function',
249
+ inputs: [{ name: 'recipient', internalType: 'address', type: 'address' }],
250
+ name: 'setZoraRewardsRecipient',
251
+ outputs: [],
252
+ },
253
+ {
254
+ stateMutability: 'pure',
255
+ type: 'function',
256
+ inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
257
+ name: 'supportsInterface',
258
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
259
+ },
260
+ {
261
+ stateMutability: 'pure',
262
+ type: 'function',
263
+ inputs: [],
264
+ name: 'totalRewardPct',
265
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
266
+ },
267
+ {
268
+ stateMutability: 'view',
269
+ type: 'function',
270
+ inputs: [],
271
+ name: 'zoraRewardRecipientAddress',
272
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
273
+ },
274
+ {
275
+ type: 'event',
276
+ anonymous: false,
277
+ inputs: [
278
+ {
279
+ name: 'rewardPercentage',
280
+ internalType: 'uint256',
281
+ type: 'uint256',
282
+ indexed: false,
283
+ },
284
+ ],
285
+ name: 'ERC20MinterInitialized',
286
+ },
287
+ {
288
+ type: 'event',
289
+ anonymous: false,
290
+ inputs: [
291
+ {
292
+ name: 'createReferral',
293
+ internalType: 'address',
294
+ type: 'address',
295
+ indexed: true,
296
+ },
297
+ {
298
+ name: 'mintReferral',
299
+ internalType: 'address',
300
+ type: 'address',
301
+ indexed: true,
302
+ },
303
+ {
304
+ name: 'firstMinter',
305
+ internalType: 'address',
306
+ type: 'address',
307
+ indexed: true,
308
+ },
309
+ {
310
+ name: 'zora',
311
+ internalType: 'address',
312
+ type: 'address',
313
+ indexed: false,
314
+ },
315
+ {
316
+ name: 'collection',
317
+ internalType: 'address',
318
+ type: 'address',
319
+ indexed: false,
320
+ },
321
+ {
322
+ name: 'currency',
323
+ internalType: 'address',
324
+ type: 'address',
325
+ indexed: false,
326
+ },
327
+ {
328
+ name: 'tokenId',
329
+ internalType: 'uint256',
330
+ type: 'uint256',
331
+ indexed: false,
332
+ },
333
+ {
334
+ name: 'createReferralReward',
335
+ internalType: 'uint256',
336
+ type: 'uint256',
337
+ indexed: false,
338
+ },
339
+ {
340
+ name: 'mintReferralReward',
341
+ internalType: 'uint256',
342
+ type: 'uint256',
343
+ indexed: false,
344
+ },
345
+ {
346
+ name: 'firstMinterReward',
347
+ internalType: 'uint256',
348
+ type: 'uint256',
349
+ indexed: false,
350
+ },
351
+ {
352
+ name: 'zoraReward',
353
+ internalType: 'uint256',
354
+ type: 'uint256',
355
+ indexed: false,
356
+ },
357
+ ],
358
+ name: 'ERC20RewardsDeposit',
359
+ },
360
+ {
361
+ type: 'event',
362
+ anonymous: false,
363
+ inputs: [
364
+ {
365
+ name: 'sender',
366
+ internalType: 'address',
367
+ type: 'address',
368
+ indexed: true,
369
+ },
370
+ {
371
+ name: 'tokenContract',
372
+ internalType: 'address',
373
+ type: 'address',
374
+ indexed: true,
375
+ },
376
+ {
377
+ name: 'tokenId',
378
+ internalType: 'uint256',
379
+ type: 'uint256',
380
+ indexed: true,
381
+ },
382
+ {
383
+ name: 'quantity',
384
+ internalType: 'uint256',
385
+ type: 'uint256',
386
+ indexed: false,
387
+ },
388
+ {
389
+ name: 'comment',
390
+ internalType: 'string',
391
+ type: 'string',
392
+ indexed: false,
393
+ },
394
+ ],
395
+ name: 'MintComment',
396
+ },
397
+ {
398
+ type: 'event',
399
+ anonymous: false,
400
+ inputs: [
401
+ {
402
+ name: 'mediaContract',
403
+ internalType: 'address',
404
+ type: 'address',
405
+ indexed: true,
406
+ },
407
+ {
408
+ name: 'tokenId',
409
+ internalType: 'uint256',
410
+ type: 'uint256',
411
+ indexed: true,
412
+ },
413
+ {
414
+ name: 'salesConfig',
415
+ internalType: 'struct IERC20Minter.SalesConfig',
416
+ type: 'tuple',
417
+ components: [
418
+ { name: 'saleStart', internalType: 'uint64', type: 'uint64' },
419
+ { name: 'saleEnd', internalType: 'uint64', type: 'uint64' },
420
+ {
421
+ name: 'maxTokensPerAddress',
422
+ internalType: 'uint64',
423
+ type: 'uint64',
424
+ },
425
+ { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' },
426
+ { name: 'fundsRecipient', internalType: 'address', type: 'address' },
427
+ { name: 'currency', internalType: 'address', type: 'address' },
428
+ ],
429
+ indexed: false,
430
+ },
431
+ ],
432
+ name: 'SaleSet',
433
+ },
434
+ {
435
+ type: 'event',
436
+ anonymous: false,
437
+ inputs: [
438
+ {
439
+ name: 'prevRecipient',
440
+ internalType: 'address',
441
+ type: 'address',
442
+ indexed: true,
443
+ },
444
+ {
445
+ name: 'newRecipient',
446
+ internalType: 'address',
447
+ type: 'address',
448
+ indexed: true,
449
+ },
450
+ ],
451
+ name: 'ZoraRewardsRecipientSet',
452
+ },
453
+ { type: 'error', inputs: [], name: 'AddressZero' },
454
+ { type: 'error', inputs: [], name: 'AlreadyInitialized' },
455
+ { type: 'error', inputs: [], name: 'ERC20TransferSlippage' },
456
+ { type: 'error', inputs: [], name: 'InvalidCurrency' },
457
+ { type: 'error', inputs: [], name: 'OnlyZoraRewardsRecipient' },
458
+ { type: 'error', inputs: [], name: 'PricePerTokenTooLow' },
459
+ { type: 'error', inputs: [], name: 'RequestMintInvalidUseMint' },
460
+ { type: 'error', inputs: [], name: 'SaleEnded' },
461
+ { type: 'error', inputs: [], name: 'SaleHasNotStarted' },
462
+ {
463
+ type: 'error',
464
+ inputs: [
465
+ { name: 'user', internalType: 'address', type: 'address' },
466
+ { name: 'limit', internalType: 'uint256', type: 'uint256' },
467
+ { name: 'requestedAmount', internalType: 'uint256', type: 'uint256' },
468
+ ],
469
+ name: 'UserExceedsMintLimit',
470
+ },
471
+ { type: 'error', inputs: [], name: 'WrongValueSent' },
472
+ ] as const
473
+
474
+ /**
475
+ * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
476
+ * - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
477
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
478
+ * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
479
+ * - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
480
+ * - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
481
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
482
+ * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
483
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
484
+ */
485
+ export const erc20MinterAddress = {
486
+ 1: '0x777777E8850d8D6d98De2B5f64fae401F96eFF31',
487
+ 10: '0x777777E8850d8D6d98De2B5f64fae401F96eFF31',
488
+ 8453: '0x777777E8850d8D6d98De2B5f64fae401F96eFF31',
489
+ 42161: '0x777777E8850d8D6d98De2B5f64fae401F96eFF31',
490
+ 81457: '0x777777E8850d8D6d98De2B5f64fae401F96eFF31',
491
+ 84532: '0x777777E8850d8D6d98De2B5f64fae401F96eFF31',
492
+ 421614: '0x777777E8850d8D6d98De2B5f64fae401F96eFF31',
493
+ 7777777: '0x777777E8850d8D6d98De2B5f64fae401F96eFF31',
494
+ 11155111: '0x777777E8850d8D6d98De2B5f64fae401F96eFF31',
495
+ 999999999: '0x777777E8850d8D6d98De2B5f64fae401F96eFF31',
496
+ } as const
497
+
498
+ /**
499
+ * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
500
+ * - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
501
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
502
+ * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
503
+ * - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
504
+ * - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
505
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
506
+ * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
507
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
508
+ */
509
+ export const erc20MinterConfig = {
510
+ address: erc20MinterAddress,
511
+ abi: erc20MinterABI,
512
+ } as const
513
+
1
514
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2
515
  // IUnwrapAndForwardAction
3
516
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -131,6 +644,317 @@ export const mintsEthUnwrapperAndCallerConfig = {
131
644
  abi: mintsEthUnwrapperAndCallerABI,
132
645
  } as const
133
646
 
647
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
648
+ // ProtocolRewards
649
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
650
+
651
+ /**
652
+ * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
653
+ * - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
654
+ * - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
655
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
656
+ * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
657
+ * - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
658
+ * - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
659
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
660
+ * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
661
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
662
+ */
663
+ export const protocolRewardsABI = [
664
+ { stateMutability: 'payable', type: 'constructor', inputs: [] },
665
+ {
666
+ stateMutability: 'view',
667
+ type: 'function',
668
+ inputs: [],
669
+ name: 'WITHDRAW_TYPEHASH',
670
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
671
+ },
672
+ {
673
+ stateMutability: 'view',
674
+ type: 'function',
675
+ inputs: [{ name: '', internalType: 'address', type: 'address' }],
676
+ name: 'balanceOf',
677
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
678
+ },
679
+ {
680
+ stateMutability: 'payable',
681
+ type: 'function',
682
+ inputs: [
683
+ { name: 'to', internalType: 'address', type: 'address' },
684
+ { name: 'reason', internalType: 'bytes4', type: 'bytes4' },
685
+ { name: 'comment', internalType: 'string', type: 'string' },
686
+ ],
687
+ name: 'deposit',
688
+ outputs: [],
689
+ },
690
+ {
691
+ stateMutability: 'payable',
692
+ type: 'function',
693
+ inputs: [
694
+ { name: 'recipients', internalType: 'address[]', type: 'address[]' },
695
+ { name: 'amounts', internalType: 'uint256[]', type: 'uint256[]' },
696
+ { name: 'reasons', internalType: 'bytes4[]', type: 'bytes4[]' },
697
+ { name: 'comment', internalType: 'string', type: 'string' },
698
+ ],
699
+ name: 'depositBatch',
700
+ outputs: [],
701
+ },
702
+ {
703
+ stateMutability: 'payable',
704
+ type: 'function',
705
+ inputs: [
706
+ { name: 'creator', internalType: 'address', type: 'address' },
707
+ { name: 'creatorReward', internalType: 'uint256', type: 'uint256' },
708
+ { name: 'createReferral', internalType: 'address', type: 'address' },
709
+ {
710
+ name: 'createReferralReward',
711
+ internalType: 'uint256',
712
+ type: 'uint256',
713
+ },
714
+ { name: 'mintReferral', internalType: 'address', type: 'address' },
715
+ { name: 'mintReferralReward', internalType: 'uint256', type: 'uint256' },
716
+ { name: 'firstMinter', internalType: 'address', type: 'address' },
717
+ { name: 'firstMinterReward', internalType: 'uint256', type: 'uint256' },
718
+ { name: 'zora', internalType: 'address', type: 'address' },
719
+ { name: 'zoraReward', internalType: 'uint256', type: 'uint256' },
720
+ ],
721
+ name: 'depositRewards',
722
+ outputs: [],
723
+ },
724
+ {
725
+ stateMutability: 'view',
726
+ type: 'function',
727
+ inputs: [],
728
+ name: 'eip712Domain',
729
+ outputs: [
730
+ { name: 'fields', internalType: 'bytes1', type: 'bytes1' },
731
+ { name: 'name', internalType: 'string', type: 'string' },
732
+ { name: 'version', internalType: 'string', type: 'string' },
733
+ { name: 'chainId', internalType: 'uint256', type: 'uint256' },
734
+ { name: 'verifyingContract', internalType: 'address', type: 'address' },
735
+ { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
736
+ { name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
737
+ ],
738
+ },
739
+ {
740
+ stateMutability: 'view',
741
+ type: 'function',
742
+ inputs: [{ name: '', internalType: 'address', type: 'address' }],
743
+ name: 'nonces',
744
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
745
+ },
746
+ {
747
+ stateMutability: 'view',
748
+ type: 'function',
749
+ inputs: [],
750
+ name: 'totalSupply',
751
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
752
+ },
753
+ {
754
+ stateMutability: 'nonpayable',
755
+ type: 'function',
756
+ inputs: [
757
+ { name: 'to', internalType: 'address', type: 'address' },
758
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
759
+ ],
760
+ name: 'withdraw',
761
+ outputs: [],
762
+ },
763
+ {
764
+ stateMutability: 'nonpayable',
765
+ type: 'function',
766
+ inputs: [
767
+ { name: 'to', internalType: 'address', type: 'address' },
768
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
769
+ ],
770
+ name: 'withdrawFor',
771
+ outputs: [],
772
+ },
773
+ {
774
+ stateMutability: 'nonpayable',
775
+ type: 'function',
776
+ inputs: [
777
+ { name: 'from', internalType: 'address', type: 'address' },
778
+ { name: 'to', internalType: 'address', type: 'address' },
779
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
780
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
781
+ { name: 'v', internalType: 'uint8', type: 'uint8' },
782
+ { name: 'r', internalType: 'bytes32', type: 'bytes32' },
783
+ { name: 's', internalType: 'bytes32', type: 'bytes32' },
784
+ ],
785
+ name: 'withdrawWithSig',
786
+ outputs: [],
787
+ },
788
+ {
789
+ type: 'event',
790
+ anonymous: false,
791
+ inputs: [
792
+ { name: 'from', internalType: 'address', type: 'address', indexed: true },
793
+ { name: 'to', internalType: 'address', type: 'address', indexed: true },
794
+ { name: 'reason', internalType: 'bytes4', type: 'bytes4', indexed: true },
795
+ {
796
+ name: 'amount',
797
+ internalType: 'uint256',
798
+ type: 'uint256',
799
+ indexed: false,
800
+ },
801
+ {
802
+ name: 'comment',
803
+ internalType: 'string',
804
+ type: 'string',
805
+ indexed: false,
806
+ },
807
+ ],
808
+ name: 'Deposit',
809
+ },
810
+ { type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
811
+ {
812
+ type: 'event',
813
+ anonymous: false,
814
+ inputs: [
815
+ {
816
+ name: 'creator',
817
+ internalType: 'address',
818
+ type: 'address',
819
+ indexed: true,
820
+ },
821
+ {
822
+ name: 'createReferral',
823
+ internalType: 'address',
824
+ type: 'address',
825
+ indexed: true,
826
+ },
827
+ {
828
+ name: 'mintReferral',
829
+ internalType: 'address',
830
+ type: 'address',
831
+ indexed: true,
832
+ },
833
+ {
834
+ name: 'firstMinter',
835
+ internalType: 'address',
836
+ type: 'address',
837
+ indexed: false,
838
+ },
839
+ {
840
+ name: 'zora',
841
+ internalType: 'address',
842
+ type: 'address',
843
+ indexed: false,
844
+ },
845
+ {
846
+ name: 'from',
847
+ internalType: 'address',
848
+ type: 'address',
849
+ indexed: false,
850
+ },
851
+ {
852
+ name: 'creatorReward',
853
+ internalType: 'uint256',
854
+ type: 'uint256',
855
+ indexed: false,
856
+ },
857
+ {
858
+ name: 'createReferralReward',
859
+ internalType: 'uint256',
860
+ type: 'uint256',
861
+ indexed: false,
862
+ },
863
+ {
864
+ name: 'mintReferralReward',
865
+ internalType: 'uint256',
866
+ type: 'uint256',
867
+ indexed: false,
868
+ },
869
+ {
870
+ name: 'firstMinterReward',
871
+ internalType: 'uint256',
872
+ type: 'uint256',
873
+ indexed: false,
874
+ },
875
+ {
876
+ name: 'zoraReward',
877
+ internalType: 'uint256',
878
+ type: 'uint256',
879
+ indexed: false,
880
+ },
881
+ ],
882
+ name: 'RewardsDeposit',
883
+ },
884
+ {
885
+ type: 'event',
886
+ anonymous: false,
887
+ inputs: [
888
+ { name: 'from', internalType: 'address', type: 'address', indexed: true },
889
+ { name: 'to', internalType: 'address', type: 'address', indexed: true },
890
+ {
891
+ name: 'amount',
892
+ internalType: 'uint256',
893
+ type: 'uint256',
894
+ indexed: false,
895
+ },
896
+ ],
897
+ name: 'Withdraw',
898
+ },
899
+ { type: 'error', inputs: [], name: 'ADDRESS_ZERO' },
900
+ { type: 'error', inputs: [], name: 'ARRAY_LENGTH_MISMATCH' },
901
+ { type: 'error', inputs: [], name: 'INVALID_DEPOSIT' },
902
+ { type: 'error', inputs: [], name: 'INVALID_SIGNATURE' },
903
+ { type: 'error', inputs: [], name: 'INVALID_WITHDRAW' },
904
+ { type: 'error', inputs: [], name: 'InvalidShortString' },
905
+ { type: 'error', inputs: [], name: 'SIGNATURE_DEADLINE_EXPIRED' },
906
+ {
907
+ type: 'error',
908
+ inputs: [{ name: 'str', internalType: 'string', type: 'string' }],
909
+ name: 'StringTooLong',
910
+ },
911
+ { type: 'error', inputs: [], name: 'TRANSFER_FAILED' },
912
+ ] as const
913
+
914
+ /**
915
+ * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
916
+ * - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
917
+ * - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
918
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
919
+ * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
920
+ * - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
921
+ * - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
922
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
923
+ * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
924
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
925
+ */
926
+ export const protocolRewardsAddress = {
927
+ 1: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
928
+ 10: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
929
+ 999: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
930
+ 8453: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
931
+ 42161: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
932
+ 81457: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
933
+ 84532: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
934
+ 421614: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
935
+ 7777777: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
936
+ 11155111: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
937
+ 168587773: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
938
+ 999999999: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
939
+ } as const
940
+
941
+ /**
942
+ * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
943
+ * - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
944
+ * - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
945
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
946
+ * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
947
+ * - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
948
+ * - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
949
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
950
+ * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
951
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
952
+ */
953
+ export const protocolRewardsConfig = {
954
+ address: protocolRewardsAddress,
955
+ abi: protocolRewardsABI,
956
+ } as const
957
+
134
958
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
135
959
  // ZoraCreator1155FactoryImpl
136
960
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -5059,6 +5883,11 @@ export const zoraMintsManagerImplABI = [
5059
5883
  inputs: [
5060
5884
  { name: 'newContractURI', internalType: 'string', type: 'string' },
5061
5885
  { name: 'newBaseURI', internalType: 'string', type: 'string' },
5886
+ {
5887
+ name: 'tokenIdsToNotifyUpdate',
5888
+ internalType: 'uint256[]',
5889
+ type: 'uint256[]',
5890
+ },
5062
5891
  ],
5063
5892
  name: 'setMetadataURIs',
5064
5893
  outputs: [],