@merkl/contracts 0.1.62 → 0.1.64

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,1237 @@
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: "_PT",
11
+ type: "address",
12
+ },
13
+ {
14
+ internalType: "int256",
15
+ name: "_scalarRoot",
16
+ type: "int256",
17
+ },
18
+ {
19
+ internalType: "int256",
20
+ name: "_initialAnchor",
21
+ type: "int256",
22
+ },
23
+ {
24
+ internalType: "uint80",
25
+ name: "_lnFeeRateRoot",
26
+ type: "uint80",
27
+ },
28
+ {
29
+ internalType: "address",
30
+ name: "_vePendle",
31
+ type: "address",
32
+ },
33
+ {
34
+ internalType: "address",
35
+ name: "_gaugeController",
36
+ type: "address",
37
+ },
38
+ ],
39
+ stateMutability: "nonpayable",
40
+ type: "constructor",
41
+ },
42
+ {
43
+ inputs: [],
44
+ name: "InvalidShortString",
45
+ type: "error",
46
+ },
47
+ {
48
+ inputs: [
49
+ {
50
+ internalType: "int256",
51
+ name: "exchangeRate",
52
+ type: "int256",
53
+ },
54
+ ],
55
+ name: "MarketExchangeRateBelowOne",
56
+ type: "error",
57
+ },
58
+ {
59
+ inputs: [],
60
+ name: "MarketExpired",
61
+ type: "error",
62
+ },
63
+ {
64
+ inputs: [
65
+ {
66
+ internalType: "int256",
67
+ name: "currentAmount",
68
+ type: "int256",
69
+ },
70
+ {
71
+ internalType: "int256",
72
+ name: "requiredAmount",
73
+ type: "int256",
74
+ },
75
+ ],
76
+ name: "MarketInsufficientPtForTrade",
77
+ type: "error",
78
+ },
79
+ {
80
+ inputs: [
81
+ {
82
+ internalType: "uint256",
83
+ name: "actualBalance",
84
+ type: "uint256",
85
+ },
86
+ {
87
+ internalType: "uint256",
88
+ name: "requiredBalance",
89
+ type: "uint256",
90
+ },
91
+ ],
92
+ name: "MarketInsufficientPtReceived",
93
+ type: "error",
94
+ },
95
+ {
96
+ inputs: [
97
+ {
98
+ internalType: "uint256",
99
+ name: "actualBalance",
100
+ type: "uint256",
101
+ },
102
+ {
103
+ internalType: "uint256",
104
+ name: "requiredBalance",
105
+ type: "uint256",
106
+ },
107
+ ],
108
+ name: "MarketInsufficientSyReceived",
109
+ type: "error",
110
+ },
111
+ {
112
+ inputs: [],
113
+ name: "MarketProportionMustNotEqualOne",
114
+ type: "error",
115
+ },
116
+ {
117
+ inputs: [
118
+ {
119
+ internalType: "int256",
120
+ name: "proportion",
121
+ type: "int256",
122
+ },
123
+ {
124
+ internalType: "int256",
125
+ name: "maxProportion",
126
+ type: "int256",
127
+ },
128
+ ],
129
+ name: "MarketProportionTooHigh",
130
+ type: "error",
131
+ },
132
+ {
133
+ inputs: [
134
+ {
135
+ internalType: "int256",
136
+ name: "rateScalar",
137
+ type: "int256",
138
+ },
139
+ ],
140
+ name: "MarketRateScalarBelowZero",
141
+ type: "error",
142
+ },
143
+ {
144
+ inputs: [
145
+ {
146
+ internalType: "int256",
147
+ name: "scalarRoot",
148
+ type: "int256",
149
+ },
150
+ ],
151
+ name: "MarketScalarRootBelowZero",
152
+ type: "error",
153
+ },
154
+ {
155
+ inputs: [],
156
+ name: "MarketZeroAmountsInput",
157
+ type: "error",
158
+ },
159
+ {
160
+ inputs: [],
161
+ name: "MarketZeroAmountsOutput",
162
+ type: "error",
163
+ },
164
+ {
165
+ inputs: [],
166
+ name: "MarketZeroLnImpliedRate",
167
+ type: "error",
168
+ },
169
+ {
170
+ inputs: [
171
+ {
172
+ internalType: "int256",
173
+ name: "totalPt",
174
+ type: "int256",
175
+ },
176
+ {
177
+ internalType: "int256",
178
+ name: "totalAsset",
179
+ type: "int256",
180
+ },
181
+ ],
182
+ name: "MarketZeroTotalPtOrTotalAsset",
183
+ type: "error",
184
+ },
185
+ {
186
+ inputs: [
187
+ {
188
+ internalType: "string",
189
+ name: "str",
190
+ type: "string",
191
+ },
192
+ ],
193
+ name: "StringTooLong",
194
+ type: "error",
195
+ },
196
+ {
197
+ anonymous: false,
198
+ inputs: [
199
+ {
200
+ indexed: true,
201
+ internalType: "address",
202
+ name: "owner",
203
+ type: "address",
204
+ },
205
+ {
206
+ indexed: true,
207
+ internalType: "address",
208
+ name: "spender",
209
+ type: "address",
210
+ },
211
+ {
212
+ indexed: false,
213
+ internalType: "uint256",
214
+ name: "value",
215
+ type: "uint256",
216
+ },
217
+ ],
218
+ name: "Approval",
219
+ type: "event",
220
+ },
221
+ {
222
+ anonymous: false,
223
+ inputs: [
224
+ {
225
+ indexed: true,
226
+ internalType: "address",
227
+ name: "receiverSy",
228
+ type: "address",
229
+ },
230
+ {
231
+ indexed: true,
232
+ internalType: "address",
233
+ name: "receiverPt",
234
+ type: "address",
235
+ },
236
+ {
237
+ indexed: false,
238
+ internalType: "uint256",
239
+ name: "netLpBurned",
240
+ type: "uint256",
241
+ },
242
+ {
243
+ indexed: false,
244
+ internalType: "uint256",
245
+ name: "netSyOut",
246
+ type: "uint256",
247
+ },
248
+ {
249
+ indexed: false,
250
+ internalType: "uint256",
251
+ name: "netPtOut",
252
+ type: "uint256",
253
+ },
254
+ ],
255
+ name: "Burn",
256
+ type: "event",
257
+ },
258
+ {
259
+ anonymous: false,
260
+ inputs: [],
261
+ name: "EIP712DomainChanged",
262
+ type: "event",
263
+ },
264
+ {
265
+ anonymous: false,
266
+ inputs: [
267
+ {
268
+ indexed: false,
269
+ internalType: "uint16",
270
+ name: "observationCardinalityNextOld",
271
+ type: "uint16",
272
+ },
273
+ {
274
+ indexed: false,
275
+ internalType: "uint16",
276
+ name: "observationCardinalityNextNew",
277
+ type: "uint16",
278
+ },
279
+ ],
280
+ name: "IncreaseObservationCardinalityNext",
281
+ type: "event",
282
+ },
283
+ {
284
+ anonymous: false,
285
+ inputs: [
286
+ {
287
+ indexed: true,
288
+ internalType: "address",
289
+ name: "receiver",
290
+ type: "address",
291
+ },
292
+ {
293
+ indexed: false,
294
+ internalType: "uint256",
295
+ name: "netLpMinted",
296
+ type: "uint256",
297
+ },
298
+ {
299
+ indexed: false,
300
+ internalType: "uint256",
301
+ name: "netSyUsed",
302
+ type: "uint256",
303
+ },
304
+ {
305
+ indexed: false,
306
+ internalType: "uint256",
307
+ name: "netPtUsed",
308
+ type: "uint256",
309
+ },
310
+ ],
311
+ name: "Mint",
312
+ type: "event",
313
+ },
314
+ {
315
+ anonymous: false,
316
+ inputs: [
317
+ {
318
+ indexed: true,
319
+ internalType: "address",
320
+ name: "user",
321
+ type: "address",
322
+ },
323
+ {
324
+ indexed: false,
325
+ internalType: "uint256[]",
326
+ name: "rewardsOut",
327
+ type: "uint256[]",
328
+ },
329
+ ],
330
+ name: "RedeemRewards",
331
+ type: "event",
332
+ },
333
+ {
334
+ anonymous: false,
335
+ inputs: [
336
+ {
337
+ indexed: true,
338
+ internalType: "address",
339
+ name: "caller",
340
+ type: "address",
341
+ },
342
+ {
343
+ indexed: true,
344
+ internalType: "address",
345
+ name: "receiver",
346
+ type: "address",
347
+ },
348
+ {
349
+ indexed: false,
350
+ internalType: "int256",
351
+ name: "netPtOut",
352
+ type: "int256",
353
+ },
354
+ {
355
+ indexed: false,
356
+ internalType: "int256",
357
+ name: "netSyOut",
358
+ type: "int256",
359
+ },
360
+ {
361
+ indexed: false,
362
+ internalType: "uint256",
363
+ name: "netSyFee",
364
+ type: "uint256",
365
+ },
366
+ {
367
+ indexed: false,
368
+ internalType: "uint256",
369
+ name: "netSyToReserve",
370
+ type: "uint256",
371
+ },
372
+ ],
373
+ name: "Swap",
374
+ type: "event",
375
+ },
376
+ {
377
+ anonymous: false,
378
+ inputs: [
379
+ {
380
+ indexed: true,
381
+ internalType: "address",
382
+ name: "from",
383
+ type: "address",
384
+ },
385
+ {
386
+ indexed: true,
387
+ internalType: "address",
388
+ name: "to",
389
+ type: "address",
390
+ },
391
+ {
392
+ indexed: false,
393
+ internalType: "uint256",
394
+ name: "value",
395
+ type: "uint256",
396
+ },
397
+ ],
398
+ name: "Transfer",
399
+ type: "event",
400
+ },
401
+ {
402
+ anonymous: false,
403
+ inputs: [
404
+ {
405
+ indexed: true,
406
+ internalType: "uint256",
407
+ name: "timestamp",
408
+ type: "uint256",
409
+ },
410
+ {
411
+ indexed: false,
412
+ internalType: "uint256",
413
+ name: "lnLastImpliedRate",
414
+ type: "uint256",
415
+ },
416
+ ],
417
+ name: "UpdateImpliedRate",
418
+ type: "event",
419
+ },
420
+ {
421
+ inputs: [],
422
+ name: "DOMAIN_SEPARATOR",
423
+ outputs: [
424
+ {
425
+ internalType: "bytes32",
426
+ name: "",
427
+ type: "bytes32",
428
+ },
429
+ ],
430
+ stateMutability: "view",
431
+ type: "function",
432
+ },
433
+ {
434
+ inputs: [],
435
+ name: "_storage",
436
+ outputs: [
437
+ {
438
+ internalType: "int128",
439
+ name: "totalPt",
440
+ type: "int128",
441
+ },
442
+ {
443
+ internalType: "int128",
444
+ name: "totalSy",
445
+ type: "int128",
446
+ },
447
+ {
448
+ internalType: "uint96",
449
+ name: "lastLnImpliedRate",
450
+ type: "uint96",
451
+ },
452
+ {
453
+ internalType: "uint16",
454
+ name: "observationIndex",
455
+ type: "uint16",
456
+ },
457
+ {
458
+ internalType: "uint16",
459
+ name: "observationCardinality",
460
+ type: "uint16",
461
+ },
462
+ {
463
+ internalType: "uint16",
464
+ name: "observationCardinalityNext",
465
+ type: "uint16",
466
+ },
467
+ ],
468
+ stateMutability: "view",
469
+ type: "function",
470
+ },
471
+ {
472
+ inputs: [
473
+ {
474
+ internalType: "address",
475
+ name: "",
476
+ type: "address",
477
+ },
478
+ ],
479
+ name: "activeBalance",
480
+ outputs: [
481
+ {
482
+ internalType: "uint256",
483
+ name: "",
484
+ type: "uint256",
485
+ },
486
+ ],
487
+ stateMutability: "view",
488
+ type: "function",
489
+ },
490
+ {
491
+ inputs: [
492
+ {
493
+ internalType: "address",
494
+ name: "owner",
495
+ type: "address",
496
+ },
497
+ {
498
+ internalType: "address",
499
+ name: "spender",
500
+ type: "address",
501
+ },
502
+ ],
503
+ name: "allowance",
504
+ outputs: [
505
+ {
506
+ internalType: "uint256",
507
+ name: "",
508
+ type: "uint256",
509
+ },
510
+ ],
511
+ stateMutability: "view",
512
+ type: "function",
513
+ },
514
+ {
515
+ inputs: [
516
+ {
517
+ internalType: "address",
518
+ name: "spender",
519
+ type: "address",
520
+ },
521
+ {
522
+ internalType: "uint256",
523
+ name: "amount",
524
+ type: "uint256",
525
+ },
526
+ ],
527
+ name: "approve",
528
+ outputs: [
529
+ {
530
+ internalType: "bool",
531
+ name: "",
532
+ type: "bool",
533
+ },
534
+ ],
535
+ stateMutability: "nonpayable",
536
+ type: "function",
537
+ },
538
+ {
539
+ inputs: [
540
+ {
541
+ internalType: "address",
542
+ name: "account",
543
+ type: "address",
544
+ },
545
+ ],
546
+ name: "balanceOf",
547
+ outputs: [
548
+ {
549
+ internalType: "uint256",
550
+ name: "",
551
+ type: "uint256",
552
+ },
553
+ ],
554
+ stateMutability: "view",
555
+ type: "function",
556
+ },
557
+ {
558
+ inputs: [
559
+ {
560
+ internalType: "address",
561
+ name: "receiverSy",
562
+ type: "address",
563
+ },
564
+ {
565
+ internalType: "address",
566
+ name: "receiverPt",
567
+ type: "address",
568
+ },
569
+ {
570
+ internalType: "uint256",
571
+ name: "netLpToBurn",
572
+ type: "uint256",
573
+ },
574
+ ],
575
+ name: "burn",
576
+ outputs: [
577
+ {
578
+ internalType: "uint256",
579
+ name: "netSyOut",
580
+ type: "uint256",
581
+ },
582
+ {
583
+ internalType: "uint256",
584
+ name: "netPtOut",
585
+ type: "uint256",
586
+ },
587
+ ],
588
+ stateMutability: "nonpayable",
589
+ type: "function",
590
+ },
591
+ {
592
+ inputs: [],
593
+ name: "decimals",
594
+ outputs: [
595
+ {
596
+ internalType: "uint8",
597
+ name: "",
598
+ type: "uint8",
599
+ },
600
+ ],
601
+ stateMutability: "view",
602
+ type: "function",
603
+ },
604
+ {
605
+ inputs: [],
606
+ name: "eip712Domain",
607
+ outputs: [
608
+ {
609
+ internalType: "bytes1",
610
+ name: "fields",
611
+ type: "bytes1",
612
+ },
613
+ {
614
+ internalType: "string",
615
+ name: "name",
616
+ type: "string",
617
+ },
618
+ {
619
+ internalType: "string",
620
+ name: "version",
621
+ type: "string",
622
+ },
623
+ {
624
+ internalType: "uint256",
625
+ name: "chainId",
626
+ type: "uint256",
627
+ },
628
+ {
629
+ internalType: "address",
630
+ name: "verifyingContract",
631
+ type: "address",
632
+ },
633
+ {
634
+ internalType: "bytes32",
635
+ name: "salt",
636
+ type: "bytes32",
637
+ },
638
+ {
639
+ internalType: "uint256[]",
640
+ name: "extensions",
641
+ type: "uint256[]",
642
+ },
643
+ ],
644
+ stateMutability: "view",
645
+ type: "function",
646
+ },
647
+ {
648
+ inputs: [],
649
+ name: "expiry",
650
+ outputs: [
651
+ {
652
+ internalType: "uint256",
653
+ name: "",
654
+ type: "uint256",
655
+ },
656
+ ],
657
+ stateMutability: "view",
658
+ type: "function",
659
+ },
660
+ {
661
+ inputs: [],
662
+ name: "factory",
663
+ outputs: [
664
+ {
665
+ internalType: "address",
666
+ name: "",
667
+ type: "address",
668
+ },
669
+ ],
670
+ stateMutability: "view",
671
+ type: "function",
672
+ },
673
+ {
674
+ inputs: [],
675
+ name: "getNonOverrideLnFeeRateRoot",
676
+ outputs: [
677
+ {
678
+ internalType: "uint80",
679
+ name: "",
680
+ type: "uint80",
681
+ },
682
+ ],
683
+ stateMutability: "view",
684
+ type: "function",
685
+ },
686
+ {
687
+ inputs: [],
688
+ name: "getRewardTokens",
689
+ outputs: [
690
+ {
691
+ internalType: "address[]",
692
+ name: "",
693
+ type: "address[]",
694
+ },
695
+ ],
696
+ stateMutability: "view",
697
+ type: "function",
698
+ },
699
+ {
700
+ inputs: [
701
+ {
702
+ internalType: "uint16",
703
+ name: "cardinalityNext",
704
+ type: "uint16",
705
+ },
706
+ ],
707
+ name: "increaseObservationsCardinalityNext",
708
+ outputs: [],
709
+ stateMutability: "nonpayable",
710
+ type: "function",
711
+ },
712
+ {
713
+ inputs: [],
714
+ name: "isExpired",
715
+ outputs: [
716
+ {
717
+ internalType: "bool",
718
+ name: "",
719
+ type: "bool",
720
+ },
721
+ ],
722
+ stateMutability: "view",
723
+ type: "function",
724
+ },
725
+ {
726
+ inputs: [],
727
+ name: "lastRewardBlock",
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: "receiver",
743
+ type: "address",
744
+ },
745
+ {
746
+ internalType: "uint256",
747
+ name: "netSyDesired",
748
+ type: "uint256",
749
+ },
750
+ {
751
+ internalType: "uint256",
752
+ name: "netPtDesired",
753
+ type: "uint256",
754
+ },
755
+ ],
756
+ name: "mint",
757
+ outputs: [
758
+ {
759
+ internalType: "uint256",
760
+ name: "netLpOut",
761
+ type: "uint256",
762
+ },
763
+ {
764
+ internalType: "uint256",
765
+ name: "netSyUsed",
766
+ type: "uint256",
767
+ },
768
+ {
769
+ internalType: "uint256",
770
+ name: "netPtUsed",
771
+ type: "uint256",
772
+ },
773
+ ],
774
+ stateMutability: "nonpayable",
775
+ type: "function",
776
+ },
777
+ {
778
+ inputs: [],
779
+ name: "name",
780
+ outputs: [
781
+ {
782
+ internalType: "string",
783
+ name: "",
784
+ type: "string",
785
+ },
786
+ ],
787
+ stateMutability: "view",
788
+ type: "function",
789
+ },
790
+ {
791
+ inputs: [
792
+ {
793
+ internalType: "address",
794
+ name: "owner",
795
+ type: "address",
796
+ },
797
+ ],
798
+ name: "nonces",
799
+ outputs: [
800
+ {
801
+ internalType: "uint256",
802
+ name: "",
803
+ type: "uint256",
804
+ },
805
+ ],
806
+ stateMutability: "view",
807
+ type: "function",
808
+ },
809
+ {
810
+ inputs: [
811
+ {
812
+ internalType: "uint256",
813
+ name: "",
814
+ type: "uint256",
815
+ },
816
+ ],
817
+ name: "observations",
818
+ outputs: [
819
+ {
820
+ internalType: "uint32",
821
+ name: "blockTimestamp",
822
+ type: "uint32",
823
+ },
824
+ {
825
+ internalType: "uint216",
826
+ name: "lnImpliedRateCumulative",
827
+ type: "uint216",
828
+ },
829
+ {
830
+ internalType: "bool",
831
+ name: "initialized",
832
+ type: "bool",
833
+ },
834
+ ],
835
+ stateMutability: "view",
836
+ type: "function",
837
+ },
838
+ {
839
+ inputs: [
840
+ {
841
+ internalType: "uint32[]",
842
+ name: "secondsAgos",
843
+ type: "uint32[]",
844
+ },
845
+ ],
846
+ name: "observe",
847
+ outputs: [
848
+ {
849
+ internalType: "uint216[]",
850
+ name: "lnImpliedRateCumulative",
851
+ type: "uint216[]",
852
+ },
853
+ ],
854
+ stateMutability: "view",
855
+ type: "function",
856
+ },
857
+ {
858
+ inputs: [
859
+ {
860
+ internalType: "address",
861
+ name: "owner",
862
+ type: "address",
863
+ },
864
+ {
865
+ internalType: "address",
866
+ name: "spender",
867
+ type: "address",
868
+ },
869
+ {
870
+ internalType: "uint256",
871
+ name: "value",
872
+ type: "uint256",
873
+ },
874
+ {
875
+ internalType: "uint256",
876
+ name: "deadline",
877
+ type: "uint256",
878
+ },
879
+ {
880
+ internalType: "uint8",
881
+ name: "v",
882
+ type: "uint8",
883
+ },
884
+ {
885
+ internalType: "bytes32",
886
+ name: "r",
887
+ type: "bytes32",
888
+ },
889
+ {
890
+ internalType: "bytes32",
891
+ name: "s",
892
+ type: "bytes32",
893
+ },
894
+ ],
895
+ name: "permit",
896
+ outputs: [],
897
+ stateMutability: "nonpayable",
898
+ type: "function",
899
+ },
900
+ {
901
+ inputs: [
902
+ {
903
+ internalType: "address",
904
+ name: "router",
905
+ type: "address",
906
+ },
907
+ ],
908
+ name: "readState",
909
+ outputs: [
910
+ {
911
+ components: [
912
+ {
913
+ internalType: "int256",
914
+ name: "totalPt",
915
+ type: "int256",
916
+ },
917
+ {
918
+ internalType: "int256",
919
+ name: "totalSy",
920
+ type: "int256",
921
+ },
922
+ {
923
+ internalType: "int256",
924
+ name: "totalLp",
925
+ type: "int256",
926
+ },
927
+ {
928
+ internalType: "address",
929
+ name: "treasury",
930
+ type: "address",
931
+ },
932
+ {
933
+ internalType: "int256",
934
+ name: "scalarRoot",
935
+ type: "int256",
936
+ },
937
+ {
938
+ internalType: "uint256",
939
+ name: "expiry",
940
+ type: "uint256",
941
+ },
942
+ {
943
+ internalType: "uint256",
944
+ name: "lnFeeRateRoot",
945
+ type: "uint256",
946
+ },
947
+ {
948
+ internalType: "uint256",
949
+ name: "reserveFeePercent",
950
+ type: "uint256",
951
+ },
952
+ {
953
+ internalType: "uint256",
954
+ name: "lastLnImpliedRate",
955
+ type: "uint256",
956
+ },
957
+ ],
958
+ internalType: "struct MarketState",
959
+ name: "market",
960
+ type: "tuple",
961
+ },
962
+ ],
963
+ stateMutability: "view",
964
+ type: "function",
965
+ },
966
+ {
967
+ inputs: [],
968
+ name: "readTokens",
969
+ outputs: [
970
+ {
971
+ internalType: "contract IStandardizedYield",
972
+ name: "_SY",
973
+ type: "address",
974
+ },
975
+ {
976
+ internalType: "contract IPPrincipalToken",
977
+ name: "_PT",
978
+ type: "address",
979
+ },
980
+ {
981
+ internalType: "contract IPYieldToken",
982
+ name: "_YT",
983
+ type: "address",
984
+ },
985
+ ],
986
+ stateMutability: "view",
987
+ type: "function",
988
+ },
989
+ {
990
+ inputs: [
991
+ {
992
+ internalType: "address",
993
+ name: "user",
994
+ type: "address",
995
+ },
996
+ ],
997
+ name: "redeemRewards",
998
+ outputs: [
999
+ {
1000
+ internalType: "uint256[]",
1001
+ name: "",
1002
+ type: "uint256[]",
1003
+ },
1004
+ ],
1005
+ stateMutability: "nonpayable",
1006
+ type: "function",
1007
+ },
1008
+ {
1009
+ inputs: [
1010
+ {
1011
+ internalType: "address",
1012
+ name: "",
1013
+ type: "address",
1014
+ },
1015
+ ],
1016
+ name: "rewardState",
1017
+ outputs: [
1018
+ {
1019
+ internalType: "uint128",
1020
+ name: "index",
1021
+ type: "uint128",
1022
+ },
1023
+ {
1024
+ internalType: "uint128",
1025
+ name: "lastBalance",
1026
+ type: "uint128",
1027
+ },
1028
+ ],
1029
+ stateMutability: "view",
1030
+ type: "function",
1031
+ },
1032
+ {
1033
+ inputs: [],
1034
+ name: "skim",
1035
+ outputs: [],
1036
+ stateMutability: "nonpayable",
1037
+ type: "function",
1038
+ },
1039
+ {
1040
+ inputs: [
1041
+ {
1042
+ internalType: "address",
1043
+ name: "receiver",
1044
+ type: "address",
1045
+ },
1046
+ {
1047
+ internalType: "uint256",
1048
+ name: "exactPtIn",
1049
+ type: "uint256",
1050
+ },
1051
+ {
1052
+ internalType: "bytes",
1053
+ name: "data",
1054
+ type: "bytes",
1055
+ },
1056
+ ],
1057
+ name: "swapExactPtForSy",
1058
+ outputs: [
1059
+ {
1060
+ internalType: "uint256",
1061
+ name: "netSyOut",
1062
+ type: "uint256",
1063
+ },
1064
+ {
1065
+ internalType: "uint256",
1066
+ name: "netSyFee",
1067
+ type: "uint256",
1068
+ },
1069
+ ],
1070
+ stateMutability: "nonpayable",
1071
+ type: "function",
1072
+ },
1073
+ {
1074
+ inputs: [
1075
+ {
1076
+ internalType: "address",
1077
+ name: "receiver",
1078
+ type: "address",
1079
+ },
1080
+ {
1081
+ internalType: "uint256",
1082
+ name: "exactPtOut",
1083
+ type: "uint256",
1084
+ },
1085
+ {
1086
+ internalType: "bytes",
1087
+ name: "data",
1088
+ type: "bytes",
1089
+ },
1090
+ ],
1091
+ name: "swapSyForExactPt",
1092
+ outputs: [
1093
+ {
1094
+ internalType: "uint256",
1095
+ name: "netSyIn",
1096
+ type: "uint256",
1097
+ },
1098
+ {
1099
+ internalType: "uint256",
1100
+ name: "netSyFee",
1101
+ type: "uint256",
1102
+ },
1103
+ ],
1104
+ stateMutability: "nonpayable",
1105
+ type: "function",
1106
+ },
1107
+ {
1108
+ inputs: [],
1109
+ name: "symbol",
1110
+ outputs: [
1111
+ {
1112
+ internalType: "string",
1113
+ name: "",
1114
+ type: "string",
1115
+ },
1116
+ ],
1117
+ stateMutability: "view",
1118
+ type: "function",
1119
+ },
1120
+ {
1121
+ inputs: [],
1122
+ name: "totalActiveSupply",
1123
+ outputs: [
1124
+ {
1125
+ internalType: "uint256",
1126
+ name: "",
1127
+ type: "uint256",
1128
+ },
1129
+ ],
1130
+ stateMutability: "view",
1131
+ type: "function",
1132
+ },
1133
+ {
1134
+ inputs: [],
1135
+ name: "totalSupply",
1136
+ outputs: [
1137
+ {
1138
+ internalType: "uint256",
1139
+ name: "",
1140
+ type: "uint256",
1141
+ },
1142
+ ],
1143
+ stateMutability: "view",
1144
+ type: "function",
1145
+ },
1146
+ {
1147
+ inputs: [
1148
+ {
1149
+ internalType: "address",
1150
+ name: "to",
1151
+ type: "address",
1152
+ },
1153
+ {
1154
+ internalType: "uint256",
1155
+ name: "amount",
1156
+ type: "uint256",
1157
+ },
1158
+ ],
1159
+ name: "transfer",
1160
+ outputs: [
1161
+ {
1162
+ internalType: "bool",
1163
+ name: "",
1164
+ type: "bool",
1165
+ },
1166
+ ],
1167
+ stateMutability: "nonpayable",
1168
+ type: "function",
1169
+ },
1170
+ {
1171
+ inputs: [
1172
+ {
1173
+ internalType: "address",
1174
+ name: "from",
1175
+ type: "address",
1176
+ },
1177
+ {
1178
+ internalType: "address",
1179
+ name: "to",
1180
+ type: "address",
1181
+ },
1182
+ {
1183
+ internalType: "uint256",
1184
+ name: "amount",
1185
+ type: "uint256",
1186
+ },
1187
+ ],
1188
+ name: "transferFrom",
1189
+ outputs: [
1190
+ {
1191
+ internalType: "bool",
1192
+ name: "",
1193
+ type: "bool",
1194
+ },
1195
+ ],
1196
+ stateMutability: "nonpayable",
1197
+ type: "function",
1198
+ },
1199
+ {
1200
+ inputs: [
1201
+ {
1202
+ internalType: "address",
1203
+ name: "",
1204
+ type: "address",
1205
+ },
1206
+ {
1207
+ internalType: "address",
1208
+ name: "",
1209
+ type: "address",
1210
+ },
1211
+ ],
1212
+ name: "userReward",
1213
+ outputs: [
1214
+ {
1215
+ internalType: "uint128",
1216
+ name: "index",
1217
+ type: "uint128",
1218
+ },
1219
+ {
1220
+ internalType: "uint128",
1221
+ name: "accrued",
1222
+ type: "uint128",
1223
+ },
1224
+ ],
1225
+ stateMutability: "view",
1226
+ type: "function",
1227
+ },
1228
+ ];
1229
+ export class PendleMarketV3__factory {
1230
+ static abi = _abi;
1231
+ static createInterface() {
1232
+ return new utils.Interface(_abi);
1233
+ }
1234
+ static connect(address, signerOrProvider) {
1235
+ return new Contract(address, _abi, signerOrProvider);
1236
+ }
1237
+ }