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

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,1845 +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 Zora Explorer__](https://explorer.zora.energy/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
10
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
11
- */
12
- export const callerAndCommenterABI = [
13
- {
14
- stateMutability: 'nonpayable',
15
- type: 'constructor',
16
- inputs: [
17
- { name: '_comments', internalType: 'address', type: 'address' },
18
- { name: '_zoraTimedSale', internalType: 'address', type: 'address' },
19
- ],
20
- },
21
- {
22
- stateMutability: 'view',
23
- type: 'function',
24
- inputs: [],
25
- name: 'UPGRADE_INTERFACE_VERSION',
26
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
27
- },
28
- {
29
- stateMutability: 'nonpayable',
30
- type: 'function',
31
- inputs: [],
32
- name: 'acceptOwnership',
33
- outputs: [],
34
- },
35
- {
36
- stateMutability: 'view',
37
- type: 'function',
38
- inputs: [],
39
- name: 'comments',
40
- outputs: [
41
- { name: '', internalType: 'contract IComments', type: 'address' },
42
- ],
43
- },
44
- {
45
- stateMutability: 'pure',
46
- type: 'function',
47
- inputs: [],
48
- name: 'contractName',
49
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
50
- },
51
- {
52
- stateMutability: 'pure',
53
- type: 'function',
54
- inputs: [],
55
- name: 'contractVersion',
56
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
57
- },
58
- {
59
- stateMutability: 'view',
60
- type: 'function',
61
- inputs: [],
62
- name: 'eip712Domain',
63
- outputs: [
64
- { name: 'fields', internalType: 'bytes1', type: 'bytes1' },
65
- { name: 'name', internalType: 'string', type: 'string' },
66
- { name: 'version', internalType: 'string', type: 'string' },
67
- { name: 'chainId', internalType: 'uint256', type: 'uint256' },
68
- { name: 'verifyingContract', internalType: 'address', type: 'address' },
69
- { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
70
- { name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
71
- ],
72
- },
73
- {
74
- stateMutability: 'view',
75
- type: 'function',
76
- inputs: [
77
- {
78
- name: 'permit',
79
- internalType:
80
- 'struct ICallerAndCommenter.PermitTimedSaleMintAndComment',
81
- type: 'tuple',
82
- components: [
83
- { name: 'commenter', internalType: 'address', type: 'address' },
84
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
85
- { name: 'collection', internalType: 'address', type: 'address' },
86
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
87
- { name: 'mintReferral', internalType: 'address', type: 'address' },
88
- { name: 'comment', internalType: 'string', type: 'string' },
89
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
90
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
91
- { name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
92
- {
93
- name: 'destinationChainId',
94
- internalType: 'uint32',
95
- type: 'uint32',
96
- },
97
- ],
98
- },
99
- ],
100
- name: 'hashPermitTimedSaleMintAndComment',
101
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
102
- },
103
- {
104
- stateMutability: 'nonpayable',
105
- type: 'function',
106
- inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
107
- name: 'initialize',
108
- outputs: [],
109
- },
110
- {
111
- stateMutability: 'view',
112
- type: 'function',
113
- inputs: [
114
- { name: 'owner', internalType: 'address', type: 'address' },
115
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
116
- ],
117
- name: 'nonceUsed',
118
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
119
- },
120
- {
121
- stateMutability: 'view',
122
- type: 'function',
123
- inputs: [],
124
- name: 'owner',
125
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
126
- },
127
- {
128
- stateMutability: 'view',
129
- type: 'function',
130
- inputs: [],
131
- name: 'pendingOwner',
132
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
133
- },
134
- {
135
- stateMutability: 'payable',
136
- type: 'function',
137
- inputs: [
138
- {
139
- name: 'permit',
140
- internalType:
141
- 'struct ICallerAndCommenter.PermitTimedSaleMintAndComment',
142
- type: 'tuple',
143
- components: [
144
- { name: 'commenter', internalType: 'address', type: 'address' },
145
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
146
- { name: 'collection', internalType: 'address', type: 'address' },
147
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
148
- { name: 'mintReferral', internalType: 'address', type: 'address' },
149
- { name: 'comment', internalType: 'string', type: 'string' },
150
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
151
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
152
- { name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
153
- {
154
- name: 'destinationChainId',
155
- internalType: 'uint32',
156
- type: 'uint32',
157
- },
158
- ],
159
- },
160
- { name: 'signature', internalType: 'bytes', type: 'bytes' },
161
- ],
162
- name: 'permitTimedSaleMintAndComment',
163
- outputs: [
164
- {
165
- name: '',
166
- internalType: 'struct IComments.CommentIdentifier',
167
- type: 'tuple',
168
- components: [
169
- { name: 'commenter', internalType: 'address', type: 'address' },
170
- { name: 'contractAddress', internalType: 'address', type: 'address' },
171
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
172
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
173
- ],
174
- },
175
- ],
176
- },
177
- {
178
- stateMutability: 'view',
179
- type: 'function',
180
- inputs: [],
181
- name: 'proxiableUUID',
182
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
183
- },
184
- {
185
- stateMutability: 'nonpayable',
186
- type: 'function',
187
- inputs: [],
188
- name: 'renounceOwnership',
189
- outputs: [],
190
- },
191
- {
192
- stateMutability: 'payable',
193
- type: 'function',
194
- inputs: [
195
- { name: 'commenter', internalType: 'address', type: 'address' },
196
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
197
- { name: 'collection', internalType: 'address', type: 'address' },
198
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
199
- { name: 'mintReferral', internalType: 'address', type: 'address' },
200
- { name: 'comment', internalType: 'string', type: 'string' },
201
- ],
202
- name: 'timedSaleMintAndComment',
203
- outputs: [
204
- {
205
- name: '',
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: 'nonpayable',
219
- type: 'function',
220
- inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
221
- name: 'transferOwnership',
222
- outputs: [],
223
- },
224
- {
225
- stateMutability: 'payable',
226
- type: 'function',
227
- inputs: [
228
- { name: 'newImplementation', internalType: 'address', type: 'address' },
229
- { name: 'data', internalType: 'bytes', type: 'bytes' },
230
- ],
231
- name: 'upgradeToAndCall',
232
- outputs: [],
233
- },
234
- {
235
- stateMutability: 'view',
236
- type: 'function',
237
- inputs: [],
238
- name: 'zoraTimedSale',
239
- outputs: [
240
- {
241
- name: '',
242
- internalType: 'contract IZoraTimedSaleStrategy',
243
- type: 'address',
244
- },
245
- ],
246
- },
247
- { type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
248
- {
249
- type: 'event',
250
- anonymous: false,
251
- inputs: [
252
- {
253
- name: 'version',
254
- internalType: 'uint64',
255
- type: 'uint64',
256
- indexed: false,
257
- },
258
- ],
259
- name: 'Initialized',
260
- },
261
- {
262
- type: 'event',
263
- anonymous: false,
264
- inputs: [
265
- {
266
- name: 'commentId',
267
- internalType: 'bytes32',
268
- type: 'bytes32',
269
- indexed: true,
270
- },
271
- {
272
- name: 'commentIdentifier',
273
- internalType: 'struct IComments.CommentIdentifier',
274
- type: 'tuple',
275
- components: [
276
- { name: 'commenter', internalType: 'address', type: 'address' },
277
- { name: 'contractAddress', internalType: 'address', type: 'address' },
278
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
279
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
280
- ],
281
- indexed: false,
282
- },
283
- {
284
- name: 'quantity',
285
- internalType: 'uint256',
286
- type: 'uint256',
287
- indexed: false,
288
- },
289
- { name: 'text', internalType: 'string', type: 'string', indexed: false },
290
- ],
291
- name: 'MintedAndCommented',
292
- },
293
- {
294
- type: 'event',
295
- anonymous: false,
296
- inputs: [
297
- {
298
- name: 'previousOwner',
299
- internalType: 'address',
300
- type: 'address',
301
- indexed: true,
302
- },
303
- {
304
- name: 'newOwner',
305
- internalType: 'address',
306
- type: 'address',
307
- indexed: true,
308
- },
309
- ],
310
- name: 'OwnershipTransferStarted',
311
- },
312
- {
313
- type: 'event',
314
- anonymous: false,
315
- inputs: [
316
- {
317
- name: 'previousOwner',
318
- internalType: 'address',
319
- type: 'address',
320
- indexed: true,
321
- },
322
- {
323
- name: 'newOwner',
324
- internalType: 'address',
325
- type: 'address',
326
- indexed: true,
327
- },
328
- ],
329
- name: 'OwnershipTransferred',
330
- },
331
- {
332
- type: 'event',
333
- anonymous: false,
334
- inputs: [
335
- {
336
- name: 'implementation',
337
- internalType: 'address',
338
- type: 'address',
339
- indexed: true,
340
- },
341
- ],
342
- name: 'Upgraded',
343
- },
344
- {
345
- type: 'error',
346
- inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
347
- name: 'AddressEmptyCode',
348
- },
349
- {
350
- type: 'error',
351
- inputs: [
352
- { name: 'expected', internalType: 'address', type: 'address' },
353
- { name: 'actual', internalType: 'address', type: 'address' },
354
- ],
355
- name: 'CommenterMismatch',
356
- },
357
- {
358
- type: 'error',
359
- inputs: [
360
- { name: 'implementation', internalType: 'address', type: 'address' },
361
- ],
362
- name: 'ERC1967InvalidImplementation',
363
- },
364
- { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
365
- {
366
- type: 'error',
367
- inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
368
- name: 'ERC2612ExpiredSignature',
369
- },
370
- { type: 'error', inputs: [], name: 'FailedInnerCall' },
371
- {
372
- type: 'error',
373
- inputs: [
374
- {
375
- name: 'wrongDestinationChainId',
376
- internalType: 'uint256',
377
- type: 'uint256',
378
- },
379
- ],
380
- name: 'IncorrectDestinationChain',
381
- },
382
- {
383
- type: 'error',
384
- inputs: [
385
- { name: 'account', internalType: 'address', type: 'address' },
386
- { name: 'currentNonce', internalType: 'bytes32', type: 'bytes32' },
387
- ],
388
- name: 'InvalidAccountNonce',
389
- },
390
- { type: 'error', inputs: [], name: 'InvalidInitialization' },
391
- { type: 'error', inputs: [], name: 'InvalidSignature' },
392
- { type: 'error', inputs: [], name: 'NotInitializing' },
393
- {
394
- type: 'error',
395
- inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
396
- name: 'OwnableInvalidOwner',
397
- },
398
- {
399
- type: 'error',
400
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
401
- name: 'OwnableUnauthorizedAccount',
402
- },
403
- { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
404
- {
405
- type: 'error',
406
- inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
407
- name: 'UUPSUnsupportedProxiableUUID',
408
- },
409
- {
410
- type: 'error',
411
- inputs: [
412
- { name: 'currentName', internalType: 'string', type: 'string' },
413
- { name: 'newName', internalType: 'string', type: 'string' },
414
- ],
415
- name: 'UpgradeToMismatchedContractName',
416
- },
417
- {
418
- type: 'error',
419
- inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
420
- name: 'AddressEmptyCode',
421
- },
422
- {
423
- type: 'error',
424
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
425
- name: 'AddressInsufficientBalance',
426
- },
427
- { type: 'error', inputs: [], name: 'AddressZero' },
428
- { type: 'error', inputs: [], name: 'ERC1167FailedCreateClone' },
429
- {
430
- type: 'error',
431
- inputs: [
432
- { name: 'implementation', internalType: 'address', type: 'address' },
433
- ],
434
- name: 'ERC1967InvalidImplementation',
435
- },
436
- { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
437
- { type: 'error', inputs: [], name: 'EndTimeCannotBeInThePast' },
438
- { type: 'error', inputs: [], name: 'FailedInnerCall' },
439
- { type: 'error', inputs: [], name: 'InsufficientFunds' },
440
- { type: 'error', inputs: [], name: 'InvalidInitialization' },
441
- { type: 'error', inputs: [], name: 'MarketAlreadyLaunched' },
442
- { type: 'error', inputs: [], name: 'MarketMinimumNotReached' },
443
- { type: 'error', inputs: [], name: 'MinimumMarketEthNotMet' },
444
- { type: 'error', inputs: [], name: 'NeedsToBeAtLeastOneSaleToStartMarket' },
445
- { type: 'error', inputs: [], name: 'NotInitializing' },
446
- { type: 'error', inputs: [], name: 'OnlyZoraRewardRecipient' },
447
- {
448
- type: 'error',
449
- inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
450
- name: 'OwnableInvalidOwner',
451
- },
452
- {
453
- type: 'error',
454
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
455
- name: 'OwnableUnauthorizedAccount',
456
- },
457
- { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
458
- { type: 'error', inputs: [], name: 'RequestMintInvalidUseMint' },
459
- { type: 'error', inputs: [], name: 'ResetSaleNotAvailable' },
460
- { type: 'error', inputs: [], name: 'SaleAlreadySet' },
461
- { type: 'error', inputs: [], name: 'SaleEnded' },
462
- { type: 'error', inputs: [], name: 'SaleHasNotStarted' },
463
- { type: 'error', inputs: [], name: 'SaleInProgress' },
464
- { type: 'error', inputs: [], name: 'SaleNotSet' },
465
- { type: 'error', inputs: [], name: 'SaleV2AlreadyStarted' },
466
- { type: 'error', inputs: [], name: 'SaleV2Ended' },
467
- { type: 'error', inputs: [], name: 'SaleV2NotSet' },
468
- { type: 'error', inputs: [], name: 'StartTimeCannotBeAfterEndTime' },
469
- { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
470
- {
471
- type: 'error',
472
- inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
473
- name: 'UUPSUnsupportedProxiableUUID',
474
- },
475
- { type: 'error', inputs: [], name: 'WrongValueSent' },
476
- {
477
- type: 'error',
478
- inputs: [],
479
- name: 'ZoraCreator1155ContractNeedsToSupportReduceSupply',
480
- },
481
- { type: 'error', inputs: [], name: 'ADDRESS_DELEGATECALL_TO_NON_CONTRACT' },
482
- { type: 'error', inputs: [], name: 'ADDRESS_LOW_LEVEL_CALL_FAILED' },
483
- {
484
- type: 'error',
485
- inputs: [
486
- { name: 'operator', internalType: 'address', type: 'address' },
487
- { name: 'user', internalType: 'address', type: 'address' },
488
- ],
489
- name: 'Burn_NotOwnerOrApproved',
490
- },
491
- { type: 'error', inputs: [], name: 'CREATOR_FUNDS_RECIPIENT_NOT_SET' },
492
- {
493
- type: 'error',
494
- inputs: [{ name: 'reason', internalType: 'bytes', type: 'bytes' }],
495
- name: 'CallFailed',
496
- },
497
- { type: 'error', inputs: [], name: 'Call_TokenIdMismatch' },
498
- { type: 'error', inputs: [], name: 'CallerNotZoraCreator1155' },
499
- { type: 'error', inputs: [], name: 'CanOnlyReduceMaxSupply' },
500
- {
501
- type: 'error',
502
- inputs: [
503
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
504
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
505
- { name: 'totalMinted', internalType: 'uint256', type: 'uint256' },
506
- { name: 'maxSupply', internalType: 'uint256', type: 'uint256' },
507
- ],
508
- name: 'CannotMintMoreTokens',
509
- },
510
- { type: 'error', inputs: [], name: 'CannotReduceMaxSupplyBelowMinted' },
511
- {
512
- type: 'error',
513
- inputs: [
514
- { name: 'proposedAddress', internalType: 'address', type: 'address' },
515
- ],
516
- name: 'Config_TransferHookNotSupported',
517
- },
518
- {
519
- type: 'error',
520
- inputs: [],
521
- name: 'ERC1155_ACCOUNTS_AND_IDS_LENGTH_MISMATCH',
522
- },
523
- {
524
- type: 'error',
525
- inputs: [],
526
- name: 'ERC1155_ADDRESS_ZERO_IS_NOT_A_VALID_OWNER',
527
- },
528
- { type: 'error', inputs: [], name: 'ERC1155_BURN_AMOUNT_EXCEEDS_BALANCE' },
529
- { type: 'error', inputs: [], name: 'ERC1155_BURN_FROM_ZERO_ADDRESS' },
530
- {
531
- type: 'error',
532
- inputs: [],
533
- name: 'ERC1155_CALLER_IS_NOT_TOKEN_OWNER_OR_APPROVED',
534
- },
535
- {
536
- type: 'error',
537
- inputs: [],
538
- name: 'ERC1155_ERC1155RECEIVER_REJECTED_TOKENS',
539
- },
540
- {
541
- type: 'error',
542
- inputs: [],
543
- name: 'ERC1155_IDS_AND_AMOUNTS_LENGTH_MISMATCH',
544
- },
545
- {
546
- type: 'error',
547
- inputs: [],
548
- name: 'ERC1155_INSUFFICIENT_BALANCE_FOR_TRANSFER',
549
- },
550
- { type: 'error', inputs: [], name: 'ERC1155_MINT_TO_ZERO_ADDRESS' },
551
- { type: 'error', inputs: [], name: 'ERC1155_MINT_TO_ZERO_ADDRESS' },
552
- { type: 'error', inputs: [], name: 'ERC1155_SETTING_APPROVAL_FOR_SELF' },
553
- {
554
- type: 'error',
555
- inputs: [],
556
- name: 'ERC1155_TRANSFER_TO_NON_ERC1155RECEIVER_IMPLEMENTER',
557
- },
558
- { type: 'error', inputs: [], name: 'ERC1155_TRANSFER_TO_ZERO_ADDRESS' },
559
- { type: 'error', inputs: [], name: 'ERC1967_NEW_IMPL_NOT_CONTRACT' },
560
- { type: 'error', inputs: [], name: 'ERC1967_NEW_IMPL_NOT_UUPS' },
561
- { type: 'error', inputs: [], name: 'ERC1967_UNSUPPORTED_PROXIABLEUUID' },
562
- {
563
- type: 'error',
564
- inputs: [
565
- { name: 'recipient', internalType: 'address', type: 'address' },
566
- { name: 'amount', internalType: 'uint256', type: 'uint256' },
567
- ],
568
- name: 'ETHWithdrawFailed',
569
- },
570
- {
571
- type: 'error',
572
- inputs: [],
573
- name: 'FUNCTION_MUST_BE_CALLED_THROUGH_ACTIVE_PROXY',
574
- },
575
- {
576
- type: 'error',
577
- inputs: [],
578
- name: 'FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL',
579
- },
580
- { type: 'error', inputs: [], name: 'FirstMinterAddressZero' },
581
- {
582
- type: 'error',
583
- inputs: [
584
- { name: 'amount', internalType: 'uint256', type: 'uint256' },
585
- { name: 'contractValue', internalType: 'uint256', type: 'uint256' },
586
- ],
587
- name: 'FundsWithdrawInsolvent',
588
- },
589
- {
590
- type: 'error',
591
- inputs: [],
592
- name: 'INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED',
593
- },
594
- {
595
- type: 'error',
596
- inputs: [],
597
- name: 'INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING',
598
- },
599
- { type: 'error', inputs: [], name: 'INVALID_ADDRESS_ZERO' },
600
- { type: 'error', inputs: [], name: 'INVALID_ETH_AMOUNT' },
601
- {
602
- type: 'error',
603
- inputs: [
604
- { name: 'mintTo', internalType: 'address', type: 'address' },
605
- { name: 'merkleProof', internalType: 'bytes32[]', type: 'bytes32[]' },
606
- { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' },
607
- ],
608
- name: 'InvalidMerkleProof',
609
- },
610
- { type: 'error', inputs: [], name: 'InvalidMintSchedule' },
611
- { type: 'error', inputs: [], name: 'InvalidMintSchedule' },
612
- { type: 'error', inputs: [], name: 'InvalidPremintVersion' },
613
- { type: 'error', inputs: [], name: 'InvalidSignature' },
614
- { type: 'error', inputs: [], name: 'InvalidSignatureVersion' },
615
- {
616
- type: 'error',
617
- inputs: [{ name: 'magicValue', internalType: 'bytes4', type: 'bytes4' }],
618
- name: 'InvalidSigner',
619
- },
620
- { type: 'error', inputs: [], name: 'MintNotYetStarted' },
621
- { type: 'error', inputs: [], name: 'Mint_InsolventSaleTransfer' },
622
- { type: 'error', inputs: [], name: 'Mint_InvalidMintArrayLength' },
623
- { type: 'error', inputs: [], name: 'Mint_TokenIDMintNotAllowed' },
624
- { type: 'error', inputs: [], name: 'Mint_UnknownCommand' },
625
- { type: 'error', inputs: [], name: 'Mint_ValueTransferFail' },
626
- { type: 'error', inputs: [], name: 'MinterContractAlreadyExists' },
627
- { type: 'error', inputs: [], name: 'MinterContractDoesNotExist' },
628
- { type: 'error', inputs: [], name: 'NewOwnerNeedsToBeAdmin' },
629
- {
630
- type: 'error',
631
- inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
632
- name: 'NoRendererForToken',
633
- },
634
- { type: 'error', inputs: [], name: 'NonEthRedemption' },
635
- { type: 'error', inputs: [], name: 'ONLY_CREATE_REFERRAL' },
636
- { type: 'error', inputs: [], name: 'OnlyTransfersFromZoraMints' },
637
- { type: 'error', inputs: [], name: 'PremintDeleted' },
638
- {
639
- type: 'error',
640
- inputs: [
641
- { name: 'caller', internalType: 'address', type: 'address' },
642
- { name: 'recipient', internalType: 'address', type: 'address' },
643
- { name: 'amount', internalType: 'uint256', type: 'uint256' },
644
- ],
645
- name: 'ProtocolRewardsWithdrawFailed',
646
- },
647
- {
648
- type: 'error',
649
- inputs: [{ name: 'renderer', internalType: 'address', type: 'address' }],
650
- name: 'RendererNotValid',
651
- },
652
- { type: 'error', inputs: [], name: 'Renderer_NotValidRendererContract' },
653
- { type: 'error', inputs: [], name: 'SaleEnded' },
654
- { type: 'error', inputs: [], name: 'SaleHasNotStarted' },
655
- {
656
- type: 'error',
657
- inputs: [
658
- { name: 'targetContract', internalType: 'address', type: 'address' },
659
- ],
660
- name: 'Sale_CannotCallNonSalesContract',
661
- },
662
- {
663
- type: 'error',
664
- inputs: [
665
- { name: 'expected', internalType: 'uint256', type: 'uint256' },
666
- { name: 'actual', internalType: 'uint256', type: 'uint256' },
667
- ],
668
- name: 'TokenIdMismatch',
669
- },
670
- {
671
- type: 'error',
672
- inputs: [],
673
- name: 'UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL',
674
- },
675
- {
676
- type: 'error',
677
- inputs: [
678
- { name: 'user', internalType: 'address', type: 'address' },
679
- { name: 'limit', internalType: 'uint256', type: 'uint256' },
680
- { name: 'requestedAmount', internalType: 'uint256', type: 'uint256' },
681
- ],
682
- name: 'UserExceedsMintLimit',
683
- },
684
- {
685
- type: 'error',
686
- inputs: [
687
- { name: 'user', internalType: 'address', type: 'address' },
688
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
689
- { name: 'role', internalType: 'uint256', type: 'uint256' },
690
- ],
691
- name: 'UserMissingRoleForToken',
692
- },
693
- { type: 'error', inputs: [], name: 'WrongValueSent' },
694
- {
695
- type: 'error',
696
- inputs: [],
697
- name: 'premintSignerContractFailedToRecoverSigner',
698
- },
699
- { type: 'error', inputs: [], name: 'premintSignerContractNotAContract' },
700
- { type: 'error', inputs: [], name: 'AccessControlBadConfirmation' },
701
- {
702
- type: 'error',
703
- inputs: [
704
- { name: 'account', internalType: 'address', type: 'address' },
705
- { name: 'neededRole', internalType: 'bytes32', type: 'bytes32' },
706
- ],
707
- name: 'AccessControlUnauthorizedAccount',
708
- },
709
- {
710
- type: 'error',
711
- inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
712
- name: 'AddressEmptyCode',
713
- },
714
- { type: 'error', inputs: [], name: 'AddressZero' },
715
- { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
716
- { type: 'error', inputs: [], name: 'CannotSparkOwnComment' },
717
- {
718
- type: 'error',
719
- inputs: [
720
- { name: 'commentAddress', internalType: 'address', type: 'address' },
721
- { name: 'commentTokenId', internalType: 'uint256', type: 'uint256' },
722
- { name: 'replyAddress', internalType: 'address', type: 'address' },
723
- { name: 'replyTokenId', internalType: 'uint256', type: 'uint256' },
724
- ],
725
- name: 'CommentAddressOrTokenIdsDoNotMatch',
726
- },
727
- { type: 'error', inputs: [], name: 'CommentDoesntExist' },
728
- {
729
- type: 'error',
730
- inputs: [
731
- { name: 'expected', internalType: 'address', type: 'address' },
732
- { name: 'actual', internalType: 'address', type: 'address' },
733
- ],
734
- name: 'CommenterMismatch',
735
- },
736
- {
737
- type: 'error',
738
- inputs: [{ name: 'commentId', internalType: 'bytes32', type: 'bytes32' }],
739
- name: 'DuplicateComment',
740
- },
741
- {
742
- type: 'error',
743
- inputs: [
744
- { name: 'implementation', internalType: 'address', type: 'address' },
745
- ],
746
- name: 'ERC1967InvalidImplementation',
747
- },
748
- { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
749
- {
750
- type: 'error',
751
- inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
752
- name: 'ERC2612ExpiredSignature',
753
- },
754
- { type: 'error', inputs: [], name: 'EmptyComment' },
755
- { type: 'error', inputs: [], name: 'FailedInnerCall' },
756
- {
757
- type: 'error',
758
- inputs: [
759
- {
760
- name: 'wrongDestinationChainId',
761
- internalType: 'uint256',
762
- type: 'uint256',
763
- },
764
- ],
765
- name: 'IncorrectDestinationChain',
766
- },
767
- {
768
- type: 'error',
769
- inputs: [
770
- { name: 'actual', internalType: 'uint256', type: 'uint256' },
771
- { name: 'expected', internalType: 'uint256', type: 'uint256' },
772
- ],
773
- name: 'IncorrectETHAmountForSparks',
774
- },
775
- {
776
- type: 'error',
777
- inputs: [
778
- { name: 'account', internalType: 'address', type: 'address' },
779
- { name: 'currentNonce', internalType: 'bytes32', type: 'bytes32' },
780
- ],
781
- name: 'InvalidAccountNonce',
782
- },
783
- { type: 'error', inputs: [], name: 'InvalidInitialization' },
784
- { type: 'error', inputs: [], name: 'InvalidSignature' },
785
- { type: 'error', inputs: [], name: 'MustSendAtLeastOneSpark' },
786
- { type: 'error', inputs: [], name: 'NoFundsRecipient' },
787
- { type: 'error', inputs: [], name: 'NotInitializing' },
788
- { type: 'error', inputs: [], name: 'NotSmartWallet' },
789
- { type: 'error', inputs: [], name: 'NotSmartWalletOwner' },
790
- { type: 'error', inputs: [], name: 'NotTokenHolderOrAdmin' },
791
- { type: 'error', inputs: [], name: 'OnlySparksContract' },
792
- { type: 'error', inputs: [], name: 'TransferFailed' },
793
- { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
794
- {
795
- type: 'error',
796
- inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
797
- name: 'UUPSUnsupportedProxiableUUID',
798
- },
799
- {
800
- type: 'error',
801
- inputs: [
802
- { name: 'currentName', internalType: 'string', type: 'string' },
803
- { name: 'newName', internalType: 'string', type: 'string' },
804
- ],
805
- name: 'UpgradeToMismatchedContractName',
806
- },
807
- ] as const
808
-
809
- /**
810
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
811
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
812
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
813
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
814
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
815
- */
816
- export const callerAndCommenterAddress = {
817
- 10: '0x77777775C5074b74540d9cC63Dd840A8c692B4B5',
818
- 8453: '0x77777775C5074b74540d9cC63Dd840A8c692B4B5',
819
- 42161: '0x77777775C5074b74540d9cC63Dd840A8c692B4B5',
820
- 7777777: '0x77777775C5074b74540d9cC63Dd840A8c692B4B5',
821
- 999999999: '0x77777775C5074b74540d9cC63Dd840A8c692B4B5',
822
- } as const
823
-
824
- /**
825
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
826
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
827
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
828
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
829
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
830
- */
831
- export const callerAndCommenterConfig = {
832
- address: callerAndCommenterAddress,
833
- abi: callerAndCommenterABI,
834
- } as const
835
-
836
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
837
- // Comments
838
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
839
-
840
- /**
841
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x7777777C2B3132e03a65721a41745C07170a5877)
842
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777C2B3132e03a65721a41745C07170a5877)
843
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777777C2B3132e03a65721a41745C07170a5877)
844
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777C2B3132e03a65721a41745C07170a5877)
845
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777C2B3132e03a65721a41745C07170a5877)
846
- */
847
- export const commentsABI = [
848
- {
849
- stateMutability: 'nonpayable',
850
- type: 'constructor',
851
- inputs: [
852
- { name: '_sparkValue', internalType: 'uint256', type: 'uint256' },
853
- { name: '_protocolRewards', internalType: 'address', type: 'address' },
854
- { name: '_zoraRecipient', internalType: 'address', type: 'address' },
855
- ],
856
- },
857
- {
858
- stateMutability: 'view',
859
- type: 'function',
860
- inputs: [],
861
- name: 'BACKFILLER_ROLE',
862
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
863
- },
864
- {
865
- stateMutability: 'view',
866
- type: 'function',
867
- inputs: [],
868
- name: 'DEFAULT_ADMIN_ROLE',
869
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
870
- },
871
- {
872
- stateMutability: 'view',
873
- type: 'function',
874
- inputs: [],
875
- name: 'DELEGATE_COMMENTER',
876
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
877
- },
878
- {
879
- stateMutability: 'view',
880
- type: 'function',
881
- inputs: [],
882
- name: 'DOMAIN_NAME',
883
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
884
- },
885
- {
886
- stateMutability: 'view',
887
- type: 'function',
888
- inputs: [],
889
- name: 'DOMAIN_VERSION',
890
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
891
- },
892
- {
893
- stateMutability: 'view',
894
- type: 'function',
895
- inputs: [],
896
- name: 'PERMISSION_BIT_ADMIN',
897
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
898
- },
899
- {
900
- stateMutability: 'view',
901
- type: 'function',
902
- inputs: [],
903
- name: 'REFERRER_REWARD_PCT',
904
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
905
- },
906
- {
907
- stateMutability: 'view',
908
- type: 'function',
909
- inputs: [],
910
- name: 'UPGRADE_INTERFACE_VERSION',
911
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
912
- },
913
- {
914
- stateMutability: 'view',
915
- type: 'function',
916
- inputs: [],
917
- name: 'ZORA_REWARD_NO_REFERRER_PCT',
918
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
919
- },
920
- {
921
- stateMutability: 'view',
922
- type: 'function',
923
- inputs: [],
924
- name: 'ZORA_REWARD_PCT',
925
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
926
- },
927
- {
928
- stateMutability: 'nonpayable',
929
- type: 'function',
930
- inputs: [
931
- {
932
- name: 'commentIdentifiers',
933
- internalType: 'struct IComments.CommentIdentifier[]',
934
- type: 'tuple[]',
935
- components: [
936
- { name: 'commenter', internalType: 'address', type: 'address' },
937
- { name: 'contractAddress', internalType: 'address', type: 'address' },
938
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
939
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
940
- ],
941
- },
942
- { name: 'texts', internalType: 'string[]', type: 'string[]' },
943
- { name: 'timestamps', internalType: 'uint256[]', type: 'uint256[]' },
944
- {
945
- name: 'originalTransactionHashes',
946
- internalType: 'bytes32[]',
947
- type: 'bytes32[]',
948
- },
949
- ],
950
- name: 'backfillBatchAddComment',
951
- outputs: [],
952
- },
953
- {
954
- stateMutability: 'payable',
955
- type: 'function',
956
- inputs: [
957
- { name: 'commenter', internalType: 'address', type: 'address' },
958
- { name: 'contractAddress', internalType: 'address', type: 'address' },
959
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
960
- { name: 'text', internalType: 'string', type: 'string' },
961
- {
962
- name: 'replyTo',
963
- internalType: 'struct IComments.CommentIdentifier',
964
- type: 'tuple',
965
- components: [
966
- { name: 'commenter', internalType: 'address', type: 'address' },
967
- { name: 'contractAddress', internalType: 'address', type: 'address' },
968
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
969
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
970
- ],
971
- },
972
- {
973
- name: 'commenterSmartWallet',
974
- internalType: 'address',
975
- type: 'address',
976
- },
977
- { name: 'referrer', internalType: 'address', type: 'address' },
978
- ],
979
- name: 'comment',
980
- outputs: [
981
- {
982
- name: 'commentIdentifier',
983
- internalType: 'struct IComments.CommentIdentifier',
984
- type: 'tuple',
985
- components: [
986
- { name: 'commenter', internalType: 'address', type: 'address' },
987
- { name: 'contractAddress', internalType: 'address', type: 'address' },
988
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
989
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
990
- ],
991
- },
992
- ],
993
- },
994
- {
995
- stateMutability: 'view',
996
- type: 'function',
997
- inputs: [
998
- {
999
- name: 'commentIdentifier',
1000
- internalType: 'struct IComments.CommentIdentifier',
1001
- type: 'tuple',
1002
- components: [
1003
- { name: 'commenter', internalType: 'address', type: 'address' },
1004
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1005
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1006
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1007
- ],
1008
- },
1009
- ],
1010
- name: 'commentSparksQuantity',
1011
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1012
- },
1013
- {
1014
- stateMutability: 'pure',
1015
- type: 'function',
1016
- inputs: [],
1017
- name: 'contractName',
1018
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
1019
- },
1020
- {
1021
- stateMutability: 'pure',
1022
- type: 'function',
1023
- inputs: [],
1024
- name: 'contractVersion',
1025
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
1026
- },
1027
- {
1028
- stateMutability: 'payable',
1029
- type: 'function',
1030
- inputs: [
1031
- { name: 'commenter', internalType: 'address', type: 'address' },
1032
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1033
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1034
- { name: 'text', internalType: 'string', type: 'string' },
1035
- {
1036
- name: 'replyTo',
1037
- internalType: 'struct IComments.CommentIdentifier',
1038
- type: 'tuple',
1039
- components: [
1040
- { name: 'commenter', internalType: 'address', type: 'address' },
1041
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1042
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1043
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1044
- ],
1045
- },
1046
- {
1047
- name: 'commenterSmartWalletOwner',
1048
- internalType: 'address',
1049
- type: 'address',
1050
- },
1051
- { name: 'referrer', internalType: 'address', type: 'address' },
1052
- ],
1053
- name: 'delegateComment',
1054
- outputs: [
1055
- {
1056
- name: 'commentIdentifier',
1057
- internalType: 'struct IComments.CommentIdentifier',
1058
- type: 'tuple',
1059
- components: [
1060
- { name: 'commenter', internalType: 'address', type: 'address' },
1061
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1062
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1063
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1064
- ],
1065
- },
1066
- { name: 'commentId', internalType: 'bytes32', type: 'bytes32' },
1067
- ],
1068
- },
1069
- {
1070
- stateMutability: 'view',
1071
- type: 'function',
1072
- inputs: [],
1073
- name: 'eip712Domain',
1074
- outputs: [
1075
- { name: 'fields', internalType: 'bytes1', type: 'bytes1' },
1076
- { name: 'name', internalType: 'string', type: 'string' },
1077
- { name: 'version', internalType: 'string', type: 'string' },
1078
- { name: 'chainId', internalType: 'uint256', type: 'uint256' },
1079
- { name: 'verifyingContract', internalType: 'address', type: 'address' },
1080
- { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
1081
- { name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
1082
- ],
1083
- },
1084
- {
1085
- stateMutability: 'view',
1086
- type: 'function',
1087
- inputs: [{ name: 'role', internalType: 'bytes32', type: 'bytes32' }],
1088
- name: 'getRoleAdmin',
1089
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1090
- },
1091
- {
1092
- stateMutability: 'nonpayable',
1093
- type: 'function',
1094
- inputs: [
1095
- { name: 'role', internalType: 'bytes32', type: 'bytes32' },
1096
- { name: 'account', internalType: 'address', type: 'address' },
1097
- ],
1098
- name: 'grantRole',
1099
- outputs: [],
1100
- },
1101
- {
1102
- stateMutability: 'view',
1103
- type: 'function',
1104
- inputs: [
1105
- { name: 'role', internalType: 'bytes32', type: 'bytes32' },
1106
- { name: 'account', internalType: 'address', type: 'address' },
1107
- ],
1108
- name: 'hasRole',
1109
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1110
- },
1111
- {
1112
- stateMutability: 'view',
1113
- type: 'function',
1114
- inputs: [
1115
- {
1116
- name: 'commentIdentifier',
1117
- internalType: 'struct IComments.CommentIdentifier',
1118
- type: 'tuple',
1119
- components: [
1120
- { name: 'commenter', internalType: 'address', type: 'address' },
1121
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1122
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1123
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1124
- ],
1125
- },
1126
- ],
1127
- name: 'hashAndCheckCommentExists',
1128
- outputs: [
1129
- { name: 'commentId', internalType: 'bytes32', type: 'bytes32' },
1130
- { name: 'exists', internalType: 'bool', type: 'bool' },
1131
- ],
1132
- },
1133
- {
1134
- stateMutability: 'view',
1135
- type: 'function',
1136
- inputs: [
1137
- {
1138
- name: 'commentIdentifier',
1139
- internalType: 'struct IComments.CommentIdentifier',
1140
- type: 'tuple',
1141
- components: [
1142
- { name: 'commenter', internalType: 'address', type: 'address' },
1143
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1144
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1145
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1146
- ],
1147
- },
1148
- ],
1149
- name: 'hashAndValidateCommentExists',
1150
- outputs: [{ name: 'commentId', internalType: 'bytes32', type: 'bytes32' }],
1151
- },
1152
- {
1153
- stateMutability: 'pure',
1154
- type: 'function',
1155
- inputs: [
1156
- {
1157
- name: 'commentIdentifier',
1158
- internalType: 'struct IComments.CommentIdentifier',
1159
- type: 'tuple',
1160
- components: [
1161
- { name: 'commenter', internalType: 'address', type: 'address' },
1162
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1163
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1164
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1165
- ],
1166
- },
1167
- ],
1168
- name: 'hashCommentIdentifier',
1169
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1170
- },
1171
- {
1172
- stateMutability: 'view',
1173
- type: 'function',
1174
- inputs: [
1175
- {
1176
- name: 'permit',
1177
- internalType: 'struct IComments.PermitComment',
1178
- type: 'tuple',
1179
- components: [
1180
- { name: 'commenter', internalType: 'address', type: 'address' },
1181
- {
1182
- name: 'commenterSmartWallet',
1183
- internalType: 'address',
1184
- type: 'address',
1185
- },
1186
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1187
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1188
- {
1189
- name: 'replyTo',
1190
- internalType: 'struct IComments.CommentIdentifier',
1191
- type: 'tuple',
1192
- components: [
1193
- { name: 'commenter', internalType: 'address', type: 'address' },
1194
- {
1195
- name: 'contractAddress',
1196
- internalType: 'address',
1197
- type: 'address',
1198
- },
1199
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1200
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1201
- ],
1202
- },
1203
- { name: 'text', internalType: 'string', type: 'string' },
1204
- { name: 'referrer', internalType: 'address', type: 'address' },
1205
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
1206
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1207
- { name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
1208
- {
1209
- name: 'destinationChainId',
1210
- internalType: 'uint32',
1211
- type: 'uint32',
1212
- },
1213
- ],
1214
- },
1215
- ],
1216
- name: 'hashPermitComment',
1217
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1218
- },
1219
- {
1220
- stateMutability: 'view',
1221
- type: 'function',
1222
- inputs: [
1223
- {
1224
- name: 'permit',
1225
- internalType: 'struct IComments.PermitSparkComment',
1226
- type: 'tuple',
1227
- components: [
1228
- {
1229
- name: 'comment',
1230
- internalType: 'struct IComments.CommentIdentifier',
1231
- type: 'tuple',
1232
- components: [
1233
- { name: 'commenter', internalType: 'address', type: 'address' },
1234
- {
1235
- name: 'contractAddress',
1236
- internalType: 'address',
1237
- type: 'address',
1238
- },
1239
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1240
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1241
- ],
1242
- },
1243
- { name: 'sparker', internalType: 'address', type: 'address' },
1244
- { name: 'sparksQuantity', internalType: 'uint256', type: 'uint256' },
1245
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
1246
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1247
- { name: 'referrer', internalType: 'address', type: 'address' },
1248
- { name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
1249
- {
1250
- name: 'destinationChainId',
1251
- internalType: 'uint32',
1252
- type: 'uint32',
1253
- },
1254
- ],
1255
- },
1256
- ],
1257
- name: 'hashPermitSparkComment',
1258
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1259
- },
1260
- {
1261
- stateMutability: 'view',
1262
- type: 'function',
1263
- inputs: [],
1264
- name: 'implementation',
1265
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
1266
- },
1267
- {
1268
- stateMutability: 'nonpayable',
1269
- type: 'function',
1270
- inputs: [
1271
- { name: 'defaultAdmin', internalType: 'address', type: 'address' },
1272
- { name: 'backfiller', internalType: 'address', type: 'address' },
1273
- {
1274
- name: 'delegateCommenters',
1275
- internalType: 'address[]',
1276
- type: 'address[]',
1277
- },
1278
- ],
1279
- name: 'initialize',
1280
- outputs: [],
1281
- },
1282
- {
1283
- stateMutability: 'view',
1284
- type: 'function',
1285
- inputs: [],
1286
- name: 'nextNonce',
1287
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1288
- },
1289
- {
1290
- stateMutability: 'view',
1291
- type: 'function',
1292
- inputs: [
1293
- { name: 'owner', internalType: 'address', type: 'address' },
1294
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1295
- ],
1296
- name: 'nonceUsed',
1297
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1298
- },
1299
- {
1300
- stateMutability: 'payable',
1301
- type: 'function',
1302
- inputs: [
1303
- {
1304
- name: 'permit',
1305
- internalType: 'struct IComments.PermitComment',
1306
- type: 'tuple',
1307
- components: [
1308
- { name: 'commenter', internalType: 'address', type: 'address' },
1309
- {
1310
- name: 'commenterSmartWallet',
1311
- internalType: 'address',
1312
- type: 'address',
1313
- },
1314
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1315
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1316
- {
1317
- name: 'replyTo',
1318
- internalType: 'struct IComments.CommentIdentifier',
1319
- type: 'tuple',
1320
- components: [
1321
- { name: 'commenter', internalType: 'address', type: 'address' },
1322
- {
1323
- name: 'contractAddress',
1324
- internalType: 'address',
1325
- type: 'address',
1326
- },
1327
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1328
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1329
- ],
1330
- },
1331
- { name: 'text', internalType: 'string', type: 'string' },
1332
- { name: 'referrer', internalType: 'address', type: 'address' },
1333
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
1334
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1335
- { name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
1336
- {
1337
- name: 'destinationChainId',
1338
- internalType: 'uint32',
1339
- type: 'uint32',
1340
- },
1341
- ],
1342
- },
1343
- { name: 'signature', internalType: 'bytes', type: 'bytes' },
1344
- ],
1345
- name: 'permitComment',
1346
- outputs: [],
1347
- },
1348
- {
1349
- stateMutability: 'payable',
1350
- type: 'function',
1351
- inputs: [
1352
- {
1353
- name: 'permit',
1354
- internalType: 'struct IComments.PermitSparkComment',
1355
- type: 'tuple',
1356
- components: [
1357
- {
1358
- name: 'comment',
1359
- internalType: 'struct IComments.CommentIdentifier',
1360
- type: 'tuple',
1361
- components: [
1362
- { name: 'commenter', internalType: 'address', type: 'address' },
1363
- {
1364
- name: 'contractAddress',
1365
- internalType: 'address',
1366
- type: 'address',
1367
- },
1368
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1369
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1370
- ],
1371
- },
1372
- { name: 'sparker', internalType: 'address', type: 'address' },
1373
- { name: 'sparksQuantity', internalType: 'uint256', type: 'uint256' },
1374
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
1375
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1376
- { name: 'referrer', internalType: 'address', type: 'address' },
1377
- { name: 'sourceChainId', internalType: 'uint32', type: 'uint32' },
1378
- {
1379
- name: 'destinationChainId',
1380
- internalType: 'uint32',
1381
- type: 'uint32',
1382
- },
1383
- ],
1384
- },
1385
- { name: 'signature', internalType: 'bytes', type: 'bytes' },
1386
- ],
1387
- name: 'permitSparkComment',
1388
- outputs: [],
1389
- },
1390
- {
1391
- stateMutability: 'view',
1392
- type: 'function',
1393
- inputs: [],
1394
- name: 'protocolRewards',
1395
- outputs: [
1396
- { name: '', internalType: 'contract IProtocolRewards', type: 'address' },
1397
- ],
1398
- },
1399
- {
1400
- stateMutability: 'view',
1401
- type: 'function',
1402
- inputs: [],
1403
- name: 'proxiableUUID',
1404
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
1405
- },
1406
- {
1407
- stateMutability: 'nonpayable',
1408
- type: 'function',
1409
- inputs: [
1410
- { name: 'role', internalType: 'bytes32', type: 'bytes32' },
1411
- { name: 'callerConfirmation', internalType: 'address', type: 'address' },
1412
- ],
1413
- name: 'renounceRole',
1414
- outputs: [],
1415
- },
1416
- {
1417
- stateMutability: 'nonpayable',
1418
- type: 'function',
1419
- inputs: [
1420
- { name: 'role', internalType: 'bytes32', type: 'bytes32' },
1421
- { name: 'account', internalType: 'address', type: 'address' },
1422
- ],
1423
- name: 'revokeRole',
1424
- outputs: [],
1425
- },
1426
- {
1427
- stateMutability: 'payable',
1428
- type: 'function',
1429
- inputs: [
1430
- {
1431
- name: 'commentIdentifier',
1432
- internalType: 'struct IComments.CommentIdentifier',
1433
- type: 'tuple',
1434
- components: [
1435
- { name: 'commenter', internalType: 'address', type: 'address' },
1436
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1437
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1438
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1439
- ],
1440
- },
1441
- { name: 'sparksQuantity', internalType: 'uint256', type: 'uint256' },
1442
- { name: 'referrer', internalType: 'address', type: 'address' },
1443
- ],
1444
- name: 'sparkComment',
1445
- outputs: [],
1446
- },
1447
- {
1448
- stateMutability: 'view',
1449
- type: 'function',
1450
- inputs: [],
1451
- name: 'sparkValue',
1452
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
1453
- },
1454
- {
1455
- stateMutability: 'view',
1456
- type: 'function',
1457
- inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
1458
- name: 'supportsInterface',
1459
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
1460
- },
1461
- {
1462
- stateMutability: 'payable',
1463
- type: 'function',
1464
- inputs: [
1465
- { name: 'newImplementation', internalType: 'address', type: 'address' },
1466
- { name: 'data', internalType: 'bytes', type: 'bytes' },
1467
- ],
1468
- name: 'upgradeToAndCall',
1469
- outputs: [],
1470
- },
1471
- {
1472
- type: 'event',
1473
- anonymous: false,
1474
- inputs: [
1475
- {
1476
- name: 'commentId',
1477
- internalType: 'bytes32',
1478
- type: 'bytes32',
1479
- indexed: true,
1480
- },
1481
- {
1482
- name: 'commentIdentifier',
1483
- internalType: 'struct IComments.CommentIdentifier',
1484
- type: 'tuple',
1485
- components: [
1486
- { name: 'commenter', internalType: 'address', type: 'address' },
1487
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1488
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1489
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1490
- ],
1491
- indexed: false,
1492
- },
1493
- { name: 'text', internalType: 'string', type: 'string', indexed: false },
1494
- {
1495
- name: 'timestamp',
1496
- internalType: 'uint256',
1497
- type: 'uint256',
1498
- indexed: false,
1499
- },
1500
- {
1501
- name: 'originalTransactionId',
1502
- internalType: 'bytes32',
1503
- type: 'bytes32',
1504
- indexed: false,
1505
- },
1506
- ],
1507
- name: 'BackfilledComment',
1508
- },
1509
- {
1510
- type: 'event',
1511
- anonymous: false,
1512
- inputs: [
1513
- {
1514
- name: 'commentId',
1515
- internalType: 'bytes32',
1516
- type: 'bytes32',
1517
- indexed: true,
1518
- },
1519
- {
1520
- name: 'commentIdentifier',
1521
- internalType: 'struct IComments.CommentIdentifier',
1522
- type: 'tuple',
1523
- components: [
1524
- { name: 'commenter', internalType: 'address', type: 'address' },
1525
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1526
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1527
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1528
- ],
1529
- indexed: false,
1530
- },
1531
- {
1532
- name: 'replyToId',
1533
- internalType: 'bytes32',
1534
- type: 'bytes32',
1535
- indexed: false,
1536
- },
1537
- {
1538
- name: 'replyTo',
1539
- internalType: 'struct IComments.CommentIdentifier',
1540
- type: 'tuple',
1541
- components: [
1542
- { name: 'commenter', internalType: 'address', type: 'address' },
1543
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1544
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1545
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1546
- ],
1547
- indexed: false,
1548
- },
1549
- {
1550
- name: 'sparksQuantity',
1551
- internalType: 'uint256',
1552
- type: 'uint256',
1553
- indexed: false,
1554
- },
1555
- { name: 'text', internalType: 'string', type: 'string', indexed: false },
1556
- {
1557
- name: 'timestamp',
1558
- internalType: 'uint256',
1559
- type: 'uint256',
1560
- indexed: false,
1561
- },
1562
- {
1563
- name: 'referrer',
1564
- internalType: 'address',
1565
- type: 'address',
1566
- indexed: false,
1567
- },
1568
- ],
1569
- name: 'Commented',
1570
- },
1571
- { type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
1572
- {
1573
- type: 'event',
1574
- anonymous: false,
1575
- inputs: [
1576
- {
1577
- name: 'version',
1578
- internalType: 'uint64',
1579
- type: 'uint64',
1580
- indexed: false,
1581
- },
1582
- ],
1583
- name: 'Initialized',
1584
- },
1585
- {
1586
- type: 'event',
1587
- anonymous: false,
1588
- inputs: [
1589
- { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true },
1590
- {
1591
- name: 'previousAdminRole',
1592
- internalType: 'bytes32',
1593
- type: 'bytes32',
1594
- indexed: true,
1595
- },
1596
- {
1597
- name: 'newAdminRole',
1598
- internalType: 'bytes32',
1599
- type: 'bytes32',
1600
- indexed: true,
1601
- },
1602
- ],
1603
- name: 'RoleAdminChanged',
1604
- },
1605
- {
1606
- type: 'event',
1607
- anonymous: false,
1608
- inputs: [
1609
- { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true },
1610
- {
1611
- name: 'account',
1612
- internalType: 'address',
1613
- type: 'address',
1614
- indexed: true,
1615
- },
1616
- {
1617
- name: 'sender',
1618
- internalType: 'address',
1619
- type: 'address',
1620
- indexed: true,
1621
- },
1622
- ],
1623
- name: 'RoleGranted',
1624
- },
1625
- {
1626
- type: 'event',
1627
- anonymous: false,
1628
- inputs: [
1629
- { name: 'role', internalType: 'bytes32', type: 'bytes32', indexed: true },
1630
- {
1631
- name: 'account',
1632
- internalType: 'address',
1633
- type: 'address',
1634
- indexed: true,
1635
- },
1636
- {
1637
- name: 'sender',
1638
- internalType: 'address',
1639
- type: 'address',
1640
- indexed: true,
1641
- },
1642
- ],
1643
- name: 'RoleRevoked',
1644
- },
1645
- {
1646
- type: 'event',
1647
- anonymous: false,
1648
- inputs: [
1649
- {
1650
- name: 'commentId',
1651
- internalType: 'bytes32',
1652
- type: 'bytes32',
1653
- indexed: true,
1654
- },
1655
- {
1656
- name: 'commentIdentifier',
1657
- internalType: 'struct IComments.CommentIdentifier',
1658
- type: 'tuple',
1659
- components: [
1660
- { name: 'commenter', internalType: 'address', type: 'address' },
1661
- { name: 'contractAddress', internalType: 'address', type: 'address' },
1662
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
1663
- { name: 'nonce', internalType: 'bytes32', type: 'bytes32' },
1664
- ],
1665
- indexed: false,
1666
- },
1667
- {
1668
- name: 'sparksQuantity',
1669
- internalType: 'uint256',
1670
- type: 'uint256',
1671
- indexed: false,
1672
- },
1673
- {
1674
- name: 'sparker',
1675
- internalType: 'address',
1676
- type: 'address',
1677
- indexed: false,
1678
- },
1679
- {
1680
- name: 'timestamp',
1681
- internalType: 'uint256',
1682
- type: 'uint256',
1683
- indexed: false,
1684
- },
1685
- {
1686
- name: 'referrer',
1687
- internalType: 'address',
1688
- type: 'address',
1689
- indexed: false,
1690
- },
1691
- ],
1692
- name: 'SparkedComment',
1693
- },
1694
- {
1695
- type: 'event',
1696
- anonymous: false,
1697
- inputs: [
1698
- {
1699
- name: 'implementation',
1700
- internalType: 'address',
1701
- type: 'address',
1702
- indexed: true,
1703
- },
1704
- ],
1705
- name: 'Upgraded',
1706
- },
1707
- { type: 'error', inputs: [], name: 'AccessControlBadConfirmation' },
1708
- {
1709
- type: 'error',
1710
- inputs: [
1711
- { name: 'account', internalType: 'address', type: 'address' },
1712
- { name: 'neededRole', internalType: 'bytes32', type: 'bytes32' },
1713
- ],
1714
- name: 'AccessControlUnauthorizedAccount',
1715
- },
1716
- {
1717
- type: 'error',
1718
- inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
1719
- name: 'AddressEmptyCode',
1720
- },
1721
- { type: 'error', inputs: [], name: 'AddressZero' },
1722
- { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
1723
- { type: 'error', inputs: [], name: 'CannotSparkOwnComment' },
1724
- {
1725
- type: 'error',
1726
- inputs: [
1727
- { name: 'commentAddress', internalType: 'address', type: 'address' },
1728
- { name: 'commentTokenId', internalType: 'uint256', type: 'uint256' },
1729
- { name: 'replyAddress', internalType: 'address', type: 'address' },
1730
- { name: 'replyTokenId', internalType: 'uint256', type: 'uint256' },
1731
- ],
1732
- name: 'CommentAddressOrTokenIdsDoNotMatch',
1733
- },
1734
- { type: 'error', inputs: [], name: 'CommentDoesntExist' },
1735
- {
1736
- type: 'error',
1737
- inputs: [
1738
- { name: 'expected', internalType: 'address', type: 'address' },
1739
- { name: 'actual', internalType: 'address', type: 'address' },
1740
- ],
1741
- name: 'CommenterMismatch',
1742
- },
1743
- {
1744
- type: 'error',
1745
- inputs: [{ name: 'commentId', internalType: 'bytes32', type: 'bytes32' }],
1746
- name: 'DuplicateComment',
1747
- },
1748
- {
1749
- type: 'error',
1750
- inputs: [
1751
- { name: 'implementation', internalType: 'address', type: 'address' },
1752
- ],
1753
- name: 'ERC1967InvalidImplementation',
1754
- },
1755
- { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
1756
- {
1757
- type: 'error',
1758
- inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
1759
- name: 'ERC2612ExpiredSignature',
1760
- },
1761
- { type: 'error', inputs: [], name: 'EmptyComment' },
1762
- { type: 'error', inputs: [], name: 'FailedInnerCall' },
1763
- {
1764
- type: 'error',
1765
- inputs: [
1766
- {
1767
- name: 'wrongDestinationChainId',
1768
- internalType: 'uint256',
1769
- type: 'uint256',
1770
- },
1771
- ],
1772
- name: 'IncorrectDestinationChain',
1773
- },
1774
- {
1775
- type: 'error',
1776
- inputs: [
1777
- { name: 'actual', internalType: 'uint256', type: 'uint256' },
1778
- { name: 'expected', internalType: 'uint256', type: 'uint256' },
1779
- ],
1780
- name: 'IncorrectETHAmountForSparks',
1781
- },
1782
- {
1783
- type: 'error',
1784
- inputs: [
1785
- { name: 'account', internalType: 'address', type: 'address' },
1786
- { name: 'currentNonce', internalType: 'bytes32', type: 'bytes32' },
1787
- ],
1788
- name: 'InvalidAccountNonce',
1789
- },
1790
- { type: 'error', inputs: [], name: 'InvalidInitialization' },
1791
- { type: 'error', inputs: [], name: 'InvalidSignature' },
1792
- { type: 'error', inputs: [], name: 'MustSendAtLeastOneSpark' },
1793
- { type: 'error', inputs: [], name: 'NoFundsRecipient' },
1794
- { type: 'error', inputs: [], name: 'NotInitializing' },
1795
- { type: 'error', inputs: [], name: 'NotSmartWallet' },
1796
- { type: 'error', inputs: [], name: 'NotSmartWalletOwner' },
1797
- { type: 'error', inputs: [], name: 'NotTokenHolderOrAdmin' },
1798
- { type: 'error', inputs: [], name: 'OnlySparksContract' },
1799
- { type: 'error', inputs: [], name: 'TransferFailed' },
1800
- { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
1801
- {
1802
- type: 'error',
1803
- inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
1804
- name: 'UUPSUnsupportedProxiableUUID',
1805
- },
1806
- {
1807
- type: 'error',
1808
- inputs: [
1809
- { name: 'currentName', internalType: 'string', type: 'string' },
1810
- { name: 'newName', internalType: 'string', type: 'string' },
1811
- ],
1812
- name: 'UpgradeToMismatchedContractName',
1813
- },
1814
- ] as const
1815
-
1816
- /**
1817
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x7777777C2B3132e03a65721a41745C07170a5877)
1818
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777C2B3132e03a65721a41745C07170a5877)
1819
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777777C2B3132e03a65721a41745C07170a5877)
1820
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777C2B3132e03a65721a41745C07170a5877)
1821
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777C2B3132e03a65721a41745C07170a5877)
1822
- */
1823
- export const commentsAddress = {
1824
- 10: '0x7777777C2B3132e03a65721a41745C07170a5877',
1825
- 8453: '0x7777777C2B3132e03a65721a41745C07170a5877',
1826
- 42161: '0x7777777C2B3132e03a65721a41745C07170a5877',
1827
- 7777777: '0x7777777C2B3132e03a65721a41745C07170a5877',
1828
- 999999999: '0x7777777C2B3132e03a65721a41745C07170a5877',
1829
- } as const
1830
-
1831
- /**
1832
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x7777777C2B3132e03a65721a41745C07170a5877)
1833
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777C2B3132e03a65721a41745C07170a5877)
1834
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x7777777C2B3132e03a65721a41745C07170a5877)
1835
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777C2B3132e03a65721a41745C07170a5877)
1836
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777C2B3132e03a65721a41745C07170a5877)
1837
- */
1838
- export const commentsConfig = {
1839
- address: commentsAddress,
1840
- abi: commentsABI,
1841
- } as const
1842
-
1843
1
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1844
2
  // ERC20Minter
1845
3
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -4408,6 +2566,13 @@ export const sponsoredSparksSpenderABI = [
4408
2566
  name: 'NAME',
4409
2567
  outputs: [{ name: '', internalType: 'string', type: 'string' }],
4410
2568
  },
2569
+ {
2570
+ stateMutability: 'view',
2571
+ type: 'function',
2572
+ inputs: [],
2573
+ name: 'SPONSORED_SPEND_TYPEHASH',
2574
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
2575
+ },
4411
2576
  {
4412
2577
  stateMutability: 'view',
4413
2578
  type: 'function',
@@ -4505,6 +2670,37 @@ export const sponsoredSparksSpenderABI = [
4505
2670
  name: 'hashSponsoredMint',
4506
2671
  outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
4507
2672
  },
2673
+ {
2674
+ stateMutability: 'view',
2675
+ type: 'function',
2676
+ inputs: [
2677
+ {
2678
+ name: 'sponsoredSpend',
2679
+ internalType: 'struct SponsoredSpend',
2680
+ type: 'tuple',
2681
+ components: [
2682
+ { name: 'verifier', internalType: 'address', type: 'address' },
2683
+ { name: 'from', internalType: 'address', type: 'address' },
2684
+ {
2685
+ name: 'destination',
2686
+ internalType: 'address payable',
2687
+ type: 'address',
2688
+ },
2689
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
2690
+ {
2691
+ name: 'expectedInputAmount',
2692
+ internalType: 'uint256',
2693
+ type: 'uint256',
2694
+ },
2695
+ { name: 'totalAmount', internalType: 'uint256', type: 'uint256' },
2696
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
2697
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
2698
+ ],
2699
+ },
2700
+ ],
2701
+ name: 'hashSponsoredSpend',
2702
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
2703
+ },
4508
2704
  {
4509
2705
  stateMutability: 'nonpayable',
4510
2706
  type: 'function',
@@ -4562,6 +2758,38 @@ export const sponsoredSparksSpenderABI = [
4562
2758
  name: 'setVerifierStatus',
4563
2759
  outputs: [],
4564
2760
  },
2761
+ {
2762
+ stateMutability: 'payable',
2763
+ type: 'function',
2764
+ inputs: [
2765
+ {
2766
+ name: 'sponsoredSpend',
2767
+ internalType: 'struct SponsoredSpend',
2768
+ type: 'tuple',
2769
+ components: [
2770
+ { name: 'verifier', internalType: 'address', type: 'address' },
2771
+ { name: 'from', internalType: 'address', type: 'address' },
2772
+ {
2773
+ name: 'destination',
2774
+ internalType: 'address payable',
2775
+ type: 'address',
2776
+ },
2777
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
2778
+ {
2779
+ name: 'expectedInputAmount',
2780
+ internalType: 'uint256',
2781
+ type: 'uint256',
2782
+ },
2783
+ { name: 'totalAmount', internalType: 'uint256', type: 'uint256' },
2784
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
2785
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
2786
+ ],
2787
+ },
2788
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
2789
+ ],
2790
+ name: 'sponsoredExecute',
2791
+ outputs: [],
2792
+ },
4565
2793
  {
4566
2794
  stateMutability: 'nonpayable',
4567
2795
  type: 'function',
@@ -4698,6 +2926,7 @@ export const sponsoredSparksSpenderABI = [
4698
2926
  { type: 'error', inputs: [], name: 'InvalidShortString' },
4699
2927
  { type: 'error', inputs: [], name: 'InvalidSignature' },
4700
2928
  { type: 'error', inputs: [], name: 'LengthMismatch' },
2929
+ { type: 'error', inputs: [], name: 'NoMoreFundsToSponsor' },
4701
2930
  { type: 'error', inputs: [], name: 'NonceUsed' },
4702
2931
  { type: 'error', inputs: [], name: 'NotExpectingReceive' },
4703
2932
  { type: 'error', inputs: [], name: 'NotZoraSparks1155' },
@@ -4727,6 +2956,7 @@ export const sponsoredSparksSpenderABI = [
4727
2956
  ],
4728
2957
  name: 'RedeemAmountIsIncorrect',
4729
2958
  },
2959
+ { type: 'error', inputs: [], name: 'SenderNotAllowedInSignature' },
4730
2960
  { type: 'error', inputs: [], name: 'SignatureExpired' },
4731
2961
  { type: 'error', inputs: [], name: 'SingleTransferNotSupported' },
4732
2962
  {
@@ -12240,7 +10470,7 @@ export const zoraSparksManagerImplConfig = {
12240
10470
  * - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
12241
10471
  * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
12242
10472
  * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
12243
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x8237F421357F87a23ed0CFf3a5586172F210A21B)
10473
+ * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
12244
10474
  * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
12245
10475
  */
12246
10476
  export const zoraTimedSaleStrategyABI = [
@@ -13041,7 +11271,7 @@ export const zoraTimedSaleStrategyABI = [
13041
11271
  * - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
13042
11272
  * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
13043
11273
  * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
13044
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x8237F421357F87a23ed0CFf3a5586172F210A21B)
11274
+ * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
13045
11275
  * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
13046
11276
  */
13047
11277
  export const zoraTimedSaleStrategyAddress = {
@@ -13052,7 +11282,7 @@ export const zoraTimedSaleStrategyAddress = {
13052
11282
  81457: '0x777777722D078c97c6ad07d9f36801e653E356Ae',
13053
11283
  84532: '0x777777722D078c97c6ad07d9f36801e653E356Ae',
13054
11284
  7777777: '0x777777722D078c97c6ad07d9f36801e653E356Ae',
13055
- 11155111: '0x8237F421357F87a23ed0CFf3a5586172F210A21B',
11285
+ 11155111: '0x777777722D078c97c6ad07d9f36801e653E356Ae',
13056
11286
  999999999: '0x777777722D078c97c6ad07d9f36801e653E356Ae',
13057
11287
  } as const
13058
11288
 
@@ -13064,7 +11294,7 @@ export const zoraTimedSaleStrategyAddress = {
13064
11294
  * - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
13065
11295
  * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
13066
11296
  * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
13067
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x8237F421357F87a23ed0CFf3a5586172F210A21B)
11297
+ * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
13068
11298
  * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x777777722D078c97c6ad07d9f36801e653E356Ae)
13069
11299
  */
13070
11300
  export const zoraTimedSaleStrategyConfig = {