@zoralabs/comments-contracts 0.0.2 → 0.0.3

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,31 +1,30 @@
1
1
  // package/wagmiGenerated.ts
2
2
  var callerAndCommenterImplABI = [
3
3
  {
4
- stateMutability: "nonpayable",
5
4
  type: "constructor",
6
5
  inputs: [
7
6
  { name: "_comments", internalType: "address", type: "address" },
8
7
  { name: "_zoraTimedSale", internalType: "address", type: "address" },
9
8
  { name: "_swapHelper", internalType: "address", type: "address" },
10
9
  { name: "_sparksValue", internalType: "uint256", type: "uint256" }
11
- ]
10
+ ],
11
+ stateMutability: "nonpayable"
12
12
  },
13
13
  {
14
- stateMutability: "view",
15
14
  type: "function",
16
15
  inputs: [],
17
16
  name: "UPGRADE_INTERFACE_VERSION",
18
- outputs: [{ name: "", internalType: "string", type: "string" }]
17
+ outputs: [{ name: "", internalType: "string", type: "string" }],
18
+ stateMutability: "view"
19
19
  },
20
20
  {
21
- stateMutability: "nonpayable",
22
21
  type: "function",
23
22
  inputs: [],
24
23
  name: "acceptOwnership",
25
- outputs: []
24
+ outputs: [],
25
+ stateMutability: "nonpayable"
26
26
  },
27
27
  {
28
- stateMutability: "payable",
29
28
  type: "function",
30
29
  inputs: [
31
30
  { name: "commenter", internalType: "address", type: "address" },
@@ -54,33 +53,33 @@ var callerAndCommenterImplABI = [
54
53
  { name: "nonce", internalType: "bytes32", type: "bytes32" }
55
54
  ]
56
55
  }
57
- ]
56
+ ],
57
+ stateMutability: "payable"
58
58
  },
59
59
  {
60
- stateMutability: "view",
61
60
  type: "function",
62
61
  inputs: [],
63
62
  name: "comments",
64
63
  outputs: [
65
64
  { name: "", internalType: "contract IComments", type: "address" }
66
- ]
65
+ ],
66
+ stateMutability: "view"
67
67
  },
68
68
  {
69
- stateMutability: "pure",
70
69
  type: "function",
71
70
  inputs: [],
72
71
  name: "contractName",
73
- outputs: [{ name: "", internalType: "string", type: "string" }]
72
+ outputs: [{ name: "", internalType: "string", type: "string" }],
73
+ stateMutability: "pure"
74
74
  },
75
75
  {
76
- stateMutability: "pure",
77
76
  type: "function",
78
77
  inputs: [],
79
78
  name: "contractVersion",
80
- outputs: [{ name: "", internalType: "string", type: "string" }]
79
+ outputs: [{ name: "", internalType: "string", type: "string" }],
80
+ stateMutability: "pure"
81
81
  },
82
82
  {
83
- stateMutability: "view",
84
83
  type: "function",
85
84
  inputs: [],
86
85
  name: "eip712Domain",
@@ -92,10 +91,10 @@ var callerAndCommenterImplABI = [
92
91
  { name: "verifyingContract", internalType: "address", type: "address" },
93
92
  { name: "salt", internalType: "bytes32", type: "bytes32" },
94
93
  { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
95
- ]
94
+ ],
95
+ stateMutability: "view"
96
96
  },
