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