@web3dotorg/evm-slc-core-sdk 0.3.12 → 0.3.13

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 (30) hide show
  1. package/abi/ExecutorsRegistry.json +1123 -0
  2. package/abi/Governance.json +2351 -0
  3. package/abi/IExecutorsRegistry.json +357 -0
  4. package/abi/IGovernance.json +133 -0
  5. package/abi/INeutralsRegistry.json +504 -0
  6. package/abi/IQParameters.json +78 -0
  7. package/abi/ISLCCore.json +207 -0
  8. package/abi/ISLCCoreFactory.json +174 -0
  9. package/abi/IWrappedToken.json +198 -0
  10. package/abi/NeutralsRegistry.json +1446 -0
  11. package/abi/ParameterRegistry.json +765 -0
  12. package/abi/SLCCore.json +307 -0
  13. package/abi/SLCCoreFactory.json +499 -0
  14. package/lib.commonjs/contracts/governance/ExecutorsRegistry.d.ts +1 -29
  15. package/lib.commonjs/contracts/interfaces/IExecutorsRegistry.d.ts +1 -29
  16. package/lib.commonjs/factories/contracts/governance/ExecutorsRegistry__factory.d.ts +0 -36
  17. package/lib.commonjs/factories/contracts/governance/ExecutorsRegistry__factory.js +0 -48
  18. package/lib.commonjs/factories/contracts/interfaces/IExecutorsRegistry__factory.d.ts +0 -36
  19. package/lib.commonjs/factories/contracts/interfaces/IExecutorsRegistry__factory.js +0 -48
  20. package/lib.commonjs/index.d.ts +1 -1
  21. package/lib.commonjs/index.js +31 -2
  22. package/lib.esm/contracts/governance/ExecutorsRegistry.d.ts +1 -29
  23. package/lib.esm/contracts/interfaces/IExecutorsRegistry.d.ts +1 -29
  24. package/lib.esm/factories/contracts/governance/ExecutorsRegistry__factory.d.ts +0 -36
  25. package/lib.esm/factories/contracts/governance/ExecutorsRegistry__factory.js +0 -48
  26. package/lib.esm/factories/contracts/interfaces/IExecutorsRegistry__factory.d.ts +0 -36
  27. package/lib.esm/factories/contracts/interfaces/IExecutorsRegistry__factory.js +0 -48
  28. package/lib.esm/index.d.ts +1 -1
  29. package/lib.esm/index.js +12 -2
  30. package/package.json +4 -4
