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

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,962 @@
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: [
153
+ {
154
+ name: 'commentIdentifier',
155
+ internalType: 'struct IComments.CommentIdentifier',
156
+ type: 'tuple',
157
+ components: [
158
+ { name: 'commenter', internalType: 'address', type: 'address' },
159
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
160
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
161
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
162
+ ],
163
+ },
164
+ ],
165
+ name: 'commentSparksQuantity',
166
+ outputs: [{ name: '', internalType: 'uint64', type: 'uint64' }],
167
+ },
168
+ {
169
+ stateMutability: 'pure',
170
+ type: 'function',
171
+ inputs: [],
172
+ name: 'contractName',
173
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
174
+ },
175
+ {
176
+ stateMutability: 'pure',
177
+ type: 'function',
178
+ inputs: [],
179
+ name: 'contractVersion',
180
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
181
+ },
182
+ {
183
+ stateMutability: 'nonpayable',
184
+ type: 'function',
185
+ inputs: [
186
+ { name: 'commenter', internalType: 'address', type: 'address' },
187
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
188
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
189
+ { name: 'text', internalType: 'string', type: 'string' },
190
+ {
191
+ name: 'replyTo',
192
+ internalType: 'struct IComments.CommentIdentifier',
193
+ type: 'tuple',
194
+ components: [
195
+ { name: 'commenter', internalType: 'address', type: 'address' },
196
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
197
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
198
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
199
+ ],
200
+ },
201
+ ],
202
+ name: 'delegateComment',
203
+ outputs: [
204
+ {
205
+ name: 'commentIdentifier',
206
+ internalType: 'struct IComments.CommentIdentifier',
207
+ type: 'tuple',
208
+ components: [
209
+ { name: 'commenter', internalType: 'address', type: 'address' },
210
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
211
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
212
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
213
+ ],
214
+ },
215
+ ],
216
+ },
217
+ {
218
+ stateMutability: 'view',
219
+ type: 'function',
220
+ inputs: [],
221
+ name: 'eip712Domain',
222
+ outputs: [
223
+ { name: 'fields', internalType: 'bytes1', type: 'bytes1' },
224
+ { name: 'name', internalType: 'string', type: 'string' },
225
+ { name: 'version', internalType: 'string', type: 'string' },
226
+ { name: 'chainId', internalType: 'uint256', type: 'uint256' },
227
+ { name: 'verifyingContract', internalType: 'address', type: 'address' },
228
+ { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
229
+ { name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
230
+ ],
231
+ },
232
+ {
233
+ stateMutability: 'view',
234
+ type: 'function',
235
+ inputs: [{ name: 'role', internalType: 'bytes32', type: 'bytes32' }],
236
+ name: 'getRoleAdmin',
237
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
238
+ },
239
+ {
240
+ stateMutability: 'nonpayable',
241
+ type: 'function',
242
+ inputs: [
243
+ { name: 'role', internalType: 'bytes32', type: 'bytes32' },
244
+ { name: 'account', internalType: 'address', type: 'address' },
245
+ ],
246
+ name: 'grantRole',
247
+ outputs: [],
248
+ },
249
+ {
250
+ stateMutability: 'view',
251
+ type: 'function',
252
+ inputs: [
253
+ { name: 'role', internalType: 'bytes32', type: 'bytes32' },
254
+ { name: 'account', internalType: 'address', type: 'address' },
255
+ ],
256
+ name: 'hasRole',
257
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
258
+ },
259
+ {
260
+ stateMutability: 'view',
261
+ type: 'function',
262
+ inputs: [
263
+ {
264
+ name: 'commentIdentifier',
265
+ internalType: 'struct IComments.CommentIdentifier',
266
+ type: 'tuple',
267
+ components: [
268
+ { name: 'commenter', internalType: 'address', type: 'address' },
269
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
270
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
271
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
272
+ ],
273
+ },
274
+ ],
275
+ name: 'hashAndCheckCommentExists',
276
+ outputs: [
277
+ { name: 'commentId', internalType: 'bytes32', type: 'bytes32' },
278
+ { name: 'exists', internalType: 'bool', type: 'bool' },
279
+ ],
280
+ },
281
+ {
282
+ stateMutability: 'view',
283
+ type: 'function',
284
+ inputs: [
285
+ {
286
+ name: 'commentIdentifier',
287
+ internalType: 'struct IComments.CommentIdentifier',
288
+ type: 'tuple',
289
+ components: [
290
+ { name: 'commenter', internalType: 'address', type: 'address' },
291
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
292
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
293
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
294
+ ],
295
+ },
296
+ ],
297
+ name: 'hashAndValidateCommentExists',
298
+ outputs: [{ name: 'commentId', internalType: 'bytes32', type: 'bytes32' }],
299
+ },
300
+ {
301
+ stateMutability: 'pure',
302
+ type: 'function',
303
+ inputs: [
304
+ {
305
+ name: 'commentIdentifier',
306
+ internalType: 'struct IComments.CommentIdentifier',
307
+ type: 'tuple',
308
+ components: [
309
+ { name: 'commenter', internalType: 'address', type: 'address' },
310
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
311
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
312
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
313
+ ],
314
+ },
315
+ ],
316
+ name: 'hashCommentIdentifier',
317
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
318
+ },
319
+ {
320
+ stateMutability: 'view',
321
+ type: 'function',
322
+ inputs: [
323
+ {
324
+ name: 'permit',
325
+ internalType: 'struct IComments.PermitComment',
326
+ type: 'tuple',
327
+ components: [
328
+ { name: 'commenter', internalType: 'address', type: 'address' },
329
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
330
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
331
+ {
332
+ name: 'replyTo',
333
+ internalType: 'struct IComments.CommentIdentifier',
334
+ type: 'tuple',
335
+ components: [
336
+ { name: 'commenter', internalType: 'address', type: 'address' },
337
+ {
338
+ name: 'contractAddress',
339
+ internalType: 'address',
340
+ type: 'address',
341
+ },
342
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
343
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
344
+ ],
345
+ },
346
+ { name: 'text', internalType: 'string', type: 'string' },
347
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
348
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
349
+ { name: 'referrer', internalType: 'address', type: 'address' },
350
+ { name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
351
+ {
352
+ name: 'destinationChainId',
353
+ internalType: 'uint32',
354
+ type: 'uint32',
355
+ },
356
+ ],
357
+ },
358
+ ],
359
+ name: 'hashPermitComment',
360
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
361
+ },
362
+ {
363
+ stateMutability: 'view',
364
+ type: 'function',
365
+ inputs: [
366
+ {
367
+ name: 'permit',
368
+ internalType: 'struct IComments.PermitSparkComment',
369
+ type: 'tuple',
370
+ components: [
371
+ {
372
+ name: 'comment',
373
+ internalType: 'struct IComments.CommentIdentifier',
374
+ type: 'tuple',
375
+ components: [
376
+ { name: 'commenter', internalType: 'address', type: 'address' },
377
+ {
378
+ name: 'contractAddress',
379
+ internalType: 'address',
380
+ type: 'address',
381
+ },
382
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
383
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
384
+ ],
385
+ },
386
+ { name: 'sparker', internalType: 'address', type: 'address' },
387
+ { name: 'sparksQuantity', internalType: 'uint64', type: 'uint64' },
388
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
389
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
390
+ { name: 'referrer', internalType: 'address', type: 'address' },
391
+ { name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
392
+ {
393
+ name: 'destinationChainId',
394
+ internalType: 'uint32',
395
+ type: 'uint32',
396
+ },
397
+ ],
398
+ },
399
+ ],
400
+ name: 'hashPermitSparkComment',
401
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
402
+ },
403
+ {
404
+ stateMutability: 'view',
405
+ type: 'function',
406
+ inputs: [],
407
+ name: 'implementation',
408
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
409
+ },
410
+ {
411
+ stateMutability: 'nonpayable',
412
+ type: 'function',
413
+ inputs: [
414
+ { name: '_zoraRecipient', internalType: 'address', type: 'address' },
415
+ { name: 'defaultAdmin', internalType: 'address', type: 'address' },
416
+ { name: 'backfiller', internalType: 'address', type: 'address' },
417
+ {
418
+ name: 'delegateCommenters',
419
+ internalType: 'address[]',
420
+ type: 'address[]',
421
+ },
422
+ ],
423
+ name: 'initialize',
424
+ outputs: [],
425
+ },
426
+ {
427
+ stateMutability: 'view',
428
+ type: 'function',
429
+ inputs: [],
430
+ name: 'nextNonce',
431
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
432
+ },
433
+ {
434
+ stateMutability: 'view',
435
+ type: 'function',
436
+ inputs: [
437
+ { name: 'owner', internalType: 'address', type: 'address' },
438
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
439
+ ],
440
+ name: 'nonceUsed',
441
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
442
+ },
443
+ {
444
+ stateMutability: 'payable',
445
+ type: 'function',
446
+ inputs: [
447
+ {
448
+ name: 'permit',
449
+ internalType: 'struct IComments.PermitComment',
450
+ type: 'tuple',
451
+ components: [
452
+ { name: 'commenter', internalType: 'address', type: 'address' },
453
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
454
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
455
+ {
456
+ name: 'replyTo',
457
+ internalType: 'struct IComments.CommentIdentifier',
458
+ type: 'tuple',
459
+ components: [
460
+ { name: 'commenter', internalType: 'address', type: 'address' },
461
+ {
462
+ name: 'contractAddress',
463
+ internalType: 'address',
464
+ type: 'address',
465
+ },
466
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
467
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
468
+ ],
469
+ },
470
+ { name: 'text', internalType: 'string', type: 'string' },
471
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
472
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
473
+ { name: 'referrer', internalType: 'address', type: 'address' },
474
+ { name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
475
+ {
476
+ name: 'destinationChainId',
477
+ internalType: 'uint32',
478
+ type: 'uint32',
479
+ },
480
+ ],
481
+ },
482
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
483
+ ],
484
+ name: 'permitComment',
485
+ outputs: [],
486
+ },
487
+ {
488
+ stateMutability: 'payable',
489
+ type: 'function',
490
+ inputs: [
491
+ {
492
+ name: 'permit',
493
+ internalType: 'struct IComments.PermitSparkComment',
494
+ type: 'tuple',
495
+ components: [
496
+ {
497
+ name: 'comment',
498
+ internalType: 'struct IComments.CommentIdentifier',
499
+ type: 'tuple',
500
+ components: [
501
+ { name: 'commenter', internalType: 'address', type: 'address' },
502
+ {
503
+ name: 'contractAddress',
504
+ internalType: 'address',
505
+ type: 'address',
506
+ },
507
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
508
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
509
+ ],
510
+ },
511
+ { name: 'sparker', internalType: 'address', type: 'address' },
512
+ { name: 'sparksQuantity', internalType: 'uint64', type: 'uint64' },
513
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
514
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
515
+ { name: 'referrer', internalType: 'address', type: 'address' },
516
+ { name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
517
+ {
518
+ name: 'destinationChainId',
519
+ internalType: 'uint32',
520
+ type: 'uint32',
521
+ },
522
+ ],
523
+ },
524
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
525
+ ],
526
+ name: 'permitSparkComment',
527
+ outputs: [],
528
+ },
529
+ {
530
+ stateMutability: 'view',
531
+ type: 'function',
532
+ inputs: [],
533
+ name: 'protocolRewards',
534
+ outputs: [
535
+ { name: '', internalType: 'contract IProtocolRewards', type: 'address' },
536
+ ],
537
+ },
538
+ {
539
+ stateMutability: 'view',
540
+ type: 'function',
541
+ inputs: [],
542
+ name: 'proxiableUUID',
543
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
544
+ },
545
+ {
546
+ stateMutability: 'nonpayable',
547
+ type: 'function',
548
+ inputs: [
549
+ { name: 'role', internalType: 'bytes32', type: 'bytes32' },
550
+ { name: 'callerConfirmation', internalType: 'address', type: 'address' },
551
+ ],
552
+ name: 'renounceRole',
553
+ outputs: [],
554
+ },
555
+ {
556
+ stateMutability: 'nonpayable',
557
+ type: 'function',
558
+ inputs: [
559
+ { name: 'role', internalType: 'bytes32', type: 'bytes32' },
560
+ { name: 'account', internalType: 'address', type: 'address' },
561
+ ],
562
+ name: 'revokeRole',
563
+ outputs: [],
564
+ },
565
+ {
566
+ stateMutability: 'payable',
567
+ type: 'function',
568
+ inputs: [
569
+ {
570
+ name: 'commentIdentifier',
571
+ internalType: 'struct IComments.CommentIdentifier',
572
+ type: 'tuple',
573
+ components: [
574
+ { name: 'commenter', internalType: 'address', type: 'address' },
575
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
576
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
577
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
578
+ ],
579
+ },
580
+ { name: 'sparksQuantity', internalType: 'uint64', type: 'uint64' },
581
+ { name: 'referrer', internalType: 'address', type: 'address' },
582
+ ],
583
+ name: 'sparkComment',
584
+ outputs: [],
585
+ },
586
+ {
587
+ stateMutability: 'view',
588
+ type: 'function',
589
+ inputs: [],
590
+ name: 'sparkValue',
591
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
592
+ },
593
+ {
594
+ stateMutability: 'view',
595
+ type: 'function',
596
+ inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
597
+ name: 'supportsInterface',
598
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
599
+ },
600
+ {
601
+ stateMutability: 'payable',
602
+ type: 'function',
603
+ inputs: [
604
+ { name: 'newImplementation', internalType: 'address', type: 'address' },
605
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
606
+ ],
607
+ name: 'upgradeToAndCall',
608
+ outputs: [],
609
+ },
610
+ {
611
+ type: 'event',
612
+ anonymous: false,
613
+ inputs: [
614
+ {
615
+ name: 'commentId',
616
+ internalType: 'bytes32',
617
+ type: 'bytes32',
618
+ indexed: true,
619
+ },
620
+ {
621
+ name: 'comment',
622
+ internalType: 'struct IComments.CommentIdentifier',
623
+ type: 'tuple',
624
+ components: [
625
+ { name: 'commenter', internalType: 'address', type: 'address' },
626
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
627
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
628
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
629
+ ],
630
+ indexed: false,
631
+ },
632
+ { name: 'text', internalType: 'string', type: 'string', indexed: false },
633
+ {
634
+ name: 'timestamp',
635
+ internalType: 'uint256',
636
+ type: 'uint256',
637
+ indexed: false,
638
+ },
639
+ {
640
+ name: 'originalTransactionId',
641
+ internalType: 'bytes32',
642
+ type: 'bytes32',
643
+ indexed: false,
644
+ },
645
+ ],
646
+ name: 'BackfilledComment',
647
+ },
648
+ {
649
+ type: 'event',
650
+ anonymous: false,
651
+ inputs: [
652
+ {
653
+ name: 'commentId',
654
+ internalType: 'bytes32',
655
+ type: 'bytes32',
656
+ indexed: true,
657
+ },
658
+ {
659
+ name: 'comment',
660
+ internalType: 'struct IComments.CommentIdentifier',
661
+ type: 'tuple',
662
+ components: [
663
+ { name: 'commenter', internalType: 'address', type: 'address' },
664
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
665
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
666
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
667
+ ],
668
+ indexed: false,
669
+ },
670
+ {
671
+ name: 'replyToId',
672
+ internalType: 'bytes32',
673
+ type: 'bytes32',
674
+ indexed: false,
675
+ },
676
+ {
677
+ name: 'replyTo',
678
+ internalType: 'struct IComments.CommentIdentifier',
679
+ type: 'tuple',
680
+ components: [
681
+ { name: 'commenter', internalType: 'address', type: 'address' },
682
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
683
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
684
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
685
+ ],
686
+ indexed: false,
687
+ },
688
+ {
689
+ name: 'sparksQuantity',
690
+ internalType: 'uint64',
691
+ type: 'uint64',
692
+ indexed: false,
693
+ },
694
+ { name: 'text', internalType: 'string', type: 'string', indexed: false },
695
+ {
696
+ name: 'timestamp',
697
+ internalType: 'uint256',
698
+ type: 'uint256',
699
+ indexed: false,
700
+ },
701
+ {
702
+ name: 'referrer',
703
+ internalType: 'address',
704
+ type: 'address',
705
+ indexed: false,
706
+ },
707
+ ],
708
+ name: 'Commented',
709
+ },
710
+ { type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
711
+ {
712
+ type: 'event',
713
+ anonymous: false,
714
+ inputs: [
715
+ {
716
+ name: 'version',
717
+ internalType: 'uint64',
718
+ type: 'uint64',
719
+ indexed: false,
720
+ },
721
+ ],
722
+ name: 'Initialized',
723
+ },
724
+ {
725
+ type: 'event',
726
+ anonymous: false,
727
+ inputs: [
728
+ { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true },
729
+ {
730
+ name: 'previousAdminRole',
731
+ internalType: 'bytes32',
732
+ type: 'bytes32',
733
+ indexed: true,
734
+ },
735
+ {
736
+ name: 'newAdminRole',
737
+ internalType: 'bytes32',
738
+ type: 'bytes32',
739
+ indexed: true,
740
+ },
741
+ ],
742
+ name: 'RoleAdminChanged',
743
+ },
744
+ {
745
+ type: 'event',
746
+ anonymous: false,
747
+ inputs: [
748
+ { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true },
749
+ {
750
+ name: 'account',
751
+ internalType: 'address',
752
+ type: 'address',
753
+ indexed: true,
754
+ },
755
+ {
756
+ name: 'sender',
757
+ internalType: 'address',
758
+ type: 'address',
759
+ indexed: true,
760
+ },
761
+ ],
762
+ name: 'RoleGranted',
763
+ },
764
+ {
765
+ type: 'event',
766
+ anonymous: false,
767
+ inputs: [
768
+ { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true },
769
+ {
770
+ name: 'account',
771
+ internalType: 'address',
772
+ type: 'address',
773
+ indexed: true,
774
+ },
775
+ {
776
+ name: 'sender',
777
+ internalType: 'address',
778
+ type: 'address',
779
+ indexed: true,
780
+ },
781
+ ],
782
+ name: 'RoleRevoked',
783
+ },
784
+ {
785
+ type: 'event',
786
+ anonymous: false,
787
+ inputs: [
788
+ {
789
+ name: 'commentId',
790
+ internalType: 'bytes32',
791
+ type: 'bytes32',
792
+ indexed: true,
793
+ },
794
+ {
795
+ name: 'commentIdentifier',
796
+ internalType: 'struct IComments.CommentIdentifier',
797
+ type: 'tuple',
798
+ components: [
799
+ { name: 'commenter', internalType: 'address', type: 'address' },
800
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
801
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
802
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
803
+ ],
804
+ indexed: false,
805
+ },
806
+ {
807
+ name: 'sparksQuantity',
808
+ internalType: 'uint64',
809
+ type: 'uint64',
810
+ indexed: false,
811
+ },
812
+ {
813
+ name: 'sparker',
814
+ internalType: 'address',
815
+ type: 'address',
816
+ indexed: false,
817
+ },
818
+ {
819
+ name: 'timestamp',
820
+ internalType: 'uint256',
821
+ type: 'uint256',
822
+ indexed: false,
823
+ },
824
+ ],
825
+ name: 'SparkedComment',
826
+ },
827
+ {
828
+ type: 'event',
829
+ anonymous: false,
830
+ inputs: [
831
+ {
832
+ name: 'implementation',
833
+ internalType: 'address',
834
+ type: 'address',
835
+ indexed: true,
836
+ },
837
+ ],
838
+ name: 'Upgraded',
839
+ },
840
+ { type: 'error', inputs: [], name: 'AccessControlBadConfirmation' },
841
+ {
842
+ type: 'error',
843
+ inputs: [
844
+ { name: 'account', internalType: 'address', type: 'address' },
845
+ { name: 'neededRole', internalType: 'bytes32', type: 'bytes32' },
846
+ ],
847
+ name: 'AccessControlUnauthorizedAccount',
848
+ },
849
+ {
850
+ type: 'error',
851
+ inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
852
+ name: 'AddressEmptyCode',
853
+ },
854
+ { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
855
+ { type: 'error', inputs: [], name: 'CannotSparkOwnComment' },
856
+ {
857
+ type: 'error',
858
+ inputs: [
859
+ { name: 'commentAddress', internalType: 'address', type: 'address' },
860
+ { name: 'commentTokenId', internalType: 'uint256', type: 'uint256' },
861
+ { name: 'replyAddress', internalType: 'address', type: 'address' },
862
+ { name: 'replyTokenId', internalType: 'uint256', type: 'uint256' },
863
+ ],
864
+ name: 'CommentAddressOrTokenIdsDoNotMatch',
865
+ },
866
+ { type: 'error', inputs: [], name: 'CommentDoesntExist' },
867
+ {
868
+ type: 'error',
869
+ inputs: [
870
+ { name: 'expected', internalType: 'address', type: 'address' },
871
+ { name: 'actual', internalType: 'address', type: 'address' },
872
+ ],
873
+ name: 'CommenterMismatch',
874
+ },
875
+ {
876
+ type: 'error',
877
+ inputs: [{ name: 'commentId', internalType: 'bytes32', type: 'bytes32' }],
878
+ name: 'DuplicateComment',
879
+ },
880
+ {
881
+ type: 'error',
882
+ inputs: [
883
+ { name: 'implementation', internalType: 'address', type: 'address' },
884
+ ],
885
+ name: 'ERC1967InvalidImplementation',
886
+ },
887
+ { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
888
+ {
889
+ type: 'error',
890
+ inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
891
+ name: 'ERC2612ExpiredSignature',
892
+ },
893
+ { type: 'error', inputs: [], name: 'EmptyComment' },
894
+ { type: 'error', inputs: [], name: 'FailedInnerCall' },
895
+ {
896
+ type: 'error',
897
+ inputs: [
898
+ {
899
+ name: 'wrongDestinationChainId',
900
+ internalType: 'uint256',
901
+ type: 'uint256',
902
+ },
903
+ ],
904
+ name: 'IncorrectDestinationChain',
905
+ },
906
+ {
907
+ type: 'error',
908
+ inputs: [
909
+ { name: 'actual', internalType: 'uint256', type: 'uint256' },
910
+ { name: 'expected', internalType: 'uint256', type: 'uint256' },
911
+ ],
912
+ name: 'IncorrectETHAmountForSparks',
913
+ },
914
+ {
915
+ type: 'error',
916
+ inputs: [
917
+ { name: 'account', internalType: 'address', type: 'address' },
918
+ { name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
919
+ ],
920
+ name: 'InvalidAccountNonce',
921
+ },
922
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
923
+ { type: 'error', inputs: [], name: 'InvalidSignature' },
924
+ { type: 'error', inputs: [], name: 'MustSendAtLeastOneSpark' },
925
+ { type: 'error', inputs: [], name: 'NotInitializing' },
926
+ { type: 'error', inputs: [], name: 'NotTokenHolderOrAdmin' },
927
+ { type: 'error', inputs: [], name: 'OnlySparksContract' },
928
+ { type: 'error', inputs: [], name: 'TransferFailed' },
929
+ { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
930
+ {
931
+ type: 'error',
932
+ inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
933
+ name: 'UUPSUnsupportedProxiableUUID',
934
+ },
935
+ {
936
+ type: 'error',
937
+ inputs: [
938
+ { name: 'currentName', internalType: 'string', type: 'string' },
939
+ { name: 'newName', internalType: 'string', type: 'string' },
940
+ ],
941
+ name: 'UpgradeToMismatchedContractName',
942
+ },
943
+ ] as const
944
+
945
+ /**
946
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777bE14a1F7Fd6896B5FBDa5ceD5FC6e501a)
947
+ */
948
+ export const commentsAddress = {
949
+ 999999999: '0x7777777bE14a1F7Fd6896B5FBDa5ceD5FC6e501a',
950
+ } as const
951
+
952
+ /**
953
+ * [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777bE14a1F7Fd6896B5FBDa5ceD5FC6e501a)
954
+ */
955
+ export const commentsConfig = {
956
+ address: commentsAddress,
957
+ abi: commentsABI,
958
+ } as const
959
+
1
960
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2
961
  // ERC20Minter
3
962
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -4122,6 +5081,7 @@ export const zoraCreator1155FactoryImplABI = [
4122
5081
  { type: 'error', inputs: [], name: 'MarketMinimumNotReached' },
4123
5082
  { type: 'error', inputs: [], name: 'MinimumMarketEthNotMet' },
4124
5083
  { type: 'error', inputs: [], name: 'NeedsToBeAtLeastOneSaleToStartMarket' },
5084
+ { type: 'error', inputs: [], name: 'NoCodeAtAddress' },
4125
5085
  { type: 'error', inputs: [], name: 'NotInitializing' },
4126
5086
  { type: 'error', inputs: [], name: 'OnlyZoraRewardRecipient' },
4127
5087
  {
@@ -5574,6 +6534,7 @@ export const zoraCreator1155ImplABI = [
5574
6534
  { type: 'error', inputs: [], name: 'MarketMinimumNotReached' },
5575
6535
  { type: 'error', inputs: [], name: 'MinimumMarketEthNotMet' },
5576
6536
  { type: 'error', inputs: [], name: 'NeedsToBeAtLeastOneSaleToStartMarket' },
6537
+ { type: 'error', inputs: [], name: 'NoCodeAtAddress' },
5577
6538
  { type: 'error', inputs: [], name: 'NotInitializing' },
5578
6539
  { type: 'error', inputs: [], name: 'OnlyZoraRewardRecipient' },
5579
6540
  {
@@ -10347,7 +11308,17 @@ export const zoraSparksManagerImplConfig = {
10347
11308
  * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
10348
11309
  */
10349
11310
  export const zoraTimedSaleStrategyABI = [
10350
- { stateMutability: 'nonpayable', type: 'constructor', inputs: [] },
11311
+ {
11312
+ stateMutability: 'nonpayable',
11313
+ type: 'constructor',
11314
+ inputs: [
11315
+ {
11316
+ name: '_comments',
11317
+ internalType: 'contract IComments',
11318
+ type: 'address',
11319
+ },
11320
+ ],
11321
+ },
10351
11322
  {
10352
11323
  stateMutability: 'view',
10353
11324
  type: 'function',
@@ -10396,6 +11367,15 @@ export const zoraTimedSaleStrategyABI = [
10396
11367
  },
10397
11368
  ],
10398
11369
  },
11370
+ {
11371
+ stateMutability: 'view',
11372
+ type: 'function',
11373
+ inputs: [],
11374
+ name: 'comments',
11375
+ outputs: [
11376
+ { name: '', internalType: 'contract IComments', type: 'address' },
11377
+ ],
11378
+ },
10399
11379
  {
10400
11380
  stateMutability: 'pure',
10401
11381
  type: 'function',
@@ -10465,6 +11445,13 @@ export const zoraTimedSaleStrategyABI = [
10465
11445
  { name: 'createReferral', internalType: 'address', type: 'address' },
10466
11446
  ],
10467
11447
  },
11448
+ {
11449
+ stateMutability: 'view',
11450
+ type: 'function',
11451
+ inputs: [],
11452
+ name: 'implementation',
11453
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
11454
+ },
10468
11455
  {
10469
11456
  stateMutability: 'nonpayable',
10470
11457
  type: 'function',
@@ -10822,6 +11809,43 @@ export const zoraTimedSaleStrategyABI = [
10822
11809
  ],
10823
11810
  name: 'MintComment',
10824
11811
  },
11812
+ {
11813
+ type: 'event',
11814
+ anonymous: false,
11815
+ inputs: [
11816
+ {
11817
+ name: 'commentId',
11818
+ internalType: 'bytes32',
11819
+ type: 'bytes32',
11820
+ indexed: true,
11821
+ },
11822
+ {
11823
+ name: 'commentIdentifier',
11824
+ internalType: 'struct IComments.CommentIdentifier',
11825
+ type: 'tuple',
11826
+ components: [
11827
+ { name: 'commenter', internalType: 'address', type: 'address' },
11828
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
11829
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
11830
+ { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
11831
+ ],
11832
+ indexed: false,
11833
+ },
11834
+ {
11835
+ name: 'mintQuantity',
11836
+ internalType: 'uint256',
11837
+ type: 'uint256',
11838
+ indexed: false,
11839
+ },
11840
+ {
11841
+ name: 'comment',
11842
+ internalType: 'string',
11843
+ type: 'string',
11844
+ indexed: false,
11845
+ },
11846
+ ],
11847
+ name: 'MintedAndCommented',
11848
+ },
10825
11849
  {
10826
11850
  type: 'event',
10827
11851
  anonymous: false,
@@ -11098,6 +12122,7 @@ export const zoraTimedSaleStrategyABI = [
11098
12122
  { type: 'error', inputs: [], name: 'MarketMinimumNotReached' },
11099
12123
  { type: 'error', inputs: [], name: 'MinimumMarketEthNotMet' },
11100
12124
  { type: 'error', inputs: [], name: 'NeedsToBeAtLeastOneSaleToStartMarket' },
12125
+ { type: 'error', inputs: [], name: 'NoCodeAtAddress' },
11101
12126
  { type: 'error', inputs: [], name: 'NotInitializing' },
11102
12127
  { type: 'error', inputs: [], name: 'OnlyZoraRewardRecipient' },
11103
12128
  {