@somnia-chain/contracts-sdk 0.3.5 → 0.3.6

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