@@ -0,0 +1,1446 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "target",
7
+ "type": "address"
8
+ }
9
+ ],
10
+ "name": "AddressEmptyCode",
11
+ "type": "error"
12
+ },
13
+ {
14
+ "inputs": [
15
+ {
16
+ "internalType": "uint256",
17
+ "name": "addressesCount",
18
+ "type": "uint256"
19
+ },
20
+ {
21
+ "internalType": "uint256",
22
+ "name": "weightsCount",
23
+ "type": "uint256"
24
+ }
25
+ ],
26
+ "name": "CountOfAddressesMustBeTheSameAsWeights",
27
+ "type": "error"
28
+ },
29
+ {
30
+ "inputs": [
31
+ {
32
+ "internalType": "address",
33
+ "name": "implementation",
34
+ "type": "address"
35
+ }
36
+ ],
37
+ "name": "ERC1967InvalidImplementation",
38
+ "type": "error"
39
+ },
40
+ {
41
+ "inputs": [],
42
+ "name": "ERC1967NonPayable",
43
+ "type": "error"
44
+ },
45
+ {
46
+ "inputs": [],
47
+ "name": "FailedCall",
48
+ "type": "error"
49
+ },
50
+ {
51
+ "inputs": [
52
+ {
53
+ "internalType": "address",
54
+ "name": "delegator",
55
+ "type": "address"
56
+ },
57
+ {
58
+ "internalType": "address",
59
+ "name": "neutral",
60
+ "type": "address"
61
+ },
62
+ {
63
+ "internalType": "uint256",
64
+ "name": "requested",
65
+ "type": "uint256"
66
+ },
67
+ {
68
+ "internalType": "uint256",
69
+ "name": "availible",
70
+ "type": "uint256"
71
+ }
72
+ ],
73
+ "name": "InsufficientDelegationAmount",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "subject",
81
+ "type": "address"
82
+ },
83
+ {
84
+ "internalType": "uint256",
85
+ "name": "requestedAmount",
86
+ "type": "uint256"
87
+ },
88
+ {
89
+ "internalType": "uint256",
90
+ "name": "availibleAmount",
91
+ "type": "uint256"
92
+ }
93
+ ],
94
+ "name": "InsufficientStakeAmount",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "uint256",
101
+ "name": "amount",
102
+ "type": "uint256"
103
+ }
104
+ ],
105
+ "name": "InvalidDelegationAmount",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [],
110
+ "name": "InvalidERC20Token",
111
+ "type": "error"
112
+ },
113
+ {
114
+ "inputs": [],
115
+ "name": "InvalidGovernance",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [],
120
+ "name": "InvalidInitialization",
121
+ "type": "error"
122
+ },
123
+ {
124
+ "inputs": [],
125
+ "name": "InvalidParametersRegistry",
126
+ "type": "error"
127
+ },
128
+ {
129
+ "inputs": [
130
+ {
131
+ "internalType": "uint256",
132
+ "name": "amount_",
133
+ "type": "uint256"
134
+ }
135
+ ],
136
+ "name": "InvalidStakeAmount",
137
+ "type": "error"
138
+ },
139
+ {
140
+ "inputs": [
141
+ {
142
+ "internalType": "uint256",
143
+ "name": "k",
144
+ "type": "uint256"
145
+ },
146
+ {
147
+ "internalType": "uint256",
148
+ "name": "addressesLength",
149
+ "type": "uint256"
150
+ }
151
+ ],
152
+ "name": "KmustBeInRangeOfAddresesLength",
153
+ "type": "error"
154
+ },
155
+ {
156
+ "inputs": [
157
+ {
158
+ "internalType": "uint256",
159
+ "name": "requestedDelegation",
160
+ "type": "uint256"
161
+ },
162
+ {
163
+ "internalType": "uint256",
164
+ "name": "currentDelegatedStake",
165
+ "type": "uint256"
166
+ },
167
+ {
168
+ "internalType": "uint256",
169
+ "name": "maxPossibleDelegatedStake",
170
+ "type": "uint256"
171
+ }
172
+ ],
173
+ "name": "MaxDelegationAmplificationConstraintViolated",
174
+ "type": "error"
175
+ },
176
+ {
177
+ "inputs": [
178
+ {
179
+ "internalType": "address",
180
+ "name": "neutral",
181
+ "type": "address"
182
+ }
183
+ ],
184
+ "name": "NeutralAlreadyPaused",
185
+ "type": "error"
186
+ },
187
+ {
188
+ "inputs": [
189
+ {
190
+ "internalType": "address",
191
+ "name": "subject",
192
+ "type": "address"
193
+ }
194
+ ],
195
+ "name": "NeutralCannotDelegateToHimself",
196
+ "type": "error"
197
+ },
198
+ {
199
+ "inputs": [
200
+ {
201
+ "internalType": "address",
202
+ "name": "neutral",
203
+ "type": "address"
204
+ }
205
+ ],
206
+ "name": "NeutralHasNoStake",
207
+ "type": "error"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "address",
213
+ "name": "neutral",
214
+ "type": "address"
215
+ }
216
+ ],
217
+ "name": "NeutralNotPaused",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [
222
+ {
223
+ "internalType": "address",
224
+ "name": "subject",
225
+ "type": "address"
226
+ }
227
+ ],
228
+ "name": "NoRewardsAvailible",
229
+ "type": "error"
230
+ },
231
+ {
232
+ "inputs": [
233
+ {
234
+ "internalType": "address",
235
+ "name": "subject",
236
+ "type": "address"
237
+ }
238
+ ],
239
+ "name": "NoWithdrawalAnnouncement",
240
+ "type": "error"
241
+ },
242
+ {
243
+ "inputs": [],
244
+ "name": "NotInitializing",
245
+ "type": "error"
246
+ },
247
+ {
248
+ "inputs": [
249
+ {
250
+ "internalType": "string",
251
+ "name": "parameterName",
252
+ "type": "string"
253
+ }
254
+ ],
255
+ "name": "ParameterIsAlreadySynced",
256
+ "type": "error"
257
+ },
258
+ {
259
+ "inputs": [
260
+ {
261
+ "internalType": "address",
262
+ "name": "parametersRegistry",
263
+ "type": "address"
264
+ },
265
+ {
266
+ "internalType": "string",
267
+ "name": "parameterName",
268
+ "type": "string"
269
+ }
270
+ ],
271
+ "name": "ParameterIsNotSet",
272
+ "type": "error"
273
+ },
274
+ {
275
+ "inputs": [
276
+ {
277
+ "internalType": "string",
278
+ "name": "parameterName",
279
+ "type": "string"
280
+ }
281
+ ],
282
+ "name": "ParameterIsNotSynced",
283
+ "type": "error"
284
+ },
285
+ {
286
+ "inputs": [],
287
+ "name": "QueueIsEmpty",
288
+ "type": "error"
289
+ },
290
+ {
291
+ "inputs": [
292
+ {
293
+ "internalType": "address",
294
+ "name": "token",
295
+ "type": "address"
296
+ }
297
+ ],
298
+ "name": "SafeERC20FailedOperation",
299
+ "type": "error"
300
+ },
301
+ {
302
+ "inputs": [
303
+ {
304
+ "internalType": "uint256",
305
+ "name": "providedNumber",
306
+ "type": "uint256"
307
+ },
308
+ {
309
+ "internalType": "uint256",
310
+ "name": "activeNeutralsCount",
311
+ "type": "uint256"
312
+ }
313
+ ],
314
+ "name": "SelectedNeutralsNumberOutOfRange",
315
+ "type": "error"
316
+ },
317
+ {
318
+ "inputs": [
319
+ {
320
+ "internalType": "address",
321
+ "name": "sender",
322
+ "type": "address"
323
+ }
324
+ ],
325
+ "name": "SenderExpectedToBeDAOSLC",
326
+ "type": "error"
327
+ },
328
+ {
329
+ "inputs": [
330
+ {
331
+ "internalType": "address",
332
+ "name": "sender",
333
+ "type": "address"
334
+ }
335
+ ],
336
+ "name": "SenderExpectedToBeGovernance",
337
+ "type": "error"
338
+ },
339
+ {
340
+ "inputs": [],
341
+ "name": "UUPSUnauthorizedCallContext",
342
+ "type": "error"
343
+ },
344
+ {
345
+ "inputs": [
346
+ {
347
+ "internalType": "bytes32",
348
+ "name": "slot",
349
+ "type": "bytes32"
350
+ }
351
+ ],
352
+ "name": "UUPSUnsupportedProxiableUUID",
353
+ "type": "error"
354
+ },
355
+ {
356
+ "inputs": [
357
+ {
358
+ "internalType": "uint256",
359
+ "name": "value",
360
+ "type": "uint256"
361
+ }
362
+ ],
363
+ "name": "ValueShouldBeInBasisPoints",
364
+ "type": "error"
365
+ },
366
+ {
367
+ "inputs": [
368
+ {
369
+ "internalType": "address",
370
+ "name": "subject",
371
+ "type": "address"
372
+ }
373
+ ],
374
+ "name": "WithdrawalAlreadyAnnounced",
375
+ "type": "error"
376
+ },
377
+ {
378
+ "inputs": [
379
+ {
380
+ "internalType": "address",
381
+ "name": "subject",
382
+ "type": "address"
383
+ },
384
+ {
385
+ "internalType": "uint256",
386
+ "name": "availableAt",
387
+ "type": "uint256"
388
+ }
389
+ ],
390
+ "name": "WithdrawalNotReady",
391
+ "type": "error"
392
+ },
393
+ {
394
+ "anonymous": false,
395
+ "inputs": [
396
+ {
397
+ "indexed": false,
398
+ "internalType": "address",
399
+ "name": "delegator",
400
+ "type": "address"
401
+ },
402
+ {
403
+ "indexed": false,
404
+ "internalType": "address",
405
+ "name": "neutral",
406
+ "type": "address"
407
+ },
408
+ {
409
+ "indexed": false,
410
+ "internalType": "uint256",
411
+ "name": "amount",
412
+ "type": "uint256"
413
+ }
414
+ ],
415
+ "name": "DelegationWithdrawn",
416
+ "type": "event"
417
+ },
418
+ {
419
+ "anonymous": false,
420
+ "inputs": [
421
+ {
422
+ "indexed": false,
423
+ "internalType": "uint64",
424
+ "name": "version",
425
+ "type": "uint64"
426
+ }
427
+ ],
428
+ "name": "Initialized",
429
+ "type": "event"
430
+ },
431
+ {
432
+ "anonymous": false,
433
+ "inputs": [
434
+ {
435
+ "indexed": true,
436
+ "internalType": "address",
437
+ "name": "neutral",
438
+ "type": "address"
439
+ },
440
+ {
441
+ "indexed": false,
442
+ "internalType": "uint256",
443
+ "name": "stake",
444
+ "type": "uint256"
445
+ }
446
+ ],
447
+ "name": "NeutralActivated",
448
+ "type": "event"
449
+ },
450
+ {
451
+ "anonymous": false,
452
+ "inputs": [
453
+ {
454
+ "indexed": true,
455
+ "internalType": "address",
456
+ "name": "neutral",
457
+ "type": "address"
458
+ }
459
+ ],
460
+ "name": "NeutralMovedToStandby",
461
+ "type": "event"
462
+ },
463
+ {
464
+ "anonymous": false,
465
+ "inputs": [
466
+ {
467
+ "indexed": true,
468
+ "internalType": "address",
469
+ "name": "neutral",
470
+ "type": "address"
471
+ }
472
+ ],
473
+ "name": "NeutralPaused",
474
+ "type": "event"
475
+ },
476
+ {
477
+ "anonymous": false,
478
+ "inputs": [
479
+ {
480
+ "indexed": true,
481
+ "internalType": "address",
482
+ "name": "neutral",
483
+ "type": "address"
484
+ },
485
+ {
486
+ "indexed": false,
487
+ "internalType": "uint256",
488
+ "name": "amount",
489
+ "type": "uint256"
490
+ },
491
+ {
492
+ "indexed": false,
493
+ "internalType": "address",
494
+ "name": "recipient",
495
+ "type": "address"
496
+ }
497
+ ],
498
+ "name": "NeutralSlashed",
499
+ "type": "event"
500
+ },
501
+ {
502
+ "anonymous": false,
503
+ "inputs": [
504
+ {
505
+ "indexed": true,
506
+ "internalType": "address",
507
+ "name": "neutral",
508
+ "type": "address"
509
+ },
510
+ {
511
+ "indexed": false,
512
+ "internalType": "uint256",
513
+ "name": "amount",
514
+ "type": "uint256"
515
+ },
516
+ {
517
+ "indexed": false,
518
+ "internalType": "uint256",
519
+ "name": "totalStake",
520
+ "type": "uint256"
521
+ }
522
+ ],
523
+ "name": "NeutralStaked",
524
+ "type": "event"
525
+ },
526
+ {
527
+ "anonymous": false,
528
+ "inputs": [
529
+ {
530
+ "indexed": true,
531
+ "internalType": "address",
532
+ "name": "neutral",
533
+ "type": "address"
534
+ }
535
+ ],
536
+ "name": "NeutralUnpaused",
537
+ "type": "event"
538
+ },
539
+ {
540
+ "anonymous": false,
541
+ "inputs": [
542
+ {
543
+ "indexed": true,
544
+ "internalType": "address",
545
+ "name": "neutral",
546
+ "type": "address"
547
+ },
548
+ {
549
+ "indexed": false,
550
+ "internalType": "uint256",
551
+ "name": "amount",
552
+ "type": "uint256"
553
+ },
554
+ {
555
+ "indexed": false,
556
+ "internalType": "uint256",
557
+ "name": "remainingStake",
558
+ "type": "uint256"
559
+ }
560
+ ],
561
+ "name": "NeutralUnstaked",
562
+ "type": "event"
563
+ },
564
+ {
565
+ "anonymous": false,
566
+ "inputs": [
567
+ {
568
+ "indexed": true,
569
+ "internalType": "address",
570
+ "name": "neutral",
571
+ "type": "address"
572
+ },
573
+ {
574
+ "indexed": false,
575
+ "internalType": "uint256",
576
+ "name": "amount",
577
+ "type": "uint256"
578
+ }
579
+ ],
580
+ "name": "RewardsClaimed",
581
+ "type": "event"
582
+ },
583
+ {
584
+ "anonymous": false,
585
+ "inputs": [
586
+ {
587
+ "indexed": false,
588
+ "internalType": "address[]",
589
+ "name": "selectedNeutrals",
590
+ "type": "address[]"
591
+ },
592
+ {
593
+ "indexed": false,
594
+ "internalType": "uint256",
595
+ "name": "totalAmount",
596
+ "type": "uint256"
597
+ }
598
+ ],
599
+ "name": "RewardsDistributed",
600
+ "type": "event"
601
+ },
602
+ {
603
+ "anonymous": false,
604
+ "inputs": [
605
+ {
606
+ "indexed": true,
607
+ "internalType": "address",
608
+ "name": "implementation",
609
+ "type": "address"
610
+ }
611
+ ],
612
+ "name": "Upgraded",
613
+ "type": "event"
614
+ },
615
+ {
616
+ "anonymous": false,
617
+ "inputs": [
618
+ {
619
+ "indexed": true,
620
+ "internalType": "address",
621
+ "name": "neutral",
622
+ "type": "address"
623
+ },
624
+ {
625
+ "indexed": false,
626
+ "internalType": "uint256",
627
+ "name": "amount",
628
+ "type": "uint256"
629
+ },
630
+ {
631
+ "indexed": false,
632
+ "internalType": "uint256",
633
+ "name": "availableAt",
634
+ "type": "uint256"
635
+ }
636
+ ],
637
+ "name": "WithdrawalAnnounced",
638
+ "type": "event"
639
+ },
640
+ {
641
+ "anonymous": false,
642
+ "inputs": [
643
+ {
644
+ "indexed": true,
645
+ "internalType": "address",
646
+ "name": "neutral",
647
+ "type": "address"
648
+ },
649
+ {
650
+ "indexed": false,
651
+ "internalType": "uint256",
652
+ "name": "amount",
653
+ "type": "uint256"
654
+ }
655
+ ],
656
+ "name": "WithdrawalCancelled",
657
+ "type": "event"
658
+ },
659
+ {
660
+ "inputs": [],
661
+ "name": "UPGRADE_INTERFACE_VERSION",
662
+ "outputs": [
663
+ {
664
+ "internalType": "string",
665
+ "name": "",
666
+ "type": "string"
667
+ }
668
+ ],
669
+ "stateMutability": "view",
670
+ "type": "function"
671
+ },
672
+ {
673
+ "inputs": [
674
+ {
675
+ "internalType": "address",
676
+ "name": "governance_",
677
+ "type": "address"
678
+ }
679
+ ],
680
+ "name": "__NeutralsRegistry_init",
681
+ "outputs": [],
682
+ "stateMutability": "nonpayable",
683
+ "type": "function"
684
+ },
685
+ {
686
+ "inputs": [
687
+ {
688
+ "internalType": "uint256",
689
+ "name": "amount_",
690
+ "type": "uint256"
691
+ }
692
+ ],
693
+ "name": "addNeutralsStake",
694
+ "outputs": [],
695
+ "stateMutability": "nonpayable",
696
+ "type": "function"
697
+ },
698
+ {
699
+ "inputs": [
700
+ {
701
+ "internalType": "address",
702
+ "name": "neutral_",
703
+ "type": "address"
704
+ },
705
+ {
706
+ "internalType": "uint256",
707
+ "name": "amount_",
708
+ "type": "uint256"
709
+ }
710
+ ],
711
+ "name": "announceDelegationWithdrawal",
712
+ "outputs": [],
713
+ "stateMutability": "nonpayable",
714
+ "type": "function"
715
+ },
716
+ {
717
+ "inputs": [
718
+ {
719
+ "internalType": "uint256",
720
+ "name": "amount_",
721
+ "type": "uint256"
722
+ }
723
+ ],
724
+ "name": "announceNeutralsWithdrawal",
725
+ "outputs": [],
726
+ "stateMutability": "nonpayable",
727
+ "type": "function"
728
+ },
729
+ {
730
+ "inputs": [],
731
+ "name": "boundActiveNeutralsList",
732
+ "outputs": [],
733
+ "stateMutability": "nonpayable",
734
+ "type": "function"
735
+ },
736
+ {
737
+ "inputs": [
738
+ {
739
+ "internalType": "address",
740
+ "name": "neutral_",
741
+ "type": "address"
742
+ }
743
+ ],
744
+ "name": "cancelDelegationWithdrawal",
745
+ "outputs": [],
746
+ "stateMutability": "nonpayable",
747
+ "type": "function"
748
+ },
749
+ {
750
+ "inputs": [],
751
+ "name": "cancelNeutralsWithdrawal",
752
+ "outputs": [],
753
+ "stateMutability": "nonpayable",
754
+ "type": "function"
755
+ },
756
+ {
757
+ "inputs": [
758
+ {
759
+ "internalType": "address",
760
+ "name": "neutral_",
761
+ "type": "address"
762
+ }
763
+ ],
764
+ "name": "claimDelegatorRewards",
765
+ "outputs": [],
766
+ "stateMutability": "nonpayable",
767
+ "type": "function"
768
+ },
769
+ {
770
+ "inputs": [],
771
+ "name": "claimNeutralRewards",
772
+ "outputs": [],
773
+ "stateMutability": "nonpayable",
774
+ "type": "function"
775
+ },
776
+ {
777
+ "inputs": [
778
+ {
779
+ "internalType": "address",
780
+ "name": "neutral_",
781
+ "type": "address"
782
+ }
783
+ ],
784
+ "name": "completeDelegationWithdrawal",
785
+ "outputs": [],
786
+ "stateMutability": "nonpayable",
787
+ "type": "function"
788
+ },
789
+ {
790
+ "inputs": [],
791
+ "name": "completeNeutralsWithdrawal",
792
+ "outputs": [],
793
+ "stateMutability": "nonpayable",
794
+ "type": "function"
795
+ },
796
+ {
797
+ "inputs": [
798
+ {
799
+ "internalType": "address",
800
+ "name": "neutral_",
801
+ "type": "address"
802
+ },
803
+ {
804
+ "internalType": "uint256",
805
+ "name": "amount_",
806
+ "type": "uint256"
807
+ }
808
+ ],
809
+ "name": "delegate",
810
+ "outputs": [],
811
+ "stateMutability": "nonpayable",
812
+ "type": "function"
813
+ },
814
+ {
815
+ "inputs": [
816
+ {
817
+ "internalType": "address[]",
818
+ "name": "selectedNeutrals_",
819
+ "type": "address[]"
820
+ },
821
+ {
822
+ "internalType": "uint256",
823
+ "name": "amount_",
824
+ "type": "uint256"
825
+ }
826
+ ],
827
+ "name": "distributeRewards",
828
+ "outputs": [],
829
+ "stateMutability": "nonpayable",
830
+ "type": "function"
831
+ },
832
+ {
833
+ "inputs": [
834
+ {
835
+ "internalType": "uint256",
836
+ "name": "offset_",
837
+ "type": "uint256"
838
+ },
839
+ {
840
+ "internalType": "uint256",
841
+ "name": "limit_",
842
+ "type": "uint256"
843
+ }
844
+ ],
845
+ "name": "getActiveNeutrals",
846
+ "outputs": [
847
+ {
848
+ "internalType": "address[]",
849
+ "name": "",
850
+ "type": "address[]"
851
+ }
852
+ ],
853
+ "stateMutability": "view",
854
+ "type": "function"
855
+ },
856
+ {
857
+ "inputs": [],
858
+ "name": "getCurrentGovernance",
859
+ "outputs": [
860
+ {
861
+ "internalType": "address",
862
+ "name": "",
863
+ "type": "address"
864
+ }
865
+ ],
866
+ "stateMutability": "view",
867
+ "type": "function"
868
+ },
869
+ {
870
+ "inputs": [],
871
+ "name": "getCurrentMaxActiveNeutralsParameter",
872
+ "outputs": [
873
+ {
874
+ "internalType": "uint256",
875
+ "name": "",
876
+ "type": "uint256"
877
+ }
878
+ ],
879
+ "stateMutability": "view",
880
+ "type": "function"
881
+ },
882
+ {
883
+ "inputs": [
884
+ {
885
+ "internalType": "address",
886
+ "name": "delegator_",
887
+ "type": "address"
888
+ },
889
+ {
890
+ "internalType": "address",
891
+ "name": "neutral_",
892
+ "type": "address"
893
+ }
894
+ ],
895
+ "name": "getDelegation",
896
+ "outputs": [
897
+ {
898
+ "components": [
899
+ {
900
+ "internalType": "uint256",
901
+ "name": "delegatedAmount",
902
+ "type": "uint256"
903
+ },
904
+ {
905
+ "components": [
906
+ {
907
+ "internalType": "uint256",
908
+ "name": "amount",
909
+ "type": "uint256"
910
+ },
911
+ {
912
+ "internalType": "uint256",
913
+ "name": "announcedAt",
914
+ "type": "uint256"
915
+ },
916
+ {
917
+ "internalType": "uint256",
918
+ "name": "availableAt",
919
+ "type": "uint256"
920
+ }
921
+ ],
922
+ "internalType": "struct NeutralsRegistry.WithdrawalAnnouncement",
923
+ "name": "withdrawal",
924
+ "type": "tuple"
925
+ },
926
+ {
927
+ "internalType": "uint256",
928
+ "name": "owedValue",
929
+ "type": "uint256"
930
+ },
931
+ {
932
+ "internalType": "uint256",
933
+ "name": "cumulativeSum",
934
+ "type": "uint256"
935
+ }
936
+ ],
937
+ "internalType": "struct NeutralsRegistry.Delegation",
938
+ "name": "",
939
+ "type": "tuple"
940
+ }
941
+ ],
942
+ "stateMutability": "view",
943
+ "type": "function"
944
+ },
945
+ {
946
+ "inputs": [
947
+ {
948
+ "internalType": "address",
949
+ "name": "delegator_",
950
+ "type": "address"
951
+ },
952
+ {
953
+ "internalType": "address",
954
+ "name": "neutral_",
955
+ "type": "address"
956
+ }
957
+ ],
958
+ "name": "getDelegatorRewards",
959
+ "outputs": [
960
+ {
961
+ "internalType": "uint256",
962
+ "name": "",
963
+ "type": "uint256"
964
+ }
965
+ ],
966
+ "stateMutability": "view",
967
+ "type": "function"
968
+ },
969
+ {
970
+ "inputs": [
971
+ {
972
+ "internalType": "address",
973
+ "name": "neutral_",
974
+ "type": "address"
975
+ },
976
+ {
977
+ "internalType": "uint256",
978
+ "name": "offset_",
979
+ "type": "uint256"
980
+ },
981
+ {
982
+ "internalType": "uint256",
983
+ "name": "limit_",
984
+ "type": "uint256"
985
+ }
986
+ ],
987
+ "name": "getDelegatorsPerNeutral",
988
+ "outputs": [
989
+ {
990
+ "internalType": "address[]",
991
+ "name": "",
992
+ "type": "address[]"
993
+ }
994
+ ],
995
+ "stateMutability": "view",
996
+ "type": "function"
997
+ },
998
+ {
999
+ "inputs": [
1000
+ {
1001
+ "internalType": "address",
1002
+ "name": "neutral_",
1003
+ "type": "address"
1004
+ }
1005
+ ],
1006
+ "name": "getExternalLink",
1007
+ "outputs": [
1008
+ {
1009
+ "internalType": "string",
1010
+ "name": "",
1011
+ "type": "string"
1012
+ }
1013
+ ],
1014
+ "stateMutability": "view",
1015
+ "type": "function"
1016
+ },
1017
+ {
1018
+ "inputs": [
1019
+ {
1020
+ "internalType": "address",
1021
+ "name": "neutral_",
1022
+ "type": "address"
1023
+ }
1024
+ ],
1025
+ "name": "getNeutralDelegationShare",
1026
+ "outputs": [
1027
+ {
1028
+ "internalType": "uint256",
1029
+ "name": "",
1030
+ "type": "uint256"
1031
+ }
1032
+ ],
1033
+ "stateMutability": "view",
1034
+ "type": "function"
1035
+ },
1036
+ {
1037
+ "inputs": [
1038
+ {
1039
+ "internalType": "address",
1040
+ "name": "neutral_",
1041
+ "type": "address"
1042
+ }
1043
+ ],
1044
+ "name": "getNeutralInfo",
1045
+ "outputs": [
1046
+ {
1047
+ "components": [
1048
+ {
1049
+ "internalType": "uint256",
1050
+ "name": "selfStake",
1051
+ "type": "uint256"
1052
+ },
1053
+ {
1054
+ "internalType": "uint256",
1055
+ "name": "weight",
1056
+ "type": "uint256"
1057
+ },
1058
+ {
1059
+ "internalType": "uint256",
1060
+ "name": "delegatedStake",
1061
+ "type": "uint256"
1062
+ },
1063
+ {
1064
+ "internalType": "uint256",
1065
+ "name": "rewards",
1066
+ "type": "uint256"
1067
+ },
1068
+ {
1069
+ "internalType": "uint256",
1070
+ "name": "delegationShare",
1071
+ "type": "uint256"
1072
+ },
1073
+ {
1074
+ "internalType": "string",
1075
+ "name": "externalLink",
1076
+ "type": "string"
1077
+ },
1078
+ {
1079
+ "internalType": "bool",
1080
+ "name": "isActive",
1081
+ "type": "bool"
1082
+ },
1083
+ {
1084
+ "internalType": "bool",
1085
+ "name": "isStandby",
1086
+ "type": "bool"
1087
+ }
1088
+ ],
1089
+ "internalType": "struct NeutralsRegistry.NeutralsInfo",
1090
+ "name": "",
1091
+ "type": "tuple"
1092
+ }
1093
+ ],
1094
+ "stateMutability": "view",
1095
+ "type": "function"
1096
+ },
1097
+ {
1098
+ "inputs": [
1099
+ {
1100
+ "internalType": "address",
1101
+ "name": "neutral_",
1102
+ "type": "address"
1103
+ }
1104
+ ],
1105
+ "name": "getNeutralRewards",
1106
+ "outputs": [
1107
+ {
1108
+ "internalType": "uint256",
1109
+ "name": "",
1110
+ "type": "uint256"
1111
+ }
1112
+ ],
1113
+ "stateMutability": "view",
1114
+ "type": "function"
1115
+ },
1116
+ {
1117
+ "inputs": [],
1118
+ "name": "getNeutralsCount",
1119
+ "outputs": [
1120
+ {
1121
+ "internalType": "uint256",
1122
+ "name": "",
1123
+ "type": "uint256"
1124
+ }
1125
+ ],
1126
+ "stateMutability": "view",
1127
+ "type": "function"
1128
+ },
1129
+ {
1130
+ "inputs": [
1131
+ {
1132
+ "internalType": "address",
1133
+ "name": "delegator_",
1134
+ "type": "address"
1135
+ },
1136
+ {
1137
+ "internalType": "uint256",
1138
+ "name": "offset_",
1139
+ "type": "uint256"
1140
+ },
1141
+ {
1142
+ "internalType": "uint256",
1143
+ "name": "limit_",
1144
+ "type": "uint256"
1145
+ }
1146
+ ],
1147
+ "name": "getNeutralsPerDelegator",
1148
+ "outputs": [
1149
+ {
1150
+ "internalType": "address[]",
1151
+ "name": "",
1152
+ "type": "address[]"
1153
+ }
1154
+ ],
1155
+ "stateMutability": "view",
1156
+ "type": "function"
1157
+ },
1158
+ {
1159
+ "inputs": [
1160
+ {
1161
+ "internalType": "uint256",
1162
+ "name": "number_",
1163
+ "type": "uint256"
1164
+ }
1165
+ ],
1166
+ "name": "getNeutralsSlice",
1167
+ "outputs": [
1168
+ {
1169
+ "internalType": "address[]",
1170
+ "name": "",
1171
+ "type": "address[]"
1172
+ }
1173
+ ],
1174
+ "stateMutability": "view",
1175
+ "type": "function"
1176
+ },
1177
+ {
1178
+ "inputs": [],
1179
+ "name": "getParameterRegistry",
1180
+ "outputs": [
1181
+ {
1182
+ "internalType": "address",
1183
+ "name": "",
1184
+ "type": "address"
1185
+ }
1186
+ ],
1187
+ "stateMutability": "view",
1188
+ "type": "function"
1189
+ },
1190
+ {
1191
+ "inputs": [
1192
+ {
1193
+ "internalType": "uint256",
1194
+ "name": "offset_",
1195
+ "type": "uint256"
1196
+ },
1197
+ {
1198
+ "internalType": "uint256",
1199
+ "name": "limit_",
1200
+ "type": "uint256"
1201
+ }
1202
+ ],
1203
+ "name": "getStandbyNeutrals",
1204
+ "outputs": [
1205
+ {
1206
+ "internalType": "address[]",
1207
+ "name": "",
1208
+ "type": "address[]"
1209
+ }
1210
+ ],
1211
+ "stateMutability": "view",
1212
+ "type": "function"
1213
+ },
1214
+ {
1215
+ "inputs": [],
1216
+ "name": "getToken",
1217
+ "outputs": [
1218
+ {
1219
+ "internalType": "address",
1220
+ "name": "",
1221
+ "type": "address"
1222
+ }
1223
+ ],
1224
+ "stateMutability": "view",
1225
+ "type": "function"
1226
+ },
1227
+ {
1228
+ "inputs": [
1229
+ {
1230
+ "internalType": "address",
1231
+ "name": "neutral_",
1232
+ "type": "address"
1233
+ }
1234
+ ],
1235
+ "name": "getWithdrawalAnnouncement",
1236
+ "outputs": [
1237
+ {
1238
+ "components": [
1239
+ {
1240
+ "internalType": "uint256",
1241
+ "name": "amount",
1242
+ "type": "uint256"
1243
+ },
1244
+ {
1245
+ "internalType": "uint256",
1246
+ "name": "announcedAt",
1247
+ "type": "uint256"
1248
+ },
1249
+ {
1250
+ "internalType": "uint256",
1251
+ "name": "availableAt",
1252
+ "type": "uint256"
1253
+ }
1254
+ ],
1255
+ "internalType": "struct NeutralsRegistry.WithdrawalAnnouncement",
1256
+ "name": "",
1257
+ "type": "tuple"
1258
+ }
1259
+ ],
1260
+ "stateMutability": "view",
1261
+ "type": "function"
1262
+ },
1263
+ {
1264
+ "inputs": [],
1265
+ "name": "implementation",
1266
+ "outputs": [
1267
+ {
1268
+ "internalType": "address",
1269
+ "name": "",
1270
+ "type": "address"
1271
+ }
1272
+ ],
1273
+ "stateMutability": "view",
1274
+ "type": "function"
1275
+ },
1276
+ {
1277
+ "inputs": [
1278
+ {
1279
+ "internalType": "address",
1280
+ "name": "candidate_",
1281
+ "type": "address"
1282
+ }
1283
+ ],
1284
+ "name": "isNeutral",
1285
+ "outputs": [
1286
+ {
1287
+ "internalType": "bool",
1288
+ "name": "",
1289
+ "type": "bool"
1290
+ }
1291
+ ],
1292
+ "stateMutability": "view",
1293
+ "type": "function"
1294
+ },
1295
+ {
1296
+ "inputs": [
1297
+ {
1298
+ "internalType": "address",
1299
+ "name": "neutral_",
1300
+ "type": "address"
1301
+ }
1302
+ ],
1303
+ "name": "isWithdrawalReady",
1304
+ "outputs": [
1305
+ {
1306
+ "internalType": "bool",
1307
+ "name": "",
1308
+ "type": "bool"
1309
+ }
1310
+ ],
1311
+ "stateMutability": "view",
1312
+ "type": "function"
1313
+ },
1314
+ {
1315
+ "inputs": [],
1316
+ "name": "proxiableUUID",
1317
+ "outputs": [
1318
+ {
1319
+ "internalType": "bytes32",
1320
+ "name": "",
1321
+ "type": "bytes32"
1322
+ }
1323
+ ],
1324
+ "stateMutability": "view",
1325
+ "type": "function"
1326
+ },
1327
+ {
1328
+ "inputs": [
1329
+ {
1330
+ "internalType": "uint256",
1331
+ "name": "delegationShare_",
1332
+ "type": "uint256"
1333
+ }
1334
+ ],
1335
+ "name": "setDelegationShare",
1336
+ "outputs": [],
1337
+ "stateMutability": "nonpayable",
1338
+ "type": "function"
1339
+ },
1340
+ {
1341
+ "inputs": [
1342
+ {
1343
+ "internalType": "string",
1344
+ "name": "externalLink_",
1345
+ "type": "string"
1346
+ }
1347
+ ],
1348
+ "name": "setExternalLink",
1349
+ "outputs": [],
1350
+ "stateMutability": "nonpayable",
1351
+ "type": "function"
1352
+ },
1353
+ {
1354
+ "inputs": [
1355
+ {
1356
+ "internalType": "address",
1357
+ "name": "neutral_",
1358
+ "type": "address"
1359
+ },
1360
+ {
1361
+ "internalType": "uint256",
1362
+ "name": "amount_",
1363
+ "type": "uint256"
1364
+ }
1365
+ ],
1366
+ "name": "slashNeutral",
1367
+ "outputs": [],
1368
+ "stateMutability": "nonpayable",
1369
+ "type": "function"
1370
+ },
1371
+ {
1372
+ "inputs": [
1373
+ {
1374
+ "internalType": "bytes4",
1375
+ "name": "interfaceId_",
1376
+ "type": "bytes4"
1377
+ }
1378
+ ],
1379
+ "name": "supportsInterface",
1380
+ "outputs": [
1381
+ {
1382
+ "internalType": "bool",
1383
+ "name": "",
1384
+ "type": "bool"
1385
+ }
1386
+ ],
1387
+ "stateMutability": "view",
1388
+ "type": "function"
1389
+ },
1390
+ {
1391
+ "inputs": [],
1392
+ "name": "tryBecomeActive",
1393
+ "outputs": [],
1394
+ "stateMutability": "nonpayable",
1395
+ "type": "function"
1396
+ },
1397
+ {
1398
+ "inputs": [
1399
+ {
1400
+ "internalType": "address",
1401
+ "name": "neutral_",
1402
+ "type": "address"
1403
+ },
1404
+ {
1405
+ "internalType": "uint256",
1406
+ "name": "newAmount_",
1407
+ "type": "uint256"
1408
+ }
1409
+ ],
1410
+ "name": "updateDelegationWithdrawal",
1411
+ "outputs": [],
1412
+ "stateMutability": "nonpayable",
1413
+ "type": "function"
1414
+ },
1415
+ {
1416
+ "inputs": [
1417
+ {
1418
+ "internalType": "uint256",
1419
+ "name": "newAmount_",
1420
+ "type": "uint256"
1421
+ }
1422
+ ],
1423
+ "name": "updateNeutralsWithdrawal",
1424
+ "outputs": [],
1425
+ "stateMutability": "nonpayable",
1426
+ "type": "function"
1427
+ },
1428
+ {
1429
+ "inputs": [
1430
+ {
1431
+ "internalType": "address",
1432
+ "name": "newImplementation",
1433
+ "type": "address"
1434
+ },
1435
+ {
1436
+ "internalType": "bytes",
1437
+ "name": "data",
1438
+ "type": "bytes"
1439
+ }
1440
+ ],
1441
+ "name": "upgradeToAndCall",
1442
+ "outputs": [],
1443
+ "stateMutability": "payable",
1444
+ "type": "function"
1445
+ }
1446
+ ]