@zoralabs/comments-contracts 0.0.2-COMMENTS.0 → 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/.turbo/turbo-build.log +59 -53
- package/CHANGELOG.md +2 -3
- package/abis/AddDelegateCommenterRole.json +0 -13
- package/abis/CommentsTest.json +28 -0
- package/abis/Comments_smartWallet.json +35 -0
- package/abis/DeployCallerAndCommenterImpl.json +0 -13
- package/abis/DeployImpl.json +0 -13
- package/abis/DeployNonDeterministic.json +0 -13
- package/abis/DeployScript.json +0 -13
- package/abis/GenerateDeterministicParams.json +0 -13
- package/abis/ICoinComments.json +53 -0
- package/abis/IProtocolRewards.json +18 -0
- package/abis/MockCoin.json +395 -0
- package/addresses/1.json +9 -0
- package/addresses/10.json +4 -4
- package/addresses/11155111.json +3 -3
- package/addresses/42161.json +4 -4
- package/addresses/7777777.json +5 -5
- package/addresses/81457.json +9 -0
- package/addresses/8453.json +4 -4
- package/addresses/84532.json +4 -4
- package/addresses/999999999.json +3 -3
- package/dist/index.cjs +130 -130
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +130 -130
- package/dist/index.js.map +1 -1
- package/dist/wagmiGenerated.d.ts +65 -65
- package/package/wagmiGenerated.ts +65 -65
- package/package.json +10 -9
- package/script/CommentsDeployerBase.sol +1 -0
- package/script/DeployCallerAndCommenterImpl.s.sol +2 -0
- package/src/CommentsImpl.sol +48 -15
- package/src/interfaces/ICoinComments.sol +8 -0
- package/src/utils/CallerAndCommenterImpl.sol +2 -2
- package/src/version/ContractVersionBase.sol +1 -1
- package/test/Comments.t.sol +66 -0
- package/test/CommentsTestBase.sol +7 -0
- package/test/Comments_permit.t.sol +1 -1
- package/test/Comments_smartWallet.t.sol +97 -0
- package/test/mocks/MockCoin.sol +42 -0
- package/abis/CommentsDeployerBase.json +0 -15
- package/abis/ProxyDeployerScript.json +0 -15
- package/script/bundle-abis.ts +0 -109
- package/script/update-contract-version.ts +0 -63
package/dist/wagmiGenerated.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export declare const callerAndCommenterImplABI: readonly [{
|
|
2
|
-
readonly stateMutability: "nonpayable";
|
|
3
2
|
readonly type: "constructor";
|
|
4
3
|
readonly inputs: readonly [{
|
|
5
4
|
readonly name: "_comments";
|
|
@@ -18,8 +17,8 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
18
17
|
readonly internalType: "uint256";
|
|
19
18
|
readonly type: "uint256";
|
|
20
19
|
}];
|
|
20
|
+
readonly stateMutability: "nonpayable";
|
|
21
21
|
}, {
|
|
22
|
-
readonly stateMutability: "view";
|
|
23
22
|
readonly type: "function";
|
|
24
23
|
readonly inputs: readonly [];
|
|
25
24
|
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
@@ -28,14 +27,14 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
28
27
|
readonly internalType: "string";
|
|
29
28
|
readonly type: "string";
|
|
30
29
|
}];
|
|
30
|
+
readonly stateMutability: "view";
|
|
31
31
|
}, {
|
|
32
|
-
readonly stateMutability: "nonpayable";
|
|
33
32
|
readonly type: "function";
|
|
34
33
|
readonly inputs: readonly [];
|
|
35
34
|
readonly name: "acceptOwnership";
|
|
36
35
|
readonly outputs: readonly [];
|
|
36
|
+
readonly stateMutability: "nonpayable";
|
|
37
37
|
}, {
|
|
38
|
-
readonly stateMutability: "payable";
|
|
39
38
|
readonly type: "function";
|
|
40
39
|
readonly inputs: readonly [{
|
|
41
40
|
readonly name: "commenter";
|
|
@@ -93,8 +92,8 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
93
92
|
readonly type: "bytes32";
|
|
94
93
|
}];
|
|
95
94
|
}];
|
|
95
|
+
readonly stateMutability: "payable";
|
|
96
96
|
}, {
|
|
97
|
-
readonly stateMutability: "view";
|
|
98
97
|
readonly type: "function";
|
|
99
98
|
readonly inputs: readonly [];
|
|
100
99
|
readonly name: "comments";
|
|
@@ -103,8 +102,8 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
103
102
|
readonly internalType: "contract IComments";
|
|
104
103
|
readonly type: "address";
|
|
105
104
|
}];
|
|
105
|
+
readonly stateMutability: "view";
|
|
106
106
|
}, {
|
|
107
|
-
readonly stateMutability: "pure";
|
|
108
107
|
readonly type: "function";
|
|
109
108
|
readonly inputs: readonly [];
|
|
110
109
|
readonly name: "contractName";
|
|
@@ -113,8 +112,8 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
113
112
|
readonly internalType: "string";
|
|
114
113
|
readonly type: "string";
|
|
115
114
|
}];
|
|
116
|
-
}, {
|
|
117
115
|
readonly stateMutability: "pure";
|
|
116
|
+
}, {
|
|
118
117
|
readonly type: "function";
|
|
119
118
|
readonly inputs: readonly [];
|
|
120
119
|
readonly name: "contractVersion";
|
|
@@ -123,8 +122,8 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
123
122
|
readonly internalType: "string";
|
|
124
123
|
readonly type: "string";
|
|
125
124
|
}];
|
|
125
|
+
readonly stateMutability: "pure";
|
|
126
126
|
}, {
|
|
127
|
-
readonly stateMutability: "view";
|
|
128
127
|
readonly type: "function";
|
|
129
128
|
readonly inputs: readonly [];
|
|
130
129
|
readonly name: "eip712Domain";
|
|
@@ -157,8 +156,8 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
157
156
|
readonly internalType: "uint256[]";
|
|
158
157
|
readonly type: "uint256[]";
|
|
159
158
|
}];
|
|
160
|
-
}, {
|
|
161
159
|
readonly stateMutability: "view";
|
|
160
|
+
}, {
|
|
162
161
|
readonly type: "function";
|
|
163
162
|
readonly inputs: readonly [{
|
|
164
163
|
readonly name: "permit";
|
|
@@ -216,8 +215,8 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
216
215
|
readonly internalType: "bytes32";
|
|
217
216
|
readonly type: "bytes32";
|
|
218
217
|
}];
|
|
219
|
-
}, {
|
|
220
218
|
readonly stateMutability: "view";
|
|
219
|
+
}, {
|
|
221
220
|
readonly type: "function";
|
|
222
221
|
readonly inputs: readonly [{
|
|
223
222
|
readonly name: "permit";
|
|
@@ -271,8 +270,8 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
271
270
|
readonly internalType: "bytes32";
|
|
272
271
|
readonly type: "bytes32";
|
|
273
272
|
}];
|
|
273
|
+
readonly stateMutability: "view";
|
|
274
274
|
}, {
|
|
275
|
-
readonly stateMutability: "nonpayable";
|
|
276
275
|
readonly type: "function";
|
|
277
276
|
readonly inputs: readonly [{
|
|
278
277
|
readonly name: "owner";
|
|
@@ -281,8 +280,8 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
281
280
|
}];
|
|
282
281
|
readonly name: "initialize";
|
|
283
282
|
readonly outputs: readonly [];
|
|
283
|
+
readonly stateMutability: "nonpayable";
|
|
284
284
|
}, {
|
|
285
|
-
readonly stateMutability: "view";
|
|
286
285
|
readonly type: "function";
|
|
287
286
|
readonly inputs: readonly [{
|
|
288
287
|
readonly name: "owner";
|
|
@@ -299,8 +298,8 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
299
298
|
readonly internalType: "bool";
|
|
300
299
|
readonly type: "bool";
|
|
301
300
|
}];
|
|
302
|
-
}, {
|
|
303
301
|
readonly stateMutability: "view";
|
|
302
|
+
}, {
|
|
304
303
|
readonly type: "function";
|
|
305
304
|
readonly inputs: readonly [];
|
|
306
305
|
readonly name: "owner";
|
|
@@ -309,8 +308,8 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
309
308
|
readonly internalType: "address";
|
|
310
309
|
readonly type: "address";
|
|
311
310
|
}];
|
|
312
|
-
}, {
|
|
313
311
|
readonly stateMutability: "view";
|
|
312
|
+
}, {
|
|
314
313
|
readonly type: "function";
|
|
315
314
|
readonly inputs: readonly [];
|
|
316
315
|
readonly name: "pendingOwner";
|
|
@@ -319,8 +318,8 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
319
318
|
readonly internalType: "address";
|
|
320
319
|
readonly type: "address";
|
|
321
320
|
}];
|
|
321
|
+
readonly stateMutability: "view";
|
|
322
322
|
}, {
|
|
323
|
-
readonly stateMutability: "payable";
|
|
324
323
|
readonly type: "function";
|
|
325
324
|
readonly inputs: readonly [{
|
|
326
325
|
readonly name: "permit";
|
|
@@ -399,8 +398,8 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
399
398
|
readonly type: "bytes32";
|
|
400
399
|
}];
|
|
401
400
|
}];
|
|
402
|
-
}, {
|
|
403
401
|
readonly stateMutability: "payable";
|
|
402
|
+
}, {
|
|
404
403
|
readonly type: "function";
|
|
405
404
|
readonly inputs: readonly [{
|
|
406
405
|
readonly name: "permit";
|
|
@@ -475,8 +474,8 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
475
474
|
readonly type: "bytes32";
|
|
476
475
|
}];
|
|
477
476
|
}];
|
|
477
|
+
readonly stateMutability: "payable";
|
|
478
478
|
}, {
|
|
479
|
-
readonly stateMutability: "view";
|
|
480
479
|
readonly type: "function";
|
|
481
480
|
readonly inputs: readonly [];
|
|
482
481
|
readonly name: "proxiableUUID";
|
|
@@ -485,14 +484,14 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
485
484
|
readonly internalType: "bytes32";
|
|
486
485
|
readonly type: "bytes32";
|
|
487
486
|
}];
|
|
487
|
+
readonly stateMutability: "view";
|
|
488
488
|
}, {
|
|
489
|
-
readonly stateMutability: "nonpayable";
|
|
490
489
|
readonly type: "function";
|
|
491
490
|
readonly inputs: readonly [];
|
|
492
491
|
readonly name: "renounceOwnership";
|
|
493
492
|
readonly outputs: readonly [];
|
|
493
|
+
readonly stateMutability: "nonpayable";
|
|
494
494
|
}, {
|
|
495
|
-
readonly stateMutability: "view";
|
|
496
495
|
readonly type: "function";
|
|
497
496
|
readonly inputs: readonly [];
|
|
498
497
|
readonly name: "secondarySwap";
|
|
@@ -501,8 +500,8 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
501
500
|
readonly internalType: "contract ISecondarySwap";
|
|
502
501
|
readonly type: "address";
|
|
503
502
|
}];
|
|
503
|
+
readonly stateMutability: "view";
|
|
504
504
|
}, {
|
|
505
|
-
readonly stateMutability: "payable";
|
|
506
505
|
readonly type: "function";
|
|
507
506
|
readonly inputs: readonly [{
|
|
508
507
|
readonly name: "commenter";
|
|
@@ -560,8 +559,8 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
560
559
|
readonly type: "bytes32";
|
|
561
560
|
}];
|
|
562
561
|
}];
|
|
562
|
+
readonly stateMutability: "payable";
|
|
563
563
|
}, {
|
|
564
|
-
readonly stateMutability: "view";
|
|
565
564
|
readonly type: "function";
|
|
566
565
|
readonly inputs: readonly [];
|
|
567
566
|
readonly name: "sparkValue";
|
|
@@ -570,8 +569,8 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
570
569
|
readonly internalType: "uint256";
|
|
571
570
|
readonly type: "uint256";
|
|
572
571
|
}];
|
|
572
|
+
readonly stateMutability: "view";
|
|
573
573
|
}, {
|
|
574
|
-
readonly stateMutability: "payable";
|
|
575
574
|
readonly type: "function";
|
|
576
575
|
readonly inputs: readonly [{
|
|
577
576
|
readonly name: "commenter";
|
|
@@ -621,8 +620,8 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
621
620
|
readonly type: "bytes32";
|
|
622
621
|
}];
|
|
623
622
|
}];
|
|
623
|
+
readonly stateMutability: "payable";
|
|
624
624
|
}, {
|
|
625
|
-
readonly stateMutability: "nonpayable";
|
|
626
625
|
readonly type: "function";
|
|
627
626
|
readonly inputs: readonly [{
|
|
628
627
|
readonly name: "newOwner";
|
|
@@ -631,8 +630,8 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
631
630
|
}];
|
|
632
631
|
readonly name: "transferOwnership";
|
|
633
632
|
readonly outputs: readonly [];
|
|
633
|
+
readonly stateMutability: "nonpayable";
|
|
634
634
|
}, {
|
|
635
|
-
readonly stateMutability: "payable";
|
|
636
635
|
readonly type: "function";
|
|
637
636
|
readonly inputs: readonly [{
|
|
638
637
|
readonly name: "newImplementation";
|
|
@@ -645,8 +644,8 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
645
644
|
}];
|
|
646
645
|
readonly name: "upgradeToAndCall";
|
|
647
646
|
readonly outputs: readonly [];
|
|
647
|
+
readonly stateMutability: "payable";
|
|
648
648
|
}, {
|
|
649
|
-
readonly stateMutability: "view";
|
|
650
649
|
readonly type: "function";
|
|
651
650
|
readonly inputs: readonly [];
|
|
652
651
|
readonly name: "zoraTimedSale";
|
|
@@ -655,6 +654,7 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
655
654
|
readonly internalType: "contract IZoraTimedSaleStrategy";
|
|
656
655
|
readonly type: "address";
|
|
657
656
|
}];
|
|
657
|
+
readonly stateMutability: "view";
|
|
658
658
|
}, {
|
|
659
659
|
readonly type: "event";
|
|
660
660
|
readonly anonymous: false;
|
|
@@ -941,7 +941,6 @@ export declare const callerAndCommenterImplABI: readonly [{
|
|
|
941
941
|
readonly name: "WrongValueSent";
|
|
942
942
|
}];
|
|
943
943
|
export declare const commentsImplABI: readonly [{
|
|
944
|
-
readonly stateMutability: "nonpayable";
|
|
945
944
|
readonly type: "constructor";
|
|
946
945
|
readonly inputs: readonly [{
|
|
947
946
|
readonly name: "_sparkValue";
|
|
@@ -956,8 +955,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
956
955
|
readonly internalType: "address";
|
|
957
956
|
readonly type: "address";
|
|
958
957
|
}];
|
|
958
|
+
readonly stateMutability: "nonpayable";
|
|
959
959
|
}, {
|
|
960
|
-
readonly stateMutability: "view";
|
|
961
960
|
readonly type: "function";
|
|
962
961
|
readonly inputs: readonly [];
|
|
963
962
|
readonly name: "BACKFILLER_ROLE";
|
|
@@ -966,8 +965,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
966
965
|
readonly internalType: "bytes32";
|
|
967
966
|
readonly type: "bytes32";
|
|
968
967
|
}];
|
|
969
|
-
}, {
|
|
970
968
|
readonly stateMutability: "view";
|
|
969
|
+
}, {
|
|
971
970
|
readonly type: "function";
|
|
972
971
|
readonly inputs: readonly [];
|
|
973
972
|
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
@@ -976,8 +975,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
976
975
|
readonly internalType: "bytes32";
|
|
977
976
|
readonly type: "bytes32";
|
|
978
977
|
}];
|
|
979
|
-
}, {
|
|
980
978
|
readonly stateMutability: "view";
|
|
979
|
+
}, {
|
|
981
980
|
readonly type: "function";
|
|
982
981
|
readonly inputs: readonly [];
|
|
983
982
|
readonly name: "DELEGATE_COMMENTER";
|
|
@@ -986,8 +985,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
986
985
|
readonly internalType: "bytes32";
|
|
987
986
|
readonly type: "bytes32";
|
|
988
987
|
}];
|
|
989
|
-
}, {
|
|
990
988
|
readonly stateMutability: "view";
|
|
989
|
+
}, {
|
|
991
990
|
readonly type: "function";
|
|
992
991
|
readonly inputs: readonly [];
|
|
993
992
|
readonly name: "DOMAIN_NAME";
|
|
@@ -996,8 +995,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
996
995
|
readonly internalType: "string";
|
|
997
996
|
readonly type: "string";
|
|
998
997
|
}];
|
|
999
|
-
}, {
|
|
1000
998
|
readonly stateMutability: "view";
|
|
999
|
+
}, {
|
|
1001
1000
|
readonly type: "function";
|
|
1002
1001
|
readonly inputs: readonly [];
|
|
1003
1002
|
readonly name: "DOMAIN_VERSION";
|
|
@@ -1006,8 +1005,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1006
1005
|
readonly internalType: "string";
|
|
1007
1006
|
readonly type: "string";
|
|
1008
1007
|
}];
|
|
1009
|
-
}, {
|
|
1010
1008
|
readonly stateMutability: "view";
|
|
1009
|
+
}, {
|
|
1011
1010
|
readonly type: "function";
|
|
1012
1011
|
readonly inputs: readonly [];
|
|
1013
1012
|
readonly name: "PERMISSION_BIT_ADMIN";
|
|
@@ -1016,8 +1015,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1016
1015
|
readonly internalType: "uint256";
|
|
1017
1016
|
readonly type: "uint256";
|
|
1018
1017
|
}];
|
|
1019
|
-
}, {
|
|
1020
1018
|
readonly stateMutability: "view";
|
|
1019
|
+
}, {
|
|
1021
1020
|
readonly type: "function";
|
|
1022
1021
|
readonly inputs: readonly [];
|
|
1023
1022
|
readonly name: "REFERRER_REWARD_PCT";
|
|
@@ -1026,8 +1025,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1026
1025
|
readonly internalType: "uint256";
|
|
1027
1026
|
readonly type: "uint256";
|
|
1028
1027
|
}];
|
|
1029
|
-
}, {
|
|
1030
1028
|
readonly stateMutability: "view";
|
|
1029
|
+
}, {
|
|
1031
1030
|
readonly type: "function";
|
|
1032
1031
|
readonly inputs: readonly [];
|
|
1033
1032
|
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
@@ -1036,8 +1035,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1036
1035
|
readonly internalType: "string";
|
|
1037
1036
|
readonly type: "string";
|
|
1038
1037
|
}];
|
|
1039
|
-
}, {
|
|
1040
1038
|
readonly stateMutability: "view";
|
|
1039
|
+
}, {
|
|
1041
1040
|
readonly type: "function";
|
|
1042
1041
|
readonly inputs: readonly [];
|
|
1043
1042
|
readonly name: "ZORA_REWARD_NO_REFERRER_PCT";
|
|
@@ -1046,8 +1045,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1046
1045
|
readonly internalType: "uint256";
|
|
1047
1046
|
readonly type: "uint256";
|
|
1048
1047
|
}];
|
|
1049
|
-
}, {
|
|
1050
1048
|
readonly stateMutability: "view";
|
|
1049
|
+
}, {
|
|
1051
1050
|
readonly type: "function";
|
|
1052
1051
|
readonly inputs: readonly [];
|
|
1053
1052
|
readonly name: "ZORA_REWARD_PCT";
|
|
@@ -1056,8 +1055,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1056
1055
|
readonly internalType: "uint256";
|
|
1057
1056
|
readonly type: "uint256";
|
|
1058
1057
|
}];
|
|
1058
|
+
readonly stateMutability: "view";
|
|
1059
1059
|
}, {
|
|
1060
|
-
readonly stateMutability: "nonpayable";
|
|
1061
1060
|
readonly type: "function";
|
|
1062
1061
|
readonly inputs: readonly [{
|
|
1063
1062
|
readonly name: "commentIdentifiers";
|
|
@@ -1095,8 +1094,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1095
1094
|
}];
|
|
1096
1095
|
readonly name: "backfillBatchAddComment";
|
|
1097
1096
|
readonly outputs: readonly [];
|
|
1097
|
+
readonly stateMutability: "nonpayable";
|
|
1098
1098
|
}, {
|
|
1099
|
-
readonly stateMutability: "payable";
|
|
1100
1099
|
readonly type: "function";
|
|
1101
1100
|
readonly inputs: readonly [{
|
|
1102
1101
|
readonly name: "commenter";
|
|
@@ -1167,8 +1166,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1167
1166
|
readonly type: "bytes32";
|
|
1168
1167
|
}];
|
|
1169
1168
|
}];
|
|
1169
|
+
readonly stateMutability: "payable";
|
|
1170
1170
|
}, {
|
|
1171
|
-
readonly stateMutability: "view";
|
|
1172
1171
|
readonly type: "function";
|
|
1173
1172
|
readonly inputs: readonly [{
|
|
1174
1173
|
readonly name: "commentIdentifier";
|
|
@@ -1198,8 +1197,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1198
1197
|
readonly internalType: "uint256";
|
|
1199
1198
|
readonly type: "uint256";
|
|
1200
1199
|
}];
|
|
1200
|
+
readonly stateMutability: "view";
|
|
1201
1201
|
}, {
|
|
1202
|
-
readonly stateMutability: "pure";
|
|
1203
1202
|
readonly type: "function";
|
|
1204
1203
|
readonly inputs: readonly [];
|
|
1205
1204
|
readonly name: "contractName";
|
|
@@ -1208,8 +1207,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1208
1207
|
readonly internalType: "string";
|
|
1209
1208
|
readonly type: "string";
|
|
1210
1209
|
}];
|
|
1211
|
-
}, {
|
|
1212
1210
|
readonly stateMutability: "pure";
|
|
1211
|
+
}, {
|
|
1213
1212
|
readonly type: "function";
|
|
1214
1213
|
readonly inputs: readonly [];
|
|
1215
1214
|
readonly name: "contractVersion";
|
|
@@ -1218,8 +1217,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1218
1217
|
readonly internalType: "string";
|
|
1219
1218
|
readonly type: "string";
|
|
1220
1219
|
}];
|
|
1220
|
+
readonly stateMutability: "pure";
|
|
1221
1221
|
}, {
|
|
1222
|
-
readonly stateMutability: "payable";
|
|
1223
1222
|
readonly type: "function";
|
|
1224
1223
|
readonly inputs: readonly [{
|
|
1225
1224
|
readonly name: "commenter";
|
|
@@ -1294,8 +1293,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1294
1293
|
readonly internalType: "bytes32";
|
|
1295
1294
|
readonly type: "bytes32";
|
|
1296
1295
|
}];
|
|
1296
|
+
readonly stateMutability: "payable";
|
|
1297
1297
|
}, {
|
|
1298
|
-
readonly stateMutability: "view";
|
|
1299
1298
|
readonly type: "function";
|
|
1300
1299
|
readonly inputs: readonly [];
|
|
1301
1300
|
readonly name: "eip712Domain";
|
|
@@ -1328,8 +1327,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1328
1327
|
readonly internalType: "uint256[]";
|
|
1329
1328
|
readonly type: "uint256[]";
|
|
1330
1329
|
}];
|
|
1331
|
-
}, {
|
|
1332
1330
|
readonly stateMutability: "view";
|
|
1331
|
+
}, {
|
|
1333
1332
|
readonly type: "function";
|
|
1334
1333
|
readonly inputs: readonly [{
|
|
1335
1334
|
readonly name: "role";
|
|
@@ -1342,8 +1341,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1342
1341
|
readonly internalType: "bytes32";
|
|
1343
1342
|
readonly type: "bytes32";
|
|
1344
1343
|
}];
|
|
1344
|
+
readonly stateMutability: "view";
|
|
1345
1345
|
}, {
|
|
1346
|
-
readonly stateMutability: "nonpayable";
|
|
1347
1346
|
readonly type: "function";
|
|
1348
1347
|
readonly inputs: readonly [{
|
|
1349
1348
|
readonly name: "role";
|
|
@@ -1356,8 +1355,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1356
1355
|
}];
|
|
1357
1356
|
readonly name: "grantRole";
|
|
1358
1357
|
readonly outputs: readonly [];
|
|
1358
|
+
readonly stateMutability: "nonpayable";
|
|
1359
1359
|
}, {
|
|
1360
|
-
readonly stateMutability: "view";
|
|
1361
1360
|
readonly type: "function";
|
|
1362
1361
|
readonly inputs: readonly [{
|
|
1363
1362
|
readonly name: "role";
|
|
@@ -1374,8 +1373,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1374
1373
|
readonly internalType: "bool";
|
|
1375
1374
|
readonly type: "bool";
|
|
1376
1375
|
}];
|
|
1377
|
-
}, {
|
|
1378
1376
|
readonly stateMutability: "view";
|
|
1377
|
+
}, {
|
|
1379
1378
|
readonly type: "function";
|
|
1380
1379
|
readonly inputs: readonly [{
|
|
1381
1380
|
readonly name: "commentIdentifier";
|
|
@@ -1409,8 +1408,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1409
1408
|
readonly internalType: "bool";
|
|
1410
1409
|
readonly type: "bool";
|
|
1411
1410
|
}];
|
|
1412
|
-
}, {
|
|
1413
1411
|
readonly stateMutability: "view";
|
|
1412
|
+
}, {
|
|
1414
1413
|
readonly type: "function";
|
|
1415
1414
|
readonly inputs: readonly [{
|
|
1416
1415
|
readonly name: "commentIdentifier";
|
|
@@ -1440,8 +1439,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1440
1439
|
readonly internalType: "bytes32";
|
|
1441
1440
|
readonly type: "bytes32";
|
|
1442
1441
|
}];
|
|
1442
|
+
readonly stateMutability: "view";
|
|
1443
1443
|
}, {
|
|
1444
|
-
readonly stateMutability: "pure";
|
|
1445
1444
|
readonly type: "function";
|
|
1446
1445
|
readonly inputs: readonly [{
|
|
1447
1446
|
readonly name: "commentIdentifier";
|
|
@@ -1471,8 +1470,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1471
1470
|
readonly internalType: "bytes32";
|
|
1472
1471
|
readonly type: "bytes32";
|
|
1473
1472
|
}];
|
|
1473
|
+
readonly stateMutability: "pure";
|
|
1474
1474
|
}, {
|
|
1475
|
-
readonly stateMutability: "view";
|
|
1476
1475
|
readonly type: "function";
|
|
1477
1476
|
readonly inputs: readonly [{
|
|
1478
1477
|
readonly name: "permit";
|
|
@@ -1547,8 +1546,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1547
1546
|
readonly internalType: "bytes32";
|
|
1548
1547
|
readonly type: "bytes32";
|
|
1549
1548
|
}];
|
|
1550
|
-
}, {
|
|
1551
1549
|
readonly stateMutability: "view";
|
|
1550
|
+
}, {
|
|
1552
1551
|
readonly type: "function";
|
|
1553
1552
|
readonly inputs: readonly [{
|
|
1554
1553
|
readonly name: "permit";
|
|
@@ -1611,8 +1610,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1611
1610
|
readonly internalType: "bytes32";
|
|
1612
1611
|
readonly type: "bytes32";
|
|
1613
1612
|
}];
|
|
1614
|
-
}, {
|
|
1615
1613
|
readonly stateMutability: "view";
|
|
1614
|
+
}, {
|
|
1616
1615
|
readonly type: "function";
|
|
1617
1616
|
readonly inputs: readonly [];
|
|
1618
1617
|
readonly name: "implementation";
|
|
@@ -1621,8 +1620,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1621
1620
|
readonly internalType: "address";
|
|
1622
1621
|
readonly type: "address";
|
|
1623
1622
|
}];
|
|
1623
|
+
readonly stateMutability: "view";
|
|
1624
1624
|
}, {
|
|
1625
|
-
readonly stateMutability: "nonpayable";
|
|
1626
1625
|
readonly type: "function";
|
|
1627
1626
|
readonly inputs: readonly [{
|
|
1628
1627
|
readonly name: "defaultAdmin";
|
|
@@ -1639,8 +1638,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1639
1638
|
}];
|
|
1640
1639
|
readonly name: "initialize";
|
|
1641
1640
|
readonly outputs: readonly [];
|
|
1641
|
+
readonly stateMutability: "nonpayable";
|
|
1642
1642
|
}, {
|
|
1643
|
-
readonly stateMutability: "view";
|
|
1644
1643
|
readonly type: "function";
|
|
1645
1644
|
readonly inputs: readonly [];
|
|
1646
1645
|
readonly name: "nextNonce";
|
|
@@ -1649,8 +1648,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1649
1648
|
readonly internalType: "bytes32";
|
|
1650
1649
|
readonly type: "bytes32";
|
|
1651
1650
|
}];
|
|
1652
|
-
}, {
|
|
1653
1651
|
readonly stateMutability: "view";
|
|
1652
|
+
}, {
|
|
1654
1653
|
readonly type: "function";
|
|
1655
1654
|
readonly inputs: readonly [{
|
|
1656
1655
|
readonly name: "owner";
|
|
@@ -1667,8 +1666,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1667
1666
|
readonly internalType: "bool";
|
|
1668
1667
|
readonly type: "bool";
|
|
1669
1668
|
}];
|
|
1669
|
+
readonly stateMutability: "view";
|
|
1670
1670
|
}, {
|
|
1671
|
-
readonly stateMutability: "payable";
|
|
1672
1671
|
readonly type: "function";
|
|
1673
1672
|
readonly inputs: readonly [{
|
|
1674
1673
|
readonly name: "permit";
|
|
@@ -1743,8 +1742,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1743
1742
|
}];
|
|
1744
1743
|
readonly name: "permitComment";
|
|
1745
1744
|
readonly outputs: readonly [];
|
|
1746
|
-
}, {
|
|
1747
1745
|
readonly stateMutability: "payable";
|
|
1746
|
+
}, {
|
|
1748
1747
|
readonly type: "function";
|
|
1749
1748
|
readonly inputs: readonly [{
|
|
1750
1749
|
readonly name: "permit";
|
|
@@ -1807,8 +1806,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1807
1806
|
}];
|
|
1808
1807
|
readonly name: "permitSparkComment";
|
|
1809
1808
|
readonly outputs: readonly [];
|
|
1809
|
+
readonly stateMutability: "payable";
|
|
1810
1810
|
}, {
|
|
1811
|
-
readonly stateMutability: "view";
|
|
1812
1811
|
readonly type: "function";
|
|
1813
1812
|
readonly inputs: readonly [];
|
|
1814
1813
|
readonly name: "protocolRewards";
|
|
@@ -1817,8 +1816,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1817
1816
|
readonly internalType: "contract IProtocolRewards";
|
|
1818
1817
|
readonly type: "address";
|
|
1819
1818
|
}];
|
|
1820
|
-
}, {
|
|
1821
1819
|
readonly stateMutability: "view";
|
|
1820
|
+
}, {
|
|
1822
1821
|
readonly type: "function";
|
|
1823
1822
|
readonly inputs: readonly [];
|
|
1824
1823
|
readonly name: "proxiableUUID";
|
|
@@ -1827,8 +1826,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1827
1826
|
readonly internalType: "bytes32";
|
|
1828
1827
|
readonly type: "bytes32";
|
|
1829
1828
|
}];
|
|
1829
|
+
readonly stateMutability: "view";
|
|
1830
1830
|
}, {
|
|
1831
|
-
readonly stateMutability: "nonpayable";
|
|
1832
1831
|
readonly type: "function";
|
|
1833
1832
|
readonly inputs: readonly [{
|
|
1834
1833
|
readonly name: "role";
|
|
@@ -1841,8 +1840,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1841
1840
|
}];
|
|
1842
1841
|
readonly name: "renounceRole";
|
|
1843
1842
|
readonly outputs: readonly [];
|
|
1844
|
-
}, {
|
|
1845
1843
|
readonly stateMutability: "nonpayable";
|
|
1844
|
+
}, {
|
|
1846
1845
|
readonly type: "function";
|
|
1847
1846
|
readonly inputs: readonly [{
|
|
1848
1847
|
readonly name: "role";
|
|
@@ -1855,8 +1854,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1855
1854
|
}];
|
|
1856
1855
|
readonly name: "revokeRole";
|
|
1857
1856
|
readonly outputs: readonly [];
|
|
1857
|
+
readonly stateMutability: "nonpayable";
|
|
1858
1858
|
}, {
|
|
1859
|
-
readonly stateMutability: "payable";
|
|
1860
1859
|
readonly type: "function";
|
|
1861
1860
|
readonly inputs: readonly [{
|
|
1862
1861
|
readonly name: "commentIdentifier";
|
|
@@ -1890,8 +1889,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1890
1889
|
}];
|
|
1891
1890
|
readonly name: "sparkComment";
|
|
1892
1891
|
readonly outputs: readonly [];
|
|
1892
|
+
readonly stateMutability: "payable";
|
|
1893
1893
|
}, {
|
|
1894
|
-
readonly stateMutability: "view";
|
|
1895
1894
|
readonly type: "function";
|
|
1896
1895
|
readonly inputs: readonly [];
|
|
1897
1896
|
readonly name: "sparkValue";
|
|
@@ -1900,8 +1899,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1900
1899
|
readonly internalType: "uint256";
|
|
1901
1900
|
readonly type: "uint256";
|
|
1902
1901
|
}];
|
|
1903
|
-
}, {
|
|
1904
1902
|
readonly stateMutability: "view";
|
|
1903
|
+
}, {
|
|
1905
1904
|
readonly type: "function";
|
|
1906
1905
|
readonly inputs: readonly [{
|
|
1907
1906
|
readonly name: "interfaceId";
|
|
@@ -1914,8 +1913,8 @@ export declare const commentsImplABI: readonly [{
|
|
|
1914
1913
|
readonly internalType: "bool";
|
|
1915
1914
|
readonly type: "bool";
|
|
1916
1915
|
}];
|
|
1916
|
+
readonly stateMutability: "view";
|
|
1917
1917
|
}, {
|
|
1918
|
-
readonly stateMutability: "payable";
|
|
1919
1918
|
readonly type: "function";
|
|
1920
1919
|
readonly inputs: readonly [{
|
|
1921
1920
|
readonly name: "newImplementation";
|
|
@@ -1928,6 +1927,7 @@ export declare const commentsImplABI: readonly [{
|
|
|
1928
1927
|
}];
|
|
1929
1928
|
readonly name: "upgradeToAndCall";
|
|
1930
1929
|
readonly outputs: readonly [];
|
|
1930
|
+
readonly stateMutability: "payable";
|
|
1931
1931
|
}, {
|
|
1932
1932
|
readonly type: "event";
|
|
1933
1933
|
readonly anonymous: false;
|