@pendle/core-v2 4.5.1-beta-1 → 4.5.1-beta-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -346,29 +346,56 @@
346
346
  {
347
347
  "indexed": true,
348
348
  "internalType": "address",
349
- "name": "receiver",
349
+ "name": "market",
350
350
  "type": "address"
351
351
  },
352
352
  {
353
353
  "indexed": true,
354
354
  "internalType": "address",
355
- "name": "YT",
355
+ "name": "receiver",
356
356
  "type": "address"
357
357
  },
358
358
  {
359
359
  "indexed": false,
360
360
  "internalType": "uint256",
361
- "name": "netSyIn",
361
+ "name": "netLpIn",
362
362
  "type": "uint256"
363
363
  },
364
364
  {
365
+ "components": [
366
+ {
367
+ "internalType": "uint256",
368
+ "name": "netPtFromRemove",
369
+ "type": "uint256"
370
+ },
371
+ {
372
+ "internalType": "uint256",
373
+ "name": "netSyFromRemove",
374
+ "type": "uint256"
375
+ },
376
+ {
377
+ "internalType": "uint256",
378
+ "name": "netPtRedeem",
379
+ "type": "uint256"
380
+ },
381
+ {
382
+ "internalType": "uint256",
383
+ "name": "netSyFromRedeem",
384
+ "type": "uint256"
385
+ },
386
+ {
387
+ "internalType": "uint256",
388
+ "name": "totalSyOut",
389
+ "type": "uint256"
390
+ }
391
+ ],
365
392
  "indexed": false,
366
- "internalType": "uint256",
367
- "name": "netPyOut",
368
- "type": "uint256"
393
+ "internalType": "struct IPActionMiscV3.ExitPostExpReturnParams",
394
+ "name": "params",
395
+ "type": "tuple"
369
396
  }
370
397
  ],
371
- "name": "MintPyFromSy",
398
+ "name": "ExitPostExpToSy",
372
399
  "type": "event"
373
400
  },
374
401
  {
@@ -383,13 +410,13 @@
383
410
  {
384
411
  "indexed": true,
385
412
  "internalType": "address",
386
- "name": "tokenIn",
413
+ "name": "market",
387
414
  "type": "address"
388
415
  },
389
416
  {
390
417
  "indexed": true,
391
418
  "internalType": "address",
392
- "name": "YT",
419
+ "name": "token",
393
420
  "type": "address"
394
421
  },
395
422
  {
@@ -401,23 +428,50 @@
401
428
  {
402
429
  "indexed": false,
403
430
  "internalType": "uint256",
404
- "name": "netTokenIn",
431
+ "name": "netLpIn",
405
432
  "type": "uint256"
406
433
  },
407
434
  {
408
435
  "indexed": false,
409
436
  "internalType": "uint256",
410
- "name": "netPyOut",
437
+ "name": "totalTokenOut",
411
438
  "type": "uint256"
412
439
  },
413
440
  {
441
+ "components": [
442
+ {
443
+ "internalType": "uint256",
444
+ "name": "netPtFromRemove",
445
+ "type": "uint256"
446
+ },
447
+ {
448
+ "internalType": "uint256",
449
+ "name": "netSyFromRemove",
450
+ "type": "uint256"
451
+ },
452
+ {
453
+ "internalType": "uint256",
454
+ "name": "netPtRedeem",
455
+ "type": "uint256"
456
+ },
457
+ {
458
+ "internalType": "uint256",
459
+ "name": "netSyFromRedeem",
460
+ "type": "uint256"
461
+ },
462
+ {
463
+ "internalType": "uint256",
464
+ "name": "totalSyOut",
465
+ "type": "uint256"
466
+ }
467
+ ],
414
468
  "indexed": false,
415
- "internalType": "uint256",
416
- "name": "netSyInterm",
417
- "type": "uint256"
469
+ "internalType": "struct IPActionMiscV3.ExitPostExpReturnParams",
470
+ "name": "params",
471
+ "type": "tuple"
418
472
  }
419
473
  ],
420
- "name": "MintPyFromToken",
474
+ "name": "ExitPostExpToToken",
421
475
  "type": "event"
422
476
  },
