@zoralabs/protocol-deployments 0.3.8-COMMENTS.0 → 0.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2089 +1,3 @@
1
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2
- // CallerAndCommenter
3
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
4
-
5
- /**
6
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
7
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
8
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
9
- * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
10
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
11
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
12
- * - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
13
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
14
- */
15
- export const callerAndCommenterABI = [
16
- {
17
- stateMutability: 'nonpayable',
18
- type: 'constructor',
19
- inputs: [
20
- { name: '_comments', internalType: 'address', type: 'address' },
21
- { name: '_zoraTimedSale', internalType: 'address', type: 'address' },
22
- { name: '_swapHelper', internalType: 'address', type: 'address' },
23
- { name: '_sparksValue', internalType: 'uint256', type: 'uint256' },
24
- ],
25
- },
26
- {
27
- stateMutability: 'view',
28
- type: 'function',
29
- inputs: [],
30
- name: 'UPGRADE_INTERFACE_VERSION',
31
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
32
- },
33
- {
34
- stateMutability: 'nonpayable',
35
- type: 'function',
36
- inputs: [],
37
- name: 'acceptOwnership',
38
- outputs: [],
39
- },
40
- {
41
- stateMutability: 'payable',
42
- type: 'function',
43
- inputs: [
44
- { name: 'commenter', internalType: 'address', type: 'address' },
45
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
46
- { name: 'collection', internalType: 'address', type: 'address' },
47
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
48
- {
49
- name: 'excessRefundRecipient',
50
- internalType: 'address payable',
51
- type: 'address',
52
- },
53
- { name: 'maxEthToSpend', internalType: 'uint256', type: 'uint256' },
54
- { name: 'sqrtPriceLimitX96', internalType: 'uint160', type: 'uint160' },
55
- { name: 'comment', internalType: 'string', type: 'string' },
56
- ],
57
- name: 'buyOnSecondaryAndComment',
58
- outputs: [
59
- {
60
- name: '',
61
- internalType: 'struct IComments.CommentIdentifier',
62
- type: 'tuple',
63
- components: [
64
- { name: 'commenter', internalType: 'address', type: 'address' },
65
- { name: 'contractAddress', internalType: 'address', type: 'address' },
66
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
67
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
68
- ],
69
- },
70
- ],
71
- },
72
- {
73
- stateMutability: 'view',
74
- type: 'function',
75
- inputs: [],
76
- name: 'comments',
77
- outputs: [
78
- { name: '', internalType: 'contract IComments', type: 'address' },
79
- ],
80
- },
81
- {
82
- stateMutability: 'pure',
83
- type: 'function',
84
- inputs: [],
85
- name: 'contractName',
86
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
87
- },
88
- {
89
- stateMutability: 'pure',
90
- type: 'function',
91
- inputs: [],
92
- name: 'contractVersion',
93
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
94
- },
95
- {
96
- stateMutability: 'view',
97
- type: 'function',
98
- inputs: [],
99
- name: 'eip712Domain',
100
- outputs: [
101
- { name: 'fields', internalType: 'bytes1', type: 'bytes1' },
102
- { name: 'name', internalType: 'string', type: 'string' },
103
- { name: 'version', internalType: 'string', type: 'string' },
104
- { name: 'chainId', internalType: 'uint256', type: 'uint256' },
105
- { name: 'verifyingContract', internalType: 'address', type: 'address' },
106
- { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
107
- { name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
108
- ],
109
- },
110
- {
111
- stateMutability: 'view',
112
- type: 'function',
113
- inputs: [
114
- {
115
- name: 'permit',
116
- internalType:
117
- 'struct ICallerAndCommenter.PermitBuyOnSecondaryAndComment',
118
- type: 'tuple',
119
- components: [
120
- { name: 'commenter', internalType: 'address', type: 'address' },
121
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
122
- { name: 'collection', internalType: 'address', type: 'address' },
123
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
124
- { name: 'maxEthToSpend', internalType: 'uint256', type: 'uint256' },
125
- {
126
- name: 'sqrtPriceLimitX96',
127
- internalType: 'uint160',
128
- type: 'uint160',
129
- },
130
- { name: 'comment', internalType: 'string', type: 'string' },
131
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
132
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
133
- { name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
134
- {
135
- name: 'destinationChainId',
136
- internalType: 'uint32',
137
- type: 'uint32',
138
- },
139
- ],
140
- },
141
- ],
142
- name: 'hashPermitBuyOnSecondaryAndComment',
143
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
144
- },
145
- {
146
- stateMutability: 'view',
147
- type: 'function',
148
- inputs: [
149
- {
150
- name: 'permit',
151
- internalType:
152
- 'struct ICallerAndCommenter.PermitTimedSaleMintAndComment',
153
- type: 'tuple',
154
- components: [
155
- { name: 'commenter', internalType: 'address', type: 'address' },
156
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
157
- { name: 'collection', internalType: 'address', type: 'address' },
158
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
159
- { name: 'mintReferral', internalType: 'address', type: 'address' },
160
- { name: 'comment', internalType: 'string', type: 'string' },
161
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
162
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
163
- { name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
164
- {
165
- name: 'destinationChainId',
166
- internalType: 'uint32',
167
- type: 'uint32',
168
- },
169
- ],
170
- },
171
- ],
172
- name: 'hashPermitTimedSaleMintAndComment',
173
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
174
- },
175
- {
176
- stateMutability: 'nonpayable',
177
- type: 'function',
178
- inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
179
- name: 'initialize',
180
- outputs: [],
181
- },
182
- {
183
- stateMutability: 'view',
184
- type: 'function',
185
- inputs: [
186
- { name: 'owner', internalType: 'address', type: 'address' },
187
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
188
- ],
189
- name: 'nonceUsed',
190
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
191
- },
192
- {
193
- stateMutability: 'view',
194
- type: 'function',
195
- inputs: [],
196
- name: 'owner',
197
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
198
- },
199
- {
200
- stateMutability: 'view',
201
- type: 'function',
202
- inputs: [],
203
- name: 'pendingOwner',
204
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
205
- },
206
- {
207
- stateMutability: 'payable',
208
- type: 'function',
209
- inputs: [
210
- {
211
- name: 'permit',
212
- internalType:
213
- 'struct ICallerAndCommenter.PermitBuyOnSecondaryAndComment',
214
- type: 'tuple',
215
- components: [
216
- { name: 'commenter', internalType: 'address', type: 'address' },
217
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
218
- { name: 'collection', internalType: 'address', type: 'address' },
219
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
220
- { name: 'maxEthToSpend', internalType: 'uint256', type: 'uint256' },
221
- {
222
- name: 'sqrtPriceLimitX96',
223
- internalType: 'uint160',
224
- type: 'uint160',
225
- },
226
- { name: 'comment', internalType: 'string', type: 'string' },
227
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
228
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
229
- { name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
230
- {
231
- name: 'destinationChainId',
232
- internalType: 'uint32',
233
- type: 'uint32',
234
- },
235
- ],
236
- },
237
- { name: 'signature', internalType: 'bytes', type: 'bytes' },
238
- ],
239
- name: 'permitBuyOnSecondaryAndComment',
240
- outputs: [
241
- {
242
- name: '',
243
- internalType: 'struct IComments.CommentIdentifier',
244
- type: 'tuple',
245
- components: [
246
- { name: 'commenter', internalType: 'address', type: 'address' },
247
- { name: 'contractAddress', internalType: 'address', type: 'address' },
248
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
249
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
250
- ],
251
- },
252
- ],
253
- },
254
- {
255
- stateMutability: 'payable',
256
- type: 'function',
257
- inputs: [
258
- {
259
- name: 'permit',
260
- internalType:
261
- 'struct ICallerAndCommenter.PermitTimedSaleMintAndComment',
262
- type: 'tuple',
263
- components: [
264
- { name: 'commenter', internalType: 'address', type: 'address' },
265
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
266
- { name: 'collection', internalType: 'address', type: 'address' },
267
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
268
- { name: 'mintReferral', internalType: 'address', type: 'address' },
269
- { name: 'comment', internalType: 'string', type: 'string' },
270
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
271
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
272
- { name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
273
- {
274
- name: 'destinationChainId',
275
- internalType: 'uint32',
276
- type: 'uint32',
277
- },
278
- ],
279
- },
280
- { name: 'signature', internalType: 'bytes', type: 'bytes' },
281
- ],
282
- name: 'permitTimedSaleMintAndComment',
283
- outputs: [
284
- {
285
- name: '',
286
- internalType: 'struct IComments.CommentIdentifier',
287
- type: 'tuple',
288
- components: [
289
- { name: 'commenter', internalType: 'address', type: 'address' },
290
- { name: 'contractAddress', internalType: 'address', type: 'address' },
291
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
292
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
293
- ],
294
- },
295
- ],
296
- },
297
- {
298
- stateMutability: 'view',
299
- type: 'function',
300
- inputs: [],
301
- name: 'proxiableUUID',
302
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
303
- },
304
- {
305
- stateMutability: 'nonpayable',
306
- type: 'function',
307
- inputs: [],
308
- name: 'renounceOwnership',
309
- outputs: [],
310
- },
311
- {
312
- stateMutability: 'view',
313
- type: 'function',
314
- inputs: [],
315
- name: 'secondarySwap',
316
- outputs: [
317
- { name: '', internalType: 'contract ISecondarySwap', type: 'address' },
318
- ],
319
- },
320
- {
321
- stateMutability: 'payable',
322
- type: 'function',
323
- inputs: [
324
- { name: 'commenter', internalType: 'address', type: 'address' },
325
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
326
- { name: 'collection', internalType: 'address', type: 'address' },
327
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
328
- { name: 'recipient', internalType: 'address payable', type: 'address' },
329
- { name: 'minEthToAcquire', internalType: 'uint256', type: 'uint256' },
330
- { name: 'sqrtPriceLimitX96', internalType: 'uint160', type: 'uint160' },
331
- { name: 'comment', internalType: 'string', type: 'string' },
332
- ],
333
- name: 'sellOnSecondaryAndComment',
334
- outputs: [
335
- {
336
- name: 'commentIdentifier',
337
- internalType: 'struct IComments.CommentIdentifier',
338
- type: 'tuple',
339
- components: [
340
- { name: 'commenter', internalType: 'address', type: 'address' },
341
- { name: 'contractAddress', internalType: 'address', type: 'address' },
342
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
343
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
344
- ],
345
- },
346
- ],
347
- },
348
- {
349
- stateMutability: 'view',
350
- type: 'function',
351
- inputs: [],
352
- name: 'sparkValue',
353
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
354
- },
355
- {
356
- stateMutability: 'payable',
357
- type: 'function',
358
- inputs: [
359
- { name: 'commenter', internalType: 'address', type: 'address' },
360
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
361
- { name: 'collection', internalType: 'address', type: 'address' },
362
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
363
- { name: 'mintReferral', internalType: 'address', type: 'address' },
364
- { name: 'comment', internalType: 'string', type: 'string' },
365
- ],
366
- name: 'timedSaleMintAndComment',
367
- outputs: [
368
- {
369
- name: '',
370
- internalType: 'struct IComments.CommentIdentifier',
371
- type: 'tuple',
372
- components: [
373
- { name: 'commenter', internalType: 'address', type: 'address' },
374
- { name: 'contractAddress', internalType: 'address', type: 'address' },
375
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
376
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
377
- ],
378
- },
379
- ],
380
- },
381
- {
382
- stateMutability: 'nonpayable',
383
- type: 'function',
384
- inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
385
- name: 'transferOwnership',
386
- outputs: [],
387
- },
388
- {
389
- stateMutability: 'payable',
390
- type: 'function',
391
- inputs: [
392
- { name: 'newImplementation', internalType: 'address', type: 'address' },
393
- { name: 'data', internalType: 'bytes', type: 'bytes' },
394
- ],
395
- name: 'upgradeToAndCall',
396
- outputs: [],
397
- },
398
- {
399
- stateMutability: 'view',
400
- type: 'function',
401
- inputs: [],
402
- name: 'zoraTimedSale',
403
- outputs: [
404
- {
405
- name: '',
406
- internalType: 'contract IZoraTimedSaleStrategy',
407
- type: 'address',
408
- },
409
- ],
410
- },
411
- { type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
412
- {
413
- type: 'event',
414
- anonymous: false,
415
- inputs: [
416
- {
417
- name: 'version',
418
- internalType: 'uint64',
419
- type: 'uint64',
420
- indexed: false,
421
- },
422
- ],
423
- name: 'Initialized',
424
- },
425
- {
426
- type: 'event',
427
- anonymous: false,
428
- inputs: [
429
- {
430
- name: 'commentId',
431
- internalType: 'bytes32',
432
- type: 'bytes32',
433
- indexed: true,
434
- },
435
- {
436
- name: 'commentIdentifier',
437
- internalType: 'struct IComments.CommentIdentifier',
438
- type: 'tuple',
439
- components: [
440
- { name: 'commenter', internalType: 'address', type: 'address' },
441
- { name: 'contractAddress', internalType: 'address', type: 'address' },
442
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
443
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
444
- ],
445
- indexed: false,
446
- },
447
- {
448
- name: 'quantity',
449
- internalType: 'uint256',
450
- type: 'uint256',
451
- indexed: false,
452
- },
453
- { name: 'text', internalType: 'string', type: 'string', indexed: false },
454
- ],
455
- name: 'MintedAndCommented',
456
- },
457
- {
458
- type: 'event',
459
- anonymous: false,
460
- inputs: [
461
- {
462
- name: 'previousOwner',
463
- internalType: 'address',
464
- type: 'address',
465
- indexed: true,
466
- },
467
- {
468
- name: 'newOwner',
469
- internalType: 'address',
470
- type: 'address',
471
- indexed: true,
472
- },
473
- ],
474
- name: 'OwnershipTransferStarted',
475
- },
476
- {
477
- type: 'event',
478
- anonymous: false,
479
- inputs: [
480
- {
481
- name: 'previousOwner',
482
- internalType: 'address',
483
- type: 'address',
484
- indexed: true,
485
- },
486
- {
487
- name: 'newOwner',
488
- internalType: 'address',
489
- type: 'address',
490
- indexed: true,
491
- },
492
- ],
493
- name: 'OwnershipTransferred',
494
- },
495
- {
496
- type: 'event',
497
- anonymous: false,
498
- inputs: [
499
- {
500
- name: 'commentId',
501
- internalType: 'bytes32',
502
- type: 'bytes32',
503
- indexed: true,
504
- },
505
- {
506
- name: 'commentIdentifier',
507
- internalType: 'struct IComments.CommentIdentifier',
508
- type: 'tuple',
509
- components: [
510
- { name: 'commenter', internalType: 'address', type: 'address' },
511
- { name: 'contractAddress', internalType: 'address', type: 'address' },
512
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
513
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
514
- ],
515
- indexed: false,
516
- },
517
- {
518
- name: 'quantity',
519
- internalType: 'uint256',
520
- type: 'uint256',
521
- indexed: true,
522
- },
523
- {
524
- name: 'comment',
525
- internalType: 'string',
526
- type: 'string',
527
- indexed: false,
528
- },
529
- {
530
- name: 'swapDirection',
531
- internalType: 'enum ICallerAndCommenter.SwapDirection',
532
- type: 'uint8',
533
- indexed: true,
534
- },
535
- ],
536
- name: 'SwappedOnSecondaryAndCommented',
537
- },
538
- {
539
- type: 'event',
540
- anonymous: false,
541
- inputs: [
542
- {
543
- name: 'implementation',
544
- internalType: 'address',
545
- type: 'address',
546
- indexed: true,
547
- },
548
- ],
549
- name: 'Upgraded',
550
- },
551
- {
552
- type: 'error',
553
- inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
554
- name: 'AddressEmptyCode',
555
- },
556
- {
557
- type: 'error',
558
- inputs: [
559
- { name: 'expected', internalType: 'address', type: 'address' },
560
- { name: 'actual', internalType: 'address', type: 'address' },
561
- ],
562
- name: 'CommenterMismatch',
563
- },
564
- {
565
- type: 'error',
566
- inputs: [
567
- { name: 'implementation', internalType: 'address', type: 'address' },
568
- ],
569
- name: 'ERC1967InvalidImplementation',
570
- },
571
- { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
572
- {
573
- type: 'error',
574
- inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
575
- name: 'ERC2612ExpiredSignature',
576
- },
577
- { type: 'error', inputs: [], name: 'FailedInnerCall' },
578
- {
579
- type: 'error',
580
- inputs: [
581
- {
582
- name: 'wrongDestinationChainId',
583
- internalType: 'uint256',
584
- type: 'uint256',
585
- },
586
- ],
587
- name: 'IncorrectDestinationChain',
588
- },
589
- {
590
- type: 'error',
591
- inputs: [
592
- { name: 'account', internalType: 'address', type: 'address' },
593
- { name: 'currentNonce', internalType: 'bytes32', type: 'bytes32' },
594
- ],
595
- name: 'InvalidAccountNonce',
596
- },
597
- { type: 'error', inputs: [], name: 'InvalidInitialization' },
598
- { type: 'error', inputs: [], name: 'InvalidSignature' },
599
- { type: 'error', inputs: [], name: 'NotInitializing' },
600
- {
601
- type: 'error',
602
- inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
603
- name: 'OwnableInvalidOwner',
604
- },
605
- {
606
- type: 'error',
607
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
608
- name: 'OwnableUnauthorizedAccount',
609
- },
610
- {
611
- type: 'error',
612
- inputs: [
613
- { name: 'collection', internalType: 'address', type: 'address' },
614
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
615
- ],
616
- name: 'SaleNotSet',
617
- },
618
- { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
619
- {
620
- type: 'error',
621
- inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
622
- name: 'UUPSUnsupportedProxiableUUID',
623
- },
624
- {
625
- type: 'error',
626
- inputs: [
627
- { name: 'currentName', internalType: 'string', type: 'string' },
628
- { name: 'newName', internalType: 'string', type: 'string' },
629
- ],
630
- name: 'UpgradeToMismatchedContractName',
631
- },
632
- {
633
- type: 'error',
634
- inputs: [
635
- { name: 'expected', internalType: 'uint256', type: 'uint256' },
636
- { name: 'actual', internalType: 'uint256', type: 'uint256' },
637
- ],
638
- name: 'WrongValueSent',
639
- },
640
- {
641
- type: 'error',
642
- inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
643
- name: 'AddressEmptyCode',
644
- },
645
- {
646
- type: 'error',
647
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
648
- name: 'AddressInsufficientBalance',
649
- },
650
- { type: 'error', inputs: [], name: 'AddressZero' },
651
- { type: 'error', inputs: [], name: 'ERC1167FailedCreateClone' },
652
- {
653
- type: 'error',
654
- inputs: [
655
- { name: 'implementation', internalType: 'address', type: 'address' },
656
- ],
657
- name: 'ERC1967InvalidImplementation',
658
- },
659
- { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
660
- { type: 'error', inputs: [], name: 'EndTimeCannotBeInThePast' },
661
- { type: 'error', inputs: [], name: 'FailedInnerCall' },
662
- { type: 'error', inputs: [], name: 'InsufficientFunds' },
663
- { type: 'error', inputs: [], name: 'InvalidInitialization' },
664
- { type: 'error', inputs: [], name: 'MarketAlreadyLaunched' },
665
- { type: 'error', inputs: [], name: 'MarketMinimumNotReached' },
666
- { type: 'error', inputs: [], name: 'MinimumMarketEthNotMet' },
667
- { type: 'error', inputs: [], name: 'NeedsToBeAtLeastOneSaleToStartMarket' },
668
- { type: 'error', inputs: [], name: 'NotInitializing' },
669
- { type: 'error', inputs: [], name: 'OnlyZoraRewardRecipient' },
670
- {
671
- type: 'error',
672
- inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
673
- name: 'OwnableInvalidOwner',
674
- },
675
- {
676
- type: 'error',
677
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
678
- name: 'OwnableUnauthorizedAccount',
679
- },
680
- { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
681
- { type: 'error', inputs: [], name: 'RequestMintInvalidUseMint' },
682
- { type: 'error', inputs: [], name: 'ResetSaleNotAvailable' },
683
- { type: 'error', inputs: [], name: 'SaleAlreadySet' },
684
- { type: 'error', inputs: [], name: 'SaleEnded' },
685
- { type: 'error', inputs: [], name: 'SaleHasNotStarted' },
686
- { type: 'error', inputs: [], name: 'SaleInProgress' },
687
- { type: 'error', inputs: [], name: 'SaleNotSet' },
688
- { type: 'error', inputs: [], name: 'SaleV2AlreadyStarted' },
689
- { type: 'error', inputs: [], name: 'SaleV2Ended' },
690
- { type: 'error', inputs: [], name: 'SaleV2NotSet' },
691
- { type: 'error', inputs: [], name: 'StartTimeCannotBeAfterEndTime' },
692
- { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
693
- {
694
- type: 'error',
695
- inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
696
- name: 'UUPSUnsupportedProxiableUUID',
697
- },
698
- { type: 'error', inputs: [], name: 'WrongValueSent' },
699
- {
700
- type: 'error',
701
- inputs: [],
702
- name: 'ZoraCreator1155ContractNeedsToSupportReduceSupply',
703
- },
704
- { type: 'error', inputs: [], name: 'ADDRESS_DELEGATECALL_TO_NON_CONTRACT' },
705
- { type: 'error', inputs: [], name: 'ADDRESS_LOW_LEVEL_CALL_FAILED' },
706
- {
707
- type: 'error',
708
- inputs: [
709
- { name: 'operator', internalType: 'address', type: 'address' },
710
- { name: 'user', internalType: 'address', type: 'address' },
711
- ],
712
- name: 'Burn_NotOwnerOrApproved',
713
- },
714
- { type: 'error', inputs: [], name: 'CREATOR_FUNDS_RECIPIENT_NOT_SET' },
715
- {
716
- type: 'error',
717
- inputs: [{ name: 'reason', internalType: 'bytes', type: 'bytes' }],
718
- name: 'CallFailed',
719
- },
720
- { type: 'error', inputs: [], name: 'Call_TokenIdMismatch' },
721
- { type: 'error', inputs: [], name: 'CallerNotZoraCreator1155' },
722
- { type: 'error', inputs: [], name: 'CanOnlyReduceMaxSupply' },
723
- {
724
- type: 'error',
725
- inputs: [
726
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
727
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
728
- { name: 'totalMinted', internalType: 'uint256', type: 'uint256' },
729
- { name: 'maxSupply', internalType: 'uint256', type: 'uint256' },
730
- ],
731
- name: 'CannotMintMoreTokens',
732
- },
733
- { type: 'error', inputs: [], name: 'CannotReduceMaxSupplyBelowMinted' },
734
- {
735
- type: 'error',
736
- inputs: [
737
- { name: 'proposedAddress', internalType: 'address', type: 'address' },
738
- ],
739
- name: 'Config_TransferHookNotSupported',
740
- },
741
- {
742
- type: 'error',
743
- inputs: [],
744
- name: 'ERC1155_ACCOUNTS_AND_IDS_LENGTH_MISMATCH',
745
- },
746
- {
747
- type: 'error',
748
- inputs: [],
749
- name: 'ERC1155_ADDRESS_ZERO_IS_NOT_A_VALID_OWNER',
750
- },
751
- { type: 'error', inputs: [], name: 'ERC1155_BURN_AMOUNT_EXCEEDS_BALANCE' },
752
- { type: 'error', inputs: [], name: 'ERC1155_BURN_FROM_ZERO_ADDRESS' },
753
- {
754
- type: 'error',
755
- inputs: [],
756
- name: 'ERC1155_CALLER_IS_NOT_TOKEN_OWNER_OR_APPROVED',
757
- },
758
- {
759
- type: 'error',
760
- inputs: [],
761
- name: 'ERC1155_ERC1155RECEIVER_REJECTED_TOKENS',
762
- },
763
- {
764
- type: 'error',
765
- inputs: [],
766
- name: 'ERC1155_IDS_AND_AMOUNTS_LENGTH_MISMATCH',
767
- },
768
- {
769
- type: 'error',
770
- inputs: [],
771
- name: 'ERC1155_INSUFFICIENT_BALANCE_FOR_TRANSFER',
772
- },
773
- { type: 'error', inputs: [], name: 'ERC1155_MINT_TO_ZERO_ADDRESS' },
774
- { type: 'error', inputs: [], name: 'ERC1155_MINT_TO_ZERO_ADDRESS' },
775
- { type: 'error', inputs: [], name: 'ERC1155_SETTING_APPROVAL_FOR_SELF' },
776
- {
777
- type: 'error',
778
- inputs: [],
779
- name: 'ERC1155_TRANSFER_TO_NON_ERC1155RECEIVER_IMPLEMENTER',
780
- },
781
- { type: 'error', inputs: [], name: 'ERC1155_TRANSFER_TO_ZERO_ADDRESS' },
782
- { type: 'error', inputs: [], name: 'ERC1967_NEW_IMPL_NOT_CONTRACT' },
783
- { type: 'error', inputs: [], name: 'ERC1967_NEW_IMPL_NOT_UUPS' },
784
- { type: 'error', inputs: [], name: 'ERC1967_UNSUPPORTED_PROXIABLEUUID' },
785
- {
786
- type: 'error',
787
- inputs: [
788
- { name: 'recipient', internalType: 'address', type: 'address' },
789
- { name: 'amount', internalType: 'uint256', type: 'uint256' },
790
- ],
791
- name: 'ETHWithdrawFailed',
792
- },
793
- {
794
- type: 'error',
795
- inputs: [],
796
- name: 'FUNCTION_MUST_BE_CALLED_THROUGH_ACTIVE_PROXY',
797
- },
798
- {
799
- type: 'error',
800
- inputs: [],
801
- name: 'FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL',
802
- },
803
- { type: 'error', inputs: [], name: 'FirstMinterAddressZero' },
804
- {
805
- type: 'error',
806
- inputs: [
807
- { name: 'amount', internalType: 'uint256', type: 'uint256' },
808
- { name: 'contractValue', internalType: 'uint256', type: 'uint256' },
809
- ],
810
- name: 'FundsWithdrawInsolvent',
811
- },
812
- {
813
- type: 'error',
814
- inputs: [],
815
- name: 'INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED',
816
- },
817
- {
818
- type: 'error',
819
- inputs: [],
820
- name: 'INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING',
821
- },
822
- { type: 'error', inputs: [], name: 'INVALID_ADDRESS_ZERO' },
823
- { type: 'error', inputs: [], name: 'INVALID_ETH_AMOUNT' },
824
- {
825
- type: 'error',
826
- inputs: [
827
- { name: 'mintTo', internalType: 'address', type: 'address' },
828
- { name: 'merkleProof', internalType: 'bytes32[]', type: 'bytes32[]' },
829
- { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' },
830
- ],
831
- name: 'InvalidMerkleProof',
832
- },
833
- { type: 'error', inputs: [], name: 'InvalidMintSchedule' },
834
- { type: 'error', inputs: [], name: 'InvalidMintSchedule' },
835
- { type: 'error', inputs: [], name: 'InvalidPremintVersion' },
836
- { type: 'error', inputs: [], name: 'InvalidSignature' },
837
- { type: 'error', inputs: [], name: 'InvalidSignatureVersion' },
838
- {
839
- type: 'error',
840
- inputs: [{ name: 'magicValue', internalType: 'bytes4', type: 'bytes4' }],
841
- name: 'InvalidSigner',
842
- },
843
- { type: 'error', inputs: [], name: 'MintNotYetStarted' },
844
- { type: 'error', inputs: [], name: 'Mint_InsolventSaleTransfer' },
845
- { type: 'error', inputs: [], name: 'Mint_InvalidMintArrayLength' },
846
- { type: 'error', inputs: [], name: 'Mint_TokenIDMintNotAllowed' },
847
- { type: 'error', inputs: [], name: 'Mint_UnknownCommand' },
848
- { type: 'error', inputs: [], name: 'Mint_ValueTransferFail' },
849
- { type: 'error', inputs: [], name: 'MinterContractAlreadyExists' },
850
- { type: 'error', inputs: [], name: 'MinterContractDoesNotExist' },
851
- { type: 'error', inputs: [], name: 'NewOwnerNeedsToBeAdmin' },
852
- {
853
- type: 'error',
854
- inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
855
- name: 'NoRendererForToken',
856
- },
857
- { type: 'error', inputs: [], name: 'NonEthRedemption' },
858
- { type: 'error', inputs: [], name: 'ONLY_CREATE_REFERRAL' },
859
- { type: 'error', inputs: [], name: 'OnlyTransfersFromZoraMints' },
860
- { type: 'error', inputs: [], name: 'PremintDeleted' },
861
- {
862
- type: 'error',
863
- inputs: [
864
- { name: 'caller', internalType: 'address', type: 'address' },
865
- { name: 'recipient', internalType: 'address', type: 'address' },
866
- { name: 'amount', internalType: 'uint256', type: 'uint256' },
867
- ],
868
- name: 'ProtocolRewardsWithdrawFailed',
869
- },
870
- {
871
- type: 'error',
872
- inputs: [{ name: 'renderer', internalType: 'address', type: 'address' }],
873
- name: 'RendererNotValid',
874
- },
875
- { type: 'error', inputs: [], name: 'Renderer_NotValidRendererContract' },
876
- { type: 'error', inputs: [], name: 'SaleEnded' },
877
- { type: 'error', inputs: [], name: 'SaleHasNotStarted' },
878
- {
879
- type: 'error',
880
- inputs: [
881
- { name: 'targetContract', internalType: 'address', type: 'address' },
882
- ],
883
- name: 'Sale_CannotCallNonSalesContract',
884
- },
885
- {
886
- type: 'error',
887
- inputs: [
888
- { name: 'expected', internalType: 'uint256', type: 'uint256' },
889
- { name: 'actual', internalType: 'uint256', type: 'uint256' },
890
- ],
891
- name: 'TokenIdMismatch',
892
- },
893
- {
894
- type: 'error',
895
- inputs: [],
896
- name: 'UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL',
897
- },
898
- {
899
- type: 'error',
900
- inputs: [
901
- { name: 'user', internalType: 'address', type: 'address' },
902
- { name: 'limit', internalType: 'uint256', type: 'uint256' },
903
- { name: 'requestedAmount', internalType: 'uint256', type: 'uint256' },
904
- ],
905
- name: 'UserExceedsMintLimit',
906
- },
907
- {
908
- type: 'error',
909
- inputs: [
910
- { name: 'user', internalType: 'address', type: 'address' },
911
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
912
- { name: 'role', internalType: 'uint256', type: 'uint256' },
913
- ],
914
- name: 'UserMissingRoleForToken',
915
- },
916
- { type: 'error', inputs: [], name: 'WrongValueSent' },
917
- {
918
- type: 'error',
919
- inputs: [],
920
- name: 'premintSignerContractFailedToRecoverSigner',
921
- },
922
- { type: 'error', inputs: [], name: 'premintSignerContractNotAContract' },
923
- { type: 'error', inputs: [], name: 'AccessControlBadConfirmation' },
924
- {
925
- type: 'error',
926
- inputs: [
927
- { name: 'account', internalType: 'address', type: 'address' },
928
- { name: 'neededRole', internalType: 'bytes32', type: 'bytes32' },
929
- ],
930
- name: 'AccessControlUnauthorizedAccount',
931
- },
932
- {
933
- type: 'error',
934
- inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
935
- name: 'AddressEmptyCode',
936
- },
937
- { type: 'error', inputs: [], name: 'AddressZero' },
938
- { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
939
- { type: 'error', inputs: [], name: 'CannotSparkOwnComment' },
940
- {
941
- type: 'error',
942
- inputs: [
943
- { name: 'commentAddress', internalType: 'address', type: 'address' },
944
- { name: 'commentTokenId', internalType: 'uint256', type: 'uint256' },
945
- { name: 'replyAddress', internalType: 'address', type: 'address' },
946
- { name: 'replyTokenId', internalType: 'uint256', type: 'uint256' },
947
- ],
948
- name: 'CommentAddressOrTokenIdsDoNotMatch',
949
- },
950
- { type: 'error', inputs: [], name: 'CommentDoesntExist' },
951
- {
952
- type: 'error',
953
- inputs: [
954
- { name: 'expected', internalType: 'address', type: 'address' },
955
- { name: 'actual', internalType: 'address', type: 'address' },
956
- ],
957
- name: 'CommenterMismatch',
958
- },
959
- {
960
- type: 'error',
961
- inputs: [{ name: 'commentId', internalType: 'bytes32', type: 'bytes32' }],
962
- name: 'DuplicateComment',
963
- },
964
- {
965
- type: 'error',
966
- inputs: [
967
- { name: 'implementation', internalType: 'address', type: 'address' },
968
- ],
969
- name: 'ERC1967InvalidImplementation',
970
- },
971
- { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
972
- {
973
- type: 'error',
974
- inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
975
- name: 'ERC2612ExpiredSignature',
976
- },
977
- { type: 'error', inputs: [], name: 'EmptyComment' },
978
- { type: 'error', inputs: [], name: 'FailedInnerCall' },
979
- {
980
- type: 'error',
981
- inputs: [
982
- {
983
- name: 'wrongDestinationChainId',
984
- internalType: 'uint256',
985
- type: 'uint256',
986
- },
987
- ],
988
- name: 'IncorrectDestinationChain',
989
- },
990
- {
991
- type: 'error',
992
- inputs: [
993
- { name: 'actual', internalType: 'uint256', type: 'uint256' },
994
- { name: 'expected', internalType: 'uint256', type: 'uint256' },
995
- ],
996
- name: 'IncorrectETHAmountForSparks',
997
- },
998
- {
999
- type: 'error',
1000
- inputs: [
1001
- { name: 'account', internalType: 'address', type: 'address' },
1002
- { name: 'currentNonce', internalType: 'bytes32', type: 'bytes32' },
1003
- ],
1004
- name: 'InvalidAccountNonce',
1005
- },
1006
- { type: 'error', inputs: [], name: 'InvalidInitialization' },
1007
- { type: 'error', inputs: [], name: 'InvalidSignature' },
1008
- { type: 'error', inputs: [], name: 'MustSendAtLeastOneSpark' },
1009
- { type: 'error', inputs: [], name: 'NoFundsRecipient' },
1010
- { type: 'error', inputs: [], name: 'NotInitializing' },
1011
- { type: 'error', inputs: [], name: 'NotSmartWallet' },
1012
- { type: 'error', inputs: [], name: 'NotSmartWalletOwner' },
1013
- { type: 'error', inputs: [], name: 'NotTokenHolderOrAdmin' },
1014
- { type: 'error', inputs: [], name: 'OnlySparksContract' },
1015
- { type: 'error', inputs: [], name: 'TransferFailed' },
1016
- { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
1017
- {
1018
- type: 'error',
1019
- inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
1020
- name: 'UUPSUnsupportedProxiableUUID',
1021
- },
1022
- {
1023
- type: 'error',
1024
- inputs: [
1025
- { name: 'currentName', internalType: 'string', type: 'string' },
1026
- { name: 'newName', internalType: 'string', type: 'string' },
1027
- ],
1028
- name: 'UpgradeToMismatchedContractName',
1029
- },
1030
- ] as const
1031
-
1032
- /**
1033
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
1034
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
1035
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
1036
- * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
1037
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
1038
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
1039
- * - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
1040
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
1041
- */
1042
- export const callerAndCommenterAddress = {
1043
- 10: '0x77777775C5074b74540d9cC63Dd840A8c692B4B5',
1044
- 8453: '0x77777775C5074b74540d9cC63Dd840A8c692B4B5',
1045
- 42161: '0x77777775C5074b74540d9cC63Dd840A8c692B4B5',
1046
- 84532: '0x77777775C5074b74540d9cC63Dd840A8c692B4B5',
1047
- 7777777: '0x77777775C5074b74540d9cC63Dd840A8c692B4B5',
1048
- 11155111: '0x77777775C5074b74540d9cC63Dd840A8c692B4B5',
1049
- 11155420: '0x77777775C5074b74540d9cC63Dd840A8c692B4B5',
1050
- 999999999: '0x77777775C5074b74540d9cC63Dd840A8c692B4B5',
1051
- } as const
1052
-
1053
- /**
1054
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
1055
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
1056
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
1057
- * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
1058
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
1059
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
1060
- * - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
1061
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
1062
- */
1063
- export const callerAndCommenterConfig = {
1064
- address: callerAndCommenterAddress,
1065
- abi: callerAndCommenterABI,
1066
- } as const
1067
-
1068
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1069
- // Comments
1070
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1071
-
1072
- /**
1073
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x7777777C2B3132e03a65721a41745C07170a5877)
1074
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777C2B3132e03a65721a41745C07170a5877)
1075
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777777C2B3132e03a65721a41745C07170a5877)
1076
- * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x7777777C2B3132e03a65721a41745C07170a5877)
1077
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777C2B3132e03a65721a41745C07170a5877)
1078
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7777777C2B3132e03a65721a41745C07170a5877)
1079
- * - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x7777777C2B3132e03a65721a41745C07170a5877)
1080
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777C2B3132e03a65721a41745C07170a5877)
1081
- */
1082
- export const commentsABI = [
1083
- {
1084
- stateMutability: 'nonpayable',
1085
- type: 'constructor',
1086
- inputs: [
1087
- { name: '_sparkValue', internalType: 'uint256', type: 'uint256' },
1088
- { name: '_protocolRewards', internalType: 'address', type: 'address' },
1089
- { name: '_zoraRecipient', internalType: 'address', type: 'address' },
1090
- ],
1091
- },
1092
- {
1093
- stateMutability: 'view',
1094
- type: 'function',
1095
- inputs: [],
1096
- name: 'BACKFILLER_ROLE',
1097
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1098
- },
1099
- {
1100
- stateMutability: 'view',
1101
- type: 'function',
1102
- inputs: [],
1103
- name: 'DEFAULT_ADMIN_ROLE',
1104
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1105
- },
1106
- {
1107
- stateMutability: 'view',
1108
- type: 'function',
1109
- inputs: [],
1110
- name: 'DELEGATE_COMMENTER',
1111
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1112
- },
1113
- {
1114
- stateMutability: 'view',
1115
- type: 'function',
1116
- inputs: [],
1117
- name: 'DOMAIN_NAME',
1118
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
1119
- },
1120
- {
1121
- stateMutability: 'view',
1122
- type: 'function',
1123
- inputs: [],
1124
- name: 'DOMAIN_VERSION',
1125
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
1126
- },
1127
- {
1128
- stateMutability: 'view',
1129
- type: 'function',
1130
- inputs: [],
1131
- name: 'PERMISSION_BIT_ADMIN',
1132
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1133
- },
1134
- {
1135
- stateMutability: 'view',
1136
- type: 'function',
1137
- inputs: [],
1138
- name: 'REFERRER_REWARD_PCT',
1139
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1140
- },
1141
- {
1142
- stateMutability: 'view',
1143
- type: 'function',
1144
- inputs: [],
1145
- name: 'UPGRADE_INTERFACE_VERSION',
1146
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
1147
- },
1148
- {
1149
- stateMutability: 'view',
1150
- type: 'function',
1151
- inputs: [],
1152
- name: 'ZORA_REWARD_NO_REFERRER_PCT',
1153
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1154
- },
1155
- {
1156
- stateMutability: 'view',
1157
- type: 'function',
1158
- inputs: [],
1159
- name: 'ZORA_REWARD_PCT',
1160
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1161
- },
1162
- {
1163
- stateMutability: 'nonpayable',
1164
- type: 'function',
1165
- inputs: [
1166
- {
1167
- name: 'commentIdentifiers',
1168
- internalType: 'struct IComments.CommentIdentifier[]',
1169
- type: 'tuple[]',
1170
- components: [
1171
- { name: 'commenter', internalType: 'address', type: 'address' },
1172
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1173
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1174
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1175
- ],
1176
- },
1177
- { name: 'texts', internalType: 'string[]', type: 'string[]' },
1178
- { name: 'timestamps', internalType: 'uint256[]', type: 'uint256[]' },
1179
- {
1180
- name: 'originalTransactionHashes',
1181
- internalType: 'bytes32[]',
1182
- type: 'bytes32[]',
1183
- },
1184
- ],
1185
- name: 'backfillBatchAddComment',
1186
- outputs: [],
1187
- },
1188
- {
1189
- stateMutability: 'payable',
1190
- type: 'function',
1191
- inputs: [
1192
- { name: 'commenter', internalType: 'address', type: 'address' },
1193
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1194
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1195
- { name: 'text', internalType: 'string', type: 'string' },
1196
- {
1197
- name: 'replyTo',
1198
- internalType: 'struct IComments.CommentIdentifier',
1199
- type: 'tuple',
1200
- components: [
1201
- { name: 'commenter', internalType: 'address', type: 'address' },
1202
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1203
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1204
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1205
- ],
1206
- },
1207
- {
1208
- name: 'commenterSmartWallet',
1209
- internalType: 'address',
1210
- type: 'address',
1211
- },
1212
- { name: 'referrer', internalType: 'address', type: 'address' },
1213
- ],
1214
- name: 'comment',
1215
- outputs: [
1216
- {
1217
- name: 'commentIdentifier',
1218
- internalType: 'struct IComments.CommentIdentifier',
1219
- type: 'tuple',
1220
- components: [
1221
- { name: 'commenter', internalType: 'address', type: 'address' },
1222
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1223
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1224
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1225
- ],
1226
- },
1227
- ],
1228
- },
1229
- {
1230
- stateMutability: 'view',
1231
- type: 'function',
1232
- inputs: [
1233
- {
1234
- name: 'commentIdentifier',
1235
- internalType: 'struct IComments.CommentIdentifier',
1236
- type: 'tuple',
1237
- components: [
1238
- { name: 'commenter', internalType: 'address', type: 'address' },
1239
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1240
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1241
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1242
- ],
1243
- },
1244
- ],
1245
- name: 'commentSparksQuantity',
1246
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1247
- },
1248
- {
1249
- stateMutability: 'pure',
1250
- type: 'function',
1251
- inputs: [],
1252
- name: 'contractName',
1253
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
1254
- },
1255
- {
1256
- stateMutability: 'pure',
1257
- type: 'function',
1258
- inputs: [],
1259
- name: 'contractVersion',
1260
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
1261
- },
1262
- {
1263
- stateMutability: 'payable',
1264
- type: 'function',
1265
- inputs: [
1266
- { name: 'commenter', internalType: 'address', type: 'address' },
1267
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1268
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1269
- { name: 'text', internalType: 'string', type: 'string' },
1270
- {
1271
- name: 'replyTo',
1272
- internalType: 'struct IComments.CommentIdentifier',
1273
- type: 'tuple',
1274
- components: [
1275
- { name: 'commenter', internalType: 'address', type: 'address' },
1276
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1277
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1278
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1279
- ],
1280
- },
1281
- {
1282
- name: 'commenterSmartWalletOwner',
1283
- internalType: 'address',
1284
- type: 'address',
1285
- },
1286
- { name: 'referrer', internalType: 'address', type: 'address' },
1287
- ],
1288
- name: 'delegateComment',
1289
- outputs: [
1290
- {
1291
- name: 'commentIdentifier',
1292
- internalType: 'struct IComments.CommentIdentifier',
1293
- type: 'tuple',
1294
- components: [
1295
- { name: 'commenter', internalType: 'address', type: 'address' },
1296
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1297
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1298
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1299
- ],
1300
- },
1301
- { name: 'commentId', internalType: 'bytes32', type: 'bytes32' },
1302
- ],
1303
- },
1304
- {
1305
- stateMutability: 'view',
1306
- type: 'function',
1307
- inputs: [],
1308
- name: 'eip712Domain',
1309
- outputs: [
1310
- { name: 'fields', internalType: 'bytes1', type: 'bytes1' },
1311
- { name: 'name', internalType: 'string', type: 'string' },
1312
- { name: 'version', internalType: 'string', type: 'string' },
1313
- { name: 'chainId', internalType: 'uint256', type: 'uint256' },
1314
- { name: 'verifyingContract', internalType: 'address', type: 'address' },
1315
- { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
1316
- { name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
1317
- ],
1318
- },
1319
- {
1320
- stateMutability: 'view',
1321
- type: 'function',
1322
- inputs: [{ name: 'role', internalType: 'bytes32', type: 'bytes32' }],
1323
- name: 'getRoleAdmin',
1324
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1325
- },
1326
- {
1327
- stateMutability: 'nonpayable',
1328
- type: 'function',
1329
- inputs: [
1330
- { name: 'role', internalType: 'bytes32', type: 'bytes32' },
1331
- { name: 'account', internalType: 'address', type: 'address' },
1332
- ],
1333
- name: 'grantRole',
1334
- outputs: [],
1335
- },
1336
- {
1337
- stateMutability: 'view',
1338
- type: 'function',
1339
- inputs: [
1340
- { name: 'role', internalType: 'bytes32', type: 'bytes32' },
1341
- { name: 'account', internalType: 'address', type: 'address' },
1342
- ],
1343
- name: 'hasRole',
1344
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1345
- },
1346
- {
1347
- stateMutability: 'view',
1348
- type: 'function',
1349
- inputs: [
1350
- {
1351
- name: 'commentIdentifier',
1352
- internalType: 'struct IComments.CommentIdentifier',
1353
- type: 'tuple',
1354
- components: [
1355
- { name: 'commenter', internalType: 'address', type: 'address' },
1356
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1357
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1358
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1359
- ],
1360
- },
1361
- ],
1362
- name: 'hashAndCheckCommentExists',
1363
- outputs: [
1364
- { name: 'commentId', internalType: 'bytes32', type: 'bytes32' },
1365
- { name: 'exists', internalType: 'bool', type: 'bool' },
1366
- ],
1367
- },
1368
- {
1369
- stateMutability: 'view',
1370
- type: 'function',
1371
- inputs: [
1372
- {
1373
- name: 'commentIdentifier',
1374
- internalType: 'struct IComments.CommentIdentifier',
1375
- type: 'tuple',
1376
- components: [
1377
- { name: 'commenter', internalType: 'address', type: 'address' },
1378
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1379
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1380
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1381
- ],
1382
- },
1383
- ],
1384
- name: 'hashAndValidateCommentExists',
1385
- outputs: [{ name: 'commentId', internalType: 'bytes32', type: 'bytes32' }],
1386
- },
1387
- {
1388
- stateMutability: 'pure',
1389
- type: 'function',
1390
- inputs: [
1391
- {
1392
- name: 'commentIdentifier',
1393
- internalType: 'struct IComments.CommentIdentifier',
1394
- type: 'tuple',
1395
- components: [
1396
- { name: 'commenter', internalType: 'address', type: 'address' },
1397
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1398
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1399
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1400
- ],
1401
- },
1402
- ],
1403
- name: 'hashCommentIdentifier',
1404
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1405
- },
1406
- {
1407
- stateMutability: 'view',
1408
- type: 'function',
1409
- inputs: [
1410
- {
1411
- name: 'permit',
1412
- internalType: 'struct IComments.PermitComment',
1413
- type: 'tuple',
1414
- components: [
1415
- { name: 'commenter', internalType: 'address', type: 'address' },
1416
- {
1417
- name: 'commenterSmartWallet',
1418
- internalType: 'address',
1419
- type: 'address',
1420
- },
1421
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1422
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1423
- {
1424
- name: 'replyTo',
1425
- internalType: 'struct IComments.CommentIdentifier',
1426
- type: 'tuple',
1427
- components: [
1428
- { name: 'commenter', internalType: 'address', type: 'address' },
1429
- {
1430
- name: 'contractAddress',
1431
- internalType: 'address',
1432
- type: 'address',
1433
- },
1434
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1435
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1436
- ],
1437
- },
1438
- { name: 'text', internalType: 'string', type: 'string' },
1439
- { name: 'referrer', internalType: 'address', type: 'address' },
1440
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
1441
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1442
- { name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
1443
- {
1444
- name: 'destinationChainId',
1445
- internalType: 'uint32',
1446
- type: 'uint32',
1447
- },
1448
- ],
1449
- },
1450
- ],
1451
- name: 'hashPermitComment',
1452
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1453
- },
1454
- {
1455
- stateMutability: 'view',
1456
- type: 'function',
1457
- inputs: [
1458
- {
1459
- name: 'permit',
1460
- internalType: 'struct IComments.PermitSparkComment',
1461
- type: 'tuple',
1462
- components: [
1463
- {
1464
- name: 'comment',
1465
- internalType: 'struct IComments.CommentIdentifier',
1466
- type: 'tuple',
1467
- components: [
1468
- { name: 'commenter', internalType: 'address', type: 'address' },
1469
- {
1470
- name: 'contractAddress',
1471
- internalType: 'address',
1472
- type: 'address',
1473
- },
1474
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1475
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1476
- ],
1477
- },
1478
- { name: 'sparker', internalType: 'address', type: 'address' },
1479
- { name: 'sparksQuantity', internalType: 'uint256', type: 'uint256' },
1480
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
1481
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1482
- { name: 'referrer', internalType: 'address', type: 'address' },
1483
- { name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
1484
- {
1485
- name: 'destinationChainId',
1486
- internalType: 'uint32',
1487
- type: 'uint32',
1488
- },
1489
- ],
1490
- },
1491
- ],
1492
- name: 'hashPermitSparkComment',
1493
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1494
- },
1495
- {
1496
- stateMutability: 'view',
1497
- type: 'function',
1498
- inputs: [],
1499
- name: 'implementation',
1500
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
1501
- },
1502
- {
1503
- stateMutability: 'nonpayable',
1504
- type: 'function',
1505
- inputs: [
1506
- { name: 'defaultAdmin', internalType: 'address', type: 'address' },
1507
- { name: 'backfiller', internalType: 'address', type: 'address' },
1508
- {
1509
- name: 'delegateCommenters',
1510
- internalType: 'address[]',
1511
- type: 'address[]',
1512
- },
1513
- ],
1514
- name: 'initialize',
1515
- outputs: [],
1516
- },
1517
- {
1518
- stateMutability: 'view',
1519
- type: 'function',
1520
- inputs: [],
1521
- name: 'nextNonce',
1522
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1523
- },
1524
- {
1525
- stateMutability: 'view',
1526
- type: 'function',
1527
- inputs: [
1528
- { name: 'owner', internalType: 'address', type: 'address' },
1529
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1530
- ],
1531
- name: 'nonceUsed',
1532
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1533
- },
1534
- {
1535
- stateMutability: 'payable',
1536
- type: 'function',
1537
- inputs: [
1538
- {
1539
- name: 'permit',
1540
- internalType: 'struct IComments.PermitComment',
1541
- type: 'tuple',
1542
- components: [
1543
- { name: 'commenter', internalType: 'address', type: 'address' },
1544
- {
1545
- name: 'commenterSmartWallet',
1546
- internalType: 'address',
1547
- type: 'address',
1548
- },
1549
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1550
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1551
- {
1552
- name: 'replyTo',
1553
- internalType: 'struct IComments.CommentIdentifier',
1554
- type: 'tuple',
1555
- components: [
1556
- { name: 'commenter', internalType: 'address', type: 'address' },
1557
- {
1558
- name: 'contractAddress',
1559
- internalType: 'address',
1560
- type: 'address',
1561
- },
1562
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1563
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1564
- ],
1565
- },
1566
- { name: 'text', internalType: 'string', type: 'string' },
1567
- { name: 'referrer', internalType: 'address', type: 'address' },
1568
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
1569
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1570
- { name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
1571
- {
1572
- name: 'destinationChainId',
1573
- internalType: 'uint32',
1574
- type: 'uint32',
1575
- },
1576
- ],
1577
- },
1578
- { name: 'signature', internalType: 'bytes', type: 'bytes' },
1579
- ],
1580
- name: 'permitComment',
1581
- outputs: [],
1582
- },
1583
- {
1584
- stateMutability: 'payable',
1585
- type: 'function',
1586
- inputs: [
1587
- {
1588
- name: 'permit',
1589
- internalType: 'struct IComments.PermitSparkComment',
1590
- type: 'tuple',
1591
- components: [
1592
- {
1593
- name: 'comment',
1594
- internalType: 'struct IComments.CommentIdentifier',
1595
- type: 'tuple',
1596
- components: [
1597
- { name: 'commenter', internalType: 'address', type: 'address' },
1598
- {
1599
- name: 'contractAddress',
1600
- internalType: 'address',
1601
- type: 'address',
1602
- },
1603
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1604
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1605
- ],
1606
- },
1607
- { name: 'sparker', internalType: 'address', type: 'address' },
1608
- { name: 'sparksQuantity', internalType: 'uint256', type: 'uint256' },
1609
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
1610
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1611
- { name: 'referrer', internalType: 'address', type: 'address' },
1612
- { name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
1613
- {
1614
- name: 'destinationChainId',
1615
- internalType: 'uint32',
1616
- type: 'uint32',
1617
- },
1618
- ],
1619
- },
1620
- { name: 'signature', internalType: 'bytes', type: 'bytes' },
1621
- ],
1622
- name: 'permitSparkComment',
1623
- outputs: [],
1624
- },
1625
- {
1626
- stateMutability: 'view',
1627
- type: 'function',
1628
- inputs: [],
1629
- name: 'protocolRewards',
1630
- outputs: [
1631
- { name: '', internalType: 'contract IProtocolRewards', type: 'address' },
1632
- ],
1633
- },
1634
- {
1635
- stateMutability: 'view',
1636
- type: 'function',
1637
- inputs: [],
1638
- name: 'proxiableUUID',
1639
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1640
- },
1641
- {
1642
- stateMutability: 'nonpayable',
1643
- type: 'function',
1644
- inputs: [
1645
- { name: 'role', internalType: 'bytes32', type: 'bytes32' },
1646
- { name: 'callerConfirmation', internalType: 'address', type: 'address' },
1647
- ],
1648
- name: 'renounceRole',
1649
- outputs: [],
1650
- },
1651
- {
1652
- stateMutability: 'nonpayable',
1653
- type: 'function',
1654
- inputs: [
1655
- { name: 'role', internalType: 'bytes32', type: 'bytes32' },
1656
- { name: 'account', internalType: 'address', type: 'address' },
1657
- ],
1658
- name: 'revokeRole',
1659
- outputs: [],
1660
- },
1661
- {
1662
- stateMutability: 'payable',
1663
- type: 'function',
1664
- inputs: [
1665
- {
1666
- name: 'commentIdentifier',
1667
- internalType: 'struct IComments.CommentIdentifier',
1668
- type: 'tuple',
1669
- components: [
1670
- { name: 'commenter', internalType: 'address', type: 'address' },
1671
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1672
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1673
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1674
- ],
1675
- },
1676
- { name: 'sparksQuantity', internalType: 'uint256', type: 'uint256' },
1677
- { name: 'referrer', internalType: 'address', type: 'address' },
1678
- ],
1679
- name: 'sparkComment',
1680
- outputs: [],
1681
- },
1682
- {
1683
- stateMutability: 'view',
1684
- type: 'function',
1685
- inputs: [],
1686
- name: 'sparkValue',
1687
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1688
- },
1689
- {
1690
- stateMutability: 'view',
1691
- type: 'function',
1692
- inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
1693
- name: 'supportsInterface',
1694
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1695
- },
1696
- {
1697
- stateMutability: 'payable',
1698
- type: 'function',
1699
- inputs: [
1700
- { name: 'newImplementation', internalType: 'address', type: 'address' },
1701
- { name: 'data', internalType: 'bytes', type: 'bytes' },
1702
- ],
1703
- name: 'upgradeToAndCall',
1704
- outputs: [],
1705
- },
1706
- {
1707
- type: 'event',
1708
- anonymous: false,
1709
- inputs: [
1710
- {
1711
- name: 'commentId',
1712
- internalType: 'bytes32',
1713
- type: 'bytes32',
1714
- indexed: true,
1715
- },
1716
- {
1717
- name: 'commentIdentifier',
1718
- internalType: 'struct IComments.CommentIdentifier',
1719
- type: 'tuple',
1720
- components: [
1721
- { name: 'commenter', internalType: 'address', type: 'address' },
1722
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1723
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1724
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1725
- ],
1726
- indexed: false,
1727
- },
1728
- { name: 'text', internalType: 'string', type: 'string', indexed: false },
1729
- {
1730
- name: 'timestamp',
1731
- internalType: 'uint256',
1732
- type: 'uint256',
1733
- indexed: false,
1734
- },
1735
- {
1736
- name: 'originalTransactionId',
1737
- internalType: 'bytes32',
1738
- type: 'bytes32',
1739
- indexed: false,
1740
- },
1741
- ],
1742
- name: 'BackfilledComment',
1743
- },
1744
- {
1745
- type: 'event',
1746
- anonymous: false,
1747
- inputs: [
1748
- {
1749
- name: 'commentId',
1750
- internalType: 'bytes32',
1751
- type: 'bytes32',
1752
- indexed: true,
1753
- },
1754
- {
1755
- name: 'commentIdentifier',
1756
- internalType: 'struct IComments.CommentIdentifier',
1757
- type: 'tuple',
1758
- components: [
1759
- { name: 'commenter', internalType: 'address', type: 'address' },
1760
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1761
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1762
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1763
- ],
1764
- indexed: false,
1765
- },
1766
- {
1767
- name: 'replyToId',
1768
- internalType: 'bytes32',
1769
- type: 'bytes32',
1770
- indexed: false,
1771
- },
1772
- {
1773
- name: 'replyTo',
1774
- internalType: 'struct IComments.CommentIdentifier',
1775
- type: 'tuple',
1776
- components: [
1777
- { name: 'commenter', internalType: 'address', type: 'address' },
1778
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1779
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1780
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1781
- ],
1782
- indexed: false,
1783
- },
1784
- {
1785
- name: 'sparksQuantity',
1786
- internalType: 'uint256',
1787
- type: 'uint256',
1788
- indexed: false,
1789
- },
1790
- { name: 'text', internalType: 'string', type: 'string', indexed: false },
1791
- {
1792
- name: 'timestamp',
1793
- internalType: 'uint256',
1794
- type: 'uint256',
1795
- indexed: false,
1796
- },
1797
- {
1798
- name: 'referrer',
1799
- internalType: 'address',
1800
- type: 'address',
1801
- indexed: false,
1802
- },
1803
- ],
1804
- name: 'Commented',
1805
- },
1806
- { type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
1807
- {
1808
- type: 'event',
1809
- anonymous: false,
1810
- inputs: [
1811
- {
1812
- name: 'version',
1813
- internalType: 'uint64',
1814
- type: 'uint64',
1815
- indexed: false,
1816
- },
1817
- ],
1818
- name: 'Initialized',
1819
- },
1820
- {
1821
- type: 'event',
1822
- anonymous: false,
1823
- inputs: [
1824
- { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true },
1825
- {
1826
- name: 'previousAdminRole',
1827
- internalType: 'bytes32',
1828
- type: 'bytes32',
1829
- indexed: true,
1830
- },
1831
- {
1832
- name: 'newAdminRole',
1833
- internalType: 'bytes32',
1834
- type: 'bytes32',
1835
- indexed: true,
1836
- },
1837
- ],
1838
- name: 'RoleAdminChanged',
1839
- },
1840
- {
1841
- type: 'event',
1842
- anonymous: false,
1843
- inputs: [
1844
- { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true },
1845
- {
1846
- name: 'account',
1847
- internalType: 'address',
1848
- type: 'address',
1849
- indexed: true,
1850
- },
1851
- {
1852
- name: 'sender',
1853
- internalType: 'address',
1854
- type: 'address',
1855
- indexed: true,
1856
- },
1857
- ],
1858
- name: 'RoleGranted',
1859
- },
1860
- {
1861
- type: 'event',
1862
- anonymous: false,
1863
- inputs: [
1864
- { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true },
1865
- {
1866
- name: 'account',
1867
- internalType: 'address',
1868
- type: 'address',
1869
- indexed: true,
1870
- },
1871
- {
1872
- name: 'sender',
1873
- internalType: 'address',
1874
- type: 'address',
1875
- indexed: true,
1876
- },
1877
- ],
1878
- name: 'RoleRevoked',
1879
- },
1880
- {
1881
- type: 'event',
1882
- anonymous: false,
1883
- inputs: [
1884
- {
1885
- name: 'commentId',
1886
- internalType: 'bytes32',
1887
- type: 'bytes32',
1888
- indexed: true,
1889
- },
1890
- {
1891
- name: 'commentIdentifier',
1892
- internalType: 'struct IComments.CommentIdentifier',
1893
- type: 'tuple',
1894
- components: [
1895
- { name: 'commenter', internalType: 'address', type: 'address' },
1896
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1897
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1898
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1899
- ],
1900
- indexed: false,
1901
- },
1902
- {
1903
- name: 'sparksQuantity',
1904
- internalType: 'uint256',
1905
- type: 'uint256',
1906
- indexed: false,
1907
- },
1908
- {
1909
- name: 'sparker',
1910
- internalType: 'address',
1911
- type: 'address',
1912
- indexed: false,
1913
- },
1914
- {
1915
- name: 'timestamp',
1916
- internalType: 'uint256',
1917
- type: 'uint256',
1918
- indexed: false,
1919
- },
1920
- {
1921
- name: 'referrer',
1922
- internalType: 'address',
1923
- type: 'address',
1924
- indexed: false,
1925
- },
1926
- ],
1927
- name: 'SparkedComment',
1928
- },
1929
- {
1930
- type: 'event',
1931
- anonymous: false,
1932
- inputs: [
1933
- {
1934
- name: 'implementation',
1935
- internalType: 'address',
1936
- type: 'address',
1937
- indexed: true,
1938
- },
1939
- ],
1940
- name: 'Upgraded',
1941
- },
1942
- { type: 'error', inputs: [], name: 'AccessControlBadConfirmation' },
1943
- {
1944
- type: 'error',
1945
- inputs: [
1946
- { name: 'account', internalType: 'address', type: 'address' },
1947
- { name: 'neededRole', internalType: 'bytes32', type: 'bytes32' },
1948
- ],
1949
- name: 'AccessControlUnauthorizedAccount',
1950
- },
1951
- {
1952
- type: 'error',
1953
- inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
1954
- name: 'AddressEmptyCode',
1955
- },
1956
- { type: 'error', inputs: [], name: 'AddressZero' },
1957
- { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
1958
- { type: 'error', inputs: [], name: 'CannotSparkOwnComment' },
1959
- {
1960
- type: 'error',
1961
- inputs: [
1962
- { name: 'commentAddress', internalType: 'address', type: 'address' },
1963
- { name: 'commentTokenId', internalType: 'uint256', type: 'uint256' },
1964
- { name: 'replyAddress', internalType: 'address', type: 'address' },
1965
- { name: 'replyTokenId', internalType: 'uint256', type: 'uint256' },
1966
- ],
1967
- name: 'CommentAddressOrTokenIdsDoNotMatch',
1968
- },
1969
- { type: 'error', inputs: [], name: 'CommentDoesntExist' },
1970
- {
1971
- type: 'error',
1972
- inputs: [
1973
- { name: 'expected', internalType: 'address', type: 'address' },
1974
- { name: 'actual', internalType: 'address', type: 'address' },
1975
- ],
1976
- name: 'CommenterMismatch',
1977
- },
1978
- {
1979
- type: 'error',
1980
- inputs: [{ name: 'commentId', internalType: 'bytes32', type: 'bytes32' }],
1981
- name: 'DuplicateComment',
1982
- },
1983
- {
1984
- type: 'error',
1985
- inputs: [
1986
- { name: 'implementation', internalType: 'address', type: 'address' },
1987
- ],
1988
- name: 'ERC1967InvalidImplementation',
1989
- },
1990
- { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
1991
- {
1992
- type: 'error',
1993
- inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
1994
- name: 'ERC2612ExpiredSignature',
1995
- },
1996
- { type: 'error', inputs: [], name: 'EmptyComment' },
1997
- { type: 'error', inputs: [], name: 'FailedInnerCall' },
1998
- {
1999
- type: 'error',
2000
- inputs: [
2001
- {
2002
- name: 'wrongDestinationChainId',
2003
- internalType: 'uint256',
2004
- type: 'uint256',
2005
- },
2006
- ],
2007
- name: 'IncorrectDestinationChain',
2008
- },
2009
- {
2010
- type: 'error',
2011
- inputs: [
2012
- { name: 'actual', internalType: 'uint256', type: 'uint256' },
2013
- { name: 'expected', internalType: 'uint256', type: 'uint256' },
2014
- ],
2015
- name: 'IncorrectETHAmountForSparks',
2016
- },
2017
- {
2018
- type: 'error',
2019
- inputs: [
2020
- { name: 'account', internalType: 'address', type: 'address' },
2021
- { name: 'currentNonce', internalType: 'bytes32', type: 'bytes32' },
2022
- ],
2023
- name: 'InvalidAccountNonce',
2024
- },
2025
- { type: 'error', inputs: [], name: 'InvalidInitialization' },
2026
- { type: 'error', inputs: [], name: 'InvalidSignature' },
2027
- { type: 'error', inputs: [], name: 'MustSendAtLeastOneSpark' },
2028
- { type: 'error', inputs: [], name: 'NoFundsRecipient' },
2029
- { type: 'error', inputs: [], name: 'NotInitializing' },
2030
- { type: 'error', inputs: [], name: 'NotSmartWallet' },
2031
- { type: 'error', inputs: [], name: 'NotSmartWalletOwner' },
2032
- { type: 'error', inputs: [], name: 'NotTokenHolderOrAdmin' },
2033
- { type: 'error', inputs: [], name: 'OnlySparksContract' },
2034
- { type: 'error', inputs: [], name: 'TransferFailed' },
2035
- { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
2036
- {
2037
- type: 'error',
2038
- inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
2039
- name: 'UUPSUnsupportedProxiableUUID',
2040
- },
2041
- {
2042
- type: 'error',
2043
- inputs: [
2044
- { name: 'currentName', internalType: 'string', type: 'string' },
2045
- { name: 'newName', internalType: 'string', type: 'string' },
2046
- ],
2047
- name: 'UpgradeToMismatchedContractName',
2048
- },
2049
- ] as const
2050
-
2051
- /**
2052
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x7777777C2B3132e03a65721a41745C07170a5877)
2053
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777C2B3132e03a65721a41745C07170a5877)
2054
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777777C2B3132e03a65721a41745C07170a5877)
2055
- * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x7777777C2B3132e03a65721a41745C07170a5877)
2056
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777C2B3132e03a65721a41745C07170a5877)
2057
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7777777C2B3132e03a65721a41745C07170a5877)
2058
- * - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x7777777C2B3132e03a65721a41745C07170a5877)
2059
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777C2B3132e03a65721a41745C07170a5877)
2060
- */
2061
- export const commentsAddress = {
2062
- 10: '0x7777777C2B3132e03a65721a41745C07170a5877',
2063
- 8453: '0x7777777C2B3132e03a65721a41745C07170a5877',
2064
- 42161: '0x7777777C2B3132e03a65721a41745C07170a5877',
2065
- 84532: '0x7777777C2B3132e03a65721a41745C07170a5877',
2066
- 7777777: '0x7777777C2B3132e03a65721a41745C07170a5877',
2067
- 11155111: '0x7777777C2B3132e03a65721a41745C07170a5877',
2068
- 11155420: '0x7777777C2B3132e03a65721a41745C07170a5877',
2069
- 999999999: '0x7777777C2B3132e03a65721a41745C07170a5877',
2070
- } as const
2071
-
2072
- /**
2073
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x7777777C2B3132e03a65721a41745C07170a5877)
2074
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777C2B3132e03a65721a41745C07170a5877)
2075
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777777C2B3132e03a65721a41745C07170a5877)
2076
- * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x7777777C2B3132e03a65721a41745C07170a5877)
2077
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777C2B3132e03a65721a41745C07170a5877)
2078
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7777777C2B3132e03a65721a41745C07170a5877)
2079
- * - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x7777777C2B3132e03a65721a41745C07170a5877)
2080
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777C2B3132e03a65721a41745C07170a5877)
2081
- */
2082
- export const commentsConfig = {
2083
- address: commentsAddress,
2084
- abi: commentsABI,
2085
- } as const
2086
-
2087
1
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2088
2
  // ERC20Minter
2089
3
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -5410,7 +3324,6 @@ export const upgradeGateConfig = {
5410
3324
  * - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0xc556bae1e86b2ae9c22ea5e036b07e55e7596074)
5411
3325
  * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x4200000000000000000000000000000000000006)
5412
3326
  * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9)
5413
- * - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x4200000000000000000000000000000000000006)
5414
3327
  * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x4200000000000000000000000000000000000006)
5415
3328
  */
5416
3329
  export const wethABI = [
@@ -5478,7 +3391,6 @@ export const wethABI = [
5478
3391
  * - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0xc556bae1e86b2ae9c22ea5e036b07e55e7596074)
5479
3392
  * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x4200000000000000000000000000000000000006)
5480
3393
  * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9)
5481
- * - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x4200000000000000000000000000000000000006)
5482
3394
  * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x4200000000000000000000000000000000000006)
5483
3395
  */
5484
3396
  export const wethAddress = {
@@ -5491,7 +3403,6 @@ export const wethAddress = {
5491
3403
  421614: '0xc556bAe1e86B2aE9c22eA5E036b07E55E7596074',
5492
3404
  7777777: '0x4200000000000000000000000000000000000006',
5493
3405
  11155111: '0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9',
5494
- 11155420: '0x4200000000000000000000000000000000000006',
5495
3406
  999999999: '0x4200000000000000000000000000000000000006',
5496
3407
  } as const
5497
3408
 
@@ -5505,7 +3416,6 @@ export const wethAddress = {
5505
3416
  * - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0xc556bae1e86b2ae9c22ea5e036b07e55e7596074)
5506
3417
  * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x4200000000000000000000000000000000000006)
5507
3418
  * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9)
5508
- * - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x4200000000000000000000000000000000000006)
5509
3419
  * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x4200000000000000000000000000000000000006)
5510
3420
  */
5511
3421
  export const wethConfig = { address: wethAddress, abi: wethABI } as const
@@ -6242,6 +4152,8 @@ export const zoraCreator1155FactoryImplABI = [
6242
4152
  },
6243
4153
  { type: 'error', inputs: [], name: 'NonEthRedemption' },
6244
4154
  { type: 'error', inputs: [], name: 'ONLY_CREATE_REFERRAL' },
4155
+ { type: 'error', inputs: [], name: 'OnlyAllowedForRegisteredMinter' },
4156
+ { type: 'error', inputs: [], name: 'OnlyAllowedForTimedSaleStrategy' },
6245
4157
  { type: 'error', inputs: [], name: 'OnlyTransfersFromZoraMints' },
6246
4158
  { type: 'error', inputs: [], name: 'PremintDeleted' },
6247
4159
  {
@@ -6432,6 +4344,7 @@ export const zoraCreator1155ImplABI = [
6432
4344
  { name: '_mintFeeRecipient', internalType: 'address', type: 'address' },
6433
4345
  { name: '_upgradeGate', internalType: 'address', type: 'address' },
6434
4346
  { name: '_protocolRewards', internalType: 'address', type: 'address' },
4347
+ { name: '_timedSaleStrategy', internalType: 'address', type: 'address' },
6435
4348
  ],
6436
4349
  },
6437
4350
  { stateMutability: 'payable', type: 'receive' },
@@ -7698,6 +5611,8 @@ export const zoraCreator1155ImplABI = [
7698
5611
  },
7699
5612
  { type: 'error', inputs: [], name: 'NonEthRedemption' },
7700
5613
  { type: 'error', inputs: [], name: 'ONLY_CREATE_REFERRAL' },
5614
+ { type: 'error', inputs: [], name: 'OnlyAllowedForRegisteredMinter' },
5615
+ { type: 'error', inputs: [], name: 'OnlyAllowedForTimedSaleStrategy' },
7701
5616
  { type: 'error', inputs: [], name: 'OnlyTransfersFromZoraMints' },
7702
5617
  { type: 'error', inputs: [], name: 'PremintDeleted' },
7703
5618
  {
@@ -8739,6 +6654,8 @@ export const zoraCreator1155PremintExecutorImplABI = [
8739
6654
  { type: 'error', inputs: [], name: 'ONLY_OWNER' },
8740
6655
  { type: 'error', inputs: [], name: 'ONLY_PENDING_OWNER' },
8741
6656
  { type: 'error', inputs: [], name: 'OWNER_CANNOT_BE_ZERO_ADDRESS' },
6657
+ { type: 'error', inputs: [], name: 'OnlyAllowedForRegisteredMinter' },
6658
+ { type: 'error', inputs: [], name: 'OnlyAllowedForTimedSaleStrategy' },
8742
6659
  { type: 'error', inputs: [], name: 'OnlyTransfersFromZoraMints' },
8743
6660
  { type: 'error', inputs: [], name: 'PremintDeleted' },
8744
6661
  {