@zoralabs/protocol-deployments 0.3.4 → 0.3.5-COMMENTS.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,929 @@
1
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2
+ // Comments
3
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
4
+
5
+ /**
6
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777bE14a1F7Fd6896B5FBDa5ceD5FC6e501a)
7
+ */
8
+ export const commentsABI = [
9
+ {
10
+ stateMutability: 'nonpayable',
11
+ type: 'constructor',
12
+ inputs: [
13
+ { name: '_sparkValue', internalType: 'uint256', type: 'uint256' },
14
+ { name: '_protocolRewards', internalType: 'address', type: 'address' },
15
+ ],
16
+ },
17
+ {
18
+ stateMutability: 'view',
19
+ type: 'function',
20
+ inputs: [],
21
+ name: 'BACKFILLER_ROLE',
22
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
23
+ },
24
+ {
25
+ stateMutability: 'view',
26
+ type: 'function',
27
+ inputs: [],
28
+ name: 'DEFAULT_ADMIN_ROLE',
29
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
30
+ },
31
+ {
32
+ stateMutability: 'view',
33
+ type: 'function',
34
+ inputs: [],
35
+ name: 'DELEGATE_COMMENTOR',
36
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
37
+ },
38
+ {
39
+ stateMutability: 'view',
40
+ type: 'function',
41
+ inputs: [],
42
+ name: 'DOMAIN_NAME',
43
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
44
+ },
45
+ {
46
+ stateMutability: 'view',
47
+ type: 'function',
48
+ inputs: [],
49
+ name: 'DOMAIN_VERSION',
50
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
51
+ },
52
+ {
53
+ stateMutability: 'view',
54
+ type: 'function',
55
+ inputs: [],
56
+ name: 'PERMISSION_BIT_ADMIN',
57
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
58
+ },
59
+ {
60
+ stateMutability: 'view',
61
+ type: 'function',
62
+ inputs: [],
63
+ name: 'REFERRER_REWARD_PCT',
64
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
65
+ },
66
+ {
67
+ stateMutability: 'view',
68
+ type: 'function',
69
+ inputs: [],
70
+ name: 'UPGRADE_INTERFACE_VERSION',
71
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
72
+ },
73
+ {
74
+ stateMutability: 'view',
75
+ type: 'function',
76
+ inputs: [],
77
+ name: 'ZORA_REWARD_NO_REFERRER_PCT',
78
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
79
+ },
80
+ {
81
+ stateMutability: 'view',
82
+ type: 'function',
83
+ inputs: [],
84
+ name: 'ZORA_REWARD_PCT',
85
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
86
+ },
87
+ {
88
+ stateMutability: 'nonpayable',
89
+ type: 'function',
90
+ inputs: [
91
+ {
92
+ name: 'commentIdentifiers',
93
+ internalType: 'struct IComments.CommentIdentifier[]',
94
+ type: 'tuple[]',
95
+ components: [
96
+ { name: 'commenter', internalType: 'address', type: 'address' },
97
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
98
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
99
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
100
+ ],
101
+ },
102
+ { name: 'texts', internalType: 'string[]', type: 'string[]' },
103
+ { name: 'timestamps', internalType: 'uint256[]', type: 'uint256[]' },
104
+ {
105
+ name: 'originalTransactionHashes',
106
+ internalType: 'bytes32[]',
107
+ type: 'bytes32[]',
108
+ },
109
+ ],
110
+ name: 'backfillBatchAddComment',
111
+ outputs: [],
112
+ },
113
+ {
114
+ stateMutability: 'payable',
115
+ type: 'function',
116
+ inputs: [
117
+ { name: 'commenter', internalType: 'address', type: 'address' },
118
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
119
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
120
+ { name: 'text', internalType: 'string', type: 'string' },
121
+ {
122
+ name: 'replyTo',
123
+ internalType: 'struct IComments.CommentIdentifier',
124
+ type: 'tuple',
125
+ components: [
126
+ { name: 'commenter', internalType: 'address', type: 'address' },
127
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
128
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
129
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
130
+ ],
131
+ },
132
+ { name: 'referrer', internalType: 'address', type: 'address' },
133
+ ],
134
+ name: 'comment',
135
+ outputs: [
136
+ {
137
+ name: 'commentIdentifier',
138
+ internalType: 'struct IComments.CommentIdentifier',
139
+ type: 'tuple',
140
+ components: [
141
+ { name: 'commenter', internalType: 'address', type: 'address' },
142
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
143
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
144
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
145
+ ],
146
+ },
147
+ ],
148
+ },
149
+ {
150
+ stateMutability: 'view',
151
+ type: 'function',
152
+ inputs: [{ name: 'commentId', internalType: 'bytes32', type: 'bytes32' }],
153
+ name: 'commentSparksQuantity',
154
+ outputs: [{ name: '', internalType: 'uint64', type: 'uint64' }],
155
+ },
156
+ {
157
+ stateMutability: 'pure',
158
+ type: 'function',
159
+ inputs: [],
160
+ name: 'contractName',
161
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
162
+ },
163
+ {
164
+ stateMutability: 'pure',
165
+ type: 'function',
166
+ inputs: [],
167
+ name: 'contractVersion',
168
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
169
+ },
170
+ {
171
+ stateMutability: 'nonpayable',
172
+ type: 'function',
173
+ inputs: [
174
+ { name: 'commenter', internalType: 'address', type: 'address' },
175
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
176
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
177
+ { name: 'text', internalType: 'string', type: 'string' },
178
+ {
179
+ name: 'replyTo',
180
+ internalType: 'struct IComments.CommentIdentifier',
181
+ type: 'tuple',
182
+ components: [
183
+ { name: 'commenter', internalType: 'address', type: 'address' },
184
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
185
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
186
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
187
+ ],
188
+ },
189
+ ],
190
+ name: 'delegateComment',
191
+ outputs: [
192
+ {
193
+ name: 'commentIdentifier',
194
+ internalType: 'struct IComments.CommentIdentifier',
195
+ type: 'tuple',
196
+ components: [
197
+ { name: 'commenter', internalType: 'address', type: 'address' },
198
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
199
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
200
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
201
+ ],
202
+ },
203
+ ],
204
+ },
205
+ {
206
+ stateMutability: 'view',
207
+ type: 'function',
208
+ inputs: [{ name: 'role', internalType: 'bytes32', type: 'bytes32' }],
209
+ name: 'getRoleAdmin',
210
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
211
+ },
212
+ {
213
+ stateMutability: 'nonpayable',
214
+ type: 'function',
215
+ inputs: [
216
+ { name: 'role', internalType: 'bytes32', type: 'bytes32' },
217
+ { name: 'account', internalType: 'address', type: 'address' },
218
+ ],
219
+ name: 'grantRole',
220
+ outputs: [],
221
+ },
222
+ {
223
+ stateMutability: 'view',
224
+ type: 'function',
225
+ inputs: [
226
+ { name: 'role', internalType: 'bytes32', type: 'bytes32' },
227
+ { name: 'account', internalType: 'address', type: 'address' },
228
+ ],
229
+ name: 'hasRole',
230
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
231
+ },
232
+ {
233
+ stateMutability: 'view',
234
+ type: 'function',
235
+ inputs: [
236
+ {
237
+ name: 'commentIdentifier',
238
+ internalType: 'struct IComments.CommentIdentifier',
239
+ type: 'tuple',
240
+ components: [
241
+ { name: 'commenter', internalType: 'address', type: 'address' },
242
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
243
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
244
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
245
+ ],
246
+ },
247
+ ],
248
+ name: 'hashAndCheckCommentExists',
249
+ outputs: [
250
+ { name: 'commentId', internalType: 'bytes32', type: 'bytes32' },
251
+ { name: 'exists', internalType: 'bool', type: 'bool' },
252
+ ],
253
+ },
254
+ {
255
+ stateMutability: 'view',
256
+ type: 'function',
257
+ inputs: [
258
+ {
259
+ name: 'commentIdentifier',
260
+ internalType: 'struct IComments.CommentIdentifier',
261
+ type: 'tuple',
262
+ components: [
263
+ { name: 'commenter', internalType: 'address', type: 'address' },
264
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
265
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
266
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
267
+ ],
268
+ },
269
+ ],
270
+ name: 'hashAndValidateCommentExists',
271
+ outputs: [{ name: 'commentId', internalType: 'bytes32', type: 'bytes32' }],
272
+ },
273
+ {
274
+ stateMutability: 'pure',
275
+ type: 'function',
276
+ inputs: [
277
+ {
278
+ name: 'commentIdentifier',
279
+ internalType: 'struct IComments.CommentIdentifier',
280
+ type: 'tuple',
281
+ components: [
282
+ { name: 'commenter', internalType: 'address', type: 'address' },
283
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
284
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
285
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
286
+ ],
287
+ },
288
+ ],
289
+ name: 'hashCommentIdentifier',
290
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
291
+ },
292
+ {
293
+ stateMutability: 'view',
294
+ type: 'function',
295
+ inputs: [
296
+ {
297
+ name: 'permit',
298
+ internalType: 'struct IComments.PermitComment',
299
+ type: 'tuple',
300
+ components: [
301
+ { name: 'commenter', internalType: 'address', type: 'address' },
302
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
303
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
304
+ {
305
+ name: 'replyTo',
306
+ internalType: 'struct IComments.CommentIdentifier',
307
+ type: 'tuple',
308
+ components: [
309
+ { name: 'commenter', internalType: 'address', type: 'address' },
310
+ {
311
+ name: 'contractAddress',
312
+ internalType: 'address',
313
+ type: 'address',
314
+ },
315
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
316
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
317
+ ],
318
+ },
319
+ { name: 'text', internalType: 'string', type: 'string' },
320
+ { name: 'sparksQuantity', internalType: 'uint64', type: 'uint64' },
321
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
322
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
323
+ { name: 'referrer', internalType: 'address', type: 'address' },
324
+ { name: 'sourceChainId', internalType: 'uint256', type: 'uint256' },
325
+ {
326
+ name: 'destinationChainId',
327
+ internalType: 'uint256',
328
+ type: 'uint256',
329
+ },
330
+ ],
331
+ },
332
+ ],
333
+ name: 'hashPermitComment',
334
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
335
+ },
336
+ {
337
+ stateMutability: 'view',
338
+ type: 'function',
339
+ inputs: [
340
+ {
341
+ name: 'permit',
342
+ internalType: 'struct IComments.PermitSparkComment',
343
+ type: 'tuple',
344
+ components: [
345
+ {
346
+ name: 'comment',
347
+ internalType: 'struct IComments.CommentIdentifier',
348
+ type: 'tuple',
349
+ components: [
350
+ { name: 'commenter', internalType: 'address', type: 'address' },
351
+ {
352
+ name: 'contractAddress',
353
+ internalType: 'address',
354
+ type: 'address',
355
+ },
356
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
357
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
358
+ ],
359
+ },
360
+ { name: 'sparker', internalType: 'address', type: 'address' },
361
+ { name: 'sparksQuantity', internalType: 'uint64', type: 'uint64' },
362
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
363
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
364
+ { name: 'referrer', internalType: 'address', type: 'address' },
365
+ { name: 'sourceChainId', internalType: 'uint256', type: 'uint256' },
366
+ {
367
+ name: 'destinationChainId',
368
+ internalType: 'uint256',
369
+ type: 'uint256',
370
+ },
371
+ ],
372
+ },
373
+ ],
374
+ name: 'hashPermitSparkComment',
375
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
376
+ },
377
+ {
378
+ stateMutability: 'nonpayable',
379
+ type: 'function',
380
+ inputs: [
381
+ { name: '_zoraRecipient', internalType: 'address', type: 'address' },
382
+ { name: 'defaultAdmin', internalType: 'address', type: 'address' },
383
+ { name: 'backfiller', internalType: 'address', type: 'address' },
384
+ {
385
+ name: 'delegateCommenters',
386
+ internalType: 'address[]',
387
+ type: 'address[]',
388
+ },
389
+ ],
390
+ name: 'initialize',
391
+ outputs: [],
392
+ },
393
+ {
394
+ stateMutability: 'view',
395
+ type: 'function',
396
+ inputs: [],
397
+ name: 'nextNonce',
398
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
399
+ },
400
+ {
401
+ stateMutability: 'view',
402
+ type: 'function',
403
+ inputs: [
404
+ { name: 'owner', internalType: 'address', type: 'address' },
405
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
406
+ ],
407
+ name: 'nonceUsed',
408
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
409
+ },
410
+ {
411
+ stateMutability: 'payable',
412
+ type: 'function',
413
+ inputs: [
414
+ {
415
+ name: 'permit',
416
+ internalType: 'struct IComments.PermitComment',
417
+ type: 'tuple',
418
+ components: [
419
+ { name: 'commenter', internalType: 'address', type: 'address' },
420
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
421
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
422
+ {
423
+ name: 'replyTo',
424
+ internalType: 'struct IComments.CommentIdentifier',
425
+ type: 'tuple',
426
+ components: [
427
+ { name: 'commenter', internalType: 'address', type: 'address' },
428
+ {
429
+ name: 'contractAddress',
430
+ internalType: 'address',
431
+ type: 'address',
432
+ },
433
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
434
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
435
+ ],
436
+ },
437
+ { name: 'text', internalType: 'string', type: 'string' },
438
+ { name: 'sparksQuantity', internalType: 'uint64', type: 'uint64' },
439
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
440
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
441
+ { name: 'referrer', internalType: 'address', type: 'address' },
442
+ { name: 'sourceChainId', internalType: 'uint256', type: 'uint256' },
443
+ {
444
+ name: 'destinationChainId',
445
+ internalType: 'uint256',
446
+ type: 'uint256',
447
+ },
448
+ ],
449
+ },
450
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
451
+ ],
452
+ name: 'permitComment',
453
+ outputs: [],
454
+ },
455
+ {
456
+ stateMutability: 'payable',
457
+ type: 'function',
458
+ inputs: [
459
+ {
460
+ name: 'permit',
461
+ internalType: 'struct IComments.PermitSparkComment',
462
+ type: 'tuple',
463
+ components: [
464
+ {
465
+ name: 'comment',
466
+ internalType: 'struct IComments.CommentIdentifier',
467
+ type: 'tuple',
468
+ components: [
469
+ { name: 'commenter', internalType: 'address', type: 'address' },
470
+ {
471
+ name: 'contractAddress',
472
+ internalType: 'address',
473
+ type: 'address',
474
+ },
475
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
476
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
477
+ ],
478
+ },
479
+ { name: 'sparker', internalType: 'address', type: 'address' },
480
+ { name: 'sparksQuantity', internalType: 'uint64', type: 'uint64' },
481
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
482
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
483
+ { name: 'referrer', internalType: 'address', type: 'address' },
484
+ { name: 'sourceChainId', internalType: 'uint256', type: 'uint256' },
485
+ {
486
+ name: 'destinationChainId',
487
+ internalType: 'uint256',
488
+ type: 'uint256',
489
+ },
490
+ ],
491
+ },
492
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
493
+ ],
494
+ name: 'permitSparkComment',
495
+ outputs: [],
496
+ },
497
+ {
498
+ stateMutability: 'view',
499
+ type: 'function',
500
+ inputs: [],
501
+ name: 'protocolRewards',
502
+ outputs: [
503
+ { name: '', internalType: 'contract IProtocolRewards', type: 'address' },
504
+ ],
505
+ },
506
+ {
507
+ stateMutability: 'view',
508
+ type: 'function',
509
+ inputs: [],
510
+ name: 'proxiableUUID',
511
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
512
+ },
513
+ {
514
+ stateMutability: 'nonpayable',
515
+ type: 'function',
516
+ inputs: [
517
+ { name: 'role', internalType: 'bytes32', type: 'bytes32' },
518
+ { name: 'callerConfirmation', internalType: 'address', type: 'address' },
519
+ ],
520
+ name: 'renounceRole',
521
+ outputs: [],
522
+ },
523
+ {
524
+ stateMutability: 'nonpayable',
525
+ type: 'function',
526
+ inputs: [
527
+ { name: 'role', internalType: 'bytes32', type: 'bytes32' },
528
+ { name: 'account', internalType: 'address', type: 'address' },
529
+ ],
530
+ name: 'revokeRole',
531
+ outputs: [],
532
+ },
533
+ {
534
+ stateMutability: 'payable',
535
+ type: 'function',
536
+ inputs: [
537
+ {
538
+ name: 'commentIdentifier',
539
+ internalType: 'struct IComments.CommentIdentifier',
540
+ type: 'tuple',
541
+ components: [
542
+ { name: 'commenter', internalType: 'address', type: 'address' },
543
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
544
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
545
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
546
+ ],
547
+ },
548
+ { name: 'sparksQuantity', internalType: 'uint64', type: 'uint64' },
549
+ { name: 'referrer', internalType: 'address', type: 'address' },
550
+ ],
551
+ name: 'sparkComment',
552
+ outputs: [],
553
+ },
554
+ {
555
+ stateMutability: 'view',
556
+ type: 'function',
557
+ inputs: [],
558
+ name: 'sparkValue',
559
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
560
+ },
561
+ {
562
+ stateMutability: 'view',
563
+ type: 'function',
564
+ inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
565
+ name: 'supportsInterface',
566
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
567
+ },
568
+ {
569
+ stateMutability: 'payable',
570
+ type: 'function',
571
+ inputs: [
572
+ { name: 'newImplementation', internalType: 'address', type: 'address' },
573
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
574
+ ],
575
+ name: 'upgradeToAndCall',
576
+ outputs: [],
577
+ },
578
+ {
579
+ type: 'event',
580
+ anonymous: false,
581
+ inputs: [
582
+ {
583
+ name: 'commentId',
584
+ internalType: 'bytes32',
585
+ type: 'bytes32',
586
+ indexed: true,
587
+ },
588
+ {
589
+ name: 'comment',
590
+ internalType: 'struct IComments.CommentIdentifier',
591
+ type: 'tuple',
592
+ components: [
593
+ { name: 'commenter', internalType: 'address', type: 'address' },
594
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
595
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
596
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
597
+ ],
598
+ indexed: false,
599
+ },
600
+ { name: 'text', internalType: 'string', type: 'string', indexed: false },
601
+ {
602
+ name: 'timestamp',
603
+ internalType: 'uint256',
604
+ type: 'uint256',
605
+ indexed: false,
606
+ },
607
+ {
608
+ name: 'originalTransactionId',
609
+ internalType: 'bytes32',
610
+ type: 'bytes32',
611
+ indexed: false,
612
+ },
613
+ ],
614
+ name: 'BackfilledComment',
615
+ },
616
+ {
617
+ type: 'event',
618
+ anonymous: false,
619
+ inputs: [
620
+ {
621
+ name: 'commentId',
622
+ internalType: 'bytes32',
623
+ type: 'bytes32',
624
+ indexed: true,
625
+ },
626
+ {
627
+ name: 'comment',
628
+ internalType: 'struct IComments.CommentIdentifier',
629
+ type: 'tuple',
630
+ components: [
631
+ { name: 'commenter', internalType: 'address', type: 'address' },
632
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
633
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
634
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
635
+ ],
636
+ indexed: false,
637
+ },
638
+ {
639
+ name: 'replyToId',
640
+ internalType: 'bytes32',
641
+ type: 'bytes32',
642
+ indexed: false,
643
+ },
644
+ {
645
+ name: 'replyTo',
646
+ internalType: 'struct IComments.CommentIdentifier',
647
+ type: 'tuple',
648
+ components: [
649
+ { name: 'commenter', internalType: 'address', type: 'address' },
650
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
651
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
652
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
653
+ ],
654
+ indexed: false,
655
+ },
656
+ {
657
+ name: 'sparksQuantity',
658
+ internalType: 'uint64',
659
+ type: 'uint64',
660
+ indexed: false,
661
+ },
662
+ { name: 'text', internalType: 'string', type: 'string', indexed: false },
663
+ {
664
+ name: 'timestamp',
665
+ internalType: 'uint256',
666
+ type: 'uint256',
667
+ indexed: false,
668
+ },
669
+ {
670
+ name: 'referrer',
671
+ internalType: 'address',
672
+ type: 'address',
673
+ indexed: false,
674
+ },
675
+ ],
676
+ name: 'Commented',
677
+ },
678
+ {
679
+ type: 'event',
680
+ anonymous: false,
681
+ inputs: [
682
+ {
683
+ name: 'version',
684
+ internalType: 'uint64',
685
+ type: 'uint64',
686
+ indexed: false,
687
+ },
688
+ ],
689
+ name: 'Initialized',
690
+ },
691
+ {
692
+ type: 'event',
693
+ anonymous: false,
694
+ inputs: [
695
+ { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true },
696
+ {
697
+ name: 'previousAdminRole',
698
+ internalType: 'bytes32',
699
+ type: 'bytes32',
700
+ indexed: true,
701
+ },
702
+ {
703
+ name: 'newAdminRole',
704
+ internalType: 'bytes32',
705
+ type: 'bytes32',
706
+ indexed: true,
707
+ },
708
+ ],
709
+ name: 'RoleAdminChanged',
710
+ },
711
+ {
712
+ type: 'event',
713
+ anonymous: false,
714
+ inputs: [
715
+ { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true },
716
+ {
717
+ name: 'account',
718
+ internalType: 'address',
719
+ type: 'address',
720
+ indexed: true,
721
+ },
722
+ {
723
+ name: 'sender',
724
+ internalType: 'address',
725
+ type: 'address',
726
+ indexed: true,
727
+ },
728
+ ],
729
+ name: 'RoleGranted',
730
+ },
731
+ {
732
+ type: 'event',
733
+ anonymous: false,
734
+ inputs: [
735
+ { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true },
736
+ {
737
+ name: 'account',
738
+ internalType: 'address',
739
+ type: 'address',
740
+ indexed: true,
741
+ },
742
+ {
743
+ name: 'sender',
744
+ internalType: 'address',
745
+ type: 'address',
746
+ indexed: true,
747
+ },
748
+ ],
749
+ name: 'RoleRevoked',
750
+ },
751
+ {
752
+ type: 'event',
753
+ anonymous: false,
754
+ inputs: [
755
+ {
756
+ name: 'commentId',
757
+ internalType: 'bytes32',
758
+ type: 'bytes32',
759
+ indexed: true,
760
+ },
761
+ {
762
+ name: 'commentIdentifier',
763
+ internalType: 'struct IComments.CommentIdentifier',
764
+ type: 'tuple',
765
+ components: [
766
+ { name: 'commenter', internalType: 'address', type: 'address' },
767
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
768
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
769
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
770
+ ],
771
+ indexed: false,
772
+ },
773
+ {
774
+ name: 'sparksQuantity',
775
+ internalType: 'uint64',
776
+ type: 'uint64',
777
+ indexed: false,
778
+ },
779
+ {
780
+ name: 'sparker',
781
+ internalType: 'address',
782
+ type: 'address',
783
+ indexed: false,
784
+ },
785
+ {
786
+ name: 'timestamp',
787
+ internalType: 'uint256',
788
+ type: 'uint256',
789
+ indexed: false,
790
+ },
791
+ ],
792
+ name: 'SparkedComment',
793
+ },
794
+ {
795
+ type: 'event',
796
+ anonymous: false,
797
+ inputs: [
798
+ {
799
+ name: 'implementation',
800
+ internalType: 'address',
801
+ type: 'address',
802
+ indexed: true,
803
+ },
804
+ ],
805
+ name: 'Upgraded',
806
+ },
807
+ { type: 'error', inputs: [], name: 'AccessControlBadConfirmation' },
808
+ {
809
+ type: 'error',
810
+ inputs: [
811
+ { name: 'account', internalType: 'address', type: 'address' },
812
+ { name: 'neededRole', internalType: 'bytes32', type: 'bytes32' },
813
+ ],
814
+ name: 'AccessControlUnauthorizedAccount',
815
+ },
816
+ {
817
+ type: 'error',
818
+ inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
819
+ name: 'AddressEmptyCode',
820
+ },
821
+ { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
822
+ { type: 'error', inputs: [], name: 'CannotSparkOwnComment' },
823
+ {
824
+ type: 'error',
825
+ inputs: [
826
+ { name: 'commentAddress', internalType: 'address', type: 'address' },
827
+ { name: 'commentTokenId', internalType: 'uint256', type: 'uint256' },
828
+ { name: 'replyAddress', internalType: 'address', type: 'address' },
829
+ { name: 'replyTokenId', internalType: 'uint256', type: 'uint256' },
830
+ ],
831
+ name: 'CommentAddressOrTokenIdsDoNotMatch',
832
+ },
833
+ { type: 'error', inputs: [], name: 'CommentDoesntExist' },
834
+ {
835
+ type: 'error',
836
+ inputs: [
837
+ { name: 'expected', internalType: 'address', type: 'address' },
838
+ { name: 'actual', internalType: 'address', type: 'address' },
839
+ ],
840
+ name: 'CommenterMismatch',
841
+ },
842
+ {
843
+ type: 'error',
844
+ inputs: [{ name: 'commentId', internalType: 'bytes32', type: 'bytes32' }],
845
+ name: 'DuplicateComment',
846
+ },
847
+ {
848
+ type: 'error',
849
+ inputs: [
850
+ { name: 'implementation', internalType: 'address', type: 'address' },
851
+ ],
852
+ name: 'ERC1967InvalidImplementation',
853
+ },
854
+ { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
855
+ {
856
+ type: 'error',
857
+ inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
858
+ name: 'ERC2612ExpiredSignature',
859
+ },
860
+ { type: 'error', inputs: [], name: 'EmptyComment' },
861
+ { type: 'error', inputs: [], name: 'FailedInnerCall' },
862
+ {
863
+ type: 'error',
864
+ inputs: [
865
+ {
866
+ name: 'wrongDestinationChainId',
867
+ internalType: 'uint256',
868
+ type: 'uint256',
869
+ },
870
+ ],
871
+ name: 'IncorrectDestinationChain',
872
+ },
873
+ {
874
+ type: 'error',
875
+ inputs: [
876
+ { name: 'actual', internalType: 'uint256', type: 'uint256' },
877
+ { name: 'expected', internalType: 'uint256', type: 'uint256' },
878
+ ],
879
+ name: 'IncorrectETHAmountForSparks',
880
+ },
881
+ {
882
+ type: 'error',
883
+ inputs: [
884
+ { name: 'account', internalType: 'address', type: 'address' },
885
+ { name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
886
+ ],
887
+ name: 'InvalidAccountNonce',
888
+ },
889
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
890
+ { type: 'error', inputs: [], name: 'InvalidSignature' },
891
+ { type: 'error', inputs: [], name: 'MustSendAtLeastOneSpark' },
892
+ { type: 'error', inputs: [], name: 'NotInitializing' },
893
+ { type: 'error', inputs: [], name: 'NotTokenHolderOrAdmin' },
894
+ { type: 'error', inputs: [], name: 'OnlySparksContract' },
895
+ { type: 'error', inputs: [], name: 'TransferFailed' },
896
+ { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
897
+ {
898
+ type: 'error',
899
+ inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
900
+ name: 'UUPSUnsupportedProxiableUUID',
901
+ },
902
+ {
903
+ type: 'error',
904
+ inputs: [
905
+ { name: 'currentName', internalType: 'string', type: 'string' },
906
+ { name: 'newName', internalType: 'string', type: 'string' },
907
+ ],
908
+ name: 'UpgradeToMismatchedContractName',
909
+ },
910
+ ] as const
911
+
912
+ /**
913
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777bE14a1F7Fd6896B5FBDa5ceD5FC6e501a)
914
+ */
915
+ export const commentsAddress = {
916
+ 999999999: '0x7777777bE14a1F7Fd6896B5FBDa5ceD5FC6e501a',
917
+ } as const
918
+
919
+ /**
920
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777bE14a1F7Fd6896B5FBDa5ceD5FC6e501a)
921
+ */
922
+ export const commentsConfig = {
923
+ address: commentsAddress,
924
+ abi: commentsABI,
925
+ } as const
926
+
1
927
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2
928
  // ERC20Minter
3
929
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -4122,6 +5048,7 @@ export const zoraCreator1155FactoryImplABI = [
4122
5048
  { type: 'error', inputs: [], name: 'MarketMinimumNotReached' },
4123
5049
  { type: 'error', inputs: [], name: 'MinimumMarketEthNotMet' },
4124
5050
  { type: 'error', inputs: [], name: 'NeedsToBeAtLeastOneSaleToStartMarket' },
5051
+ { type: 'error', inputs: [], name: 'NoCodeAtAddress' },
4125
5052
  { type: 'error', inputs: [], name: 'NotInitializing' },
4126
5053
  { type: 'error', inputs: [], name: 'OnlyZoraRewardRecipient' },
4127
5054
  {
@@ -5574,6 +6501,7 @@ export const zoraCreator1155ImplABI = [
5574
6501
  { type: 'error', inputs: [], name: 'MarketMinimumNotReached' },
5575
6502
  { type: 'error', inputs: [], name: 'MinimumMarketEthNotMet' },
5576
6503
  { type: 'error', inputs: [], name: 'NeedsToBeAtLeastOneSaleToStartMarket' },
6504
+ { type: 'error', inputs: [], name: 'NoCodeAtAddress' },
5577
6505
  { type: 'error', inputs: [], name: 'NotInitializing' },
5578
6506
  { type: 'error', inputs: [], name: 'OnlyZoraRewardRecipient' },
5579
6507
  {
@@ -10347,7 +11275,17 @@ export const zoraSparksManagerImplConfig = {
10347
11275
  * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
10348
11276
  */
10349
11277
  export const zoraTimedSaleStrategyABI = [
10350
- { stateMutability: 'nonpayable', type: 'constructor', inputs: [] },
11278
+ {
11279
+ stateMutability: 'nonpayable',
11280
+ type: 'constructor',
11281
+ inputs: [
11282
+ {
11283
+ name: '_comments',
11284
+ internalType: 'contract IComments',
11285
+ type: 'address',
11286
+ },
11287
+ ],
11288
+ },
10351
11289
  {
10352
11290
  stateMutability: 'view',
10353
11291
  type: 'function',
@@ -10396,6 +11334,15 @@ export const zoraTimedSaleStrategyABI = [
10396
11334
  },
10397
11335
  ],
10398
11336
  },
11337
+ {
11338
+ stateMutability: 'view',
11339
+ type: 'function',
11340
+ inputs: [],
11341
+ name: 'comments',
11342
+ outputs: [
11343
+ { name: '', internalType: 'contract IComments', type: 'address' },
11344
+ ],
11345
+ },
10399
11346
  {
10400
11347
  stateMutability: 'pure',
10401
11348
  type: 'function',
@@ -10465,6 +11412,13 @@ export const zoraTimedSaleStrategyABI = [
10465
11412
  { name: 'createReferral', internalType: 'address', type: 'address' },
10466
11413
  ],
10467
11414
  },
11415
+ {
11416
+ stateMutability: 'view',
11417
+ type: 'function',
11418
+ inputs: [],
11419
+ name: 'implementation',
11420
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
11421
+ },
10468
11422
  {
10469
11423
  stateMutability: 'nonpayable',
10470
11424
  type: 'function',
@@ -10822,6 +11776,43 @@ export const zoraTimedSaleStrategyABI = [
10822
11776
  ],
10823
11777
  name: 'MintComment',
10824
11778
  },
11779
+ {
11780
+ type: 'event',
11781
+ anonymous: false,
11782
+ inputs: [
11783
+ {
11784
+ name: 'commentId',
11785
+ internalType: 'bytes32',
11786
+ type: 'bytes32',
11787
+ indexed: true,
11788
+ },
11789
+ {
11790
+ name: 'commentIdentifier',
11791
+ internalType: 'struct IComments.CommentIdentifier',
11792
+ type: 'tuple',
11793
+ components: [
11794
+ { name: 'commenter', internalType: 'address', type: 'address' },
11795
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
11796
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
11797
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
11798
+ ],
11799
+ indexed: false,
11800
+ },
11801
+ {
11802
+ name: 'mintQuantity',
11803
+ internalType: 'uint256',
11804
+ type: 'uint256',
11805
+ indexed: false,
11806
+ },
11807
+ {
11808
+ name: 'comment',
11809
+ internalType: 'string',
11810
+ type: 'string',
11811
+ indexed: false,
11812
+ },
11813
+ ],
11814
+ name: 'MintedAndCommented',
11815
+ },
10825
11816
  {
10826
11817
  type: 'event',
10827
11818
  anonymous: false,
@@ -11098,6 +12089,7 @@ export const zoraTimedSaleStrategyABI = [
11098
12089
  { type: 'error', inputs: [], name: 'MarketMinimumNotReached' },
11099
12090
  { type: 'error', inputs: [], name: 'MinimumMarketEthNotMet' },
11100
12091
  { type: 'error', inputs: [], name: 'NeedsToBeAtLeastOneSaleToStartMarket' },
12092
+ { type: 'error', inputs: [], name: 'NoCodeAtAddress' },
11101
12093
  { type: 'error', inputs: [], name: 'NotInitializing' },
11102
12094
  { type: 'error', inputs: [], name: 'OnlyZoraRewardRecipient' },
11103
12095
  {