97
97
  {
98
- stateMutability: "view",
99
98
  type: "function",
100
99
  inputs: [
101
100
  {
@@ -126,10 +125,10 @@ var callerAndCommenterImplABI = [
126
125
  }
127
126
  ],
128
127
  name: "hashPermitBuyOnSecondaryAndComment",
129
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
128
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
129
+ stateMutability: "view"
130
130
  },
131
131
  {
132
- stateMutability: "view",
133
132
  type: "function",
134
133
  inputs: [
135
134
  {
@@ -155,41 +154,41 @@ var callerAndCommenterImplABI = [
155
154
  }
156
155
  ],
157
156
  name: "hashPermitTimedSaleMintAndComment",
158
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
157
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
158
+ stateMutability: "view"
159
159
  },
160
160
  {
161
- stateMutability: "nonpayable",
162
161
  type: "function",
163
162
  inputs: [{ name: "owner", internalType: "address", type: "address" }],
164
163
  name: "initialize",
165
- outputs: []
164
+ outputs: [],
165
+ stateMutability: "nonpayable"
166
166
  },
167
167
  {
168
- stateMutability: "view",
169
168
  type: "function",
170
169
  inputs: [
171
170
  { name: "owner", internalType: "address", type: "address" },
172
171
  { name: "nonce", internalType: "bytes32", type: "bytes32" }
173
172
  ],
174
173
  name: "nonceUsed",
175
- outputs: [{ name: "", internalType: "bool", type: "bool" }]
174
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
175
+ stateMutability: "view"
176
176
  },
177
177
  {
178
- stateMutability: "view",
179
178
  type: "function",
180
179
  inputs: [],
181
180
  name: "owner",
182
- outputs: [{ name: "", internalType: "address", type: "address" }]
181
+ outputs: [{ name: "", internalType: "address", type: "address" }],
182
+ stateMutability: "view"
183
183
  },
184
184
  {
185
- stateMutability: "view",
186
185
  type: "function",
187
186
  inputs: [],
188
187
  name: "pendingOwner",
189
- outputs: [{ name: "", internalType: "address", type: "address" }]
188
+ outputs: [{ name: "", internalType: "address", type: "address" }],
189
+ stateMutability: "view"
190
190
  },
191
191
  {
192
- stateMutability: "payable",
193
192
  type: "function",
194
193
  inputs: [
195
194
  {
@@ -233,10 +232,10 @@ var callerAndCommenterImplABI = [
233
232
  { name: "nonce", internalType: "bytes32", type: "bytes32" }
234
233
  ]
235
234
  }
236
- ]
235
+ ],
236
+ stateMutability: "payable"
237
237
  },
238
238
  {
239
- stateMutability: "payable",
240
239
  type: "function",
241
240
  inputs: [
242
241
  {
@@ -275,33 +274,33 @@ var callerAndCommenterImplABI = [
275
274
  { name: "nonce", internalType: "bytes32", type: "bytes32" }
276
275
  ]
277
276
  }
278
- ]
277
+ ],
278
+ stateMutability: "payable"
279
279
  },
280
280
  {
281
- stateMutability: "view",
282
281
  type: "function",
283
282
  inputs: [],
284
283
  name: "proxiableUUID",
285
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
284
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
285
+ stateMutability: "view"
286
286
  },
287
287
  {
288
- stateMutability: "nonpayable",
289
288
  type: "function",
290
289
  inputs: [],
291
290
  name: "renounceOwnership",
292
- outputs: []
291
+ outputs: [],
292
+ stateMutability: "nonpayable"
293
293
  },
294
294
  {
295
- stateMutability: "view",
296
295
  type: "function",
297
296
  inputs: [],
298
297
  name: "secondarySwap",
299
298
  outputs: [
300
299
  { name: "", internalType: "contract ISecondarySwap", type: "address" }
301
- ]
300
+ ],
301
+ stateMutability: "view"
302
302
  },
303
303
  {
304
- stateMutability: "payable",
305
304
  type: "function",
306
305
  inputs: [
307
306
  { name: "commenter", internalType: "address", type: "address" },
@@ -326,17 +325,17 @@ var callerAndCommenterImplABI = [
326
325
  { name: "nonce", internalType: "bytes32", type: "bytes32" }
327
326
  ]
328
327
  }
329
- ]
328
+ ],
329
+ stateMutability: "payable"
330
330
  },
331
331
  {
332
- stateMutability: "view",
333
332
  type: "function",
334
333
  inputs: [],
335
334
  name: "sparkValue",
336
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
335
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
336
+ stateMutability: "view"
337
337
  },
338
338
  {
339
- stateMutability: "payable",
340
339
  type: "function",
341
340
  inputs: [
342
341
  { name: "commenter", internalType: "address", type: "address" },
@@ -359,27 +358,27 @@ var callerAndCommenterImplABI = [
359
358
  { name: "nonce", internalType: "bytes32", type: "bytes32" }
360
359
  ]
361
360
  }
362
- ]
361
+ ],
362
+ stateMutability: "payable"
363
363
  },
