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