423
477
  {
@@ -432,35 +486,76 @@
432
486
  {
433
487
  "indexed": true,
434
488
  "internalType": "address",
435
- "name": "tokenIn",
489
+ "name": "market",
436
490
  "type": "address"
437
491
  },
438
492
  {
439
493
  "indexed": true,
440
494
  "internalType": "address",
441
- "name": "SY",
442
- "type": "address"
443
- },
444
- {
445
- "indexed": false,
446
- "internalType": "address",
447
495
  "name": "receiver",
448
496
  "type": "address"
449
497
  },
450
498
  {
451
499
  "indexed": false,
452
500
  "internalType": "uint256",
453
- "name": "netTokenIn",
501
+ "name": "netLpToRemove",
454
502
  "type": "uint256"
455
503
  },
456
504
  {
505
+ "components": [
506
+ {
507
+ "internalType": "uint256",
508
+ "name": "netPtFromRemove",
509
+ "type": "uint256"
510
+ },
511
+ {
512
+ "internalType": "uint256",
513
+ "name": "netSyFromRemove",
514
+ "type": "uint256"
515
+ },
516
+ {
517
+ "internalType": "uint256",
518
+ "name": "netPyRedeem",
519
+ "type": "uint256"
520
+ },
521
+ {
522
+ "internalType": "uint256",
523
+ "name": "netSyFromRedeem",
524
+ "type": "uint256"
525
+ },
526
+ {
527
+ "internalType": "uint256",
528
+ "name": "netPtSwap",
529
+ "type": "uint256"
530
+ },
531
+ {
532
+ "internalType": "uint256",
533
+ "name": "netYtSwap",
534
+ "type": "uint256"
535
+ },
536
+ {
537
+ "internalType": "uint256",
538
+ "name": "netSyFromSwap",
539
+ "type": "uint256"
540
+ },
541
+ {
542
+ "internalType": "uint256",
543
+ "name": "netSyFee",
544
+ "type": "uint256"
545
+ },
546
+ {
547
+ "internalType": "uint256",
548
+ "name": "totalSyOut",
549
+ "type": "uint256"
550
+ }
551
+ ],
457
552
  "indexed": false,
458
- "internalType": "uint256",
459
- "name": "netSyOut",
460
- "type": "uint256"
553
+ "internalType": "struct IPActionMiscV3.ExitPreExpReturnParams",
554
+ "name": "params",
555
+ "type": "tuple"
461
556
  }
462
557
  ],
463
- "name": "MintSyFromToken",
558
+ "name": "ExitPreExpToSy",
464
559
  "type": "event"
465
560
  },
466
561
  {
@@ -469,17 +564,94 @@
469
564
  {
470
565
  "indexed": true,
471
566
  "internalType": "address",
472
- "name": "previousOwner",
567
+ "name": "caller",
473
568
  "type": "address"
474
569
  },
475
570
  {
476
571
  "indexed": true,
477
572
  "internalType": "address",
478
- "name": "newOwner",
573
+ "name": "market",
574
+ "type": "address"
575
+ },
576
+ {
577
+ "indexed": true,
578
+ "internalType": "address",
579
+ "name": "token",
580
+ "type": "address"
581
+ },
582
+ {
583
+ "indexed": false,
584
+ "internalType": "address",
585
+ "name": "receiver",
479
586
  "type": "address"
587
+ },
588
+ {
589
+ "indexed": false,
590
+ "internalType": "uint256",
591
+ "name": "netLpToRemove",
592
+ "type": "uint256"
593
+ },
594
+ {
595
+ "indexed": false,
596
+ "internalType": "uint256",
597
+ "name": "totalTokenOut",
598
+ "type": "uint256"
599
+ },
600
+ {
601
+ "components": [
602
+ {
603
+ "internalType": "uint256",
604
+ "name": "netPtFromRemove",
605
+ "type": "uint256"
606
+ },
607
+ {
608
+ "internalType": "uint256",
609
+ "name": "netSyFromRemove",
610
+ "type": "uint256"
611
+ },
612
+ {
613
+ "internalType": "uint256",
614
+ "name": "netPyRedeem",
615
+ "type": "uint256"
616
+ },
617
+ {
618
+ "internalType": "uint256",
619
+ "name": "netSyFromRedeem",
620
+ "type": "uint256"
621
+ },
622
+ {
623
+ "internalType": "uint256",
624
+ "name": "netPtSwap",
625
+ "type": "uint256"
626
+ },
627
+ {
628
+ "internalType": "uint256",
629
+ "name": "netYtSwap",
630
+ "type": "uint256"
631
+ },
632
+ {
633
+ "internalType": "uint256",
634
+ "name": "netSyFromSwap",
635
+ "type": "uint256"
636
+ },
637
+ {
638
+ "internalType": "uint256",
639
+ "name": "netSyFee",
640
+ "type": "uint256"
641
+ },
642
+ {
643
+ "internalType": "uint256",
644
+ "name": "totalSyOut",
645
+ "type": "uint256"
646
+ }
647
+ ],
648
+ "indexed": false,
649
+ "internalType": "struct IPActionMiscV3.ExitPreExpReturnParams",
650
+ "name": "params",
651
+ "type": "tuple"
480
652
  }
481
653
  ],