364
364
  {
365
- stateMutability: "nonpayable",
366
365
  type: "function",
367
366
  inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
368
367
  name: "transferOwnership",
369
- outputs: []
368
+ outputs: [],
369
+ stateMutability: "nonpayable"
370
370
  },
371
371
  {
372
- stateMutability: "payable",
373
372
  type: "function",
374
373
  inputs: [
375
374
  { name: "newImplementation", internalType: "address", type: "address" },
376
375
  { name: "data", internalType: "bytes", type: "bytes" }
377
376
  ],
378
377
  name: "upgradeToAndCall",
379
- outputs: []
378
+ outputs: [],
379
+ stateMutability: "payable"
380
380
  },
381
381
  {
382
- stateMutability: "view",
383
382
  type: "function",
384
383
  inputs: [],
385
384
  name: "zoraTimedSale",
@@ -389,7 +388,8 @@ var callerAndCommenterImplABI = [
389
388
  internalType: "contract IZoraTimedSaleStrategy",
390
389
  type: "address"
391
390
  }
392
- ]
391
+ ],
392
+ stateMutability: "view"
393
393
  },
394
394
  { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
395
395
  {
@@ -623,86 +623,85 @@ var callerAndCommenterImplABI = [
623
623
  ];
624
624
  var commentsImplABI = [
625
625
  {
626
- stateMutability: "nonpayable",
627
626
  type: "constructor",
628
627
  inputs: [
629
628
  { name: "_sparkValue", internalType: "uint256", type: "uint256" },
630
629
  { name: "_protocolRewards", internalType: "address", type: "address" },
631
630
  { name: "_zoraRecipient", internalType: "address", type: "address" }
632
- ]
631
+ ],
632
+ stateMutability: "nonpayable"
633
633
  },
634
634
  {
635
- stateMutability: "view",
636
635
  type: "function",
637
636
  inputs: [],
638
637
  name: "BACKFILLER_ROLE",
639
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
638
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
639
+ stateMutability: "view"
640
640
  },
641
641
  {
642
- stateMutability: "view",
643
642
  type: "function",
644
643
  inputs: [],
645
644
  name: "DEFAULT_ADMIN_ROLE",
646
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
645
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
646
+ stateMutability: "view"
647
647
  },
648
648
  {
649
- stateMutability: "view",
650
649
  type: "function",
651
650
  inputs: [],
652
651
  name: "DELEGATE_COMMENTER",
653
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
652
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
653
+ stateMutability: "view"
654
654
  },
655
655
  {
656
- stateMutability: "view",
657
656
  type: "function",
658
657
  inputs: [],
659
658
  name: "DOMAIN_NAME",
660
- outputs: [{ name: "", internalType: "string", type: "string" }]
659
+ outputs: [{ name: "", internalType: "string", type: "string" }],
660
+ stateMutability: "view"
661
661
  },
662
662
  {
663
- stateMutability: "view",
664
663
  type: "function",
665
664
  inputs: [],
666
665
  name: "DOMAIN_VERSION",
667
- outputs: [{ name: "", internalType: "string", type: "string" }]
666
+ outputs: [{ name: "", internalType: "string", type: "string" }],
667
+ stateMutability: "view"
668
668
  },
669
669
  {
670
- stateMutability: "view",
671
670
  type: "function",
672
671
  inputs: [],
673
672
  name: "PERMISSION_BIT_ADMIN",
674
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
673
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
674
+ stateMutability: "view"
675
675
  },
676
676
  {
677
- stateMutability: "view",
678
677
  type: "function",
679
678
  inputs: [],
680
679
  name: "REFERRER_REWARD_PCT",
681
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
680
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
681
+ stateMutability: "view"
682
682
  },
683
683
  {
684
- stateMutability: "view",
685
684
  type: "function",
686
685
  inputs: [],
687
686
  name: "UPGRADE_INTERFACE_VERSION",
688
- outputs: [{ name: "", internalType: "string", type: "string" }]
687
+ outputs: [{ name: "", internalType: "string", type: "string" }],
688
+ stateMutability: "view"
689
689
  },
690
690
  {
691
- stateMutability: "view",
692
691
  type: "function",
693
692
  inputs: [],
694
693
  name: "ZORA_REWARD_NO_REFERRER_PCT",
695
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
694
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
695
+ stateMutability: "view"
696
696
  },
697
697
  {
698
- stateMutability: "view",
699
698
  type: "function",
700
699
  inputs: [],
701
700
  name: "ZORA_REWARD_PCT",
702
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
701
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
702
+ stateMutability: "view"
703
703
  },
704
704
  {
705
- stateMutability: "nonpayable",
706
705
  type: "function",
707
706
  inputs: [
708
707
  {
@@ -725,10 +724,10 @@ var commentsImplABI = [
725
724
  }
726
725
  ],
727
726
  name: "backfillBatchAddComment",
728
- outputs: []
727
+ outputs: [],
728
+ stateMutability: "nonpayable"
729
729
  },
730
730
  {
731
- stateMutability: "payable",
732
731
  type: "function",
733
732
  inputs: [
734
733
  { name: "commenter", internalType: "address", type: "address" },
@@ -766,10 +765,10 @@ var commentsImplABI = [
766
765
  { name: "nonce", internalType: "bytes32", type: "bytes32" }
767
766
  ]
768
767
  }
769
- ]
768
+ ],
769
+ stateMutability: "payable"
770
770
  },
771
771
  {
772
- stateMutability: "view",
773
772
  type: "function",
774
773
  inputs: [
775
774
  {
@@ -785,24 +784,24 @@ var commentsImplABI = [
785
784
  }
786
785
  ],
787
786
  name: "commentSparksQuantity",
788
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
787
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
788
+ stateMutability: "view"
789
789
  },
790
790
  {
791
- stateMutability: "pure",
792
791
  type: "function",
793
792
  inputs: [],
794
793
  name: "contractName",
795
- outputs: [{ name: "", internalType: "string", type: "string" }]
794
+ outputs: [{ name: "", internalType: "string", type: "string" }],
795
+ stateMutability: "pure"
796
796
  },
797
797
  {
798
- stateMutability: "pure",
799
798
  type: "function",
800
799
  inputs: [],
801
800
  name: "contractVersion",
802
- outputs: [{ name: "", internalType: "string", type: "string" }]
801
+ outputs: [{ name: "", internalType: "string", type: "string" }],
802
+ stateMutability: "pure"
803
803
  },
804
804
  {
805
- stateMutability: "payable",
806
805
  type: "function",
807
806
  inputs: [
808
807
  { name: "commenter", internalType: "address", type: "address" },
@@ -841,10 +840,10 @@ var commentsImplABI = [
841
840
  ]
842
841
  },
843
842
  { name: "commentId", internalType: "bytes32", type: "bytes32" }
844
- ]
843
+ ],
844
+ stateMutability: "payable"
845
845
  },
