@zoralabs/protocol-deployments 0.3.5-COMMENTS.3 → 0.3.5-COMMENTS.4

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,10 +1,833 @@
1
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2
+ // CallerAndCommenter
3
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
4
+
5
+ /**
6
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
7
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
8
+ */
9
+ export const callerAndCommenterABI = [
10
+ {
11
+ stateMutability: 'nonpayable',
12
+ type: 'constructor',
13
+ inputs: [
14
+ { name: '_comments', internalType: 'address', type: 'address' },
15
+ { name: '_zoraTimedSale', internalType: 'address', type: 'address' },
16
+ ],
17
+ },
18
+ {
19
+ stateMutability: 'view',
20
+ type: 'function',
21
+ inputs: [],
22
+ name: 'UPGRADE_INTERFACE_VERSION',
23
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
24
+ },
25
+ {
26
+ stateMutability: 'nonpayable',
27
+ type: 'function',
28
+ inputs: [],
29
+ name: 'acceptOwnership',
30
+ outputs: [],
31
+ },
32
+ {
33
+ stateMutability: 'view',
34
+ type: 'function',
35
+ inputs: [],
36
+ name: 'comments',
37
+ outputs: [
38
+ { name: '', internalType: 'contract IComments', type: 'address' },
39
+ ],
40
+ },
41
+ {
42
+ stateMutability: 'pure',
43
+ type: 'function',
44
+ inputs: [],
45
+ name: 'contractName',
46
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
47
+ },
48
+ {
49
+ stateMutability: 'pure',
50
+ type: 'function',
51
+ inputs: [],
52
+ name: 'contractVersion',
53
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
54
+ },
55
+ {
56
+ stateMutability: 'view',
57
+ type: 'function',
58
+ inputs: [],
59
+ name: 'eip712Domain',
60
+ outputs: [
61
+ { name: 'fields', internalType: 'bytes1', type: 'bytes1' },
62
+ { name: 'name', internalType: 'string', type: 'string' },
63
+ { name: 'version', internalType: 'string', type: 'string' },
64
+ { name: 'chainId', internalType: 'uint256', type: 'uint256' },
65
+ { name: 'verifyingContract', internalType: 'address', type: 'address' },
66
+ { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
67
+ { name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
68
+ ],
69
+ },
70
+ {
71
+ stateMutability: 'view',
72
+ type: 'function',
73
+ inputs: [
74
+ {
75
+ name: 'permit',
76
+ internalType:
77
+ 'struct ICallerAndCommenter.PermitTimedSaleMintAndComment',
78
+ type: 'tuple',
79
+ components: [
80
+ { name: 'commenter', internalType: 'address', type: 'address' },
81
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
82
+ { name: 'collection', internalType: 'address', type: 'address' },
83
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
84
+ { name: 'mintReferral', internalType: 'address', type: 'address' },
85
+ { name: 'comment', internalType: 'string', type: 'string' },
86
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
87
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
88
+ { name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
89
+ {
90
+ name: 'destinationChainId',
91
+ internalType: 'uint32',
92
+ type: 'uint32',
93
+ },
94
+ ],
95
+ },
96
+ ],
97
+ name: 'hashPermitTimedSaleMintAndComment',
98
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
99
+ },
100
+ {
101
+ stateMutability: 'nonpayable',
102
+ type: 'function',
103
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
104
+ name: 'initialize',
105
+ outputs: [],
106
+ },
107
+ {
108
+ stateMutability: 'view',
109
+ type: 'function',
110
+ inputs: [
111
+ { name: 'owner', internalType: 'address', type: 'address' },
112
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
113
+ ],
114
+ name: 'nonceUsed',
115
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
116
+ },
117
+ {
118
+ stateMutability: 'view',
119
+ type: 'function',
120
+ inputs: [],
121
+ name: 'owner',
122
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
123
+ },
124
+ {
125
+ stateMutability: 'view',
126
+ type: 'function',
127
+ inputs: [],
128
+ name: 'pendingOwner',
129
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
130
+ },
131
+ {
132
+ stateMutability: 'payable',
133
+ type: 'function',
134
+ inputs: [
135
+ {
136
+ name: 'permit',
137
+ internalType:
138
+ 'struct ICallerAndCommenter.PermitTimedSaleMintAndComment',
139
+ type: 'tuple',
140
+ components: [
141
+ { name: 'commenter', internalType: 'address', type: 'address' },
142
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
143
+ { name: 'collection', internalType: 'address', type: 'address' },
144
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
145
+ { name: 'mintReferral', internalType: 'address', type: 'address' },
146
+ { name: 'comment', internalType: 'string', type: 'string' },
147
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
148
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
149
+ { name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
150
+ {
151
+ name: 'destinationChainId',
152
+ internalType: 'uint32',
153
+ type: 'uint32',
154
+ },
155
+ ],
156
+ },
157
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
158
+ ],
159
+ name: 'permitTimedSaleMintAndComment',
160
+ outputs: [
161
+ {
162
+ name: '',
163
+ internalType: 'struct IComments.CommentIdentifier',
164
+ type: 'tuple',
165
+ components: [
166
+ { name: 'commenter', internalType: 'address', type: 'address' },
167
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
168
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
169
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
170
+ ],
171
+ },
172
+ ],
173
+ },
174
+ {
175
+ stateMutability: 'view',
176
+ type: 'function',
177
+ inputs: [],
178
+ name: 'proxiableUUID',
179
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
180
+ },
181
+ {
182
+ stateMutability: 'nonpayable',
183
+ type: 'function',
184
+ inputs: [],
185
+ name: 'renounceOwnership',
186
+ outputs: [],
187
+ },
188
+ {
189
+ stateMutability: 'payable',
190
+ type: 'function',
191
+ inputs: [
192
+ { name: 'commenter', internalType: 'address', type: 'address' },
193
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
194
+ { name: 'collection', internalType: 'address', type: 'address' },
195
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
196
+ { name: 'mintReferral', internalType: 'address', type: 'address' },
197
+ { name: 'comment', internalType: 'string', type: 'string' },
198
+ ],
199
+ name: 'timedSaleMintAndComment',
200
+ outputs: [
201
+ {
202
+ name: '',
203
+ internalType: 'struct IComments.CommentIdentifier',
204
+ type: 'tuple',
205
+ components: [
206
+ { name: 'commenter', internalType: 'address', type: 'address' },
207
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
208
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
209
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
210
+ ],
211
+ },
212
+ ],
213
+ },
214
+ {
215
+ stateMutability: 'nonpayable',
216
+ type: 'function',
217
+ inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
218
+ name: 'transferOwnership',
219
+ outputs: [],
220
+ },
221
+ {
222
+ stateMutability: 'payable',
223
+ type: 'function',
224
+ inputs: [
225
+ { name: 'newImplementation', internalType: 'address', type: 'address' },
226
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
227
+ ],
228
+ name: 'upgradeToAndCall',
229
+ outputs: [],
230
+ },
231
+ {
232
+ stateMutability: 'view',
233
+ type: 'function',
234
+ inputs: [],
235
+ name: 'zoraTimedSale',
236
+ outputs: [
237
+ {
238
+ name: '',
239
+ internalType: 'contract IZoraTimedSaleStrategy',
240
+ type: 'address',
241
+ },
242
+ ],
243
+ },
244
+ { type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
245
+ {
246
+ type: 'event',
247
+ anonymous: false,
248
+ inputs: [
249
+ {
250
+ name: 'version',
251
+ internalType: 'uint64',
252
+ type: 'uint64',
253
+ indexed: false,
254
+ },
255
+ ],
256
+ name: 'Initialized',
257
+ },
258
+ {
259
+ type: 'event',
260
+ anonymous: false,
261
+ inputs: [
262
+ {
263
+ name: 'commentId',
264
+ internalType: 'bytes32',
265
+ type: 'bytes32',
266
+ indexed: true,
267
+ },
268
+ {
269
+ name: 'commentIdentifier',
270
+ internalType: 'struct IComments.CommentIdentifier',
271
+ type: 'tuple',
272
+ components: [
273
+ { name: 'commenter', internalType: 'address', type: 'address' },
274
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
275
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
276
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
277
+ ],
278
+ indexed: false,
279
+ },
280
+ {
281
+ name: 'quantity',
282
+ internalType: 'uint256',
283
+ type: 'uint256',
284
+ indexed: false,
285
+ },
286
+ { name: 'text', internalType: 'string', type: 'string', indexed: false },
287
+ ],
288
+ name: 'MintedAndCommented',
289
+ },
290
+ {
291
+ type: 'event',
292
+ anonymous: false,
293
+ inputs: [
294
+ {
295
+ name: 'previousOwner',
296
+ internalType: 'address',
297
+ type: 'address',
298
+ indexed: true,
299
+ },
300
+ {
301
+ name: 'newOwner',
302
+ internalType: 'address',
303
+ type: 'address',
304
+ indexed: true,
305
+ },
306
+ ],
307
+ name: 'OwnershipTransferStarted',
308
+ },
309
+ {
310
+ type: 'event',
311
+ anonymous: false,
312
+ inputs: [
313
+ {
314
+ name: 'previousOwner',
315
+ internalType: 'address',
316
+ type: 'address',
317
+ indexed: true,
318
+ },
319
+ {
320
+ name: 'newOwner',
321
+ internalType: 'address',
322
+ type: 'address',
323
+ indexed: true,
324
+ },
325
+ ],
326
+ name: 'OwnershipTransferred',
327
+ },
328
+ {
329
+ type: 'event',
330
+ anonymous: false,
331
+ inputs: [
332
+ {
333
+ name: 'implementation',
334
+ internalType: 'address',
335
+ type: 'address',
336
+ indexed: true,
337
+ },
338
+ ],
339
+ name: 'Upgraded',
340
+ },
341
+ {
342
+ type: 'error',
343
+ inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
344
+ name: 'AddressEmptyCode',
345
+ },
346
+ {
347
+ type: 'error',
348
+ inputs: [
349
+ { name: 'expected', internalType: 'address', type: 'address' },
350
+ { name: 'actual', internalType: 'address', type: 'address' },
351
+ ],
352
+ name: 'CommenterMismatch',
353
+ },
354
+ {
355
+ type: 'error',
356
+ inputs: [
357
+ { name: 'implementation', internalType: 'address', type: 'address' },
358
+ ],
359
+ name: 'ERC1967InvalidImplementation',
360
+ },
361
+ { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
362
+ {
363
+ type: 'error',
364
+ inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
365
+ name: 'ERC2612ExpiredSignature',
366
+ },
367
+ { type: 'error', inputs: [], name: 'FailedInnerCall' },
368
+ {
369
+ type: 'error',
370
+ inputs: [
371
+ {
372
+ name: 'wrongDestinationChainId',
373
+ internalType: 'uint256',
374
+ type: 'uint256',
375
+ },
376
+ ],
377
+ name: 'IncorrectDestinationChain',
378
+ },
379
+ {
380
+ type: 'error',
381
+ inputs: [
382
+ { name: 'account', internalType: 'address', type: 'address' },
383
+ { name: 'currentNonce', internalType: 'bytes32', type: 'bytes32' },
384
+ ],
385
+ name: 'InvalidAccountNonce',
386
+ },
387
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
388
+ { type: 'error', inputs: [], name: 'InvalidSignature' },
389
+ { type: 'error', inputs: [], name: 'NotInitializing' },
390
+ {
391
+ type: 'error',
392
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
393
+ name: 'OwnableInvalidOwner',
394
+ },
395
+ {
396
+ type: 'error',
397
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
398
+ name: 'OwnableUnauthorizedAccount',
399
+ },
400
+ { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
401
+ {
402
+ type: 'error',
403
+ inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
404
+ name: 'UUPSUnsupportedProxiableUUID',
405
+ },
406
+ {
407
+ type: 'error',
408
+ inputs: [
409
+ { name: 'currentName', internalType: 'string', type: 'string' },
410
+ { name: 'newName', internalType: 'string', type: 'string' },
411
+ ],
412
+ name: 'UpgradeToMismatchedContractName',
413
+ },
414
+ {
415
+ type: 'error',
416
+ inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
417
+ name: 'AddressEmptyCode',
418
+ },
419
+ {
420
+ type: 'error',
421
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
422
+ name: 'AddressInsufficientBalance',
423
+ },
424
+ { type: 'error', inputs: [], name: 'AddressZero' },
425
+ { type: 'error', inputs: [], name: 'ERC1167FailedCreateClone' },
426
+ {
427
+ type: 'error',
428
+ inputs: [
429
+ { name: 'implementation', internalType: 'address', type: 'address' },
430
+ ],
431
+ name: 'ERC1967InvalidImplementation',
432
+ },
433
+ { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
434
+ { type: 'error', inputs: [], name: 'EndTimeCannotBeInThePast' },
435
+ { type: 'error', inputs: [], name: 'FailedInnerCall' },
436
+ { type: 'error', inputs: [], name: 'InsufficientFunds' },
437
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
438
+ { type: 'error', inputs: [], name: 'MarketAlreadyLaunched' },
439
+ { type: 'error', inputs: [], name: 'MarketMinimumNotReached' },
440
+ { type: 'error', inputs: [], name: 'MinimumMarketEthNotMet' },
441
+ { type: 'error', inputs: [], name: 'NeedsToBeAtLeastOneSaleToStartMarket' },
442
+ { type: 'error', inputs: [], name: 'NotInitializing' },
443
+ { type: 'error', inputs: [], name: 'OnlyZoraRewardRecipient' },
444
+ {
445
+ type: 'error',
446
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
447
+ name: 'OwnableInvalidOwner',
448
+ },
449
+ {
450
+ type: 'error',
451
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
452
+ name: 'OwnableUnauthorizedAccount',
453
+ },
454
+ { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
455
+ { type: 'error', inputs: [], name: 'RequestMintInvalidUseMint' },
456
+ { type: 'error', inputs: [], name: 'ResetSaleNotAvailable' },
457
+ { type: 'error', inputs: [], name: 'SaleAlreadySet' },
458
+ { type: 'error', inputs: [], name: 'SaleEnded' },
459
+ { type: 'error', inputs: [], name: 'SaleHasNotStarted' },
460
+ { type: 'error', inputs: [], name: 'SaleInProgress' },
461
+ { type: 'error', inputs: [], name: 'SaleNotSet' },
462
+ { type: 'error', inputs: [], name: 'SaleV2AlreadyStarted' },
463
+ { type: 'error', inputs: [], name: 'SaleV2Ended' },
464
+ { type: 'error', inputs: [], name: 'SaleV2NotSet' },
465
+ { type: 'error', inputs: [], name: 'StartTimeCannotBeAfterEndTime' },
466
+ { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
467
+ {
468
+ type: 'error',
469
+ inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
470
+ name: 'UUPSUnsupportedProxiableUUID',
471
+ },
472
+ { type: 'error', inputs: [], name: 'WrongValueSent' },
473
+ {
474
+ type: 'error',
475
+ inputs: [],
476
+ name: 'ZoraCreator1155ContractNeedsToSupportReduceSupply',
477
+ },
478
+ { type: 'error', inputs: [], name: 'ADDRESS_DELEGATECALL_TO_NON_CONTRACT' },
479
+ { type: 'error', inputs: [], name: 'ADDRESS_LOW_LEVEL_CALL_FAILED' },
480
+ {
481
+ type: 'error',
482
+ inputs: [
483
+ { name: 'operator', internalType: 'address', type: 'address' },
484
+ { name: 'user', internalType: 'address', type: 'address' },
485
+ ],
486
+ name: 'Burn_NotOwnerOrApproved',
487
+ },
488
+ { type: 'error', inputs: [], name: 'CREATOR_FUNDS_RECIPIENT_NOT_SET' },
489
+ {
490
+ type: 'error',
491
+ inputs: [{ name: 'reason', internalType: 'bytes', type: 'bytes' }],
492
+ name: 'CallFailed',
493
+ },
494
+ { type: 'error', inputs: [], name: 'Call_TokenIdMismatch' },
495
+ { type: 'error', inputs: [], name: 'CallerNotZoraCreator1155' },
496
+ { type: 'error', inputs: [], name: 'CanOnlyReduceMaxSupply' },
497
+ {
498
+ type: 'error',
499
+ inputs: [
500
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
501
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
502
+ { name: 'totalMinted', internalType: 'uint256', type: 'uint256' },
503
+ { name: 'maxSupply', internalType: 'uint256', type: 'uint256' },
504
+ ],
505
+ name: 'CannotMintMoreTokens',
506
+ },
507
+ { type: 'error', inputs: [], name: 'CannotReduceMaxSupplyBelowMinted' },
508
+ {
509
+ type: 'error',
510
+ inputs: [
511
+ { name: 'proposedAddress', internalType: 'address', type: 'address' },
512
+ ],
513
+ name: 'Config_TransferHookNotSupported',
514
+ },
515
+ {
516
+ type: 'error',
517
+ inputs: [],
518
+ name: 'ERC1155_ACCOUNTS_AND_IDS_LENGTH_MISMATCH',
519
+ },
520
+ {
521
+ type: 'error',
522
+ inputs: [],
523
+ name: 'ERC1155_ADDRESS_ZERO_IS_NOT_A_VALID_OWNER',
524
+ },
525
+ { type: 'error', inputs: [], name: 'ERC1155_BURN_AMOUNT_EXCEEDS_BALANCE' },
526
+ { type: 'error', inputs: [], name: 'ERC1155_BURN_FROM_ZERO_ADDRESS' },
527
+ {
528
+ type: 'error',
529
+ inputs: [],
530
+ name: 'ERC1155_CALLER_IS_NOT_TOKEN_OWNER_OR_APPROVED',
531
+ },
532
+ {
533
+ type: 'error',
534
+ inputs: [],
535
+ name: 'ERC1155_ERC1155RECEIVER_REJECTED_TOKENS',
536
+ },
537
+ {
538
+ type: 'error',
539
+ inputs: [],
540
+ name: 'ERC1155_IDS_AND_AMOUNTS_LENGTH_MISMATCH',
541
+ },
542
+ {
543
+ type: 'error',
544
+ inputs: [],
545
+ name: 'ERC1155_INSUFFICIENT_BALANCE_FOR_TRANSFER',
546
+ },
547
+ { type: 'error', inputs: [], name: 'ERC1155_MINT_TO_ZERO_ADDRESS' },
548
+ { type: 'error', inputs: [], name: 'ERC1155_MINT_TO_ZERO_ADDRESS' },
549
+ { type: 'error', inputs: [], name: 'ERC1155_SETTING_APPROVAL_FOR_SELF' },
550
+ {
551
+ type: 'error',
552
+ inputs: [],
553
+ name: 'ERC1155_TRANSFER_TO_NON_ERC1155RECEIVER_IMPLEMENTER',
554
+ },
555
+ { type: 'error', inputs: [], name: 'ERC1155_TRANSFER_TO_ZERO_ADDRESS' },
556
+ { type: 'error', inputs: [], name: 'ERC1967_NEW_IMPL_NOT_CONTRACT' },
557
+ { type: 'error', inputs: [], name: 'ERC1967_NEW_IMPL_NOT_UUPS' },
558
+ { type: 'error', inputs: [], name: 'ERC1967_UNSUPPORTED_PROXIABLEUUID' },
559
+ {
560
+ type: 'error',
561
+ inputs: [
562
+ { name: 'recipient', internalType: 'address', type: 'address' },
563
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
564
+ ],
565
+ name: 'ETHWithdrawFailed',
566
+ },
567
+ {
568
+ type: 'error',
569
+ inputs: [],
570
+ name: 'FUNCTION_MUST_BE_CALLED_THROUGH_ACTIVE_PROXY',
571
+ },
572
+ {
573
+ type: 'error',
574
+ inputs: [],
575
+ name: 'FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL',
576
+ },
577
+ { type: 'error', inputs: [], name: 'FirstMinterAddressZero' },
578
+ {
579
+ type: 'error',
580
+ inputs: [
581
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
582
+ { name: 'contractValue', internalType: 'uint256', type: 'uint256' },
583
+ ],
584
+ name: 'FundsWithdrawInsolvent',
585
+ },
586
+ {
587
+ type: 'error',
588
+ inputs: [],
589
+ name: 'INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED',
590
+ },
591
+ {
592
+ type: 'error',
593
+ inputs: [],
594
+ name: 'INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING',
595
+ },
596
+ { type: 'error', inputs: [], name: 'INVALID_ADDRESS_ZERO' },
597
+ { type: 'error', inputs: [], name: 'INVALID_ETH_AMOUNT' },
598
+ {
599
+ type: 'error',
600
+ inputs: [
601
+ { name: 'mintTo', internalType: 'address', type: 'address' },
602
+ { name: 'merkleProof', internalType: 'bytes32[]', type: 'bytes32[]' },
603
+ { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' },
604
+ ],
605
+ name: 'InvalidMerkleProof',
606
+ },
607
+ { type: 'error', inputs: [], name: 'InvalidMintSchedule' },
608
+ { type: 'error', inputs: [], name: 'InvalidMintSchedule' },
609
+ { type: 'error', inputs: [], name: 'InvalidPremintVersion' },
610
+ { type: 'error', inputs: [], name: 'InvalidSignature' },
611
+ { type: 'error', inputs: [], name: 'InvalidSignatureVersion' },
612
+ {
613
+ type: 'error',
614
+ inputs: [{ name: 'magicValue', internalType: 'bytes4', type: 'bytes4' }],
615
+ name: 'InvalidSigner',
616
+ },
617
+ { type: 'error', inputs: [], name: 'MintNotYetStarted' },
618
+ { type: 'error', inputs: [], name: 'Mint_InsolventSaleTransfer' },
619
+ { type: 'error', inputs: [], name: 'Mint_InvalidMintArrayLength' },
620
+ { type: 'error', inputs: [], name: 'Mint_TokenIDMintNotAllowed' },
621
+ { type: 'error', inputs: [], name: 'Mint_UnknownCommand' },
622
+ { type: 'error', inputs: [], name: 'Mint_ValueTransferFail' },
623
+ { type: 'error', inputs: [], name: 'MinterContractAlreadyExists' },
624
+ { type: 'error', inputs: [], name: 'MinterContractDoesNotExist' },
625
+ { type: 'error', inputs: [], name: 'NewOwnerNeedsToBeAdmin' },
626
+ {
627
+ type: 'error',
628
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
629
+ name: 'NoRendererForToken',
630
+ },
631
+ { type: 'error', inputs: [], name: 'NonEthRedemption' },
632
+ { type: 'error', inputs: [], name: 'ONLY_CREATE_REFERRAL' },
633
+ { type: 'error', inputs: [], name: 'OnlyTransfersFromZoraMints' },
634
+ { type: 'error', inputs: [], name: 'PremintDeleted' },
635
+ {
636
+ type: 'error',
637
+ inputs: [
638
+ { name: 'caller', internalType: 'address', type: 'address' },
639
+ { name: 'recipient', internalType: 'address', type: 'address' },
640
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
641
+ ],
642
+ name: 'ProtocolRewardsWithdrawFailed',
643
+ },
644
+ {
645
+ type: 'error',
646
+ inputs: [{ name: 'renderer', internalType: 'address', type: 'address' }],
647
+ name: 'RendererNotValid',
648
+ },
649
+ { type: 'error', inputs: [], name: 'Renderer_NotValidRendererContract' },
650
+ { type: 'error', inputs: [], name: 'SaleEnded' },
651
+ { type: 'error', inputs: [], name: 'SaleHasNotStarted' },
652
+ {
653
+ type: 'error',
654
+ inputs: [
655
+ { name: 'targetContract', internalType: 'address', type: 'address' },
656
+ ],
657
+ name: 'Sale_CannotCallNonSalesContract',
658
+ },
659
+ {
660
+ type: 'error',
661
+ inputs: [
662
+ { name: 'expected', internalType: 'uint256', type: 'uint256' },
663
+ { name: 'actual', internalType: 'uint256', type: 'uint256' },
664
+ ],
665
+ name: 'TokenIdMismatch',
666
+ },
667
+ {
668
+ type: 'error',
669
+ inputs: [],
670
+ name: 'UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL',
671
+ },
672
+ {
673
+ type: 'error',
674
+ inputs: [
675
+ { name: 'user', internalType: 'address', type: 'address' },
676
+ { name: 'limit', internalType: 'uint256', type: 'uint256' },
677
+ { name: 'requestedAmount', internalType: 'uint256', type: 'uint256' },
678
+ ],
679
+ name: 'UserExceedsMintLimit',
680
+ },
681
+ {
682
+ type: 'error',
683
+ inputs: [
684
+ { name: 'user', internalType: 'address', type: 'address' },
685
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
686
+ { name: 'role', internalType: 'uint256', type: 'uint256' },
687
+ ],
688
+ name: 'UserMissingRoleForToken',
689
+ },
690
+ { type: 'error', inputs: [], name: 'WrongValueSent' },
691
+ {
692
+ type: 'error',
693
+ inputs: [],
694
+ name: 'premintSignerContractFailedToRecoverSigner',
695
+ },
696
+ { type: 'error', inputs: [], name: 'premintSignerContractNotAContract' },
697
+ { type: 'error', inputs: [], name: 'AccessControlBadConfirmation' },
698
+ {
699
+ type: 'error',
700
+ inputs: [
701
+ { name: 'account', internalType: 'address', type: 'address' },
702
+ { name: 'neededRole', internalType: 'bytes32', type: 'bytes32' },
703
+ ],
704
+ name: 'AccessControlUnauthorizedAccount',
705
+ },
706
+ {
707
+ type: 'error',
708
+ inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
709
+ name: 'AddressEmptyCode',
710
+ },
711
+ { type: 'error', inputs: [], name: 'AddressZero' },
712
+ { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
713
+ { type: 'error', inputs: [], name: 'CannotSparkOwnComment' },
714
+ {
715
+ type: 'error',
716
+ inputs: [
717
+ { name: 'commentAddress', internalType: 'address', type: 'address' },
718
+ { name: 'commentTokenId', internalType: 'uint256', type: 'uint256' },
719
+ { name: 'replyAddress', internalType: 'address', type: 'address' },
720
+ { name: 'replyTokenId', internalType: 'uint256', type: 'uint256' },
721
+ ],
722
+ name: 'CommentAddressOrTokenIdsDoNotMatch',
723
+ },
724
+ { type: 'error', inputs: [], name: 'CommentDoesntExist' },
725
+ {
726
+ type: 'error',
727
+ inputs: [
728
+ { name: 'expected', internalType: 'address', type: 'address' },
729
+ { name: 'actual', internalType: 'address', type: 'address' },
730
+ ],
731
+ name: 'CommenterMismatch',
732
+ },
733
+ {
734
+ type: 'error',
735
+ inputs: [{ name: 'commentId', internalType: 'bytes32', type: 'bytes32' }],
736
+ name: 'DuplicateComment',
737
+ },
738
+ {
739
+ type: 'error',
740
+ inputs: [
741
+ { name: 'implementation', internalType: 'address', type: 'address' },
742
+ ],
743
+ name: 'ERC1967InvalidImplementation',
744
+ },
745
+ { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
746
+ {
747
+ type: 'error',
748
+ inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
749
+ name: 'ERC2612ExpiredSignature',
750
+ },
751
+ { type: 'error', inputs: [], name: 'EmptyComment' },
752
+ { type: 'error', inputs: [], name: 'FailedInnerCall' },
753
+ {
754
+ type: 'error',
755
+ inputs: [
756
+ {
757
+ name: 'wrongDestinationChainId',
758
+ internalType: 'uint256',
759
+ type: 'uint256',
760
+ },
761
+ ],
762
+ name: 'IncorrectDestinationChain',
763
+ },
764
+ {
765
+ type: 'error',
766
+ inputs: [
767
+ { name: 'actual', internalType: 'uint256', type: 'uint256' },
768
+ { name: 'expected', internalType: 'uint256', type: 'uint256' },
769
+ ],
770
+ name: 'IncorrectETHAmountForSparks',
771
+ },
772
+ {
773
+ type: 'error',
774
+ inputs: [
775
+ { name: 'account', internalType: 'address', type: 'address' },
776
+ { name: 'currentNonce', internalType: 'bytes32', type: 'bytes32' },
777
+ ],
778
+ name: 'InvalidAccountNonce',
779
+ },
780
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
781
+ { type: 'error', inputs: [], name: 'InvalidSignature' },
782
+ { type: 'error', inputs: [], name: 'MustSendAtLeastOneSpark' },
783
+ { type: 'error', inputs: [], name: 'NoFundsRecipient' },
784
+ { type: 'error', inputs: [], name: 'NotInitializing' },
785
+ { type: 'error', inputs: [], name: 'NotSmartWallet' },
786
+ { type: 'error', inputs: [], name: 'NotSmartWalletOwner' },
787
+ { type: 'error', inputs: [], name: 'NotTokenHolderOrAdmin' },
788
+ { type: 'error', inputs: [], name: 'OnlySparksContract' },
789
+ { type: 'error', inputs: [], name: 'TransferFailed' },
790
+ { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
791
+ {
792
+ type: 'error',
793
+ inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
794
+ name: 'UUPSUnsupportedProxiableUUID',
795
+ },
796
+ {
797
+ type: 'error',
798
+ inputs: [
799
+ { name: 'currentName', internalType: 'string', type: 'string' },
800
+ { name: 'newName', internalType: 'string', type: 'string' },
801
+ ],
802
+ name: 'UpgradeToMismatchedContractName',
803
+ },
804
+ ] as const
805
+
806
+ /**
807
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
808
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
809
+ */
810
+ export const callerAndCommenterAddress = {
811
+ 7777777: '0x77777775C5074b74540d9cC63Dd840A8c692B4B5',
812
+ 999999999: '0x77777775C5074b74540d9cC63Dd840A8c692B4B5',
813
+ } as const
814
+
815
+ /**
816
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
817
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
818
+ */
819
+ export const callerAndCommenterConfig = {
820
+ address: callerAndCommenterAddress,
821
+ abi: callerAndCommenterABI,
822
+ } as const
823
+
1
824
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2
825
  // Comments
3
826
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
4
827
 
5
828
  /**
6
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x8C0757EFfD2Cc68F00810d2d144F729F6ed5CdA3)
7
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xA29a072Edd91CF501115f6B77D145417c498A09c)
829
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777C2B3132e03a65721a41745C07170a5877)
830
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777C2B3132e03a65721a41745C07170a5877)
8
831
  */
9
832
  export const commentsABI = [
10
833
  {
@@ -187,7 +1010,7 @@ export const commentsABI = [
187
1010
  outputs: [{ name: '', internalType: 'string', type: 'string' }],
188
1011
  },
189
1012
  {
190
- stateMutability: 'nonpayable',
1013
+ stateMutability: 'payable',
191
1014
  type: 'function',
192
1015
  inputs: [
193
1016
  { name: 'commenter', internalType: 'address', type: 'address' },
@@ -205,6 +1028,12 @@ export const commentsABI = [
205
1028
  { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
206
1029
  ],
207
1030
  },
1031
+ {
1032
+ name: 'commenterSmartWalletOwner',
1033
+ internalType: 'address',
1034
+ type: 'address',
1035
+ },
1036
+ { name: 'referrer', internalType: 'address', type: 'address' },
208
1037
  ],
209
1038
  name: 'delegateComment',
210
1039
  outputs: [
@@ -219,6 +1048,7 @@ export const commentsABI = [
219
1048
  { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
220
1049
  ],
221
1050
  },
1051
+ { name: 'commentId', internalType: 'bytes32', type: 'bytes32' },
222
1052
  ],
223
1053
  },
224
1054
  {
@@ -873,6 +1703,7 @@ export const commentsABI = [
873
1703
  inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
874
1704
  name: 'AddressEmptyCode',
875
1705
  },
1706
+ { type: 'error', inputs: [], name: 'AddressZero' },
876
1707
  { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
877
1708
  { type: 'error', inputs: [], name: 'CannotSparkOwnComment' },
878
1709
  {
@@ -968,17 +1799,17 @@ export const commentsABI = [
968
1799
  ] as const
969
1800
 
970
1801
  /**
971
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x8C0757EFfD2Cc68F00810d2d144F729F6ed5CdA3)
972
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xA29a072Edd91CF501115f6B77D145417c498A09c)
1802
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777C2B3132e03a65721a41745C07170a5877)
1803
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777C2B3132e03a65721a41745C07170a5877)
973
1804
  */
974
1805
  export const commentsAddress = {
975
- 7777777: '0x8C0757EFfD2Cc68F00810d2d144F729F6ed5CdA3',
976
- 999999999: '0xA29a072Edd91CF501115f6B77D145417c498A09c',
1806
+ 7777777: '0x7777777C2B3132e03a65721a41745C07170a5877',
1807
+ 999999999: '0x7777777C2B3132e03a65721a41745C07170a5877',
977
1808
  } as const
978
1809
 
979
1810
  /**
980
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x8C0757EFfD2Cc68F00810d2d144F729F6ed5CdA3)
981
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0xA29a072Edd91CF501115f6B77D145417c498A09c)
1811
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777C2B3132e03a65721a41745C07170a5877)
1812
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777C2B3132e03a65721a41745C07170a5877)
982
1813
  */
983
1814
  export const commentsConfig = {
984
1815
  address: commentsAddress,
@@ -5135,7 +5966,6 @@ export const zoraCreator1155FactoryImplABI = [
5135
5966
  { type: 'error', inputs: [], name: 'MarketMinimumNotReached' },
5136
5967
  { type: 'error', inputs: [], name: 'MinimumMarketEthNotMet' },
5137
5968
  { type: 'error', inputs: [], name: 'NeedsToBeAtLeastOneSaleToStartMarket' },
5138
- { type: 'error', inputs: [], name: 'NoCodeAtAddress' },
5139
5969
  { type: 'error', inputs: [], name: 'NotInitializing' },
5140
5970
  { type: 'error', inputs: [], name: 'OnlyZoraRewardRecipient' },
5141
5971
  {
@@ -6592,7 +7422,6 @@ export const zoraCreator1155ImplABI = [
6592
7422
  { type: 'error', inputs: [], name: 'MarketMinimumNotReached' },
6593
7423
  { type: 'error', inputs: [], name: 'MinimumMarketEthNotMet' },
6594
7424
  { type: 'error', inputs: [], name: 'NeedsToBeAtLeastOneSaleToStartMarket' },
6595
- { type: 'error', inputs: [], name: 'NoCodeAtAddress' },
6596
7425
  { type: 'error', inputs: [], name: 'NotInitializing' },
6597
7426
  { type: 'error', inputs: [], name: 'OnlyZoraRewardRecipient' },
6598
7427
  {
@@ -11391,17 +12220,7 @@ export const zoraSparksManagerImplConfig = {
11391
12220
  * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
11392
12221
  */
11393
12222
  export const zoraTimedSaleStrategyABI = [
11394
- {
11395
- stateMutability: 'nonpayable',
11396
- type: 'constructor',
11397
- inputs: [
11398
- {
11399
- name: '_comments',
11400
- internalType: 'contract IComments',
11401
- type: 'address',
11402
- },
11403
- ],
11404
- },
12223
+ { stateMutability: 'nonpayable', type: 'constructor', inputs: [] },
11405
12224
  {
11406
12225
  stateMutability: 'view',
11407
12226
  type: 'function',
@@ -11450,15 +12269,6 @@ export const zoraTimedSaleStrategyABI = [
11450
12269
  },
11451
12270
  ],
11452
12271
  },
11453
- {
11454
- stateMutability: 'view',
11455
- type: 'function',
11456
- inputs: [],
11457
- name: 'comments',
11458
- outputs: [
11459
- { name: '', internalType: 'contract IComments', type: 'address' },
11460
- ],
11461
- },
11462
12272
  {
11463
12273
  stateMutability: 'pure',
11464
12274
  type: 'function',
@@ -11528,13 +12338,6 @@ export const zoraTimedSaleStrategyABI = [
11528
12338
  { name: 'createReferral', internalType: 'address', type: 'address' },
11529
12339
  ],
11530
12340
  },
11531
- {
11532
- stateMutability: 'view',
11533
- type: 'function',
11534
- inputs: [],
11535
- name: 'implementation',
11536
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
11537
- },
11538
12341
  {
11539
12342
  stateMutability: 'nonpayable',
11540
12343
  type: 'function',
@@ -11892,43 +12695,6 @@ export const zoraTimedSaleStrategyABI = [
11892
12695
  ],
11893
12696
  name: 'MintComment',
11894
12697
  },
11895
- {
11896
- type: 'event',
11897
- anonymous: false,
11898
- inputs: [
11899
- {
11900
- name: 'commentId',
11901
- internalType: 'bytes32',
11902
- type: 'bytes32',
11903
- indexed: true,
11904
- },
11905
- {
11906
- name: 'commentIdentifier',
11907
- internalType: 'struct IComments.CommentIdentifier',
11908
- type: 'tuple',
11909
- components: [
11910
- { name: 'commenter', internalType: 'address', type: 'address' },
11911
- { name: 'contractAddress', internalType: 'address', type: 'address' },
11912
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
11913
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
11914
- ],
11915
- indexed: false,
11916
- },
11917
- {
11918
- name: 'mintQuantity',
11919
- internalType: 'uint256',
11920
- type: 'uint256',
11921
- indexed: false,
11922
- },
11923
- {
11924
- name: 'comment',
11925
- internalType: 'string',
11926
- type: 'string',
11927
- indexed: false,
11928
- },
11929
- ],
11930
- name: 'MintedAndCommented',
11931
- },
11932
12698
  {
11933
12699
  type: 'event',
11934
12700
  anonymous: false,
@@ -12205,7 +12971,6 @@ export const zoraTimedSaleStrategyABI = [
12205
12971
  { type: 'error', inputs: [], name: 'MarketMinimumNotReached' },
12206
12972
  { type: 'error', inputs: [], name: 'MinimumMarketEthNotMet' },
12207
12973
  { type: 'error', inputs: [], name: 'NeedsToBeAtLeastOneSaleToStartMarket' },
12208
- { type: 'error', inputs: [], name: 'NoCodeAtAddress' },
12209
12974
  { type: 'error', inputs: [], name: 'NotInitializing' },
12210
12975
  { type: 'error', inputs: [], name: 'OnlyZoraRewardRecipient' },
12211
12976
  {