@merkl/contracts 0.1.80 → 0.1.82

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 (38) hide show
  1. package/dist/src/AmbientMicroPaths.d.ts +398 -0
  2. package/dist/src/AmbientMicroPaths.js +1 -0
  3. package/dist/src/AttestationIndexer.d.ts +382 -0
  4. package/dist/src/AttestationIndexer.js +1 -0
  5. package/dist/src/CrossChainLayerERC20.d.ts +248 -0
  6. package/dist/src/CrossChainLayerERC20.js +1 -0
  7. package/dist/src/KilnVault.d.ts +1341 -0
  8. package/dist/src/KilnVault.js +1 -0
  9. package/dist/src/StabullPoolFactory.d.ts +252 -0
  10. package/dist/src/StabullPoolFactory.js +1 -0
  11. package/dist/src/StabullStakingFactory.d.ts +713 -0
  12. package/dist/src/StabullStakingFactory.js +1 -0
  13. package/dist/src/SummerFinanceFactory.d.ts +65 -0
  14. package/dist/src/SummerFinanceFactory.js +1 -0
  15. package/dist/src/SummerFinanceVault.d.ts +552 -0
  16. package/dist/src/SummerFinanceVault.js +1 -0
  17. package/dist/src/factories/AmbientMicroPaths__factory.d.ts +476 -0
  18. package/dist/src/factories/AmbientMicroPaths__factory.js +612 -0
  19. package/dist/src/factories/AttestationIndexer__factory.d.ts +428 -0
  20. package/dist/src/factories/AttestationIndexer__factory.js +558 -0
  21. package/dist/src/factories/CrossChainLayerERC20__factory.d.ts +349 -0
  22. package/dist/src/factories/CrossChainLayerERC20__factory.js +461 -0
  23. package/dist/src/factories/KilnVault__factory.d.ts +1855 -0
  24. package/dist/src/factories/KilnVault__factory.js +2423 -0
  25. package/dist/src/factories/StabullPoolFactory__factory.d.ts +282 -0
  26. package/dist/src/factories/StabullPoolFactory__factory.js +372 -0
  27. package/dist/src/factories/StabullStakingFactory__factory.d.ts +693 -0
  28. package/dist/src/factories/StabullStakingFactory__factory.js +897 -0
  29. package/dist/src/factories/SummerFinanceFactory__factory.d.ts +45 -0
  30. package/dist/src/factories/SummerFinanceFactory__factory.js +63 -0
  31. package/dist/src/factories/SummerFinanceVault__factory.d.ts +828 -0
  32. package/dist/src/factories/SummerFinanceVault__factory.js +1089 -0
  33. package/dist/src/factories/index.d.ts +8 -1
  34. package/dist/src/factories/index.js +8 -1
  35. package/dist/src/index.d.ts +16 -0
  36. package/dist/src/index.js +16 -0
  37. package/dist/tsconfig.tsbuildinfo +1 -1
  38. package/package.json +1 -1