846
846
  {
847
- stateMutability: "view",
848
847
  type: "function",
849
848
  inputs: [],
850
849
  name: "eip712Domain",
@@ -856,37 +855,37 @@ var commentsImplABI = [
856
855
  { name: "verifyingContract", internalType: "address", type: "address" },
857
856
  { name: "salt", internalType: "bytes32", type: "bytes32" },
858
857
  { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
859
- ]
858
+ ],
859
+ stateMutability: "view"
860
860
  },
861
861
  {
862
- stateMutability: "view",
863
862
  type: "function",
864
863
  inputs: [{ name: "role", internalType: "bytes32", type: "bytes32" }],
865
864
  name: "getRoleAdmin",
866
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
865
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
866
+ stateMutability: "view"
867
867
  },
868
868
  {
869
- stateMutability: "nonpayable",
870
869
  type: "function",
871
870
  inputs: [
872
871
  { name: "role", internalType: "bytes32", type: "bytes32" },
873
872
  { name: "account", internalType: "address", type: "address" }
874
873
  ],
875
874
  name: "grantRole",
876
- outputs: []
875
+ outputs: [],
876
+ stateMutability: "nonpayable"
877
877
  },
878
878
  {
879
- stateMutability: "view",
880
879
  type: "function",
881
880
  inputs: [
882
881
  { name: "role", internalType: "bytes32", type: "bytes32" },
883
882
  { name: "account", internalType: "address", type: "address" }
884
883
  ],
885
884
  name: "hasRole",
886
- outputs: [{ name: "", internalType: "bool", type: "bool" }]
885
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
886
+ stateMutability: "view"
887
887
  },
