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