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