@@ -0,0 +1,1089 @@
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: "_accessManager",
11
+ type: "address",
12
+ },
13
+ {
14
+ internalType: "address",
15
+ name: "_fleetCommander",
16
+ type: "address",
17
+ },
18
+ ],
19
+ stateMutability: "nonpayable",
20
+ type: "constructor",
21
+ },
22
+ {
23
+ inputs: [
24
+ {
25
+ internalType: "address",
26
+ name: "caller",
27
+ type: "address",
28
+ },
29
+ ],
30
+ name: "CallerIsNotAdmin",
31
+ type: "error",
32
+ },
33
+ {
34
+ inputs: [
35
+ {
36
+ internalType: "address",
37
+ name: "caller",
38
+ type: "address",
39
+ },
40
+ ],
41
+ name: "CallerIsNotAuthorizedToBoard",
42
+ type: "error",
43
+ },
44
+ {
45
+ inputs: [
46
+ {
47
+ internalType: "address",
48
+ name: "caller",
49
+ type: "address",
50
+ },
51
+ ],
52
+ name: "CallerIsNotCommander",
53
+ type: "error",
54
+ },
55
+ {
56
+ inputs: [
57
+ {
58
+ internalType: "address",
59
+ name: "caller",
60
+ type: "address",
61
+ },
62
+ {
63
+ internalType: "bytes32",
64
+ name: "role",
65
+ type: "bytes32",
66
+ },
67
+ ],
68
+ name: "CallerIsNotContractSpecificRole",
69
+ type: "error",
70
+ },
71
+ {
72
+ inputs: [
73
+ {
74
+ internalType: "address",
75
+ name: "caller",
76
+ type: "address",
77
+ },
78
+ ],
79
+ name: "CallerIsNotCurator",
80
+ type: "error",
81
+ },
82
+ {
83
+ inputs: [
84
+ {
85
+ internalType: "address",
86
+ name: "caller",
87
+ type: "address",
88
+ },
89
+ ],
90
+ name: "CallerIsNotDecayController",
91
+ type: "error",
92
+ },
93
+ {
94
+ inputs: [
95
+ {
96
+ internalType: "address",
97
+ name: "caller",
98
+ type: "address",
99
+ },
100
+ ],
101
+ name: "CallerIsNotFoundation",
102
+ type: "error",
103
+ },
104
+ {
105
+ inputs: [
106
+ {
107
+ internalType: "address",
108
+ name: "caller",
109
+ type: "address",
110
+ },
111
+ ],
112
+ name: "CallerIsNotGovernor",
113
+ type: "error",
114
+ },
115
+ {
116
+ inputs: [
117
+ {
118
+ internalType: "address",
119
+ name: "caller",
120
+ type: "address",
121
+ },
122
+ ],
123
+ name: "CallerIsNotGuardian",
124
+ type: "error",
125
+ },
126
+ {
127
+ inputs: [
128
+ {
129
+ internalType: "address",
130
+ name: "caller",
131
+ type: "address",
132
+ },
133
+ ],
134
+ name: "CallerIsNotGuardianOrGovernor",
135
+ type: "error",
136
+ },
137
+ {
138
+ inputs: [
139
+ {
140
+ internalType: "address",
141
+ name: "caller",
142
+ type: "address",
143
+ },
144
+ ],
145
+ name: "CallerIsNotKeeper",
146
+ type: "error",
147
+ },
148
+ {
149
+ inputs: [
150
+ {
151
+ internalType: "address",
152
+ name: "caller",
153
+ type: "address",
154
+ },
155
+ ],
156
+ name: "CallerIsNotRaft",
157
+ type: "error",
158
+ },
159
+ {
160
+ inputs: [
161
+ {
162
+ internalType: "address",
163
+ name: "caller",
164
+ type: "address",
165
+ },
166
+ ],
167
+ name: "CallerIsNotRaftOrCommander",
168
+ type: "error",
169
+ },
170
+ {
171
+ inputs: [
172
+ {
173
+ internalType: "address",
174
+ name: "caller",
175
+ type: "address",
176
+ },
177
+ ],
178
+ name: "CallerIsNotSuperKeeper",
179
+ type: "error",
180
+ },
181
+ {
182
+ inputs: [],
183
+ name: "CallerNotAdmiralsQuarters",
184
+ type: "error",
185
+ },
186
+ {
187
+ inputs: [],
188
+ name: "CannotChangeRewardsDuration",
189
+ type: "error",
190
+ },
191
+ {
192
+ inputs: [],
193
+ name: "CannotStakeToZeroAddress",
194
+ type: "error",
195
+ },
196
+ {
197
+ inputs: [],
198
+ name: "CannotStakeZero",
199
+ type: "error",
200
+ },
201
+ {
202
+ inputs: [],
203
+ name: "CannotUnstakeZero",
204
+ type: "error",
205
+ },
206
+ {
207
+ inputs: [],
208
+ name: "CannotWithdrawZero",
209
+ type: "error",
210
+ },
211
+ {
212
+ inputs: [],
213
+ name: "CantAddStakingTokenAsReward",
214
+ type: "error",
215
+ },
216
+ {
217
+ inputs: [
218
+ {
219
+ internalType: "address",
220
+ name: "caller",
221
+ type: "address",
222
+ },
223
+ ],
224
+ name: "DirectGrantIsDisabled",
225
+ type: "error",
226
+ },
227
+ {
228
+ inputs: [
229
+ {
230
+ internalType: "address",
231
+ name: "caller",
232
+ type: "address",
233
+ },
234
+ ],
235
+ name: "DirectRevokeIsDisabled",
236
+ type: "error",
237
+ },
238
+ {
239
+ inputs: [],
240
+ name: "IndexOutOfBounds",
241
+ type: "error",
242
+ },
243
+ {
244
+ inputs: [
245
+ {
246
+ internalType: "address",
247
+ name: "invalidAddress",
248
+ type: "address",
249
+ },
250
+ ],
251
+ name: "InvalidAccessManagerAddress",
252
+ type: "error",
253
+ },
254
+ {
255
+ inputs: [
256
+ {
257
+ internalType: "address",
258
+ name: "rewardToken",
259
+ type: "address",
260
+ },
261
+ {
262
+ internalType: "uint256",
263
+ name: "rewardsDuration",
264
+ type: "uint256",
265
+ },
266
+ ],
267
+ name: "InvalidRewardAmount",
268
+ type: "error",
269
+ },
270
+ {
271
+ inputs: [],
272
+ name: "InvalidRewardsDuration",
273
+ type: "error",
274
+ },
275
+ {
276
+ inputs: [],
277
+ name: "InvalidUnstakeRecipient",
278
+ type: "error",
279
+ },
280
+ {
281
+ inputs: [],
282
+ name: "NoRewardTokens",
283
+ type: "error",
284
+ },
285
+ {
286
+ inputs: [],
287
+ name: "ProvidedRewardTooHigh",
288
+ type: "error",
289
+ },
290
+ {
291
+ inputs: [],
292
+ name: "ReentrancyGuardReentrantCall",
293
+ type: "error",
294
+ },
295
+ {
296
+ inputs: [],
297
+ name: "RewardPeriodNotComplete",
298
+ type: "error",
299
+ },
300
+ {
301
+ inputs: [],
302
+ name: "RewardTokenAlreadyExists",
303
+ type: "error",
304
+ },
305
+ {
306
+ inputs: [],
307
+ name: "RewardTokenDoesNotExist",
308
+ type: "error",
309
+ },
310
+ {
311
+ inputs: [],
312
+ name: "RewardTokenNotInitialized",
313
+ type: "error",
314
+ },
315
+ {
316
+ inputs: [
317
+ {
318
+ internalType: "uint256",
319
+ name: "balance",
320
+ type: "uint256",
321
+ },
322
+ ],
323
+ name: "RewardTokenStillHasBalance",
324
+ type: "error",
325
+ },
326
+ {
327
+ inputs: [],
328
+ name: "RewardsDurationCannotBeZero",
329
+ type: "error",
330
+ },
331
+ {
332
+ inputs: [],
333
+ name: "RewardsDurationTooLong",
334
+ type: "error",
335
+ },
336
+ {
337
+ inputs: [
338
+ {
339
+ internalType: "address",
340
+ name: "token",
341
+ type: "address",
342
+ },
343
+ ],
344
+ name: "SafeERC20FailedOperation",
345
+ type: "error",
346
+ },
347
+ {
348
+ inputs: [],
349
+ name: "StakingTokenNotInitialized",
350
+ type: "error",
351
+ },
352
+ {
353
+ anonymous: false,
354
+ inputs: [
355
+ {
356
+ indexed: true,
357
+ internalType: "address",
358
+ name: "rewardToken",
359
+ type: "address",
360
+ },
361
+ {
362
+ indexed: false,
363
+ internalType: "uint256",
364
+ name: "reward",
365
+ type: "uint256",
366
+ },
367
+ ],
368
+ name: "RewardAdded",
369
+ type: "event",
370
+ },
371
+ {
372
+ anonymous: false,
373
+ inputs: [
374
+ {
375
+ indexed: true,
376
+ internalType: "address",
377
+ name: "user",
378
+ type: "address",
379
+ },
380
+ {
381
+ indexed: true,
382
+ internalType: "address",
383
+ name: "rewardToken",
384
+ type: "address",
385
+ },
386
+ {
387
+ indexed: false,
388
+ internalType: "uint256",
389
+ name: "reward",
390
+ type: "uint256",
391
+ },
392
+ ],
393
+ name: "RewardPaid",
394
+ type: "event",
395
+ },
396
+ {
397
+ anonymous: false,
398
+ inputs: [
399
+ {
400
+ indexed: false,
401
+ internalType: "address",
402
+ name: "rewardToken",
403
+ type: "address",
404
+ },
405
+ {
406
+ indexed: false,
407
+ internalType: "uint256",
408
+ name: "rewardsDuration",
409
+ type: "uint256",
410
+ },
411
+ ],
412
+ name: "RewardTokenAdded",
413
+ type: "event",
414
+ },
415
+ {
416
+ anonymous: false,
417
+ inputs: [
418
+ {
419
+ indexed: false,
420
+ internalType: "address",
421
+ name: "rewardToken",
422
+ type: "address",
423
+ },
424
+ ],
425
+ name: "RewardTokenRemoved",
426
+ type: "event",
427
+ },
428
+ {
429
+ anonymous: false,
430
+ inputs: [
431
+ {
432
+ indexed: true,
433
+ internalType: "address",
434
+ name: "rewardToken",
435
+ type: "address",
436
+ },
437
+ {
438
+ indexed: false,
439
+ internalType: "uint256",
440
+ name: "newDuration",
441
+ type: "uint256",
442
+ },
443
+ ],
444
+ name: "RewardsDurationUpdated",
445
+ type: "event",
446
+ },
447
+ {
448
+ anonymous: false,
449
+ inputs: [
450
+ {
451
+ indexed: true,
452
+ internalType: "address",
453
+ name: "staker",
454
+ type: "address",
455
+ },
456
+ {
457
+ indexed: true,
458
+ internalType: "address",
459
+ name: "receiver",
460
+ type: "address",
461
+ },
462
+ {
463
+ indexed: false,
464
+ internalType: "uint256",
465
+ name: "amount",
466
+ type: "uint256",
467
+ },
468
+ ],
469
+ name: "Staked",
470
+ type: "event",
471
+ },
472
+ {
473
+ anonymous: false,
474
+ inputs: [
475
+ {
476
+ indexed: true,
477
+ internalType: "address",
478
+ name: "staker",
479
+ type: "address",
480
+ },
481
+ {
482
+ indexed: true,
483
+ internalType: "address",
484
+ name: "receiver",
485
+ type: "address",
486
+ },
487
+ {
488
+ indexed: false,
489
+ internalType: "uint256",
490
+ name: "amount",
491
+ type: "uint256",
492
+ },
493
+ ],
494
+ name: "Unstaked",
495
+ type: "event",
496
+ },
497
+ {
498
+ anonymous: false,
499
+ inputs: [
500
+ {
501
+ indexed: true,
502
+ internalType: "address",
503
+ name: "user",
504
+ type: "address",
505
+ },
506
+ {
507
+ indexed: false,
508
+ internalType: "uint256",
509
+ name: "amount",
510
+ type: "uint256",
511
+ },
512
+ ],
513
+ name: "Withdrawn",
514
+ type: "event",
515
+ },
516
+ {
517
+ inputs: [],
518
+ name: "ADMIRALS_QUARTERS_ROLE",
519
+ outputs: [
520
+ {
521
+ internalType: "bytes32",
522
+ name: "",
523
+ type: "bytes32",
524
+ },
525
+ ],
526
+ stateMutability: "view",
527
+ type: "function",
528
+ },
529
+ {
530
+ inputs: [],
531
+ name: "DECAY_CONTROLLER_ROLE",
532
+ outputs: [
533
+ {
534
+ internalType: "bytes32",
535
+ name: "",
536
+ type: "bytes32",
537
+ },
538
+ ],
539
+ stateMutability: "view",
540
+ type: "function",
541
+ },
542
+ {
543
+ inputs: [],
544
+ name: "GOVERNOR_ROLE",
545
+ outputs: [
546
+ {
547
+ internalType: "bytes32",
548
+ name: "",
549
+ type: "bytes32",
550
+ },
551
+ ],
552
+ stateMutability: "view",
553
+ type: "function",
554
+ },
555
+ {
556
+ inputs: [],
557
+ name: "GUARDIAN_ROLE",
558
+ outputs: [
559
+ {
560
+ internalType: "bytes32",
561
+ name: "",
562
+ type: "bytes32",
563
+ },
564
+ ],
565
+ stateMutability: "view",
566
+ type: "function",
567
+ },
568
+ {
569
+ inputs: [],
570
+ name: "SUPER_KEEPER_ROLE",
571
+ outputs: [
572
+ {
573
+ internalType: "bytes32",
574
+ name: "",
575
+ type: "bytes32",
576
+ },
577
+ ],
578
+ stateMutability: "view",
579
+ type: "function",
580
+ },
581
+ {
582
+ inputs: [
583
+ {
584
+ internalType: "address",
585
+ name: "account",
586
+ type: "address",
587
+ },
588
+ ],
589
+ name: "balanceOf",
590
+ outputs: [
591
+ {
592
+ internalType: "uint256",
593
+ name: "",
594
+ type: "uint256",
595
+ },
596
+ ],
597
+ stateMutability: "view",
598
+ type: "function",
599
+ },
600
+ {
601
+ inputs: [
602
+ {
603
+ internalType: "address",
604
+ name: "account",
605
+ type: "address",
606
+ },
607
+ {
608
+ internalType: "address",
609
+ name: "rewardToken",
610
+ type: "address",
611
+ },
612
+ ],
613
+ name: "earned",
614
+ outputs: [
615
+ {
616
+ internalType: "uint256",
617
+ name: "",
618
+ type: "uint256",
619
+ },
620
+ ],
621
+ stateMutability: "view",
622
+ type: "function",
623
+ },
624
+ {
625
+ inputs: [],
626
+ name: "exit",
627
+ outputs: [],
628
+ stateMutability: "nonpayable",
629
+ type: "function",
630
+ },
631
+ {
632
+ inputs: [],
633
+ name: "fleetCommander",
634
+ outputs: [
635
+ {
636
+ internalType: "address",
637
+ name: "",
638
+ type: "address",
639
+ },
640
+ ],
641
+ stateMutability: "view",
642
+ type: "function",
643
+ },
644
+ {
645
+ inputs: [
646
+ {
647
+ internalType: "enum ContractSpecificRoles",
648
+ name: "roleName",
649
+ type: "uint8",
650
+ },
651
+ {
652
+ internalType: "address",
653
+ name: "roleTargetContract",
654
+ type: "address",
655
+ },
656
+ ],
657
+ name: "generateRole",
658
+ outputs: [
659
+ {
660
+ internalType: "bytes32",
661
+ name: "",
662
+ type: "bytes32",
663
+ },
664
+ ],
665
+ stateMutability: "pure",
666
+ type: "function",
667
+ },
668
+ {
669
+ inputs: [],
670
+ name: "getReward",
671
+ outputs: [],
672
+ stateMutability: "nonpayable",
673
+ type: "function",
674
+ },
675
+ {
676
+ inputs: [
677
+ {
678
+ internalType: "address",
679
+ name: "rewardToken",
680
+ type: "address",
681
+ },
682
+ ],
683
+ name: "getReward",
684
+ outputs: [],
685
+ stateMutability: "nonpayable",
686
+ type: "function",
687
+ },
688
+ {
689
+ inputs: [
690
+ {
691
+ internalType: "address",
692
+ name: "account",
693
+ type: "address",
694
+ },
695
+ ],
696
+ name: "getRewardFor",
697
+ outputs: [],
698
+ stateMutability: "nonpayable",
699
+ type: "function",
700
+ },
701
+ {
702
+ inputs: [
703
+ {
704
+ internalType: "address",
705
+ name: "account",
706
+ type: "address",
707
+ },
708
+ {
709
+ internalType: "address",
710
+ name: "rewardToken",
711
+ type: "address",
712
+ },
713
+ ],
714
+ name: "getRewardFor",
715
+ outputs: [],
716
+ stateMutability: "nonpayable",
717
+ type: "function",
718
+ },
719
+ {
720
+ inputs: [
721
+ {
722
+ internalType: "address",
723
+ name: "rewardToken",
724
+ type: "address",
725
+ },
726
+ ],
727
+ name: "getRewardForDuration",
728
+ outputs: [
729
+ {
730
+ internalType: "uint256",
731
+ name: "",
732
+ type: "uint256",
733
+ },
734
+ ],
735
+ stateMutability: "view",
736
+ type: "function",
737
+ },
738
+ {
739
+ inputs: [
740
+ {
741
+ internalType: "address",
742
+ name: "account",
743
+ type: "address",
744
+ },
745
+ ],
746
+ name: "hasAdmiralsQuartersRole",
747
+ outputs: [
748
+ {
749
+ internalType: "bool",
750
+ name: "",
751
+ type: "bool",
752
+ },
753
+ ],
754
+ stateMutability: "view",
755
+ type: "function",
756
+ },
757
+ {
758
+ inputs: [
759
+ {
760
+ internalType: "address",
761
+ name: "rewardToken",
762
+ type: "address",
763
+ },
764
+ ],
765
+ name: "isRewardToken",
766
+ outputs: [
767
+ {
768
+ internalType: "bool",
769
+ name: "",
770
+ type: "bool",
771
+ },
772
+ ],
773
+ stateMutability: "view",
774
+ type: "function",
775
+ },
776
+ {
777
+ inputs: [
778
+ {
779
+ internalType: "address",
780
+ name: "rewardToken",
781
+ type: "address",
782
+ },
783
+ ],
784
+ name: "lastTimeRewardApplicable",
785
+ outputs: [
786
+ {
787
+ internalType: "uint256",
788
+ name: "",
789
+ type: "uint256",
790
+ },
791
+ ],
792
+ stateMutability: "view",
793
+ type: "function",
794
+ },
795
+ {
796
+ inputs: [
797
+ {
798
+ internalType: "address",
799
+ name: "rewardToken",
800
+ type: "address",
801
+ },
802
+ {
803
+ internalType: "uint256",
804
+ name: "reward",
805
+ type: "uint256",
806
+ },
807
+ {
808
+ internalType: "uint256",
809
+ name: "newRewardsDuration",
810
+ type: "uint256",
811
+ },
812
+ ],
813
+ name: "notifyRewardAmount",
814
+ outputs: [],
815
+ stateMutability: "nonpayable",
816
+ type: "function",
817
+ },
818
+ {
819
+ inputs: [
820
+ {
821
+ internalType: "address",
822
+ name: "rewardToken",
823
+ type: "address",
824
+ },
825
+ ],
826
+ name: "removeRewardToken",
827
+ outputs: [],
828
+ stateMutability: "nonpayable",
829
+ type: "function",
830
+ },
831
+ {
832
+ inputs: [
833
+ {
834
+ internalType: "address",
835
+ name: "rewardToken",
836
+ type: "address",
837
+ },
838
+ ],
839
+ name: "rewardData",
840
+ outputs: [
841
+ {
842
+ internalType: "uint256",
843
+ name: "periodFinish",
844
+ type: "uint256",
845
+ },
846
+ {
847
+ internalType: "uint256",
848
+ name: "rewardRate",
849
+ type: "uint256",
850
+ },
851
+ {
852
+ internalType: "uint256",
853
+ name: "rewardsDuration",
854
+ type: "uint256",
855
+ },
856
+ {
857
+ internalType: "uint256",
858
+ name: "lastUpdateTime",
859
+ type: "uint256",
860
+ },
861
+ {
862
+ internalType: "uint256",
863
+ name: "rewardPerTokenStored",
864
+ type: "uint256",
865
+ },
866
+ ],
867
+ stateMutability: "view",
868
+ type: "function",
869
+ },
870
+ {
871
+ inputs: [
872
+ {
873
+ internalType: "address",
874
+ name: "rewardToken",
875
+ type: "address",
876
+ },
877
+ ],
878
+ name: "rewardPerToken",
879
+ outputs: [
880
+ {
881
+ internalType: "uint256",
882
+ name: "",
883
+ type: "uint256",
884
+ },
885
+ ],
886
+ stateMutability: "view",
887
+ type: "function",
888
+ },
889
+ {
890
+ inputs: [
891
+ {
892
+ internalType: "uint256",
893
+ name: "index",
894
+ type: "uint256",
895
+ },
896
+ ],
897
+ name: "rewardTokens",
898
+ outputs: [
899
+ {
900
+ internalType: "address",
901
+ name: "",
902
+ type: "address",
903
+ },
904
+ ],
905
+ stateMutability: "view",
906
+ type: "function",
907
+ },
908
+ {
909
+ inputs: [],
910
+ name: "rewardTokensLength",
911
+ outputs: [
912
+ {
913
+ internalType: "uint256",
914
+ name: "",
915
+ type: "uint256",
916
+ },
917
+ ],
918
+ stateMutability: "view",
919
+ type: "function",
920
+ },
921
+ {
922
+ inputs: [
923
+ {
924
+ internalType: "address",
925
+ name: "rewardToken",
926
+ type: "address",
927
+ },
928
+ {
929
+ internalType: "address",
930
+ name: "account",
931
+ type: "address",
932
+ },
933
+ ],
934
+ name: "rewards",
935
+ outputs: [
936
+ {
937
+ internalType: "uint256",
938
+ name: "rewardAmount",
939
+ type: "uint256",
940
+ },
941
+ ],
942
+ stateMutability: "view",
943
+ type: "function",
944
+ },
945
+ {
946
+ inputs: [
947
+ {
948
+ internalType: "address",
949
+ name: "rewardToken",
950
+ type: "address",
951
+ },
952
+ {
953
+ internalType: "uint256",
954
+ name: "_rewardsDuration",
955
+ type: "uint256",
956
+ },
957
+ ],
958
+ name: "setRewardsDuration",
959
+ outputs: [],
960
+ stateMutability: "nonpayable",
961
+ type: "function",
962
+ },
963
+ {
964
+ inputs: [
965
+ {
966
+ internalType: "uint256",
967
+ name: "amount",
968
+ type: "uint256",
969
+ },
970
+ ],
971
+ name: "stake",
972
+ outputs: [],
973
+ stateMutability: "nonpayable",
974
+ type: "function",
975
+ },
976
+ {
977
+ inputs: [
978
+ {
979
+ internalType: "address",
980
+ name: "receiver",
981
+ type: "address",
982
+ },
983
+ {
984
+ internalType: "uint256",
985
+ name: "amount",
986
+ type: "uint256",
987
+ },
988
+ ],
989
+ name: "stakeOnBehalfOf",
990
+ outputs: [],
991
+ stateMutability: "nonpayable",
992
+ type: "function",
993
+ },
994
+ {
995
+ inputs: [],
996
+ name: "stakingToken",
997
+ outputs: [
998
+ {
999
+ internalType: "address",
1000
+ name: "",
1001
+ type: "address",
1002
+ },
1003
+ ],
1004
+ stateMutability: "view",
1005
+ type: "function",
1006
+ },
1007
+ {
1008
+ inputs: [],
1009
+ name: "totalSupply",
1010
+ outputs: [
1011
+ {
1012
+ internalType: "uint256",
1013
+ name: "",
1014
+ type: "uint256",
1015
+ },
1016
+ ],
1017
+ stateMutability: "view",
1018
+ type: "function",
1019
+ },
1020
+ {
1021
+ inputs: [
1022
+ {
1023
+ internalType: "uint256",
1024
+ name: "amount",
1025
+ type: "uint256",
1026
+ },
1027
+ ],
1028
+ name: "unstake",
1029
+ outputs: [],
1030
+ stateMutability: "nonpayable",
1031
+ type: "function",
1032
+ },
1033
+ {
1034
+ inputs: [
1035
+ {
1036
+ internalType: "address",
1037
+ name: "owner",
1038
+ type: "address",
1039
+ },
1040
+ {
1041
+ internalType: "uint256",
1042
+ name: "amount",
1043
+ type: "uint256",
1044
+ },
1045
+ {
1046
+ internalType: "bool",
1047
+ name: "claimRewards",
1048
+ type: "bool",
1049
+ },
1050
+ ],
1051
+ name: "unstakeAndWithdrawOnBehalfOf",
1052
+ outputs: [],
1053
+ stateMutability: "nonpayable",
1054
+ type: "function",
1055
+ },
1056
+ {
1057
+ inputs: [
1058
+ {
1059
+ internalType: "address",
1060
+ name: "rewardToken",
1061
+ type: "address",
1062
+ },
1063
+ {
1064
+ internalType: "address",
1065
+ name: "account",
1066
+ type: "address",
1067
+ },
1068
+ ],
1069
+ name: "userRewardPerTokenPaid",
1070
+ outputs: [
1071
+ {
1072
+ internalType: "uint256",
1073
+ name: "rewardPerTokenPaid",
1074
+ type: "uint256",
1075
+ },
1076
+ ],
1077
+ stateMutability: "view",
1078
+ type: "function",
1079
+ },
1080
+ ];
1081
+ export class SummerFinanceVault__factory {
1082
+ static abi = _abi;
1083
+ static createInterface() {
1084
+ return new utils.Interface(_abi);
1085
+ }
1086
+ static connect(address, signerOrProvider) {
1087
+ return new Contract(address, _abi, signerOrProvider);
1088
+ }
1089
+ }