@nexusmutual/sdk 0.13.0 → 0.13.2

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.
@@ -1,1275 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- {
5
- "internalType": "address",
6
- "name": "coverAddress",
7
- "type": "address"
8
- },
9
- {
10
- "internalType": "address",
11
- "name": "stakingNFTAddress",
12
- "type": "address"
13
- },
14
- {
15
- "internalType": "address",
16
- "name": "_tokenAddress",
17
- "type": "address"
18
- }
19
- ],
20
- "stateMutability": "nonpayable",
21
- "type": "constructor"
22
- },
23
- {
24
- "anonymous": false,
25
- "inputs": [
26
- {
27
- "indexed": true,
28
- "internalType": "address",
29
- "name": "contractAddress",
30
- "type": "address"
31
- },
32
- {
33
- "indexed": false,
34
- "internalType": "uint256",
35
- "name": "amount",
36
- "type": "uint256"
37
- }
38
- ],
39
- "name": "BurnRequested",
40
- "type": "event"
41
- },
42
- {
43
- "anonymous": false,
44
- "inputs": [
45
- {
46
- "indexed": true,
47
- "internalType": "address",
48
- "name": "contractAddress",
49
- "type": "address"
50
- },
51
- {
52
- "indexed": false,
53
- "internalType": "uint256",
54
- "name": "amount",
55
- "type": "uint256"
56
- },
57
- {
58
- "indexed": false,
59
- "internalType": "uint256",
60
- "name": "contractStakeBeforeBurn",
61
- "type": "uint256"
62
- }
63
- ],
64
- "name": "Burned",
65
- "type": "event"
66
- },
67
- {
68
- "anonymous": false,
69
- "inputs": [
70
- {
71
- "indexed": true,
72
- "internalType": "address",
73
- "name": "staker",
74
- "type": "address"
75
- },
76
- {
77
- "indexed": false,
78
- "internalType": "uint256",
79
- "name": "amount",
80
- "type": "uint256"
81
- }
82
- ],
83
- "name": "Deposited",
84
- "type": "event"
85
- },
86
- {
87
- "anonymous": false,
88
- "inputs": [
89
- {
90
- "indexed": false,
91
- "internalType": "bool",
92
- "name": "finished",
93
- "type": "bool"
94
- }
95
- ],
96
- "name": "PendingActionsProcessed",
97
- "type": "event"
98
- },
99
- {
100
- "anonymous": false,
101
- "inputs": [
102
- {
103
- "indexed": true,
104
- "internalType": "address",
105
- "name": "contractAddress",
106
- "type": "address"
107
- },
108
- {
109
- "indexed": false,
110
- "internalType": "uint256",
111
- "name": "amount",
112
- "type": "uint256"
113
- }
114
- ],
115
- "name": "RewardAdded",
116
- "type": "event"
117
- },
118
- {
119
- "anonymous": false,
120
- "inputs": [
121
- {
122
- "indexed": true,
123
- "internalType": "address",
124
- "name": "contractAddress",
125
- "type": "address"
126
- },
127
- {
128
- "indexed": false,
129
- "internalType": "uint256",
130
- "name": "amount",
131
- "type": "uint256"
132
- }
133
- ],
134
- "name": "RewardRequested",
135
- "type": "event"
136
- },
137
- {
138
- "anonymous": false,
139
- "inputs": [
140
- {
141
- "indexed": true,
142
- "internalType": "address",
143
- "name": "staker",
144
- "type": "address"
145
- },
146
- {
147
- "indexed": false,
148
- "internalType": "uint256",
149
- "name": "amount",
150
- "type": "uint256"
151
- }
152
- ],
153
- "name": "RewardWithdrawn",
154
- "type": "event"
155
- },
156
- {
157
- "anonymous": false,
158
- "inputs": [
159
- {
160
- "indexed": true,
161
- "internalType": "address",
162
- "name": "contractAddress",
163
- "type": "address"
164
- },
165
- {
166
- "indexed": false,
167
- "internalType": "uint256",
168
- "name": "amount",
169
- "type": "uint256"
170
- },
171
- {
172
- "indexed": false,
173
- "internalType": "uint256",
174
- "name": "contractStake",
175
- "type": "uint256"
176
- }
177
- ],
178
- "name": "Rewarded",
179
- "type": "event"
180
- },
181
- {
182
- "anonymous": false,
183
- "inputs": [
184
- {
185
- "indexed": true,
186
- "internalType": "address",
187
- "name": "contractAddress",
188
- "type": "address"
189
- },
190
- {
191
- "indexed": true,
192
- "internalType": "address",
193
- "name": "staker",
194
- "type": "address"
195
- },
196
- {
197
- "indexed": false,
198
- "internalType": "uint256",
199
- "name": "amount",
200
- "type": "uint256"
201
- }
202
- ],
203
- "name": "Staked",
204
- "type": "event"
205
- },
206
- {
207
- "anonymous": false,
208
- "inputs": [
209
- {
210
- "indexed": true,
211
- "internalType": "address",
212
- "name": "contractAddress",
213
- "type": "address"
214
- },
215
- {
216
- "indexed": true,
217
- "internalType": "address",
218
- "name": "staker",
219
- "type": "address"
220
- },
221
- {
222
- "indexed": false,
223
- "internalType": "uint256",
224
- "name": "amount",
225
- "type": "uint256"
226
- },
227
- {
228
- "indexed": false,
229
- "internalType": "uint256",
230
- "name": "unstakeAt",
231
- "type": "uint256"
232
- }
233
- ],
234
- "name": "UnstakeRequested",
235
- "type": "event"
236
- },
237
- {
238
- "anonymous": false,
239
- "inputs": [
240
- {
241
- "indexed": true,
242
- "internalType": "address",
243
- "name": "contractAddress",
244
- "type": "address"
245
- },
246
- {
247
- "indexed": true,
248
- "internalType": "address",
249
- "name": "staker",
250
- "type": "address"
251
- },
252
- {
253
- "indexed": false,
254
- "internalType": "uint256",
255
- "name": "amount",
256
- "type": "uint256"
257
- }
258
- ],
259
- "name": "Unstaked",
260
- "type": "event"
261
- },
262
- {
263
- "anonymous": false,
264
- "inputs": [
265
- {
266
- "indexed": true,
267
- "internalType": "address",
268
- "name": "staker",
269
- "type": "address"
270
- },
271
- {
272
- "indexed": false,
273
- "internalType": "uint256",
274
- "name": "amount",
275
- "type": "uint256"
276
- }
277
- ],
278
- "name": "Withdrawn",
279
- "type": "event"
280
- },
281
- {
282
- "inputs": [],
283
- "name": "MAX_EXPOSURE",
284
- "outputs": [
285
- {
286
- "internalType": "uint256",
287
- "name": "",
288
- "type": "uint256"
289
- }
290
- ],
291
- "stateMutability": "view",
292
- "type": "function"
293
- },
294
- {
295
- "inputs": [],
296
- "name": "MIN_STAKE",
297
- "outputs": [
298
- {
299
- "internalType": "uint256",
300
- "name": "",
301
- "type": "uint256"
302
- }
303
- ],
304
- "stateMutability": "view",
305
- "type": "function"
306
- },
307
- {
308
- "inputs": [],
309
- "name": "MIN_UNSTAKE",
310
- "outputs": [
311
- {
312
- "internalType": "uint256",
313
- "name": "",
314
- "type": "uint256"
315
- }
316
- ],
317
- "stateMutability": "view",
318
- "type": "function"
319
- },
320
- {
321
- "inputs": [],
322
- "name": "REWARD_ROUNDS_START",
323
- "outputs": [
324
- {
325
- "internalType": "uint256",
326
- "name": "",
327
- "type": "uint256"
328
- }
329
- ],
330
- "stateMutability": "view",
331
- "type": "function"
332
- },
333
- {
334
- "inputs": [],
335
- "name": "REWARD_ROUND_DURATION",
336
- "outputs": [
337
- {
338
- "internalType": "uint256",
339
- "name": "",
340
- "type": "uint256"
341
- }
342
- ],
343
- "stateMutability": "view",
344
- "type": "function"
345
- },
346
- {
347
- "inputs": [],
348
- "name": "UNSTAKE_LOCK_TIME",
349
- "outputs": [
350
- {
351
- "internalType": "uint256",
352
- "name": "",
353
- "type": "uint256"
354
- }
355
- ],
356
- "stateMutability": "view",
357
- "type": "function"
358
- },
359
- {
360
- "inputs": [
361
- {
362
- "internalType": "uint256",
363
- "name": "maxIterations",
364
- "type": "uint256"
365
- }
366
- ],
367
- "name": "_processPendingActions",
368
- "outputs": [
369
- {
370
- "internalType": "bool",
371
- "name": "finished",
372
- "type": "bool"
373
- },
374
- {
375
- "internalType": "uint256",
376
- "name": "iterationsLeft",
377
- "type": "uint256"
378
- }
379
- ],
380
- "stateMutability": "nonpayable",
381
- "type": "function"
382
- },
383
- {
384
- "inputs": [
385
- {
386
- "internalType": "address",
387
- "name": "",
388
- "type": "address"
389
- },
390
- {
391
- "internalType": "uint256",
392
- "name": "",
393
- "type": "uint256"
394
- }
395
- ],
396
- "name": "accumulateReward",
397
- "outputs": [],
398
- "stateMutability": "pure",
399
- "type": "function"
400
- },
401
- {
402
- "inputs": [
403
- {
404
- "internalType": "address",
405
- "name": "",
406
- "type": "address"
407
- }
408
- ],
409
- "name": "accumulatedRewards",
410
- "outputs": [
411
- {
412
- "internalType": "uint256",
413
- "name": "amount",
414
- "type": "uint256"
415
- },
416
- {
417
- "internalType": "uint256",
418
- "name": "lastDistributionRound",
419
- "type": "uint256"
420
- }
421
- ],
422
- "stateMutability": "view",
423
- "type": "function"
424
- },
425
- {
426
- "inputs": [],
427
- "name": "burn",
428
- "outputs": [
429
- {
430
- "internalType": "uint256",
431
- "name": "amount",
432
- "type": "uint256"
433
- },
434
- {
435
- "internalType": "uint256",
436
- "name": "burnedAt",
437
- "type": "uint256"
438
- },
439
- {
440
- "internalType": "address",
441
- "name": "contractAddress",
442
- "type": "address"
443
- }
444
- ],
445
- "stateMutability": "view",
446
- "type": "function"
447
- },
448
- {
449
- "inputs": [],
450
- "name": "changeDependentContractAddress",
451
- "outputs": [],
452
- "stateMutability": "nonpayable",
453
- "type": "function"
454
- },
455
- {
456
- "inputs": [
457
- {
458
- "internalType": "address",
459
- "name": "masterAddress",
460
- "type": "address"
461
- }
462
- ],
463
- "name": "changeMasterAddress",
464
- "outputs": [],
465
- "stateMutability": "nonpayable",
466
- "type": "function"
467
- },
468
- {
469
- "inputs": [],
470
- "name": "contractBurned",
471
- "outputs": [
472
- {
473
- "internalType": "uint256",
474
- "name": "",
475
- "type": "uint256"
476
- }
477
- ],
478
- "stateMutability": "view",
479
- "type": "function"
480
- },
481
- {
482
- "inputs": [],
483
- "name": "contractRewarded",
484
- "outputs": [
485
- {
486
- "internalType": "uint256",
487
- "name": "",
488
- "type": "uint256"
489
- }
490
- ],
491
- "stateMutability": "view",
492
- "type": "function"
493
- },
494
- {
495
- "inputs": [
496
- {
497
- "internalType": "address",
498
- "name": "contractAddress",
499
- "type": "address"
500
- }
501
- ],
502
- "name": "contractStake",
503
- "outputs": [
504
- {
505
- "internalType": "uint256",
506
- "name": "",
507
- "type": "uint256"
508
- }
509
- ],
510
- "stateMutability": "view",
511
- "type": "function"
512
- },
513
- {
514
- "inputs": [],
515
- "name": "contractStaked",
516
- "outputs": [
517
- {
518
- "internalType": "uint256",
519
- "name": "",
520
- "type": "uint256"
521
- }
522
- ],
523
- "stateMutability": "view",
524
- "type": "function"
525
- },
526
- {
527
- "inputs": [
528
- {
529
- "internalType": "address",
530
- "name": "contractAddress",
531
- "type": "address"
532
- },
533
- {
534
- "internalType": "uint256",
535
- "name": "stakerIndex",
536
- "type": "uint256"
537
- }
538
- ],
539
- "name": "contractStakerAtIndex",
540
- "outputs": [
541
- {
542
- "internalType": "address",
543
- "name": "",
544
- "type": "address"
545
- }
546
- ],
547
- "stateMutability": "view",
548
- "type": "function"
549
- },
550
- {
551
- "inputs": [
552
- {
553
- "internalType": "address",
554
- "name": "contractAddress",
555
- "type": "address"
556
- }
557
- ],
558
- "name": "contractStakerCount",
559
- "outputs": [
560
- {
561
- "internalType": "uint256",
562
- "name": "",
563
- "type": "uint256"
564
- }
565
- ],
566
- "stateMutability": "view",
567
- "type": "function"
568
- },
569
- {
570
- "inputs": [
571
- {
572
- "internalType": "address",
573
- "name": "",
574
- "type": "address"
575
- },
576
- {
577
- "internalType": "uint256",
578
- "name": "",
579
- "type": "uint256"
580
- }
581
- ],
582
- "name": "contractStakers",
583
- "outputs": [
584
- {
585
- "internalType": "address",
586
- "name": "",
587
- "type": "address"
588
- }
589
- ],
590
- "stateMutability": "view",
591
- "type": "function"
592
- },
593
- {
594
- "inputs": [
595
- {
596
- "internalType": "address",
597
- "name": "contractAddress",
598
- "type": "address"
599
- }
600
- ],
601
- "name": "contractStakersArray",
602
- "outputs": [
603
- {
604
- "internalType": "address[]",
605
- "name": "_stakers",
606
- "type": "address[]"
607
- }
608
- ],
609
- "stateMutability": "view",
610
- "type": "function"
611
- },
612
- {
613
- "inputs": [],
614
- "name": "cover",
615
- "outputs": [
616
- {
617
- "internalType": "contract ICover",
618
- "name": "",
619
- "type": "address"
620
- }
621
- ],
622
- "stateMutability": "view",
623
- "type": "function"
624
- },
625
- {
626
- "inputs": [
627
- {
628
- "internalType": "uint256",
629
- "name": "",
630
- "type": "uint256"
631
- },
632
- {
633
- "internalType": "address[]",
634
- "name": "",
635
- "type": "address[]"
636
- },
637
- {
638
- "internalType": "uint256[]",
639
- "name": "",
640
- "type": "uint256[]"
641
- }
642
- ],
643
- "name": "depositAndStake",
644
- "outputs": [],
645
- "stateMutability": "pure",
646
- "type": "function"
647
- },
648
- {
649
- "inputs": [],
650
- "name": "firstReward",
651
- "outputs": [
652
- {
653
- "internalType": "uint256",
654
- "name": "",
655
- "type": "uint256"
656
- }
657
- ],
658
- "stateMutability": "view",
659
- "type": "function"
660
- },
661
- {
662
- "inputs": [],
663
- "name": "getCurrentRewardsRound",
664
- "outputs": [
665
- {
666
- "internalType": "uint256",
667
- "name": "",
668
- "type": "uint256"
669
- }
670
- ],
671
- "stateMutability": "view",
672
- "type": "function"
673
- },
674
- {
675
- "inputs": [],
676
- "name": "hasPendingActions",
677
- "outputs": [
678
- {
679
- "internalType": "bool",
680
- "name": "",
681
- "type": "bool"
682
- }
683
- ],
684
- "stateMutability": "view",
685
- "type": "function"
686
- },
687
- {
688
- "inputs": [],
689
- "name": "hasPendingBurns",
690
- "outputs": [
691
- {
692
- "internalType": "bool",
693
- "name": "",
694
- "type": "bool"
695
- }
696
- ],
697
- "stateMutability": "view",
698
- "type": "function"
699
- },
700
- {
701
- "inputs": [],
702
- "name": "hasPendingRewards",
703
- "outputs": [
704
- {
705
- "internalType": "bool",
706
- "name": "",
707
- "type": "bool"
708
- }
709
- ],
710
- "stateMutability": "view",
711
- "type": "function"
712
- },
713
- {
714
- "inputs": [],
715
- "name": "hasPendingUnstakeRequests",
716
- "outputs": [
717
- {
718
- "internalType": "bool",
719
- "name": "",
720
- "type": "bool"
721
- }
722
- ],
723
- "stateMutability": "view",
724
- "type": "function"
725
- },
726
- {
727
- "inputs": [
728
- {
729
- "internalType": "uint256",
730
- "name": "",
731
- "type": "uint256"
732
- }
733
- ],
734
- "name": "internalContracts",
735
- "outputs": [
736
- {
737
- "internalType": "address payable",
738
- "name": "",
739
- "type": "address"
740
- }
741
- ],
742
- "stateMutability": "view",
743
- "type": "function"
744
- },
745
- {
746
- "inputs": [],
747
- "name": "isContractStakeCalculated",
748
- "outputs": [
749
- {
750
- "internalType": "bool",
751
- "name": "",
752
- "type": "bool"
753
- }
754
- ],
755
- "stateMutability": "view",
756
- "type": "function"
757
- },
758
- {
759
- "inputs": [],
760
- "name": "lastRewardId",
761
- "outputs": [
762
- {
763
- "internalType": "uint256",
764
- "name": "",
765
- "type": "uint256"
766
- }
767
- ],
768
- "stateMutability": "view",
769
- "type": "function"
770
- },
771
- {
772
- "inputs": [],
773
- "name": "lastUnstakeRequestId",
774
- "outputs": [
775
- {
776
- "internalType": "uint256",
777
- "name": "",
778
- "type": "uint256"
779
- }
780
- ],
781
- "stateMutability": "view",
782
- "type": "function"
783
- },
784
- {
785
- "inputs": [],
786
- "name": "master",
787
- "outputs": [
788
- {
789
- "internalType": "contract INXMMaster",
790
- "name": "",
791
- "type": "address"
792
- }
793
- ],
794
- "stateMutability": "view",
795
- "type": "function"
796
- },
797
- {
798
- "inputs": [
799
- {
800
- "internalType": "uint256",
801
- "name": "maxIterations",
802
- "type": "uint256"
803
- }
804
- ],
805
- "name": "processPendingActions",
806
- "outputs": [
807
- {
808
- "internalType": "bool",
809
- "name": "finished",
810
- "type": "bool"
811
- }
812
- ],
813
- "stateMutability": "nonpayable",
814
- "type": "function"
815
- },
816
- {
817
- "inputs": [
818
- {
819
- "internalType": "uint256",
820
- "name": "maxIterations",
821
- "type": "uint256"
822
- }
823
- ],
824
- "name": "processPendingActionsReturnLeft",
825
- "outputs": [
826
- {
827
- "internalType": "bool",
828
- "name": "finished",
829
- "type": "bool"
830
- },
831
- {
832
- "internalType": "uint256",
833
- "name": "iterationsLeft",
834
- "type": "uint256"
835
- }
836
- ],
837
- "stateMutability": "nonpayable",
838
- "type": "function"
839
- },
840
- {
841
- "inputs": [],
842
- "name": "processedToStakerIndex",
843
- "outputs": [
844
- {
845
- "internalType": "uint256",
846
- "name": "",
847
- "type": "uint256"
848
- }
849
- ],
850
- "stateMutability": "view",
851
- "type": "function"
852
- },
853
- {
854
- "inputs": [
855
- {
856
- "internalType": "address",
857
- "name": "",
858
- "type": "address"
859
- },
860
- {
861
- "internalType": "uint256",
862
- "name": "",
863
- "type": "uint256"
864
- }
865
- ],
866
- "name": "pushBurn",
867
- "outputs": [],
868
- "stateMutability": "pure",
869
- "type": "function"
870
- },
871
- {
872
- "inputs": [
873
- {
874
- "internalType": "address[]",
875
- "name": "contractAddresses",
876
- "type": "address[]"
877
- }
878
- ],
879
- "name": "pushRewards",
880
- "outputs": [],
881
- "stateMutability": "nonpayable",
882
- "type": "function"
883
- },
884
- {
885
- "inputs": [
886
- {
887
- "internalType": "address[]",
888
- "name": "",
889
- "type": "address[]"
890
- },
891
- {
892
- "internalType": "uint256[]",
893
- "name": "",
894
- "type": "uint256[]"
895
- },
896
- {
897
- "internalType": "uint256",
898
- "name": "",
899
- "type": "uint256"
900
- }
901
- ],
902
- "name": "requestUnstake",
903
- "outputs": [],
904
- "stateMutability": "pure",
905
- "type": "function"
906
- },
907
- {
908
- "inputs": [
909
- {
910
- "internalType": "uint256",
911
- "name": "",
912
- "type": "uint256"
913
- }
914
- ],
915
- "name": "rewards",
916
- "outputs": [
917
- {
918
- "internalType": "uint256",
919
- "name": "amount",
920
- "type": "uint256"
921
- },
922
- {
923
- "internalType": "uint256",
924
- "name": "rewardedAt",
925
- "type": "uint256"
926
- },
927
- {
928
- "internalType": "address",
929
- "name": "contractAddress",
930
- "type": "address"
931
- }
932
- ],
933
- "stateMutability": "view",
934
- "type": "function"
935
- },
936
- {
937
- "inputs": [
938
- {
939
- "internalType": "address",
940
- "name": "staker",
941
- "type": "address"
942
- },
943
- {
944
- "internalType": "uint256",
945
- "name": "contractIndex",
946
- "type": "uint256"
947
- }
948
- ],
949
- "name": "stakerContractAtIndex",
950
- "outputs": [
951
- {
952
- "internalType": "address",
953
- "name": "",
954
- "type": "address"
955
- }
956
- ],
957
- "stateMutability": "view",
958
- "type": "function"
959
- },
960
- {
961
- "inputs": [
962
- {
963
- "internalType": "address",
964
- "name": "staker",
965
- "type": "address"
966
- }
967
- ],
968
- "name": "stakerContractCount",
969
- "outputs": [
970
- {
971
- "internalType": "uint256",
972
- "name": "",
973
- "type": "uint256"
974
- }
975
- ],
976
- "stateMutability": "view",
977
- "type": "function"
978
- },
979
- {
980
- "inputs": [
981
- {
982
- "internalType": "address",
983
- "name": "staker",
984
- "type": "address"
985
- },
986
- {
987
- "internalType": "address",
988
- "name": "contractAddress",
989
- "type": "address"
990
- }
991
- ],
992
- "name": "stakerContractPendingUnstakeTotal",
993
- "outputs": [
994
- {
995
- "internalType": "uint256",
996
- "name": "",
997
- "type": "uint256"
998
- }
999
- ],
1000
- "stateMutability": "view",
1001
- "type": "function"
1002
- },
1003
- {
1004
- "inputs": [
1005
- {
1006
- "internalType": "address",
1007
- "name": "staker",
1008
- "type": "address"
1009
- },
1010
- {
1011
- "internalType": "address",
1012
- "name": "contractAddress",
1013
- "type": "address"
1014
- }
1015
- ],
1016
- "name": "stakerContractStake",
1017
- "outputs": [
1018
- {
1019
- "internalType": "uint256",
1020
- "name": "",
1021
- "type": "uint256"
1022
- }
1023
- ],
1024
- "stateMutability": "view",
1025
- "type": "function"
1026
- },
1027
- {
1028
- "inputs": [
1029
- {
1030
- "internalType": "address",
1031
- "name": "staker",
1032
- "type": "address"
1033
- }
1034
- ],
1035
- "name": "stakerContractsArray",
1036
- "outputs": [
1037
- {
1038
- "internalType": "address[]",
1039
- "name": "",
1040
- "type": "address[]"
1041
- }
1042
- ],
1043
- "stateMutability": "view",
1044
- "type": "function"
1045
- },
1046
- {
1047
- "inputs": [
1048
- {
1049
- "internalType": "address",
1050
- "name": "staker",
1051
- "type": "address"
1052
- }
1053
- ],
1054
- "name": "stakerDeposit",
1055
- "outputs": [
1056
- {
1057
- "internalType": "uint256",
1058
- "name": "",
1059
- "type": "uint256"
1060
- }
1061
- ],
1062
- "stateMutability": "view",
1063
- "type": "function"
1064
- },
1065
- {
1066
- "inputs": [
1067
- {
1068
- "internalType": "address",
1069
- "name": "stakerAddress",
1070
- "type": "address"
1071
- }
1072
- ],
1073
- "name": "stakerMaxWithdrawable",
1074
- "outputs": [
1075
- {
1076
- "internalType": "uint256",
1077
- "name": "",
1078
- "type": "uint256"
1079
- }
1080
- ],
1081
- "stateMutability": "view",
1082
- "type": "function"
1083
- },
1084
- {
1085
- "inputs": [
1086
- {
1087
- "internalType": "address",
1088
- "name": "staker",
1089
- "type": "address"
1090
- }
1091
- ],
1092
- "name": "stakerReward",
1093
- "outputs": [
1094
- {
1095
- "internalType": "uint256",
1096
- "name": "",
1097
- "type": "uint256"
1098
- }
1099
- ],
1100
- "stateMutability": "view",
1101
- "type": "function"
1102
- },
1103
- {
1104
- "inputs": [
1105
- {
1106
- "internalType": "address",
1107
- "name": "",
1108
- "type": "address"
1109
- }
1110
- ],
1111
- "name": "stakers",
1112
- "outputs": [
1113
- {
1114
- "internalType": "uint256",
1115
- "name": "deposit",
1116
- "type": "uint256"
1117
- },
1118
- {
1119
- "internalType": "uint256",
1120
- "name": "reward",
1121
- "type": "uint256"
1122
- }
1123
- ],
1124
- "stateMutability": "view",
1125
- "type": "function"
1126
- },
1127
- {
1128
- "inputs": [],
1129
- "name": "stakingNFT",
1130
- "outputs": [
1131
- {
1132
- "internalType": "contract IStakingNFT",
1133
- "name": "",
1134
- "type": "address"
1135
- }
1136
- ],
1137
- "stateMutability": "view",
1138
- "type": "function"
1139
- },
1140
- {
1141
- "inputs": [
1142
- {
1143
- "internalType": "uint256",
1144
- "name": "unstakeRequestId",
1145
- "type": "uint256"
1146
- }
1147
- ],
1148
- "name": "unstakeRequestAtIndex",
1149
- "outputs": [
1150
- {
1151
- "internalType": "uint256",
1152
- "name": "amount",
1153
- "type": "uint256"
1154
- },
1155
- {
1156
- "internalType": "uint256",
1157
- "name": "unstakeAt",
1158
- "type": "uint256"
1159
- },
1160
- {
1161
- "internalType": "address",
1162
- "name": "contractAddress",
1163
- "type": "address"
1164
- },
1165
- {
1166
- "internalType": "address",
1167
- "name": "stakerAddress",
1168
- "type": "address"
1169
- },
1170
- {
1171
- "internalType": "uint256",
1172
- "name": "next",
1173
- "type": "uint256"
1174
- }
1175
- ],
1176
- "stateMutability": "view",
1177
- "type": "function"
1178
- },
1179
- {
1180
- "inputs": [
1181
- {
1182
- "internalType": "uint256",
1183
- "name": "",
1184
- "type": "uint256"
1185
- }
1186
- ],
1187
- "name": "unstakeRequests",
1188
- "outputs": [
1189
- {
1190
- "internalType": "uint256",
1191
- "name": "amount",
1192
- "type": "uint256"
1193
- },
1194
- {
1195
- "internalType": "uint256",
1196
- "name": "unstakeAt",
1197
- "type": "uint256"
1198
- },
1199
- {
1200
- "internalType": "address",
1201
- "name": "contractAddress",
1202
- "type": "address"
1203
- },
1204
- {
1205
- "internalType": "address",
1206
- "name": "stakerAddress",
1207
- "type": "address"
1208
- },
1209
- {
1210
- "internalType": "uint256",
1211
- "name": "next",
1212
- "type": "uint256"
1213
- }
1214
- ],
1215
- "stateMutability": "view",
1216
- "type": "function"
1217
- },
1218
- {
1219
- "inputs": [
1220
- {
1221
- "internalType": "bytes8",
1222
- "name": "code",
1223
- "type": "bytes8"
1224
- },
1225
- {
1226
- "internalType": "uint256",
1227
- "name": "value",
1228
- "type": "uint256"
1229
- }
1230
- ],
1231
- "name": "updateUintParameters",
1232
- "outputs": [],
1233
- "stateMutability": "nonpayable",
1234
- "type": "function"
1235
- },
1236
- {
1237
- "inputs": [
1238
- {
1239
- "internalType": "uint256",
1240
- "name": "",
1241
- "type": "uint256"
1242
- }
1243
- ],
1244
- "name": "withdraw",
1245
- "outputs": [],
1246
- "stateMutability": "nonpayable",
1247
- "type": "function"
1248
- },
1249
- {
1250
- "inputs": [
1251
- {
1252
- "internalType": "address",
1253
- "name": "user",
1254
- "type": "address"
1255
- }
1256
- ],
1257
- "name": "withdrawForUser",
1258
- "outputs": [],
1259
- "stateMutability": "nonpayable",
1260
- "type": "function"
1261
- },
1262
- {
1263
- "inputs": [
1264
- {
1265
- "internalType": "address",
1266
- "name": "stakerAddress",
1267
- "type": "address"
1268
- }
1269
- ],
1270
- "name": "withdrawReward",
1271
- "outputs": [],
1272
- "stateMutability": "nonpayable",
1273
- "type": "function"
1274
- }
1275
- ]