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