@rateloop/contracts 0.1.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.
- package/README.md +27 -0
- package/dist/cjs/abis/AdvisoryVoteRecorderAbi.js +935 -0
- package/dist/cjs/abis/CategoryRegistryAbi.js +518 -0
- package/dist/cjs/abis/ClusterPayoutOracleAbi.js +2580 -0
- package/dist/cjs/abis/ConfidentialityEscrowAbi.js +1619 -0
- package/dist/cjs/abis/ContentRegistryAbi.js +2606 -0
- package/dist/cjs/abis/FeedbackBonusEscrowAbi.js +1496 -0
- package/dist/cjs/abis/FeedbackRegistryAbi.js +642 -0
- package/dist/cjs/abis/FrontendRegistryAbi.js +1406 -0
- package/dist/cjs/abis/LaunchDistributionPoolAbi.js +2936 -0
- package/dist/cjs/abis/LoopReputationAbi.js +1365 -0
- package/dist/cjs/abis/ProfileRegistryAbi.js +708 -0
- package/dist/cjs/abis/ProtocolConfigAbi.js +2075 -0
- package/dist/cjs/abis/QuestionRewardPoolEscrowAbi.js +2910 -0
- package/dist/cjs/abis/RateLoopGovernorAbi.js +2018 -0
- package/dist/cjs/abis/RaterRegistryAbi.js +3062 -0
- package/dist/cjs/abis/RaterRegistryConfidentialityAbi.js +117 -0
- package/dist/cjs/abis/RoundRewardDistributorAbi.js +1523 -0
- package/dist/cjs/abis/RoundVotingEngineAbi.js +2295 -0
- package/dist/cjs/abis/TimelockControllerAbi.js +1001 -0
- package/dist/cjs/abis/X402QuestionSubmitterAbi.js +2137 -0
- package/dist/cjs/abis/index.js +43 -0
- package/dist/cjs/deployedContracts.js +168595 -0
- package/dist/cjs/deployments.js +48 -0
- package/dist/cjs/index.js +27 -0
- package/dist/cjs/package.json +3 -0
- package/dist/cjs/protocol.js +99 -0
- package/dist/cjs/types.js +2 -0
- package/dist/cjs/voting.js +336 -0
- package/dist/cjs/votingCore.js +301 -0
- package/dist/esm/abis/AdvisoryVoteRecorderAbi.d.ts +727 -0
- package/dist/esm/abis/AdvisoryVoteRecorderAbi.d.ts.map +1 -0
- package/dist/esm/abis/AdvisoryVoteRecorderAbi.js +932 -0
- package/dist/esm/abis/CategoryRegistryAbi.d.ts +396 -0
- package/dist/esm/abis/CategoryRegistryAbi.d.ts.map +1 -0
- package/dist/esm/abis/CategoryRegistryAbi.js +515 -0
- package/dist/esm/abis/ClusterPayoutOracleAbi.d.ts +2005 -0
- package/dist/esm/abis/ClusterPayoutOracleAbi.d.ts.map +1 -0
- package/dist/esm/abis/ClusterPayoutOracleAbi.js +2577 -0
- package/dist/esm/abis/ConfidentialityEscrowAbi.d.ts +1255 -0
- package/dist/esm/abis/ConfidentialityEscrowAbi.d.ts.map +1 -0
- package/dist/esm/abis/ConfidentialityEscrowAbi.js +1616 -0
- package/dist/esm/abis/ContentRegistryAbi.d.ts +2036 -0
- package/dist/esm/abis/ContentRegistryAbi.d.ts.map +1 -0
- package/dist/esm/abis/ContentRegistryAbi.js +2603 -0
- package/dist/esm/abis/FeedbackBonusEscrowAbi.d.ts +1163 -0
- package/dist/esm/abis/FeedbackBonusEscrowAbi.d.ts.map +1 -0
- package/dist/esm/abis/FeedbackBonusEscrowAbi.js +1493 -0
- package/dist/esm/abis/FeedbackRegistryAbi.d.ts +498 -0
- package/dist/esm/abis/FeedbackRegistryAbi.d.ts.map +1 -0
- package/dist/esm/abis/FeedbackRegistryAbi.js +639 -0
- package/dist/esm/abis/FrontendRegistryAbi.d.ts +1084 -0
- package/dist/esm/abis/FrontendRegistryAbi.d.ts.map +1 -0
- package/dist/esm/abis/FrontendRegistryAbi.js +1403 -0
- package/dist/esm/abis/LaunchDistributionPoolAbi.d.ts +2273 -0
- package/dist/esm/abis/LaunchDistributionPoolAbi.d.ts.map +1 -0
- package/dist/esm/abis/LaunchDistributionPoolAbi.js +2933 -0
- package/dist/esm/abis/LoopReputationAbi.d.ts +1042 -0
- package/dist/esm/abis/LoopReputationAbi.d.ts.map +1 -0
- package/dist/esm/abis/LoopReputationAbi.js +1362 -0
- package/dist/esm/abis/ProfileRegistryAbi.d.ts +545 -0
- package/dist/esm/abis/ProfileRegistryAbi.d.ts.map +1 -0
- package/dist/esm/abis/ProfileRegistryAbi.js +705 -0
- package/dist/esm/abis/ProtocolConfigAbi.d.ts +1617 -0
- package/dist/esm/abis/ProtocolConfigAbi.d.ts.map +1 -0
- package/dist/esm/abis/ProtocolConfigAbi.js +2072 -0
- package/dist/esm/abis/QuestionRewardPoolEscrowAbi.d.ts +2287 -0
- package/dist/esm/abis/QuestionRewardPoolEscrowAbi.d.ts.map +1 -0
- package/dist/esm/abis/QuestionRewardPoolEscrowAbi.js +2907 -0
- package/dist/esm/abis/RateLoopGovernorAbi.d.ts +1544 -0
- package/dist/esm/abis/RateLoopGovernorAbi.d.ts.map +1 -0
- package/dist/esm/abis/RateLoopGovernorAbi.js +2015 -0
- package/dist/esm/abis/RaterRegistryAbi.d.ts +2390 -0
- package/dist/esm/abis/RaterRegistryAbi.d.ts.map +1 -0
- package/dist/esm/abis/RaterRegistryAbi.js +3059 -0
- package/dist/esm/abis/RaterRegistryConfidentialityAbi.d.ts +132 -0
- package/dist/esm/abis/RaterRegistryConfidentialityAbi.d.ts.map +1 -0
- package/dist/esm/abis/RaterRegistryConfidentialityAbi.js +114 -0
- package/dist/esm/abis/RoundRewardDistributorAbi.d.ts +1182 -0
- package/dist/esm/abis/RoundRewardDistributorAbi.d.ts.map +1 -0
- package/dist/esm/abis/RoundRewardDistributorAbi.js +1520 -0
- package/dist/esm/abis/RoundVotingEngineAbi.d.ts +1797 -0
- package/dist/esm/abis/RoundVotingEngineAbi.d.ts.map +1 -0
- package/dist/esm/abis/RoundVotingEngineAbi.js +2292 -0
- package/dist/esm/abis/TimelockControllerAbi.d.ts +771 -0
- package/dist/esm/abis/TimelockControllerAbi.d.ts.map +1 -0
- package/dist/esm/abis/TimelockControllerAbi.js +998 -0
- package/dist/esm/abis/X402QuestionSubmitterAbi.d.ts +1663 -0
- package/dist/esm/abis/X402QuestionSubmitterAbi.d.ts.map +1 -0
- package/dist/esm/abis/X402QuestionSubmitterAbi.js +2134 -0
- package/dist/esm/abis/index.d.ts +21 -0
- package/dist/esm/abis/index.d.ts.map +1 -0
- package/dist/esm/abis/index.js +20 -0
- package/dist/esm/deployedContracts.d.ts +8 -0
- package/dist/esm/deployedContracts.d.ts.map +1 -0
- package/dist/esm/deployedContracts.js +168593 -0
- package/dist/esm/deployments.d.ts +6 -0
- package/dist/esm/deployments.d.ts.map +1 -0
- package/dist/esm/deployments.js +39 -0
- package/dist/esm/index.d.ts +7 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/protocol.d.ts +64 -0
- package/dist/esm/protocol.d.ts.map +1 -0
- package/dist/esm/protocol.js +94 -0
- package/dist/esm/types.d.ts +16 -0
- package/dist/esm/types.d.ts.map +1 -0
- package/dist/esm/types.js +1 -0
- package/dist/esm/voting.d.ts +75 -0
- package/dist/esm/voting.d.ts.map +1 -0
- package/dist/esm/voting.js +279 -0
- package/dist/esm/votingCore.d.ts +55 -0
- package/dist/esm/votingCore.d.ts.map +1 -0
- package/dist/esm/votingCore.js +286 -0
- package/package.json +122 -0
|
@@ -0,0 +1,2036 @@
|
|
|
1
|
+
export declare const ContentRegistryAbi: readonly [{
|
|
2
|
+
readonly type: "constructor";
|
|
3
|
+
readonly inputs: readonly [];
|
|
4
|
+
readonly stateMutability: "nonpayable";
|
|
5
|
+
}, {
|
|
6
|
+
readonly type: "function";
|
|
7
|
+
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
8
|
+
readonly inputs: readonly [];
|
|
9
|
+
readonly outputs: readonly [{
|
|
10
|
+
readonly name: "";
|
|
11
|
+
readonly type: "bytes32";
|
|
12
|
+
readonly internalType: "bytes32";
|
|
13
|
+
}];
|
|
14
|
+
readonly stateMutability: "view";
|
|
15
|
+
}, {
|
|
16
|
+
readonly type: "function";
|
|
17
|
+
readonly name: "applyRatingPayoutSnapshot";
|
|
18
|
+
readonly inputs: readonly [{
|
|
19
|
+
readonly name: "contentId";
|
|
20
|
+
readonly type: "uint256";
|
|
21
|
+
readonly internalType: "uint256";
|
|
22
|
+
}, {
|
|
23
|
+
readonly name: "roundId";
|
|
24
|
+
readonly type: "uint256";
|
|
25
|
+
readonly internalType: "uint256";
|
|
26
|
+
}, {
|
|
27
|
+
readonly name: "payoutWeights";
|
|
28
|
+
readonly type: "tuple[]";
|
|
29
|
+
readonly internalType: "struct IClusterPayoutOracle.PayoutWeight[]";
|
|
30
|
+
readonly components: readonly [{
|
|
31
|
+
readonly name: "domain";
|
|
32
|
+
readonly type: "uint8";
|
|
33
|
+
readonly internalType: "uint8";
|
|
34
|
+
}, {
|
|
35
|
+
readonly name: "rewardPoolId";
|
|
36
|
+
readonly type: "uint256";
|
|
37
|
+
readonly internalType: "uint256";
|
|
38
|
+
}, {
|
|
39
|
+
readonly name: "contentId";
|
|
40
|
+
readonly type: "uint256";
|
|
41
|
+
readonly internalType: "uint256";
|
|
42
|
+
}, {
|
|
43
|
+
readonly name: "roundId";
|
|
44
|
+
readonly type: "uint256";
|
|
45
|
+
readonly internalType: "uint256";
|
|
46
|
+
}, {
|
|
47
|
+
readonly name: "commitKey";
|
|
48
|
+
readonly type: "bytes32";
|
|
49
|
+
readonly internalType: "bytes32";
|
|
50
|
+
}, {
|
|
51
|
+
readonly name: "identityKey";
|
|
52
|
+
readonly type: "bytes32";
|
|
53
|
+
readonly internalType: "bytes32";
|
|
54
|
+
}, {
|
|
55
|
+
readonly name: "account";
|
|
56
|
+
readonly type: "address";
|
|
57
|
+
readonly internalType: "address";
|
|
58
|
+
}, {
|
|
59
|
+
readonly name: "baseWeight";
|
|
60
|
+
readonly type: "uint256";
|
|
61
|
+
readonly internalType: "uint256";
|
|
62
|
+
}, {
|
|
63
|
+
readonly name: "independenceBps";
|
|
64
|
+
readonly type: "uint16";
|
|
65
|
+
readonly internalType: "uint16";
|
|
66
|
+
}, {
|
|
67
|
+
readonly name: "effectiveWeight";
|
|
68
|
+
readonly type: "uint256";
|
|
69
|
+
readonly internalType: "uint256";
|
|
70
|
+
}, {
|
|
71
|
+
readonly name: "reasonHash";
|
|
72
|
+
readonly type: "bytes32";
|
|
73
|
+
readonly internalType: "bytes32";
|
|
74
|
+
}];
|
|
75
|
+
}, {
|
|
76
|
+
readonly name: "proofs";
|
|
77
|
+
readonly type: "bytes32[][]";
|
|
78
|
+
readonly internalType: "bytes32[][]";
|
|
79
|
+
}];
|
|
80
|
+
readonly outputs: readonly [];
|
|
81
|
+
readonly stateMutability: "nonpayable";
|
|
82
|
+
}, {
|
|
83
|
+
readonly type: "function";
|
|
84
|
+
readonly name: "cancelContent";
|
|
85
|
+
readonly inputs: readonly [{
|
|
86
|
+
readonly name: "contentId";
|
|
87
|
+
readonly type: "uint256";
|
|
88
|
+
readonly internalType: "uint256";
|
|
89
|
+
}];
|
|
90
|
+
readonly outputs: readonly [];
|
|
91
|
+
readonly stateMutability: "nonpayable";
|
|
92
|
+
}, {
|
|
93
|
+
readonly type: "function";
|
|
94
|
+
readonly name: "cancelReservedSubmission";
|
|
95
|
+
readonly inputs: readonly [{
|
|
96
|
+
readonly name: "revealCommitment";
|
|
97
|
+
readonly type: "bytes32";
|
|
98
|
+
readonly internalType: "bytes32";
|
|
99
|
+
}];
|
|
100
|
+
readonly outputs: readonly [];
|
|
101
|
+
readonly stateMutability: "nonpayable";
|
|
102
|
+
}, {
|
|
103
|
+
readonly type: "function";
|
|
104
|
+
readonly name: "contentSubmitterIdentityKey";
|
|
105
|
+
readonly inputs: readonly [{
|
|
106
|
+
readonly name: "";
|
|
107
|
+
readonly type: "uint256";
|
|
108
|
+
readonly internalType: "uint256";
|
|
109
|
+
}];
|
|
110
|
+
readonly outputs: readonly [{
|
|
111
|
+
readonly name: "";
|
|
112
|
+
readonly type: "bytes32";
|
|
113
|
+
readonly internalType: "bytes32";
|
|
114
|
+
}];
|
|
115
|
+
readonly stateMutability: "view";
|
|
116
|
+
}, {
|
|
117
|
+
readonly type: "function";
|
|
118
|
+
readonly name: "contents";
|
|
119
|
+
readonly inputs: readonly [{
|
|
120
|
+
readonly name: "";
|
|
121
|
+
readonly type: "uint256";
|
|
122
|
+
readonly internalType: "uint256";
|
|
123
|
+
}];
|
|
124
|
+
readonly outputs: readonly [{
|
|
125
|
+
readonly name: "id";
|
|
126
|
+
readonly type: "uint64";
|
|
127
|
+
readonly internalType: "uint64";
|
|
128
|
+
}, {
|
|
129
|
+
readonly name: "contentHash";
|
|
130
|
+
readonly type: "bytes32";
|
|
131
|
+
readonly internalType: "bytes32";
|
|
132
|
+
}, {
|
|
133
|
+
readonly name: "submitter";
|
|
134
|
+
readonly type: "address";
|
|
135
|
+
readonly internalType: "address";
|
|
136
|
+
}, {
|
|
137
|
+
readonly name: "createdAt";
|
|
138
|
+
readonly type: "uint48";
|
|
139
|
+
readonly internalType: "uint48";
|
|
140
|
+
}, {
|
|
141
|
+
readonly name: "lastActivityAt";
|
|
142
|
+
readonly type: "uint48";
|
|
143
|
+
readonly internalType: "uint48";
|
|
144
|
+
}, {
|
|
145
|
+
readonly name: "status";
|
|
146
|
+
readonly type: "uint8";
|
|
147
|
+
readonly internalType: "enum ContentRegistryTypes.ContentStatus";
|
|
148
|
+
}, {
|
|
149
|
+
readonly name: "dormantCount";
|
|
150
|
+
readonly type: "uint8";
|
|
151
|
+
readonly internalType: "uint8";
|
|
152
|
+
}, {
|
|
153
|
+
readonly name: "reviver";
|
|
154
|
+
readonly type: "address";
|
|
155
|
+
readonly internalType: "address";
|
|
156
|
+
}, {
|
|
157
|
+
readonly name: "rating";
|
|
158
|
+
readonly type: "uint8";
|
|
159
|
+
readonly internalType: "uint8";
|
|
160
|
+
}, {
|
|
161
|
+
readonly name: "categoryId";
|
|
162
|
+
readonly type: "uint64";
|
|
163
|
+
readonly internalType: "uint64";
|
|
164
|
+
}];
|
|
165
|
+
readonly stateMutability: "view";
|
|
166
|
+
}, {
|
|
167
|
+
readonly type: "function";
|
|
168
|
+
readonly name: "dormantKeyReleasableAt";
|
|
169
|
+
readonly inputs: readonly [{
|
|
170
|
+
readonly name: "";
|
|
171
|
+
readonly type: "uint256";
|
|
172
|
+
readonly internalType: "uint256";
|
|
173
|
+
}];
|
|
174
|
+
readonly outputs: readonly [{
|
|
175
|
+
readonly name: "";
|
|
176
|
+
readonly type: "uint256";
|
|
177
|
+
readonly internalType: "uint256";
|
|
178
|
+
}];
|
|
179
|
+
readonly stateMutability: "view";
|
|
180
|
+
}, {
|
|
181
|
+
readonly type: "function";
|
|
182
|
+
readonly name: "getContentRoundConfig";
|
|
183
|
+
readonly inputs: readonly [{
|
|
184
|
+
readonly name: "contentId";
|
|
185
|
+
readonly type: "uint256";
|
|
186
|
+
readonly internalType: "uint256";
|
|
187
|
+
}];
|
|
188
|
+
readonly outputs: readonly [{
|
|
189
|
+
readonly name: "cfg";
|
|
190
|
+
readonly type: "tuple";
|
|
191
|
+
readonly internalType: "struct RoundLib.RoundConfig";
|
|
192
|
+
readonly components: readonly [{
|
|
193
|
+
readonly name: "epochDuration";
|
|
194
|
+
readonly type: "uint32";
|
|
195
|
+
readonly internalType: "uint32";
|
|
196
|
+
}, {
|
|
197
|
+
readonly name: "maxDuration";
|
|
198
|
+
readonly type: "uint32";
|
|
199
|
+
readonly internalType: "uint32";
|
|
200
|
+
}, {
|
|
201
|
+
readonly name: "minVoters";
|
|
202
|
+
readonly type: "uint16";
|
|
203
|
+
readonly internalType: "uint16";
|
|
204
|
+
}, {
|
|
205
|
+
readonly name: "maxVoters";
|
|
206
|
+
readonly type: "uint16";
|
|
207
|
+
readonly internalType: "uint16";
|
|
208
|
+
}];
|
|
209
|
+
}];
|
|
210
|
+
readonly stateMutability: "view";
|
|
211
|
+
}, {
|
|
212
|
+
readonly type: "function";
|
|
213
|
+
readonly name: "getRating";
|
|
214
|
+
readonly inputs: readonly [{
|
|
215
|
+
readonly name: "contentId";
|
|
216
|
+
readonly type: "uint256";
|
|
217
|
+
readonly internalType: "uint256";
|
|
218
|
+
}];
|
|
219
|
+
readonly outputs: readonly [{
|
|
220
|
+
readonly name: "";
|
|
221
|
+
readonly type: "uint16";
|
|
222
|
+
readonly internalType: "uint16";
|
|
223
|
+
}];
|
|
224
|
+
readonly stateMutability: "view";
|
|
225
|
+
}, {
|
|
226
|
+
readonly type: "function";
|
|
227
|
+
readonly name: "getRoleAdmin";
|
|
228
|
+
readonly inputs: readonly [{
|
|
229
|
+
readonly name: "role";
|
|
230
|
+
readonly type: "bytes32";
|
|
231
|
+
readonly internalType: "bytes32";
|
|
232
|
+
}];
|
|
233
|
+
readonly outputs: readonly [{
|
|
234
|
+
readonly name: "";
|
|
235
|
+
readonly type: "bytes32";
|
|
236
|
+
readonly internalType: "bytes32";
|
|
237
|
+
}];
|
|
238
|
+
readonly stateMutability: "view";
|
|
239
|
+
}, {
|
|
240
|
+
readonly type: "function";
|
|
241
|
+
readonly name: "getSubmitterIdentity";
|
|
242
|
+
readonly inputs: readonly [{
|
|
243
|
+
readonly name: "";
|
|
244
|
+
readonly type: "uint256";
|
|
245
|
+
readonly internalType: "uint256";
|
|
246
|
+
}];
|
|
247
|
+
readonly outputs: readonly [{
|
|
248
|
+
readonly name: "";
|
|
249
|
+
readonly type: "address";
|
|
250
|
+
readonly internalType: "address";
|
|
251
|
+
}];
|
|
252
|
+
readonly stateMutability: "view";
|
|
253
|
+
}, {
|
|
254
|
+
readonly type: "function";
|
|
255
|
+
readonly name: "grantRole";
|
|
256
|
+
readonly inputs: readonly [{
|
|
257
|
+
readonly name: "role";
|
|
258
|
+
readonly type: "bytes32";
|
|
259
|
+
readonly internalType: "bytes32";
|
|
260
|
+
}, {
|
|
261
|
+
readonly name: "account";
|
|
262
|
+
readonly type: "address";
|
|
263
|
+
readonly internalType: "address";
|
|
264
|
+
}];
|
|
265
|
+
readonly outputs: readonly [];
|
|
266
|
+
readonly stateMutability: "nonpayable";
|
|
267
|
+
}, {
|
|
268
|
+
readonly type: "function";
|
|
269
|
+
readonly name: "hasRole";
|
|
270
|
+
readonly inputs: readonly [{
|
|
271
|
+
readonly name: "role";
|
|
272
|
+
readonly type: "bytes32";
|
|
273
|
+
readonly internalType: "bytes32";
|
|
274
|
+
}, {
|
|
275
|
+
readonly name: "account";
|
|
276
|
+
readonly type: "address";
|
|
277
|
+
readonly internalType: "address";
|
|
278
|
+
}];
|
|
279
|
+
readonly outputs: readonly [{
|
|
280
|
+
readonly name: "";
|
|
281
|
+
readonly type: "bool";
|
|
282
|
+
readonly internalType: "bool";
|
|
283
|
+
}];
|
|
284
|
+
readonly stateMutability: "view";
|
|
285
|
+
}, {
|
|
286
|
+
readonly type: "function";
|
|
287
|
+
readonly name: "initializeWithTreasury";
|
|
288
|
+
readonly inputs: readonly [{
|
|
289
|
+
readonly name: "_admin";
|
|
290
|
+
readonly type: "address";
|
|
291
|
+
readonly internalType: "address";
|
|
292
|
+
}, {
|
|
293
|
+
readonly name: "_governance";
|
|
294
|
+
readonly type: "address";
|
|
295
|
+
readonly internalType: "address";
|
|
296
|
+
}, {
|
|
297
|
+
readonly name: "_treasuryAuthority";
|
|
298
|
+
readonly type: "address";
|
|
299
|
+
readonly internalType: "address";
|
|
300
|
+
}, {
|
|
301
|
+
readonly name: "_lrepToken";
|
|
302
|
+
readonly type: "address";
|
|
303
|
+
readonly internalType: "address";
|
|
304
|
+
}];
|
|
305
|
+
readonly outputs: readonly [];
|
|
306
|
+
readonly stateMutability: "nonpayable";
|
|
307
|
+
}, {
|
|
308
|
+
readonly type: "function";
|
|
309
|
+
readonly name: "isContentActive";
|
|
310
|
+
readonly inputs: readonly [{
|
|
311
|
+
readonly name: "contentId";
|
|
312
|
+
readonly type: "uint256";
|
|
313
|
+
readonly internalType: "uint256";
|
|
314
|
+
}];
|
|
315
|
+
readonly outputs: readonly [{
|
|
316
|
+
readonly name: "";
|
|
317
|
+
readonly type: "bool";
|
|
318
|
+
readonly internalType: "bool";
|
|
319
|
+
}];
|
|
320
|
+
readonly stateMutability: "view";
|
|
321
|
+
}, {
|
|
322
|
+
readonly type: "function";
|
|
323
|
+
readonly name: "isRoundPayoutSnapshotConsumed";
|
|
324
|
+
readonly inputs: readonly [{
|
|
325
|
+
readonly name: "domain";
|
|
326
|
+
readonly type: "uint8";
|
|
327
|
+
readonly internalType: "uint8";
|
|
328
|
+
}, {
|
|
329
|
+
readonly name: "rewardPoolId";
|
|
330
|
+
readonly type: "uint256";
|
|
331
|
+
readonly internalType: "uint256";
|
|
332
|
+
}, {
|
|
333
|
+
readonly name: "contentId";
|
|
334
|
+
readonly type: "uint256";
|
|
335
|
+
readonly internalType: "uint256";
|
|
336
|
+
}, {
|
|
337
|
+
readonly name: "roundId";
|
|
338
|
+
readonly type: "uint256";
|
|
339
|
+
readonly internalType: "uint256";
|
|
340
|
+
}];
|
|
341
|
+
readonly outputs: readonly [{
|
|
342
|
+
readonly name: "";
|
|
343
|
+
readonly type: "bool";
|
|
344
|
+
readonly internalType: "bool";
|
|
345
|
+
}];
|
|
346
|
+
readonly stateMutability: "view";
|
|
347
|
+
}, {
|
|
348
|
+
readonly type: "function";
|
|
349
|
+
readonly name: "lrepToken";
|
|
350
|
+
readonly inputs: readonly [];
|
|
351
|
+
readonly outputs: readonly [{
|
|
352
|
+
readonly name: "";
|
|
353
|
+
readonly type: "address";
|
|
354
|
+
readonly internalType: "contract IERC20";
|
|
355
|
+
}];
|
|
356
|
+
readonly stateMutability: "view";
|
|
357
|
+
}, {
|
|
358
|
+
readonly type: "function";
|
|
359
|
+
readonly name: "markDormant";
|
|
360
|
+
readonly inputs: readonly [{
|
|
361
|
+
readonly name: "contentId";
|
|
362
|
+
readonly type: "uint256";
|
|
363
|
+
readonly internalType: "uint256";
|
|
364
|
+
}];
|
|
365
|
+
readonly outputs: readonly [];
|
|
366
|
+
readonly stateMutability: "nonpayable";
|
|
367
|
+
}, {
|
|
368
|
+
readonly type: "function";
|
|
369
|
+
readonly name: "nextContentId";
|
|
370
|
+
readonly inputs: readonly [];
|
|
371
|
+
readonly outputs: readonly [{
|
|
372
|
+
readonly name: "";
|
|
373
|
+
readonly type: "uint256";
|
|
374
|
+
readonly internalType: "uint256";
|
|
375
|
+
}];
|
|
376
|
+
readonly stateMutability: "view";
|
|
377
|
+
}, {
|
|
378
|
+
readonly type: "function";
|
|
379
|
+
readonly name: "nextVotingRoundId";
|
|
380
|
+
readonly inputs: readonly [{
|
|
381
|
+
readonly name: "contentId";
|
|
382
|
+
readonly type: "uint256";
|
|
383
|
+
readonly internalType: "uint256";
|
|
384
|
+
}];
|
|
385
|
+
readonly outputs: readonly [{
|
|
386
|
+
readonly name: "";
|
|
387
|
+
readonly type: "uint256";
|
|
388
|
+
readonly internalType: "uint256";
|
|
389
|
+
}];
|
|
390
|
+
readonly stateMutability: "view";
|
|
391
|
+
}, {
|
|
392
|
+
readonly type: "function";
|
|
393
|
+
readonly name: "pause";
|
|
394
|
+
readonly inputs: readonly [];
|
|
395
|
+
readonly outputs: readonly [];
|
|
396
|
+
readonly stateMutability: "nonpayable";
|
|
397
|
+
}, {
|
|
398
|
+
readonly type: "function";
|
|
399
|
+
readonly name: "paused";
|
|
400
|
+
readonly inputs: readonly [];
|
|
401
|
+
readonly outputs: readonly [{
|
|
402
|
+
readonly name: "";
|
|
403
|
+
readonly type: "bool";
|
|
404
|
+
readonly internalType: "bool";
|
|
405
|
+
}];
|
|
406
|
+
readonly stateMutability: "view";
|
|
407
|
+
}, {
|
|
408
|
+
readonly type: "function";
|
|
409
|
+
readonly name: "protocolConfig";
|
|
410
|
+
readonly inputs: readonly [];
|
|
411
|
+
readonly outputs: readonly [{
|
|
412
|
+
readonly name: "";
|
|
413
|
+
readonly type: "address";
|
|
414
|
+
readonly internalType: "contract ProtocolConfig";
|
|
415
|
+
}];
|
|
416
|
+
readonly stateMutability: "view";
|
|
417
|
+
}, {
|
|
418
|
+
readonly type: "function";
|
|
419
|
+
readonly name: "questionBundleRoundObserver";
|
|
420
|
+
readonly inputs: readonly [{
|
|
421
|
+
readonly name: "contentId";
|
|
422
|
+
readonly type: "uint256";
|
|
423
|
+
readonly internalType: "uint256";
|
|
424
|
+
}];
|
|
425
|
+
readonly outputs: readonly [{
|
|
426
|
+
readonly name: "bundleRewardPoolEscrow";
|
|
427
|
+
readonly type: "address";
|
|
428
|
+
readonly internalType: "address";
|
|
429
|
+
}];
|
|
430
|
+
readonly stateMutability: "view";
|
|
431
|
+
}, {
|
|
432
|
+
readonly type: "function";
|
|
433
|
+
readonly name: "questionRewardPoolEscrow";
|
|
434
|
+
readonly inputs: readonly [];
|
|
435
|
+
readonly outputs: readonly [{
|
|
436
|
+
readonly name: "";
|
|
437
|
+
readonly type: "address";
|
|
438
|
+
readonly internalType: "address";
|
|
439
|
+
}];
|
|
440
|
+
readonly stateMutability: "view";
|
|
441
|
+
}, {
|
|
442
|
+
readonly type: "function";
|
|
443
|
+
readonly name: "recordPendingRatingSettlement";
|
|
444
|
+
readonly inputs: readonly [{
|
|
445
|
+
readonly name: "contentId";
|
|
446
|
+
readonly type: "uint256";
|
|
447
|
+
readonly internalType: "uint256";
|
|
448
|
+
}, {
|
|
449
|
+
readonly name: "roundId";
|
|
450
|
+
readonly type: "uint256";
|
|
451
|
+
readonly internalType: "uint256";
|
|
452
|
+
}, {
|
|
453
|
+
readonly name: "referenceRatingBps";
|
|
454
|
+
readonly type: "uint16";
|
|
455
|
+
readonly internalType: "uint16";
|
|
456
|
+
}, {
|
|
457
|
+
readonly name: "upEvidence";
|
|
458
|
+
readonly type: "uint64";
|
|
459
|
+
readonly internalType: "uint64";
|
|
460
|
+
}, {
|
|
461
|
+
readonly name: "downEvidence";
|
|
462
|
+
readonly type: "uint64";
|
|
463
|
+
readonly internalType: "uint64";
|
|
464
|
+
}];
|
|
465
|
+
readonly outputs: readonly [];
|
|
466
|
+
readonly stateMutability: "nonpayable";
|
|
467
|
+
}, {
|
|
468
|
+
readonly type: "function";
|
|
469
|
+
readonly name: "releaseDormantSubmissionKey";
|
|
470
|
+
readonly inputs: readonly [{
|
|
471
|
+
readonly name: "contentId";
|
|
472
|
+
readonly type: "uint256";
|
|
473
|
+
readonly internalType: "uint256";
|
|
474
|
+
}];
|
|
475
|
+
readonly outputs: readonly [];
|
|
476
|
+
readonly stateMutability: "nonpayable";
|
|
477
|
+
}, {
|
|
478
|
+
readonly type: "function";
|
|
479
|
+
readonly name: "renounceRole";
|
|
480
|
+
readonly inputs: readonly [{
|
|
481
|
+
readonly name: "role";
|
|
482
|
+
readonly type: "bytes32";
|
|
483
|
+
readonly internalType: "bytes32";
|
|
484
|
+
}, {
|
|
485
|
+
readonly name: "callerConfirmation";
|
|
486
|
+
readonly type: "address";
|
|
487
|
+
readonly internalType: "address";
|
|
488
|
+
}];
|
|
489
|
+
readonly outputs: readonly [];
|
|
490
|
+
readonly stateMutability: "nonpayable";
|
|
491
|
+
}, {
|
|
492
|
+
readonly type: "function";
|
|
493
|
+
readonly name: "repointPendingRatingClusterPayoutOracle";
|
|
494
|
+
readonly inputs: readonly [{
|
|
495
|
+
readonly name: "contentId";
|
|
496
|
+
readonly type: "uint256";
|
|
497
|
+
readonly internalType: "uint256";
|
|
498
|
+
}, {
|
|
499
|
+
readonly name: "roundId";
|
|
500
|
+
readonly type: "uint256";
|
|
501
|
+
readonly internalType: "uint256";
|
|
502
|
+
}, {
|
|
503
|
+
readonly name: "newOracle";
|
|
504
|
+
readonly type: "address";
|
|
505
|
+
readonly internalType: "address";
|
|
506
|
+
}];
|
|
507
|
+
readonly outputs: readonly [];
|
|
508
|
+
readonly stateMutability: "nonpayable";
|
|
509
|
+
}, {
|
|
510
|
+
readonly type: "function";
|
|
511
|
+
readonly name: "reserveNextVotingRound";
|
|
512
|
+
readonly inputs: readonly [{
|
|
513
|
+
readonly name: "contentId";
|
|
514
|
+
readonly type: "uint256";
|
|
515
|
+
readonly internalType: "uint256";
|
|
516
|
+
}];
|
|
517
|
+
readonly outputs: readonly [{
|
|
518
|
+
readonly name: "roundId";
|
|
519
|
+
readonly type: "uint256";
|
|
520
|
+
readonly internalType: "uint256";
|
|
521
|
+
}];
|
|
522
|
+
readonly stateMutability: "nonpayable";
|
|
523
|
+
}, {
|
|
524
|
+
readonly type: "function";
|
|
525
|
+
readonly name: "reserveSubmission";
|
|
526
|
+
readonly inputs: readonly [{
|
|
527
|
+
readonly name: "revealCommitment";
|
|
528
|
+
readonly type: "bytes32";
|
|
529
|
+
readonly internalType: "bytes32";
|
|
530
|
+
}];
|
|
531
|
+
readonly outputs: readonly [];
|
|
532
|
+
readonly stateMutability: "nonpayable";
|
|
533
|
+
}, {
|
|
534
|
+
readonly type: "function";
|
|
535
|
+
readonly name: "reviveContent";
|
|
536
|
+
readonly inputs: readonly [{
|
|
537
|
+
readonly name: "contentId";
|
|
538
|
+
readonly type: "uint256";
|
|
539
|
+
readonly internalType: "uint256";
|
|
540
|
+
}];
|
|
541
|
+
readonly outputs: readonly [];
|
|
542
|
+
readonly stateMutability: "nonpayable";
|
|
543
|
+
}, {
|
|
544
|
+
readonly type: "function";
|
|
545
|
+
readonly name: "revokeRole";
|
|
546
|
+
readonly inputs: readonly [{
|
|
547
|
+
readonly name: "role";
|
|
548
|
+
readonly type: "bytes32";
|
|
549
|
+
readonly internalType: "bytes32";
|
|
550
|
+
}, {
|
|
551
|
+
readonly name: "account";
|
|
552
|
+
readonly type: "address";
|
|
553
|
+
readonly internalType: "address";
|
|
554
|
+
}];
|
|
555
|
+
readonly outputs: readonly [];
|
|
556
|
+
readonly stateMutability: "nonpayable";
|
|
557
|
+
}, {
|
|
558
|
+
readonly type: "function";
|
|
559
|
+
readonly name: "roundPayoutSnapshotSourceReadyAt";
|
|
560
|
+
readonly inputs: readonly [{
|
|
561
|
+
readonly name: "domain";
|
|
562
|
+
readonly type: "uint8";
|
|
563
|
+
readonly internalType: "uint8";
|
|
564
|
+
}, {
|
|
565
|
+
readonly name: "rewardPoolId";
|
|
566
|
+
readonly type: "uint256";
|
|
567
|
+
readonly internalType: "uint256";
|
|
568
|
+
}, {
|
|
569
|
+
readonly name: "contentId";
|
|
570
|
+
readonly type: "uint256";
|
|
571
|
+
readonly internalType: "uint256";
|
|
572
|
+
}, {
|
|
573
|
+
readonly name: "roundId";
|
|
574
|
+
readonly type: "uint256";
|
|
575
|
+
readonly internalType: "uint256";
|
|
576
|
+
}];
|
|
577
|
+
readonly outputs: readonly [{
|
|
578
|
+
readonly name: "";
|
|
579
|
+
readonly type: "uint64";
|
|
580
|
+
readonly internalType: "uint64";
|
|
581
|
+
}];
|
|
582
|
+
readonly stateMutability: "view";
|
|
583
|
+
}, {
|
|
584
|
+
readonly type: "function";
|
|
585
|
+
readonly name: "setCategoryRegistry";
|
|
586
|
+
readonly inputs: readonly [{
|
|
587
|
+
readonly name: "_categoryRegistry";
|
|
588
|
+
readonly type: "address";
|
|
589
|
+
readonly internalType: "address";
|
|
590
|
+
}];
|
|
591
|
+
readonly outputs: readonly [];
|
|
592
|
+
readonly stateMutability: "nonpayable";
|
|
593
|
+
}, {
|
|
594
|
+
readonly type: "function";
|
|
595
|
+
readonly name: "setProtocolConfig";
|
|
596
|
+
readonly inputs: readonly [{
|
|
597
|
+
readonly name: "_protocolConfig";
|
|
598
|
+
readonly type: "address";
|
|
599
|
+
readonly internalType: "address";
|
|
600
|
+
}];
|
|
601
|
+
readonly outputs: readonly [];
|
|
602
|
+
readonly stateMutability: "nonpayable";
|
|
603
|
+
}, {
|
|
604
|
+
readonly type: "function";
|
|
605
|
+
readonly name: "setQuestionRewardPoolEscrow";
|
|
606
|
+
readonly inputs: readonly [{
|
|
607
|
+
readonly name: "_questionRewardPoolEscrow";
|
|
608
|
+
readonly type: "address";
|
|
609
|
+
readonly internalType: "address";
|
|
610
|
+
}];
|
|
611
|
+
readonly outputs: readonly [];
|
|
612
|
+
readonly stateMutability: "nonpayable";
|
|
613
|
+
}, {
|
|
614
|
+
readonly type: "function";
|
|
615
|
+
readonly name: "setTreasury";
|
|
616
|
+
readonly inputs: readonly [{
|
|
617
|
+
readonly name: "_treasury";
|
|
618
|
+
readonly type: "address";
|
|
619
|
+
readonly internalType: "address";
|
|
620
|
+
}];
|
|
621
|
+
readonly outputs: readonly [];
|
|
622
|
+
readonly stateMutability: "nonpayable";
|
|
623
|
+
}, {
|
|
624
|
+
readonly type: "function";
|
|
625
|
+
readonly name: "setVotingEngine";
|
|
626
|
+
readonly inputs: readonly [{
|
|
627
|
+
readonly name: "_votingEngine";
|
|
628
|
+
readonly type: "address";
|
|
629
|
+
readonly internalType: "address";
|
|
630
|
+
}];
|
|
631
|
+
readonly outputs: readonly [];
|
|
632
|
+
readonly stateMutability: "nonpayable";
|
|
633
|
+
}, {
|
|
634
|
+
readonly type: "function";
|
|
635
|
+
readonly name: "submissionKeyUsed";
|
|
636
|
+
readonly inputs: readonly [{
|
|
637
|
+
readonly name: "";
|
|
638
|
+
readonly type: "bytes32";
|
|
639
|
+
readonly internalType: "bytes32";
|
|
640
|
+
}];
|
|
641
|
+
readonly outputs: readonly [{
|
|
642
|
+
readonly name: "";
|
|
643
|
+
readonly type: "bool";
|
|
644
|
+
readonly internalType: "bool";
|
|
645
|
+
}];
|
|
646
|
+
readonly stateMutability: "view";
|
|
647
|
+
}, {
|
|
648
|
+
readonly type: "function";
|
|
649
|
+
readonly name: "submissionMediaValidator";
|
|
650
|
+
readonly inputs: readonly [];
|
|
651
|
+
readonly outputs: readonly [{
|
|
652
|
+
readonly name: "";
|
|
653
|
+
readonly type: "address";
|
|
654
|
+
readonly internalType: "contract SubmissionMediaValidator";
|
|
655
|
+
}];
|
|
656
|
+
readonly stateMutability: "view";
|
|
657
|
+
}, {
|
|
658
|
+
readonly type: "function";
|
|
659
|
+
readonly name: "submitQuestion";
|
|
660
|
+
readonly inputs: readonly [{
|
|
661
|
+
readonly name: "contextUrl";
|
|
662
|
+
readonly type: "string";
|
|
663
|
+
readonly internalType: "string";
|
|
664
|
+
}, {
|
|
665
|
+
readonly name: "imageUrls";
|
|
666
|
+
readonly type: "string[]";
|
|
667
|
+
readonly internalType: "string[]";
|
|
668
|
+
}, {
|
|
669
|
+
readonly name: "videoUrl";
|
|
670
|
+
readonly type: "string";
|
|
671
|
+
readonly internalType: "string";
|
|
672
|
+
}, {
|
|
673
|
+
readonly name: "title";
|
|
674
|
+
readonly type: "string";
|
|
675
|
+
readonly internalType: "string";
|
|
676
|
+
}, {
|
|
677
|
+
readonly name: "tags";
|
|
678
|
+
readonly type: "string";
|
|
679
|
+
readonly internalType: "string";
|
|
680
|
+
}, {
|
|
681
|
+
readonly name: "categoryId";
|
|
682
|
+
readonly type: "uint256";
|
|
683
|
+
readonly internalType: "uint256";
|
|
684
|
+
}, {
|
|
685
|
+
readonly name: "details";
|
|
686
|
+
readonly type: "tuple";
|
|
687
|
+
readonly internalType: "struct ContentRegistry.SubmissionDetails";
|
|
688
|
+
readonly components: readonly [{
|
|
689
|
+
readonly name: "detailsUrl";
|
|
690
|
+
readonly type: "string";
|
|
691
|
+
readonly internalType: "string";
|
|
692
|
+
}, {
|
|
693
|
+
readonly name: "detailsHash";
|
|
694
|
+
readonly type: "bytes32";
|
|
695
|
+
readonly internalType: "bytes32";
|
|
696
|
+
}];
|
|
697
|
+
}, {
|
|
698
|
+
readonly name: "salt";
|
|
699
|
+
readonly type: "bytes32";
|
|
700
|
+
readonly internalType: "bytes32";
|
|
701
|
+
}, {
|
|
702
|
+
readonly name: "spec";
|
|
703
|
+
readonly type: "tuple";
|
|
704
|
+
readonly internalType: "struct ContentRegistry.QuestionSpecCommitment";
|
|
705
|
+
readonly components: readonly [{
|
|
706
|
+
readonly name: "questionMetadataHash";
|
|
707
|
+
readonly type: "bytes32";
|
|
708
|
+
readonly internalType: "bytes32";
|
|
709
|
+
}, {
|
|
710
|
+
readonly name: "resultSpecHash";
|
|
711
|
+
readonly type: "bytes32";
|
|
712
|
+
readonly internalType: "bytes32";
|
|
713
|
+
}];
|
|
714
|
+
}];
|
|
715
|
+
readonly outputs: readonly [{
|
|
716
|
+
readonly name: "";
|
|
717
|
+
readonly type: "uint256";
|
|
718
|
+
readonly internalType: "uint256";
|
|
719
|
+
}];
|
|
720
|
+
readonly stateMutability: "nonpayable";
|
|
721
|
+
}, {
|
|
722
|
+
readonly type: "function";
|
|
723
|
+
readonly name: "submitQuestionBundleWithRewardAndRoundConfig";
|
|
724
|
+
readonly inputs: readonly [{
|
|
725
|
+
readonly name: "questions";
|
|
726
|
+
readonly type: "tuple[]";
|
|
727
|
+
readonly internalType: "struct ContentRegistry.BundleQuestionInput[]";
|
|
728
|
+
readonly components: readonly [{
|
|
729
|
+
readonly name: "contextUrl";
|
|
730
|
+
readonly type: "string";
|
|
731
|
+
readonly internalType: "string";
|
|
732
|
+
}, {
|
|
733
|
+
readonly name: "imageUrls";
|
|
734
|
+
readonly type: "string[]";
|
|
735
|
+
readonly internalType: "string[]";
|
|
736
|
+
}, {
|
|
737
|
+
readonly name: "videoUrl";
|
|
738
|
+
readonly type: "string";
|
|
739
|
+
readonly internalType: "string";
|
|
740
|
+
}, {
|
|
741
|
+
readonly name: "title";
|
|
742
|
+
readonly type: "string";
|
|
743
|
+
readonly internalType: "string";
|
|
744
|
+
}, {
|
|
745
|
+
readonly name: "tags";
|
|
746
|
+
readonly type: "string";
|
|
747
|
+
readonly internalType: "string";
|
|
748
|
+
}, {
|
|
749
|
+
readonly name: "categoryId";
|
|
750
|
+
readonly type: "uint256";
|
|
751
|
+
readonly internalType: "uint256";
|
|
752
|
+
}, {
|
|
753
|
+
readonly name: "details";
|
|
754
|
+
readonly type: "tuple";
|
|
755
|
+
readonly internalType: "struct ContentRegistry.SubmissionDetails";
|
|
756
|
+
readonly components: readonly [{
|
|
757
|
+
readonly name: "detailsUrl";
|
|
758
|
+
readonly type: "string";
|
|
759
|
+
readonly internalType: "string";
|
|
760
|
+
}, {
|
|
761
|
+
readonly name: "detailsHash";
|
|
762
|
+
readonly type: "bytes32";
|
|
763
|
+
readonly internalType: "bytes32";
|
|
764
|
+
}];
|
|
765
|
+
}, {
|
|
766
|
+
readonly name: "salt";
|
|
767
|
+
readonly type: "bytes32";
|
|
768
|
+
readonly internalType: "bytes32";
|
|
769
|
+
}, {
|
|
770
|
+
readonly name: "spec";
|
|
771
|
+
readonly type: "tuple";
|
|
772
|
+
readonly internalType: "struct ContentRegistry.QuestionSpecCommitment";
|
|
773
|
+
readonly components: readonly [{
|
|
774
|
+
readonly name: "questionMetadataHash";
|
|
775
|
+
readonly type: "bytes32";
|
|
776
|
+
readonly internalType: "bytes32";
|
|
777
|
+
}, {
|
|
778
|
+
readonly name: "resultSpecHash";
|
|
779
|
+
readonly type: "bytes32";
|
|
780
|
+
readonly internalType: "bytes32";
|
|
781
|
+
}];
|
|
782
|
+
}];
|
|
783
|
+
}, {
|
|
784
|
+
readonly name: "rewardTerms";
|
|
785
|
+
readonly type: "tuple";
|
|
786
|
+
readonly internalType: "struct ContentRegistry.SubmissionRewardTerms";
|
|
787
|
+
readonly components: readonly [{
|
|
788
|
+
readonly name: "asset";
|
|
789
|
+
readonly type: "uint8";
|
|
790
|
+
readonly internalType: "uint8";
|
|
791
|
+
}, {
|
|
792
|
+
readonly name: "amount";
|
|
793
|
+
readonly type: "uint256";
|
|
794
|
+
readonly internalType: "uint256";
|
|
795
|
+
}, {
|
|
796
|
+
readonly name: "requiredVoters";
|
|
797
|
+
readonly type: "uint256";
|
|
798
|
+
readonly internalType: "uint256";
|
|
799
|
+
}, {
|
|
800
|
+
readonly name: "requiredSettledRounds";
|
|
801
|
+
readonly type: "uint256";
|
|
802
|
+
readonly internalType: "uint256";
|
|
803
|
+
}, {
|
|
804
|
+
readonly name: "bountyStartBy";
|
|
805
|
+
readonly type: "uint256";
|
|
806
|
+
readonly internalType: "uint256";
|
|
807
|
+
}, {
|
|
808
|
+
readonly name: "bountyWindowSeconds";
|
|
809
|
+
readonly type: "uint256";
|
|
810
|
+
readonly internalType: "uint256";
|
|
811
|
+
}, {
|
|
812
|
+
readonly name: "feedbackWindowSeconds";
|
|
813
|
+
readonly type: "uint256";
|
|
814
|
+
readonly internalType: "uint256";
|
|
815
|
+
}, {
|
|
816
|
+
readonly name: "bountyEligibility";
|
|
817
|
+
readonly type: "uint8";
|
|
818
|
+
readonly internalType: "uint8";
|
|
819
|
+
}];
|
|
820
|
+
}, {
|
|
821
|
+
readonly name: "roundConfig";
|
|
822
|
+
readonly type: "tuple";
|
|
823
|
+
readonly internalType: "struct RoundLib.RoundConfig";
|
|
824
|
+
readonly components: readonly [{
|
|
825
|
+
readonly name: "epochDuration";
|
|
826
|
+
readonly type: "uint32";
|
|
827
|
+
readonly internalType: "uint32";
|
|
828
|
+
}, {
|
|
829
|
+
readonly name: "maxDuration";
|
|
830
|
+
readonly type: "uint32";
|
|
831
|
+
readonly internalType: "uint32";
|
|
832
|
+
}, {
|
|
833
|
+
readonly name: "minVoters";
|
|
834
|
+
readonly type: "uint16";
|
|
835
|
+
readonly internalType: "uint16";
|
|
836
|
+
}, {
|
|
837
|
+
readonly name: "maxVoters";
|
|
838
|
+
readonly type: "uint16";
|
|
839
|
+
readonly internalType: "uint16";
|
|
840
|
+
}];
|
|
841
|
+
}];
|
|
842
|
+
readonly outputs: readonly [{
|
|
843
|
+
readonly name: "bundleId";
|
|
844
|
+
readonly type: "uint256";
|
|
845
|
+
readonly internalType: "uint256";
|
|
846
|
+
}, {
|
|
847
|
+
readonly name: "contentIds";
|
|
848
|
+
readonly type: "uint256[]";
|
|
849
|
+
readonly internalType: "uint256[]";
|
|
850
|
+
}];
|
|
851
|
+
readonly stateMutability: "nonpayable";
|
|
852
|
+
}, {
|
|
853
|
+
readonly type: "function";
|
|
854
|
+
readonly name: "submitQuestionFromX402Gateway";
|
|
855
|
+
readonly inputs: readonly [{
|
|
856
|
+
readonly name: "contextUrl";
|
|
857
|
+
readonly type: "string";
|
|
858
|
+
readonly internalType: "string";
|
|
859
|
+
}, {
|
|
860
|
+
readonly name: "imageUrls";
|
|
861
|
+
readonly type: "string[]";
|
|
862
|
+
readonly internalType: "string[]";
|
|
863
|
+
}, {
|
|
864
|
+
readonly name: "videoUrl";
|
|
865
|
+
readonly type: "string";
|
|
866
|
+
readonly internalType: "string";
|
|
867
|
+
}, {
|
|
868
|
+
readonly name: "title";
|
|
869
|
+
readonly type: "string";
|
|
870
|
+
readonly internalType: "string";
|
|
871
|
+
}, {
|
|
872
|
+
readonly name: "tags";
|
|
873
|
+
readonly type: "string";
|
|
874
|
+
readonly internalType: "string";
|
|
875
|
+
}, {
|
|
876
|
+
readonly name: "categoryId";
|
|
877
|
+
readonly type: "uint256";
|
|
878
|
+
readonly internalType: "uint256";
|
|
879
|
+
}, {
|
|
880
|
+
readonly name: "details";
|
|
881
|
+
readonly type: "tuple";
|
|
882
|
+
readonly internalType: "struct ContentRegistry.SubmissionDetails";
|
|
883
|
+
readonly components: readonly [{
|
|
884
|
+
readonly name: "detailsUrl";
|
|
885
|
+
readonly type: "string";
|
|
886
|
+
readonly internalType: "string";
|
|
887
|
+
}, {
|
|
888
|
+
readonly name: "detailsHash";
|
|
889
|
+
readonly type: "bytes32";
|
|
890
|
+
readonly internalType: "bytes32";
|
|
891
|
+
}];
|
|
892
|
+
}, {
|
|
893
|
+
readonly name: "salt";
|
|
894
|
+
readonly type: "bytes32";
|
|
895
|
+
readonly internalType: "bytes32";
|
|
896
|
+
}, {
|
|
897
|
+
readonly name: "rewardTerms";
|
|
898
|
+
readonly type: "tuple";
|
|
899
|
+
readonly internalType: "struct ContentRegistry.SubmissionRewardTerms";
|
|
900
|
+
readonly components: readonly [{
|
|
901
|
+
readonly name: "asset";
|
|
902
|
+
readonly type: "uint8";
|
|
903
|
+
readonly internalType: "uint8";
|
|
904
|
+
}, {
|
|
905
|
+
readonly name: "amount";
|
|
906
|
+
readonly type: "uint256";
|
|
907
|
+
readonly internalType: "uint256";
|
|
908
|
+
}, {
|
|
909
|
+
readonly name: "requiredVoters";
|
|
910
|
+
readonly type: "uint256";
|
|
911
|
+
readonly internalType: "uint256";
|
|
912
|
+
}, {
|
|
913
|
+
readonly name: "requiredSettledRounds";
|
|
914
|
+
readonly type: "uint256";
|
|
915
|
+
readonly internalType: "uint256";
|
|
916
|
+
}, {
|
|
917
|
+
readonly name: "bountyStartBy";
|
|
918
|
+
readonly type: "uint256";
|
|
919
|
+
readonly internalType: "uint256";
|
|
920
|
+
}, {
|
|
921
|
+
readonly name: "bountyWindowSeconds";
|
|
922
|
+
readonly type: "uint256";
|
|
923
|
+
readonly internalType: "uint256";
|
|
924
|
+
}, {
|
|
925
|
+
readonly name: "feedbackWindowSeconds";
|
|
926
|
+
readonly type: "uint256";
|
|
927
|
+
readonly internalType: "uint256";
|
|
928
|
+
}, {
|
|
929
|
+
readonly name: "bountyEligibility";
|
|
930
|
+
readonly type: "uint8";
|
|
931
|
+
readonly internalType: "uint8";
|
|
932
|
+
}];
|
|
933
|
+
}, {
|
|
934
|
+
readonly name: "roundConfig";
|
|
935
|
+
readonly type: "tuple";
|
|
936
|
+
readonly internalType: "struct RoundLib.RoundConfig";
|
|
937
|
+
readonly components: readonly [{
|
|
938
|
+
readonly name: "epochDuration";
|
|
939
|
+
readonly type: "uint32";
|
|
940
|
+
readonly internalType: "uint32";
|
|
941
|
+
}, {
|
|
942
|
+
readonly name: "maxDuration";
|
|
943
|
+
readonly type: "uint32";
|
|
944
|
+
readonly internalType: "uint32";
|
|
945
|
+
}, {
|
|
946
|
+
readonly name: "minVoters";
|
|
947
|
+
readonly type: "uint16";
|
|
948
|
+
readonly internalType: "uint16";
|
|
949
|
+
}, {
|
|
950
|
+
readonly name: "maxVoters";
|
|
951
|
+
readonly type: "uint16";
|
|
952
|
+
readonly internalType: "uint16";
|
|
953
|
+
}];
|
|
954
|
+
}, {
|
|
955
|
+
readonly name: "spec";
|
|
956
|
+
readonly type: "tuple";
|
|
957
|
+
readonly internalType: "struct ContentRegistry.QuestionSpecCommitment";
|
|
958
|
+
readonly components: readonly [{
|
|
959
|
+
readonly name: "questionMetadataHash";
|
|
960
|
+
readonly type: "bytes32";
|
|
961
|
+
readonly internalType: "bytes32";
|
|
962
|
+
}, {
|
|
963
|
+
readonly name: "resultSpecHash";
|
|
964
|
+
readonly type: "bytes32";
|
|
965
|
+
readonly internalType: "bytes32";
|
|
966
|
+
}];
|
|
967
|
+
}, {
|
|
968
|
+
readonly name: "submitter";
|
|
969
|
+
readonly type: "address";
|
|
970
|
+
readonly internalType: "address";
|
|
971
|
+
}, {
|
|
972
|
+
readonly name: "confidentiality";
|
|
973
|
+
readonly type: "tuple";
|
|
974
|
+
readonly internalType: "struct IConfidentialityEscrow.ConfidentialityConfig";
|
|
975
|
+
readonly components: readonly [{
|
|
976
|
+
readonly name: "gated";
|
|
977
|
+
readonly type: "bool";
|
|
978
|
+
readonly internalType: "bool";
|
|
979
|
+
}, {
|
|
980
|
+
readonly name: "bondAsset";
|
|
981
|
+
readonly type: "uint8";
|
|
982
|
+
readonly internalType: "uint8";
|
|
983
|
+
}, {
|
|
984
|
+
readonly name: "bondAmount";
|
|
985
|
+
readonly type: "uint64";
|
|
986
|
+
readonly internalType: "uint64";
|
|
987
|
+
}, {
|
|
988
|
+
readonly name: "flags";
|
|
989
|
+
readonly type: "uint8";
|
|
990
|
+
readonly internalType: "uint8";
|
|
991
|
+
}];
|
|
992
|
+
}];
|
|
993
|
+
readonly outputs: readonly [{
|
|
994
|
+
readonly name: "contentId";
|
|
995
|
+
readonly type: "uint256";
|
|
996
|
+
readonly internalType: "uint256";
|
|
997
|
+
}];
|
|
998
|
+
readonly stateMutability: "nonpayable";
|
|
999
|
+
}, {
|
|
1000
|
+
readonly type: "function";
|
|
1001
|
+
readonly name: "submitQuestionWithRewardAndRoundConfig";
|
|
1002
|
+
readonly inputs: readonly [{
|
|
1003
|
+
readonly name: "contextUrl";
|
|
1004
|
+
readonly type: "string";
|
|
1005
|
+
readonly internalType: "string";
|
|
1006
|
+
}, {
|
|
1007
|
+
readonly name: "imageUrls";
|
|
1008
|
+
readonly type: "string[]";
|
|
1009
|
+
readonly internalType: "string[]";
|
|
1010
|
+
}, {
|
|
1011
|
+
readonly name: "videoUrl";
|
|
1012
|
+
readonly type: "string";
|
|
1013
|
+
readonly internalType: "string";
|
|
1014
|
+
}, {
|
|
1015
|
+
readonly name: "title";
|
|
1016
|
+
readonly type: "string";
|
|
1017
|
+
readonly internalType: "string";
|
|
1018
|
+
}, {
|
|
1019
|
+
readonly name: "tags";
|
|
1020
|
+
readonly type: "string";
|
|
1021
|
+
readonly internalType: "string";
|
|
1022
|
+
}, {
|
|
1023
|
+
readonly name: "categoryId";
|
|
1024
|
+
readonly type: "uint256";
|
|
1025
|
+
readonly internalType: "uint256";
|
|
1026
|
+
}, {
|
|
1027
|
+
readonly name: "details";
|
|
1028
|
+
readonly type: "tuple";
|
|
1029
|
+
readonly internalType: "struct ContentRegistry.SubmissionDetails";
|
|
1030
|
+
readonly components: readonly [{
|
|
1031
|
+
readonly name: "detailsUrl";
|
|
1032
|
+
readonly type: "string";
|
|
1033
|
+
readonly internalType: "string";
|
|
1034
|
+
}, {
|
|
1035
|
+
readonly name: "detailsHash";
|
|
1036
|
+
readonly type: "bytes32";
|
|
1037
|
+
readonly internalType: "bytes32";
|
|
1038
|
+
}];
|
|
1039
|
+
}, {
|
|
1040
|
+
readonly name: "salt";
|
|
1041
|
+
readonly type: "bytes32";
|
|
1042
|
+
readonly internalType: "bytes32";
|
|
1043
|
+
}, {
|
|
1044
|
+
readonly name: "rewardTerms";
|
|
1045
|
+
readonly type: "tuple";
|
|
1046
|
+
readonly internalType: "struct ContentRegistry.SubmissionRewardTerms";
|
|
1047
|
+
readonly components: readonly [{
|
|
1048
|
+
readonly name: "asset";
|
|
1049
|
+
readonly type: "uint8";
|
|
1050
|
+
readonly internalType: "uint8";
|
|
1051
|
+
}, {
|
|
1052
|
+
readonly name: "amount";
|
|
1053
|
+
readonly type: "uint256";
|
|
1054
|
+
readonly internalType: "uint256";
|
|
1055
|
+
}, {
|
|
1056
|
+
readonly name: "requiredVoters";
|
|
1057
|
+
readonly type: "uint256";
|
|
1058
|
+
readonly internalType: "uint256";
|
|
1059
|
+
}, {
|
|
1060
|
+
readonly name: "requiredSettledRounds";
|
|
1061
|
+
readonly type: "uint256";
|
|
1062
|
+
readonly internalType: "uint256";
|
|
1063
|
+
}, {
|
|
1064
|
+
readonly name: "bountyStartBy";
|
|
1065
|
+
readonly type: "uint256";
|
|
1066
|
+
readonly internalType: "uint256";
|
|
1067
|
+
}, {
|
|
1068
|
+
readonly name: "bountyWindowSeconds";
|
|
1069
|
+
readonly type: "uint256";
|
|
1070
|
+
readonly internalType: "uint256";
|
|
1071
|
+
}, {
|
|
1072
|
+
readonly name: "feedbackWindowSeconds";
|
|
1073
|
+
readonly type: "uint256";
|
|
1074
|
+
readonly internalType: "uint256";
|
|
1075
|
+
}, {
|
|
1076
|
+
readonly name: "bountyEligibility";
|
|
1077
|
+
readonly type: "uint8";
|
|
1078
|
+
readonly internalType: "uint8";
|
|
1079
|
+
}];
|
|
1080
|
+
}, {
|
|
1081
|
+
readonly name: "roundConfig";
|
|
1082
|
+
readonly type: "tuple";
|
|
1083
|
+
readonly internalType: "struct RoundLib.RoundConfig";
|
|
1084
|
+
readonly components: readonly [{
|
|
1085
|
+
readonly name: "epochDuration";
|
|
1086
|
+
readonly type: "uint32";
|
|
1087
|
+
readonly internalType: "uint32";
|
|
1088
|
+
}, {
|
|
1089
|
+
readonly name: "maxDuration";
|
|
1090
|
+
readonly type: "uint32";
|
|
1091
|
+
readonly internalType: "uint32";
|
|
1092
|
+
}, {
|
|
1093
|
+
readonly name: "minVoters";
|
|
1094
|
+
readonly type: "uint16";
|
|
1095
|
+
readonly internalType: "uint16";
|
|
1096
|
+
}, {
|
|
1097
|
+
readonly name: "maxVoters";
|
|
1098
|
+
readonly type: "uint16";
|
|
1099
|
+
readonly internalType: "uint16";
|
|
1100
|
+
}];
|
|
1101
|
+
}, {
|
|
1102
|
+
readonly name: "spec";
|
|
1103
|
+
readonly type: "tuple";
|
|
1104
|
+
readonly internalType: "struct ContentRegistry.QuestionSpecCommitment";
|
|
1105
|
+
readonly components: readonly [{
|
|
1106
|
+
readonly name: "questionMetadataHash";
|
|
1107
|
+
readonly type: "bytes32";
|
|
1108
|
+
readonly internalType: "bytes32";
|
|
1109
|
+
}, {
|
|
1110
|
+
readonly name: "resultSpecHash";
|
|
1111
|
+
readonly type: "bytes32";
|
|
1112
|
+
readonly internalType: "bytes32";
|
|
1113
|
+
}];
|
|
1114
|
+
}];
|
|
1115
|
+
readonly outputs: readonly [{
|
|
1116
|
+
readonly name: "";
|
|
1117
|
+
readonly type: "uint256";
|
|
1118
|
+
readonly internalType: "uint256";
|
|
1119
|
+
}];
|
|
1120
|
+
readonly stateMutability: "nonpayable";
|
|
1121
|
+
}, {
|
|
1122
|
+
readonly type: "function";
|
|
1123
|
+
readonly name: "submitQuestionWithRewardAndRoundConfig";
|
|
1124
|
+
readonly inputs: readonly [{
|
|
1125
|
+
readonly name: "contextUrl";
|
|
1126
|
+
readonly type: "string";
|
|
1127
|
+
readonly internalType: "string";
|
|
1128
|
+
}, {
|
|
1129
|
+
readonly name: "imageUrls";
|
|
1130
|
+
readonly type: "string[]";
|
|
1131
|
+
readonly internalType: "string[]";
|
|
1132
|
+
}, {
|
|
1133
|
+
readonly name: "videoUrl";
|
|
1134
|
+
readonly type: "string";
|
|
1135
|
+
readonly internalType: "string";
|
|
1136
|
+
}, {
|
|
1137
|
+
readonly name: "title";
|
|
1138
|
+
readonly type: "string";
|
|
1139
|
+
readonly internalType: "string";
|
|
1140
|
+
}, {
|
|
1141
|
+
readonly name: "tags";
|
|
1142
|
+
readonly type: "string";
|
|
1143
|
+
readonly internalType: "string";
|
|
1144
|
+
}, {
|
|
1145
|
+
readonly name: "categoryId";
|
|
1146
|
+
readonly type: "uint256";
|
|
1147
|
+
readonly internalType: "uint256";
|
|
1148
|
+
}, {
|
|
1149
|
+
readonly name: "details";
|
|
1150
|
+
readonly type: "tuple";
|
|
1151
|
+
readonly internalType: "struct ContentRegistry.SubmissionDetails";
|
|
1152
|
+
readonly components: readonly [{
|
|
1153
|
+
readonly name: "detailsUrl";
|
|
1154
|
+
readonly type: "string";
|
|
1155
|
+
readonly internalType: "string";
|
|
1156
|
+
}, {
|
|
1157
|
+
readonly name: "detailsHash";
|
|
1158
|
+
readonly type: "bytes32";
|
|
1159
|
+
readonly internalType: "bytes32";
|
|
1160
|
+
}];
|
|
1161
|
+
}, {
|
|
1162
|
+
readonly name: "salt";
|
|
1163
|
+
readonly type: "bytes32";
|
|
1164
|
+
readonly internalType: "bytes32";
|
|
1165
|
+
}, {
|
|
1166
|
+
readonly name: "rewardTerms";
|
|
1167
|
+
readonly type: "tuple";
|
|
1168
|
+
readonly internalType: "struct ContentRegistry.SubmissionRewardTerms";
|
|
1169
|
+
readonly components: readonly [{
|
|
1170
|
+
readonly name: "asset";
|
|
1171
|
+
readonly type: "uint8";
|
|
1172
|
+
readonly internalType: "uint8";
|
|
1173
|
+
}, {
|
|
1174
|
+
readonly name: "amount";
|
|
1175
|
+
readonly type: "uint256";
|
|
1176
|
+
readonly internalType: "uint256";
|
|
1177
|
+
}, {
|
|
1178
|
+
readonly name: "requiredVoters";
|
|
1179
|
+
readonly type: "uint256";
|
|
1180
|
+
readonly internalType: "uint256";
|
|
1181
|
+
}, {
|
|
1182
|
+
readonly name: "requiredSettledRounds";
|
|
1183
|
+
readonly type: "uint256";
|
|
1184
|
+
readonly internalType: "uint256";
|
|
1185
|
+
}, {
|
|
1186
|
+
readonly name: "bountyStartBy";
|
|
1187
|
+
readonly type: "uint256";
|
|
1188
|
+
readonly internalType: "uint256";
|
|
1189
|
+
}, {
|
|
1190
|
+
readonly name: "bountyWindowSeconds";
|
|
1191
|
+
readonly type: "uint256";
|
|
1192
|
+
readonly internalType: "uint256";
|
|
1193
|
+
}, {
|
|
1194
|
+
readonly name: "feedbackWindowSeconds";
|
|
1195
|
+
readonly type: "uint256";
|
|
1196
|
+
readonly internalType: "uint256";
|
|
1197
|
+
}, {
|
|
1198
|
+
readonly name: "bountyEligibility";
|
|
1199
|
+
readonly type: "uint8";
|
|
1200
|
+
readonly internalType: "uint8";
|
|
1201
|
+
}];
|
|
1202
|
+
}, {
|
|
1203
|
+
readonly name: "roundConfig";
|
|
1204
|
+
readonly type: "tuple";
|
|
1205
|
+
readonly internalType: "struct RoundLib.RoundConfig";
|
|
1206
|
+
readonly components: readonly [{
|
|
1207
|
+
readonly name: "epochDuration";
|
|
1208
|
+
readonly type: "uint32";
|
|
1209
|
+
readonly internalType: "uint32";
|
|
1210
|
+
}, {
|
|
1211
|
+
readonly name: "maxDuration";
|
|
1212
|
+
readonly type: "uint32";
|
|
1213
|
+
readonly internalType: "uint32";
|
|
1214
|
+
}, {
|
|
1215
|
+
readonly name: "minVoters";
|
|
1216
|
+
readonly type: "uint16";
|
|
1217
|
+
readonly internalType: "uint16";
|
|
1218
|
+
}, {
|
|
1219
|
+
readonly name: "maxVoters";
|
|
1220
|
+
readonly type: "uint16";
|
|
1221
|
+
readonly internalType: "uint16";
|
|
1222
|
+
}];
|
|
1223
|
+
}, {
|
|
1224
|
+
readonly name: "spec";
|
|
1225
|
+
readonly type: "tuple";
|
|
1226
|
+
readonly internalType: "struct ContentRegistry.QuestionSpecCommitment";
|
|
1227
|
+
readonly components: readonly [{
|
|
1228
|
+
readonly name: "questionMetadataHash";
|
|
1229
|
+
readonly type: "bytes32";
|
|
1230
|
+
readonly internalType: "bytes32";
|
|
1231
|
+
}, {
|
|
1232
|
+
readonly name: "resultSpecHash";
|
|
1233
|
+
readonly type: "bytes32";
|
|
1234
|
+
readonly internalType: "bytes32";
|
|
1235
|
+
}];
|
|
1236
|
+
}, {
|
|
1237
|
+
readonly name: "confidentiality";
|
|
1238
|
+
readonly type: "tuple";
|
|
1239
|
+
readonly internalType: "struct IConfidentialityEscrow.ConfidentialityConfig";
|
|
1240
|
+
readonly components: readonly [{
|
|
1241
|
+
readonly name: "gated";
|
|
1242
|
+
readonly type: "bool";
|
|
1243
|
+
readonly internalType: "bool";
|
|
1244
|
+
}, {
|
|
1245
|
+
readonly name: "bondAsset";
|
|
1246
|
+
readonly type: "uint8";
|
|
1247
|
+
readonly internalType: "uint8";
|
|
1248
|
+
}, {
|
|
1249
|
+
readonly name: "bondAmount";
|
|
1250
|
+
readonly type: "uint64";
|
|
1251
|
+
readonly internalType: "uint64";
|
|
1252
|
+
}, {
|
|
1253
|
+
readonly name: "flags";
|
|
1254
|
+
readonly type: "uint8";
|
|
1255
|
+
readonly internalType: "uint8";
|
|
1256
|
+
}];
|
|
1257
|
+
}];
|
|
1258
|
+
readonly outputs: readonly [{
|
|
1259
|
+
readonly name: "";
|
|
1260
|
+
readonly type: "uint256";
|
|
1261
|
+
readonly internalType: "uint256";
|
|
1262
|
+
}];
|
|
1263
|
+
readonly stateMutability: "nonpayable";
|
|
1264
|
+
}, {
|
|
1265
|
+
readonly type: "function";
|
|
1266
|
+
readonly name: "supportsInterface";
|
|
1267
|
+
readonly inputs: readonly [{
|
|
1268
|
+
readonly name: "interfaceId";
|
|
1269
|
+
readonly type: "bytes4";
|
|
1270
|
+
readonly internalType: "bytes4";
|
|
1271
|
+
}];
|
|
1272
|
+
readonly outputs: readonly [{
|
|
1273
|
+
readonly name: "";
|
|
1274
|
+
readonly type: "bool";
|
|
1275
|
+
readonly internalType: "bool";
|
|
1276
|
+
}];
|
|
1277
|
+
readonly stateMutability: "view";
|
|
1278
|
+
}, {
|
|
1279
|
+
readonly type: "function";
|
|
1280
|
+
readonly name: "supportsRoundPayoutSnapshotDomain";
|
|
1281
|
+
readonly inputs: readonly [{
|
|
1282
|
+
readonly name: "domain";
|
|
1283
|
+
readonly type: "uint8";
|
|
1284
|
+
readonly internalType: "uint8";
|
|
1285
|
+
}];
|
|
1286
|
+
readonly outputs: readonly [{
|
|
1287
|
+
readonly name: "";
|
|
1288
|
+
readonly type: "bool";
|
|
1289
|
+
readonly internalType: "bool";
|
|
1290
|
+
}];
|
|
1291
|
+
readonly stateMutability: "pure";
|
|
1292
|
+
}, {
|
|
1293
|
+
readonly type: "function";
|
|
1294
|
+
readonly name: "trackedVotingEngine";
|
|
1295
|
+
readonly inputs: readonly [{
|
|
1296
|
+
readonly name: "contentId";
|
|
1297
|
+
readonly type: "uint256";
|
|
1298
|
+
readonly internalType: "uint256";
|
|
1299
|
+
}];
|
|
1300
|
+
readonly outputs: readonly [{
|
|
1301
|
+
readonly name: "engine";
|
|
1302
|
+
readonly type: "address";
|
|
1303
|
+
readonly internalType: "address";
|
|
1304
|
+
}];
|
|
1305
|
+
readonly stateMutability: "view";
|
|
1306
|
+
}, {
|
|
1307
|
+
readonly type: "function";
|
|
1308
|
+
readonly name: "treasury";
|
|
1309
|
+
readonly inputs: readonly [];
|
|
1310
|
+
readonly outputs: readonly [{
|
|
1311
|
+
readonly name: "";
|
|
1312
|
+
readonly type: "address";
|
|
1313
|
+
readonly internalType: "address";
|
|
1314
|
+
}];
|
|
1315
|
+
readonly stateMutability: "view";
|
|
1316
|
+
}, {
|
|
1317
|
+
readonly type: "function";
|
|
1318
|
+
readonly name: "unpause";
|
|
1319
|
+
readonly inputs: readonly [];
|
|
1320
|
+
readonly outputs: readonly [];
|
|
1321
|
+
readonly stateMutability: "nonpayable";
|
|
1322
|
+
}, {
|
|
1323
|
+
readonly type: "function";
|
|
1324
|
+
readonly name: "updateActivity";
|
|
1325
|
+
readonly inputs: readonly [{
|
|
1326
|
+
readonly name: "contentId";
|
|
1327
|
+
readonly type: "uint256";
|
|
1328
|
+
readonly internalType: "uint256";
|
|
1329
|
+
}];
|
|
1330
|
+
readonly outputs: readonly [];
|
|
1331
|
+
readonly stateMutability: "nonpayable";
|
|
1332
|
+
}, {
|
|
1333
|
+
readonly type: "function";
|
|
1334
|
+
readonly name: "votingEngine";
|
|
1335
|
+
readonly inputs: readonly [];
|
|
1336
|
+
readonly outputs: readonly [{
|
|
1337
|
+
readonly name: "";
|
|
1338
|
+
readonly type: "address";
|
|
1339
|
+
readonly internalType: "address";
|
|
1340
|
+
}];
|
|
1341
|
+
readonly stateMutability: "view";
|
|
1342
|
+
}, {
|
|
1343
|
+
readonly type: "event";
|
|
1344
|
+
readonly name: "ContentCancelled";
|
|
1345
|
+
readonly inputs: readonly [{
|
|
1346
|
+
readonly name: "contentId";
|
|
1347
|
+
readonly type: "uint256";
|
|
1348
|
+
readonly indexed: true;
|
|
1349
|
+
readonly internalType: "uint256";
|
|
1350
|
+
}];
|
|
1351
|
+
readonly anonymous: false;
|
|
1352
|
+
}, {
|
|
1353
|
+
readonly type: "event";
|
|
1354
|
+
readonly name: "ContentDetailsSubmitted";
|
|
1355
|
+
readonly inputs: readonly [{
|
|
1356
|
+
readonly name: "contentId";
|
|
1357
|
+
readonly type: "uint256";
|
|
1358
|
+
readonly indexed: true;
|
|
1359
|
+
readonly internalType: "uint256";
|
|
1360
|
+
}, {
|
|
1361
|
+
readonly name: "detailsUrl";
|
|
1362
|
+
readonly type: "string";
|
|
1363
|
+
readonly indexed: false;
|
|
1364
|
+
readonly internalType: "string";
|
|
1365
|
+
}, {
|
|
1366
|
+
readonly name: "detailsHash";
|
|
1367
|
+
readonly type: "bytes32";
|
|
1368
|
+
readonly indexed: false;
|
|
1369
|
+
readonly internalType: "bytes32";
|
|
1370
|
+
}];
|
|
1371
|
+
readonly anonymous: false;
|
|
1372
|
+
}, {
|
|
1373
|
+
readonly type: "event";
|
|
1374
|
+
readonly name: "ContentDormant";
|
|
1375
|
+
readonly inputs: readonly [{
|
|
1376
|
+
readonly name: "contentId";
|
|
1377
|
+
readonly type: "uint256";
|
|
1378
|
+
readonly indexed: true;
|
|
1379
|
+
readonly internalType: "uint256";
|
|
1380
|
+
}];
|
|
1381
|
+
readonly anonymous: false;
|
|
1382
|
+
}, {
|
|
1383
|
+
readonly type: "event";
|
|
1384
|
+
readonly name: "ContentRevived";
|
|
1385
|
+
readonly inputs: readonly [{
|
|
1386
|
+
readonly name: "contentId";
|
|
1387
|
+
readonly type: "uint256";
|
|
1388
|
+
readonly indexed: true;
|
|
1389
|
+
readonly internalType: "uint256";
|
|
1390
|
+
}, {
|
|
1391
|
+
readonly name: "reviver";
|
|
1392
|
+
readonly type: "address";
|
|
1393
|
+
readonly indexed: true;
|
|
1394
|
+
readonly internalType: "address";
|
|
1395
|
+
}];
|
|
1396
|
+
readonly anonymous: false;
|
|
1397
|
+
}, {
|
|
1398
|
+
readonly type: "event";
|
|
1399
|
+
readonly name: "ContentRoundConfigSet";
|
|
1400
|
+
readonly inputs: readonly [{
|
|
1401
|
+
readonly name: "contentId";
|
|
1402
|
+
readonly type: "uint256";
|
|
1403
|
+
readonly indexed: true;
|
|
1404
|
+
readonly internalType: "uint256";
|
|
1405
|
+
}, {
|
|
1406
|
+
readonly name: "epochDuration";
|
|
1407
|
+
readonly type: "uint32";
|
|
1408
|
+
readonly indexed: false;
|
|
1409
|
+
readonly internalType: "uint32";
|
|
1410
|
+
}, {
|
|
1411
|
+
readonly name: "maxDuration";
|
|
1412
|
+
readonly type: "uint32";
|
|
1413
|
+
readonly indexed: false;
|
|
1414
|
+
readonly internalType: "uint32";
|
|
1415
|
+
}, {
|
|
1416
|
+
readonly name: "minVoters";
|
|
1417
|
+
readonly type: "uint16";
|
|
1418
|
+
readonly indexed: false;
|
|
1419
|
+
readonly internalType: "uint16";
|
|
1420
|
+
}, {
|
|
1421
|
+
readonly name: "maxVoters";
|
|
1422
|
+
readonly type: "uint16";
|
|
1423
|
+
readonly indexed: false;
|
|
1424
|
+
readonly internalType: "uint16";
|
|
1425
|
+
}];
|
|
1426
|
+
readonly anonymous: false;
|
|
1427
|
+
}, {
|
|
1428
|
+
readonly type: "event";
|
|
1429
|
+
readonly name: "ContentSubmitted";
|
|
1430
|
+
readonly inputs: readonly [{
|
|
1431
|
+
readonly name: "contentId";
|
|
1432
|
+
readonly type: "uint256";
|
|
1433
|
+
readonly indexed: true;
|
|
1434
|
+
readonly internalType: "uint256";
|
|
1435
|
+
}, {
|
|
1436
|
+
readonly name: "submitter";
|
|
1437
|
+
readonly type: "address";
|
|
1438
|
+
readonly indexed: true;
|
|
1439
|
+
readonly internalType: "address";
|
|
1440
|
+
}, {
|
|
1441
|
+
readonly name: "contentHash";
|
|
1442
|
+
readonly type: "bytes32";
|
|
1443
|
+
readonly indexed: false;
|
|
1444
|
+
readonly internalType: "bytes32";
|
|
1445
|
+
}, {
|
|
1446
|
+
readonly name: "url";
|
|
1447
|
+
readonly type: "string";
|
|
1448
|
+
readonly indexed: false;
|
|
1449
|
+
readonly internalType: "string";
|
|
1450
|
+
}, {
|
|
1451
|
+
readonly name: "title";
|
|
1452
|
+
readonly type: "string";
|
|
1453
|
+
readonly indexed: false;
|
|
1454
|
+
readonly internalType: "string";
|
|
1455
|
+
}, {
|
|
1456
|
+
readonly name: "tags";
|
|
1457
|
+
readonly type: "string";
|
|
1458
|
+
readonly indexed: false;
|
|
1459
|
+
readonly internalType: "string";
|
|
1460
|
+
}, {
|
|
1461
|
+
readonly name: "categoryId";
|
|
1462
|
+
readonly type: "uint256";
|
|
1463
|
+
readonly indexed: true;
|
|
1464
|
+
readonly internalType: "uint256";
|
|
1465
|
+
}];
|
|
1466
|
+
readonly anonymous: false;
|
|
1467
|
+
}, {
|
|
1468
|
+
readonly type: "event";
|
|
1469
|
+
readonly name: "DormantSubmissionKeyReleased";
|
|
1470
|
+
readonly inputs: readonly [{
|
|
1471
|
+
readonly name: "contentId";
|
|
1472
|
+
readonly type: "uint256";
|
|
1473
|
+
readonly indexed: true;
|
|
1474
|
+
readonly internalType: "uint256";
|
|
1475
|
+
}, {
|
|
1476
|
+
readonly name: "submissionKey";
|
|
1477
|
+
readonly type: "bytes32";
|
|
1478
|
+
readonly indexed: true;
|
|
1479
|
+
readonly internalType: "bytes32";
|
|
1480
|
+
}];
|
|
1481
|
+
readonly anonymous: false;
|
|
1482
|
+
}, {
|
|
1483
|
+
readonly type: "event";
|
|
1484
|
+
readonly name: "Initialized";
|
|
1485
|
+
readonly inputs: readonly [{
|
|
1486
|
+
readonly name: "version";
|
|
1487
|
+
readonly type: "uint64";
|
|
1488
|
+
readonly indexed: false;
|
|
1489
|
+
readonly internalType: "uint64";
|
|
1490
|
+
}];
|
|
1491
|
+
readonly anonymous: false;
|
|
1492
|
+
}, {
|
|
1493
|
+
readonly type: "event";
|
|
1494
|
+
readonly name: "Paused";
|
|
1495
|
+
readonly inputs: readonly [{
|
|
1496
|
+
readonly name: "account";
|
|
1497
|
+
readonly type: "address";
|
|
1498
|
+
readonly indexed: false;
|
|
1499
|
+
readonly internalType: "address";
|
|
1500
|
+
}];
|
|
1501
|
+
readonly anonymous: false;
|
|
1502
|
+
}, {
|
|
1503
|
+
readonly type: "event";
|
|
1504
|
+
readonly name: "PendingRatingClusterPayoutOracleRepointed";
|
|
1505
|
+
readonly inputs: readonly [{
|
|
1506
|
+
readonly name: "contentId";
|
|
1507
|
+
readonly type: "uint256";
|
|
1508
|
+
readonly indexed: true;
|
|
1509
|
+
readonly internalType: "uint256";
|
|
1510
|
+
}, {
|
|
1511
|
+
readonly name: "roundId";
|
|
1512
|
+
readonly type: "uint256";
|
|
1513
|
+
readonly indexed: true;
|
|
1514
|
+
readonly internalType: "uint256";
|
|
1515
|
+
}, {
|
|
1516
|
+
readonly name: "oldClusterPayoutOracle";
|
|
1517
|
+
readonly type: "address";
|
|
1518
|
+
readonly indexed: true;
|
|
1519
|
+
readonly internalType: "address";
|
|
1520
|
+
}, {
|
|
1521
|
+
readonly name: "newClusterPayoutOracle";
|
|
1522
|
+
readonly type: "address";
|
|
1523
|
+
readonly indexed: false;
|
|
1524
|
+
readonly internalType: "address";
|
|
1525
|
+
}];
|
|
1526
|
+
readonly anonymous: false;
|
|
1527
|
+
}, {
|
|
1528
|
+
readonly type: "event";
|
|
1529
|
+
readonly name: "QuestionBundleContentLinked";
|
|
1530
|
+
readonly inputs: readonly [{
|
|
1531
|
+
readonly name: "bundleId";
|
|
1532
|
+
readonly type: "uint256";
|
|
1533
|
+
readonly indexed: true;
|
|
1534
|
+
readonly internalType: "uint256";
|
|
1535
|
+
}, {
|
|
1536
|
+
readonly name: "contentId";
|
|
1537
|
+
readonly type: "uint256";
|
|
1538
|
+
readonly indexed: true;
|
|
1539
|
+
readonly internalType: "uint256";
|
|
1540
|
+
}, {
|
|
1541
|
+
readonly name: "bundleIndex";
|
|
1542
|
+
readonly type: "uint256";
|
|
1543
|
+
readonly indexed: true;
|
|
1544
|
+
readonly internalType: "uint256";
|
|
1545
|
+
}];
|
|
1546
|
+
readonly anonymous: false;
|
|
1547
|
+
}, {
|
|
1548
|
+
readonly type: "event";
|
|
1549
|
+
readonly name: "QuestionBundleSubmitted";
|
|
1550
|
+
readonly inputs: readonly [{
|
|
1551
|
+
readonly name: "bundleId";
|
|
1552
|
+
readonly type: "uint256";
|
|
1553
|
+
readonly indexed: true;
|
|
1554
|
+
readonly internalType: "uint256";
|
|
1555
|
+
}, {
|
|
1556
|
+
readonly name: "submitter";
|
|
1557
|
+
readonly type: "address";
|
|
1558
|
+
readonly indexed: true;
|
|
1559
|
+
readonly internalType: "address";
|
|
1560
|
+
}, {
|
|
1561
|
+
readonly name: "questionCount";
|
|
1562
|
+
readonly type: "uint256";
|
|
1563
|
+
readonly indexed: false;
|
|
1564
|
+
readonly internalType: "uint256";
|
|
1565
|
+
}, {
|
|
1566
|
+
readonly name: "rewardAsset";
|
|
1567
|
+
readonly type: "uint8";
|
|
1568
|
+
readonly indexed: true;
|
|
1569
|
+
readonly internalType: "uint8";
|
|
1570
|
+
}, {
|
|
1571
|
+
readonly name: "amount";
|
|
1572
|
+
readonly type: "uint256";
|
|
1573
|
+
readonly indexed: false;
|
|
1574
|
+
readonly internalType: "uint256";
|
|
1575
|
+
}, {
|
|
1576
|
+
readonly name: "requiredCompleters";
|
|
1577
|
+
readonly type: "uint256";
|
|
1578
|
+
readonly indexed: false;
|
|
1579
|
+
readonly internalType: "uint256";
|
|
1580
|
+
}, {
|
|
1581
|
+
readonly name: "bountyStartBy";
|
|
1582
|
+
readonly type: "uint256";
|
|
1583
|
+
readonly indexed: false;
|
|
1584
|
+
readonly internalType: "uint256";
|
|
1585
|
+
}, {
|
|
1586
|
+
readonly name: "bountyWindowSeconds";
|
|
1587
|
+
readonly type: "uint256";
|
|
1588
|
+
readonly indexed: false;
|
|
1589
|
+
readonly internalType: "uint256";
|
|
1590
|
+
}, {
|
|
1591
|
+
readonly name: "feedbackWindowSeconds";
|
|
1592
|
+
readonly type: "uint256";
|
|
1593
|
+
readonly indexed: false;
|
|
1594
|
+
readonly internalType: "uint256";
|
|
1595
|
+
}, {
|
|
1596
|
+
readonly name: "bountyEligibility";
|
|
1597
|
+
readonly type: "uint8";
|
|
1598
|
+
readonly indexed: false;
|
|
1599
|
+
readonly internalType: "uint8";
|
|
1600
|
+
}, {
|
|
1601
|
+
readonly name: "bountyEligibilityDataHash";
|
|
1602
|
+
readonly type: "bytes32";
|
|
1603
|
+
readonly indexed: false;
|
|
1604
|
+
readonly internalType: "bytes32";
|
|
1605
|
+
}, {
|
|
1606
|
+
readonly name: "bundleHash";
|
|
1607
|
+
readonly type: "bytes32";
|
|
1608
|
+
readonly indexed: false;
|
|
1609
|
+
readonly internalType: "bytes32";
|
|
1610
|
+
}, {
|
|
1611
|
+
readonly name: "rewardPoolId";
|
|
1612
|
+
readonly type: "uint256";
|
|
1613
|
+
readonly indexed: false;
|
|
1614
|
+
readonly internalType: "uint256";
|
|
1615
|
+
}];
|
|
1616
|
+
readonly anonymous: false;
|
|
1617
|
+
}, {
|
|
1618
|
+
readonly type: "event";
|
|
1619
|
+
readonly name: "QuestionContentAnchored";
|
|
1620
|
+
readonly inputs: readonly [{
|
|
1621
|
+
readonly name: "contentId";
|
|
1622
|
+
readonly type: "uint256";
|
|
1623
|
+
readonly indexed: true;
|
|
1624
|
+
readonly internalType: "uint256";
|
|
1625
|
+
}, {
|
|
1626
|
+
readonly name: "mediaType";
|
|
1627
|
+
readonly type: "uint8";
|
|
1628
|
+
readonly indexed: true;
|
|
1629
|
+
readonly internalType: "uint8";
|
|
1630
|
+
}, {
|
|
1631
|
+
readonly name: "mediaIndex";
|
|
1632
|
+
readonly type: "uint256";
|
|
1633
|
+
readonly indexed: false;
|
|
1634
|
+
readonly internalType: "uint256";
|
|
1635
|
+
}, {
|
|
1636
|
+
readonly name: "url";
|
|
1637
|
+
readonly type: "string";
|
|
1638
|
+
readonly indexed: false;
|
|
1639
|
+
readonly internalType: "string";
|
|
1640
|
+
}, {
|
|
1641
|
+
readonly name: "questionMetadataHash";
|
|
1642
|
+
readonly type: "bytes32";
|
|
1643
|
+
readonly indexed: false;
|
|
1644
|
+
readonly internalType: "bytes32";
|
|
1645
|
+
}, {
|
|
1646
|
+
readonly name: "resultSpecHash";
|
|
1647
|
+
readonly type: "bytes32";
|
|
1648
|
+
readonly indexed: false;
|
|
1649
|
+
readonly internalType: "bytes32";
|
|
1650
|
+
}];
|
|
1651
|
+
readonly anonymous: false;
|
|
1652
|
+
}, {
|
|
1653
|
+
readonly type: "event";
|
|
1654
|
+
readonly name: "QuestionRewardPoolEscrowUpdated";
|
|
1655
|
+
readonly inputs: readonly [{
|
|
1656
|
+
readonly name: "rewardPoolEscrow";
|
|
1657
|
+
readonly type: "address";
|
|
1658
|
+
readonly indexed: false;
|
|
1659
|
+
readonly internalType: "address";
|
|
1660
|
+
}];
|
|
1661
|
+
readonly anonymous: false;
|
|
1662
|
+
}, {
|
|
1663
|
+
readonly type: "event";
|
|
1664
|
+
readonly name: "RatingReviewPending";
|
|
1665
|
+
readonly inputs: readonly [{
|
|
1666
|
+
readonly name: "contentId";
|
|
1667
|
+
readonly type: "uint256";
|
|
1668
|
+
readonly indexed: true;
|
|
1669
|
+
readonly internalType: "uint256";
|
|
1670
|
+
}, {
|
|
1671
|
+
readonly name: "roundId";
|
|
1672
|
+
readonly type: "uint256";
|
|
1673
|
+
readonly indexed: true;
|
|
1674
|
+
readonly internalType: "uint256";
|
|
1675
|
+
}, {
|
|
1676
|
+
readonly name: "referenceRatingBps";
|
|
1677
|
+
readonly type: "uint16";
|
|
1678
|
+
readonly indexed: false;
|
|
1679
|
+
readonly internalType: "uint16";
|
|
1680
|
+
}, {
|
|
1681
|
+
readonly name: "rawUpEvidence";
|
|
1682
|
+
readonly type: "uint256";
|
|
1683
|
+
readonly indexed: false;
|
|
1684
|
+
readonly internalType: "uint256";
|
|
1685
|
+
}, {
|
|
1686
|
+
readonly name: "rawDownEvidence";
|
|
1687
|
+
readonly type: "uint256";
|
|
1688
|
+
readonly indexed: false;
|
|
1689
|
+
readonly internalType: "uint256";
|
|
1690
|
+
}, {
|
|
1691
|
+
readonly name: "readyAt";
|
|
1692
|
+
readonly type: "uint256";
|
|
1693
|
+
readonly indexed: false;
|
|
1694
|
+
readonly internalType: "uint256";
|
|
1695
|
+
}];
|
|
1696
|
+
readonly anonymous: false;
|
|
1697
|
+
}, {
|
|
1698
|
+
readonly type: "event";
|
|
1699
|
+
readonly name: "RatingSnapshotApplied";
|
|
1700
|
+
readonly inputs: readonly [{
|
|
1701
|
+
readonly name: "contentId";
|
|
1702
|
+
readonly type: "uint256";
|
|
1703
|
+
readonly indexed: true;
|
|
1704
|
+
readonly internalType: "uint256";
|
|
1705
|
+
}, {
|
|
1706
|
+
readonly name: "roundId";
|
|
1707
|
+
readonly type: "uint256";
|
|
1708
|
+
readonly indexed: true;
|
|
1709
|
+
readonly internalType: "uint256";
|
|
1710
|
+
}, {
|
|
1711
|
+
readonly name: "snapshotKey";
|
|
1712
|
+
readonly type: "bytes32";
|
|
1713
|
+
readonly indexed: true;
|
|
1714
|
+
readonly internalType: "bytes32";
|
|
1715
|
+
}, {
|
|
1716
|
+
readonly name: "snapshotDigest";
|
|
1717
|
+
readonly type: "bytes32";
|
|
1718
|
+
readonly indexed: false;
|
|
1719
|
+
readonly internalType: "bytes32";
|
|
1720
|
+
}, {
|
|
1721
|
+
readonly name: "adjustedUpEvidence";
|
|
1722
|
+
readonly type: "uint256";
|
|
1723
|
+
readonly indexed: false;
|
|
1724
|
+
readonly internalType: "uint256";
|
|
1725
|
+
}, {
|
|
1726
|
+
readonly name: "adjustedDownEvidence";
|
|
1727
|
+
readonly type: "uint256";
|
|
1728
|
+
readonly indexed: false;
|
|
1729
|
+
readonly internalType: "uint256";
|
|
1730
|
+
}];
|
|
1731
|
+
readonly anonymous: false;
|
|
1732
|
+
}, {
|
|
1733
|
+
readonly type: "event";
|
|
1734
|
+
readonly name: "RatingStateUpdated";
|
|
1735
|
+
readonly inputs: readonly [{
|
|
1736
|
+
readonly name: "contentId";
|
|
1737
|
+
readonly type: "uint256";
|
|
1738
|
+
readonly indexed: true;
|
|
1739
|
+
readonly internalType: "uint256";
|
|
1740
|
+
}, {
|
|
1741
|
+
readonly name: "roundId";
|
|
1742
|
+
readonly type: "uint256";
|
|
1743
|
+
readonly indexed: true;
|
|
1744
|
+
readonly internalType: "uint256";
|
|
1745
|
+
}, {
|
|
1746
|
+
readonly name: "referenceRatingBps";
|
|
1747
|
+
readonly type: "uint16";
|
|
1748
|
+
readonly indexed: false;
|
|
1749
|
+
readonly internalType: "uint16";
|
|
1750
|
+
}, {
|
|
1751
|
+
readonly name: "oldRatingBps";
|
|
1752
|
+
readonly type: "uint16";
|
|
1753
|
+
readonly indexed: false;
|
|
1754
|
+
readonly internalType: "uint16";
|
|
1755
|
+
}, {
|
|
1756
|
+
readonly name: "newRatingBps";
|
|
1757
|
+
readonly type: "uint16";
|
|
1758
|
+
readonly indexed: false;
|
|
1759
|
+
readonly internalType: "uint16";
|
|
1760
|
+
}, {
|
|
1761
|
+
readonly name: "conservativeRatingBps";
|
|
1762
|
+
readonly type: "uint16";
|
|
1763
|
+
readonly indexed: false;
|
|
1764
|
+
readonly internalType: "uint16";
|
|
1765
|
+
}, {
|
|
1766
|
+
readonly name: "upEvidence";
|
|
1767
|
+
readonly type: "uint256";
|
|
1768
|
+
readonly indexed: false;
|
|
1769
|
+
readonly internalType: "uint256";
|
|
1770
|
+
}, {
|
|
1771
|
+
readonly name: "downEvidence";
|
|
1772
|
+
readonly type: "uint256";
|
|
1773
|
+
readonly indexed: false;
|
|
1774
|
+
readonly internalType: "uint256";
|
|
1775
|
+
}, {
|
|
1776
|
+
readonly name: "confidenceMass";
|
|
1777
|
+
readonly type: "uint256";
|
|
1778
|
+
readonly indexed: false;
|
|
1779
|
+
readonly internalType: "uint256";
|
|
1780
|
+
}, {
|
|
1781
|
+
readonly name: "effectiveEvidence";
|
|
1782
|
+
readonly type: "uint256";
|
|
1783
|
+
readonly indexed: false;
|
|
1784
|
+
readonly internalType: "uint256";
|
|
1785
|
+
}, {
|
|
1786
|
+
readonly name: "settledRounds";
|
|
1787
|
+
readonly type: "uint32";
|
|
1788
|
+
readonly indexed: false;
|
|
1789
|
+
readonly internalType: "uint32";
|
|
1790
|
+
}, {
|
|
1791
|
+
readonly name: "lowSince";
|
|
1792
|
+
readonly type: "uint48";
|
|
1793
|
+
readonly indexed: false;
|
|
1794
|
+
readonly internalType: "uint48";
|
|
1795
|
+
}];
|
|
1796
|
+
readonly anonymous: false;
|
|
1797
|
+
}, {
|
|
1798
|
+
readonly type: "event";
|
|
1799
|
+
readonly name: "RatingUpdated";
|
|
1800
|
+
readonly inputs: readonly [{
|
|
1801
|
+
readonly name: "contentId";
|
|
1802
|
+
readonly type: "uint256";
|
|
1803
|
+
readonly indexed: true;
|
|
1804
|
+
readonly internalType: "uint256";
|
|
1805
|
+
}, {
|
|
1806
|
+
readonly name: "oldRating";
|
|
1807
|
+
readonly type: "uint256";
|
|
1808
|
+
readonly indexed: false;
|
|
1809
|
+
readonly internalType: "uint256";
|
|
1810
|
+
}, {
|
|
1811
|
+
readonly name: "newRating";
|
|
1812
|
+
readonly type: "uint256";
|
|
1813
|
+
readonly indexed: false;
|
|
1814
|
+
readonly internalType: "uint256";
|
|
1815
|
+
}];
|
|
1816
|
+
readonly anonymous: false;
|
|
1817
|
+
}, {
|
|
1818
|
+
readonly type: "event";
|
|
1819
|
+
readonly name: "RoleAdminChanged";
|
|
1820
|
+
readonly inputs: readonly [{
|
|
1821
|
+
readonly name: "role";
|
|
1822
|
+
readonly type: "bytes32";
|
|
1823
|
+
readonly indexed: true;
|
|
1824
|
+
readonly internalType: "bytes32";
|
|
1825
|
+
}, {
|
|
1826
|
+
readonly name: "previousAdminRole";
|
|
1827
|
+
readonly type: "bytes32";
|
|
1828
|
+
readonly indexed: true;
|
|
1829
|
+
readonly internalType: "bytes32";
|
|
1830
|
+
}, {
|
|
1831
|
+
readonly name: "newAdminRole";
|
|
1832
|
+
readonly type: "bytes32";
|
|
1833
|
+
readonly indexed: true;
|
|
1834
|
+
readonly internalType: "bytes32";
|
|
1835
|
+
}];
|
|
1836
|
+
readonly anonymous: false;
|
|
1837
|
+
}, {
|
|
1838
|
+
readonly type: "event";
|
|
1839
|
+
readonly name: "RoleGranted";
|
|
1840
|
+
readonly inputs: readonly [{
|
|
1841
|
+
readonly name: "role";
|
|
1842
|
+
readonly type: "bytes32";
|
|
1843
|
+
readonly indexed: true;
|
|
1844
|
+
readonly internalType: "bytes32";
|
|
1845
|
+
}, {
|
|
1846
|
+
readonly name: "account";
|
|
1847
|
+
readonly type: "address";
|
|
1848
|
+
readonly indexed: true;
|
|
1849
|
+
readonly internalType: "address";
|
|
1850
|
+
}, {
|
|
1851
|
+
readonly name: "sender";
|
|
1852
|
+
readonly type: "address";
|
|
1853
|
+
readonly indexed: true;
|
|
1854
|
+
readonly internalType: "address";
|
|
1855
|
+
}];
|
|
1856
|
+
readonly anonymous: false;
|
|
1857
|
+
}, {
|
|
1858
|
+
readonly type: "event";
|
|
1859
|
+
readonly name: "RoleRevoked";
|
|
1860
|
+
readonly inputs: readonly [{
|
|
1861
|
+
readonly name: "role";
|
|
1862
|
+
readonly type: "bytes32";
|
|
1863
|
+
readonly indexed: true;
|
|
1864
|
+
readonly internalType: "bytes32";
|
|
1865
|
+
}, {
|
|
1866
|
+
readonly name: "account";
|
|
1867
|
+
readonly type: "address";
|
|
1868
|
+
readonly indexed: true;
|
|
1869
|
+
readonly internalType: "address";
|
|
1870
|
+
}, {
|
|
1871
|
+
readonly name: "sender";
|
|
1872
|
+
readonly type: "address";
|
|
1873
|
+
readonly indexed: true;
|
|
1874
|
+
readonly internalType: "address";
|
|
1875
|
+
}];
|
|
1876
|
+
readonly anonymous: false;
|
|
1877
|
+
}, {
|
|
1878
|
+
readonly type: "event";
|
|
1879
|
+
readonly name: "SubmissionReservationCancelled";
|
|
1880
|
+
readonly inputs: readonly [{
|
|
1881
|
+
readonly name: "submitter";
|
|
1882
|
+
readonly type: "address";
|
|
1883
|
+
readonly indexed: true;
|
|
1884
|
+
readonly internalType: "address";
|
|
1885
|
+
}, {
|
|
1886
|
+
readonly name: "revealCommitment";
|
|
1887
|
+
readonly type: "bytes32";
|
|
1888
|
+
readonly indexed: true;
|
|
1889
|
+
readonly internalType: "bytes32";
|
|
1890
|
+
}];
|
|
1891
|
+
readonly anonymous: false;
|
|
1892
|
+
}, {
|
|
1893
|
+
readonly type: "event";
|
|
1894
|
+
readonly name: "SubmissionReserved";
|
|
1895
|
+
readonly inputs: readonly [{
|
|
1896
|
+
readonly name: "submitter";
|
|
1897
|
+
readonly type: "address";
|
|
1898
|
+
readonly indexed: true;
|
|
1899
|
+
readonly internalType: "address";
|
|
1900
|
+
}, {
|
|
1901
|
+
readonly name: "revealCommitment";
|
|
1902
|
+
readonly type: "bytes32";
|
|
1903
|
+
readonly indexed: true;
|
|
1904
|
+
readonly internalType: "bytes32";
|
|
1905
|
+
}, {
|
|
1906
|
+
readonly name: "expiresAt";
|
|
1907
|
+
readonly type: "uint256";
|
|
1908
|
+
readonly indexed: false;
|
|
1909
|
+
readonly internalType: "uint256";
|
|
1910
|
+
}];
|
|
1911
|
+
readonly anonymous: false;
|
|
1912
|
+
}, {
|
|
1913
|
+
readonly type: "event";
|
|
1914
|
+
readonly name: "SubmissionRewardPoolAttached";
|
|
1915
|
+
readonly inputs: readonly [{
|
|
1916
|
+
readonly name: "contentId";
|
|
1917
|
+
readonly type: "uint256";
|
|
1918
|
+
readonly indexed: true;
|
|
1919
|
+
readonly internalType: "uint256";
|
|
1920
|
+
}, {
|
|
1921
|
+
readonly name: "submitter";
|
|
1922
|
+
readonly type: "address";
|
|
1923
|
+
readonly indexed: true;
|
|
1924
|
+
readonly internalType: "address";
|
|
1925
|
+
}, {
|
|
1926
|
+
readonly name: "rewardAsset";
|
|
1927
|
+
readonly type: "uint8";
|
|
1928
|
+
readonly indexed: true;
|
|
1929
|
+
readonly internalType: "uint8";
|
|
1930
|
+
}, {
|
|
1931
|
+
readonly name: "amount";
|
|
1932
|
+
readonly type: "uint256";
|
|
1933
|
+
readonly indexed: false;
|
|
1934
|
+
readonly internalType: "uint256";
|
|
1935
|
+
}, {
|
|
1936
|
+
readonly name: "requiredVoters";
|
|
1937
|
+
readonly type: "uint256";
|
|
1938
|
+
readonly indexed: false;
|
|
1939
|
+
readonly internalType: "uint256";
|
|
1940
|
+
}, {
|
|
1941
|
+
readonly name: "requiredSettledRounds";
|
|
1942
|
+
readonly type: "uint256";
|
|
1943
|
+
readonly indexed: false;
|
|
1944
|
+
readonly internalType: "uint256";
|
|
1945
|
+
}, {
|
|
1946
|
+
readonly name: "bountyStartBy";
|
|
1947
|
+
readonly type: "uint256";
|
|
1948
|
+
readonly indexed: false;
|
|
1949
|
+
readonly internalType: "uint256";
|
|
1950
|
+
}, {
|
|
1951
|
+
readonly name: "bountyWindowSeconds";
|
|
1952
|
+
readonly type: "uint256";
|
|
1953
|
+
readonly indexed: false;
|
|
1954
|
+
readonly internalType: "uint256";
|
|
1955
|
+
}, {
|
|
1956
|
+
readonly name: "feedbackWindowSeconds";
|
|
1957
|
+
readonly type: "uint256";
|
|
1958
|
+
readonly indexed: false;
|
|
1959
|
+
readonly internalType: "uint256";
|
|
1960
|
+
}, {
|
|
1961
|
+
readonly name: "bountyEligibility";
|
|
1962
|
+
readonly type: "uint8";
|
|
1963
|
+
readonly indexed: false;
|
|
1964
|
+
readonly internalType: "uint8";
|
|
1965
|
+
}, {
|
|
1966
|
+
readonly name: "bountyEligibilityDataHash";
|
|
1967
|
+
readonly type: "bytes32";
|
|
1968
|
+
readonly indexed: false;
|
|
1969
|
+
readonly internalType: "bytes32";
|
|
1970
|
+
}, {
|
|
1971
|
+
readonly name: "rewardPoolId";
|
|
1972
|
+
readonly type: "uint256";
|
|
1973
|
+
readonly indexed: false;
|
|
1974
|
+
readonly internalType: "uint256";
|
|
1975
|
+
}];
|
|
1976
|
+
readonly anonymous: false;
|
|
1977
|
+
}, {
|
|
1978
|
+
readonly type: "event";
|
|
1979
|
+
readonly name: "Unpaused";
|
|
1980
|
+
readonly inputs: readonly [{
|
|
1981
|
+
readonly name: "account";
|
|
1982
|
+
readonly type: "address";
|
|
1983
|
+
readonly indexed: false;
|
|
1984
|
+
readonly internalType: "address";
|
|
1985
|
+
}];
|
|
1986
|
+
readonly anonymous: false;
|
|
1987
|
+
}, {
|
|
1988
|
+
readonly type: "error";
|
|
1989
|
+
readonly name: "AccessControlBadConfirmation";
|
|
1990
|
+
readonly inputs: readonly [];
|
|
1991
|
+
}, {
|
|
1992
|
+
readonly type: "error";
|
|
1993
|
+
readonly name: "AccessControlUnauthorizedAccount";
|
|
1994
|
+
readonly inputs: readonly [{
|
|
1995
|
+
readonly name: "account";
|
|
1996
|
+
readonly type: "address";
|
|
1997
|
+
readonly internalType: "address";
|
|
1998
|
+
}, {
|
|
1999
|
+
readonly name: "neededRole";
|
|
2000
|
+
readonly type: "bytes32";
|
|
2001
|
+
readonly internalType: "bytes32";
|
|
2002
|
+
}];
|
|
2003
|
+
}, {
|
|
2004
|
+
readonly type: "error";
|
|
2005
|
+
readonly name: "ActiveRoundOnPreviousEngine";
|
|
2006
|
+
readonly inputs: readonly [];
|
|
2007
|
+
}, {
|
|
2008
|
+
readonly type: "error";
|
|
2009
|
+
readonly name: "EnforcedPause";
|
|
2010
|
+
readonly inputs: readonly [];
|
|
2011
|
+
}, {
|
|
2012
|
+
readonly type: "error";
|
|
2013
|
+
readonly name: "ExpectedPause";
|
|
2014
|
+
readonly inputs: readonly [];
|
|
2015
|
+
}, {
|
|
2016
|
+
readonly type: "error";
|
|
2017
|
+
readonly name: "InvalidInitialization";
|
|
2018
|
+
readonly inputs: readonly [];
|
|
2019
|
+
}, {
|
|
2020
|
+
readonly type: "error";
|
|
2021
|
+
readonly name: "InvalidState";
|
|
2022
|
+
readonly inputs: readonly [];
|
|
2023
|
+
}, {
|
|
2024
|
+
readonly type: "error";
|
|
2025
|
+
readonly name: "NotInitializing";
|
|
2026
|
+
readonly inputs: readonly [];
|
|
2027
|
+
}, {
|
|
2028
|
+
readonly type: "error";
|
|
2029
|
+
readonly name: "OnlyVotingEngine";
|
|
2030
|
+
readonly inputs: readonly [];
|
|
2031
|
+
}, {
|
|
2032
|
+
readonly type: "error";
|
|
2033
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
2034
|
+
readonly inputs: readonly [];
|
|
2035
|
+
}];
|
|
2036
|
+
//# sourceMappingURL=ContentRegistryAbi.d.ts.map
|