@zoralabs/comments-contracts 0.0.1 → 0.0.2-COMMENTS.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/.turbo/turbo-build.log +48 -30
  2. package/CHANGELOG.md +8 -0
  3. package/README.md +10 -39
  4. package/abis/AddDelegateCommenterRole.json +22 -0
  5. package/abis/CallerAndCommenter.json +62 -0
  6. package/abis/CallerAndCommenterImpl.json +1218 -0
  7. package/abis/CallerAndCommenterMintAndCommentTest.json +771 -0
  8. package/abis/CallerAndCommenterSwapAndCommentTest.json +844 -0
  9. package/abis/CallerAndCommenterTestBase.json +577 -0
  10. package/abis/CommentsImpl.json +189 -59
  11. package/abis/CommentsImplConstants.json +106 -0
  12. package/abis/CommentsPermitTest.json +26 -6
  13. package/abis/CommentsTest.json +58 -10
  14. package/abis/Comments_mintAndCommentTest.json +11 -4
  15. package/abis/Comments_smartWallet.json +711 -0
  16. package/abis/DeployCallerAndCommenterImpl.json +22 -0
  17. package/abis/EIP712Upgradeable.json +74 -0
  18. package/abis/EIP712UpgradeableWithChainId.json +49 -0
  19. package/abis/ERC20.json +310 -0
  20. package/abis/ICallerAndCommenter.json +797 -0
  21. package/abis/IComments.json +629 -9
  22. package/abis/IERC20.json +39 -42
  23. package/abis/IERC20Metadata.json +224 -0
  24. package/abis/IMultiOwnable.json +21 -0
  25. package/abis/IProtocolRewards.json +19 -0
  26. package/abis/ISecondarySwap.json +45 -0
  27. package/abis/IZoraCreator1155.json +51 -0
  28. package/abis/IZoraTimedSaleStrategy.json +91 -0
  29. package/abis/Mock1155.json +75 -1
  30. package/abis/Mock1155NoCreatorRewardRecipient.json +605 -0
  31. package/abis/Mock1155NoOwner.json +566 -0
  32. package/abis/{MockMinter.json → MockDelegateCommenter.json} +12 -2
  33. package/abis/MockERC20z.json +315 -0
  34. package/abis/MockMultiOwnable.json +212 -0
  35. package/abis/MockSecondarySwap.json +95 -0
  36. package/abis/MockZoraTimedSale.json +139 -0
  37. package/abis/Ownable2StepUpgradeable.json +138 -0
  38. package/abis/UnorderedNoncesUpgradeable.json +4 -4
  39. package/addresses/10.json +9 -0
  40. package/addresses/11155111.json +9 -0
  41. package/addresses/11155420.json +9 -0
  42. package/addresses/42161.json +9 -0
  43. package/addresses/7777777.json +9 -0
  44. package/addresses/8453.json +9 -0
  45. package/addresses/84532.json +9 -0
  46. package/addresses/999999999.json +7 -2
  47. package/deterministicConfig/callerAndCommenter.json +8 -0
  48. package/deterministicConfig/comments.json +2 -2
  49. package/dist/index.cjs +724 -35
  50. package/dist/index.cjs.map +1 -1
  51. package/dist/index.js +723 -35
  52. package/dist/index.js.map +1 -1
  53. package/dist/types.d.ts +1 -1
  54. package/dist/types.d.ts.map +1 -1
  55. package/dist/wagmiGenerated.d.ts +1102 -57
  56. package/dist/wagmiGenerated.d.ts.map +1 -1
  57. package/package/types.ts +4 -1
  58. package/package/wagmiGenerated.ts +728 -32
  59. package/package.json +11 -10
  60. package/script/AddDelegateCommenterRole.s.sol +24 -0
  61. package/script/CommentsDeployerBase.sol +101 -19
  62. package/script/Deploy.s.sol +2 -44
  63. package/script/DeployCallerAndCommenterImpl.s.sol +27 -0
  64. package/script/DeployImpl.s.sol +1 -0
  65. package/script/DeployNonDeterministic.s.sol +22 -13
  66. package/script/GenerateDeterministicParams.s.sol +32 -4
  67. package/scripts/generateCommentsTestData.ts +170 -79
  68. package/src/CommentsImpl.sol +267 -134
  69. package/src/CommentsImplConstants.sol +44 -0
  70. package/src/interfaces/ICallerAndCommenter.sol +215 -0
  71. package/src/interfaces/IComments.sol +189 -42
  72. package/src/interfaces/IMultiOwnable.sol +10 -0
  73. package/src/interfaces/ISecondarySwap.sol +40 -0
  74. package/src/interfaces/IZoraCreator1155.sol +6 -1
  75. package/src/interfaces/IZoraCreator1155TypesV1.sol +46 -0
  76. package/src/interfaces/IZoraTimedSaleStrategy.sol +25 -0
  77. package/src/proxy/CallerAndCommenter.sol +43 -0
  78. package/src/utils/CallerAndCommenterImpl.sol +376 -0
  79. package/src/utils/EIP712UpgradeableWithChainId.sol +12 -23
  80. package/src/version/ContractVersionBase.sol +1 -1
  81. package/test/CallerAndCommenterTestBase.sol +77 -0
  82. package/test/CallerAndCommenter_mintAndComment.t copy.sol +214 -0
  83. package/test/CallerAndCommenter_swapAndComment.t.sol +523 -0
  84. package/test/Comments.t.sol +166 -29
  85. package/test/CommentsTestBase.sol +12 -20
  86. package/test/Comments_delegateComment.t.sol +129 -0
  87. package/test/Comments_permit.t.sol +131 -44
  88. package/test/Comments_smartWallet.t.sol +152 -0
  89. package/test/mocks/Mock1155.sol +12 -1
  90. package/test/mocks/Mock1155NoCreatorRewardRecipient.sol +65 -0
  91. package/test/mocks/Mock1155NoOwner.sol +53 -0
  92. package/test/mocks/MockDelegateCommenter.sol +36 -0
  93. package/test/mocks/MockIZoraCreator1155.sol +16 -0
  94. package/test/mocks/MockSecondarySwap.sol +30 -0
  95. package/test/mocks/MockZoraTimedSale.sol +38 -0
  96. package/wagmi.config.ts +3 -1
  97. package/scripts/backfillComments.ts +0 -176
  98. package/scripts/queries.ts +0 -73
  99. package/scripts/queryAndSaveComments.ts +0 -48
  100. package/scripts/queryQuantityOfComments.ts +0 -53
  101. package/scripts/writeComments.ts +0 -198
  102. package/src/deployments/CommentsDeployment.sol +0 -14
  103. package/test/Comments_mintAndComment.t.sol +0 -101
  104. package/test/mocks/MockMinter.sol +0 -29
