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

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 (116) hide show
  1. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol/PendleERC20WithSupplyCapSY.dbg.json +1 -1
  2. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol/PendleERC20WithSupplyCapSY.json +2 -2
  3. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol/PendleSwellRswETHStakingSY.dbg.json +4 -0
  4. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol/PendleSwellRswETHStakingSY.json +1049 -0
  5. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellStakingERC20SY.sol/PendleSwellStakingERC20SY.dbg.json +4 -0
  6. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellStakingERC20SY.sol/PendleSwellStakingERC20SY.json +1039 -0
  7. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  8. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +32 -1154
  9. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  10. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +60 -1182
  11. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +4 -0
  12. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.json +60 -0
  13. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +4 -0
  14. package/build/artifacts/contracts/interfaces/{IPPtLpOracle.sol/IPPtLpOracle.json → IPPYLpOracle.sol/IPPYLpOracle.json} +50 -2
  15. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +4 -0
  16. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.json +25 -0
  17. package/build/artifacts/contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol/ISwellSimpleStakingERC20.dbg.json +4 -0
  18. package/build/artifacts/contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol/ISwellSimpleStakingERC20.json +207 -0
  19. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +4 -0
  20. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.json +401 -0
  21. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  22. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  23. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  24. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  25. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  26. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  27. package/build/artifacts/contracts/oracles/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +4 -0
  28. package/build/artifacts/contracts/oracles/PendlePYLpOracle.sol/PendlePYLpOracle.json +422 -0
  29. package/build/artifacts/contracts/oracles/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +4 -0
  30. package/build/artifacts/contracts/oracles/{PendlePtOracleLib.sol/PendlePtOracleLib.json → PendlePYOracleLib.sol/PendlePYOracleLib.json} +4 -4
  31. package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +1 -1
  32. package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.json +2 -2
  33. package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +4 -0
  34. package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +183 -0
  35. package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +4 -0
  36. package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +183 -0
  37. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  38. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  39. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  40. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +34 -1156
  41. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  42. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  43. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  44. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  45. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  46. package/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol +6 -1
  47. package/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol +56 -0
  48. package/contracts/core/StandardizedYield/implementations/Swell/PendleSwellStakingERC20SY.sol +111 -0
  49. package/contracts/interfaces/IPActionMiscV3.sol +0 -92
  50. package/contracts/interfaces/IPGovernanceProxy.sol +14 -0
  51. package/contracts/interfaces/{IPPtLpOracle.sol → IPPYLpOracle.sol} +5 -1
  52. package/contracts/interfaces/IPPausingInterface.sol +8 -0
  53. package/contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol +66 -0
  54. package/contracts/offchain-helpers/PendleGovernanceProxy.sol +84 -0
  55. package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +12 -4
  56. package/contracts/oracles/PendleLpOracleLib.sol +4 -4
  57. package/contracts/oracles/{PendlePtLpOracle.sol → PendlePYLpOracle.sol} +44 -16
  58. package/contracts/oracles/{PendlePtOracleLib.sol → PendlePYOracleLib.sol} +31 -1
  59. package/contracts/oracles/samples/BoringLpGlpOracle.sol +2 -2
  60. package/contracts/oracles/samples/{BoringPtUsdChainlinkOracle.sol → BoringPYUsdChainlinkAssetOracle.sol} +36 -12
  61. package/contracts/oracles/samples/BoringPYUsdChainlinkSYOracle.sol +102 -0
  62. package/contracts/router/ActionMiscV3.sol +36 -150
  63. package/contracts/router/ActionSwapYTV3.sol +85 -0
  64. package/contracts/router/base/ActionBase.sol +1 -106
  65. package/deployments/1-markets/EZETH-MAINNET-SEP2024.json +11 -0
  66. package/deployments/1-markets/PUFETH-MAINNET-SEP2024.json +11 -0
  67. package/deployments/1-markets/RSETH-MAINNET-SEP2024.json +11 -0
  68. package/deployments/1-markets/RSWETH-SWELL-STAKING-MAINNET-JUL2024.json +11 -0
  69. package/deployments/1-markets/SUSDE-MAINNET-SEP2024.json +13 -0
  70. package/deployments/1-markets/WEETH-MAINNET-SEP2024.json +11 -0
  71. package/deployments/42161-markets/EZETH-ARB-SEP2024.json +11 -0
  72. package/deployments/42161-markets/RSETH-ARBITRUM-SEP2024.json +11 -0
  73. package/deployments/42161-markets/SILO-PTEETH-ARBITRUM-JUNE2024.json +11 -0
  74. package/deployments/42161-markets/SILO-PTEZETH-ARBITRUM-JUNE2024.json +11 -0
  75. package/deployments/42161-markets/WEETH-ARB-SEP2024.json +11 -0
  76. package/deployments/56-markets/WEETH-BSC-SEP2024.json +11 -0
  77. package/package.json +1 -1
  78. package/typechain-types/ActionMiscV3.ts +16 -573
  79. package/typechain-types/BoringPYUsdChainlinkAssetOracle.ts +244 -0
  80. package/typechain-types/BoringPYUsdChainlinkSYOracle.ts +243 -0
  81. package/typechain-types/IPActionMiscV3.ts +16 -573
  82. package/typechain-types/IPAllActionV3.ts +0 -480
  83. package/typechain-types/IPGovernanceProxy.ts +142 -0
  84. package/typechain-types/IPPYLpOracle.ts +379 -0
  85. package/typechain-types/IPPausingInterface.ts +112 -0
  86. package/typechain-types/PendleGovernanceProxy.ts +603 -0
  87. package/typechain-types/PendlePYLpOracle.ts +612 -0
  88. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  89. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  90. package/typechain-types/factories/ActionMiscV3__factory.ts +33 -1155
  91. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  92. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  93. package/typechain-types/factories/BoringLpGlpOracle__factory.ts +1 -1
  94. package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +269 -0
  95. package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +267 -0
  96. package/typechain-types/factories/IPActionMiscV3__factory.ts +32 -1154
  97. package/typechain-types/factories/IPAllActionV3__factory.ts +60 -1182
  98. package/typechain-types/factories/IPGovernanceProxy__factory.ts +75 -0
  99. package/typechain-types/factories/IPPYLpOracle__factory.ts +214 -0
  100. package/typechain-types/factories/IPPausingInterface__factory.ts +40 -0
  101. package/typechain-types/factories/PendleERC20WithSupplyCapSY__factory.ts +1 -1
  102. package/typechain-types/factories/PendleGovernanceProxy__factory.ts +458 -0
  103. package/typechain-types/factories/PendlePYLpOracle__factory.ts +487 -0
  104. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  105. package/typechain-types/factories/PendleSwellRswETHStakingSY__factory.ts +1 -1
  106. package/typechain-types/hardhat.d.ts +90 -0
  107. package/typechain-types/index.ts +20 -0
  108. package/build/artifacts/contracts/interfaces/IPPtLpOracle.sol/IPPtLpOracle.dbg.json +0 -4
  109. package/build/artifacts/contracts/oracles/PendlePtLpOracle.sol/PendlePtLpOracle.dbg.json +0 -4
  110. package/build/artifacts/contracts/oracles/PendlePtLpOracle.sol/PendlePtLpOracle.json +0 -367
  111. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +0 -4
  112. package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.dbg.json +0 -4
  113. package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.json +0 -157
  114. /package/deployments/1-markets/{EZETH-JUNE2024.json → EZETH-APR2024.json} +0 -0
  115. /package/deployments/42161-markets/{RSETH-MAY2024.json → RSETH-JUNE2024.json} +0 -0
  116. /package/deployments/42161-markets/{WEETH-MAY2024.json → WEETH-JUNE2024.json} +0 -0
