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