@zoralabs/protocol-deployments 0.3.8 → 0.3.9

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.
package/dist/index.js CHANGED
@@ -1,15 +1,2031 @@
1
1
  import {
2
+ BaseError,
2
3
  encodeAbiParameters,
4
+ etherUnits,
3
5
  getAbiItem,
4
6
  keccak256,
5
7
  toHex
6
- } from "./chunk-BKKE6NTH.js";
8
+ } from "./chunk-MCOK75CU.js";
7
9
  import "./chunk-FJ2PMLO3.js";
8
10
  import {
9
11
  __export
10
12
  } from "./chunk-3EJPJMEH.js";
11
13
 
12
14
  // src/generated/wagmi.ts
15
+ var 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: "struct ICallerAndCommenter.PermitBuyOnSecondaryAndComment",
117
+ type: "tuple",
118
+ components: [
119
+ { name: "commenter", internalType: "address", type: "address" },
120
+ { name: "quantity", internalType: "uint256", type: "uint256" },
121
+ { name: "collection", internalType: "address", type: "address" },
122
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
123
+ { name: "maxEthToSpend", internalType: "uint256", type: "uint256" },
124
+ {
125
+ name: "sqrtPriceLimitX96",
126
+ internalType: "uint160",
127
+ type: "uint160"
128
+ },
129
+ { name: "comment", internalType: "string", type: "string" },
130
+ { name: "deadline", internalType: "uint256", type: "uint256" },
131
+ { name: "nonce", internalType: "bytes32", type: "bytes32" },
132
+ { name: "sourceChainId", internalType: "uint32", type: "uint32" },
133
+ {
134
+ name: "destinationChainId",
135
+ internalType: "uint32",
136
+ type: "uint32"
137
+ }
138
+ ]
139
+ }
140
+ ],
141
+ name: "hashPermitBuyOnSecondaryAndComment",
142
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
143
+ },
144
+ {
145
+ stateMutability: "view",
146
+ type: "function",
147
+ inputs: [
148
+ {
149
+ name: "permit",
150
+ internalType: "struct ICallerAndCommenter.PermitTimedSaleMintAndComment",
151
+ type: "tuple",
152
+ components: [
153
+ { name: "commenter", internalType: "address", type: "address" },
154
+ { name: "quantity", internalType: "uint256", type: "uint256" },
155
+ { name: "collection", internalType: "address", type: "address" },
156
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
157
+ { name: "mintReferral", internalType: "address", type: "address" },
158
+ { name: "comment", internalType: "string", type: "string" },
159
+ { name: "deadline", internalType: "uint256", type: "uint256" },
160
+ { name: "nonce", internalType: "bytes32", type: "bytes32" },
161
+ { name: "sourceChainId", internalType: "uint32", type: "uint32" },
162
+ {
163
+ name: "destinationChainId",
164
+ internalType: "uint32",
165
+ type: "uint32"
166
+ }
167
+ ]
168
+ }
169
+ ],
170
+ name: "hashPermitTimedSaleMintAndComment",
171
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
172
+ },
173
+ {
174
+ stateMutability: "nonpayable",
175
+ type: "function",
176
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
177
+ name: "initialize",
178
+ outputs: []
179
+ },
180
+ {
181
+ stateMutability: "view",
182
+ type: "function",
183
+ inputs: [
184
+ { name: "owner", internalType: "address", type: "address" },
185
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
186
+ ],
187
+ name: "nonceUsed",
188
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
189
+ },
190
+ {
191
+ stateMutability: "view",
192
+ type: "function",
193
+ inputs: [],
194
+ name: "owner",
195
+ outputs: [{ name: "", internalType: "address", type: "address" }]
196
+ },
197
+ {
198
+ stateMutability: "view",
199
+ type: "function",
200
+ inputs: [],
201
+ name: "pendingOwner",
202
+ outputs: [{ name: "", internalType: "address", type: "address" }]
203
+ },
204
+ {
205
+ stateMutability: "payable",
206
+ type: "function",
207
+ inputs: [
208
+ {
209
+ name: "permit",
210
+ internalType: "struct ICallerAndCommenter.PermitBuyOnSecondaryAndComment",
211
+ type: "tuple",
212
+ components: [
213
+ { name: "commenter", internalType: "address", type: "address" },
214
+ { name: "quantity", internalType: "uint256", type: "uint256" },
215
+ { name: "collection", internalType: "address", type: "address" },
216
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
217
+ { name: "maxEthToSpend", internalType: "uint256", type: "uint256" },
218
+ {
219
+ name: "sqrtPriceLimitX96",
220
+ internalType: "uint160",
221
+ type: "uint160"
222
+ },
223
+ { name: "comment", internalType: "string", type: "string" },
224
+ { name: "deadline", internalType: "uint256", type: "uint256" },
225
+ { name: "nonce", internalType: "bytes32", type: "bytes32" },
226
+ { name: "sourceChainId", internalType: "uint32", type: "uint32" },
227
+ {
228
+ name: "destinationChainId",
229
+ internalType: "uint32",
230
+ type: "uint32"
231
+ }
232
+ ]
233
+ },
234
+ { name: "signature", internalType: "bytes", type: "bytes" }
235
+ ],
236
+ name: "permitBuyOnSecondaryAndComment",
237
+ outputs: [
238
+ {
239
+ name: "",
240
+ internalType: "struct IComments.CommentIdentifier",
241
+ type: "tuple",
242
+ components: [
243
+ { name: "commenter", internalType: "address", type: "address" },
244
+ { name: "contractAddress", internalType: "address", type: "address" },
245
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
246
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
247
+ ]
248
+ }
249
+ ]
250
+ },
251
+ {
252
+ stateMutability: "payable",
253
+ type: "function",
254
+ inputs: [
255
+ {
256
+ name: "permit",
257
+ internalType: "struct ICallerAndCommenter.PermitTimedSaleMintAndComment",
258
+ type: "tuple",
259
+ components: [
260
+ { name: "commenter", internalType: "address", type: "address" },
261
+ { name: "quantity", internalType: "uint256", type: "uint256" },
262
+ { name: "collection", internalType: "address", type: "address" },
263
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
264
+ { name: "mintReferral", internalType: "address", type: "address" },
265
+ { name: "comment", internalType: "string", type: "string" },
266
+ { name: "deadline", internalType: "uint256", type: "uint256" },
267
+ { name: "nonce", internalType: "bytes32", type: "bytes32" },
268
+ { name: "sourceChainId", internalType: "uint32", type: "uint32" },
269
+ {
270
+ name: "destinationChainId",
271
+ internalType: "uint32",
272
+ type: "uint32"
273
+ }
274
+ ]
275
+ },
276
+ { name: "signature", internalType: "bytes", type: "bytes" }
277
+ ],
278
+ name: "permitTimedSaleMintAndComment",
279
+ outputs: [
280
+ {
281
+ name: "",
282
+ internalType: "struct IComments.CommentIdentifier",
283
+ type: "tuple",
284
+ components: [
285
+ { name: "commenter", internalType: "address", type: "address" },
286
+ { name: "contractAddress", internalType: "address", type: "address" },
287
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
288
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
289
+ ]
290
+ }
291
+ ]
292
+ },
293
+ {
294
+ stateMutability: "view",
295
+ type: "function",
296
+ inputs: [],
297
+ name: "proxiableUUID",
298
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
299
+ },
300
+ {
301
+ stateMutability: "nonpayable",
302
+ type: "function",
303
+ inputs: [],
304
+ name: "renounceOwnership",
305
+ outputs: []
306
+ },
307
+ {
308
+ stateMutability: "view",
309
+ type: "function",
310
+ inputs: [],
311
+ name: "secondarySwap",
312
+ outputs: [
313
+ { name: "", internalType: "contract ISecondarySwap", type: "address" }
314
+ ]
315
+ },
316
+ {
317
+ stateMutability: "payable",
318
+ type: "function",
319
+ inputs: [
320
+ { name: "commenter", internalType: "address", type: "address" },
321
+ { name: "quantity", internalType: "uint256", type: "uint256" },
322
+ { name: "collection", internalType: "address", type: "address" },
323
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
324
+ { name: "recipient", internalType: "address payable", type: "address" },
325
+ { name: "minEthToAcquire", internalType: "uint256", type: "uint256" },
326
+ { name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
327
+ { name: "comment", internalType: "string", type: "string" }
328
+ ],
329
+ name: "sellOnSecondaryAndComment",
330
+ outputs: [
331
+ {
332
+ name: "commentIdentifier",
333
+ internalType: "struct IComments.CommentIdentifier",
334
+ type: "tuple",
335
+ components: [
336
+ { name: "commenter", internalType: "address", type: "address" },
337
+ { name: "contractAddress", internalType: "address", type: "address" },
338
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
339
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
340
+ ]
341
+ }
342
+ ]
343
+ },
344
+ {
345
+ stateMutability: "view",
346
+ type: "function",
347
+ inputs: [],
348
+ name: "sparkValue",
349
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
350
+ },
351
+ {
352
+ stateMutability: "payable",
353
+ type: "function",
354
+ inputs: [
355
+ { name: "commenter", internalType: "address", type: "address" },
356
+ { name: "quantity", internalType: "uint256", type: "uint256" },
357
+ { name: "collection", internalType: "address", type: "address" },
358
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
359
+ { name: "mintReferral", internalType: "address", type: "address" },
360
+ { name: "comment", internalType: "string", type: "string" }
361
+ ],
362
+ name: "timedSaleMintAndComment",
363
+ outputs: [
364
+ {
365
+ name: "",
366
+ internalType: "struct IComments.CommentIdentifier",
367
+ type: "tuple",
368
+ components: [
369
+ { name: "commenter", internalType: "address", type: "address" },
370
+ { name: "contractAddress", internalType: "address", type: "address" },
371
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
372
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
373
+ ]
374
+ }
375
+ ]
376
+ },
377
+ {
378
+ stateMutability: "nonpayable",
379
+ type: "function",
380
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
381
+ name: "transferOwnership",
382
+ outputs: []
383
+ },
384
+ {
385
+ stateMutability: "payable",
386
+ type: "function",
387
+ inputs: [
388
+ { name: "newImplementation", internalType: "address", type: "address" },
389
+ { name: "data", internalType: "bytes", type: "bytes" }
390
+ ],
391
+ name: "upgradeToAndCall",
392
+ outputs: []
393
+ },
394
+ {
395
+ stateMutability: "view",
396
+ type: "function",
397
+ inputs: [],
398
+ name: "zoraTimedSale",
399
+ outputs: [
400
+ {
401
+ name: "",
402
+ internalType: "contract IZoraTimedSaleStrategy",
403
+ type: "address"
404
+ }
405
+ ]
406
+ },
407
+ { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
408
+ {
409
+ type: "event",
410
+ anonymous: false,
411
+ inputs: [
412
+ {
413
+ name: "version",
414
+ internalType: "uint64",
415
+ type: "uint64",
416
+ indexed: false
417
+ }
418
+ ],
419
+ name: "Initialized"
420
+ },
421
+ {
422
+ type: "event",
423
+ anonymous: false,
424
+ inputs: [
425
+ {
426
+ name: "commentId",
427
+ internalType: "bytes32",
428
+ type: "bytes32",
429
+ indexed: true
430
+ },
431
+ {
432
+ name: "commentIdentifier",
433
+ internalType: "struct IComments.CommentIdentifier",
434
+ type: "tuple",
435
+ components: [
436
+ { name: "commenter", internalType: "address", type: "address" },
437
+ { name: "contractAddress", internalType: "address", type: "address" },
438
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
439
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
440
+ ],
441
+ indexed: false
442
+ },
443
+ {
444
+ name: "quantity",
445
+ internalType: "uint256",
446
+ type: "uint256",
447
+ indexed: false
448
+ },
449
+ { name: "text", internalType: "string", type: "string", indexed: false }
450
+ ],
451
+ name: "MintedAndCommented"
452
+ },
453
+ {
454
+ type: "event",
455
+ anonymous: false,
456
+ inputs: [
457
+ {
458
+ name: "previousOwner",
459
+ internalType: "address",
460
+ type: "address",
461
+ indexed: true
462
+ },
463
+ {
464
+ name: "newOwner",
465
+ internalType: "address",
466
+ type: "address",
467
+ indexed: true
468
+ }
469
+ ],
470
+ name: "OwnershipTransferStarted"
471
+ },
472
+ {
473
+ type: "event",
474
+ anonymous: false,
475
+ inputs: [
476
+ {
477
+ name: "previousOwner",
478
+ internalType: "address",
479
+ type: "address",
480
+ indexed: true
481
+ },
482
+ {
483
+ name: "newOwner",
484
+ internalType: "address",
485
+ type: "address",
486
+ indexed: true
487
+ }
488
+ ],
489
+ name: "OwnershipTransferred"
490
+ },
491
+ {
492
+ type: "event",
493
+ anonymous: false,
494
+ inputs: [
495
+ {
496
+ name: "commentId",
497
+ internalType: "bytes32",
498
+ type: "bytes32",
499
+ indexed: true
500
+ },
501
+ {
502
+ name: "commentIdentifier",
503
+ internalType: "struct IComments.CommentIdentifier",
504
+ type: "tuple",
505
+ components: [
506
+ { name: "commenter", internalType: "address", type: "address" },
507
+ { name: "contractAddress", internalType: "address", type: "address" },
508
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
509
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
510
+ ],
511
+ indexed: false
512
+ },
513
+ {
514
+ name: "quantity",
515
+ internalType: "uint256",
516
+ type: "uint256",
517
+ indexed: true
518
+ },
519
+ {
520
+ name: "comment",
521
+ internalType: "string",
522
+ type: "string",
523
+ indexed: false
524
+ },
525
+ {
526
+ name: "swapDirection",
527
+ internalType: "enum ICallerAndCommenter.SwapDirection",
528
+ type: "uint8",
529
+ indexed: true
530
+ }
531
+ ],
532
+ name: "SwappedOnSecondaryAndCommented"
533
+ },
534
+ {
535
+ type: "event",
536
+ anonymous: false,
537
+ inputs: [
538
+ {
539
+ name: "implementation",
540
+ internalType: "address",
541
+ type: "address",
542
+ indexed: true
543
+ }
544
+ ],
545
+ name: "Upgraded"
546
+ },
547
+ {
548
+ type: "error",
549
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
550
+ name: "AddressEmptyCode"
551
+ },
552
+ {
553
+ type: "error",
554
+ inputs: [
555
+ { name: "expected", internalType: "address", type: "address" },
556
+ { name: "actual", internalType: "address", type: "address" }
557
+ ],
558
+ name: "CommenterMismatch"
559
+ },
560
+ {
561
+ type: "error",
562
+ inputs: [
563
+ { name: "implementation", internalType: "address", type: "address" }
564
+ ],
565
+ name: "ERC1967InvalidImplementation"
566
+ },
567
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
568
+ {
569
+ type: "error",
570
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
571
+ name: "ERC2612ExpiredSignature"
572
+ },
573
+ { type: "error", inputs: [], name: "FailedInnerCall" },
574
+ {
575
+ type: "error",
576
+ inputs: [
577
+ {
578
+ name: "wrongDestinationChainId",
579
+ internalType: "uint256",
580
+ type: "uint256"
581
+ }
582
+ ],
583
+ name: "IncorrectDestinationChain"
584
+ },
585
+ {
586
+ type: "error",
587
+ inputs: [
588
+ { name: "account", internalType: "address", type: "address" },
589
+ { name: "currentNonce", internalType: "bytes32", type: "bytes32" }
590
+ ],
591
+ name: "InvalidAccountNonce"
592
+ },
593
+ { type: "error", inputs: [], name: "InvalidInitialization" },
594
+ { type: "error", inputs: [], name: "InvalidSignature" },
595
+ { type: "error", inputs: [], name: "NotInitializing" },
596
+ {
597
+ type: "error",
598
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
599
+ name: "OwnableInvalidOwner"
600
+ },
601
+ {
602
+ type: "error",
603
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
604
+ name: "OwnableUnauthorizedAccount"
605
+ },
606
+ {
607
+ type: "error",
608
+ inputs: [
609
+ { name: "collection", internalType: "address", type: "address" },
610
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
611
+ ],
612
+ name: "SaleNotSet"
613
+ },
614
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
615
+ {
616
+ type: "error",
617
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
618
+ name: "UUPSUnsupportedProxiableUUID"
619
+ },
620
+ {
621
+ type: "error",
622
+ inputs: [
623
+ { name: "currentName", internalType: "string", type: "string" },
624
+ { name: "newName", internalType: "string", type: "string" }
625
+ ],
626
+ name: "UpgradeToMismatchedContractName"
627
+ },
628
+ {
629
+ type: "error",
630
+ inputs: [
631
+ { name: "expected", internalType: "uint256", type: "uint256" },
632
+ { name: "actual", internalType: "uint256", type: "uint256" }
633
+ ],
634
+ name: "WrongValueSent"
635
+ },
636
+ {
637
+ type: "error",
638
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
639
+ name: "AddressEmptyCode"
640
+ },
641
+ {
642
+ type: "error",
643
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
644
+ name: "AddressInsufficientBalance"
645
+ },
646
+ { type: "error", inputs: [], name: "AddressZero" },
647
+ { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
648
+ {
649
+ type: "error",
650
+ inputs: [
651
+ { name: "implementation", internalType: "address", type: "address" }
652
+ ],
653
+ name: "ERC1967InvalidImplementation"
654
+ },
655
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
656
+ { type: "error", inputs: [], name: "EndTimeCannotBeInThePast" },
657
+ { type: "error", inputs: [], name: "FailedInnerCall" },
658
+ { type: "error", inputs: [], name: "InsufficientFunds" },
659
+ { type: "error", inputs: [], name: "InvalidInitialization" },
660
+ { type: "error", inputs: [], name: "MarketAlreadyLaunched" },
661
+ { type: "error", inputs: [], name: "MarketMinimumNotReached" },
662
+ { type: "error", inputs: [], name: "MinimumMarketEthNotMet" },
663
+ { type: "error", inputs: [], name: "NeedsToBeAtLeastOneSaleToStartMarket" },
664
+ { type: "error", inputs: [], name: "NotInitializing" },
665
+ { type: "error", inputs: [], name: "OnlyZoraRewardRecipient" },
666
+ {
667
+ type: "error",
668
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
669
+ name: "OwnableInvalidOwner"
670
+ },
671
+ {
672
+ type: "error",
673
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
674
+ name: "OwnableUnauthorizedAccount"
675
+ },
676
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
677
+ { type: "error", inputs: [], name: "RequestMintInvalidUseMint" },
678
+ { type: "error", inputs: [], name: "ResetSaleNotAvailable" },
679
+ { type: "error", inputs: [], name: "SaleAlreadySet" },
680
+ { type: "error", inputs: [], name: "SaleEnded" },
681
+ { type: "error", inputs: [], name: "SaleHasNotStarted" },
682
+ { type: "error", inputs: [], name: "SaleInProgress" },
683
+ { type: "error", inputs: [], name: "SaleNotSet" },
684
+ { type: "error", inputs: [], name: "SaleV2AlreadyStarted" },
685
+ { type: "error", inputs: [], name: "SaleV2Ended" },
686
+ { type: "error", inputs: [], name: "SaleV2NotSet" },
687
+ { type: "error", inputs: [], name: "StartTimeCannotBeAfterEndTime" },
688
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
689
+ {
690
+ type: "error",
691
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
692
+ name: "UUPSUnsupportedProxiableUUID"
693
+ },
694
+ { type: "error", inputs: [], name: "WrongValueSent" },
695
+ {
696
+ type: "error",
697
+ inputs: [],
698
+ name: "ZoraCreator1155ContractNeedsToSupportReduceSupply"
699
+ },
700
+ { type: "error", inputs: [], name: "ADDRESS_DELEGATECALL_TO_NON_CONTRACT" },
701
+ { type: "error", inputs: [], name: "ADDRESS_LOW_LEVEL_CALL_FAILED" },
702
+ {
703
+ type: "error",
704
+ inputs: [
705
+ { name: "operator", internalType: "address", type: "address" },
706
+ { name: "user", internalType: "address", type: "address" }
707
+ ],
708
+ name: "Burn_NotOwnerOrApproved"
709
+ },
710
+ { type: "error", inputs: [], name: "CREATOR_FUNDS_RECIPIENT_NOT_SET" },
711
+ {
712
+ type: "error",
713
+ inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
714
+ name: "CallFailed"
715
+ },
716
+ { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
717
+ { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
718
+ { type: "error", inputs: [], name: "CanOnlyReduceMaxSupply" },
719
+ {
720
+ type: "error",
721
+ inputs: [
722
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
723
+ { name: "quantity", internalType: "uint256", type: "uint256" },
724
+ { name: "totalMinted", internalType: "uint256", type: "uint256" },
725
+ { name: "maxSupply", internalType: "uint256", type: "uint256" }
726
+ ],
727
+ name: "CannotMintMoreTokens"
728
+ },
729
+ { type: "error", inputs: [], name: "CannotReduceMaxSupplyBelowMinted" },
730
+ {
731
+ type: "error",
732
+ inputs: [
733
+ { name: "proposedAddress", internalType: "address", type: "address" }
734
+ ],
735
+ name: "Config_TransferHookNotSupported"
736
+ },
737
+ {
738
+ type: "error",
739
+ inputs: [],
740
+ name: "ERC1155_ACCOUNTS_AND_IDS_LENGTH_MISMATCH"
741
+ },
742
+ {
743
+ type: "error",
744
+ inputs: [],
745
+ name: "ERC1155_ADDRESS_ZERO_IS_NOT_A_VALID_OWNER"
746
+ },
747
+ { type: "error", inputs: [], name: "ERC1155_BURN_AMOUNT_EXCEEDS_BALANCE" },
748
+ { type: "error", inputs: [], name: "ERC1155_BURN_FROM_ZERO_ADDRESS" },
749
+ {
750
+ type: "error",
751
+ inputs: [],
752
+ name: "ERC1155_CALLER_IS_NOT_TOKEN_OWNER_OR_APPROVED"
753
+ },
754
+ {
755
+ type: "error",
756
+ inputs: [],
757
+ name: "ERC1155_ERC1155RECEIVER_REJECTED_TOKENS"
758
+ },
759
+ {
760
+ type: "error",
761
+ inputs: [],
762
+ name: "ERC1155_IDS_AND_AMOUNTS_LENGTH_MISMATCH"
763
+ },
764
+ {
765
+ type: "error",
766
+ inputs: [],
767
+ name: "ERC1155_INSUFFICIENT_BALANCE_FOR_TRANSFER"
768
+ },
769
+ { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
770
+ { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
771
+ { type: "error", inputs: [], name: "ERC1155_SETTING_APPROVAL_FOR_SELF" },
772
+ {
773
+ type: "error",
774
+ inputs: [],
775
+ name: "ERC1155_TRANSFER_TO_NON_ERC1155RECEIVER_IMPLEMENTER"
776
+ },
777
+ { type: "error", inputs: [], name: "ERC1155_TRANSFER_TO_ZERO_ADDRESS" },
778
+ { type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_CONTRACT" },
779
+ { type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_UUPS" },
780
+ { type: "error", inputs: [], name: "ERC1967_UNSUPPORTED_PROXIABLEUUID" },
781
+ {
782
+ type: "error",
783
+ inputs: [
784
+ { name: "recipient", internalType: "address", type: "address" },
785
+ { name: "amount", internalType: "uint256", type: "uint256" }
786
+ ],
787
+ name: "ETHWithdrawFailed"
788
+ },
789
+ {
790
+ type: "error",
791
+ inputs: [],
792
+ name: "FUNCTION_MUST_BE_CALLED_THROUGH_ACTIVE_PROXY"
793
+ },
794
+ {
795
+ type: "error",
796
+ inputs: [],
797
+ name: "FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL"
798
+ },
799
+ { type: "error", inputs: [], name: "FirstMinterAddressZero" },
800
+ {
801
+ type: "error",
802
+ inputs: [
803
+ { name: "amount", internalType: "uint256", type: "uint256" },
804
+ { name: "contractValue", internalType: "uint256", type: "uint256" }
805
+ ],
806
+ name: "FundsWithdrawInsolvent"
807
+ },
808
+ {
809
+ type: "error",
810
+ inputs: [],
811
+ name: "INITIALIZABLE_CONTRACT_ALREADY_INITIALIZED"
812
+ },
813
+ {
814
+ type: "error",
815
+ inputs: [],
816
+ name: "INITIALIZABLE_CONTRACT_IS_NOT_INITIALIZING"
817
+ },
818
+ { type: "error", inputs: [], name: "INVALID_ADDRESS_ZERO" },
819
+ { type: "error", inputs: [], name: "INVALID_ETH_AMOUNT" },
820
+ {
821
+ type: "error",
822
+ inputs: [
823
+ { name: "mintTo", internalType: "address", type: "address" },
824
+ { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
825
+ { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
826
+ ],
827
+ name: "InvalidMerkleProof"
828
+ },
829
+ { type: "error", inputs: [], name: "InvalidMintSchedule" },
830
+ { type: "error", inputs: [], name: "InvalidMintSchedule" },
831
+ { type: "error", inputs: [], name: "InvalidPremintVersion" },
832
+ { type: "error", inputs: [], name: "InvalidSignature" },
833
+ { type: "error", inputs: [], name: "InvalidSignatureVersion" },
834
+ {
835
+ type: "error",
836
+ inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
837
+ name: "InvalidSigner"
838
+ },
839
+ { type: "error", inputs: [], name: "MintNotYetStarted" },
840
+ { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
841
+ { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
842
+ { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
843
+ { type: "error", inputs: [], name: "Mint_UnknownCommand" },
844
+ { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
845
+ { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
846
+ { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
847
+ { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
848
+ {
849
+ type: "error",
850
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
851
+ name: "NoRendererForToken"
852
+ },
853
+ { type: "error", inputs: [], name: "NonEthRedemption" },
854
+ { type: "error", inputs: [], name: "ONLY_CREATE_REFERRAL" },
855
+ { type: "error", inputs: [], name: "OnlyAllowedForRegisteredMinter" },
856
+ { type: "error", inputs: [], name: "OnlyAllowedForTimedSaleStrategy" },
857
+ { type: "error", inputs: [], name: "OnlyTransfersFromZoraMints" },
858
+ { type: "error", inputs: [], name: "PremintDeleted" },
859
+ {
860
+ type: "error",
861
+ inputs: [
862
+ { name: "caller", internalType: "address", type: "address" },
863
+ { name: "recipient", internalType: "address", type: "address" },
864
+ { name: "amount", internalType: "uint256", type: "uint256" }
865
+ ],
866
+ name: "ProtocolRewardsWithdrawFailed"
867
+ },
868
+ {
869
+ type: "error",
870
+ inputs: [{ name: "renderer", internalType: "address", type: "address" }],
871
+ name: "RendererNotValid"
872
+ },
873
+ { type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
874
+ { type: "error", inputs: [], name: "SaleEnded" },
875
+ { type: "error", inputs: [], name: "SaleHasNotStarted" },
876
+ {
877
+ type: "error",
878
+ inputs: [
879
+ { name: "targetContract", internalType: "address", type: "address" }
880
+ ],
881
+ name: "Sale_CannotCallNonSalesContract"
882
+ },
883
+ {
884
+ type: "error",
885
+ inputs: [
886
+ { name: "expected", internalType: "uint256", type: "uint256" },
887
+ { name: "actual", internalType: "uint256", type: "uint256" }
888
+ ],
889
+ name: "TokenIdMismatch"
890
+ },
891
+ {
892
+ type: "error",
893
+ inputs: [],
894
+ name: "UUPS_UPGRADEABLE_MUST_NOT_BE_CALLED_THROUGH_DELEGATECALL"
895
+ },
896
+ {
897
+ type: "error",
898
+ inputs: [
899
+ { name: "user", internalType: "address", type: "address" },
900
+ { name: "limit", internalType: "uint256", type: "uint256" },
901
+ { name: "requestedAmount", internalType: "uint256", type: "uint256" }
902
+ ],
903
+ name: "UserExceedsMintLimit"
904
+ },
905
+ {
906
+ type: "error",
907
+ inputs: [
908
+ { name: "user", internalType: "address", type: "address" },
909
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
910
+ { name: "role", internalType: "uint256", type: "uint256" }
911
+ ],
912
+ name: "UserMissingRoleForToken"
913
+ },
914
+ { type: "error", inputs: [], name: "WrongValueSent" },
915
+ {
916
+ type: "error",
917
+ inputs: [],
918
+ name: "premintSignerContractFailedToRecoverSigner"
919
+ },
920
+ { type: "error", inputs: [], name: "premintSignerContractNotAContract" },
921
+ { type: "error", inputs: [], name: "AccessControlBadConfirmation" },
922
+ {
923
+ type: "error",
924
+ inputs: [
925
+ { name: "account", internalType: "address", type: "address" },
926
+ { name: "neededRole", internalType: "bytes32", type: "bytes32" }
927
+ ],
928
+ name: "AccessControlUnauthorizedAccount"
929
+ },
930
+ {
931
+ type: "error",
932
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
933
+ name: "AddressEmptyCode"
934
+ },
935
+ { type: "error", inputs: [], name: "AddressZero" },
936
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
937
+ { type: "error", inputs: [], name: "CannotSparkOwnComment" },
938
+ {
939
+ type: "error",
940
+ inputs: [
941
+ { name: "commentAddress", internalType: "address", type: "address" },
942
+ { name: "commentTokenId", internalType: "uint256", type: "uint256" },
943
+ { name: "replyAddress", internalType: "address", type: "address" },
944
+ { name: "replyTokenId", internalType: "uint256", type: "uint256" }
945
+ ],
946
+ name: "CommentAddressOrTokenIdsDoNotMatch"
947
+ },
948
+ { type: "error", inputs: [], name: "CommentDoesntExist" },
949
+ {
950
+ type: "error",
951
+ inputs: [
952
+ { name: "expected", internalType: "address", type: "address" },
953
+ { name: "actual", internalType: "address", type: "address" }
954
+ ],
955
+ name: "CommenterMismatch"
956
+ },
957
+ {
958
+ type: "error",
959
+ inputs: [{ name: "commentId", internalType: "bytes32", type: "bytes32" }],
960
+ name: "DuplicateComment"
961
+ },
962
+ {
963
+ type: "error",
964
+ inputs: [
965
+ { name: "implementation", internalType: "address", type: "address" }
966
+ ],
967
+ name: "ERC1967InvalidImplementation"
968
+ },
969
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
970
+ {
971
+ type: "error",
972
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
973
+ name: "ERC2612ExpiredSignature"
974
+ },
975
+ { type: "error", inputs: [], name: "EmptyComment" },
976
+ { type: "error", inputs: [], name: "FailedInnerCall" },
977
+ {
978
+ type: "error",
979
+ inputs: [
980
+ {
981
+ name: "wrongDestinationChainId",
982
+ internalType: "uint256",
983
+ type: "uint256"
984
+ }
985
+ ],
986
+ name: "IncorrectDestinationChain"
987
+ },
988
+ {
989
+ type: "error",
990
+ inputs: [
991
+ { name: "actual", internalType: "uint256", type: "uint256" },
992
+ { name: "expected", internalType: "uint256", type: "uint256" }
993
+ ],
994
+ name: "IncorrectETHAmountForSparks"
995
+ },
996
+ {
997
+ type: "error",
998
+ inputs: [
999
+ { name: "account", internalType: "address", type: "address" },
1000
+ { name: "currentNonce", internalType: "bytes32", type: "bytes32" }
1001
+ ],
1002
+ name: "InvalidAccountNonce"
1003
+ },
1004
+ { type: "error", inputs: [], name: "InvalidInitialization" },
1005
+ { type: "error", inputs: [], name: "InvalidSignature" },
1006
+ { type: "error", inputs: [], name: "MustSendAtLeastOneSpark" },
1007
+ { type: "error", inputs: [], name: "NoFundsRecipient" },
1008
+ { type: "error", inputs: [], name: "NotInitializing" },
1009
+ { type: "error", inputs: [], name: "NotSmartWallet" },
1010
+ { type: "error", inputs: [], name: "NotSmartWalletOwner" },
1011
+ { type: "error", inputs: [], name: "NotTokenHolderOrAdmin" },
1012
+ { type: "error", inputs: [], name: "OnlySparksContract" },
1013
+ { type: "error", inputs: [], name: "TransferFailed" },
1014
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
1015
+ {
1016
+ type: "error",
1017
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
1018
+ name: "UUPSUnsupportedProxiableUUID"
1019
+ },
1020
+ {
1021
+ type: "error",
1022
+ inputs: [
1023
+ { name: "currentName", internalType: "string", type: "string" },
1024
+ { name: "newName", internalType: "string", type: "string" }
1025
+ ],
1026
+ name: "UpgradeToMismatchedContractName"
1027
+ }
1028
+ ];
1029
+ var callerAndCommenterAddress = {
1030
+ 1: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5",
1031
+ 10: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5",
1032
+ 8453: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5",
1033
+ 42161: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5",
1034
+ 81457: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5",
1035
+ 84532: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5",
1036
+ 7777777: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5",
1037
+ 11155111: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5",
1038
+ 11155420: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5",
1039
+ 999999999: "0x77777775C5074b74540d9cC63Dd840A8c692B4B5"
1040
+ };
1041
+ var callerAndCommenterConfig = {
1042
+ address: callerAndCommenterAddress,
1043
+ abi: callerAndCommenterABI
1044
+ };
1045
+ var commentsABI = [
1046
+ {
1047
+ stateMutability: "nonpayable",
1048
+ type: "constructor",
1049
+ inputs: [
1050
+ { name: "_sparkValue", internalType: "uint256", type: "uint256" },
1051
+ { name: "_protocolRewards", internalType: "address", type: "address" },
1052
+ { name: "_zoraRecipient", internalType: "address", type: "address" }
1053
+ ]
1054
+ },
1055
+ {
1056
+ stateMutability: "view",
1057
+ type: "function",
1058
+ inputs: [],
1059
+ name: "BACKFILLER_ROLE",
1060
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
1061
+ },
1062
+ {
1063
+ stateMutability: "view",
1064
+ type: "function",
1065
+ inputs: [],
1066
+ name: "DEFAULT_ADMIN_ROLE",
1067
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
1068
+ },
1069
+ {
1070
+ stateMutability: "view",
1071
+ type: "function",
1072
+ inputs: [],
1073
+ name: "DELEGATE_COMMENTER",
1074
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
1075
+ },
1076
+ {
1077
+ stateMutability: "view",
1078
+ type: "function",
1079
+ inputs: [],
1080
+ name: "DOMAIN_NAME",
1081
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1082
+ },
1083
+ {
1084
+ stateMutability: "view",
1085
+ type: "function",
1086
+ inputs: [],
1087
+ name: "DOMAIN_VERSION",
1088
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1089
+ },
1090
+ {
1091
+ stateMutability: "view",
1092
+ type: "function",
1093
+ inputs: [],
1094
+ name: "PERMISSION_BIT_ADMIN",
1095
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1096
+ },
1097
+ {
1098
+ stateMutability: "view",
1099
+ type: "function",
1100
+ inputs: [],
1101
+ name: "REFERRER_REWARD_PCT",
1102
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1103
+ },
1104
+ {
1105
+ stateMutability: "view",
1106
+ type: "function",
1107
+ inputs: [],
1108
+ name: "UPGRADE_INTERFACE_VERSION",
1109
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1110
+ },
1111
+ {
1112
+ stateMutability: "view",
1113
+ type: "function",
1114
+ inputs: [],
1115
+ name: "ZORA_REWARD_NO_REFERRER_PCT",
1116
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1117
+ },
1118
+ {
1119
+ stateMutability: "view",
1120
+ type: "function",
1121
+ inputs: [],
1122
+ name: "ZORA_REWARD_PCT",
1123
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1124
+ },
1125
+ {
1126
+ stateMutability: "nonpayable",
1127
+ type: "function",
1128
+ inputs: [
1129
+ {
1130
+ name: "commentIdentifiers",
1131
+ internalType: "struct IComments.CommentIdentifier[]",
1132
+ type: "tuple[]",
1133
+ components: [
1134
+ { name: "commenter", internalType: "address", type: "address" },
1135
+ { name: "contractAddress", internalType: "address", type: "address" },
1136
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1137
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1138
+ ]
1139
+ },
1140
+ { name: "texts", internalType: "string[]", type: "string[]" },
1141
+ { name: "timestamps", internalType: "uint256[]", type: "uint256[]" },
1142
+ {
1143
+ name: "originalTransactionHashes",
1144
+ internalType: "bytes32[]",
1145
+ type: "bytes32[]"
1146
+ }
1147
+ ],
1148
+ name: "backfillBatchAddComment",
1149
+ outputs: []
1150
+ },
1151
+ {
1152
+ stateMutability: "payable",
1153
+ type: "function",
1154
+ inputs: [
1155
+ { name: "commenter", internalType: "address", type: "address" },
1156
+ { name: "contractAddress", internalType: "address", type: "address" },
1157
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1158
+ { name: "text", internalType: "string", type: "string" },
1159
+ {
1160
+ name: "replyTo",
1161
+ internalType: "struct IComments.CommentIdentifier",
1162
+ type: "tuple",
1163
+ components: [
1164
+ { name: "commenter", internalType: "address", type: "address" },
1165
+ { name: "contractAddress", internalType: "address", type: "address" },
1166
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1167
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1168
+ ]
1169
+ },
1170
+ {
1171
+ name: "commenterSmartWallet",
1172
+ internalType: "address",
1173
+ type: "address"
1174
+ },
1175
+ { name: "referrer", internalType: "address", type: "address" }
1176
+ ],
1177
+ name: "comment",
1178
+ outputs: [
1179
+ {
1180
+ name: "commentIdentifier",
1181
+ internalType: "struct IComments.CommentIdentifier",
1182
+ type: "tuple",
1183
+ components: [
1184
+ { name: "commenter", internalType: "address", type: "address" },
1185
+ { name: "contractAddress", internalType: "address", type: "address" },
1186
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1187
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1188
+ ]
1189
+ }
1190
+ ]
1191
+ },
1192
+ {
1193
+ stateMutability: "view",
1194
+ type: "function",
1195
+ inputs: [
1196
+ {
1197
+ name: "commentIdentifier",
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: "commentSparksQuantity",
1209
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1210
+ },
1211
+ {
1212
+ stateMutability: "pure",
1213
+ type: "function",
1214
+ inputs: [],
1215
+ name: "contractName",
1216
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1217
+ },
1218
+ {
1219
+ stateMutability: "pure",
1220
+ type: "function",
1221
+ inputs: [],
1222
+ name: "contractVersion",
1223
+ outputs: [{ name: "", internalType: "string", type: "string" }]
1224
+ },
1225
+ {
1226
+ stateMutability: "payable",
1227
+ type: "function",
1228
+ inputs: [
1229
+ { name: "commenter", internalType: "address", type: "address" },
1230
+ { name: "contractAddress", internalType: "address", type: "address" },
1231
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1232
+ { name: "text", internalType: "string", type: "string" },
1233
+ {
1234
+ name: "replyTo",
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: "commenterSmartWalletOwner",
1246
+ internalType: "address",
1247
+ type: "address"
1248
+ },
1249
+ { name: "referrer", internalType: "address", type: "address" }
1250
+ ],
1251
+ name: "delegateComment",
1252
+ outputs: [
1253
+ {
1254
+ name: "commentIdentifier",
1255
+ internalType: "struct IComments.CommentIdentifier",
1256
+ type: "tuple",
1257
+ components: [
1258
+ { name: "commenter", internalType: "address", type: "address" },
1259
+ { name: "contractAddress", internalType: "address", type: "address" },
1260
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1261
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1262
+ ]
1263
+ },
1264
+ { name: "commentId", internalType: "bytes32", type: "bytes32" }
1265
+ ]
1266
+ },
1267
+ {
1268
+ stateMutability: "view",
1269
+ type: "function",
1270
+ inputs: [],
1271
+ name: "eip712Domain",
1272
+ outputs: [
1273
+ { name: "fields", internalType: "bytes1", type: "bytes1" },
1274
+ { name: "name", internalType: "string", type: "string" },
1275
+ { name: "version", internalType: "string", type: "string" },
1276
+ { name: "chainId", internalType: "uint256", type: "uint256" },
1277
+ { name: "verifyingContract", internalType: "address", type: "address" },
1278
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
1279
+ { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
1280
+ ]
1281
+ },
1282
+ {
1283
+ stateMutability: "view",
1284
+ type: "function",
1285
+ inputs: [{ name: "role", internalType: "bytes32", type: "bytes32" }],
1286
+ name: "getRoleAdmin",
1287
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
1288
+ },
1289
+ {
1290
+ stateMutability: "nonpayable",
1291
+ type: "function",
1292
+ inputs: [
1293
+ { name: "role", internalType: "bytes32", type: "bytes32" },
1294
+ { name: "account", internalType: "address", type: "address" }
1295
+ ],
1296
+ name: "grantRole",
1297
+ outputs: []
1298
+ },
1299
+ {
1300
+ stateMutability: "view",
1301
+ type: "function",
1302
+ inputs: [
1303
+ { name: "role", internalType: "bytes32", type: "bytes32" },
1304
+ { name: "account", internalType: "address", type: "address" }
1305
+ ],
1306
+ name: "hasRole",
1307
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
1308
+ },
1309
+ {
1310
+ stateMutability: "view",
1311
+ type: "function",
1312
+ inputs: [
1313
+ {
1314
+ name: "commentIdentifier",
1315
+ internalType: "struct IComments.CommentIdentifier",
1316
+ type: "tuple",
1317
+ components: [
1318
+ { name: "commenter", internalType: "address", type: "address" },
1319
+ { name: "contractAddress", internalType: "address", type: "address" },
1320
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1321
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1322
+ ]
1323
+ }
1324
+ ],
1325
+ name: "hashAndCheckCommentExists",
1326
+ outputs: [
1327
+ { name: "commentId", internalType: "bytes32", type: "bytes32" },
1328
+ { name: "exists", internalType: "bool", type: "bool" }
1329
+ ]
1330
+ },
1331
+ {
1332
+ stateMutability: "view",
1333
+ type: "function",
1334
+ inputs: [
1335
+ {
1336
+ name: "commentIdentifier",
1337
+ internalType: "struct IComments.CommentIdentifier",
1338
+ type: "tuple",
1339
+ components: [
1340
+ { name: "commenter", internalType: "address", type: "address" },
1341
+ { name: "contractAddress", internalType: "address", type: "address" },
1342
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1343
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1344
+ ]
1345
+ }
1346
+ ],
1347
+ name: "hashAndValidateCommentExists",
1348
+ outputs: [{ name: "commentId", internalType: "bytes32", type: "bytes32" }]
1349
+ },
1350
+ {
1351
+ stateMutability: "pure",
1352
+ type: "function",
1353
+ inputs: [
1354
+ {
1355
+ name: "commentIdentifier",
1356
+ internalType: "struct IComments.CommentIdentifier",
1357
+ type: "tuple",
1358
+ components: [
1359
+ { name: "commenter", internalType: "address", type: "address" },
1360
+ { name: "contractAddress", internalType: "address", type: "address" },
1361
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1362
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1363
+ ]
1364
+ }
1365
+ ],
1366
+ name: "hashCommentIdentifier",
1367
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
1368
+ },
1369
+ {
1370
+ stateMutability: "view",
1371
+ type: "function",
1372
+ inputs: [
1373
+ {
1374
+ name: "permit",
1375
+ internalType: "struct IComments.PermitComment",
1376
+ type: "tuple",
1377
+ components: [
1378
+ { name: "commenter", internalType: "address", type: "address" },
1379
+ {
1380
+ name: "commenterSmartWallet",
1381
+ internalType: "address",
1382
+ type: "address"
1383
+ },
1384
+ { name: "contractAddress", internalType: "address", type: "address" },
1385
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1386
+ {
1387
+ name: "replyTo",
1388
+ internalType: "struct IComments.CommentIdentifier",
1389
+ type: "tuple",
1390
+ components: [
1391
+ { name: "commenter", internalType: "address", type: "address" },
1392
+ {
1393
+ name: "contractAddress",
1394
+ internalType: "address",
1395
+ type: "address"
1396
+ },
1397
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1398
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1399
+ ]
1400
+ },
1401
+ { name: "text", internalType: "string", type: "string" },
1402
+ { name: "referrer", internalType: "address", type: "address" },
1403
+ { name: "deadline", internalType: "uint256", type: "uint256" },
1404
+ { name: "nonce", internalType: "bytes32", type: "bytes32" },
1405
+ { name: "sourceChainId", internalType: "uint32", type: "uint32" },
1406
+ {
1407
+ name: "destinationChainId",
1408
+ internalType: "uint32",
1409
+ type: "uint32"
1410
+ }
1411
+ ]
1412
+ }
1413
+ ],
1414
+ name: "hashPermitComment",
1415
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
1416
+ },
1417
+ {
1418
+ stateMutability: "view",
1419
+ type: "function",
1420
+ inputs: [
1421
+ {
1422
+ name: "permit",
1423
+ internalType: "struct IComments.PermitSparkComment",
1424
+ type: "tuple",
1425
+ components: [
1426
+ {
1427
+ name: "comment",
1428
+ internalType: "struct IComments.CommentIdentifier",
1429
+ type: "tuple",
1430
+ components: [
1431
+ { name: "commenter", internalType: "address", type: "address" },
1432
+ {
1433
+ name: "contractAddress",
1434
+ internalType: "address",
1435
+ type: "address"
1436
+ },
1437
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1438
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1439
+ ]
1440
+ },
1441
+ { name: "sparker", internalType: "address", type: "address" },
1442
+ { name: "sparksQuantity", internalType: "uint256", type: "uint256" },
1443
+ { name: "deadline", internalType: "uint256", type: "uint256" },
1444
+ { name: "nonce", internalType: "bytes32", type: "bytes32" },
1445
+ { name: "referrer", internalType: "address", type: "address" },
1446
+ { name: "sourceChainId", internalType: "uint32", type: "uint32" },
1447
+ {
1448
+ name: "destinationChainId",
1449
+ internalType: "uint32",
1450
+ type: "uint32"
1451
+ }
1452
+ ]
1453
+ }
1454
+ ],
1455
+ name: "hashPermitSparkComment",
1456
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
1457
+ },
1458
+ {
1459
+ stateMutability: "view",
1460
+ type: "function",
1461
+ inputs: [],
1462
+ name: "implementation",
1463
+ outputs: [{ name: "", internalType: "address", type: "address" }]
1464
+ },
1465
+ {
1466
+ stateMutability: "nonpayable",
1467
+ type: "function",
1468
+ inputs: [
1469
+ { name: "defaultAdmin", internalType: "address", type: "address" },
1470
+ { name: "backfiller", internalType: "address", type: "address" },
1471
+ {
1472
+ name: "delegateCommenters",
1473
+ internalType: "address[]",
1474
+ type: "address[]"
1475
+ }
1476
+ ],
1477
+ name: "initialize",
1478
+ outputs: []
1479
+ },
1480
+ {
1481
+ stateMutability: "view",
1482
+ type: "function",
1483
+ inputs: [],
1484
+ name: "nextNonce",
1485
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
1486
+ },
1487
+ {
1488
+ stateMutability: "view",
1489
+ type: "function",
1490
+ inputs: [
1491
+ { name: "owner", internalType: "address", type: "address" },
1492
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1493
+ ],
1494
+ name: "nonceUsed",
1495
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
1496
+ },
1497
+ {
1498
+ stateMutability: "payable",
1499
+ type: "function",
1500
+ inputs: [
1501
+ {
1502
+ name: "permit",
1503
+ internalType: "struct IComments.PermitComment",
1504
+ type: "tuple",
1505
+ components: [
1506
+ { name: "commenter", internalType: "address", type: "address" },
1507
+ {
1508
+ name: "commenterSmartWallet",
1509
+ internalType: "address",
1510
+ type: "address"
1511
+ },
1512
+ { name: "contractAddress", internalType: "address", type: "address" },
1513
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1514
+ {
1515
+ name: "replyTo",
1516
+ internalType: "struct IComments.CommentIdentifier",
1517
+ type: "tuple",
1518
+ components: [
1519
+ { name: "commenter", internalType: "address", type: "address" },
1520
+ {
1521
+ name: "contractAddress",
1522
+ internalType: "address",
1523
+ type: "address"
1524
+ },
1525
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1526
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1527
+ ]
1528
+ },
1529
+ { name: "text", internalType: "string", type: "string" },
1530
+ { name: "referrer", internalType: "address", type: "address" },
1531
+ { name: "deadline", internalType: "uint256", type: "uint256" },
1532
+ { name: "nonce", internalType: "bytes32", type: "bytes32" },
1533
+ { name: "sourceChainId", internalType: "uint32", type: "uint32" },
1534
+ {
1535
+ name: "destinationChainId",
1536
+ internalType: "uint32",
1537
+ type: "uint32"
1538
+ }
1539
+ ]
1540
+ },
1541
+ { name: "signature", internalType: "bytes", type: "bytes" }
1542
+ ],
1543
+ name: "permitComment",
1544
+ outputs: []
1545
+ },
1546
+ {
1547
+ stateMutability: "payable",
1548
+ type: "function",
1549
+ inputs: [
1550
+ {
1551
+ name: "permit",
1552
+ internalType: "struct IComments.PermitSparkComment",
1553
+ type: "tuple",
1554
+ components: [
1555
+ {
1556
+ name: "comment",
1557
+ internalType: "struct IComments.CommentIdentifier",
1558
+ type: "tuple",
1559
+ components: [
1560
+ { name: "commenter", internalType: "address", type: "address" },
1561
+ {
1562
+ name: "contractAddress",
1563
+ internalType: "address",
1564
+ type: "address"
1565
+ },
1566
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1567
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1568
+ ]
1569
+ },
1570
+ { name: "sparker", internalType: "address", type: "address" },
1571
+ { name: "sparksQuantity", internalType: "uint256", type: "uint256" },
1572
+ { name: "deadline", internalType: "uint256", type: "uint256" },
1573
+ { name: "nonce", internalType: "bytes32", type: "bytes32" },
1574
+ { name: "referrer", internalType: "address", type: "address" },
1575
+ { name: "sourceChainId", internalType: "uint32", type: "uint32" },
1576
+ {
1577
+ name: "destinationChainId",
1578
+ internalType: "uint32",
1579
+ type: "uint32"
1580
+ }
1581
+ ]
1582
+ },
1583
+ { name: "signature", internalType: "bytes", type: "bytes" }
1584
+ ],
1585
+ name: "permitSparkComment",
1586
+ outputs: []
1587
+ },
1588
+ {
1589
+ stateMutability: "view",
1590
+ type: "function",
1591
+ inputs: [],
1592
+ name: "protocolRewards",
1593
+ outputs: [
1594
+ { name: "", internalType: "contract IProtocolRewards", type: "address" }
1595
+ ]
1596
+ },
1597
+ {
1598
+ stateMutability: "view",
1599
+ type: "function",
1600
+ inputs: [],
1601
+ name: "proxiableUUID",
1602
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
1603
+ },
1604
+ {
1605
+ stateMutability: "nonpayable",
1606
+ type: "function",
1607
+ inputs: [
1608
+ { name: "role", internalType: "bytes32", type: "bytes32" },
1609
+ { name: "callerConfirmation", internalType: "address", type: "address" }
1610
+ ],
1611
+ name: "renounceRole",
1612
+ outputs: []
1613
+ },
1614
+ {
1615
+ stateMutability: "nonpayable",
1616
+ type: "function",
1617
+ inputs: [
1618
+ { name: "role", internalType: "bytes32", type: "bytes32" },
1619
+ { name: "account", internalType: "address", type: "address" }
1620
+ ],
1621
+ name: "revokeRole",
1622
+ outputs: []
1623
+ },
1624
+ {
1625
+ stateMutability: "payable",
1626
+ type: "function",
1627
+ inputs: [
1628
+ {
1629
+ name: "commentIdentifier",
1630
+ internalType: "struct IComments.CommentIdentifier",
1631
+ type: "tuple",
1632
+ components: [
1633
+ { name: "commenter", internalType: "address", type: "address" },
1634
+ { name: "contractAddress", internalType: "address", type: "address" },
1635
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1636
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1637
+ ]
1638
+ },
1639
+ { name: "sparksQuantity", internalType: "uint256", type: "uint256" },
1640
+ { name: "referrer", internalType: "address", type: "address" }
1641
+ ],
1642
+ name: "sparkComment",
1643
+ outputs: []
1644
+ },
1645
+ {
1646
+ stateMutability: "view",
1647
+ type: "function",
1648
+ inputs: [],
1649
+ name: "sparkValue",
1650
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1651
+ },
1652
+ {
1653
+ stateMutability: "view",
1654
+ type: "function",
1655
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
1656
+ name: "supportsInterface",
1657
+ outputs: [{ name: "", internalType: "bool", type: "bool" }]
1658
+ },
1659
+ {
1660
+ stateMutability: "payable",
1661
+ type: "function",
1662
+ inputs: [
1663
+ { name: "newImplementation", internalType: "address", type: "address" },
1664
+ { name: "data", internalType: "bytes", type: "bytes" }
1665
+ ],
1666
+ name: "upgradeToAndCall",
1667
+ outputs: []
1668
+ },
1669
+ {
1670
+ type: "event",
1671
+ anonymous: false,
1672
+ inputs: [
1673
+ {
1674
+ name: "commentId",
1675
+ internalType: "bytes32",
1676
+ type: "bytes32",
1677
+ indexed: true
1678
+ },
1679
+ {
1680
+ name: "commentIdentifier",
1681
+ internalType: "struct IComments.CommentIdentifier",
1682
+ type: "tuple",
1683
+ components: [
1684
+ { name: "commenter", internalType: "address", type: "address" },
1685
+ { name: "contractAddress", internalType: "address", type: "address" },
1686
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1687
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1688
+ ],
1689
+ indexed: false
1690
+ },
1691
+ { name: "text", internalType: "string", type: "string", indexed: false },
1692
+ {
1693
+ name: "timestamp",
1694
+ internalType: "uint256",
1695
+ type: "uint256",
1696
+ indexed: false
1697
+ },
1698
+ {
1699
+ name: "originalTransactionId",
1700
+ internalType: "bytes32",
1701
+ type: "bytes32",
1702
+ indexed: false
1703
+ }
1704
+ ],
1705
+ name: "BackfilledComment"
1706
+ },
1707
+ {
1708
+ type: "event",
1709
+ anonymous: false,
1710
+ inputs: [
1711
+ {
1712
+ name: "commentId",
1713
+ internalType: "bytes32",
1714
+ type: "bytes32",
1715
+ indexed: true
1716
+ },
1717
+ {
1718
+ name: "commentIdentifier",
1719
+ internalType: "struct IComments.CommentIdentifier",
1720
+ type: "tuple",
1721
+ components: [
1722
+ { name: "commenter", internalType: "address", type: "address" },
1723
+ { name: "contractAddress", internalType: "address", type: "address" },
1724
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1725
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1726
+ ],
1727
+ indexed: false
1728
+ },
1729
+ {
1730
+ name: "replyToId",
1731
+ internalType: "bytes32",
1732
+ type: "bytes32",
1733
+ indexed: false
1734
+ },
1735
+ {
1736
+ name: "replyTo",
1737
+ internalType: "struct IComments.CommentIdentifier",
1738
+ type: "tuple",
1739
+ components: [
1740
+ { name: "commenter", internalType: "address", type: "address" },
1741
+ { name: "contractAddress", internalType: "address", type: "address" },
1742
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1743
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1744
+ ],
1745
+ indexed: false
1746
+ },
1747
+ {
1748
+ name: "sparksQuantity",
1749
+ internalType: "uint256",
1750
+ type: "uint256",
1751
+ indexed: false
1752
+ },
1753
+ { name: "text", internalType: "string", type: "string", indexed: false },
1754
+ {
1755
+ name: "timestamp",
1756
+ internalType: "uint256",
1757
+ type: "uint256",
1758
+ indexed: false
1759
+ },
1760
+ {
1761
+ name: "referrer",
1762
+ internalType: "address",
1763
+ type: "address",
1764
+ indexed: false
1765
+ }
1766
+ ],
1767
+ name: "Commented"
1768
+ },
1769
+ { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
1770
+ {
1771
+ type: "event",
1772
+ anonymous: false,
1773
+ inputs: [
1774
+ {
1775
+ name: "version",
1776
+ internalType: "uint64",
1777
+ type: "uint64",
1778
+ indexed: false
1779
+ }
1780
+ ],
1781
+ name: "Initialized"
1782
+ },
1783
+ {
1784
+ type: "event",
1785
+ anonymous: false,
1786
+ inputs: [
1787
+ { name: "role", internalType: "bytes32", type: "bytes32", indexed: true },
1788
+ {
1789
+ name: "previousAdminRole",
1790
+ internalType: "bytes32",
1791
+ type: "bytes32",
1792
+ indexed: true
1793
+ },
1794
+ {
1795
+ name: "newAdminRole",
1796
+ internalType: "bytes32",
1797
+ type: "bytes32",
1798
+ indexed: true
1799
+ }
1800
+ ],
1801
+ name: "RoleAdminChanged"
1802
+ },
1803
+ {
1804
+ type: "event",
1805
+ anonymous: false,
1806
+ inputs: [
1807
+ { name: "role", internalType: "bytes32", type: "bytes32", indexed: true },
1808
+ {
1809
+ name: "account",
1810
+ internalType: "address",
1811
+ type: "address",
1812
+ indexed: true
1813
+ },
1814
+ {
1815
+ name: "sender",
1816
+ internalType: "address",
1817
+ type: "address",
1818
+ indexed: true
1819
+ }
1820
+ ],
1821
+ name: "RoleGranted"
1822
+ },
1823
+ {
1824
+ type: "event",
1825
+ anonymous: false,
1826
+ inputs: [
1827
+ { name: "role", internalType: "bytes32", type: "bytes32", indexed: true },
1828
+ {
1829
+ name: "account",
1830
+ internalType: "address",
1831
+ type: "address",
1832
+ indexed: true
1833
+ },
1834
+ {
1835
+ name: "sender",
1836
+ internalType: "address",
1837
+ type: "address",
1838
+ indexed: true
1839
+ }
1840
+ ],
1841
+ name: "RoleRevoked"
1842
+ },
1843
+ {
1844
+ type: "event",
1845
+ anonymous: false,
1846
+ inputs: [
1847
+ {
1848
+ name: "commentId",
1849
+ internalType: "bytes32",
1850
+ type: "bytes32",
1851
+ indexed: true
1852
+ },
1853
+ {
1854
+ name: "commentIdentifier",
1855
+ internalType: "struct IComments.CommentIdentifier",
1856
+ type: "tuple",
1857
+ components: [
1858
+ { name: "commenter", internalType: "address", type: "address" },
1859
+ { name: "contractAddress", internalType: "address", type: "address" },
1860
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
1861
+ { name: "nonce", internalType: "bytes32", type: "bytes32" }
1862
+ ],
1863
+ indexed: false
1864
+ },
1865
+ {
1866
+ name: "sparksQuantity",
1867
+ internalType: "uint256",
1868
+ type: "uint256",
1869
+ indexed: false
1870
+ },
1871
+ {
1872
+ name: "sparker",
1873
+ internalType: "address",
1874
+ type: "address",
1875
+ indexed: false
1876
+ },
1877
+ {
1878
+ name: "timestamp",
1879
+ internalType: "uint256",
1880
+ type: "uint256",
1881
+ indexed: false
1882
+ },
1883
+ {
1884
+ name: "referrer",
1885
+ internalType: "address",
1886
+ type: "address",
1887
+ indexed: false
1888
+ }
1889
+ ],
1890
+ name: "SparkedComment"
1891
+ },
1892
+ {
1893
+ type: "event",
1894
+ anonymous: false,
1895
+ inputs: [
1896
+ {
1897
+ name: "implementation",
1898
+ internalType: "address",
1899
+ type: "address",
1900
+ indexed: true
1901
+ }
1902
+ ],
1903
+ name: "Upgraded"
1904
+ },
1905
+ { type: "error", inputs: [], name: "AccessControlBadConfirmation" },
1906
+ {
1907
+ type: "error",
1908
+ inputs: [
1909
+ { name: "account", internalType: "address", type: "address" },
1910
+ { name: "neededRole", internalType: "bytes32", type: "bytes32" }
1911
+ ],
1912
+ name: "AccessControlUnauthorizedAccount"
1913
+ },
1914
+ {
1915
+ type: "error",
1916
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
1917
+ name: "AddressEmptyCode"
1918
+ },
1919
+ { type: "error", inputs: [], name: "AddressZero" },
1920
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
1921
+ { type: "error", inputs: [], name: "CannotSparkOwnComment" },
1922
+ {
1923
+ type: "error",
1924
+ inputs: [
1925
+ { name: "commentAddress", internalType: "address", type: "address" },
1926
+ { name: "commentTokenId", internalType: "uint256", type: "uint256" },
1927
+ { name: "replyAddress", internalType: "address", type: "address" },
1928
+ { name: "replyTokenId", internalType: "uint256", type: "uint256" }
1929
+ ],
1930
+ name: "CommentAddressOrTokenIdsDoNotMatch"
1931
+ },
1932
+ { type: "error", inputs: [], name: "CommentDoesntExist" },
1933
+ {
1934
+ type: "error",
1935
+ inputs: [
1936
+ { name: "expected", internalType: "address", type: "address" },
1937
+ { name: "actual", internalType: "address", type: "address" }
1938
+ ],
1939
+ name: "CommenterMismatch"
1940
+ },
1941
+ {
1942
+ type: "error",
1943
+ inputs: [{ name: "commentId", internalType: "bytes32", type: "bytes32" }],
1944
+ name: "DuplicateComment"
1945
+ },
1946
+ {
1947
+ type: "error",
1948
+ inputs: [
1949
+ { name: "implementation", internalType: "address", type: "address" }
1950
+ ],
1951
+ name: "ERC1967InvalidImplementation"
1952
+ },
1953
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
1954
+ {
1955
+ type: "error",
1956
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
1957
+ name: "ERC2612ExpiredSignature"
1958
+ },
1959
+ { type: "error", inputs: [], name: "EmptyComment" },
1960
+ { type: "error", inputs: [], name: "FailedInnerCall" },
1961
+ {
1962
+ type: "error",
1963
+ inputs: [
1964
+ {
1965
+ name: "wrongDestinationChainId",
1966
+ internalType: "uint256",
1967
+ type: "uint256"
1968
+ }
1969
+ ],
1970
+ name: "IncorrectDestinationChain"
1971
+ },
1972
+ {
1973
+ type: "error",
1974
+ inputs: [
1975
+ { name: "actual", internalType: "uint256", type: "uint256" },
1976
+ { name: "expected", internalType: "uint256", type: "uint256" }
1977
+ ],
1978
+ name: "IncorrectETHAmountForSparks"
1979
+ },
1980
+ {
1981
+ type: "error",
1982
+ inputs: [
1983
+ { name: "account", internalType: "address", type: "address" },
1984
+ { name: "currentNonce", internalType: "bytes32", type: "bytes32" }
1985
+ ],
1986
+ name: "InvalidAccountNonce"
1987
+ },
1988
+ { type: "error", inputs: [], name: "InvalidInitialization" },
1989
+ { type: "error", inputs: [], name: "InvalidSignature" },
1990
+ { type: "error", inputs: [], name: "MustSendAtLeastOneSpark" },
1991
+ { type: "error", inputs: [], name: "NoFundsRecipient" },
1992
+ { type: "error", inputs: [], name: "NotInitializing" },
1993
+ { type: "error", inputs: [], name: "NotSmartWallet" },
1994
+ { type: "error", inputs: [], name: "NotSmartWalletOwner" },
1995
+ { type: "error", inputs: [], name: "NotTokenHolderOrAdmin" },
1996
+ { type: "error", inputs: [], name: "OnlySparksContract" },
1997
+ { type: "error", inputs: [], name: "TransferFailed" },
1998
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
1999
+ {
2000
+ type: "error",
2001
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
2002
+ name: "UUPSUnsupportedProxiableUUID"
2003
+ },
2004
+ {
2005
+ type: "error",
2006
+ inputs: [
2007
+ { name: "currentName", internalType: "string", type: "string" },
2008
+ { name: "newName", internalType: "string", type: "string" }
2009
+ ],
2010
+ name: "UpgradeToMismatchedContractName"
2011
+ }
2012
+ ];
2013
+ var commentsAddress = {
2014
+ 1: "0x7777777C2B3132e03a65721a41745C07170a5877",
2015
+ 10: "0x7777777C2B3132e03a65721a41745C07170a5877",
2016
+ 8453: "0x7777777C2B3132e03a65721a41745C07170a5877",
2017
+ 42161: "0x7777777C2B3132e03a65721a41745C07170a5877",
2018
+ 81457: "0x7777777C2B3132e03a65721a41745C07170a5877",
2019
+ 84532: "0x7777777C2B3132e03a65721a41745C07170a5877",
2020
+ 7777777: "0x7777777C2B3132e03a65721a41745C07170a5877",
2021
+ 11155111: "0x7777777C2B3132e03a65721a41745C07170a5877",
2022
+ 11155420: "0x7777777C2B3132e03a65721a41745C07170a5877",
2023
+ 999999999: "0x7777777C2B3132e03a65721a41745C07170a5877"
2024
+ };
2025
+ var commentsConfig = {
2026
+ address: commentsAddress,
2027
+ abi: commentsABI
2028
+ };
13
2029
  var erc20MinterABI = [
14
2030
  {
15
2031
  stateMutability: "nonpayable",
@@ -1544,6 +3560,7 @@ var erc20ZRoyaltiesAddress = {
1544
3560
  42161: "0x77777771DF91C56c5468746E80DFA8b880f9719F",
1545
3561
  81457: "0x77777771DF91C56c5468746E80DFA8b880f9719F",
1546
3562
  84532: "0x77777771DF91C56c5468746E80DFA8b880f9719F",
3563
+ 421614: "0x77777771DF91C56c5468746E80DFA8b880f9719F",
1547
3564
  7777777: "0x77777771DF91C56c5468746E80DFA8b880f9719F",
1548
3565
  11155111: "0x53a85FbD2955EF713AA489Ae0C48523E727a0c07",
1549
3566
  999999999: "0x77777771DF91C56c5468746E80DFA8b880f9719F"
@@ -2326,6 +4343,7 @@ var secondarySwapAddress = {
2326
4343
  42161: "0x777777EDF27Ac61671e3D5718b10bf6a8802f9f1",
2327
4344
  81457: "0x777777EDF27Ac61671e3D5718b10bf6a8802f9f1",
2328
4345
  84532: "0x777777EDF27Ac61671e3D5718b10bf6a8802f9f1",
4346
+ 421614: "0x777777794a6e310F2A55da6f157b16ED28Fa5D91",
2329
4347
  7777777: "0x777777EDF27Ac61671e3D5718b10bf6a8802f9f1",
2330
4348
  11155111: "0x777777EDF27Ac61671e3D5718b10bf6a8802f9f1",
2331
4349
  999999999: "0x777777EDF27Ac61671e3D5718b10bf6a8802f9f1"
@@ -3098,6 +5116,7 @@ var wethAddress = {
3098
5116
  421614: "0xc556bAe1e86B2aE9c22eA5E036b07E55E7596074",
3099
5117
  7777777: "0x4200000000000000000000000000000000000006",
3100
5118
  11155111: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
5119
+ 11155420: "0x4200000000000000000000000000000000000006",
3101
5120
  999999999: "0x4200000000000000000000000000000000000006"
3102
5121
  };
3103
5122
  var wethConfig = { address: wethAddress, abi: wethABI };
@@ -4138,6 +6157,13 @@ var zoraCreator1155ImplABI = [
4138
6157
  { name: "__gap3", internalType: "uint96", type: "uint96" }
4139
6158
  ]
4140
6159
  },
6160
+ {
6161
+ stateMutability: "view",
6162
+ type: "function",
6163
+ inputs: [],
6164
+ name: "contractName",
6165
+ outputs: [{ name: "", internalType: "string", type: "string" }]
6166
+ },
4141
6167
  {
4142
6168
  stateMutability: "view",
4143
6169
  type: "function",
@@ -9960,6 +11986,13 @@ var zoraTimedSaleStrategyABI = [
9960
11986
  { name: "createReferral", internalType: "address", type: "address" }
9961
11987
  ]
9962
11988
  },
11989
+ {
11990
+ stateMutability: "view",
11991
+ type: "function",
11992
+ inputs: [],
11993
+ name: "implementation",
11994
+ outputs: [{ name: "", internalType: "address", type: "address" }]
11995
+ },
9963
11996
  {
9964
11997
  stateMutability: "nonpayable",
9965
11998
  type: "function",
@@ -10637,6 +12670,7 @@ var zoraTimedSaleStrategyAddress = {
10637
12670
  42161: "0x777777722D078c97c6ad07d9f36801e653E356Ae",
10638
12671
  81457: "0x777777722D078c97c6ad07d9f36801e653E356Ae",
10639
12672
  84532: "0x777777722D078c97c6ad07d9f36801e653E356Ae",
12673
+ 421614: "0x777777722D078c97c6ad07d9f36801e653E356Ae",
10640
12674
  7777777: "0x777777722D078c97c6ad07d9f36801e653E356Ae",
10641
12675
  11155111: "0x777777722D078c97c6ad07d9f36801e653E356Ae",
10642
12676
  999999999: "0x777777722D078c97c6ad07d9f36801e653E356Ae"
@@ -10646,6 +12680,55 @@ var zoraTimedSaleStrategyConfig = {
10646
12680
  abi: zoraTimedSaleStrategyABI
10647
12681
  };
10648
12682
 
12683
+ // ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/errors/unit.js
12684
+ var InvalidDecimalNumberError = class extends BaseError {
12685
+ constructor({ value }) {
12686
+ super(`Number \`${value}\` is not a valid decimal number.`, {
12687
+ name: "InvalidDecimalNumberError"
12688
+ });
12689
+ }
12690
+ };
12691
+
12692
+ // ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/unit/parseUnits.js
12693
+ function parseUnits(value, decimals) {
12694
+ if (!/^(-?)([0-9]*)\.?([0-9]*)$/.test(value))
12695
+ throw new InvalidDecimalNumberError({ value });
12696
+ let [integer, fraction = "0"] = value.split(".");
12697
+ const negative = integer.startsWith("-");
12698
+ if (negative)
12699
+ integer = integer.slice(1);
12700
+ fraction = fraction.replace(/(0+)$/, "");
12701
+ if (decimals === 0) {
12702
+ if (Math.round(Number(`.${fraction}`)) === 1)
12703
+ integer = `${BigInt(integer) + 1n}`;
12704
+ fraction = "";
12705
+ } else if (fraction.length > decimals) {
12706
+ const [left, unit, right] = [
12707
+ fraction.slice(0, decimals - 1),
12708
+ fraction.slice(decimals - 1, decimals),
12709
+ fraction.slice(decimals)
12710
+ ];
12711
+ const rounded = Math.round(Number(`${unit}.${right}`));
12712
+ if (rounded > 9)
12713
+ fraction = `${BigInt(left) + BigInt(1)}0`.padStart(left.length + 1, "0");
12714
+ else
12715
+ fraction = `${left}${rounded}`;
12716
+ if (fraction.length > decimals) {
12717
+ fraction = fraction.slice(1);
12718
+ integer = `${BigInt(integer) + 1n}`;
12719
+ }
12720
+ fraction = fraction.slice(0, decimals);
12721
+ } else {
12722
+ fraction = fraction.padEnd(decimals, "0");
12723
+ }
12724
+ return BigInt(`${negative ? "-" : ""}${integer}${fraction}`);
12725
+ }
12726
+
12727
+ // ../../node_modules/.pnpm/viem@2.21.21_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/unit/parseEther.js
12728
+ function parseEther(ether, unit = "wei") {
12729
+ return parseUnits(ether, etherUnits[unit]);
12730
+ }
12731
+
10649
12732
  // src/types.ts
10650
12733
  var PremintConfigVersion = /* @__PURE__ */ ((PremintConfigVersion2) => {
10651
12734
  PremintConfigVersion2["V1"] = "1";
@@ -10653,6 +12736,16 @@ var PremintConfigVersion = /* @__PURE__ */ ((PremintConfigVersion2) => {
10653
12736
  PremintConfigVersion2["V3"] = "3";
10654
12737
  return PremintConfigVersion2;
10655
12738
  })(PremintConfigVersion || {});
12739
+ var emptyCommentIdentifier = () => {
12740
+ const zeroAddress = "0x0000000000000000000000000000000000000000";
12741
+ const zeroHash = "0x0000000000000000000000000000000000000000000000000000000000000000";
12742
+ return {
12743
+ commenter: zeroAddress,
12744
+ contractAddress: zeroAddress,
12745
+ tokenId: 0n,
12746
+ nonce: zeroHash
12747
+ };
12748
+ };
10656
12749
 
10657
12750
  // src/typedData.ts
10658
12751
  var premintTypedDataDomain = ({
@@ -10943,6 +13036,146 @@ var sponsoredSparksBatchTypedDataDefinition = ({
10943
13036
  verifyingContract: sponsoredSparksSpenderAddress[chainId]
10944
13037
  }
10945
13038
  });
13039
+ var commentIdentifierType = [
13040
+ { name: "contractAddress", type: "address" },
13041
+ { name: "tokenId", type: "uint256" },
13042
+ { name: "commenter", type: "address" },
13043
+ { name: "nonce", type: "bytes32" }
13044
+ ];
13045
+ var commentsDomain = ({
13046
+ signingChainId,
13047
+ destinationChainId
13048
+ }) => ({
13049
+ chainId: signingChainId,
13050
+ name: "Comments",
13051
+ version: "1",
13052
+ verifyingContract: commentsAddress[destinationChainId]
13053
+ });
13054
+ var permitCommentTypedDataDefinition = (message, signingAccount) => {
13055
+ const permitCommentTypedDataType = {
13056
+ PermitComment: [
13057
+ { name: "contractAddress", type: "address" },
13058
+ { name: "tokenId", type: "uint256" },
13059
+ { name: "commenter", type: "address" },
13060
+ { name: "replyTo", type: "CommentIdentifier" },
13061
+ { name: "text", type: "string" },
13062
+ { name: "deadline", type: "uint256" },
13063
+ { name: "nonce", type: "bytes32" },
13064
+ { name: "commenterSmartWallet", type: "address" },
13065
+ { name: "referrer", type: "address" },
13066
+ { name: "sourceChainId", type: "uint32" },
13067
+ { name: "destinationChainId", type: "uint32" }
13068
+ ],
13069
+ CommentIdentifier: commentIdentifierType
13070
+ };
13071
+ return {
13072
+ types: permitCommentTypedDataType,
13073
+ message,
13074
+ primaryType: "PermitComment",
13075
+ domain: commentsDomain({
13076
+ signingChainId: message.sourceChainId,
13077
+ destinationChainId: message.destinationChainId
13078
+ }),
13079
+ account: signingAccount || message.commenter
13080
+ };
13081
+ };
13082
+ var permitSparkCommentTypedDataDefinition = (message, signingAccount) => {
13083
+ const permitSparkCommentTypedDataType = {
13084
+ PermitSparkComment: [
13085
+ { name: "comment", type: "CommentIdentifier" },
13086
+ { name: "sparker", type: "address" },
13087
+ { name: "sparksQuantity", type: "uint256" },
13088
+ { name: "deadline", type: "uint256" },
13089
+ { name: "nonce", type: "bytes32" },
13090
+ { name: "referrer", type: "address" },
13091
+ { name: "sourceChainId", type: "uint32" },
13092
+ { name: "destinationChainId", type: "uint32" }
13093
+ ],
13094
+ CommentIdentifier: commentIdentifierType
13095
+ };
13096
+ return {
13097
+ types: permitSparkCommentTypedDataType,
13098
+ message,
13099
+ primaryType: "PermitSparkComment",
13100
+ domain: commentsDomain({
13101
+ signingChainId: message.sourceChainId,
13102
+ destinationChainId: message.destinationChainId
13103
+ }),
13104
+ account: signingAccount || message.sparker
13105
+ };
13106
+ };
13107
+ var sparkValue = () => parseEther("0.000001");
13108
+ var permitMintAndCommentTypedDataDefinition = (message, signingAccount) => {
13109
+ const permitTimedSaleMintAndCommentTypedDataType = {
13110
+ PermitTimedSaleMintAndComment: [
13111
+ { name: "commenter", type: "address" },
13112
+ { name: "quantity", type: "uint256" },
13113
+ { name: "collection", type: "address" },
13114
+ { name: "tokenId", type: "uint256" },
13115
+ { name: "mintReferral", type: "address" },
13116
+ { name: "comment", type: "string" },
13117
+ { name: "deadline", type: "uint256" },
13118
+ { name: "nonce", type: "bytes32" },
13119
+ { name: "sourceChainId", type: "uint32" },
13120
+ { name: "destinationChainId", type: "uint32" }
13121
+ ]
13122
+ };
13123
+ const callerAndCommenterDomain = ({
13124
+ signingChainId,
13125
+ destinationChainId
13126
+ }) => ({
13127
+ name: "CallerAndCommenter",
13128
+ version: "1",
13129
+ chainId: signingChainId,
13130
+ verifyingContract: callerAndCommenterAddress[destinationChainId]
13131
+ });
13132
+ return {
13133
+ types: permitTimedSaleMintAndCommentTypedDataType,
13134
+ message,
13135
+ primaryType: "PermitTimedSaleMintAndComment",
13136
+ domain: callerAndCommenterDomain({
13137
+ signingChainId: message.sourceChainId,
13138
+ destinationChainId: message.destinationChainId
13139
+ }),
13140
+ account: signingAccount || message.commenter
13141
+ };
13142
+ };
13143
+ var permitBuyOnSecondaryAndCommentTypedDataDefinition = (message, signingAccount) => {
13144
+ const permitBuyOnSecondaryAndCommentTypedDataType = {
13145
+ PermitBuyOnSecondaryAndComment: [
13146
+ { name: "commenter", type: "address" },
13147
+ { name: "quantity", type: "uint256" },
13148
+ { name: "collection", type: "address" },
13149
+ { name: "tokenId", type: "uint256" },
13150
+ { name: "maxEthToSpend", type: "uint256" },
13151
+ { name: "sqrtPriceLimitX96", type: "uint160" },
13152
+ { name: "comment", type: "string" },
13153
+ { name: "deadline", type: "uint256" },
13154
+ { name: "nonce", type: "bytes32" },
13155
+ { name: "sourceChainId", type: "uint32" },
13156
+ { name: "destinationChainId", type: "uint32" }
13157
+ ]
13158
+ };
13159
+ const callerAndCommenterDomain = ({
13160
+ signingChainId,
13161
+ destinationChainId
13162
+ }) => ({
13163
+ name: "CallerAndCommenter",
13164
+ version: "1",
13165
+ chainId: signingChainId,
13166
+ verifyingContract: callerAndCommenterAddress[destinationChainId]
13167
+ });
13168
+ return {
13169
+ types: permitBuyOnSecondaryAndCommentTypedDataType,
13170
+ message,
13171
+ primaryType: "PermitBuyOnSecondaryAndComment",
13172
+ domain: callerAndCommenterDomain({
13173
+ signingChainId: message.sourceChainId,
13174
+ destinationChainId: message.destinationChainId
13175
+ }),
13176
+ account: signingAccount || message.commenter
13177
+ };
13178
+ };
10946
13179
 
10947
13180
  // src/encoding.ts
10948
13181
  var safeTransferSwapAbiParameters = [
@@ -11035,10 +13268,10 @@ var addresses = {
11035
13268
  timestamp: 1730734767
11036
13269
  },
11037
13270
  10: {
11038
- CONTRACT_1155_IMPL: "0x00802284A7976cE5bd200c7aBA2a8A8Fd52cFf1d",
11039
- CONTRACT_1155_IMPL_VERSION: "2.13.0",
13271
+ CONTRACT_1155_IMPL: "0xF77330C8b1c41f2e44470763Cf9E3ACa78Db4381",
13272
+ CONTRACT_1155_IMPL_VERSION: "2.13.2",
11040
13273
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
11041
- FACTORY_IMPL: "0x26B92D5f3F81Bda06ea93619C535948131538bda",
13274
+ FACTORY_IMPL: "0x2008C05685F9fA15BBD75d80e9A44ab0c7230577",
11042
13275
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
11043
13276
  FIXED_PRICE_SALE_STRATEGY: "0x3678862f04290E565cCA2EF163BAeb92Bb76790C",
11044
13277
  MERKLE_MINT_SALE_STRATEGY: "0x899ce31dF6C6Af81203AcAaD285bF539234eF4b8",
@@ -11046,7 +13279,7 @@ var addresses = {
11046
13279
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
11047
13280
  REDEEM_MINTER_FACTORY: "0x1B28A04b7eB7b93f920ddF2021aa3fAE065395f2",
11048
13281
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
11049
- timestamp: 1729791004
13282
+ timestamp: 1731019615
11050
13283
  },
11051
13284
  999: {
11052
13285
  CONTRACT_1155_IMPL: "0x2022AdEF470DA3543a19fac8c9be80618112704D",
@@ -11062,10 +13295,10 @@ var addresses = {
11062
13295
  timestamp: 1704399834
11063
13296
  },
11064
13297
  8453: {
11065
- CONTRACT_1155_IMPL: "0x57f412Ea90b59ce4023AFDE95C251E3c747EB7F8",
11066
- CONTRACT_1155_IMPL_VERSION: "2.13.0",
13298
+ CONTRACT_1155_IMPL: "0x5Eb5bABCEFEa846b220C82f222F00Df95934F5f0",
13299
+ CONTRACT_1155_IMPL_VERSION: "2.13.2",
11067
13300
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
11068
- FACTORY_IMPL: "0xc6bf69986859f0dC0b77f2cA6AD86F5b294c0443",
13301
+ FACTORY_IMPL: "0x97898683c6950a986911fdfFEa12739bad5D2581",
11069
13302
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
11070
13303
  FIXED_PRICE_SALE_STRATEGY: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
11071
13304
  MERKLE_MINT_SALE_STRATEGY: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
@@ -11073,13 +13306,13 @@ var addresses = {
11073
13306
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
11074
13307
  REDEEM_MINTER_FACTORY: "0x78964965cF77850224513a367f899435C5B69174",
11075
13308
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
11076
- timestamp: 1729791239
13309
+ timestamp: 1730931491
11077
13310
  },
11078
13311
  42161: {
11079
- CONTRACT_1155_IMPL: "0xCf0B4Acab081169D12b729c3Bd1c6E7bbAB820Da",
11080
- CONTRACT_1155_IMPL_VERSION: "2.13.0",
13312
+ CONTRACT_1155_IMPL: "0xC04050e04708b33302E30E5A0fB1e8c38F4EBbB0",
13313
+ CONTRACT_1155_IMPL_VERSION: "2.13.2",
11081
13314
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
11082
- FACTORY_IMPL: "0x8a5027ea12f45a13deb6CB96A07913c6e192BE84",
13315
+ FACTORY_IMPL: "0xe2606ac30752009ecec6FEaf5C2B4A6523256E7E",
11083
13316
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
11084
13317
  FIXED_PRICE_SALE_STRATEGY: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
11085
13318
  MERKLE_MINT_SALE_STRATEGY: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
@@ -11087,13 +13320,13 @@ var addresses = {
11087
13320
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
11088
13321
  REDEEM_MINTER_FACTORY: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
11089
13322
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
11090
- timestamp: 1730736352
13323
+ timestamp: 1730931657
11091
13324
  },
11092
13325
  81457: {
11093
- CONTRACT_1155_IMPL: "0x7B59c0378F540c0356A5DAEF7574255A7C74EC76",
11094
- CONTRACT_1155_IMPL_VERSION: "2.13.0",
13326
+ CONTRACT_1155_IMPL: "0x16cFE884B49E68Cae854f12Ea419Fb1F6Ad290A8",
13327
+ CONTRACT_1155_IMPL_VERSION: "2.13.2",
11095
13328
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
11096
- FACTORY_IMPL: "0x073ef87C54c192c21ddEf881fE18064b6161fAC9",
13329
+ FACTORY_IMPL: "0x23150f60E233F519A01C735C29c1591f9E8353dE",
11097
13330
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
11098
13331
  FIXED_PRICE_SALE_STRATEGY: "0x3EB144aee170BF62FdA1536e38aF51f08e34A5D0",
11099
13332
  MERKLE_MINT_SALE_STRATEGY: "0xB9C997FcC46a27331CC986cc2416ee99C1d506c3",
@@ -11101,13 +13334,13 @@ var addresses = {
11101
13334
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
11102
13335
  REDEEM_MINTER_FACTORY: "0x7A0dE1B1f5420Df5D946878fBe2cF109011BE614",
11103
13336
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
11104
- timestamp: 1730736883
13337
+ timestamp: 1730931749
11105
13338
  },
11106
13339
  84532: {
11107
- CONTRACT_1155_IMPL: "0xDD3295D6A2e772Bd3208c3d43a783533505a1EED",
11108
- CONTRACT_1155_IMPL_VERSION: "2.13.0",
13340
+ CONTRACT_1155_IMPL: "0x695C9A141748D308d26Bd4f8E9F9A5df5F0623f8",
13341
+ CONTRACT_1155_IMPL_VERSION: "2.13.2",
11109
13342
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
11110
- FACTORY_IMPL: "0xF3a46845548bE811Ce37e65153563f4a0AaEbe31",
13343
+ FACTORY_IMPL: "0xd92F69d5581BF9536c77550aeA1d74DDaE88B5B7",
11111
13344
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
11112
13345
  FIXED_PRICE_SALE_STRATEGY: "0xd34872BE0cdb6b09d45FCa067B07f04a1A9aE1aE",
11113
13346
  MERKLE_MINT_SALE_STRATEGY: "0x3E8524770adD176bE381a0529E09f1c6c3502A5a",
@@ -11115,13 +13348,13 @@ var addresses = {
11115
13348
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
11116
13349
  REDEEM_MINTER_FACTORY: "0x805E0a08dE70f85C01F7848370d5e3fc08aAd0ea",
11117
13350
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
11118
- timestamp: 1729790653
13351
+ timestamp: 1730928936
11119
13352
  },
11120
13353
  421614: {
11121
- CONTRACT_1155_IMPL: "0x8a5027ea12f45a13deb6CB96A07913c6e192BE84",
11122
- CONTRACT_1155_IMPL_VERSION: "2.13.0",
13354
+ CONTRACT_1155_IMPL: "0x3Ed969bf88166B85608C13b633242611F6220a14",
13355
+ CONTRACT_1155_IMPL_VERSION: "2.13.2",
11123
13356
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
11124
- FACTORY_IMPL: "0x1Eb7Bf3a08784D7cB08CC2AE1448012C0c02bDa2",
13357
+ FACTORY_IMPL: "0xA75f980Fdf9F02718423FDFDFf1fccc74bdDBa95",
11125
13358
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
11126
13359
  FIXED_PRICE_SALE_STRATEGY: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
11127
13360
  MERKLE_MINT_SALE_STRATEGY: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
@@ -11129,13 +13362,13 @@ var addresses = {
11129
13362
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
11130
13363
  REDEEM_MINTER_FACTORY: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
11131
13364
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
11132
- timestamp: 1730737132
13365
+ timestamp: 1730928848
11133
13366
  },
11134
13367
  7777777: {
11135
- CONTRACT_1155_IMPL: "0xf81C36213FB217c756504B56133b2c3CD4FbCBf9",
11136
- CONTRACT_1155_IMPL_VERSION: "2.13.0",
13368
+ CONTRACT_1155_IMPL: "0xDB07C4525E82340A27077Ad258160928f271BB7F",
13369
+ CONTRACT_1155_IMPL_VERSION: "2.13.2",
11137
13370
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
11138
- FACTORY_IMPL: "0x64311A0AE41Ec5A804cdC87F826B646Afd131F24",
13371
+ FACTORY_IMPL: "0x517Ce60C6e66a4DB1ea705C98250770d01f9d0AE",
11139
13372
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
11140
13373
  FIXED_PRICE_SALE_STRATEGY: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
11141
13374
  MERKLE_MINT_SALE_STRATEGY: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
@@ -11143,13 +13376,13 @@ var addresses = {
11143
13376
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
11144
13377
  REDEEM_MINTER_FACTORY: "0x78964965cF77850224513a367f899435C5B69174",
11145
13378
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
11146
- timestamp: 1729790913
13379
+ timestamp: 1730930939
11147
13380
  },
11148
13381
  11155111: {
11149
- CONTRACT_1155_IMPL: "0xe22C5ce67dc5077ca115FBe6ddbed1FB2703B125",
11150
- CONTRACT_1155_IMPL_VERSION: "2.13.0",
13382
+ CONTRACT_1155_IMPL: "0x9b24FD165a371042e5CA81e8d066d25CAD11EDE7",
13383
+ CONTRACT_1155_IMPL_VERSION: "2.13.2",
11151
13384
  ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
11152
- FACTORY_IMPL: "0x54A6a778ee0E5Cefc70C3963018606D4DF8Be960",
13385
+ FACTORY_IMPL: "0x3AE2804De4A54283601Db24a897856D9772eA0D8",
11153
13386
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
11154
13387
  FIXED_PRICE_SALE_STRATEGY: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
11155
13388
  MERKLE_MINT_SALE_STRATEGY: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
@@ -11157,7 +13390,7 @@ var addresses = {
11157
13390
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
11158
13391
  REDEEM_MINTER_FACTORY: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
11159
13392
  UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
11160
- timestamp: 1729790809
13393
+ timestamp: 1730928528
11161
13394
  },
11162
13395
  168587773: {
11163
13396
  CONTRACT_1155_IMPL: "0x192D663C3D6813a24a24582A76B8d872c4F6F7f9",
@@ -11174,10 +13407,10 @@ var addresses = {
11174
13407
  timestamp: 1722525339
11175
13408
  },
11176
13409
  999999999: {
11177
- CONTRACT_1155_IMPL: "0x78C5f846e1dfBdbAD7AD4B3010233757aB2A1e9B",
11178
- CONTRACT_1155_IMPL_VERSION: "2.13.0",
13410
+ CONTRACT_1155_IMPL: "0x695C9A141748D308d26Bd4f8E9F9A5df5F0623f8",
13411
+ CONTRACT_1155_IMPL_VERSION: "2.13.2",
11179
13412
  ERC20_MINTER: "0x8Ec7f068A77fa5FC1925110f82381374BA054Ff2",
11180
- FACTORY_IMPL: "0xfE55eF381A32fE9B8fE287a5CEB0A05A9873a018",
13413
+ FACTORY_IMPL: "0xd92F69d5581BF9536c77550aeA1d74DDaE88B5B7",
11181
13414
  FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
11182
13415
  FIXED_PRICE_SALE_STRATEGY: "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
11183
13416
  MERKLE_MINT_SALE_STRATEGY: "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
@@ -11185,7 +13418,7 @@ var addresses = {
11185
13418
  PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
11186
13419
  REDEEM_MINTER_FACTORY: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
11187
13420
  UPGRADE_GATE: "0x0000000000000000000000000000000000000000",
11188
- timestamp: 1729790544
13421
+ timestamp: 1730928726
11189
13422
  }
11190
13423
  };
11191
13424
 
@@ -11259,6 +13492,13 @@ var chainConfigs2 = {
11259
13492
  ZORA_RECIPIENT: "0xCE9F2e8EaFa11637F8A1CB60AE8AaC601Ae30f2D",
11260
13493
  WETH: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9"
11261
13494
  },
13495
+ 11155420: {
13496
+ NONFUNGIBLE_POSITION_MANAGER: "0xdA75cEf1C93078e8b736FCA5D5a30adb97C8957d",
13497
+ UNISWAP_SWAP_ROUTER: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
13498
+ PROXY_ADMIN: "0xFA3748b2dcF94a9CBdb5087333E9F093476e8389",
13499
+ ZORA_RECIPIENT: "0xFA3748b2dcF94a9CBdb5087333E9F093476e8389",
13500
+ WETH: "0x4200000000000000000000000000000000000006"
13501
+ },
11262
13502
  999999999: {
11263
13503
  NONFUNGIBLE_POSITION_MANAGER: "0xB8458EaAe43292e3c1F7994EFd016bd653d23c20",
11264
13504
  UNISWAP_SWAP_ROUTER: "0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a",
@@ -11328,7 +13568,14 @@ var addresses2 = {
11328
13568
  };
11329
13569
  export {
11330
13570
  PremintConfigVersion,
13571
+ callerAndCommenterABI,
13572
+ callerAndCommenterAddress,
13573
+ callerAndCommenterConfig,
13574
+ commentsABI,
13575
+ commentsAddress,
13576
+ commentsConfig,
11331
13577
  __exports as contracts1155,
13578
+ emptyCommentIdentifier,
11332
13579
  encodePremintConfig,
11333
13580
  erc20MinterABI,
11334
13581
  erc20MinterAddress,
@@ -11345,6 +13592,10 @@ export {
11345
13592
  mintsEthUnwrapperAndCallerConfig,
11346
13593
  mintsSafeTransferBatchTypedDataDefinition,
11347
13594
  mintsSafeTransferTypedDataDefinition,
13595
+ permitBuyOnSecondaryAndCommentTypedDataDefinition,
13596
+ permitCommentTypedDataDefinition,
13597
+ permitMintAndCommentTypedDataDefinition,
13598
+ permitSparkCommentTypedDataDefinition,
11348
13599
  premintTypedDataDefinition,
11349
13600
  premintV1TypedDataDefinition,
11350
13601
  premintV2TypedDataDefinition,
@@ -11355,6 +13606,7 @@ export {
11355
13606
  secondarySwapABI,
11356
13607
  secondarySwapAddress,
11357
13608
  secondarySwapConfig,
13609
+ sparkValue,
11358
13610
  sparks_exports as sparks,
11359
13611
  sponsoredSparksBatchTransferTypedDataType,
11360
13612
  sponsoredSparksBatchTypedDataDefinition,