@merkl/contracts 0.1.49 → 0.1.55

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,1847 @@
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
+ stateMutability: "nonpayable",
9
+ type: "constructor",
10
+ },
11
+ {
12
+ inputs: [],
13
+ name: "InvalidStakingToken",
14
+ type: "error",
15
+ },
16
+ {
17
+ inputs: [],
18
+ name: "LengthMismatch",
19
+ type: "error",
20
+ },
21
+ {
22
+ inputs: [],
23
+ name: "MustBeContract",
24
+ type: "error",
25
+ },
26
+ {
27
+ inputs: [],
28
+ name: "MustBeContractOrZero",
29
+ type: "error",
30
+ },
31
+ {
32
+ inputs: [],
33
+ name: "OnlyActivePool",
34
+ type: "error",
35
+ },
36
+ {
37
+ inputs: [],
38
+ name: "OnlyCompounder",
39
+ type: "error",
40
+ },
41
+ {
42
+ inputs: [],
43
+ name: "OnlyMPendleSV",
44
+ type: "error",
45
+ },
46
+ {
47
+ inputs: [],
48
+ name: "OnlyPauser",
49
+ type: "error",
50
+ },
51
+ {
52
+ inputs: [],
53
+ name: "OnlyPoolManager",
54
+ type: "error",
55
+ },
56
+ {
57
+ inputs: [],
58
+ name: "OnlyReceiptToken",
59
+ type: "error",
60
+ },
61
+ {
62
+ inputs: [],
63
+ name: "OnlyStakingToken",
64
+ type: "error",
65
+ },
66
+ {
67
+ inputs: [],
68
+ name: "OnlyVlPenpie",
69
+ type: "error",
70
+ },
71
+ {
72
+ inputs: [],
73
+ name: "OnlyWhiteListedAllocaUpdator",
74
+ type: "error",
75
+ },
76
+ {
77
+ inputs: [],
78
+ name: "PenpieOFTSetAlready",
79
+ type: "error",
80
+ },
81
+ {
82
+ inputs: [],
83
+ name: "PoolExisted",
84
+ type: "error",
85
+ },
86
+ {
87
+ inputs: [],
88
+ name: "ReceiptTokenAlreadyOccupied",
89
+ type: "error",
90
+ },
91
+ {
92
+ inputs: [],
93
+ name: "UnlockAmountExceedsLocked",
94
+ type: "error",
95
+ },
96
+ {
97
+ inputs: [],
98
+ name: "WithdrawAmountExceedsStaked",
99
+ type: "error",
100
+ },
101
+ {
102
+ inputs: [],
103
+ name: "onlyARBRewarder",
104
+ type: "error",
105
+ },
106
+ {
107
+ anonymous: false,
108
+ inputs: [
109
+ {
110
+ indexed: false,
111
+ internalType: "address",
112
+ name: "_oldARBRewarder",
113
+ type: "address",
114
+ },
115
+ {
116
+ indexed: false,
117
+ internalType: "address",
118
+ name: "_newARBRewarder",
119
+ type: "address",
120
+ },
121
+ ],
122
+ name: "ARBRewarderSet",
123
+ type: "event",
124
+ },
125
+ {
126
+ anonymous: false,
127
+ inputs: [
128
+ {
129
+ indexed: false,
130
+ internalType: "address",
131
+ name: "rewarder",
132
+ type: "address",
133
+ },
134
+ ],
135
+ name: "ARBRewarderSetAsQueuer",
136
+ type: "event",
137
+ },
138
+ {
139
+ anonymous: false,
140
+ inputs: [
141
+ {
142
+ indexed: false,
143
+ internalType: "uint256",
144
+ name: "_allocPoint",
145
+ type: "uint256",
146
+ },
147
+ {
148
+ indexed: true,
149
+ internalType: "address",
150
+ name: "_stakingToken",
151
+ type: "address",
152
+ },
153
+ {
154
+ indexed: true,
155
+ internalType: "address",
156
+ name: "_receiptToken",
157
+ type: "address",
158
+ },
159
+ {
160
+ indexed: true,
161
+ internalType: "contract IBaseRewardPool",
162
+ name: "_rewarder",
163
+ type: "address",
164
+ },
165
+ ],
166
+ name: "Add",
167
+ type: "event",
168
+ },
169
+ {
170
+ anonymous: false,
171
+ inputs: [
172
+ {
173
+ indexed: false,
174
+ internalType: "address",
175
+ name: "_newCompounder",
176
+ type: "address",
177
+ },
178
+ {
179
+ indexed: false,
180
+ internalType: "address",
181
+ name: "_oldCompounder",
182
+ type: "address",
183
+ },
184
+ ],
185
+ name: "CompounderUpdated",
186
+ type: "event",
187
+ },
188
+ {
189
+ anonymous: false,
190
+ inputs: [
191
+ {
192
+ indexed: true,
193
+ internalType: "address",
194
+ name: "_user",
195
+ type: "address",
196
+ },
197
+ {
198
+ indexed: true,
199
+ internalType: "address",
200
+ name: "_stakingToken",
201
+ type: "address",
202
+ },
203
+ {
204
+ indexed: true,
205
+ internalType: "address",
206
+ name: "_receiptToken",
207
+ type: "address",
208
+ },
209
+ {
210
+ indexed: false,
211
+ internalType: "uint256",
212
+ name: "_amount",
213
+ type: "uint256",
214
+ },
215
+ ],
216
+ name: "Deposit",
217
+ type: "event",
218
+ },
219
+ {
220
+ anonymous: false,
221
+ inputs: [
222
+ {
223
+ indexed: true,
224
+ internalType: "address",
225
+ name: "_user",
226
+ type: "address",
227
+ },
228
+ {
229
+ indexed: true,
230
+ internalType: "address",
231
+ name: "_stakingToken",
232
+ type: "address",
233
+ },
234
+ {
235
+ indexed: false,
236
+ internalType: "uint256",
237
+ name: "_amount",
238
+ type: "uint256",
239
+ },
240
+ ],
241
+ name: "DepositNotAvailable",
242
+ type: "event",
243
+ },
244
+ {
245
+ anonymous: false,
246
+ inputs: [
247
+ {
248
+ indexed: true,
249
+ internalType: "address",
250
+ name: "_account",
251
+ type: "address",
252
+ },
253
+ {
254
+ indexed: true,
255
+ internalType: "address",
256
+ name: "_receiver",
257
+ type: "address",
258
+ },
259
+ {
260
+ indexed: false,
261
+ internalType: "uint256",
262
+ name: "_amount",
263
+ type: "uint256",
264
+ },
265
+ {
266
+ indexed: false,
267
+ internalType: "bool",
268
+ name: "isLock",
269
+ type: "bool",
270
+ },
271
+ ],
272
+ name: "HarvestPenpie",
273
+ type: "event",
274
+ },
275
+ {
276
+ anonymous: false,
277
+ inputs: [
278
+ {
279
+ indexed: false,
280
+ internalType: "uint8",
281
+ name: "version",
282
+ type: "uint8",
283
+ },
284
+ ],
285
+ name: "Initialized",
286
+ type: "event",
287
+ },
288
+ {
289
+ anonymous: false,
290
+ inputs: [
291
+ {
292
+ indexed: true,
293
+ internalType: "address",
294
+ name: "_stakingToken",
295
+ type: "address",
296
+ },
297
+ {
298
+ indexed: true,
299
+ internalType: "address",
300
+ name: "_legacyRewarder",
301
+ type: "address",
302
+ },
303
+ ],
304
+ name: "LegacyRewarderSet",
305
+ type: "event",
306
+ },
307
+ {
308
+ anonymous: false,
309
+ inputs: [
310
+ {
311
+ indexed: true,
312
+ internalType: "address",
313
+ name: "previousOwner",
314
+ type: "address",
315
+ },
316
+ {
317
+ indexed: true,
318
+ internalType: "address",
319
+ name: "newOwner",
320
+ type: "address",
321
+ },
322
+ ],
323
+ name: "OwnershipTransferred",
324
+ type: "event",
325
+ },
326
+ {
327
+ anonymous: false,
328
+ inputs: [
329
+ {
330
+ indexed: false,
331
+ internalType: "address",
332
+ name: "account",
333
+ type: "address",
334
+ },
335
+ ],
336
+ name: "Paused",
337
+ type: "event",
338
+ },
339
+ {
340
+ anonymous: false,
341
+ inputs: [
342
+ {
343
+ indexed: false,
344
+ internalType: "address",
345
+ name: "_penpie",
346
+ type: "address",
347
+ },
348
+ ],
349
+ name: "PenpieOFTSet",
350
+ type: "event",
351
+ },
352
+ {
353
+ anonymous: false,
354
+ inputs: [
355
+ {
356
+ indexed: false,
357
+ internalType: "address",
358
+ name: "_account",
359
+ type: "address",
360
+ },
361
+ {
362
+ indexed: false,
363
+ internalType: "bool",
364
+ name: "_status",
365
+ type: "bool",
366
+ },
367
+ ],
368
+ name: "PoolManagerStatus",
369
+ type: "event",
370
+ },
371
+ {
372
+ anonymous: false,
373
+ inputs: [
374
+ {
375
+ indexed: true,
376
+ internalType: "address",
377
+ name: "_stakingToken",
378
+ type: "address",
379
+ },
380
+ ],
381
+ name: "PoolRemoved",
382
+ type: "event",
383
+ },
384
+ {
385
+ anonymous: false,
386
+ inputs: [
387
+ {
388
+ indexed: true,
389
+ internalType: "address",
390
+ name: "_stakingToken",
391
+ type: "address",
392
+ },
393
+ {
394
+ indexed: false,
395
+ internalType: "uint256",
396
+ name: "_allocPoint",
397
+ type: "uint256",
398
+ },
399
+ {
400
+ indexed: true,
401
+ internalType: "contract IBaseRewardPool",
402
+ name: "_rewarder",
403
+ type: "address",
404
+ },
405
+ {
406
+ indexed: false,
407
+ internalType: "bool",
408
+ name: "isActive",
409
+ type: "bool",
410
+ },
411
+ ],
412
+ name: "Set",
413
+ type: "event",
414
+ },
415
+ {
416
+ anonymous: false,
417
+ inputs: [
418
+ {
419
+ indexed: false,
420
+ internalType: "address",
421
+ name: "account",
422
+ type: "address",
423
+ },
424
+ ],
425
+ name: "Unpaused",
426
+ type: "event",
427
+ },
428
+ {
429
+ anonymous: false,
430
+ inputs: [
431
+ {
432
+ indexed: true,
433
+ internalType: "address",
434
+ name: "_user",
435
+ type: "address",
436
+ },
437
+ {
438
+ indexed: false,
439
+ internalType: "uint256",
440
+ name: "_oldPenpiePerSec",
441
+ type: "uint256",
442
+ },
443
+ {
444
+ indexed: false,
445
+ internalType: "uint256",
446
+ name: "_newPenpiePerSec",
447
+ type: "uint256",
448
+ },
449
+ ],
450
+ name: "UpdateEmissionRate",
451
+ type: "event",
452
+ },
453
+ {
454
+ anonymous: false,
455
+ inputs: [
456
+ {
457
+ indexed: true,
458
+ internalType: "address",
459
+ name: "_pauser",
460
+ type: "address",
461
+ },
462
+ {
463
+ indexed: false,
464
+ internalType: "bool",
465
+ name: "_allowed",
466
+ type: "bool",
467
+ },
468
+ ],
469
+ name: "UpdatePauserStatus",
470
+ type: "event",
471
+ },
472
+ {
473
+ anonymous: false,
474
+ inputs: [
475
+ {
476
+ indexed: true,
477
+ internalType: "address",
478
+ name: "_stakingToken",
479
+ type: "address",
480
+ },
481
+ {
482
+ indexed: false,
483
+ internalType: "uint256",
484
+ name: "_lastRewardTimestamp",
485
+ type: "uint256",
486
+ },
487
+ {
488
+ indexed: false,
489
+ internalType: "uint256",
490
+ name: "_lpSupply",
491
+ type: "uint256",
492
+ },
493
+ {
494
+ indexed: false,
495
+ internalType: "uint256",
496
+ name: "_accPenpiePerShare",
497
+ type: "uint256",
498
+ },
499
+ ],
500
+ name: "UpdatePool",
501
+ type: "event",
502
+ },
503
+ {
504
+ anonymous: false,
505
+ inputs: [
506
+ {
507
+ indexed: false,
508
+ internalType: "address",
509
+ name: "_stakingToken",
510
+ type: "address",
511
+ },
512
+ {
513
+ indexed: false,
514
+ internalType: "uint256",
515
+ name: "_oldAllocPoint",
516
+ type: "uint256",
517
+ },
518
+ {
519
+ indexed: false,
520
+ internalType: "uint256",
521
+ name: "_newAllocPoint",
522
+ type: "uint256",
523
+ },
524
+ ],
525
+ name: "UpdatePoolAlloc",
526
+ type: "event",
527
+ },
528
+ {
529
+ anonymous: false,
530
+ inputs: [
531
+ {
532
+ indexed: true,
533
+ internalType: "address",
534
+ name: "_account",
535
+ type: "address",
536
+ },
537
+ {
538
+ indexed: false,
539
+ internalType: "bool",
540
+ name: "_allowed",
541
+ type: "bool",
542
+ },
543
+ ],
544
+ name: "UpdateWhiteListedAllocManager",
545
+ type: "event",
546
+ },
547
+ {
548
+ anonymous: false,
549
+ inputs: [
550
+ {
551
+ indexed: false,
552
+ internalType: "address",
553
+ name: "_newvlPenpie",
554
+ type: "address",
555
+ },
556
+ {
557
+ indexed: false,
558
+ internalType: "address",
559
+ name: "_oldvlPenpie",
560
+ type: "address",
561
+ },
562
+ ],
563
+ name: "VlPenpieUpdated",
564
+ type: "event",
565
+ },
566
+ {
567
+ anonymous: false,
568
+ inputs: [
569
+ {
570
+ indexed: true,
571
+ internalType: "address",
572
+ name: "_user",
573
+ type: "address",
574
+ },
575
+ {
576
+ indexed: true,
577
+ internalType: "address",
578
+ name: "_stakingToken",
579
+ type: "address",
580
+ },
581
+ {
582
+ indexed: true,
583
+ internalType: "address",
584
+ name: "_receiptToken",
585
+ type: "address",
586
+ },
587
+ {
588
+ indexed: false,
589
+ internalType: "uint256",
590
+ name: "_amount",
591
+ type: "uint256",
592
+ },
593
+ ],
594
+ name: "Withdraw",
595
+ type: "event",
596
+ },
597
+ {
598
+ anonymous: false,
599
+ inputs: [
600
+ {
601
+ indexed: false,
602
+ internalType: "address",
603
+ name: "_newMPendleSV",
604
+ type: "address",
605
+ },
606
+ {
607
+ indexed: false,
608
+ internalType: "address",
609
+ name: "_oldMPendleSV",
610
+ type: "address",
611
+ },
612
+ ],
613
+ name: "mPendleSVUpdated",
614
+ type: "event",
615
+ },
616
+ {
617
+ inputs: [],
618
+ name: "ARBRewarder",
619
+ outputs: [
620
+ {
621
+ internalType: "address",
622
+ name: "",
623
+ type: "address",
624
+ },
625
+ ],
626
+ stateMutability: "view",
627
+ type: "function",
628
+ },
629
+ {
630
+ inputs: [
631
+ {
632
+ internalType: "address",
633
+ name: "",
634
+ type: "address",
635
+ },
636
+ ],
637
+ name: "AllocationManagers",
638
+ outputs: [
639
+ {
640
+ internalType: "bool",
641
+ name: "",
642
+ type: "bool",
643
+ },
644
+ ],
645
+ stateMutability: "view",
646
+ type: "function",
647
+ },
648
+ {
649
+ inputs: [
650
+ {
651
+ internalType: "address",
652
+ name: "",
653
+ type: "address",
654
+ },
655
+ ],
656
+ name: "PoolManagers",
657
+ outputs: [
658
+ {
659
+ internalType: "bool",
660
+ name: "",
661
+ type: "bool",
662
+ },
663
+ ],
664
+ stateMutability: "view",
665
+ type: "function",
666
+ },
667
+ {
668
+ inputs: [
669
+ {
670
+ internalType: "address",
671
+ name: "_penpieOFT",
672
+ type: "address",
673
+ },
674
+ {
675
+ internalType: "uint256",
676
+ name: "_penpiePerSec",
677
+ type: "uint256",
678
+ },
679
+ {
680
+ internalType: "uint256",
681
+ name: "_startTimestamp",
682
+ type: "uint256",
683
+ },
684
+ ],
685
+ name: "__MasterPenpie_init",
686
+ outputs: [],
687
+ stateMutability: "nonpayable",
688
+ type: "function",
689
+ },
690
+ {
691
+ inputs: [
692
+ {
693
+ internalType: "uint256",
694
+ name: "_allocPoint",
695
+ type: "uint256",
696
+ },
697
+ {
698
+ internalType: "address",
699
+ name: "_stakingToken",
700
+ type: "address",
701
+ },
702
+ {
703
+ internalType: "address",
704
+ name: "_receiptToken",
705
+ type: "address",
706
+ },
707
+ {
708
+ internalType: "address",
709
+ name: "_rewarder",
710
+ type: "address",
711
+ },
712
+ ],
713
+ name: "add",
714
+ outputs: [],
715
+ stateMutability: "nonpayable",
716
+ type: "function",
717
+ },
718
+ {
719
+ inputs: [
720
+ {
721
+ internalType: "address",
722
+ name: "_from",
723
+ type: "address",
724
+ },
725
+ {
726
+ internalType: "address",
727
+ name: "_to",
728
+ type: "address",
729
+ },
730
+ {
731
+ internalType: "uint256",
732
+ name: "_amount",
733
+ type: "uint256",
734
+ },
735
+ ],
736
+ name: "afterReceiptTokenTransfer",
737
+ outputs: [],
738
+ stateMutability: "nonpayable",
739
+ type: "function",
740
+ },
741
+ {
742
+ inputs: [
743
+ {
744
+ internalType: "address",
745
+ name: "_stakingToken",
746
+ type: "address",
747
+ },
748
+ {
749
+ internalType: "address",
750
+ name: "_user",
751
+ type: "address",
752
+ },
753
+ ],
754
+ name: "allPendingTokens",
755
+ outputs: [
756
+ {
757
+ internalType: "uint256",
758
+ name: "pendingPenpie",
759
+ type: "uint256",
760
+ },
761
+ {
762
+ internalType: "address[]",
763
+ name: "bonusTokenAddresses",
764
+ type: "address[]",
765
+ },
766
+ {
767
+ internalType: "string[]",
768
+ name: "bonusTokenSymbols",
769
+ type: "string[]",
770
+ },
771
+ {
772
+ internalType: "uint256[]",
773
+ name: "pendingBonusRewards",
774
+ type: "uint256[]",
775
+ },
776
+ ],
777
+ stateMutability: "view",
778
+ type: "function",
779
+ },
780
+ {
781
+ inputs: [
782
+ {
783
+ internalType: "address",
784
+ name: "",
785
+ type: "address",
786
+ },
787
+ ],
788
+ name: "allowedPauser",
789
+ outputs: [
790
+ {
791
+ internalType: "bool",
792
+ name: "",
793
+ type: "bool",
794
+ },
795
+ ],
796
+ stateMutability: "view",
797
+ type: "function",
798
+ },
799
+ {
800
+ inputs: [
801
+ {
802
+ internalType: "address",
803
+ name: "_from",
804
+ type: "address",
805
+ },
806
+ {
807
+ internalType: "address",
808
+ name: "_to",
809
+ type: "address",
810
+ },
811
+ {
812
+ internalType: "uint256",
813
+ name: "_amount",
814
+ type: "uint256",
815
+ },
816
+ ],
817
+ name: "beforeReceiptTokenTransfer",
818
+ outputs: [],
819
+ stateMutability: "nonpayable",
820
+ type: "function",
821
+ },
822
+ {
823
+ inputs: [],
824
+ name: "compounder",
825
+ outputs: [
826
+ {
827
+ internalType: "address",
828
+ name: "",
829
+ type: "address",
830
+ },
831
+ ],
832
+ stateMutability: "view",
833
+ type: "function",
834
+ },
835
+ {
836
+ inputs: [
837
+ {
838
+ internalType: "uint256",
839
+ name: "_allocPoint",
840
+ type: "uint256",
841
+ },
842
+ {
843
+ internalType: "address",
844
+ name: "_stakingToken",
845
+ type: "address",
846
+ },
847
+ {
848
+ internalType: "address",
849
+ name: "_rewarder",
850
+ type: "address",
851
+ },
852
+ ],
853
+ name: "createNoReceiptPool",
854
+ outputs: [],
855
+ stateMutability: "nonpayable",
856
+ type: "function",
857
+ },
858
+ {
859
+ inputs: [
860
+ {
861
+ internalType: "uint256",
862
+ name: "_allocPoint",
863
+ type: "uint256",
864
+ },
865
+ {
866
+ internalType: "address",
867
+ name: "_stakingToken",
868
+ type: "address",
869
+ },
870
+ {
871
+ internalType: "string",
872
+ name: "_receiptName",
873
+ type: "string",
874
+ },
875
+ {
876
+ internalType: "string",
877
+ name: "_receiptSymbol",
878
+ type: "string",
879
+ },
880
+ ],
881
+ name: "createPool",
882
+ outputs: [],
883
+ stateMutability: "nonpayable",
884
+ type: "function",
885
+ },
886
+ {
887
+ inputs: [
888
+ {
889
+ internalType: "address",
890
+ name: "_receiptToken",
891
+ type: "address",
892
+ },
893
+ {
894
+ internalType: "address",
895
+ name: "mainRewardToken",
896
+ type: "address",
897
+ },
898
+ ],
899
+ name: "createRewarder",
900
+ outputs: [
901
+ {
902
+ internalType: "address",
903
+ name: "",
904
+ type: "address",
905
+ },
906
+ ],
907
+ stateMutability: "nonpayable",
908
+ type: "function",
909
+ },
910
+ {
911
+ inputs: [
912
+ {
913
+ internalType: "address",
914
+ name: "_stakingToken",
915
+ type: "address",
916
+ },
917
+ {
918
+ internalType: "uint256",
919
+ name: "_amount",
920
+ type: "uint256",
921
+ },
922
+ ],
923
+ name: "deposit",
924
+ outputs: [],
925
+ stateMutability: "nonpayable",
926
+ type: "function",
927
+ },
928
+ {
929
+ inputs: [
930
+ {
931
+ internalType: "address",
932
+ name: "_stakingToken",
933
+ type: "address",
934
+ },
935
+ {
936
+ internalType: "address",
937
+ name: "_for",
938
+ type: "address",
939
+ },
940
+ {
941
+ internalType: "uint256",
942
+ name: "_amount",
943
+ type: "uint256",
944
+ },
945
+ ],
946
+ name: "depositFor",
947
+ outputs: [],
948
+ stateMutability: "nonpayable",
949
+ type: "function",
950
+ },
951
+ {
952
+ inputs: [
953
+ {
954
+ internalType: "uint256",
955
+ name: "_amount",
956
+ type: "uint256",
957
+ },
958
+ {
959
+ internalType: "address",
960
+ name: "_for",
961
+ type: "address",
962
+ },
963
+ ],
964
+ name: "depositMPendleSVFor",
965
+ outputs: [],
966
+ stateMutability: "nonpayable",
967
+ type: "function",
968
+ },
969
+ {
970
+ inputs: [
971
+ {
972
+ internalType: "uint256",
973
+ name: "_amount",
974
+ type: "uint256",
975
+ },
976
+ {
977
+ internalType: "address",
978
+ name: "_for",
979
+ type: "address",
980
+ },
981
+ ],
982
+ name: "depositVlPenpieFor",
983
+ outputs: [],
984
+ stateMutability: "nonpayable",
985
+ type: "function",
986
+ },
987
+ {
988
+ inputs: [
989
+ {
990
+ internalType: "address",
991
+ name: "_stakingToken",
992
+ type: "address",
993
+ },
994
+ ],
995
+ name: "getPoolInfo",
996
+ outputs: [
997
+ {
998
+ internalType: "uint256",
999
+ name: "emission",
1000
+ type: "uint256",
1001
+ },
1002
+ {
1003
+ internalType: "uint256",
1004
+ name: "allocpoint",
1005
+ type: "uint256",
1006
+ },
1007
+ {
1008
+ internalType: "uint256",
1009
+ name: "sizeOfPool",
1010
+ type: "uint256",
1011
+ },
1012
+ {
1013
+ internalType: "uint256",
1014
+ name: "totalPoint",
1015
+ type: "uint256",
1016
+ },
1017
+ ],
1018
+ stateMutability: "view",
1019
+ type: "function",
1020
+ },
1021
+ {
1022
+ inputs: [
1023
+ {
1024
+ internalType: "address",
1025
+ name: "stakingToken",
1026
+ type: "address",
1027
+ },
1028
+ ],
1029
+ name: "getRewarder",
1030
+ outputs: [
1031
+ {
1032
+ internalType: "address",
1033
+ name: "",
1034
+ type: "address",
1035
+ },
1036
+ ],
1037
+ stateMutability: "view",
1038
+ type: "function",
1039
+ },
1040
+ {
1041
+ inputs: [
1042
+ {
1043
+ internalType: "address",
1044
+ name: "",
1045
+ type: "address",
1046
+ },
1047
+ ],
1048
+ name: "legacyRewarders",
1049
+ outputs: [
1050
+ {
1051
+ internalType: "address",
1052
+ name: "",
1053
+ type: "address",
1054
+ },
1055
+ ],
1056
+ stateMutability: "view",
1057
+ type: "function",
1058
+ },
1059
+ {
1060
+ inputs: [],
1061
+ name: "mPendleSV",
1062
+ outputs: [
1063
+ {
1064
+ internalType: "address",
1065
+ name: "",
1066
+ type: "address",
1067
+ },
1068
+ ],
1069
+ stateMutability: "view",
1070
+ type: "function",
1071
+ },
1072
+ {
1073
+ inputs: [],
1074
+ name: "massUpdatePools",
1075
+ outputs: [],
1076
+ stateMutability: "nonpayable",
1077
+ type: "function",
1078
+ },
1079
+ {
1080
+ inputs: [
1081
+ {
1082
+ internalType: "address[]",
1083
+ name: "_stakingTokens",
1084
+ type: "address[]",
1085
+ },
1086
+ ],
1087
+ name: "multiclaim",
1088
+ outputs: [],
1089
+ stateMutability: "nonpayable",
1090
+ type: "function",
1091
+ },
1092
+ {
1093
+ inputs: [
1094
+ {
1095
+ internalType: "address[]",
1096
+ name: "_stakingTokens",
1097
+ type: "address[]",
1098
+ },
1099
+ {
1100
+ internalType: "address[][]",
1101
+ name: "_rewardTokens",
1102
+ type: "address[][]",
1103
+ },
1104
+ {
1105
+ internalType: "address",
1106
+ name: "_account",
1107
+ type: "address",
1108
+ },
1109
+ ],
1110
+ name: "multiclaimFor",
1111
+ outputs: [],
1112
+ stateMutability: "nonpayable",
1113
+ type: "function",
1114
+ },
1115
+ {
1116
+ inputs: [
1117
+ {
1118
+ internalType: "address[]",
1119
+ name: "_stakingTokens",
1120
+ type: "address[]",
1121
+ },
1122
+ {
1123
+ internalType: "address[][]",
1124
+ name: "_rewardTokens",
1125
+ type: "address[][]",
1126
+ },
1127
+ {
1128
+ internalType: "address",
1129
+ name: "_account",
1130
+ type: "address",
1131
+ },
1132
+ {
1133
+ internalType: "bool",
1134
+ name: "_isClaimPNP",
1135
+ type: "bool",
1136
+ },
1137
+ ],
1138
+ name: "multiclaimOnBehalf",
1139
+ outputs: [],
1140
+ stateMutability: "nonpayable",
1141
+ type: "function",
1142
+ },
1143
+ {
1144
+ inputs: [
1145
+ {
1146
+ internalType: "address[]",
1147
+ name: "_stakingTokens",
1148
+ type: "address[]",
1149
+ },
1150
+ {
1151
+ internalType: "address[][]",
1152
+ name: "_rewardTokens",
1153
+ type: "address[][]",
1154
+ },
1155
+ ],
1156
+ name: "multiclaimSpec",
1157
+ outputs: [],
1158
+ stateMutability: "nonpayable",
1159
+ type: "function",
1160
+ },
1161
+ {
1162
+ inputs: [
1163
+ {
1164
+ internalType: "address[]",
1165
+ name: "_stakingTokens",
1166
+ type: "address[]",
1167
+ },
1168
+ {
1169
+ internalType: "address[][]",
1170
+ name: "_rewardTokens",
1171
+ type: "address[][]",
1172
+ },
1173
+ {
1174
+ internalType: "bool",
1175
+ name: "_withPNP",
1176
+ type: "bool",
1177
+ },
1178
+ ],
1179
+ name: "multiclaimSpecPNP",
1180
+ outputs: [],
1181
+ stateMutability: "nonpayable",
1182
+ type: "function",
1183
+ },
1184
+ {
1185
+ inputs: [],
1186
+ name: "owner",
1187
+ outputs: [
1188
+ {
1189
+ internalType: "address",
1190
+ name: "",
1191
+ type: "address",
1192
+ },
1193
+ ],
1194
+ stateMutability: "view",
1195
+ type: "function",
1196
+ },
1197
+ {
1198
+ inputs: [],
1199
+ name: "pause",
1200
+ outputs: [],
1201
+ stateMutability: "nonpayable",
1202
+ type: "function",
1203
+ },
1204
+ {
1205
+ inputs: [],
1206
+ name: "paused",
1207
+ outputs: [
1208
+ {
1209
+ internalType: "bool",
1210
+ name: "",
1211
+ type: "bool",
1212
+ },
1213
+ ],
1214
+ stateMutability: "view",
1215
+ type: "function",
1216
+ },
1217
+ {
1218
+ inputs: [
1219
+ {
1220
+ internalType: "address",
1221
+ name: "_stakingToken",
1222
+ type: "address",
1223
+ },
1224
+ {
1225
+ internalType: "address",
1226
+ name: "_user",
1227
+ type: "address",
1228
+ },
1229
+ {
1230
+ internalType: "address",
1231
+ name: "_rewardToken",
1232
+ type: "address",
1233
+ },
1234
+ ],
1235
+ name: "pendingTokens",
1236
+ outputs: [
1237
+ {
1238
+ internalType: "uint256",
1239
+ name: "pendingPenpie",
1240
+ type: "uint256",
1241
+ },
1242
+ {
1243
+ internalType: "address",
1244
+ name: "bonusTokenAddress",
1245
+ type: "address",
1246
+ },
1247
+ {
1248
+ internalType: "string",
1249
+ name: "bonusTokenSymbol",
1250
+ type: "string",
1251
+ },
1252
+ {
1253
+ internalType: "uint256",
1254
+ name: "pendingBonusToken",
1255
+ type: "uint256",
1256
+ },
1257
+ ],
1258
+ stateMutability: "view",
1259
+ type: "function",
1260
+ },
1261
+ {
1262
+ inputs: [],
1263
+ name: "penpieOFT",
1264
+ outputs: [
1265
+ {
1266
+ internalType: "contract IERC20",
1267
+ name: "",
1268
+ type: "address",
1269
+ },
1270
+ ],
1271
+ stateMutability: "view",
1272
+ type: "function",
1273
+ },
1274
+ {
1275
+ inputs: [],
1276
+ name: "penpiePerSec",
1277
+ outputs: [
1278
+ {
1279
+ internalType: "uint256",
1280
+ name: "",
1281
+ type: "uint256",
1282
+ },
1283
+ ],
1284
+ stateMutability: "view",
1285
+ type: "function",
1286
+ },
1287
+ {
1288
+ inputs: [],
1289
+ name: "poolLength",
1290
+ outputs: [
1291
+ {
1292
+ internalType: "uint256",
1293
+ name: "",
1294
+ type: "uint256",
1295
+ },
1296
+ ],
1297
+ stateMutability: "view",
1298
+ type: "function",
1299
+ },
1300
+ {
1301
+ inputs: [
1302
+ {
1303
+ internalType: "address",
1304
+ name: "",
1305
+ type: "address",
1306
+ },
1307
+ ],
1308
+ name: "receiptToStakeToken",
1309
+ outputs: [
1310
+ {
1311
+ internalType: "address",
1312
+ name: "",
1313
+ type: "address",
1314
+ },
1315
+ ],
1316
+ stateMutability: "view",
1317
+ type: "function",
1318
+ },
1319
+ {
1320
+ inputs: [
1321
+ {
1322
+ internalType: "uint256",
1323
+ name: "",
1324
+ type: "uint256",
1325
+ },
1326
+ ],
1327
+ name: "registeredToken",
1328
+ outputs: [
1329
+ {
1330
+ internalType: "address",
1331
+ name: "",
1332
+ type: "address",
1333
+ },
1334
+ ],
1335
+ stateMutability: "view",
1336
+ type: "function",
1337
+ },
1338
+ {
1339
+ inputs: [
1340
+ {
1341
+ internalType: "address",
1342
+ name: "_stakingToken",
1343
+ type: "address",
1344
+ },
1345
+ ],
1346
+ name: "removePool",
1347
+ outputs: [],
1348
+ stateMutability: "nonpayable",
1349
+ type: "function",
1350
+ },
1351
+ {
1352
+ inputs: [],
1353
+ name: "renounceOwnership",
1354
+ outputs: [],
1355
+ stateMutability: "nonpayable",
1356
+ type: "function",
1357
+ },
1358
+ {
1359
+ inputs: [
1360
+ {
1361
+ internalType: "address",
1362
+ name: "_stakingToken",
1363
+ type: "address",
1364
+ },
1365
+ {
1366
+ internalType: "uint256",
1367
+ name: "_allocPoint",
1368
+ type: "uint256",
1369
+ },
1370
+ {
1371
+ internalType: "address",
1372
+ name: "_rewarder",
1373
+ type: "address",
1374
+ },
1375
+ {
1376
+ internalType: "bool",
1377
+ name: "_isActive",
1378
+ type: "bool",
1379
+ },
1380
+ ],
1381
+ name: "set",
1382
+ outputs: [],
1383
+ stateMutability: "nonpayable",
1384
+ type: "function",
1385
+ },
1386
+ {
1387
+ inputs: [
1388
+ {
1389
+ internalType: "address",
1390
+ name: "_ARBRewarder",
1391
+ type: "address",
1392
+ },
1393
+ ],
1394
+ name: "setARBRewarder",
1395
+ outputs: [],
1396
+ stateMutability: "nonpayable",
1397
+ type: "function",
1398
+ },
1399
+ {
1400
+ inputs: [
1401
+ {
1402
+ internalType: "address[]",
1403
+ name: "_pools",
1404
+ type: "address[]",
1405
+ },
1406
+ ],
1407
+ name: "setARBRewarderAsQueuer",
1408
+ outputs: [],
1409
+ stateMutability: "nonpayable",
1410
+ type: "function",
1411
+ },
1412
+ {
1413
+ inputs: [
1414
+ {
1415
+ internalType: "address",
1416
+ name: "_compounder",
1417
+ type: "address",
1418
+ },
1419
+ ],
1420
+ name: "setCompounder",
1421
+ outputs: [],
1422
+ stateMutability: "nonpayable",
1423
+ type: "function",
1424
+ },
1425
+ {
1426
+ inputs: [
1427
+ {
1428
+ internalType: "address",
1429
+ name: "_stakingToken",
1430
+ type: "address",
1431
+ },
1432
+ {
1433
+ internalType: "address",
1434
+ name: "_legacyRewarder",
1435
+ type: "address",
1436
+ },
1437
+ ],
1438
+ name: "setLegacyRewarder",
1439
+ outputs: [],
1440
+ stateMutability: "nonpayable",
1441
+ type: "function",
1442
+ },
1443
+ {
1444
+ inputs: [
1445
+ {
1446
+ internalType: "address",
1447
+ name: "_mPendleSV",
1448
+ type: "address",
1449
+ },
1450
+ ],
1451
+ name: "setMPendleSV",
1452
+ outputs: [],
1453
+ stateMutability: "nonpayable",
1454
+ type: "function",
1455
+ },
1456
+ {
1457
+ inputs: [
1458
+ {
1459
+ internalType: "address",
1460
+ name: "_penpieOFT",
1461
+ type: "address",
1462
+ },
1463
+ ],
1464
+ name: "setPenpie",
1465
+ outputs: [],
1466
+ stateMutability: "nonpayable",
1467
+ type: "function",
1468
+ },
1469
+ {
1470
+ inputs: [
1471
+ {
1472
+ internalType: "address",
1473
+ name: "_account",
1474
+ type: "address",
1475
+ },
1476
+ {
1477
+ internalType: "bool",
1478
+ name: "_allowedManager",
1479
+ type: "bool",
1480
+ },
1481
+ ],
1482
+ name: "setPoolManagerStatus",
1483
+ outputs: [],
1484
+ stateMutability: "nonpayable",
1485
+ type: "function",
1486
+ },
1487
+ {
1488
+ inputs: [
1489
+ {
1490
+ internalType: "address",
1491
+ name: "_vlPenpie",
1492
+ type: "address",
1493
+ },
1494
+ ],
1495
+ name: "setVlPenpie",
1496
+ outputs: [],
1497
+ stateMutability: "nonpayable",
1498
+ type: "function",
1499
+ },
1500
+ {
1501
+ inputs: [
1502
+ {
1503
+ internalType: "address",
1504
+ name: "_stakingToken",
1505
+ type: "address",
1506
+ },
1507
+ {
1508
+ internalType: "address",
1509
+ name: "_user",
1510
+ type: "address",
1511
+ },
1512
+ ],
1513
+ name: "stakingInfo",
1514
+ outputs: [
1515
+ {
1516
+ internalType: "uint256",
1517
+ name: "stakedAmount",
1518
+ type: "uint256",
1519
+ },
1520
+ {
1521
+ internalType: "uint256",
1522
+ name: "availableAmount",
1523
+ type: "uint256",
1524
+ },
1525
+ ],
1526
+ stateMutability: "view",
1527
+ type: "function",
1528
+ },
1529
+ {
1530
+ inputs: [],
1531
+ name: "startTimestamp",
1532
+ outputs: [
1533
+ {
1534
+ internalType: "uint256",
1535
+ name: "",
1536
+ type: "uint256",
1537
+ },
1538
+ ],
1539
+ stateMutability: "view",
1540
+ type: "function",
1541
+ },
1542
+ {
1543
+ inputs: [
1544
+ {
1545
+ internalType: "address",
1546
+ name: "",
1547
+ type: "address",
1548
+ },
1549
+ ],
1550
+ name: "tokenToPoolInfo",
1551
+ outputs: [
1552
+ {
1553
+ internalType: "address",
1554
+ name: "stakingToken",
1555
+ type: "address",
1556
+ },
1557
+ {
1558
+ internalType: "address",
1559
+ name: "receiptToken",
1560
+ type: "address",
1561
+ },
1562
+ {
1563
+ internalType: "uint256",
1564
+ name: "allocPoint",
1565
+ type: "uint256",
1566
+ },
1567
+ {
1568
+ internalType: "uint256",
1569
+ name: "lastRewardTimestamp",
1570
+ type: "uint256",
1571
+ },
1572
+ {
1573
+ internalType: "uint256",
1574
+ name: "accPenpiePerShare",
1575
+ type: "uint256",
1576
+ },
1577
+ {
1578
+ internalType: "uint256",
1579
+ name: "totalStaked",
1580
+ type: "uint256",
1581
+ },
1582
+ {
1583
+ internalType: "address",
1584
+ name: "rewarder",
1585
+ type: "address",
1586
+ },
1587
+ {
1588
+ internalType: "bool",
1589
+ name: "isActive",
1590
+ type: "bool",
1591
+ },
1592
+ ],
1593
+ stateMutability: "view",
1594
+ type: "function",
1595
+ },
1596
+ {
1597
+ inputs: [],
1598
+ name: "totalAllocPoint",
1599
+ outputs: [
1600
+ {
1601
+ internalType: "uint256",
1602
+ name: "",
1603
+ type: "uint256",
1604
+ },
1605
+ ],
1606
+ stateMutability: "view",
1607
+ type: "function",
1608
+ },
1609
+ {
1610
+ inputs: [
1611
+ {
1612
+ internalType: "address",
1613
+ name: "newOwner",
1614
+ type: "address",
1615
+ },
1616
+ ],
1617
+ name: "transferOwnership",
1618
+ outputs: [],
1619
+ stateMutability: "nonpayable",
1620
+ type: "function",
1621
+ },
1622
+ {
1623
+ inputs: [],
1624
+ name: "unpause",
1625
+ outputs: [],
1626
+ stateMutability: "nonpayable",
1627
+ type: "function",
1628
+ },
1629
+ {
1630
+ inputs: [
1631
+ {
1632
+ internalType: "address",
1633
+ name: "_pauser",
1634
+ type: "address",
1635
+ },
1636
+ {
1637
+ internalType: "bool",
1638
+ name: "_allowed",
1639
+ type: "bool",
1640
+ },
1641
+ ],
1642
+ name: "updateAllowedPauser",
1643
+ outputs: [],
1644
+ stateMutability: "nonpayable",
1645
+ type: "function",
1646
+ },
1647
+ {
1648
+ inputs: [
1649
+ {
1650
+ internalType: "uint256",
1651
+ name: "_penpiePerSec",
1652
+ type: "uint256",
1653
+ },
1654
+ ],
1655
+ name: "updateEmissionRate",
1656
+ outputs: [],
1657
+ stateMutability: "nonpayable",
1658
+ type: "function",
1659
+ },
1660
+ {
1661
+ inputs: [
1662
+ {
1663
+ internalType: "address",
1664
+ name: "_stakingToken",
1665
+ type: "address",
1666
+ },
1667
+ ],
1668
+ name: "updatePool",
1669
+ outputs: [],
1670
+ stateMutability: "nonpayable",
1671
+ type: "function",
1672
+ },
1673
+ {
1674
+ inputs: [
1675
+ {
1676
+ internalType: "address[]",
1677
+ name: "_stakingTokens",
1678
+ type: "address[]",
1679
+ },
1680
+ {
1681
+ internalType: "uint256[]",
1682
+ name: "_allocPoints",
1683
+ type: "uint256[]",
1684
+ },
1685
+ ],
1686
+ name: "updatePoolsAlloc",
1687
+ outputs: [],
1688
+ stateMutability: "nonpayable",
1689
+ type: "function",
1690
+ },
1691
+ {
1692
+ inputs: [
1693
+ {
1694
+ internalType: "address",
1695
+ name: "_rewarder",
1696
+ type: "address",
1697
+ },
1698
+ {
1699
+ internalType: "address",
1700
+ name: "_manager",
1701
+ type: "address",
1702
+ },
1703
+ {
1704
+ internalType: "bool",
1705
+ name: "_allowed",
1706
+ type: "bool",
1707
+ },
1708
+ ],
1709
+ name: "updateRewarderQueuer",
1710
+ outputs: [],
1711
+ stateMutability: "nonpayable",
1712
+ type: "function",
1713
+ },
1714
+ {
1715
+ inputs: [
1716
+ {
1717
+ internalType: "address",
1718
+ name: "_account",
1719
+ type: "address",
1720
+ },
1721
+ {
1722
+ internalType: "bool",
1723
+ name: "_allowed",
1724
+ type: "bool",
1725
+ },
1726
+ ],
1727
+ name: "updateWhitelistedAllocManager",
1728
+ outputs: [],
1729
+ stateMutability: "nonpayable",
1730
+ type: "function",
1731
+ },
1732
+ {
1733
+ inputs: [
1734
+ {
1735
+ internalType: "address",
1736
+ name: "",
1737
+ type: "address",
1738
+ },
1739
+ {
1740
+ internalType: "address",
1741
+ name: "",
1742
+ type: "address",
1743
+ },
1744
+ ],
1745
+ name: "userInfo",
1746
+ outputs: [
1747
+ {
1748
+ internalType: "uint256",
1749
+ name: "amount",
1750
+ type: "uint256",
1751
+ },
1752
+ {
1753
+ internalType: "uint256",
1754
+ name: "rewardDebt",
1755
+ type: "uint256",
1756
+ },
1757
+ {
1758
+ internalType: "uint256",
1759
+ name: "available",
1760
+ type: "uint256",
1761
+ },
1762
+ {
1763
+ internalType: "uint256",
1764
+ name: "unClaimedPenpie",
1765
+ type: "uint256",
1766
+ },
1767
+ ],
1768
+ stateMutability: "view",
1769
+ type: "function",
1770
+ },
1771
+ {
1772
+ inputs: [],
1773
+ name: "vlPenpie",
1774
+ outputs: [
1775
+ {
1776
+ internalType: "contract IVLPenpie",
1777
+ name: "",
1778
+ type: "address",
1779
+ },
1780
+ ],
1781
+ stateMutability: "view",
1782
+ type: "function",
1783
+ },
1784
+ {
1785
+ inputs: [
1786
+ {
1787
+ internalType: "address",
1788
+ name: "_stakingToken",
1789
+ type: "address",
1790
+ },
1791
+ {
1792
+ internalType: "uint256",
1793
+ name: "_amount",
1794
+ type: "uint256",
1795
+ },
1796
+ ],
1797
+ name: "withdraw",
1798
+ outputs: [],
1799
+ stateMutability: "nonpayable",
1800
+ type: "function",
1801
+ },
1802
+ {
1803
+ inputs: [
1804
+ {
1805
+ internalType: "uint256",
1806
+ name: "_amount",
1807
+ type: "uint256",
1808
+ },
1809
+ {
1810
+ internalType: "address",
1811
+ name: "_for",
1812
+ type: "address",
1813
+ },
1814
+ ],
1815
+ name: "withdrawMPendleSVFor",
1816
+ outputs: [],
1817
+ stateMutability: "nonpayable",
1818
+ type: "function",
1819
+ },
1820
+ {
1821
+ inputs: [
1822
+ {
1823
+ internalType: "uint256",
1824
+ name: "_amount",
1825
+ type: "uint256",
1826
+ },
1827
+ {
1828
+ internalType: "address",
1829
+ name: "_for",
1830
+ type: "address",
1831
+ },
1832
+ ],
1833
+ name: "withdrawVlPenpieFor",
1834
+ outputs: [],
1835
+ stateMutability: "nonpayable",
1836
+ type: "function",
1837
+ },
1838
+ ];
1839
+ export class PenpieMaster__factory {
1840
+ static abi = _abi;
1841
+ static createInterface() {
1842
+ return new utils.Interface(_abi);
1843
+ }
1844
+ static connect(address, signerOrProvider) {
1845
+ return new Contract(address, _abi, signerOrProvider);
1846
+ }
1847
+ }