888
888
  {
889
- stateMutability: "view",
890
889
  type: "function",
891
890
  inputs: [
892
891
  {
@@ -905,10 +904,10 @@ var commentsImplABI = [
905
904
  outputs: [
906
905
  { name: "commentId", internalType: "bytes32", type: "bytes32" },
907
906
  { name: "exists", internalType: "bool", type: "bool" }
908
- ]
907
+ ],
908
+ stateMutability: "view"
909
909
  },
910
910
  {
911
- stateMutability: "view",
912
911
  type: "function",
913
912
  inputs: [
914
913
  {
@@ -924,10 +923,10 @@ var commentsImplABI = [
924
923
  }
925
924
  ],
926
925
  name: "hashAndValidateCommentExists",
927
- outputs: [{ name: "commentId", internalType: "bytes32", type: "bytes32" }]
926
+ outputs: [{ name: "commentId", internalType: "bytes32", type: "bytes32" }],
927
+ stateMutability: "view"
928
928
  },
929
929
  {
930
- stateMutability: "pure",
931
930
  type: "function",
932
931
  inputs: [
933
932
  {
@@ -943,10 +942,10 @@ var commentsImplABI = [
943
942
  }
944
943
  ],
945
944
  name: "hashCommentIdentifier",
946
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
945
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
946
+ stateMutability: "pure"
947
947
  },
948
948
  {
949
- stateMutability: "view",
950
949
  type: "function",
951
950
  inputs: [
952
951
  {
@@ -991,10 +990,10 @@ var commentsImplABI = [
991
990
  }
992
991
  ],
993
992
  name: "hashPermitComment",
994
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
993
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
994
+ stateMutability: "view"
995
995
  },
996
996
  {
997
- stateMutability: "view",
998
997
  type: "function",
999
998
  inputs: [
1000
999
  {
@@ -1032,17 +1031,17 @@ var commentsImplABI = [
1032
1031
  }
1033
1032
  ],
1034
1033
  name: "hashPermitSparkComment",
1035
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
1034
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
1035
+ stateMutability: "view"
1036
1036
  },
1037
1037
  {
1038
- stateMutability: "view",
1039
1038
  type: "function",
1040
1039
  inputs: [],
1041
1040
  name: "implementation",
1042
- outputs: [{ name: "", internalType: "address", type: "address" }]
1041
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1042
+ stateMutability: "view"
1043
1043
  },
1044
1044
  {
1045
- stateMutability: "nonpayable",
1046
1045
  type: "function",
1047
1046
  inputs: [
1048
1047
  { name: "defaultAdmin", internalType: "address", type: "address" },
@@ -1054,27 +1053,27 @@ var commentsImplABI = [
1054
1053
  }
1055
1054
  ],
1056
1055
  name: "initialize",
1057
- outputs: []
1056
+ outputs: [],
1057
+ stateMutability: "nonpayable"
1058
1058
  },
1059
1059
  {
1060
- stateMutability: "view",
1061
1060
  type: "function",
1062
1061
  inputs: [],
1063
1062
  name: "nextNonce",
1064
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
1063
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
1064
+ stateMutability: "view"
1065
1065
  },
1066
1066
  {
1067
- stateMutability: "view",
1068
1067
  type: "function",
1069
1068
  inputs: [
1070
1069
  { name: "owner", internalType: "address", type: "address" },
1071
1070
  { name: "nonce", internalType: "bytes32", type: "bytes32" }
1072
1071
  ],
1073
1072
  name: "nonceUsed",
1074
- outputs: [{ name: "", internalType: "bool", type: "bool" }]
1073
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1074
+ stateMutability: "view"
1075
1075
  },
1076
1076
  {
1077
- stateMutability: "payable",
1078
1077
  type: "function",
1079
1078
  inputs: [
1080
1079
  {
@@ -1120,10 +1119,10 @@ var commentsImplABI = [
1120
1119
  { name: "signature", internalType: "bytes", type: "bytes" }
1121
1120
  ],
1122
1121
  name: "permitComment",
1123
- outputs: []
1122
+ outputs: [],
1123
+ stateMutability: "payable"
1124
1124
  },
1125
1125
  {
1126
- stateMutability: "payable",
1127
1126
  type: "function",
1128
1127
  inputs: [
1129
1128
  {
@@ -1162,46 +1161,46 @@ var commentsImplABI = [
1162
1161
  { name: "signature", internalType: "bytes", type: "bytes" }
1163
1162
  ],
1164
1163
  name: "permitSparkComment",
1165
- outputs: []
1164
+ outputs: [],
1165
+ stateMutability: "payable"
1166
1166
  },
1167
1167
  {
1168
- stateMutability: "view",
1169
1168
  type: "function",
1170
1169
  inputs: [],
1171
1170
  name: "protocolRewards",
1172
1171
  outputs: [
1173
1172
  { name: "", internalType: "contract IProtocolRewards", type: "address" }
1174
- ]
1173
+ ],
1174
+ stateMutability: "view"
1175
1175
  },
1176
1176
  {
1177
- stateMutability: "view",
1178
1177
  type: "function",
1179
1178
  inputs: [],
1180
1179
  name: "proxiableUUID",
1181
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
1180
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
1181
+ stateMutability: "view"
1182
1182
  },
1183
1183
  {
1184
- stateMutability: "nonpayable",
1185
1184
  type: "function",
1186
1185
  inputs: [
1187
1186
  { name: "role", internalType: "bytes32", type: "bytes32" },
1188
1187
  { name: "callerConfirmation", internalType: "address", type: "address" }
1189
1188
  ],
1190
1189
  name: "renounceRole",
1191
- outputs: []
1190
+ outputs: [],
1191
+ stateMutability: "nonpayable"
1192
1192
  },
1193
1193
  {
1194
- stateMutability: "nonpayable",
1195
1194
  type: "function",
1196
1195
  inputs: [
1197
1196
  { name: "role", internalType: "bytes32", type: "bytes32" },
1198
1197
  { name: "account", internalType: "address", type: "address" }
1199
1198
  ],
1200
1199
  name: "revokeRole",
1201
- outputs: []
1200
+ outputs: [],
1201
+ stateMutability: "nonpayable"
1202
1202
  },
1203
1203
  {
1204
- stateMutability: "payable",
1205
1204
  type: "function",
1206
1205
  inputs: [
1207
1206
  {
@@ -1219,31 +1218,32 @@ var commentsImplABI = [
1219
1218
  { name: "referrer", internalType: "address", type: "address" }
1220
1219
  ],
1221
1220
  name: "sparkComment",
1222
- outputs: []
1221
+ outputs: [],
1222
+ stateMutability: "payable"
1223
1223
  },
1224
1224
  {
1225
- stateMutability: "view",
1226
1225
  type: "function",
1227
1226
  inputs: [],
1228
1227
  name: "sparkValue",
1229
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
1228
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1229
+ stateMutability: "view"
1230
1230
  },
1231
1231
  {
1232
- stateMutability: "view",
1233
1232
  type: "function",
1234
1233
  inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
1235
1234
  name: "supportsInterface",
1236
- outputs: [{ name: "", internalType: "bool", type: "bool" }]
1235
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
1236
+ stateMutability: "view"
1237
1237
  },
1238
1238
  {
1239
- stateMutability: "payable",
1240
1239
  type: "function",
1241
1240
  inputs: [
1242
1241
  { name: "newImplementation", internalType: "address", type: "address" },
1243
1242
  { name: "data", internalType: "bytes", type: "bytes" }
1244
1243
  ],
1245
1244
  name: "upgradeToAndCall",
1246
- outputs: []
1245
+ outputs: [],
1246
+ stateMutability: "payable"
1247
1247
  },
1248
1248
  {
1249
1249
  type: "event",