482
- "name": "OwnershipTransferred",
654
+ "name": "ExitPreExpToToken",
483
655
  "type": "event"
484
656
  },
485
657
  {
@@ -506,17 +678,17 @@
506
678
  {
507
679
  "indexed": false,
508
680
  "internalType": "uint256",
509
- "name": "netPyIn",
681
+ "name": "netSyIn",
510
682
  "type": "uint256"
511
683
  },
512
684
  {
513
685
  "indexed": false,
514
686
  "internalType": "uint256",
515
- "name": "netSyOut",
687
+ "name": "netPyOut",
516
688
  "type": "uint256"
517
689
  }
518
690
  ],
519
- "name": "RedeemPyToSy",
691
+ "name": "MintPyFromSy",
520
692
  "type": "event"
521
693
  },
522
694
  {
@@ -531,7 +703,7 @@
531
703
  {
532
704
  "indexed": true,
533
705
  "internalType": "address",
534
- "name": "tokenOut",
706
+ "name": "tokenIn",
535
707
  "type": "address"
536
708
  },
537
709
  {
@@ -549,13 +721,13 @@
549
721
  {
550
722
  "indexed": false,
551
723
  "internalType": "uint256",
552
- "name": "netPyIn",
724
+ "name": "netTokenIn",
553
725
  "type": "uint256"
554
726
  },
555
727
  {
556
728
  "indexed": false,
557
729
  "internalType": "uint256",
558
- "name": "netTokenOut",
730
+ "name": "netPyOut",
559
731
  "type": "uint256"
560
732
  },
561
733
  {
@@ -565,7 +737,7 @@
565
737
  "type": "uint256"
566
738
  }
567
739
  ],
568
- "name": "RedeemPyToToken",
740
+ "name": "MintPyFromToken",
569
741
  "type": "event"
570
742
  },
571
743
  {
@@ -580,7 +752,7 @@
580
752
  {
581
753
  "indexed": true,
582
754
  "internalType": "address",
583
- "name": "tokenOut",
755
+ "name": "tokenIn",
584
756
  "type": "address"
585
757
  },
586
758
  {
@@ -598,17 +770,17 @@
598
770
  {
599
771
  "indexed": false,
600
772
  "internalType": "uint256",
601
- "name": "netSyIn",
773
+ "name": "netTokenIn",
602
774
  "type": "uint256"
603
775
  },
604
776
  {
605
777
  "indexed": false,
606
778
  "internalType": "uint256",
607
- "name": "netTokenOut",
779
+ "name": "netSyOut",
608
780
  "type": "uint256"
609
781
  }
610
782
  ],
611
- "name": "RedeemSyToToken",
783
+ "name": "MintSyFromToken",
612
784
  "type": "event"
613
785
  },
614
786
  {
@@ -617,13 +789,26 @@
617
789
  {
618
790
  "indexed": true,
619
791
  "internalType": "address",
620
- "name": "caller",
792
+ "name": "previousOwner",
621
793
  "type": "address"
622
794
  },
623
795
  {
624
796
  "indexed": true,
625
797
  "internalType": "address",
626
- "name": "market",
798
+ "name": "newOwner",
799
+ "type": "address"
800
+ }
801
+ ],
802
+ "name": "OwnershipTransferred",
803
+ "type": "event"
804
+ },
805
+ {
806
+ "anonymous": false,
807
+ "inputs": [
808
+ {
809
+ "indexed": true,
810
+ "internalType": "address",
811
+ "name": "caller",
627
812
  "type": "address"
628
813
  },
629
814
  {
@@ -633,15 +818,15 @@
633
818
  "type": "address"
634
819
  },
635
820
  {
636
- "indexed": false,
637
- "internalType": "uint256",
638
- "name": "netLpToRemove",
639
- "type": "uint256"
821
+ "indexed": true,
822
+ "internalType": "address",
823
+ "name": "YT",
824
+ "type": "address"
640
825
  },
641
826
  {
642
827
  "indexed": false,
643
828
  "internalType": "uint256",
644
- "name": "netPtOut",
829
+ "name": "netPyIn",
645
830
  "type": "uint256"
646
831
  },
647
832
  {
@@ -651,7 +836,7 @@
651
836
  "type": "uint256"
652
837
  }
653
838
  ],
654
- "name": "RemoveLiquidityDualSyAndPt",
839
+ "name": "RedeemPyToSy",
655
840
  "type": "event"
656
841
  },
