@merkl/contracts 1.9.3 → 1.10.1

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