@pendle/core-v2 0.8.0-beta-10 → 0.8.0-beta-12

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 (139) hide show
  1. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +1 -1
  2. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
  3. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  4. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/BenQi/PendleQiTokenSCY.sol/PendleQiTokenSCY.dbg.json +1 -1
  5. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleERC4626SCY.sol/PendleERC4626SCY.dbg.json +1 -1
  6. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleWstEthSCY.sol/PendleWstEthSCY.dbg.json +1 -1
  7. package/build/artifacts/contracts/SuperComposableYield/SCY-implementations/PendleYearnVaultScy.sol/PendleYearnVaultSCY.dbg.json +1 -1
  8. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
  9. package/build/artifacts/contracts/SuperComposableYield/base-implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
  10. package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerReceiverUpg.sol/CelerReceiverUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/core/LiquidityMining/CelerAbstracts/CelerSenderUpg.sol/CelerSenderUpg.dbg.json +1 -1
  12. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  13. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerMainchain.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  14. package/build/artifacts/contracts/core/LiquidityMining/GaugeController/PendleGaugeControllerSidechain.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  15. package/build/artifacts/contracts/core/LiquidityMining/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  16. package/build/artifacts/contracts/core/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  17. package/build/artifacts/contracts/core/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  18. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +2 -2
  27. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  31. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  33. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +2 -2
  35. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +486 -2
  37. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +2 -2
  39. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/actions/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  43. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
  44. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
  45. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
  46. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  47. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  48. package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +1 -1
  49. package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +1 -1
  50. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  51. package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.dbg.json +1 -1
  52. package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.dbg.json +1 -1
  53. package/build/artifacts/contracts/interfaces/IJoeRouter02.sol/IJoeRouter02.dbg.json +1 -1
  54. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +1 -1
  55. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +484 -0
  56. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +484 -0
  59. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +5 -0
  70. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
  83. package/build/artifacts/contracts/libraries/RewardManager.sol/RewardManager.dbg.json +1 -1
  84. package/build/artifacts/contracts/libraries/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  85. package/build/artifacts/contracts/libraries/SCY/SCYIndex.sol/SCYIndexLib.dbg.json +1 -1
  86. package/build/artifacts/contracts/libraries/SCY/SCYUtils.sol/SCYUtils.dbg.json +1 -1
  87. package/build/artifacts/contracts/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  88. package/build/artifacts/contracts/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  89. package/build/artifacts/contracts/libraries/helpers/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  90. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  91. package/build/artifacts/contracts/libraries/helpers/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  92. package/build/artifacts/contracts/libraries/helpers/SSTORE2Deployer.sol/SSTORE2Deployer.dbg.json +1 -1
  93. package/build/artifacts/contracts/libraries/helpers/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  94. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  95. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
  96. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  97. package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
  98. package/build/artifacts/contracts/libraries/math/WeekMath.sol/WeekMath.dbg.json +1 -1
  99. package/build/artifacts/contracts/libraries/solmate/SSTORE2.sol/SSTORE2.dbg.json +1 -1
  100. package/build/artifacts/contracts/libraries/traderjoe/JoeLibrary.sol/JoeLibrary.dbg.json +1 -1
  101. package/build/artifacts/contracts/libraries/traderjoe/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +1 -1
  102. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  103. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +161 -2
  104. package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
  105. package/contracts/core/PendleRouter.sol +8 -0
  106. package/contracts/core/YieldContracts/PendleYieldToken.sol +13 -5
  107. package/contracts/core/actions/ActionCore.sol +80 -0
  108. package/contracts/core/actions/base/ActionSCYAndPYBase.sol +36 -0
  109. package/contracts/interfaces/IPActionCore.sol +78 -0
  110. package/contracts/interfaces/IPRouterStatic.sol +2 -1
  111. package/contracts/offchain-helpers/RouterStatic.sol +47 -1
  112. package/deployments/43113-core.json +1 -1
  113. package/deployments/80001-core.json +1 -1
  114. package/package.json +1 -1
  115. package/typechain-types/ActionCore.ts +489 -0
  116. package/typechain-types/IPActionCore.ts +489 -0
  117. package/typechain-types/IPAllAction.ts +489 -0
  118. package/typechain-types/IPRouterStatic.ts +6 -3
  119. package/typechain-types/IStargateLPStaking.ts +143 -0
  120. package/typechain-types/IStargatePool.ts +129 -0
  121. package/typechain-types/IStargateRouter.ts +159 -0
  122. package/typechain-types/PendleStargatePool.ts +1089 -0
  123. package/typechain-types/RouterStatic.ts +250 -3
  124. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  125. package/typechain-types/factories/ActionCore__factory.ts +485 -1
  126. package/typechain-types/factories/ActionYT__factory.ts +1 -1
  127. package/typechain-types/factories/IPActionCore__factory.ts +484 -0
  128. package/typechain-types/factories/IPAllAction__factory.ts +484 -0
  129. package/typechain-types/factories/IPRouterStatic__factory.ts +5 -0
  130. package/typechain-types/factories/IStargateLPStaking__factory.ts +62 -0
  131. package/typechain-types/factories/IStargatePool__factory.ts +68 -0
  132. package/typechain-types/factories/IStargateRouter__factory.ts +78 -0
  133. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  134. package/typechain-types/factories/PendleStargatePool__factory.ts +929 -0
  135. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  136. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  137. package/typechain-types/factories/RouterStatic__factory.ts +160 -1
  138. package/typechain-types/hardhat.d.ts +36 -0
  139. package/typechain-types/index.ts +8 -0