@@ -1,3 +1,945 @@
1
+ export declare const callerAndCommenterImplABI: readonly [{
2
+ readonly stateMutability: "nonpayable";
3
+ readonly type: "constructor";
4
+ readonly inputs: readonly [{
5
+ readonly name: "_comments";
6
+ readonly internalType: "address";
7
+ readonly type: "address";
8
+ }, {
9
+ readonly name: "_zoraTimedSale";
10
+ readonly internalType: "address";
11
+ readonly type: "address";
12
+ }, {
13
+ readonly name: "_swapHelper";
14
+ readonly internalType: "address";
15
+ readonly type: "address";
16
+ }, {
17
+ readonly name: "_sparksValue";
18
+ readonly internalType: "uint256";
19
+ readonly type: "uint256";
20
+ }];
21
+ }, {
22
+ readonly stateMutability: "view";
23
+ readonly type: "function";
24
+ readonly inputs: readonly [];
25
+ readonly name: "UPGRADE_INTERFACE_VERSION";
26
+ readonly outputs: readonly [{
27
+ readonly name: "";
28
+ readonly internalType: "string";
29
+ readonly type: "string";
30
+ }];
31
+ }, {
32
+ readonly stateMutability: "nonpayable";
33
+ readonly type: "function";
34
+ readonly inputs: readonly [];
35
+ readonly name: "acceptOwnership";
36
+ readonly outputs: readonly [];
37
+ }, {
38
+ readonly stateMutability: "payable";
39
+ readonly type: "function";
40
+ readonly inputs: readonly [{
41
+ readonly name: "commenter";
42
+ readonly internalType: "address";
43
+ readonly type: "address";
44
+ }, {
45
+ readonly name: "quantity";
46
+ readonly internalType: "uint256";
47
+ readonly type: "uint256";
48
+ }, {
49
+ readonly name: "collection";
50
+ readonly internalType: "address";
51
+ readonly type: "address";
52
+ }, {
53
+ readonly name: "tokenId";
54
+ readonly internalType: "uint256";
55
+ readonly type: "uint256";
56
+ }, {
57
+ readonly name: "excessRefundRecipient";
58
+ readonly internalType: "address payable";
59
+ readonly type: "address";
60
+ }, {
61
+ readonly name: "maxEthToSpend";
62
+ readonly internalType: "uint256";
63
+ readonly type: "uint256";
64
+ }, {
65
+ readonly name: "sqrtPriceLimitX96";
66
+ readonly internalType: "uint160";
67
+ readonly type: "uint160";
68
+ }, {
69
+ readonly name: "comment";
70
+ readonly internalType: "string";
71
+ readonly type: "string";
72
+ }];
73
+ readonly name: "buyOnSecondaryAndComment";
74
+ readonly outputs: readonly [{
75
+ readonly name: "";
76
+ readonly internalType: "struct IComments.CommentIdentifier";
77
+ readonly type: "tuple";
78
+ readonly components: readonly [{
79
+ readonly name: "commenter";
80
+ readonly internalType: "address";
81
+ readonly type: "address";
82
+ }, {
83
+ readonly name: "contractAddress";
84
+ readonly internalType: "address";
85
+ readonly type: "address";
86
+ }, {
87
+ readonly name: "tokenId";
88
+ readonly internalType: "uint256";
89
+ readonly type: "uint256";
90
+ }, {
91
+ readonly name: "nonce";
92
+ readonly internalType: "bytes32";
93
+ readonly type: "bytes32";
94
+ }];
95
+ }];
96
+ }, {
97
+ readonly stateMutability: "view";
98
+ readonly type: "function";
99
+ readonly inputs: readonly [];
100
+ readonly name: "comments";
101
+ readonly outputs: readonly [{
102
+ readonly name: "";
103
+ readonly internalType: "contract IComments";
104
+ readonly type: "address";
105
+ }];
106
+ }, {
107
+ readonly stateMutability: "pure";
108
+ readonly type: "function";
109
+ readonly inputs: readonly [];
110
+ readonly name: "contractName";
111
+ readonly outputs: readonly [{
112
+ readonly name: "";
113
+ readonly internalType: "string";
114
+ readonly type: "string";
115
+ }];
116
+ }, {
117
+ readonly stateMutability: "pure";
118
+ readonly type: "function";
119
+ readonly inputs: readonly [];
120
+ readonly name: "contractVersion";
121
+ readonly outputs: readonly [{
122
+ readonly name: "";
123
+ readonly internalType: "string";
124
+ readonly type: "string";
125
+ }];
126
+ }, {
127
+ readonly stateMutability: "view";
128
+ readonly type: "function";
129
+ readonly inputs: readonly [];
130
+ readonly name: "eip712Domain";
131
+ readonly outputs: readonly [{
132
+ readonly name: "fields";
133
+ readonly internalType: "bytes1";
134
+ readonly type: "bytes1";
135
+ }, {
136
+ readonly name: "name";
137
+ readonly internalType: "string";
138
+ readonly type: "string";
139
+ }, {
140
+ readonly name: "version";
141
+ readonly internalType: "string";
142
+ readonly type: "string";
143
+ }, {
144
+ readonly name: "chainId";
145
+ readonly internalType: "uint256";
146
+ readonly type: "uint256";
147
+ }, {
148
+ readonly name: "verifyingContract";
149
+ readonly internalType: "address";
150
+ readonly type: "address";
151
+ }, {
152
+ readonly name: "salt";
153
+ readonly internalType: "bytes32";
154
+ readonly type: "bytes32";
155
+ }, {
156
+ readonly name: "extensions";
157
+ readonly internalType: "uint256[]";
158
+ readonly type: "uint256[]";
159
+ }];
160
+ }, {
161
+ readonly stateMutability: "view";
162
+ readonly type: "function";
163
+ readonly inputs: readonly [{
164
+ readonly name: "permit";
165
+ readonly internalType: "struct ICallerAndCommenter.PermitBuyOnSecondaryAndComment";
166
+ readonly type: "tuple";
167
+ readonly components: readonly [{
168
+ readonly name: "commenter";
169
+ readonly internalType: "address";
170
+ readonly type: "address";
171
+ }, {
172
+ readonly name: "quantity";
173
+ readonly internalType: "uint256";
174
+ readonly type: "uint256";
175
+ }, {
176
+ readonly name: "collection";
177
+ readonly internalType: "address";
178
+ readonly type: "address";
179
+ }, {
180
+ readonly name: "tokenId";
181
+ readonly internalType: "uint256";
182
+ readonly type: "uint256";
183
+ }, {
184
+ readonly name: "maxEthToSpend";
185
+ readonly internalType: "uint256";
186
+ readonly type: "uint256";
187
+ }, {
188
+ readonly name: "sqrtPriceLimitX96";
189
+ readonly internalType: "uint160";
190
+ readonly type: "uint160";
191
+ }, {
192
+ readonly name: "comment";
193
+ readonly internalType: "string";
194
+ readonly type: "string";
195
+ }, {
196
+ readonly name: "deadline";
197
+ readonly internalType: "uint256";
198
+ readonly type: "uint256";
199
+ }, {
200
+ readonly name: "nonce";
201
+ readonly internalType: "bytes32";
202
+ readonly type: "bytes32";
203
+ }, {
204
+ readonly name: "sourceChainId";
205
+ readonly internalType: "uint32";
206
+ readonly type: "uint32";
207
+ }, {
208
+ readonly name: "destinationChainId";
209
+ readonly internalType: "uint32";
210
+ readonly type: "uint32";
211
+ }];
212
+ }];
213
+ readonly name: "hashPermitBuyOnSecondaryAndComment";
214
+ readonly outputs: readonly [{
215
+ readonly name: "";
216
+ readonly internalType: "bytes32";
217
+ readonly type: "bytes32";
218
+ }];
219
+ }, {
220
+ readonly stateMutability: "view";
221
+ readonly type: "function";
222
+ readonly inputs: readonly [{
223
+ readonly name: "permit";
224
+ readonly internalType: "struct ICallerAndCommenter.PermitTimedSaleMintAndComment";
225
+ readonly type: "tuple";
226
+ readonly components: readonly [{
227
+ readonly name: "commenter";
228
+ readonly internalType: "address";
229
+ readonly type: "address";
230
+ }, {
231
+ readonly name: "quantity";
232
+ readonly internalType: "uint256";
233
+ readonly type: "uint256";
234
+ }, {
235
+ readonly name: "collection";
236
+ readonly internalType: "address";
237
+ readonly type: "address";
238
+ }, {
239
+ readonly name: "tokenId";
240
+ readonly internalType: "uint256";
241
+ readonly type: "uint256";
242
+ }, {
243
+ readonly name: "mintReferral";
244
+ readonly internalType: "address";
245
+ readonly type: "address";
246
+ }, {
247
+ readonly name: "comment";
248
+ readonly internalType: "string";
249
+ readonly type: "string";
250
+ }, {
251
+ readonly name: "deadline";
252
+ readonly internalType: "uint256";
253
+ readonly type: "uint256";
254
+ }, {
255
+ readonly name: "nonce";
256
+ readonly internalType: "bytes32";
257
+ readonly type: "bytes32";
258
+ }, {
259
+ readonly name: "sourceChainId";
260
+ readonly internalType: "uint32";
261
+ readonly type: "uint32";
262
+ }, {
263
+ readonly name: "destinationChainId";
264
+ readonly internalType: "uint32";
265
+ readonly type: "uint32";
266
+ }];
267
+ }];
268
+ readonly name: "hashPermitTimedSaleMintAndComment";
269
+ readonly outputs: readonly [{
270
+ readonly name: "";
271
+ readonly internalType: "bytes32";
272
+ readonly type: "bytes32";
273
+ }];
274
+ }, {
275
+ readonly stateMutability: "nonpayable";
276
+ readonly type: "function";
277
+ readonly inputs: readonly [{
278
+ readonly name: "owner";
279
+ readonly internalType: "address";
280
+ readonly type: "address";
281
+ }];
282
+ readonly name: "initialize";
283
+ readonly outputs: readonly [];
284
+ }, {
285
+ readonly stateMutability: "view";
286
+ readonly type: "function";
287
+ readonly inputs: readonly [{
288
+ readonly name: "owner";
289
+ readonly internalType: "address";
290
+ readonly type: "address";
291
+ }, {
292
+ readonly name: "nonce";
293
+ readonly internalType: "bytes32";
294
+ readonly type: "bytes32";
295
+ }];
296
+ readonly name: "nonceUsed";
297
+ readonly outputs: readonly [{
298
+ readonly name: "";
299
+ readonly internalType: "bool";
300
+ readonly type: "bool";
301
+ }];
302
+ }, {
303
+ readonly stateMutability: "view";
304
+ readonly type: "function";
305
+ readonly inputs: readonly [];
306
+ readonly name: "owner";
307
+ readonly outputs: readonly [{
308
+ readonly name: "";
309
+ readonly internalType: "address";
310
+ readonly type: "address";
311
+ }];
312
+ }, {
313
+ readonly stateMutability: "view";
314
+ readonly type: "function";
315
+ readonly inputs: readonly [];
316
+ readonly name: "pendingOwner";
317
+ readonly outputs: readonly [{
318
+ readonly name: "";
319
+ readonly internalType: "address";
320
+ readonly type: "address";
321
+ }];
322
+ }, {
323
+ readonly stateMutability: "payable";
324
+ readonly type: "function";
325
+ readonly inputs: readonly [{
326
+ readonly name: "permit";
327
+ readonly internalType: "struct ICallerAndCommenter.PermitBuyOnSecondaryAndComment";
328
+ readonly type: "tuple";
329
+ readonly components: readonly [{
330
+ readonly name: "commenter";
331
+ readonly internalType: "address";
332
+ readonly type: "address";
333
+ }, {
334
+ readonly name: "quantity";
335
+ readonly internalType: "uint256";
336
+ readonly type: "uint256";
337
+ }, {
338
+ readonly name: "collection";
339
+ readonly internalType: "address";
340
+ readonly type: "address";
341
+ }, {
342
+ readonly name: "tokenId";
343
+ readonly internalType: "uint256";
344
+ readonly type: "uint256";
345
+ }, {
346
+ readonly name: "maxEthToSpend";
347
+ readonly internalType: "uint256";
348
+ readonly type: "uint256";
349
+ }, {
350
+ readonly name: "sqrtPriceLimitX96";
351
+ readonly internalType: "uint160";
352
+ readonly type: "uint160";
353
+ }, {
354
+ readonly name: "comment";
355
+ readonly internalType: "string";
356
+ readonly type: "string";
357
+ }, {
358
+ readonly name: "deadline";
359
+ readonly internalType: "uint256";
360
+ readonly type: "uint256";
361
+ }, {
362
+ readonly name: "nonce";
363
+ readonly internalType: "bytes32";
364
+ readonly type: "bytes32";
365
+ }, {
366
+ readonly name: "sourceChainId";
367
+ readonly internalType: "uint32";
368
+ readonly type: "uint32";
369
+ }, {
370
+ readonly name: "destinationChainId";
371
+ readonly internalType: "uint32";
372
+ readonly type: "uint32";
373
+ }];
374
+ }, {
375
+ readonly name: "signature";
376
+ readonly internalType: "bytes";
377
+ readonly type: "bytes";
378
+ }];
379
+ readonly name: "permitBuyOnSecondaryAndComment";
380
+ readonly outputs: readonly [{
381
+ readonly name: "";
382
+ readonly internalType: "struct IComments.CommentIdentifier";
383
+ readonly type: "tuple";
384
+ readonly components: readonly [{
385
+ readonly name: "commenter";
386
+ readonly internalType: "address";
387
+ readonly type: "address";
388
+ }, {
389
+ readonly name: "contractAddress";
390
+ readonly internalType: "address";
391
+ readonly type: "address";
392
+ }, {
393
+ readonly name: "tokenId";
394
+ readonly internalType: "uint256";
395
+ readonly type: "uint256";
396
+ }, {
397
+ readonly name: "nonce";
398
+ readonly internalType: "bytes32";
399
+ readonly type: "bytes32";
400
+ }];
401
+ }];
402
+ }, {
403
+ readonly stateMutability: "payable";
404
+ readonly type: "function";
405
+ readonly inputs: readonly [{
406
+ readonly name: "permit";
407
+ readonly internalType: "struct ICallerAndCommenter.PermitTimedSaleMintAndComment";
408
+ readonly type: "tuple";
409
+ readonly components: readonly [{
410
+ readonly name: "commenter";
411
+ readonly internalType: "address";
412
+ readonly type: "address";
413
+ }, {
414
+ readonly name: "quantity";
415
+ readonly internalType: "uint256";
416
+ readonly type: "uint256";
417
+ }, {
418
+ readonly name: "collection";
419
+ readonly internalType: "address";
420
+ readonly type: "address";
421
+ }, {
422
+ readonly name: "tokenId";
423
+ readonly internalType: "uint256";
424
+ readonly type: "uint256";
425
+ }, {
426
+ readonly name: "mintReferral";
427
+ readonly internalType: "address";
428
+ readonly type: "address";
429
+ }, {
430
+ readonly name: "comment";
431
+ readonly internalType: "string";
432
+ readonly type: "string";
433
+ }, {
434
+ readonly name: "deadline";
435
+ readonly internalType: "uint256";
436
+ readonly type: "uint256";
437
+ }, {
438
+ readonly name: "nonce";
439
+ readonly internalType: "bytes32";
440
+ readonly type: "bytes32";
441
+ }, {
442
+ readonly name: "sourceChainId";
443
+ readonly internalType: "uint32";
444
+ readonly type: "uint32";
445
+ }, {
446
+ readonly name: "destinationChainId";
447
+ readonly internalType: "uint32";
448
+ readonly type: "uint32";
449
+ }];
450
+ }, {
451
+ readonly name: "signature";
452
+ readonly internalType: "bytes";
453
+ readonly type: "bytes";
454
+ }];
455
+ readonly name: "permitTimedSaleMintAndComment";
456
+ readonly outputs: readonly [{
457
+ readonly name: "";
458
+ readonly internalType: "struct IComments.CommentIdentifier";
459
+ readonly type: "tuple";
460
+ readonly components: readonly [{
461
+ readonly name: "commenter";
462
+ readonly internalType: "address";
463
+ readonly type: "address";
464
+ }, {
465
+ readonly name: "contractAddress";
466
+ readonly internalType: "address";
467
+ readonly type: "address";
468
+ }, {
469
+ readonly name: "tokenId";
470
+ readonly internalType: "uint256";
471
+ readonly type: "uint256";
472
+ }, {
473
+ readonly name: "nonce";
474
+ readonly internalType: "bytes32";
475
+ readonly type: "bytes32";
476
+ }];
477
+ }];
478
+ }, {
479
+ readonly stateMutability: "view";
480
+ readonly type: "function";
481
+ readonly inputs: readonly [];
482
+ readonly name: "proxiableUUID";
483
+ readonly outputs: readonly [{
484
+ readonly name: "";
485
+ readonly internalType: "bytes32";
486
+ readonly type: "bytes32";
487
+ }];
488
+ }, {
489
+ readonly stateMutability: "nonpayable";
490
+ readonly type: "function";
491
+ readonly inputs: readonly [];
492
+ readonly name: "renounceOwnership";
493
+ readonly outputs: readonly [];
494
+ }, {
495
+ readonly stateMutability: "view";
496
+ readonly type: "function";
497
+ readonly inputs: readonly [];
498
+ readonly name: "secondarySwap";
499
+ readonly outputs: readonly [{
500
+ readonly name: "";
501
+ readonly internalType: "contract ISecondarySwap";
502
+ readonly type: "address";
503
+ }];
504
+ }, {
505
+ readonly stateMutability: "payable";
506
+ readonly type: "function";
507
+ readonly inputs: readonly [{
508
+ readonly name: "commenter";
509
+ readonly internalType: "address";
510
+ readonly type: "address";
511
+ }, {
512
+ readonly name: "quantity";
513
+ readonly internalType: "uint256";
514
+ readonly type: "uint256";
515
+ }, {
516
+ readonly name: "collection";
517
+ readonly internalType: "address";
518
+ readonly type: "address";
519
+ }, {
520
+ readonly name: "tokenId";
521
+ readonly internalType: "uint256";
522
+ readonly type: "uint256";
523
+ }, {
524
+ readonly name: "recipient";
525
+ readonly internalType: "address payable";
526
+ readonly type: "address";
527
+ }, {
528
+ readonly name: "minEthToAcquire";
529
+ readonly internalType: "uint256";
530
+ readonly type: "uint256";
531
+ }, {
532
+ readonly name: "sqrtPriceLimitX96";
533
+ readonly internalType: "uint160";
534
+ readonly type: "uint160";
535
+ }, {
536
+ readonly name: "comment";
537
+ readonly internalType: "string";
538
+ readonly type: "string";
539
+ }];
540
+ readonly name: "sellOnSecondaryAndComment";
541
+ readonly outputs: readonly [{
542
+ readonly name: "commentIdentifier";
543
+ readonly internalType: "struct IComments.CommentIdentifier";
544
+ readonly type: "tuple";
545
+ readonly components: readonly [{
546
+ readonly name: "commenter";
547
+ readonly internalType: "address";
548
+ readonly type: "address";
549
+ }, {
550
+ readonly name: "contractAddress";
551
+ readonly internalType: "address";
552
+ readonly type: "address";
553
+ }, {
554
+ readonly name: "tokenId";
555
+ readonly internalType: "uint256";
556
+ readonly type: "uint256";
557
+ }, {
558
+ readonly name: "nonce";
559
+ readonly internalType: "bytes32";
560
+ readonly type: "bytes32";
561
+ }];
562
+ }];
563
+ }, {
564
+ readonly stateMutability: "view";
565
+ readonly type: "function";
566
+ readonly inputs: readonly [];
567
+ readonly name: "sparkValue";
568
+ readonly outputs: readonly [{
569
+ readonly name: "";
570
+ readonly internalType: "uint256";
571
+ readonly type: "uint256";
572
+ }];
573
+ }, {
574
+ readonly stateMutability: "payable";
575
+ readonly type: "function";
576
+ readonly inputs: readonly [{
577
+ readonly name: "commenter";
578
+ readonly internalType: "address";
579
+ readonly type: "address";
580
+ }, {
581
+ readonly name: "quantity";
582
+ readonly internalType: "uint256";
583
+ readonly type: "uint256";
584
+ }, {
585
+ readonly name: "collection";
586
+ readonly internalType: "address";
587
+ readonly type: "address";
588
+ }, {
589
+ readonly name: "tokenId";
590
+ readonly internalType: "uint256";
591
+ readonly type: "uint256";
592
+ }, {
593
+ readonly name: "mintReferral";
594
+ readonly internalType: "address";
595
+ readonly type: "address";
596
+ }, {
597
+ readonly name: "comment";
598
+ readonly internalType: "string";
599
+ readonly type: "string";
600
+ }];
601
+ readonly name: "timedSaleMintAndComment";
602
+ readonly outputs: readonly [{
603
+ readonly name: "";
604
+ readonly internalType: "struct IComments.CommentIdentifier";
605
+ readonly type: "tuple";
606
+ readonly components: readonly [{
607
+ readonly name: "commenter";
608
+ readonly internalType: "address";
609
+ readonly type: "address";
610
+ }, {
611
+ readonly name: "contractAddress";
612
+ readonly internalType: "address";
613
+ readonly type: "address";
614
+ }, {
615
+ readonly name: "tokenId";
616
+ readonly internalType: "uint256";
617
+ readonly type: "uint256";
618
+ }, {
619
+ readonly name: "nonce";
620
+ readonly internalType: "bytes32";
621
+ readonly type: "bytes32";
622
+ }];
623
+ }];
624
+ }, {
625
+ readonly stateMutability: "nonpayable";
626
+ readonly type: "function";
627
+ readonly inputs: readonly [{
628
+ readonly name: "newOwner";
629
+ readonly internalType: "address";
630
+ readonly type: "address";
631
+ }];
632
+ readonly name: "transferOwnership";
633
+ readonly outputs: readonly [];
634
+ }, {
635
+ readonly stateMutability: "payable";
636
+ readonly type: "function";
637
+ readonly inputs: readonly [{
638
+ readonly name: "newImplementation";
639
+ readonly internalType: "address";
640
+ readonly type: "address";
641
+ }, {
642
+ readonly name: "data";
643
+ readonly internalType: "bytes";
644
+ readonly type: "bytes";
645
+ }];
646
+ readonly name: "upgradeToAndCall";
647
+ readonly outputs: readonly [];
648
+ }, {
649
+ readonly stateMutability: "view";
650
+ readonly type: "function";
651
+ readonly inputs: readonly [];
652
+ readonly name: "zoraTimedSale";
653
+ readonly outputs: readonly [{
654
+ readonly name: "";
655
+ readonly internalType: "contract IZoraTimedSaleStrategy";
656
+ readonly type: "address";
657
+ }];
658
+ }, {
659
+ readonly type: "event";
660
+ readonly anonymous: false;
661
+ readonly inputs: readonly [];
662
+ readonly name: "EIP712DomainChanged";
663
+ }, {
664
+ readonly type: "event";
665
+ readonly anonymous: false;
666
+ readonly inputs: readonly [{
667
+ readonly name: "version";
668
+ readonly internalType: "uint64";
669
+ readonly type: "uint64";
670
+ readonly indexed: false;
671
+ }];
672
+ readonly name: "Initialized";
673
+ }, {
674
+ readonly type: "event";
675
+ readonly anonymous: false;
676
+ readonly inputs: readonly [{
677
+ readonly name: "commentId";
678
+ readonly internalType: "bytes32";
679
+ readonly type: "bytes32";
680
+ readonly indexed: true;
681
+ }, {
682
+ readonly name: "commentIdentifier";
683
+ readonly internalType: "struct IComments.CommentIdentifier";
684
+ readonly type: "tuple";
685
+ readonly components: readonly [{
686
+ readonly name: "commenter";
687
+ readonly internalType: "address";
688
+ readonly type: "address";
689
+ }, {
690
+ readonly name: "contractAddress";
691
+ readonly internalType: "address";
692
+ readonly type: "address";
693
+ }, {
694
+ readonly name: "tokenId";
695
+ readonly internalType: "uint256";
696
+ readonly type: "uint256";
697
+ }, {
698
+ readonly name: "nonce";
699
+ readonly internalType: "bytes32";
700
+ readonly type: "bytes32";
701
+ }];
702
+ readonly indexed: false;
703
+ }, {
704
+ readonly name: "quantity";
705
+ readonly internalType: "uint256";
706
+ readonly type: "uint256";
707
+ readonly indexed: false;
708
+ }, {
709
+ readonly name: "text";
710
+ readonly internalType: "string";
711
+ readonly type: "string";
712
+ readonly indexed: false;
713
+ }];
714
+ readonly name: "MintedAndCommented";
715
+ }, {
716
+ readonly type: "event";
717
+ readonly anonymous: false;
718
+ readonly inputs: readonly [{
719
+ readonly name: "previousOwner";
720
+ readonly internalType: "address";
721
+ readonly type: "address";
722
+ readonly indexed: true;
723
+ }, {
724
+ readonly name: "newOwner";
725
+ readonly internalType: "address";
726
+ readonly type: "address";
727
+ readonly indexed: true;
728
+ }];
729
+ readonly name: "OwnershipTransferStarted";
730
+ }, {
731
+ readonly type: "event";
732
+ readonly anonymous: false;
733
+ readonly inputs: readonly [{
734
+ readonly name: "previousOwner";
735
+ readonly internalType: "address";
736
+ readonly type: "address";
737
+ readonly indexed: true;
738
+ }, {
739
+ readonly name: "newOwner";
740
+ readonly internalType: "address";
741
+ readonly type: "address";
742
+ readonly indexed: true;
743
+ }];
744
+ readonly name: "OwnershipTransferred";
745
+ }, {
746
+ readonly type: "event";
747
+ readonly anonymous: false;
748
+ readonly inputs: readonly [{
749
+ readonly name: "commentId";
750
+ readonly internalType: "bytes32";
751
+ readonly type: "bytes32";
752
+ readonly indexed: true;
753
+ }, {
754
+ readonly name: "commentIdentifier";
755
+ readonly internalType: "struct IComments.CommentIdentifier";
756
+ readonly type: "tuple";
757
+ readonly components: readonly [{
758
+ readonly name: "commenter";
759
+ readonly internalType: "address";
760
+ readonly type: "address";
761
+ }, {
762
+ readonly name: "contractAddress";
763
+ readonly internalType: "address";
764
+ readonly type: "address";
765
+ }, {
766
+ readonly name: "tokenId";
767
+ readonly internalType: "uint256";
768
+ readonly type: "uint256";
769
+ }, {
770
+ readonly name: "nonce";
771
+ readonly internalType: "bytes32";
772
+ readonly type: "bytes32";
773
+ }];
774
+ readonly indexed: false;
775
+ }, {
776
+ readonly name: "quantity";
777
+ readonly internalType: "uint256";
778
+ readonly type: "uint256";
779
+ readonly indexed: true;
780
+ }, {
781
+ readonly name: "comment";
782
+ readonly internalType: "string";
783
+ readonly type: "string";
784
+ readonly indexed: false;
785
+ }, {
786
+ readonly name: "swapDirection";
787
+ readonly internalType: "enum ICallerAndCommenter.SwapDirection";
788
+ readonly type: "uint8";
789
+ readonly indexed: true;
790
+ }];
791
+ readonly name: "SwappedOnSecondaryAndCommented";
792
+ }, {
793
+ readonly type: "event";
794
+ readonly anonymous: false;
795
+ readonly inputs: readonly [{
796
+ readonly name: "implementation";
797
+ readonly internalType: "address";
798
+ readonly type: "address";
799
+ readonly indexed: true;
800
+ }];
801
+ readonly name: "Upgraded";
802
+ }, {
803
+ readonly type: "error";
804
+ readonly inputs: readonly [{
805
+ readonly name: "target";
806
+ readonly internalType: "address";
807
+ readonly type: "address";
808
+ }];
809
+ readonly name: "AddressEmptyCode";
810
+ }, {
811
+ readonly type: "error";
812
+ readonly inputs: readonly [{
813
+ readonly name: "expected";
814
+ readonly internalType: "address";
815
+ readonly type: "address";
816
+ }, {
817
+ readonly name: "actual";
818
+ readonly internalType: "address";
819
+ readonly type: "address";
820
+ }];
821
+ readonly name: "CommenterMismatch";
822
+ }, {
823
+ readonly type: "error";
824
+ readonly inputs: readonly [{
825
+ readonly name: "implementation";
826
+ readonly internalType: "address";
827
+ readonly type: "address";
828
+ }];
829
+ readonly name: "ERC1967InvalidImplementation";
830
+ }, {
831
+ readonly type: "error";
832
+ readonly inputs: readonly [];
833
+ readonly name: "ERC1967NonPayable";
834
+ }, {
835
+ readonly type: "error";
836
+ readonly inputs: readonly [{
837
+ readonly name: "deadline";
838
+ readonly internalType: "uint256";
839
+ readonly type: "uint256";
840
+ }];
841
+ readonly name: "ERC2612ExpiredSignature";
842
+ }, {
843
+ readonly type: "error";
844
+ readonly inputs: readonly [];
845
+ readonly name: "FailedInnerCall";
846
+ }, {
847
+ readonly type: "error";
848
+ readonly inputs: readonly [{
849
+ readonly name: "wrongDestinationChainId";
850
+ readonly internalType: "uint256";
851
+ readonly type: "uint256";
852
+ }];
853
+ readonly name: "IncorrectDestinationChain";
854
+ }, {
855
+ readonly type: "error";
856
+ readonly inputs: readonly [{
857
+ readonly name: "account";
858
+ readonly internalType: "address";
859
+ readonly type: "address";
860
+ }, {
861
+ readonly name: "currentNonce";
862
+ readonly internalType: "bytes32";
863
+ readonly type: "bytes32";
864
+ }];
865
+ readonly name: "InvalidAccountNonce";
866
+ }, {
867
+ readonly type: "error";
868
+ readonly inputs: readonly [];
869
+ readonly name: "InvalidInitialization";
870
+ }, {
871
+ readonly type: "error";
872
+ readonly inputs: readonly [];
873
+ readonly name: "InvalidSignature";
874
+ }, {
875
+ readonly type: "error";
876
+ readonly inputs: readonly [];
877
+ readonly name: "NotInitializing";
878
+ }, {
879
+ readonly type: "error";
880
+ readonly inputs: readonly [{
881
+ readonly name: "owner";
882
+ readonly internalType: "address";
883
+ readonly type: "address";
884
+ }];
885
+ readonly name: "OwnableInvalidOwner";
886
+ }, {
887
+ readonly type: "error";
888
+ readonly inputs: readonly [{
889
+ readonly name: "account";
890
+ readonly internalType: "address";
891
+ readonly type: "address";
892
+ }];
893
+ readonly name: "OwnableUnauthorizedAccount";
894
+ }, {
895
+ readonly type: "error";
896
+ readonly inputs: readonly [{
897
+ readonly name: "collection";
898
+ readonly internalType: "address";
899
+ readonly type: "address";
900
+ }, {
901
+ readonly name: "tokenId";
902
+ readonly internalType: "uint256";
903
+ readonly type: "uint256";
904
+ }];
905
+ readonly name: "SaleNotSet";
906
+ }, {
907
+ readonly type: "error";
908
+ readonly inputs: readonly [];
909
+ readonly name: "UUPSUnauthorizedCallContext";
910
+ }, {
911
+ readonly type: "error";
912
+ readonly inputs: readonly [{
913
+ readonly name: "slot";
914
+ readonly internalType: "bytes32";
915
+ readonly type: "bytes32";
916
+ }];
917
+ readonly name: "UUPSUnsupportedProxiableUUID";
918
+ }, {
919
+ readonly type: "error";
920
+ readonly inputs: readonly [{
921
+ readonly name: "currentName";
922
+ readonly internalType: "string";
923
+ readonly type: "string";
924
+ }, {
925
+ readonly name: "newName";
926
+ readonly internalType: "string";
927
+ readonly type: "string";
928
+ }];
929
+ readonly name: "UpgradeToMismatchedContractName";
930
+ }, {
931
+ readonly type: "error";
932
+ readonly inputs: readonly [{
933
+ readonly name: "expected";
934
+ readonly internalType: "uint256";
935
+ readonly type: "uint256";
936
+ }, {
937
+ readonly name: "actual";
938
+ readonly internalType: "uint256";
939
+ readonly type: "uint256";
940
+ }];
941
+ readonly name: "WrongValueSent";
942
+ }];
1
943
  export declare const commentsImplABI: readonly [{
2
944
  readonly stateMutability: "nonpayable";
3
945
  readonly type: "constructor";
@@ -9,6 +951,10 @@ export declare const commentsImplABI: readonly [{
9
951
  readonly name: "_protocolRewards";
10
952
  readonly internalType: "address";
11
953
  readonly type: "address";
954
+ }, {
955
+ readonly name: "_zoraRecipient";
956
+ readonly internalType: "address";
957
+ readonly type: "address";
12
958
  }];
13
959
  }, {
14
960
  readonly stateMutability: "view";
@@ -34,7 +980,7 @@ export declare const commentsImplABI: readonly [{
34
980
  readonly stateMutability: "view";
35
981
  readonly type: "function";
36
982
  readonly inputs: readonly [];
37
- readonly name: "DELEGATE_COMMENTOR";
983
+ readonly name: "DELEGATE_COMMENTER";
38
984
  readonly outputs: readonly [{
39
985
  readonly name: "";
40
986
  readonly internalType: "bytes32";
@@ -189,6 +1135,10 @@ export declare const commentsImplABI: readonly [{
189
1135
  readonly internalType: "bytes32";
190
1136
  readonly type: "bytes32";
191
1137
  }];
1138
+ }, {
1139
+ readonly name: "commenterSmartWallet";
1140
+ readonly internalType: "address";
1141
+ readonly type: "address";
192
1142
  }, {
193
1143
  readonly name: "referrer";
194
1144
  readonly internalType: "address";
@@ -221,15 +1171,32 @@ export declare const commentsImplABI: readonly [{
221
1171
  readonly stateMutability: "view";
222
1172
  readonly type: "function";
223
1173
  readonly inputs: readonly [{
224
- readonly name: "commentId";
225
- readonly internalType: "bytes32";
226
- readonly type: "bytes32";
1174
+ readonly name: "commentIdentifier";
1175
+ readonly internalType: "struct IComments.CommentIdentifier";
1176
+ readonly type: "tuple";
1177
+ readonly components: readonly [{
1178
+ readonly name: "commenter";
1179
+ readonly internalType: "address";
1180
+ readonly type: "address";
1181
+ }, {
1182
+ readonly name: "contractAddress";
1183
+ readonly internalType: "address";
1184
+ readonly type: "address";
1185
+ }, {
1186
+ readonly name: "tokenId";
1187
+ readonly internalType: "uint256";
1188
+ readonly type: "uint256";
1189
+ }, {
1190
+ readonly name: "nonce";
1191
+ readonly internalType: "bytes32";
1192
+ readonly type: "bytes32";
1193
+ }];
227
1194
  }];
228
1195
  readonly name: "commentSparksQuantity";
229
1196
  readonly outputs: readonly [{
230
1197
  readonly name: "";
231
- readonly internalType: "uint64";
232
- readonly type: "uint64";
1198
+ readonly internalType: "uint256";
1199
+ readonly type: "uint256";
233
1200
  }];
234
1201
  }, {
235
1202
  readonly stateMutability: "pure";
@@ -252,7 +1219,7 @@ export declare const commentsImplABI: readonly [{
252
1219
  readonly type: "string";
253
1220
  }];
254
1221
  }, {
255
- readonly stateMutability: "nonpayable";
1222
+ readonly stateMutability: "payable";
256
1223
  readonly type: "function";
257
1224
  readonly inputs: readonly [{
258
1225
  readonly name: "commenter";
@@ -291,6 +1258,14 @@ export declare const commentsImplABI: readonly [{
291
1258
  readonly internalType: "bytes32";
292
1259
  readonly type: "bytes32";
293
1260
  }];
1261
+ }, {
1262
+ readonly name: "commenterSmartWalletOwner";
1263
+ readonly internalType: "address";
1264
+ readonly type: "address";
1265
+ }, {
1266
+ readonly name: "referrer";
1267
+ readonly internalType: "address";
1268
+ readonly type: "address";
294
1269
  }];
295
1270
  readonly name: "delegateComment";
296
1271
  readonly outputs: readonly [{
@@ -314,6 +1289,44 @@ export declare const commentsImplABI: readonly [{
314
1289
  readonly internalType: "bytes32";
315
1290
  readonly type: "bytes32";
316
1291
  }];
1292
+ }, {
1293
+ readonly name: "commentId";
1294
+ readonly internalType: "bytes32";
1295
+ readonly type: "bytes32";
1296
+ }];
1297
+ }, {
1298
+ readonly stateMutability: "view";
1299
+ readonly type: "function";
1300
+ readonly inputs: readonly [];
1301
+ readonly name: "eip712Domain";
1302
+ readonly outputs: readonly [{
1303
+ readonly name: "fields";
1304
+ readonly internalType: "bytes1";
1305
+ readonly type: "bytes1";
1306
+ }, {
1307
+ readonly name: "name";
1308
+ readonly internalType: "string";
1309
+ readonly type: "string";
1310
+ }, {
1311
+ readonly name: "version";
1312
+ readonly internalType: "string";
1313
+ readonly type: "string";
1314
+ }, {
1315
+ readonly name: "chainId";
1316
+ readonly internalType: "uint256";
1317
+ readonly type: "uint256";
1318
+ }, {
1319
+ readonly name: "verifyingContract";
1320
+ readonly internalType: "address";
1321
+ readonly type: "address";
1322
+ }, {
1323
+ readonly name: "salt";
1324
+ readonly internalType: "bytes32";
1325
+ readonly type: "bytes32";
1326
+ }, {
1327
+ readonly name: "extensions";
1328
+ readonly internalType: "uint256[]";
1329
+ readonly type: "uint256[]";
317
1330
  }];
318
1331
  }, {
319
1332
  readonly stateMutability: "view";
@@ -469,6 +1482,10 @@ export declare const commentsImplABI: readonly [{
469
1482
  readonly name: "commenter";
470
1483
  readonly internalType: "address";
471
1484
  readonly type: "address";
1485
+ }, {
1486
+ readonly name: "commenterSmartWallet";
1487
+ readonly internalType: "address";
1488
+ readonly type: "address";
472
1489
  }, {
473
1490
  readonly name: "contractAddress";
474
1491
  readonly internalType: "address";
@@ -503,9 +1520,9 @@ export declare const commentsImplABI: readonly [{
503
1520
  readonly internalType: "string";
504
1521
  readonly type: "string";
505
1522
  }, {
506
- readonly name: "sparksQuantity";
507
- readonly internalType: "uint64";
508
- readonly type: "uint64";
1523
+ readonly name: "referrer";
1524
+ readonly internalType: "address";
1525
+ readonly type: "address";
509
1526
  }, {
510
1527
  readonly name: "deadline";
511
1528
  readonly internalType: "uint256";
@@ -514,18 +1531,14 @@ export declare const commentsImplABI: readonly [{
514
1531
  readonly name: "nonce";
515
1532
  readonly internalType: "bytes32";
516
1533
  readonly type: "bytes32";
517
- }, {
518
- readonly name: "referrer";
519
- readonly internalType: "address";
520
- readonly type: "address";
521
1534
  }, {
522
1535
  readonly name: "sourceChainId";
523
- readonly internalType: "uint256";
524
- readonly type: "uint256";
1536
+ readonly internalType: "uint32";
1537
+ readonly type: "uint32";
525
1538
  }, {
526
1539
  readonly name: "destinationChainId";
527
- readonly internalType: "uint256";
528
- readonly type: "uint256";
1540
+ readonly internalType: "uint32";
1541
+ readonly type: "uint32";
529
1542
  }];
530
1543
  }];
531
1544
  readonly name: "hashPermitComment";
@@ -568,8 +1581,8 @@ export declare const commentsImplABI: readonly [{
568
1581
  readonly type: "address";
569
1582
  }, {
570
1583
  readonly name: "sparksQuantity";
571
- readonly internalType: "uint64";
572
- readonly type: "uint64";
1584
+ readonly internalType: "uint256";
1585
+ readonly type: "uint256";
573
1586
  }, {
574
1587
  readonly name: "deadline";
575
1588
  readonly internalType: "uint256";
@@ -584,12 +1597,12 @@ export declare const commentsImplABI: readonly [{
584
1597
  readonly type: "address";
585
1598
  }, {
586
1599
  readonly name: "sourceChainId";
587
- readonly internalType: "uint256";
588
- readonly type: "uint256";
1600
+ readonly internalType: "uint32";
1601
+ readonly type: "uint32";
589
1602
  }, {
590
1603
  readonly name: "destinationChainId";
591
- readonly internalType: "uint256";
592
- readonly type: "uint256";
1604
+ readonly internalType: "uint32";
1605
+ readonly type: "uint32";
593
1606
  }];
594
1607
  }];
595
1608
  readonly name: "hashPermitSparkComment";
@@ -599,13 +1612,19 @@ export declare const commentsImplABI: readonly [{
599
1612
  readonly type: "bytes32";
600
1613
  }];
601
1614
  }, {
602
- readonly stateMutability: "nonpayable";
1615
+ readonly stateMutability: "view";
603
1616
  readonly type: "function";
604
- readonly inputs: readonly [{
605
- readonly name: "_zoraRecipient";
1617
+ readonly inputs: readonly [];
1618
+ readonly name: "implementation";
1619
+ readonly outputs: readonly [{
1620
+ readonly name: "";
606
1621
  readonly internalType: "address";
607
1622
  readonly type: "address";
608
- }, {
1623
+ }];
1624
+ }, {
1625
+ readonly stateMutability: "nonpayable";
1626
+ readonly type: "function";
1627
+ readonly inputs: readonly [{
609
1628
  readonly name: "defaultAdmin";
610
1629
  readonly internalType: "address";
611
1630
  readonly type: "address";
@@ -639,8 +1658,8 @@ export declare const commentsImplABI: readonly [{
639
1658
  readonly type: "address";
640
1659
  }, {
641
1660
  readonly name: "nonce";
642
- readonly internalType: "uint256";
643
- readonly type: "uint256";
1661
+ readonly internalType: "bytes32";
1662
+ readonly type: "bytes32";
644
1663
  }];
645
1664
  readonly name: "nonceUsed";
646
1665
  readonly outputs: readonly [{
@@ -659,6 +1678,10 @@ export declare const commentsImplABI: readonly [{
659
1678
  readonly name: "commenter";
660
1679
  readonly internalType: "address";
661
1680
  readonly type: "address";
1681
+ }, {
1682
+ readonly name: "commenterSmartWallet";
1683
+ readonly internalType: "address";
1684
+ readonly type: "address";
662
1685
  }, {
663
1686
  readonly name: "contractAddress";
664
1687
  readonly internalType: "address";
@@ -693,9 +1716,9 @@ export declare const commentsImplABI: readonly [{
693
1716
  readonly internalType: "string";
694
1717
  readonly type: "string";
695
1718
  }, {
696
- readonly name: "sparksQuantity";
697
- readonly internalType: "uint64";
698
- readonly type: "uint64";
1719
+ readonly name: "referrer";
1720
+ readonly internalType: "address";
1721
+ readonly type: "address";
699
1722
  }, {
700
1723
  readonly name: "deadline";
701
1724
  readonly internalType: "uint256";
@@ -704,18 +1727,14 @@ export declare const commentsImplABI: readonly [{
704
1727
  readonly name: "nonce";
705
1728
  readonly internalType: "bytes32";
706
1729
  readonly type: "bytes32";
707
- }, {
708
- readonly name: "referrer";
709
- readonly internalType: "address";
710
- readonly type: "address";
711
1730
  }, {
712
1731
  readonly name: "sourceChainId";
713
- readonly internalType: "uint256";
714
- readonly type: "uint256";
1732
+ readonly internalType: "uint32";
1733
+ readonly type: "uint32";
715
1734
  }, {
716
1735
  readonly name: "destinationChainId";
717
- readonly internalType: "uint256";
718
- readonly type: "uint256";
1736
+ readonly internalType: "uint32";
1737
+ readonly type: "uint32";
719
1738
  }];
720
1739
  }, {
721
1740
  readonly name: "signature";
@@ -758,8 +1777,8 @@ export declare const commentsImplABI: readonly [{
758
1777
  readonly type: "address";
759
1778
  }, {
760
1779
  readonly name: "sparksQuantity";
761
- readonly internalType: "uint64";
762
- readonly type: "uint64";
1780
+ readonly internalType: "uint256";
1781
+ readonly type: "uint256";
763
1782
  }, {
764
1783
  readonly name: "deadline";
765
1784
  readonly internalType: "uint256";
@@ -774,12 +1793,12 @@ export declare const commentsImplABI: readonly [{
774
1793
  readonly type: "address";
775
1794
  }, {
776
1795
  readonly name: "sourceChainId";
777
- readonly internalType: "uint256";
778
- readonly type: "uint256";
1796
+ readonly internalType: "uint32";
1797
+ readonly type: "uint32";
779
1798
  }, {
780
1799
  readonly name: "destinationChainId";
781
- readonly internalType: "uint256";
782
- readonly type: "uint256";
1800
+ readonly internalType: "uint32";
1801
+ readonly type: "uint32";
783
1802
  }];
784
1803
  }, {
785
1804
  readonly name: "signature";
@@ -862,8 +1881,8 @@ export declare const commentsImplABI: readonly [{
862
1881
  }];
863
1882
  }, {
864
1883
  readonly name: "sparksQuantity";
865
- readonly internalType: "uint64";
866
- readonly type: "uint64";
1884
+ readonly internalType: "uint256";
1885
+ readonly type: "uint256";
867
1886
  }, {
868
1887
  readonly name: "referrer";
869
1888
  readonly internalType: "address";
@@ -918,7 +1937,7 @@ export declare const commentsImplABI: readonly [{
918
1937
  readonly type: "bytes32";
919
1938
  readonly indexed: true;
920
1939
  }, {
921
- readonly name: "comment";
1940
+ readonly name: "commentIdentifier";
922
1941
  readonly internalType: "struct IComments.CommentIdentifier";
923
1942
  readonly type: "tuple";
924
1943
  readonly components: readonly [{
@@ -965,7 +1984,7 @@ export declare const commentsImplABI: readonly [{
965
1984
  readonly type: "bytes32";
966
1985
  readonly indexed: true;
967
1986
  }, {
968
- readonly name: "comment";
1987
+ readonly name: "commentIdentifier";
969
1988
  readonly internalType: "struct IComments.CommentIdentifier";
970
1989
  readonly type: "tuple";
971
1990
  readonly components: readonly [{
@@ -1015,8 +2034,8 @@ export declare const commentsImplABI: readonly [{
1015
2034
  readonly indexed: false;
1016
2035
  }, {
1017
2036
  readonly name: "sparksQuantity";
1018
- readonly internalType: "uint64";
1019
- readonly type: "uint64";
2037
+ readonly internalType: "uint256";
2038
+ readonly type: "uint256";
1020
2039
  readonly indexed: false;
1021
2040
  }, {
1022
2041
  readonly name: "text";
@@ -1035,6 +2054,11 @@ export declare const commentsImplABI: readonly [{
1035
2054
  readonly indexed: false;
1036
2055
  }];
1037
2056
  readonly name: "Commented";
2057
+ }, {
2058
+ readonly type: "event";
2059
+ readonly anonymous: false;
2060
+ readonly inputs: readonly [];
2061
+ readonly name: "EIP712DomainChanged";
1038
2062
  }, {
1039
2063
  readonly type: "event";
1040
2064
  readonly anonymous: false;
@@ -1137,8 +2161,8 @@ export declare const commentsImplABI: readonly [{
1137
2161
  readonly indexed: false;
1138
2162
  }, {
1139
2163
  readonly name: "sparksQuantity";
1140
- readonly internalType: "uint64";
1141
- readonly type: "uint64";
2164
+ readonly internalType: "uint256";
2165
+ readonly type: "uint256";
1142
2166
  readonly indexed: false;
1143
2167
  }, {
1144
2168
  readonly name: "sparker";
@@ -1150,6 +2174,11 @@ export declare const commentsImplABI: readonly [{
1150
2174
  readonly internalType: "uint256";
1151
2175
  readonly type: "uint256";
1152
2176
  readonly indexed: false;
2177
+ }, {
2178
+ readonly name: "referrer";
2179
+ readonly internalType: "address";
2180
+ readonly type: "address";
2181
+ readonly indexed: false;
1153
2182
  }];
1154
2183
  readonly name: "SparkedComment";
1155
2184
  }, {
@@ -1186,6 +2215,10 @@ export declare const commentsImplABI: readonly [{
1186
2215
  readonly type: "address";
1187
2216
  }];
1188
2217
  readonly name: "AddressEmptyCode";
2218
+ }, {
2219
+ readonly type: "error";
2220
+ readonly inputs: readonly [];
2221
+ readonly name: "AddressZero";
1189
2222
  }, {
1190
2223
  readonly type: "error";
1191
2224
  readonly inputs: readonly [];
@@ -1294,8 +2327,8 @@ export declare const commentsImplABI: readonly [{
1294
2327
  readonly type: "address";
1295
2328
  }, {
1296
2329
  readonly name: "currentNonce";
1297
- readonly internalType: "uint256";
1298
- readonly type: "uint256";
2330
+ readonly internalType: "bytes32";
2331
+ readonly type: "bytes32";
1299
2332
  }];
1300
2333
  readonly name: "InvalidAccountNonce";
1301
2334
  }, {
@@ -1310,10 +2343,22 @@ export declare const commentsImplABI: readonly [{
1310
2343
  readonly type: "error";
1311
2344
  readonly inputs: readonly [];
1312
2345
  readonly name: "MustSendAtLeastOneSpark";
2346
+ }, {
2347
+ readonly type: "error";
2348
+ readonly inputs: readonly [];
2349
+ readonly name: "NoFundsRecipient";
1313
2350
  }, {
1314
2351
  readonly type: "error";
1315
2352
  readonly inputs: readonly [];
1316
2353
  readonly name: "NotInitializing";
2354
+ }, {
2355
+ readonly type: "error";
2356
+ readonly inputs: readonly [];
2357
+ readonly name: "NotSmartWallet";
2358
+ }, {
2359
+ readonly type: "error";
2360
+ readonly inputs: readonly [];
2361
+ readonly name: "NotSmartWalletOwner";
1317
2362
  }, {
1318
2363
  readonly type: "error";
1319
2364
  readonly inputs: readonly [];