@@ -350,56 +350,29 @@ const _abi = [
350
350
  {
351
351
  indexed: true,
352
352
  internalType: "address",
353
- name: "market",
353
+ name: "receiver",
354
354
  type: "address",
355
355
  },
356
356
  {
357
357
  indexed: true,
358
358
  internalType: "address",
359
- name: "receiver",
359
+ name: "YT",
360
360
  type: "address",
361
361
  },
362
362
  {
363
363
  indexed: false,
364
364
  internalType: "uint256",
365
- name: "netLpIn",
365
+ name: "netSyIn",
366
366
  type: "uint256",
367
367
  },
368
368
  {
369
- components: [
370
- {
371
- internalType: "uint256",
372
- name: "netPtFromRemove",
373
- type: "uint256",
374
- },
375
- {
376
- internalType: "uint256",
377
- name: "netSyFromRemove",
378
- type: "uint256",
379
- },
380
- {
381
- internalType: "uint256",
382
- name: "netPtRedeem",
383
- type: "uint256",
384
- },
385
- {
386
- internalType: "uint256",
387
- name: "netSyFromRedeem",
388
- type: "uint256",
389
- },
390
- {
391
- internalType: "uint256",
392
- name: "totalSyOut",
393
- type: "uint256",
394
- },
395
- ],
396
369
  indexed: false,
397
- internalType: "struct IPActionMiscV3.ExitPostExpReturnParams",
398
- name: "params",
399
- type: "tuple",
370
+ internalType: "uint256",
371
+ name: "netPyOut",
372
+ type: "uint256",
400
373
  },
401
374
  ],
402
- name: "ExitPostExpToSy",
375
+ name: "MintPyFromSy",
403
376
  type: "event",
404
377
  },