@@ -89,6 +89,43 @@
89
89
  "name": "MintPyFromRawToken",
90
90
  "type": "event"
91
91
  },
92
+ {
93
+ "anonymous": false,
94
+ "inputs": [
95
+ {
96
+ "indexed": true,
97
+ "internalType": "address",
98
+ "name": "caller",
99
+ "type": "address"
100
+ },
101
+ {
102
+ "indexed": true,
103
+ "internalType": "address",
104
+ "name": "receiver",
105
+ "type": "address"
106
+ },
107
+ {
108
+ "indexed": true,
109
+ "internalType": "address",
110
+ "name": "YT",
111
+ "type": "address"
112
+ },
113
+ {
114
+ "indexed": false,
115
+ "internalType": "uint256",
116
+ "name": "netScyIn",
117
+ "type": "uint256"
118
+ },
119
+ {
120
+ "indexed": false,
121
+ "internalType": "uint256",
122
+ "name": "netPyOut",
123
+ "type": "uint256"
124
+ }
125
+ ],
126
+ "name": "MintPyFromScy",
127
+ "type": "event"
128
+ },
92
129
  {
93
130
  "anonymous": false,
94
131
  "inputs": [
@@ -175,6 +212,43 @@
175
212
  "name": "RedeemPyToRawToken",
176
213
  "type": "event"
177
214
  },
215
+ {
216
+ "anonymous": false,
217
+ "inputs": [
218
+ {
219
+ "indexed": true,
220
+ "internalType": "address",
221
+ "name": "caller",
222
+ "type": "address"
223
+ },
224
+ {
225
+ "indexed": true,
226
+ "internalType": "address",
227
+ "name": "receiver",
228
+ "type": "address"
229
+ },
230
+ {
231
+ "indexed": true,
232
+ "internalType": "address",
233
+ "name": "YT",
234
+ "type": "address"
235
+ },
236
+ {
237
+ "indexed": false,
238
+ "internalType": "uint256",
239
+ "name": "netPyIn",
240
+ "type": "uint256"
241
+ },
242
+ {
243
+ "indexed": false,
244
+ "internalType": "uint256",
245
+ "name": "netScyOut",
246
+ "type": "uint256"
247
+ }
248
+ ],
249
+ "name": "RedeemPyToScy",
250
+ "type": "event"
251
+ },
178
252
  {
179
253
  "anonymous": false,
180
254
  "inputs": [
@@ -458,6 +532,209 @@
458
532
  "stateMutability": "nonpayable",
459
533
  "type": "function"
460
534
  },
535
+ {
536
+ "inputs": [
537
+ {
538
+ "internalType": "address",
539
+ "name": "receiver",
540
+ "type": "address"
541
+ },
542
+ {
543
+ "internalType": "address",
544
+ "name": "market",
545
+ "type": "address"
546
+ },
547
+ {
548
+ "internalType": "uint256",
549
+ "name": "netPtIn",
550
+ "type": "uint256"
551
+ },
552
+ {
553
+ "internalType": "uint256",
554
+ "name": "minLpOut",
555
+ "type": "uint256"
556
+ },
557
+ {
558
+ "components": [
559
+ {
560
+ "internalType": "uint256",
561
+ "name": "guessMin",
562
+ "type": "uint256"
563
+ },
564
+ {
565
+ "internalType": "uint256",
566
+ "name": "guessMax",
567
+ "type": "uint256"
568
+ },
569
+ {
570
+ "internalType": "uint256",
571
+ "name": "guessOffchain",
572
+ "type": "uint256"
573
+ },
574
+ {
575
+ "internalType": "uint256",
576
+ "name": "maxIteration",
577
+ "type": "uint256"
578
+ },
579
+ {
580
+ "internalType": "uint256",
581
+ "name": "eps",
582
+ "type": "uint256"
583
+ }
584
+ ],
585
+ "internalType": "struct ApproxParams",
586
+ "name": "guessPtSwapToScy",
587
+ "type": "tuple"
588
+ }
589
+ ],
590
+ "name": "addLiquiditySinglePt",
591
+ "outputs": [
592
+ {
593
+ "internalType": "uint256",
594
+ "name": "netLpOut",
595
+ "type": "uint256"
596
+ }
597
+ ],
598
+ "stateMutability": "nonpayable",
599
+ "type": "function"
600
+ },
601
+ {
602
+ "inputs": [
603
+ {
604
+ "internalType": "address",
605
+ "name": "receiver",
606
+ "type": "address"
607
+ },
608
+ {
609
+ "internalType": "address",
610
+ "name": "market",
611
+ "type": "address"
612
+ },
613
+ {
614
+ "internalType": "uint256",
615
+ "name": "netRawTokenIn",
616
+ "type": "uint256"
617
+ },
618
+ {
619
+ "internalType": "uint256",
620
+ "name": "minLpOut",
621
+ "type": "uint256"
622
+ },
623
+ {
624
+ "internalType": "address[]",
625
+ "name": "path",
626
+ "type": "address[]"
627
+ },
628
+ {
629
+ "components": [
630
+ {
631
+ "internalType": "uint256",
632
+ "name": "guessMin",
633
+ "type": "uint256"
634
+ },
635
+ {
636
+ "internalType": "uint256",
637
+ "name": "guessMax",
638
+ "type": "uint256"
639
+ },
640
+ {
641
+ "internalType": "uint256",
642
+ "name": "guessOffchain",
643
+ "type": "uint256"
644
+ },
645
+ {
646
+ "internalType": "uint256",
647
+ "name": "maxIteration",
648
+ "type": "uint256"
649
+ },
650
+ {
651
+ "internalType": "uint256",
652
+ "name": "eps",
653
+ "type": "uint256"
654
+ }
655
+ ],
656
+ "internalType": "struct ApproxParams",
657
+ "name": "guessPtReceivedFromScy",
658
+ "type": "tuple"
659
+ }
660
+ ],
661
+ "name": "addLiquiditySingleRawToken",
662
+ "outputs": [
663
+ {
664
+ "internalType": "uint256",
665
+ "name": "netLpOut",
666
+ "type": "uint256"
667
+ }
668
+ ],
669
+ "stateMutability": "nonpayable",
670
+ "type": "function"
671
+ },
672
+ {
673
+ "inputs": [
674
+ {
675
+ "internalType": "address",
676
+ "name": "receiver",
677
+ "type": "address"
678
+ },
679
+ {
680
+ "internalType": "address",
681
+ "name": "market",
682
+ "type": "address"
683
+ },
684
+ {
685
+ "internalType": "uint256",
686
+ "name": "netScyIn",
687
+ "type": "uint256"
688
+ },
689
+ {
690
+ "internalType": "uint256",
691
+ "name": "minLpOut",
692
+ "type": "uint256"
693
+ },
694
+ {
695
+ "components": [
696
+ {
697
+ "internalType": "uint256",
698
+ "name": "guessMin",
699
+ "type": "uint256"
700
+ },
701
+ {
702
+ "internalType": "uint256",
703
+ "name": "guessMax",
704
+ "type": "uint256"
705
+ },
706
+ {
707
+ "internalType": "uint256",
708
+ "name": "guessOffchain",
709
+ "type": "uint256"
710
+ },
711
+ {
712
+ "internalType": "uint256",
713
+ "name": "maxIteration",
714
+ "type": "uint256"
715
+ },
716
+ {
717
+ "internalType": "uint256",
718
+ "name": "eps",
719
+ "type": "uint256"
720
+ }
721
+ ],
722
+ "internalType": "struct ApproxParams",
723
+ "name": "guessPtReceivedFromScy",
724
+ "type": "tuple"
725
+ }
726
+ ],
727
+ "name": "addLiquiditySingleScy",
728
+ "outputs": [
729
+ {
730
+ "internalType": "uint256",
731
+ "name": "netLpOut",
732
+ "type": "uint256"
733
+ }
734
+ ],
735
+ "stateMutability": "nonpayable",
736
+ "type": "function"
737
+ },
461
738
  {
462
739
  "inputs": [
463
740
  {
@@ -497,6 +774,40 @@
497
774
  "stateMutability": "nonpayable",
498
775
  "type": "function"
499
776
  },
777
+ {
778
+ "inputs": [
779
+ {
780
+ "internalType": "address",
781
+ "name": "receiver",
782
+ "type": "address"
783
+ },
784
+ {
785
+ "internalType": "address",
786
+ "name": "YT",
787
+ "type": "address"
788
+ },
789
+ {
790
+ "internalType": "uint256",
791
+ "name": "netScyIn",
792
+ "type": "uint256"
793
+ },
794
+ {
795
+ "internalType": "uint256",
796
+ "name": "minPyOut",
797
+ "type": "uint256"
798
+ }
799
+ ],
800
+ "name": "mintPyFromScy",
801
+ "outputs": [
802
+ {
803
+ "internalType": "uint256",
804
+ "name": "netPyOut",
805
+ "type": "uint256"
806
+ }
807
+ ],
808
+ "stateMutability": "nonpayable",
809
+ "type": "function"
810
+ },
500
811
  {
501
812
  "inputs": [
502
813
  {
@@ -624,6 +935,40 @@
624
935
  "stateMutability": "nonpayable",
625
936
  "type": "function"
626
937
  },
938
+ {
939
+ "inputs": [
940
+ {
941
+ "internalType": "address",
942
+ "name": "receiver",
943
+ "type": "address"
944
+ },
945
+ {
946
+ "internalType": "address",
947
+ "name": "YT",
948
+ "type": "address"
949
+ },
950
+ {
951
+ "internalType": "uint256",
952
+ "name": "netPyIn",
953
+ "type": "uint256"
954
+ },
955
+ {
956
+ "internalType": "uint256",
957
+ "name": "minScyOut",
958
+ "type": "uint256"
959
+ }
960
+ ],
961
+ "name": "redeemPyToScy",
962
+ "outputs": [
963
+ {
964
+ "internalType": "uint256",
965
+ "name": "netScyOut",
966
+ "type": "uint256"
967
+ }
968
+ ],
969
+ "stateMutability": "nonpayable",
970
+ "type": "function"
971
+ },
627
972
  {
628
973
  "inputs": [
629
974
  {
@@ -707,6 +1052,145 @@
707
1052
  "stateMutability": "nonpayable",
708
1053
  "type": "function"
709
1054
  },
1055
+ {
1056
+ "inputs": [
1057
+ {
1058
+ "internalType": "address",
1059
+ "name": "receiver",
1060
+ "type": "address"
1061
+ },
1062
+ {
1063
+ "internalType": "address",
1064
+ "name": "market",
1065
+ "type": "address"
1066
+ },
1067
+ {
1068
+ "internalType": "uint256",
1069
+ "name": "lpToRemove",
1070
+ "type": "uint256"
1071
+ },
1072
+ {
1073
+ "internalType": "uint256",
1074
+ "name": "minPtOut",
1075
+ "type": "uint256"
1076
+ },
1077
+ {
1078
+ "components": [
1079
+ {
1080
+ "internalType": "uint256",
1081
+ "name": "guessMin",
1082
+ "type": "uint256"
1083
+ },
1084
+ {
1085
+ "internalType": "uint256",
1086
+ "name": "guessMax",
1087
+ "type": "uint256"
1088
+ },
1089
+ {
1090
+ "internalType": "uint256",
1091
+ "name": "guessOffchain",
1092
+ "type": "uint256"
1093
+ },
1094
+ {
1095
+ "internalType": "uint256",
1096
+ "name": "maxIteration",
1097
+ "type": "uint256"
1098
+ },
1099
+ {
1100
+ "internalType": "uint256",
1101
+ "name": "eps",
1102
+ "type": "uint256"
1103
+ }
1104
+ ],
1105
+ "internalType": "struct ApproxParams",
1106
+ "name": "guessPtOut",
1107
+ "type": "tuple"
1108
+ }
1109
+ ],
1110
+ "name": "removeLiquiditySinglePt",
1111
+ "outputs": [
1112
+ {
1113
+ "internalType": "uint256",
1114
+ "name": "netPtOut",
1115
+ "type": "uint256"
1116
+ }
1117
+ ],
1118
+ "stateMutability": "nonpayable",
1119
+ "type": "function"
1120
+ },
1121
+ {
1122
+ "inputs": [
1123
+ {
1124
+ "internalType": "address",
1125
+ "name": "receiver",
1126
+ "type": "address"
1127
+ },
1128
+ {
1129
+ "internalType": "address",
1130
+ "name": "market",
1131
+ "type": "address"
1132
+ },
1133
+ {
1134
+ "internalType": "uint256",
1135
+ "name": "lpToRemove",
1136
+ "type": "uint256"
1137
+ },
1138
+ {
1139
+ "internalType": "uint256",
1140
+ "name": "minRawTokenOut",
1141
+ "type": "uint256"
1142
+ },
1143
+ {
1144
+ "internalType": "address[]",
1145
+ "name": "path",
1146
+ "type": "address[]"
1147
+ }
1148
+ ],
1149
+ "name": "removeLiquiditySingleRawToken",
1150
+ "outputs": [
1151
+ {
1152
+ "internalType": "uint256",
1153
+ "name": "netRawTokenOut",
1154
+ "type": "uint256"
1155
+ }
1156
+ ],
1157
+ "stateMutability": "nonpayable",
1158
+ "type": "function"
1159
+ },
1160
+ {
1161
+ "inputs": [
1162
+ {
1163
+ "internalType": "address",
1164
+ "name": "receiver",
1165
+ "type": "address"
1166
+ },
1167
+ {
1168
+ "internalType": "address",
1169
+ "name": "market",
1170
+ "type": "address"
1171
+ },
1172
+ {
1173
+ "internalType": "uint256",
1174
+ "name": "lpToRemove",
1175
+ "type": "uint256"
1176
+ },
1177
+ {
1178
+ "internalType": "uint256",
1179
+ "name": "minScyOut",
1180
+ "type": "uint256"
1181
+ }
1182
+ ],
1183
+ "name": "removeLiquiditySingleScy",
1184
+ "outputs": [
1185
+ {
1186
+ "internalType": "uint256",
1187
+ "name": "netScyOut",
1188
+ "type": "uint256"
1189
+ }
1190
+ ],
1191
+ "stateMutability": "nonpayable",
1192
+ "type": "function"
1193
+ },
710
1194
  {
711
1195
  "inputs": [
712
1196
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }
@@ -133,6 +133,11 @@
133
133
  "internalType": "int256",
134
134
  "name": "impliedYield",
135
135
  "type": "int256"
136
+ },
137
+ {
138
+ "internalType": "uint256",
139
+ "name": "exchangeRate",
140
+ "type": "uint256"
136
141
  }
137
142
  ],
138
143
  "stateMutability": "view",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7033d6fa08f4d79f81b857af32174eb3.json"
3
+ "buildInfo": "../../../build-info/b0346cebcf8301b67a28d59590cc4e88.json"
4
4
  }