@zoralabs/protocol-deployments 0.1.6 → 0.1.8

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
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -21,8 +534,8 @@ export const iUnwrapAndForwardActionABI = [
21
534
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
22
535
 
23
536
  /**
24
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xE9Db91DD126D81697B588F1C145d74283E5C8ccC)
25
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xE9Db91DD126D81697B588F1C145d74283E5C8ccC)
537
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
538
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
26
539
  */
27
540
  export const mintsEthUnwrapperAndCallerABI = [
28
541
  {
@@ -104,7 +617,6 @@ export const mintsEthUnwrapperAndCallerABI = [
104
617
  { type: 'error', inputs: [], name: 'FailedInnerCall' },
105
618
  { type: 'error', inputs: [], name: 'NotExpectingReceive' },
106
619
  { type: 'error', inputs: [], name: 'NotZoraMints1155' },
107
- { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
108
620
  {
109
621
  type: 'error',
110
622
  inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
@@ -114,23 +626,334 @@ export const mintsEthUnwrapperAndCallerABI = [
114
626
  ] as const
115
627
 
116
628
  /**
117
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xE9Db91DD126D81697B588F1C145d74283E5C8ccC)
118
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xE9Db91DD126D81697B588F1C145d74283E5C8ccC)
629
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
630
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
119
631
  */
120
632
  export const mintsEthUnwrapperAndCallerAddress = {
121
- 7777777: '0xE9Db91DD126D81697B588F1C145d74283E5C8ccC',
122
- 999999999: '0xE9Db91DD126D81697B588F1C145d74283E5C8ccC',
633
+ 7777777: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
634
+ 999999999: '0xb0994EB9520C98C97e1F3953a5964535C2bd271A',
123
635
  } as const
124
636
 
125
637
  /**
126
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xE9Db91DD126D81697B588F1C145d74283E5C8ccC)
127
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xE9Db91DD126D81697B588F1C145d74283E5C8ccC)
638
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
639
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xb0994EB9520C98C97e1F3953a5964535C2bd271A)
128
640
  */
129
641
  export const mintsEthUnwrapperAndCallerConfig = {
130
642
  address: mintsEthUnwrapperAndCallerAddress,
131
643
  abi: mintsEthUnwrapperAndCallerABI,
132
644
  } as const
133
645
 
646
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
647
+ // ProtocolRewards
648
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
649
+
650
+ /**
651
+ * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
652
+ * - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
653
+ * - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
654
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
655
+ * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
656
+ * - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
657
+ * - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
658
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
659
+ * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
660
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
661
+ */
662
+ export const protocolRewardsABI = [
663
+ { stateMutability: 'payable', type: 'constructor', inputs: [] },
664
+ {
665
+ stateMutability: 'view',
666
+ type: 'function',
667
+ inputs: [],
668
+ name: 'WITHDRAW_TYPEHASH',
669
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
670
+ },
671
+ {
672
+ stateMutability: 'view',
673
+ type: 'function',
674
+ inputs: [{ name: '', internalType: 'address', type: 'address' }],
675
+ name: 'balanceOf',
676
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
677
+ },
678
+ {
679
+ stateMutability: 'payable',
680
+ type: 'function',
681
+ inputs: [
682
+ { name: 'to', internalType: 'address', type: 'address' },
683
+ { name: 'reason', internalType: 'bytes4', type: 'bytes4' },
684
+ { name: 'comment', internalType: 'string', type: 'string' },
685
+ ],
686
+ name: 'deposit',
687
+ outputs: [],
688
+ },
689
+ {
690
+ stateMutability: 'payable',
691
+ type: 'function',
692
+ inputs: [
693
+ { name: 'recipients', internalType: 'address[]', type: 'address[]' },
694
+ { name: 'amounts', internalType: 'uint256[]', type: 'uint256[]' },
695
+ { name: 'reasons', internalType: 'bytes4[]', type: 'bytes4[]' },
696
+ { name: 'comment', internalType: 'string', type: 'string' },
697
+ ],
698
+ name: 'depositBatch',
699
+ outputs: [],
700
+ },
701
+ {
702
+ stateMutability: 'payable',
703
+ type: 'function',
704
+ inputs: [
705
+ { name: 'creator', internalType: 'address', type: 'address' },
706
+ { name: 'creatorReward', internalType: 'uint256', type: 'uint256' },
707
+ { name: 'createReferral', internalType: 'address', type: 'address' },
708
+ {
709
+ name: 'createReferralReward',
710
+ internalType: 'uint256',
711
+ type: 'uint256',
712
+ },
713
+ { name: 'mintReferral', internalType: 'address', type: 'address' },
714
+ { name: 'mintReferralReward', internalType: 'uint256', type: 'uint256' },
715
+ { name: 'firstMinter', internalType: 'address', type: 'address' },
716
+ { name: 'firstMinterReward', internalType: 'uint256', type: 'uint256' },
717
+ { name: 'zora', internalType: 'address', type: 'address' },
718
+ { name: 'zoraReward', internalType: 'uint256', type: 'uint256' },
719
+ ],
720
+ name: 'depositRewards',
721
+ outputs: [],
722
+ },
723
+ {
724
+ stateMutability: 'view',
725
+ type: 'function',
726
+ inputs: [],
727
+ name: 'eip712Domain',
728
+ outputs: [
729
+ { name: 'fields', internalType: 'bytes1', type: 'bytes1' },
730
+ { name: 'name', internalType: 'string', type: 'string' },
731
+ { name: 'version', internalType: 'string', type: 'string' },
732
+ { name: 'chainId', internalType: 'uint256', type: 'uint256' },
733
+ { name: 'verifyingContract', internalType: 'address', type: 'address' },
734
+ { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
735
+ { name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
736
+ ],
737
+ },
738
+ {
739
+ stateMutability: 'view',
740
+ type: 'function',
741
+ inputs: [{ name: '', internalType: 'address', type: 'address' }],
742
+ name: 'nonces',
743
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
744
+ },
745
+ {
746
+ stateMutability: 'view',
747
+ type: 'function',
748
+ inputs: [],
749
+ name: 'totalSupply',
750
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
751
+ },
752
+ {
753
+ stateMutability: 'nonpayable',
754
+ type: 'function',
755
+ inputs: [
756
+ { name: 'to', internalType: 'address', type: 'address' },
757
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
758
+ ],
759
+ name: 'withdraw',
760
+ outputs: [],
761
+ },
762
+ {
763
+ stateMutability: 'nonpayable',
764
+ type: 'function',
765
+ inputs: [
766
+ { name: 'to', internalType: 'address', type: 'address' },
767
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
768
+ ],
769
+ name: 'withdrawFor',
770
+ outputs: [],
771
+ },
772
+ {
773
+ stateMutability: 'nonpayable',
774
+ type: 'function',
775
+ inputs: [
776
+ { name: 'from', internalType: 'address', type: 'address' },
777
+ { name: 'to', internalType: 'address', type: 'address' },
778
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
779
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
780
+ { name: 'v', internalType: 'uint8', type: 'uint8' },
781
+ { name: 'r', internalType: 'bytes32', type: 'bytes32' },
782
+ { name: 's', internalType: 'bytes32', type: 'bytes32' },
783
+ ],
784
+ name: 'withdrawWithSig',
785
+ outputs: [],
786
+ },
787
+ {
788
+ type: 'event',
789
+ anonymous: false,
790
+ inputs: [
791
+ { name: 'from', internalType: 'address', type: 'address', indexed: true },
792
+ { name: 'to', internalType: 'address', type: 'address', indexed: true },
793
+ { name: 'reason', internalType: 'bytes4', type: 'bytes4', indexed: true },
794
+ {
795
+ name: 'amount',
796
+ internalType: 'uint256',
797
+ type: 'uint256',
798
+ indexed: false,
799
+ },
800
+ {
801
+ name: 'comment',
802
+ internalType: 'string',
803
+ type: 'string',
804
+ indexed: false,
805
+ },
806
+ ],
807
+ name: 'Deposit',
808
+ },
809
+ { type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
810
+ {
811
+ type: 'event',
812
+ anonymous: false,
813
+ inputs: [
814
+ {
815
+ name: 'creator',
816
+ internalType: 'address',
817
+ type: 'address',
818
+ indexed: true,
819
+ },
820
+ {
821
+ name: 'createReferral',
822
+ internalType: 'address',
823
+ type: 'address',
824
+ indexed: true,
825
+ },
826
+ {
827
+ name: 'mintReferral',
828
+ internalType: 'address',
829
+ type: 'address',
830
+ indexed: true,
831
+ },
832
+ {
833
+ name: 'firstMinter',
834
+ internalType: 'address',
835
+ type: 'address',
836
+ indexed: false,
837
+ },
838
+ {
839
+ name: 'zora',
840
+ internalType: 'address',
841
+ type: 'address',
842
+ indexed: false,
843
+ },
844
+ {
845
+ name: 'from',
846
+ internalType: 'address',
847
+ type: 'address',
848
+ indexed: false,
849
+ },
850
+ {
851
+ name: 'creatorReward',
852
+ internalType: 'uint256',
853
+ type: 'uint256',
854
+ indexed: false,
855
+ },
856
+ {
857
+ name: 'createReferralReward',
858
+ internalType: 'uint256',
859
+ type: 'uint256',
860
+ indexed: false,
861
+ },
862
+ {
863
+ name: 'mintReferralReward',
864
+ internalType: 'uint256',
865
+ type: 'uint256',
866
+ indexed: false,
867
+ },
868
+ {
869
+ name: 'firstMinterReward',
870
+ internalType: 'uint256',
871
+ type: 'uint256',
872
+ indexed: false,
873
+ },
874
+ {
875
+ name: 'zoraReward',
876
+ internalType: 'uint256',
877
+ type: 'uint256',
878
+ indexed: false,
879
+ },
880
+ ],
881
+ name: 'RewardsDeposit',
882
+ },
883
+ {
884
+ type: 'event',
885
+ anonymous: false,
886
+ inputs: [
887
+ { name: 'from', internalType: 'address', type: 'address', indexed: true },
888
+ { name: 'to', internalType: 'address', type: 'address', indexed: true },
889
+ {
890
+ name: 'amount',
891
+ internalType: 'uint256',
892
+ type: 'uint256',
893
+ indexed: false,
894
+ },
895
+ ],
896
+ name: 'Withdraw',
897
+ },
898
+ { type: 'error', inputs: [], name: 'ADDRESS_ZERO' },
899
+ { type: 'error', inputs: [], name: 'ARRAY_LENGTH_MISMATCH' },
900
+ { type: 'error', inputs: [], name: 'INVALID_DEPOSIT' },
901
+ { type: 'error', inputs: [], name: 'INVALID_SIGNATURE' },
902
+ { type: 'error', inputs: [], name: 'INVALID_WITHDRAW' },
903
+ { type: 'error', inputs: [], name: 'InvalidShortString' },
904
+ { type: 'error', inputs: [], name: 'SIGNATURE_DEADLINE_EXPIRED' },
905
+ {
906
+ type: 'error',
907
+ inputs: [{ name: 'str', internalType: 'string', type: 'string' }],
908
+ name: 'StringTooLong',
909
+ },
910
+ { type: 'error', inputs: [], name: 'TRANSFER_FAILED' },
911
+ ] as const
912
+
913
+ /**
914
+ * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
915
+ * - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
916
+ * - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
917
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
918
+ * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
919
+ * - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
920
+ * - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
921
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
922
+ * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
923
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
924
+ */
925
+ export const protocolRewardsAddress = {
926
+ 1: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
927
+ 10: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
928
+ 999: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
929
+ 8453: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
930
+ 42161: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
931
+ 81457: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
932
+ 84532: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
933
+ 421614: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
934
+ 7777777: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
935
+ 11155111: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
936
+ 168587773: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
937
+ 999999999: '0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B',
938
+ } as const
939
+
940
+ /**
941
+ * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
942
+ * - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
943
+ * - [__View Contract on Zora Goerli Testnet Explorer__](https://testnet.explorer.zora.energy/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
944
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
945
+ * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
946
+ * - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
947
+ * - [__View Contract on Arbitrum Sepolia Blockscout__](https://sepolia-explorer.arbitrum.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
948
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
949
+ * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
950
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B)
951
+ */
952
+ export const protocolRewardsConfig = {
953
+ address: protocolRewardsAddress,
954
+ abi: protocolRewardsABI,
955
+ } as const
956
+
134
957
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
135
958
  // ZoraCreator1155FactoryImpl
136
959
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -5059,6 +5882,11 @@ export const zoraMintsManagerImplABI = [
5059
5882
  inputs: [
5060
5883
  { name: 'newContractURI', internalType: 'string', type: 'string' },
5061
5884
  { name: 'newBaseURI', internalType: 'string', type: 'string' },
5885
+ {
5886
+ name: 'tokenIdsToNotifyUpdate',
5887
+ internalType: 'uint256[]',
5888
+ type: 'uint256[]',
5889
+ },
5062
5890
  ],
5063
5891
  name: 'setMetadataURIs',
5064
5892
  outputs: [],