657
842
  {
@@ -666,13 +851,13 @@
666
851
  {
667
852
  "indexed": true,
668
853
  "internalType": "address",
669
- "name": "market",
854
+ "name": "tokenOut",
670
855
  "type": "address"
671
856
  },
672
857
  {
673
858
  "indexed": true,
674
859
  "internalType": "address",
675
- "name": "tokenOut",
860
+ "name": "YT",
676
861
  "type": "address"
677
862
  },
678
863
  {
@@ -684,13 +869,7 @@
684
869
  {
685
870
  "indexed": false,
686
871
  "internalType": "uint256",
687
- "name": "netLpToRemove",
688
- "type": "uint256"
689
- },
690
- {
691
- "indexed": false,
692
- "internalType": "uint256",
693
- "name": "netPtOut",
872
+ "name": "netPyIn",
694
873
  "type": "uint256"
695
874
  },
696
875
  {
@@ -706,7 +885,7 @@
706
885
  "type": "uint256"
707
886
  }
708
887
  ],
709
- "name": "RemoveLiquidityDualTokenAndPt",
888
+ "name": "RedeemPyToToken",
710
889
  "type": "event"
711
890
  },
712
891
  {
@@ -721,7 +900,148 @@
721
900
  {
722
901
  "indexed": true,
723
902
  "internalType": "address",
724
- "name": "market",
903
+ "name": "tokenOut",
904
+ "type": "address"
905
+ },
906
+ {
907
+ "indexed": true,
908
+ "internalType": "address",
909
+ "name": "SY",
910
+ "type": "address"
911
+ },
912
+ {
913
+ "indexed": false,
914
+ "internalType": "address",
915
+ "name": "receiver",
916
+ "type": "address"
917
+ },
918
+ {
919
+ "indexed": false,
920
+ "internalType": "uint256",
921
+ "name": "netSyIn",
922
+ "type": "uint256"
923
+ },
924
+ {
925
+ "indexed": false,
926
+ "internalType": "uint256",
927
+ "name": "netTokenOut",
928
+ "type": "uint256"
929
+ }
930
+ ],
931
+ "name": "RedeemSyToToken",
932
+ "type": "event"
933
+ },
934
+ {
935
+ "anonymous": false,
936
+ "inputs": [
937
+ {
938
+ "indexed": true,
939
+ "internalType": "address",
940
+ "name": "caller",
941
+ "type": "address"
942
+ },
943
+ {
944
+ "indexed": true,
945
+ "internalType": "address",
946
+ "name": "market",
947
+ "type": "address"
948
+ },
949
+ {
950
+ "indexed": true,
951
+ "internalType": "address",
952
+ "name": "receiver",
953
+ "type": "address"
954
+ },
955
+ {
956
+ "indexed": false,
957
+ "internalType": "uint256",
958
+ "name": "netLpToRemove",
959
+ "type": "uint256"
960
+ },
961
+ {
962
+ "indexed": false,
963
+ "internalType": "uint256",
964
+ "name": "netPtOut",
965
+ "type": "uint256"
966
+ },
967
+ {
968
+ "indexed": false,
969
+ "internalType": "uint256",
970
+ "name": "netSyOut",
971
+ "type": "uint256"
972
+ }
973
+ ],
974
+ "name": "RemoveLiquidityDualSyAndPt",
975
+ "type": "event"
976
+ },
977
+ {
978
+ "anonymous": false,
979
+ "inputs": [
980
+ {
981
+ "indexed": true,
982
+ "internalType": "address",
983
+ "name": "caller",
984
+ "type": "address"
985
+ },
986
+ {
987
+ "indexed": true,
988
+ "internalType": "address",
989
+ "name": "market",
990
+ "type": "address"
991
+ },
992
+ {
993
+ "indexed": true,
994
+ "internalType": "address",
995
+ "name": "tokenOut",
996
+ "type": "address"
997
+ },
998
+ {
999
+ "indexed": false,
1000
+ "internalType": "address",
1001
+ "name": "receiver",
1002
+ "type": "address"
1003
+ },
1004
+ {
1005
+ "indexed": false,
1006
+ "internalType": "uint256",
1007
+ "name": "netLpToRemove",
1008
+ "type": "uint256"
1009
+ },
1010
+ {
1011
+ "indexed": false,
1012
+ "internalType": "uint256",
1013
+ "name": "netPtOut",
1014
+ "type": "uint256"
1015
+ },
1016
+ {
1017
+ "indexed": false,
1018
+ "internalType": "uint256",
1019
+ "name": "netTokenOut",
1020
+ "type": "uint256"
1021
+ },
1022
+ {
1023
+ "indexed": false,
1024
+ "internalType": "uint256",
1025
+ "name": "netSyInterm",
1026
+ "type": "uint256"
1027
+ }
1028
+ ],
1029
+ "name": "RemoveLiquidityDualTokenAndPt",
1030
+ "type": "event"
1031
+ },
1032
+ {
1033
+ "anonymous": false,
1034
+ "inputs": [
1035
+ {
1036
+ "indexed": true,
1037
+ "internalType": "address",
1038
+ "name": "caller",
1039
+ "type": "address"
1040
+ },
1041
+ {
1042
+ "indexed": true,
1043
+ "internalType": "address",
1044
+ "name": "market",
725
1045
  "type": "address"
726
1046
  },
727
1047
  {
@@ -2216,6 +2536,72 @@
2216
2536
  "stateMutability": "nonpayable",
2217
2537
  "type": "function"
2218
2538
  },
2539
+ {
2540
+ "inputs": [
2541
+ {
2542
+ "internalType": "address",
2543
+ "name": "receiver",
2544
+ "type": "address"
2545
+ },
2546
+ {
2547
+ "internalType": "address",
2548
+ "name": "market",
2549
+ "type": "address"
2550
+ },
2551
+ {
2552
+ "internalType": "uint256",
2553
+ "name": "netPtIn",
2554
+ "type": "uint256"
2555
+ },
2556
+ {
2557
+ "internalType": "uint256",
2558
+ "name": "netLpIn",
2559
+ "type": "uint256"
2560
+ },
2561
+ {
2562
+ "internalType": "uint256",
2563
+ "name": "minSyOut",
2564
+ "type": "uint256"
2565
+ }
2566
+ ],
2567
+ "name": "exitPostExpToSy",
2568
+ "outputs": [
2569
+ {
2570
+ "components": [
2571
+ {
2572
+ "internalType": "uint256",
2573
+ "name": "netPtFromRemove",
2574
+ "type": "uint256"
2575
+ },
2576
+ {
2577
+ "internalType": "uint256",
2578
+ "name": "netSyFromRemove",
2579
+ "type": "uint256"
2580
+ },
2581
+ {
2582
+ "internalType": "uint256",
2583
+ "name": "netPtRedeem",
2584
+ "type": "uint256"
2585
+ },
2586
+ {
2587
+ "internalType": "uint256",
2588
+ "name": "netSyFromRedeem",
2589
+ "type": "uint256"
2590
+ },
2591
+ {
2592
+ "internalType": "uint256",
2593
+ "name": "totalSyOut",
2594
+ "type": "uint256"
2595
+ }
2596
+ ],
2597
+ "internalType": "struct IPActionMiscV3.ExitPostExpReturnParams",
2598
+ "name": "params",
2599
+ "type": "tuple"
2600
+ }
2601
+ ],
2602
+ "stateMutability": "nonpayable",
2603
+ "type": "function"
2604
+ },
2219
2605
  {
2220
2606
  "inputs": [
2221
2607
  {
@@ -2293,7 +2679,7 @@
2293
2679
  "type": "tuple"
2294
2680
  }
2295
2681
  ],
2296
- "name": "exitMultiplePostExpiry",
2682
+ "name": "exitPostExpToToken",
2297
2683
  "outputs": [
2298
2684
  {
2299
2685
  "internalType": "uint256",
@@ -2301,24 +2687,36 @@
2301
2687
  "type": "uint256"
2302
2688
  },
2303
2689
  {
2304
- "internalType": "uint256",
2305
- "name": "netPtFromRemove",
2306
- "type": "uint256"
2307
- },
2308
- {
2309
- "internalType": "uint256",
2310
- "name": "netSyFromRemove",
2311
- "type": "uint256"
2312
- },
2313
- {
2314
- "internalType": "uint256",
2315
- "name": "netPtRedeem",
2316
- "type": "uint256"
2317
- },
2318
- {
2319
- "internalType": "uint256",
2320
- "name": "netSyFromRedeem",
2321
- "type": "uint256"
2690
+ "components": [
2691
+ {
2692
+ "internalType": "uint256",
2693
+ "name": "netPtFromRemove",
2694
+ "type": "uint256"
2695
+ },
2696
+ {
2697
+ "internalType": "uint256",
2698
+ "name": "netSyFromRemove",
2699
+ "type": "uint256"
2700
+ },
2701
+ {
2702
+ "internalType": "uint256",
2703
+ "name": "netPtRedeem",
2704
+ "type": "uint256"
2705
+ },
2706
+ {
2707
+ "internalType": "uint256",
2708
+ "name": "netSyFromRedeem",
2709
+ "type": "uint256"
2710
+ },
2711
+ {
2712
+ "internalType": "uint256",
2713
+ "name": "totalSyOut",
2714
+ "type": "uint256"
2715
+ }
2716
+ ],
2717
+ "internalType": "struct IPActionMiscV3.ExitPostExpReturnParams",
2718
+ "name": "params",
2719
+ "type": "tuple"
2322
2720
  }
2323
2721
  ],
2324
2722
  "stateMutability": "nonpayable",
@@ -2351,28 +2749,309 @@
2351
2749
  "name": "netLpIn",
2352
2750
  "type": "uint256"
2353
2751
  },
2752
+ {
2753
+ "internalType": "uint256",
2754
+ "name": "minSyOut",
2755
+ "type": "uint256"
2756
+ },
2354
2757
  {
2355
2758
  "components": [
2356
2759
  {
2357
2760
  "internalType": "address",
2358
- "name": "tokenOut",
2761
+ "name": "limitRouter",
2359
2762
  "type": "address"
2360
2763
  },
2361
2764
  {
2362
2765
  "internalType": "uint256",
2363
- "name": "minTokenOut",
2766
+ "name": "epsSkipMarket",
2364
2767
  "type": "uint256"
2365
2768
  },
2366
- {
2367
- "internalType": "address",
2368
- "name": "tokenRedeemSy",
2369
- "type": "address"
2370
- },
2371
- {
2372
- "internalType": "address",
2373
- "name": "pendleSwap",
2374
- "type": "address"
2375
- },
2769
+ {
2770
+ "components": [
2771
+ {
2772
+ "components": [
2773
+ {
2774
+ "internalType": "uint256",
2775
+ "name": "salt",
2776
+ "type": "uint256"
2777
+ },
2778
+ {
2779
+ "internalType": "uint256",
2780
+ "name": "expiry",
2781
+ "type": "uint256"
2782
+ },
2783
+ {
2784
+ "internalType": "uint256",
2785
+ "name": "nonce",
2786
+ "type": "uint256"
2787
+ },
2788
+ {
2789
+ "internalType": "enum IPLimitOrderType.OrderType",
2790
+ "name": "orderType",
2791
+ "type": "uint8"
2792
+ },
2793
+ {
2794
+ "internalType": "address",
2795
+ "name": "token",
2796
+ "type": "address"
2797
+ },
2798
+ {
2799
+ "internalType": "address",
2800
+ "name": "YT",
2801
+ "type": "address"
2802
+ },
2803
+ {
2804
+ "internalType": "address",
2805
+ "name": "maker",
2806
+ "type": "address"
2807
+ },
2808
+ {
2809
+ "internalType": "address",
2810
+ "name": "receiver",
2811
+ "type": "address"
2812
+ },
2813
+ {
2814
+ "internalType": "uint256",
2815
+ "name": "makingAmount",
2816
+ "type": "uint256"
2817
+ },
2818
+ {
2819
+ "internalType": "uint256",
2820
+ "name": "lnImpliedRate",
2821
+ "type": "uint256"
2822
+ },
2823
+ {
2824
+ "internalType": "uint256",
2825
+ "name": "failSafeRate",
2826
+ "type": "uint256"
2827
+ },
2828
+ {
2829
+ "internalType": "bytes",
2830
+ "name": "permit",
2831
+ "type": "bytes"
2832
+ }
2833
+ ],
2834
+ "internalType": "struct Order",
2835
+ "name": "order",
2836
+ "type": "tuple"
2837
+ },
2838
+ {
2839
+ "internalType": "bytes",
2840
+ "name": "signature",
2841
+ "type": "bytes"
2842
+ },
2843
+ {
2844
+ "internalType": "uint256",
2845
+ "name": "makingAmount",
2846
+ "type": "uint256"
2847
+ }
2848
+ ],
2849
+ "internalType": "struct FillOrderParams[]",
2850
+ "name": "normalFills",
2851
+ "type": "tuple[]"
2852
+ },
2853
+ {
2854
+ "components": [
2855
+ {
2856
+ "components": [
2857
+ {
2858
+ "internalType": "uint256",
2859
+ "name": "salt",
2860
+ "type": "uint256"
2861
+ },
2862
+ {
2863
+ "internalType": "uint256",
2864
+ "name": "expiry",
2865
+ "type": "uint256"
2866
+ },
2867
+ {
2868
+ "internalType": "uint256",
2869
+ "name": "nonce",
2870
+ "type": "uint256"
2871
+ },
2872
+ {
2873
+ "internalType": "enum IPLimitOrderType.OrderType",
2874
+ "name": "orderType",
2875
+ "type": "uint8"
2876
+ },
2877
+ {
2878
+ "internalType": "address",
2879
+ "name": "token",
2880
+ "type": "address"
2881
+ },
2882
+ {
2883
+ "internalType": "address",
2884
+ "name": "YT",
2885
+ "type": "address"
2886
+ },
2887
+ {
2888
+ "internalType": "address",
2889
+ "name": "maker",
2890
+ "type": "address"
2891
+ },
2892
+ {
2893
+ "internalType": "address",
2894
+ "name": "receiver",
2895
+ "type": "address"
2896
+ },
2897
+ {
2898
+ "internalType": "uint256",
2899
+ "name": "makingAmount",
2900
+ "type": "uint256"
2901
+ },
2902
+ {
2903
+ "internalType": "uint256",
2904
+ "name": "lnImpliedRate",
2905
+ "type": "uint256"
2906
+ },
2907
+ {
2908
+ "internalType": "uint256",
2909
+ "name": "failSafeRate",
2910
+ "type": "uint256"
2911
+ },
2912
+ {
2913
+ "internalType": "bytes",
2914
+ "name": "permit",
2915
+ "type": "bytes"
2916
+ }
2917
+ ],
2918
+ "internalType": "struct Order",
2919
+ "name": "order",
2920
+ "type": "tuple"
2921
+ },
2922
+ {
2923
+ "internalType": "bytes",
2924
+ "name": "signature",
2925
+ "type": "bytes"
2926
+ },
2927
+ {
2928
+ "internalType": "uint256",
2929
+ "name": "makingAmount",
2930
+ "type": "uint256"
2931
+ }
2932
+ ],
2933
+ "internalType": "struct FillOrderParams[]",
2934
+ "name": "flashFills",
2935
+ "type": "tuple[]"
2936
+ },
2937
+ {
2938
+ "internalType": "bytes",
2939
+ "name": "optData",
2940
+ "type": "bytes"
2941
+ }
2942
+ ],
2943
+ "internalType": "struct LimitOrderData",
2944
+ "name": "limit",
2945
+ "type": "tuple"
2946
+ }
2947
+ ],
2948
+ "name": "exitPreExpToSy",
2949
+ "outputs": [
2950
+ {
2951
+ "components": [
2952
+ {
2953
+ "internalType": "uint256",
2954
+ "name": "netPtFromRemove",
2955
+ "type": "uint256"
2956
+ },
2957
+ {
2958
+ "internalType": "uint256",
2959
+ "name": "netSyFromRemove",
2960
+ "type": "uint256"
2961
+ },
2962
+ {
2963
+ "internalType": "uint256",
2964
+ "name": "netPyRedeem",
2965
+ "type": "uint256"
2966
+ },
2967
+ {
2968
+ "internalType": "uint256",
2969
+ "name": "netSyFromRedeem",
2970
+ "type": "uint256"
2971
+ },
2972
+ {
2973
+ "internalType": "uint256",
2974
+ "name": "netPtSwap",
2975
+ "type": "uint256"
2976
+ },
2977
+ {
2978
+ "internalType": "uint256",
2979
+ "name": "netYtSwap",
2980
+ "type": "uint256"
2981
+ },
2982
+ {
2983
+ "internalType": "uint256",
2984
+ "name": "netSyFromSwap",
2985
+ "type": "uint256"
2986
+ },
2987
+ {
2988
+ "internalType": "uint256",
2989
+ "name": "netSyFee",
2990
+ "type": "uint256"
2991
+ },
2992
+ {
2993
+ "internalType": "uint256",
2994
+ "name": "totalSyOut",
2995
+ "type": "uint256"
2996
+ }
2997
+ ],
2998
+ "internalType": "struct IPActionMiscV3.ExitPreExpReturnParams",
2999
+ "name": "params",
3000
+ "type": "tuple"
3001
+ }
3002
+ ],
3003
+ "stateMutability": "nonpayable",
3004
+ "type": "function"
3005
+ },
3006
+ {
3007
+ "inputs": [
3008
+ {
3009
+ "internalType": "address",
3010
+ "name": "receiver",
3011
+ "type": "address"
3012
+ },
3013
+ {
3014
+ "internalType": "address",
3015
+ "name": "market",
3016
+ "type": "address"
3017
+ },
3018
+ {
3019
+ "internalType": "uint256",
3020
+ "name": "netPtIn",
3021
+ "type": "uint256"
3022
+ },
3023
+ {
3024
+ "internalType": "uint256",
3025
+ "name": "netYtIn",
3026
+ "type": "uint256"
3027
+ },
3028
+ {
3029
+ "internalType": "uint256",
3030
+ "name": "netLpIn",
3031
+ "type": "uint256"
3032
+ },
3033
+ {
3034
+ "components": [
3035
+ {
3036
+ "internalType": "address",
3037
+ "name": "tokenOut",
3038
+ "type": "address"
3039
+ },
3040
+ {
3041
+ "internalType": "uint256",
3042
+ "name": "minTokenOut",
3043
+ "type": "uint256"
3044
+ },
3045
+ {
3046
+ "internalType": "address",
3047
+ "name": "tokenRedeemSy",
3048
+ "type": "address"
3049
+ },
3050
+ {
3051
+ "internalType": "address",
3052
+ "name": "pendleSwap",
3053
+ "type": "address"
3054
+ },
2376
3055
  {
2377
3056
  "components": [
2378
3057
  {
@@ -2596,7 +3275,7 @@
2596
3275
  "type": "tuple"
2597
3276
  }
2598
3277
  ],
2599
- "name": "exitMultiplePreExpiry",
3278
+ "name": "exitPreExpToToken",
2600
3279
  "outputs": [
2601
3280
  {
2602
3281
  "internalType": "uint256",
@@ -2604,44 +3283,56 @@
2604
3283
  "type": "uint256"
2605
3284
  },
2606
3285
  {
2607
- "internalType": "uint256",
2608
- "name": "netPtFromRemove",
2609
- "type": "uint256"
2610
- },
2611
- {
2612
- "internalType": "uint256",
2613
- "name": "netSyFromRemove",
2614
- "type": "uint256"
2615
- },
2616
- {
2617
- "internalType": "uint256",
2618
- "name": "netPyRedeem",
2619
- "type": "uint256"
2620
- },
2621
- {
2622
- "internalType": "uint256",
2623
- "name": "netSyFromRedeem",
2624
- "type": "uint256"
2625
- },
2626
- {
2627
- "internalType": "uint256",
2628
- "name": "netPtSwap",
2629
- "type": "uint256"
2630
- },
2631
- {
2632
- "internalType": "uint256",
2633
- "name": "netYtSwap",
2634
- "type": "uint256"
2635
- },
2636
- {
2637
- "internalType": "uint256",
2638
- "name": "netSyFromSwap",
2639
- "type": "uint256"
2640
- },
2641
- {
2642
- "internalType": "uint256",
2643
- "name": "netSyFee",
2644
- "type": "uint256"
3286
+ "components": [
3287
+ {
3288
+ "internalType": "uint256",
3289
+ "name": "netPtFromRemove",
3290
+ "type": "uint256"
3291
+ },
3292
+ {
3293
+ "internalType": "uint256",
3294
+ "name": "netSyFromRemove",
3295
+ "type": "uint256"
3296
+ },
3297
+ {
3298
+ "internalType": "uint256",
3299
+ "name": "netPyRedeem",
3300
+ "type": "uint256"
3301
+ },
3302
+ {
3303
+ "internalType": "uint256",
3304
+ "name": "netSyFromRedeem",
3305
+ "type": "uint256"
3306
+ },
3307
+ {
3308
+ "internalType": "uint256",
3309
+ "name": "netPtSwap",
3310
+ "type": "uint256"
3311
+ },
3312
+ {
3313
+ "internalType": "uint256",
3314
+ "name": "netYtSwap",
3315
+ "type": "uint256"
3316
+ },
3317
+ {
3318
+ "internalType": "uint256",
3319
+ "name": "netSyFromSwap",
3320
+ "type": "uint256"
3321
+ },
3322
+ {
3323
+ "internalType": "uint256",
3324
+ "name": "netSyFee",
3325
+ "type": "uint256"
3326
+ },
3327
+ {
3328
+ "internalType": "uint256",
3329
+ "name": "totalSyOut",
3330
+ "type": "uint256"
3331
+ }
3332
+ ],
3333
+ "internalType": "struct IPActionMiscV3.ExitPreExpReturnParams",
3334
+ "name": "params",
3335
+ "type": "tuple"
2645
3336
  }
2646
3337
  ],
2647
3338
  "stateMutability": "nonpayable",