405
378
  {
@@ -414,13 +387,13 @@ const _abi = [
414
387
  {
415
388
  indexed: true,
416
389
  internalType: "address",
417
- name: "market",
390
+ name: "tokenIn",
418
391
  type: "address",
419
392
  },
420
393
  {
421
394
  indexed: true,
422
395
  internalType: "address",
423
- name: "token",
396
+ name: "YT",
424
397
  type: "address",
425
398
  },
426
399
  {
@@ -432,50 +405,23 @@ const _abi = [
432
405
  {
433
406
  indexed: false,
434
407
  internalType: "uint256",
435
- name: "netLpIn",
408
+ name: "netTokenIn",
436
409
  type: "uint256",
437
410
  },
438
411
  {
439
412
  indexed: false,
440
413
  internalType: "uint256",
441
- name: "totalTokenOut",
414
+ name: "netPyOut",
442
415
  type: "uint256",
443
416
  },
444
417
  {
445
- components: [
446
- {
447
- internalType: "uint256",
448
- name: "netPtFromRemove",
449
- type: "uint256",
450
- },
451
- {
452
- internalType: "uint256",
453
- name: "netSyFromRemove",
454
- type: "uint256",
455
- },
456
- {
457
- internalType: "uint256",
458
- name: "netPtRedeem",
459
- type: "uint256",
460
- },
461
- {
462
- internalType: "uint256",
463
- name: "netSyFromRedeem",
464
- type: "uint256",
465
- },
466
- {
467
- internalType: "uint256",
468
- name: "totalSyOut",
469
- type: "uint256",
470
- },
471
- ],
472
418
  indexed: false,
473
- internalType: "struct IPActionMiscV3.ExitPostExpReturnParams",
474
- name: "params",
475
- type: "tuple",
419
+ internalType: "uint256",
420
+ name: "netSyInterm",
421
+ type: "uint256",
476
422
  },
477
423
  ],
478
- name: "ExitPostExpToToken",
424
+ name: "MintPyFromToken",
479
425
  type: "event",
480
426
  },
481
427
  {
@@ -490,76 +436,35 @@ const _abi = [
490
436
  {
491
437
  indexed: true,
492
438
  internalType: "address",
493
- name: "market",
439
+ name: "tokenIn",
494
440
  type: "address",
495
441
  },
496
442
  {
497
443
  indexed: true,
498
444
  internalType: "address",
445
+ name: "SY",
446
+ type: "address",
447
+ },
448
+ {
449
+ indexed: false,
450
+ internalType: "address",
499
451
  name: "receiver",
500
452
  type: "address",
501
453
  },
502
454
  {
503
455
  indexed: false,
504
456
  internalType: "uint256",
505
- name: "netLpToRemove",
457
+ name: "netTokenIn",
506
458
  type: "uint256",
507
459
  },
508
460
  {
509
- components: [
510
- {
511
- internalType: "uint256",
512
- name: "netPtFromRemove",
513
- type: "uint256",
514
- },
515
- {
516
- internalType: "uint256",
517
- name: "netSyFromRemove",
518
- type: "uint256",
519
- },
520
- {
521
- internalType: "uint256",
522
- name: "netPyRedeem",
523
- type: "uint256",
524
- },
525
- {
526
- internalType: "uint256",
527
- name: "netSyFromRedeem",
528
- type: "uint256",
529
- },
530
- {
531
- internalType: "uint256",
532
- name: "netPtSwap",
533
- type: "uint256",
534
- },
535
- {
536
- internalType: "uint256",
537
- name: "netYtSwap",
538
- type: "uint256",
539
- },
540
- {
541
- internalType: "uint256",
542
- name: "netSyFromSwap",
543
- type: "uint256",
544
- },
545
- {
546
- internalType: "uint256",
547
- name: "netSyFee",
548
- type: "uint256",
549
- },
550
- {
551
- internalType: "uint256",
552
- name: "totalSyOut",
553
- type: "uint256",
554
- },
555
- ],
556
461
  indexed: false,
557
- internalType: "struct IPActionMiscV3.ExitPreExpReturnParams",
558
- name: "params",
559
- type: "tuple",
462
+ internalType: "uint256",
463
+ name: "netSyOut",
464
+ type: "uint256",
560
465
  },
561
466
  ],
562
- name: "ExitPreExpToSy",
467
+ name: "MintSyFromToken",
563
468
  type: "event",
564
469
  },
565
470
  {
@@ -568,94 +473,17 @@ const _abi = [
568
473
  {
569
474
  indexed: true,
570
475
  internalType: "address",
571
- name: "caller",
572
- type: "address",
573
- },
574
- {
575
- indexed: true,
576
- internalType: "address",
577
- name: "market",
476
+ name: "previousOwner",
578
477
  type: "address",
579
478
  },
580
479
  {
581
480
  indexed: true,
582
481
  internalType: "address",
583
- name: "token",
584
- type: "address",
585
- },
586
- {
587
- indexed: false,
588
- internalType: "address",
589
- name: "receiver",
482
+ name: "newOwner",
590
483
  type: "address",
591
484
  },
592
- {
593
- indexed: false,
594
- internalType: "uint256",
595
- name: "netLpToRemove",
596
- type: "uint256",
597
- },
598
- {
599
- indexed: false,
600
- internalType: "uint256",
601
- name: "totalTokenOut",
602
- type: "uint256",
603
- },
604
- {
605
- components: [
606
- {
607
- internalType: "uint256",
608
- name: "netPtFromRemove",
609
- type: "uint256",
610
- },
611
- {
612
- internalType: "uint256",
613
- name: "netSyFromRemove",
614
- type: "uint256",
615
- },
616
- {
617
- internalType: "uint256",
618
- name: "netPyRedeem",
619
- type: "uint256",
620
- },
621
- {
622
- internalType: "uint256",
623
- name: "netSyFromRedeem",
624
- type: "uint256",
625
- },
626
- {
627
- internalType: "uint256",
628
- name: "netPtSwap",
629
- type: "uint256",
630
- },
631
- {
632
- internalType: "uint256",
633
- name: "netYtSwap",
634
- type: "uint256",
635
- },
636
- {
637
- internalType: "uint256",
638
- name: "netSyFromSwap",
639
- type: "uint256",
640
- },
641
- {
642
- internalType: "uint256",
643
- name: "netSyFee",
644
- type: "uint256",
645
- },
646
- {
647
- internalType: "uint256",
648
- name: "totalSyOut",
649
- type: "uint256",
650
- },
651
- ],
652
- indexed: false,
653
- internalType: "struct IPActionMiscV3.ExitPreExpReturnParams",
654
- name: "params",
655
- type: "tuple",
656
- },
657
485
  ],
658
- name: "ExitPreExpToToken",
486
+ name: "OwnershipTransferred",
659
487
  type: "event",
660
488
  },
661
489
  {
@@ -682,17 +510,17 @@ const _abi = [
682
510
  {
683
511
  indexed: false,
684
512
  internalType: "uint256",
685
- name: "netSyIn",
513
+ name: "netPyIn",
686
514
  type: "uint256",
687
515
  },
688
516
  {
689
517
  indexed: false,
690
518
  internalType: "uint256",
691
- name: "netPyOut",
519
+ name: "netSyOut",
692
520
  type: "uint256",
693
521
  },
694
522
  ],
695
- name: "MintPyFromSy",
523
+ name: "RedeemPyToSy",
696
524
  type: "event",
697
525
  },
698
526
  {
@@ -707,7 +535,7 @@ const _abi = [
707
535
  {
708
536
  indexed: true,
709
537
  internalType: "address",
710
- name: "tokenIn",
538
+ name: "tokenOut",
711
539
  type: "address",
712
540
  },
713
541
  {
@@ -725,13 +553,13 @@ const _abi = [
725
553
  {
726
554
  indexed: false,
727
555
  internalType: "uint256",
728
- name: "netTokenIn",
556
+ name: "netPyIn",
729
557
  type: "uint256",
730
558
  },
731
559
  {
732
560
  indexed: false,
733
561
  internalType: "uint256",
734
- name: "netPyOut",
562
+ name: "netTokenOut",
735
563
  type: "uint256",
736
564
  },
737
565
  {
@@ -741,7 +569,7 @@ const _abi = [
741
569
  type: "uint256",
742
570
  },
743
571
  ],
744
- name: "MintPyFromToken",
572
+ name: "RedeemPyToToken",
745
573
  type: "event",
746
574
  },
747
575
  {
@@ -756,7 +584,7 @@ const _abi = [
756
584
  {
757
585
  indexed: true,
758
586
  internalType: "address",
759
- name: "tokenIn",
587
+ name: "tokenOut",
760
588
  type: "address",
761
589
  },
762
590
  {
@@ -774,17 +602,17 @@ const _abi = [
774
602
  {
775
603
  indexed: false,
776
604
  internalType: "uint256",
777
- name: "netTokenIn",
605
+ name: "netSyIn",
778
606
  type: "uint256",
779
607
  },
780
608
  {
781
609
  indexed: false,
782
610
  internalType: "uint256",
783
- name: "netSyOut",
611
+ name: "netTokenOut",
784
612
  type: "uint256",
785
613
  },
786
614
  ],
787
- name: "MintSyFromToken",
615
+ name: "RedeemSyToToken",
788
616
  type: "event",
789
617
  },
790
618
  {
@@ -793,26 +621,13 @@ const _abi = [
793
621
  {
794
622
  indexed: true,
795
623
  internalType: "address",
796
- name: "previousOwner",
797
- type: "address",
798
- },
799
- {
800
- indexed: true,
801
- internalType: "address",
802
- name: "newOwner",
624
+ name: "caller",
803
625
  type: "address",
804
626
  },
805
- ],
806
- name: "OwnershipTransferred",
807
- type: "event",
808
- },
809
- {
810
- anonymous: false,
811
- inputs: [
812
627
  {
813
628
  indexed: true,
814
629
  internalType: "address",
815
- name: "caller",
630
+ name: "market",
816
631
  type: "address",
817
632
  },
818
633
  {
@@ -822,15 +637,15 @@ const _abi = [
822
637
  type: "address",
823
638
  },
824
639
  {
825
- indexed: true,
826
- internalType: "address",
827
- name: "YT",
828
- type: "address",
640
+ indexed: false,
641
+ internalType: "uint256",
642
+ name: "netLpToRemove",
643
+ type: "uint256",
829
644
  },
830
645
  {
831
646
  indexed: false,
832
647
  internalType: "uint256",
833
- name: "netPyIn",
648
+ name: "netPtOut",
834
649
  type: "uint256",
835
650
  },
836
651
  {
@@ -840,7 +655,7 @@ const _abi = [
840
655
  type: "uint256",
841
656
  },
842
657
  ],
843
- name: "RedeemPyToSy",
658
+ name: "RemoveLiquidityDualSyAndPt",
844
659
  type: "event",
845
660
  },
846
661
  {
@@ -855,13 +670,13 @@ const _abi = [
855
670
  {
856
671
  indexed: true,
857
672
  internalType: "address",
858
- name: "tokenOut",
673
+ name: "market",
859
674
  type: "address",
860
675
  },
861
676
  {
862
677
  indexed: true,
863
678
  internalType: "address",
864
- name: "YT",
679
+ name: "tokenOut",
865
680
  type: "address",
866
681
  },
867
682
  {
@@ -873,7 +688,13 @@ const _abi = [
873
688
  {
874
689
  indexed: false,
875
690
  internalType: "uint256",
876
- name: "netPyIn",
691
+ name: "netLpToRemove",
692
+ type: "uint256",
693
+ },
694
+ {
695
+ indexed: false,
696
+ internalType: "uint256",
697
+ name: "netPtOut",
877
698
  type: "uint256",
878
699
  },
879
700
  {
@@ -889,7 +710,7 @@ const _abi = [
889
710
  type: "uint256",
890
711
  },
891
712
  ],
892
- name: "RedeemPyToToken",
713
+ name: "RemoveLiquidityDualTokenAndPt",
893
714
  type: "event",
894
715
  },
895
716
  {
@@ -904,148 +725,7 @@ const _abi = [
904
725
  {
905
726
  indexed: true,
906
727
  internalType: "address",
907
- name: "tokenOut",
908
- type: "address",
909
- },
910
- {
911
- indexed: true,
912
- internalType: "address",
913
- name: "SY",
914
- type: "address",
915
- },
916
- {
917
- indexed: false,
918
- internalType: "address",
919
- name: "receiver",
920
- type: "address",
921
- },
922
- {
923
- indexed: false,
924
- internalType: "uint256",
925
- name: "netSyIn",
926
- type: "uint256",
927
- },
928
- {
929
- indexed: false,
930
- internalType: "uint256",
931
- name: "netTokenOut",
932
- type: "uint256",
933
- },
934
- ],
935
- name: "RedeemSyToToken",
936
- type: "event",
937
- },
938
- {
939
- anonymous: false,
940
- inputs: [
941
- {
942
- indexed: true,
943
- internalType: "address",
944
- name: "caller",
945
- type: "address",
946
- },
947
- {
948
- indexed: true,
949
- internalType: "address",
950
- name: "market",
951
- type: "address",
952
- },
953
- {
954
- indexed: true,
955
- internalType: "address",
956
- name: "receiver",
957
- type: "address",
958
- },
959
- {
960
- indexed: false,
961
- internalType: "uint256",
962
- name: "netLpToRemove",
963
- type: "uint256",
964
- },
965
- {
966
- indexed: false,
967
- internalType: "uint256",
968
- name: "netPtOut",
969
- type: "uint256",
970
- },
971
- {
972
- indexed: false,
973
- internalType: "uint256",
974
- name: "netSyOut",
975
- type: "uint256",
976
- },
977
- ],
978
- name: "RemoveLiquidityDualSyAndPt",
979
- type: "event",
980
- },
981
- {
982
- anonymous: false,
983
- inputs: [
984
- {
985
- indexed: true,
986
- internalType: "address",
987
- name: "caller",
988
- type: "address",
989
- },
990
- {
991
- indexed: true,
992
- internalType: "address",
993
- name: "market",
994
- type: "address",
995
- },
996
- {
997
- indexed: true,
998
- internalType: "address",
999
- name: "tokenOut",
1000
- type: "address",
1001
- },
1002
- {
1003
- indexed: false,
1004
- internalType: "address",
1005
- name: "receiver",
1006
- type: "address",
1007
- },
1008
- {
1009
- indexed: false,
1010
- internalType: "uint256",
1011
- name: "netLpToRemove",
1012
- type: "uint256",
1013
- },
1014
- {
1015
- indexed: false,
1016
- internalType: "uint256",
1017
- name: "netPtOut",
1018
- type: "uint256",
1019
- },
1020
- {
1021
- indexed: false,
1022
- internalType: "uint256",
1023
- name: "netTokenOut",
1024
- type: "uint256",
1025
- },
1026
- {
1027
- indexed: false,
1028
- internalType: "uint256",
1029
- name: "netSyInterm",
1030
- type: "uint256",
1031
- },
1032
- ],
1033
- name: "RemoveLiquidityDualTokenAndPt",
1034
- type: "event",
1035
- },
1036
- {
1037
- anonymous: false,
1038
- inputs: [
1039
- {
1040
- indexed: true,
1041
- internalType: "address",
1042
- name: "caller",
1043
- type: "address",
1044
- },
1045
- {
1046
- indexed: true,
1047
- internalType: "address",
1048
- name: "market",
728
+ name: "market",
1049
729
  type: "address",
1050
730
  },
1051
731
  {
@@ -2540,808 +2220,6 @@ const _abi = [
2540
2220
  stateMutability: "nonpayable",
2541
2221
  type: "function",
2542
2222
  },
2543
- {
2544
- inputs: [
2545
- {
2546
- internalType: "address",
2547
- name: "receiver",
2548
- type: "address",
2549
- },
2550
- {
2551
- internalType: "address",
2552
- name: "market",
2553
- type: "address",
2554
- },
2555
- {
2556
- internalType: "uint256",
2557
- name: "netPtIn",
2558
- type: "uint256",
2559
- },
2560
- {
2561
- internalType: "uint256",
2562
- name: "netLpIn",
2563
- type: "uint256",
2564
- },
2565
- {
2566
- internalType: "uint256",
2567
- name: "minSyOut",
2568
- type: "uint256",
2569
- },
2570
- ],
2571
- name: "exitPostExpToSy",
2572
- outputs: [
2573
- {
2574
- components: [
2575
- {
2576
- internalType: "uint256",
2577
- name: "netPtFromRemove",
2578
- type: "uint256",
2579
- },
2580
- {
2581
- internalType: "uint256",
2582
- name: "netSyFromRemove",
2583
- type: "uint256",
2584
- },
2585
- {
2586
- internalType: "uint256",
2587
- name: "netPtRedeem",
2588
- type: "uint256",
2589
- },
2590
- {
2591
- internalType: "uint256",
2592
- name: "netSyFromRedeem",
2593
- type: "uint256",
2594
- },
2595
- {
2596
- internalType: "uint256",
2597
- name: "totalSyOut",
2598
- type: "uint256",
2599
- },
2600
- ],
2601
- internalType: "struct IPActionMiscV3.ExitPostExpReturnParams",
2602
- name: "params",
2603
- type: "tuple",
2604
- },
2605
- ],
2606
- stateMutability: "nonpayable",
2607
- type: "function",
2608
- },
2609
- {
2610
- inputs: [
2611
- {
2612
- internalType: "address",
2613
- name: "receiver",
2614
- type: "address",
2615
- },
2616
- {
2617
- internalType: "address",
2618
- name: "market",
2619
- type: "address",
2620
- },
2621
- {
2622
- internalType: "uint256",
2623
- name: "netPtIn",
2624
- type: "uint256",
2625
- },
2626
- {
2627
- internalType: "uint256",
2628
- name: "netLpIn",
2629
- type: "uint256",
2630
- },
2631
- {
2632
- components: [
2633
- {
2634
- internalType: "address",
2635
- name: "tokenOut",
2636
- type: "address",
2637
- },
2638
- {
2639
- internalType: "uint256",
2640
- name: "minTokenOut",
2641
- type: "uint256",
2642
- },
2643
- {
2644
- internalType: "address",
2645
- name: "tokenRedeemSy",
2646
- type: "address",
2647
- },
2648
- {
2649
- internalType: "address",
2650
- name: "pendleSwap",
2651
- type: "address",
2652
- },
2653
- {
2654
- components: [
2655
- {
2656
- internalType: "enum SwapType",
2657
- name: "swapType",
2658
- type: "uint8",
2659
- },
2660
- {
2661
- internalType: "address",
2662
- name: "extRouter",
2663
- type: "address",
2664
- },
2665
- {
2666
- internalType: "bytes",
2667
- name: "extCalldata",
2668
- type: "bytes",
2669
- },
2670
- {
2671
- internalType: "bool",
2672
- name: "needScale",
2673
- type: "bool",
2674
- },
2675
- ],
2676
- internalType: "struct SwapData",
2677
- name: "swapData",
2678
- type: "tuple",
2679
- },
2680
- ],
2681
- internalType: "struct TokenOutput",
2682
- name: "output",
2683
- type: "tuple",
2684
- },
2685
- ],
2686
- name: "exitPostExpToToken",
2687
- outputs: [
2688
- {
2689
- internalType: "uint256",
2690
- name: "netTokenOut",
2691
- type: "uint256",
2692
- },
2693
- {
2694
- components: [
2695
- {
2696
- internalType: "uint256",
2697
- name: "netPtFromRemove",
2698
- type: "uint256",
2699
- },
2700
- {
2701
- internalType: "uint256",
2702
- name: "netSyFromRemove",
2703
- type: "uint256",
2704
- },
2705
- {
2706
- internalType: "uint256",
2707
- name: "netPtRedeem",
2708
- type: "uint256",
2709
- },
2710
- {
2711
- internalType: "uint256",
2712
- name: "netSyFromRedeem",
2713
- type: "uint256",
2714
- },
2715
- {
2716
- internalType: "uint256",
2717
- name: "totalSyOut",
2718
- type: "uint256",
2719
- },
2720
- ],
2721
- internalType: "struct IPActionMiscV3.ExitPostExpReturnParams",
2722
- name: "params",
2723
- type: "tuple",
2724
- },
2725
- ],
2726
- stateMutability: "nonpayable",
2727
- type: "function",
2728
- },
2729
- {
2730
- inputs: [
2731
- {
2732
- internalType: "address",
2733
- name: "receiver",
2734
- type: "address",
2735
- },
2736
- {
2737
- internalType: "address",
2738
- name: "market",
2739
- type: "address",
2740
- },
2741
- {
2742
- internalType: "uint256",
2743
- name: "netPtIn",
2744
- type: "uint256",
2745
- },
2746
- {
2747
- internalType: "uint256",
2748
- name: "netYtIn",
2749
- type: "uint256",
2750
- },
2751
- {
2752
- internalType: "uint256",
2753
- name: "netLpIn",
2754
- type: "uint256",
2755
- },
2756
- {
2757
- internalType: "uint256",
2758
- name: "minSyOut",
2759
- type: "uint256",
2760
- },
2761
- {
2762
- components: [
2763
- {
2764
- internalType: "address",
2765
- name: "limitRouter",
2766
- type: "address",
2767
- },
2768
- {
2769
- internalType: "uint256",
2770
- name: "epsSkipMarket",
2771
- type: "uint256",
2772
- },
2773
- {
2774
- components: [
2775
- {
2776
- components: [
2777
- {
2778
- internalType: "uint256",
2779
- name: "salt",
2780
- type: "uint256",
2781
- },
2782
- {
2783
- internalType: "uint256",
2784
- name: "expiry",
2785
- type: "uint256",
2786
- },
2787
- {
2788
- internalType: "uint256",
2789
- name: "nonce",
2790
- type: "uint256",
2791
- },
2792
- {
2793
- internalType: "enum IPLimitOrderType.OrderType",
2794
- name: "orderType",
2795
- type: "uint8",
2796
- },
2797
- {
2798
- internalType: "address",
2799
- name: "token",
2800
- type: "address",
2801
- },
2802
- {
2803
- internalType: "address",
2804
- name: "YT",
2805
- type: "address",
2806
- },
2807
- {
2808
- internalType: "address",
2809
- name: "maker",
2810
- type: "address",
2811
- },
2812
- {
2813
- internalType: "address",
2814
- name: "receiver",
2815
- type: "address",
2816
- },
2817
- {
2818
- internalType: "uint256",
2819
- name: "makingAmount",
2820
- type: "uint256",
2821
- },
2822
- {
2823
- internalType: "uint256",
2824
- name: "lnImpliedRate",
2825
- type: "uint256",
2826
- },
2827
- {
2828
- internalType: "uint256",
2829
- name: "failSafeRate",
2830
- type: "uint256",
2831
- },
2832
- {
2833
- internalType: "bytes",
2834
- name: "permit",
2835
- type: "bytes",
2836
- },
2837
- ],
2838
- internalType: "struct Order",
2839
- name: "order",
2840
- type: "tuple",
2841
- },
2842
- {
2843
- internalType: "bytes",
2844
- name: "signature",
2845
- type: "bytes",
2846
- },
2847
- {
2848
- internalType: "uint256",
2849
- name: "makingAmount",
2850
- type: "uint256",
2851
- },
2852
- ],
2853
- internalType: "struct FillOrderParams[]",
2854
- name: "normalFills",
2855
- type: "tuple[]",
2856
- },
2857
- {
2858
- components: [
2859
- {
2860
- components: [
2861
- {
2862
- internalType: "uint256",
2863
- name: "salt",
2864
- type: "uint256",
2865
- },
2866
- {
2867
- internalType: "uint256",
2868
- name: "expiry",
2869
- type: "uint256",
2870
- },
2871
- {
2872
- internalType: "uint256",
2873
- name: "nonce",
2874
- type: "uint256",
2875
- },
2876
- {
2877
- internalType: "enum IPLimitOrderType.OrderType",
2878
- name: "orderType",
2879
- type: "uint8",
2880
- },
2881
- {
2882
- internalType: "address",
2883
- name: "token",
2884
- type: "address",
2885
- },
2886
- {
2887
- internalType: "address",
2888
- name: "YT",
2889
- type: "address",
2890
- },
2891
- {
2892
- internalType: "address",
2893
- name: "maker",
2894
- type: "address",
2895
- },
2896
- {
2897
- internalType: "address",
2898
- name: "receiver",
2899
- type: "address",
2900
- },
2901
- {
2902
- internalType: "uint256",
2903
- name: "makingAmount",
2904
- type: "uint256",
2905
- },
2906
- {
2907
- internalType: "uint256",
2908
- name: "lnImpliedRate",
2909
- type: "uint256",
2910
- },
2911
- {
2912
- internalType: "uint256",
2913
- name: "failSafeRate",
2914
- type: "uint256",
2915
- },
2916
- {
2917
- internalType: "bytes",
2918
- name: "permit",
2919
- type: "bytes",
2920
- },
2921
- ],
2922
- internalType: "struct Order",
2923
- name: "order",
2924
- type: "tuple",
2925
- },
2926
- {
2927
- internalType: "bytes",
2928
- name: "signature",
2929
- type: "bytes",
2930
- },
2931
- {
2932
- internalType: "uint256",
2933
- name: "makingAmount",
2934
- type: "uint256",
2935
- },
2936
- ],
2937
- internalType: "struct FillOrderParams[]",
2938
- name: "flashFills",
2939
- type: "tuple[]",
2940
- },
2941
- {
2942
- internalType: "bytes",
2943
- name: "optData",
2944
- type: "bytes",
2945
- },
2946
- ],
2947
- internalType: "struct LimitOrderData",
2948
- name: "limit",
2949
- type: "tuple",
2950
- },
2951
- ],
2952
- name: "exitPreExpToSy",
2953
- outputs: [
2954
- {
2955
- components: [
2956
- {
2957
- internalType: "uint256",
2958
- name: "netPtFromRemove",
2959
- type: "uint256",
2960
- },
2961
- {
2962
- internalType: "uint256",
2963
- name: "netSyFromRemove",
2964
- type: "uint256",
2965
- },
2966
- {
2967
- internalType: "uint256",
2968
- name: "netPyRedeem",
2969
- type: "uint256",
2970
- },
2971
- {
2972
- internalType: "uint256",
2973
- name: "netSyFromRedeem",
2974
- type: "uint256",
2975
- },
2976
- {
2977
- internalType: "uint256",
2978
- name: "netPtSwap",
2979
- type: "uint256",
2980
- },
2981
- {
2982
- internalType: "uint256",
2983
- name: "netYtSwap",
2984
- type: "uint256",
2985
- },
2986
- {
2987
- internalType: "uint256",
2988
- name: "netSyFromSwap",
2989
- type: "uint256",
2990
- },
2991
- {
2992
- internalType: "uint256",
2993
- name: "netSyFee",
2994
- type: "uint256",
2995
- },
2996
- {
2997
- internalType: "uint256",
2998
- name: "totalSyOut",
2999
- type: "uint256",
3000
- },
3001
- ],
3002
- internalType: "struct IPActionMiscV3.ExitPreExpReturnParams",
3003
- name: "params",
3004
- type: "tuple",
3005
- },
3006
- ],
3007
- stateMutability: "nonpayable",
3008
- type: "function",
3009
- },
3010
- {
3011
- inputs: [
3012
- {
3013
- internalType: "address",
3014
- name: "receiver",
3015
- type: "address",
3016
- },
3017
- {
3018
- internalType: "address",
3019
- name: "market",
3020
- type: "address",
3021
- },
3022
- {
3023
- internalType: "uint256",
3024
- name: "netPtIn",
3025
- type: "uint256",
3026
- },
3027
- {
3028
- internalType: "uint256",
3029
- name: "netYtIn",
3030
- type: "uint256",
3031
- },
3032
- {
3033
- internalType: "uint256",
3034
- name: "netLpIn",
3035
- type: "uint256",
3036
- },
3037
- {
3038
- components: [
3039
- {
3040
- internalType: "address",
3041
- name: "tokenOut",
3042
- type: "address",
3043
- },
3044
- {
3045
- internalType: "uint256",
3046
- name: "minTokenOut",
3047
- type: "uint256",
3048
- },
3049
- {
3050
- internalType: "address",
3051
- name: "tokenRedeemSy",
3052
- type: "address",
3053
- },
3054
- {
3055
- internalType: "address",
3056
- name: "pendleSwap",
3057
- type: "address",
3058
- },
3059
- {
3060
- components: [
3061
- {
3062
- internalType: "enum SwapType",
3063
- name: "swapType",
3064
- type: "uint8",
3065
- },
3066
- {
3067
- internalType: "address",
3068
- name: "extRouter",
3069
- type: "address",
3070
- },
3071
- {
3072
- internalType: "bytes",
3073
- name: "extCalldata",
3074
- type: "bytes",
3075
- },
3076
- {
3077
- internalType: "bool",
3078
- name: "needScale",
3079
- type: "bool",
3080
- },
3081
- ],
3082
- internalType: "struct SwapData",
3083
- name: "swapData",
3084
- type: "tuple",
3085
- },
3086
- ],
3087
- internalType: "struct TokenOutput",
3088
- name: "output",
3089
- type: "tuple",
3090
- },
3091
- {
3092
- components: [
3093
- {
3094
- internalType: "address",
3095
- name: "limitRouter",
3096
- type: "address",
3097
- },
3098
- {
3099
- internalType: "uint256",
3100
- name: "epsSkipMarket",
3101
- type: "uint256",
3102
- },
3103
- {
3104
- components: [
3105
- {
3106
- components: [
3107
- {
3108
- internalType: "uint256",
3109
- name: "salt",
3110
- type: "uint256",
3111
- },
3112
- {
3113
- internalType: "uint256",
3114
- name: "expiry",
3115
- type: "uint256",
3116
- },
3117
- {
3118
- internalType: "uint256",
3119
- name: "nonce",
3120
- type: "uint256",
3121
- },
3122
- {
3123
- internalType: "enum IPLimitOrderType.OrderType",
3124
- name: "orderType",
3125
- type: "uint8",
3126
- },
3127
- {
3128
- internalType: "address",
3129
- name: "token",
3130
- type: "address",
3131
- },
3132
- {
3133
- internalType: "address",
3134
- name: "YT",
3135
- type: "address",
3136
- },
3137
- {
3138
- internalType: "address",
3139
- name: "maker",
3140
- type: "address",
3141
- },
3142
- {
3143
- internalType: "address",
3144
- name: "receiver",
3145
- type: "address",
3146
- },
3147
- {
3148
- internalType: "uint256",
3149
- name: "makingAmount",
3150
- type: "uint256",
3151
- },
3152
- {
3153
- internalType: "uint256",
3154
- name: "lnImpliedRate",
3155
- type: "uint256",
3156
- },
3157
- {
3158
- internalType: "uint256",
3159
- name: "failSafeRate",
3160
- type: "uint256",
3161
- },
3162
- {
3163
- internalType: "bytes",
3164
- name: "permit",
3165
- type: "bytes",
3166
- },
3167
- ],
3168
- internalType: "struct Order",
3169
- name: "order",
3170
- type: "tuple",
3171
- },
3172
- {
3173
- internalType: "bytes",
3174
- name: "signature",
3175
- type: "bytes",
3176
- },
3177
- {
3178
- internalType: "uint256",
3179
- name: "makingAmount",
3180
- type: "uint256",
3181
- },
3182
- ],
3183
- internalType: "struct FillOrderParams[]",
3184
- name: "normalFills",
3185
- type: "tuple[]",
3186
- },
3187
- {
3188
- components: [
3189
- {
3190
- components: [
3191
- {
3192
- internalType: "uint256",
3193
- name: "salt",
3194
- type: "uint256",
3195
- },
3196
- {
3197
- internalType: "uint256",
3198
- name: "expiry",
3199
- type: "uint256",
3200
- },
3201
- {
3202
- internalType: "uint256",
3203
- name: "nonce",
3204
- type: "uint256",
3205
- },
3206
- {
3207
- internalType: "enum IPLimitOrderType.OrderType",
3208
- name: "orderType",
3209
- type: "uint8",
3210
- },
3211
- {
3212
- internalType: "address",
3213
- name: "token",
3214
- type: "address",
3215
- },
3216
- {
3217
- internalType: "address",
3218
- name: "YT",
3219
- type: "address",
3220
- },
3221
- {
3222
- internalType: "address",
3223
- name: "maker",
3224
- type: "address",
3225
- },
3226
- {
3227
- internalType: "address",
3228
- name: "receiver",
3229
- type: "address",
3230
- },
3231
- {
3232
- internalType: "uint256",
3233
- name: "makingAmount",
3234
- type: "uint256",
3235
- },
3236
- {
3237
- internalType: "uint256",
3238
- name: "lnImpliedRate",
3239
- type: "uint256",
3240
- },
3241
- {
3242
- internalType: "uint256",
3243
- name: "failSafeRate",
3244
- type: "uint256",
3245
- },
3246
- {
3247
- internalType: "bytes",
3248
- name: "permit",
3249
- type: "bytes",
3250
- },
3251
- ],
3252
- internalType: "struct Order",
3253
- name: "order",
3254
- type: "tuple",
3255
- },
3256
- {
3257
- internalType: "bytes",
3258
- name: "signature",
3259
- type: "bytes",
3260
- },
3261
- {
3262
- internalType: "uint256",
3263
- name: "makingAmount",
3264
- type: "uint256",
3265
- },
3266
- ],
3267
- internalType: "struct FillOrderParams[]",
3268
- name: "flashFills",
3269
- type: "tuple[]",
3270
- },
3271
- {
3272
- internalType: "bytes",
3273
- name: "optData",
3274
- type: "bytes",
3275
- },
3276
- ],
3277
- internalType: "struct LimitOrderData",
3278
- name: "limit",
3279
- type: "tuple",
3280
- },
3281
- ],
3282
- name: "exitPreExpToToken",
3283
- outputs: [
3284
- {
3285
- internalType: "uint256",
3286
- name: "netTokenOut",
3287
- type: "uint256",
3288
- },
3289
- {
3290
- components: [
3291
- {
3292
- internalType: "uint256",
3293
- name: "netPtFromRemove",
3294
- type: "uint256",
3295
- },
3296
- {
3297
- internalType: "uint256",
3298
- name: "netSyFromRemove",
3299
- type: "uint256",
3300
- },
3301
- {
3302
- internalType: "uint256",
3303
- name: "netPyRedeem",
3304
- type: "uint256",
3305
- },
3306
- {
3307
- internalType: "uint256",
3308
- name: "netSyFromRedeem",
3309
- type: "uint256",
3310
- },
3311
- {
3312
- internalType: "uint256",
3313
- name: "netPtSwap",
3314
- type: "uint256",
3315
- },
3316
- {
3317
- internalType: "uint256",
3318
- name: "netYtSwap",
3319
- type: "uint256",
3320
- },
3321
- {
3322
- internalType: "uint256",
3323
- name: "netSyFromSwap",
3324
- type: "uint256",
3325
- },
3326
- {
3327
- internalType: "uint256",
3328
- name: "netSyFee",
3329
- type: "uint256",
3330
- },
3331
- {
3332
- internalType: "uint256",
3333
- name: "totalSyOut",
3334
- type: "uint256",
3335
- },
3336
- ],
3337
- internalType: "struct IPActionMiscV3.ExitPreExpReturnParams",
3338
- name: "params",
3339
- type: "tuple",
3340
- },
3341
- ],
3342
- stateMutability: "nonpayable",
3343
- type: "function",
3344
- },
3345
2223
  {
3346
2224
  inputs: [
3347
2225
  {