@pendle/core-v2 2.1.2-mainnet → 2.3.0-mainnet

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 (491) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  12. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  14. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  16. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  18. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  21. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  23. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  24. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  26. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  28. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  29. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  30. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
  32. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
  34. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
  36. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  38. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  40. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  43. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  45. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  49. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.json +2 -2
  53. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.dbg.json +4 -0
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.json +1192 -0
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.json +2 -2
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +2 -2
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.json +2 -2
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.json +2 -2
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +1 -1
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.json +2 -2
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  75. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
  76. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  77. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
  78. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
  79. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +2 -2
  80. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  81. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +2 -2
  82. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  83. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +2 -2
  84. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  85. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
  86. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  87. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
  88. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  89. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
  90. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  91. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
  92. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  93. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  94. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  95. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  96. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  97. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  98. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  99. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  100. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  101. package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
  102. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
  103. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +2 -2
  104. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
  105. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
  106. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
  107. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -2
  108. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  109. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +2 -2
  110. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  111. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
  112. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  113. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.json +2 -2
  114. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  115. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +2 -2
  116. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  117. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.json +2 -2
  118. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  119. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  120. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +2 -2
  121. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  122. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +2 -2
  123. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  124. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.json +2 -2
  125. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  126. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  127. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.json +2 -2
  128. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
  129. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.json +2 -2
  130. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  144. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +4 -0
  146. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.json +307 -0
  147. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +4 -0
  148. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.json +269 -0
  149. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +4 -0
  150. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.json +1260 -0
  151. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +4 -0
  153. package/build/artifacts/contracts/interfaces/{IAToken.sol/IAToken.json → IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.json} +114 -93
  154. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +4 -0
  155. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.json +184 -0
  156. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  157. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  158. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +4 -0
  159. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.json +40 -0
  160. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  161. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  162. package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +1 -1
  163. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  164. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  165. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  166. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  167. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  168. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  169. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  170. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  171. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +4 -0
  172. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.json +55 -0
  173. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +4 -0
  174. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +2322 -0
  175. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  176. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  177. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  178. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  179. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  180. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  181. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  182. package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +1 -1
  183. package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +1 -1
  184. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
  185. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.json +2 -2
  187. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +2 -2
  189. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  190. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  191. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  192. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
  193. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  194. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.json +2 -2
  195. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +4 -0
  196. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +30 -0
  197. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +4 -0
  198. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +307 -0
  199. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +4 -0
  200. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +333 -0
  201. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +4 -0
  202. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +1397 -0
  203. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +4 -0
  204. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +310 -0
  205. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +4 -0
  206. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +228 -0
  207. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +4 -0
  208. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +93 -0
  209. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +4 -0
  210. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.json +10 -0
  211. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  212. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
  213. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  214. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
  215. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  216. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
  217. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  218. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  219. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  220. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  221. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  222. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  223. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  224. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  225. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  226. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  227. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  228. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  229. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  230. package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +1 -1
  231. package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
  232. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  233. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapAggregator.sol/PendleSwapAggregator.dbg.json +1 -1
  234. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapAggregator.sol/PendleSwapAggregator.json +2 -2
  235. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol/KyberAggregationRouterHelper.dbg.json +1 -1
  236. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  237. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  238. package/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol +4 -5
  239. package/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol +3 -5
  240. package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol +7 -10
  241. package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol +8 -10
  242. package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +16 -8
  243. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +3 -5
  244. package/contracts/LiquidityMining/README.md +49 -46
  245. package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol +9 -14
  246. package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +4 -10
  247. package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +23 -36
  248. package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +18 -24
  249. package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol +3 -4
  250. package/contracts/LiquidityMining/libraries/VeBalanceLib.sol +20 -26
  251. package/contracts/core/BulkSeller/BulkSeller.sol +1 -5
  252. package/contracts/core/BulkSeller/BulkSellerFactory.sol +4 -5
  253. package/contracts/core/BulkSeller/BulkSellerMathCore.sol +20 -25
  254. package/contracts/core/Market/MarketMathCore.sol +23 -69
  255. package/contracts/core/Market/OracleLib.sol +4 -4
  256. package/contracts/core/Market/PendleGauge.sol +7 -20
  257. package/contracts/core/Market/PendleMarket.sol +5 -15
  258. package/contracts/core/Market/PendleMarketFactory.sol +3 -9
  259. package/contracts/core/RewardManager/RewardManager.sol +4 -6
  260. package/contracts/core/RewardManager/RewardManagerAbstract.sol +4 -4
  261. package/contracts/core/StandardizedYield/PYIndex.sol +7 -36
  262. package/contracts/core/StandardizedYield/SYBase.sol +20 -26
  263. package/contracts/core/StandardizedYield/SYBaseWithRewards.sol +7 -19
  264. package/contracts/core/StandardizedYield/SYUtils.sol +4 -5
  265. package/contracts/core/StandardizedYield/StEthHelper.sol +12 -16
  266. package/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol +14 -24
  267. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol +127 -0
  268. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol +12 -20
  269. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol +12 -20
  270. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol +1 -5
  271. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol +28 -44
  272. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol +28 -47
  273. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol +6 -10
  274. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol +6 -10
  275. package/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol +13 -22
  276. package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol +20 -27
  277. package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol +20 -27
  278. package/contracts/core/StandardizedYield/implementations/Convex/README.md +4 -4
  279. package/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol +32 -40
  280. package/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol +10 -12
  281. package/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol +14 -18
  282. package/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol +32 -48
  283. package/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol +6 -7
  284. package/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol +14 -24
  285. package/contracts/core/StandardizedYield/implementations/GLP/README.md +15 -13
  286. package/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol +12 -38
  287. package/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol +13 -23
  288. package/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol +13 -23
  289. package/contracts/core/YieldContracts/PendleYieldToken.sol +28 -44
  290. package/contracts/core/YieldContractsV2/InterestManagerYTV2.sol +4 -4
  291. package/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol +1 -1
  292. package/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol +24 -38
  293. package/contracts/core/erc20/PendleERC20.sol +14 -44
  294. package/contracts/core/libraries/ArrayLib.sol +20 -9
  295. package/contracts/core/libraries/BaseSplitCodeFactory.sol +5 -7
  296. package/contracts/core/libraries/BoringOwnableUpgradeable.sol +1 -5
  297. package/contracts/core/libraries/Errors.sol +0 -2
  298. package/contracts/core/libraries/StringLib.sol +14 -20
  299. package/contracts/core/libraries/TokenHelper.sol +6 -31
  300. package/contracts/core/libraries/math/LogExpMath.sol +2 -2
  301. package/contracts/core/libraries/math/Math.sol +3 -15
  302. package/contracts/interfaces/Balancer/IComposableStable.sol +4 -14
  303. package/contracts/interfaces/Balancer/IMetaStablePool.sol +4 -13
  304. package/contracts/interfaces/Balancer/IVault.sol +4 -6
  305. package/contracts/interfaces/ConvexCurve/IBooster.sol +4 -16
  306. package/contracts/interfaces/ConvexCurve/ICrvDepositor.sol +1 -5
  307. package/contracts/interfaces/ConvexCurve/IRewards.sol +1 -4
  308. package/contracts/interfaces/Curve/ICrvPool.sol +12 -11
  309. package/contracts/interfaces/Curve/ITriCrvPool.sol +4 -4
  310. package/contracts/interfaces/GMX/IGMXVault.sol +4 -4
  311. package/contracts/interfaces/GMX/IRewardRouterV2.sol +4 -4
  312. package/contracts/interfaces/IApeStaking.sol +3 -4
  313. package/contracts/interfaces/IDiamondLoupe.sol +3 -1
  314. package/contracts/interfaces/IERC4626.sol +1 -5
  315. package/contracts/interfaces/IPActionAddRemoveLiq.sol +2 -15
  316. package/contracts/interfaces/IPActionInfoStatic.sol +43 -0
  317. package/contracts/interfaces/IPActionMarketAuxStatic.sol +34 -0
  318. package/contracts/interfaces/IPActionMarketCoreStatic.sol +335 -0
  319. package/contracts/interfaces/IPActionMintRedeemStatic.sol +55 -0
  320. package/contracts/interfaces/IPActionStorageStatic.sol +24 -0
  321. package/contracts/interfaces/IPActionVePendleStatic.sol +9 -0
  322. package/contracts/interfaces/IPBulkSellerSYCallback.sol +1 -5
  323. package/contracts/interfaces/IPFeeDistributor.sol +4 -3
  324. package/contracts/interfaces/IPGaugeController.sol +3 -9
  325. package/contracts/interfaces/IPInterestManagerYT.sol +3 -4
  326. package/contracts/interfaces/IPInterestManagerYTV2.sol +4 -6
  327. package/contracts/interfaces/IPMarket.sol +5 -16
  328. package/contracts/interfaces/IPMarketFactory.sol +3 -8
  329. package/contracts/interfaces/IPMarketSwapCallback.sol +1 -5
  330. package/contracts/interfaces/IPMiniDiamond.sol +12 -0
  331. package/contracts/interfaces/IPRouterStatic.sol +19 -0
  332. package/contracts/interfaces/IPVotingController.sol +5 -6
  333. package/contracts/interfaces/IPVotingEscrowMainchain.sol +8 -7
  334. package/contracts/interfaces/IPYieldToken.sol +4 -3
  335. package/contracts/interfaces/IPYieldTokenV2.sol +4 -3
  336. package/contracts/interfaces/IRewardManager.sol +4 -4
  337. package/contracts/interfaces/IStETH.sol +4 -3
  338. package/contracts/interfaces/IStandardizedYield.sol +10 -14
  339. package/contracts/interfaces/IStargateRouter.sol +1 -5
  340. package/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol +4 -1
  341. package/contracts/offchain-helpers/BulkSellerOffchain.sol +7 -11
  342. package/contracts/offchain-helpers/Multicall2.sol +14 -24
  343. package/contracts/offchain-helpers/router-static/PendleRouterStatic.sol +19 -0
  344. package/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol +122 -0
  345. package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +165 -0
  346. package/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol +780 -0
  347. package/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol +158 -0
  348. package/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol +76 -0
  349. package/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol +55 -0
  350. package/contracts/offchain-helpers/router-static/base/StorageLayout.sol +21 -0
  351. package/contracts/router/ActionAddRemoveLiq.sol +2 -17
  352. package/contracts/router/ActionSwapYT.sol +9 -3
  353. package/contracts/router/base/ActionBaseCallback.sol +2 -2
  354. package/contracts/router/base/ActionBaseMintRedeem.sol +4 -5
  355. package/contracts/router/base/CallbackHelper.sol +16 -27
  356. package/contracts/router/base/MarketApproxLib.sol +18 -82
  357. package/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol +4 -10
  358. package/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol +4 -5
  359. package/contracts/router/swap-aggregator/IPSwapAggregator.sol +1 -5
  360. package/contracts/router/swap-aggregator/PendleSwapAggregator.sol +1 -5
  361. package/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol +4 -5
  362. package/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol +9 -9
  363. package/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol +3 -4
  364. package/deployments/1-core.json +1 -1
  365. package/deployments/1-markets/BALANCER-LP-AURA-ANKRETH-WETH-MARCH-28-2024.json +11 -0
  366. package/deployments/42161-core.json +1 -1
  367. package/package.json +5 -4
  368. package/typechain-types/ActionMarketCoreStatic.ts +0 -4
  369. package/typechain-types/ActionStorageStatic.ts +5 -3
  370. package/typechain-types/IPActionMarketCoreStatic.ts +0 -4
  371. package/typechain-types/IPActionStorageStatic.ts +5 -3
  372. package/typechain-types/IPRouterStatic.ts +5 -7
  373. package/typechain-types/IStargateLP.ts +306 -0
  374. package/typechain-types/IStargateStaking.ts +232 -0
  375. package/typechain-types/PendleAuraWethAnkrethSY.ts +1523 -0
  376. package/typechain-types/PendlePtOracleBase.ts +139 -0
  377. package/typechain-types/PendleStargateLP.ts +1442 -0
  378. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
  379. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  380. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  381. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -11
  382. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  383. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  384. package/typechain-types/factories/ActionMisc__factory.ts +1 -1
  385. package/typechain-types/factories/ActionStorageStatic__factory.ts +3 -3
  386. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  387. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
  388. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  389. package/typechain-types/factories/AddressProvider__factory.ts +1 -1
  390. package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +1 -1
  391. package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
  392. package/typechain-types/factories/Broadcaster__factory.ts +1 -1
  393. package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
  394. package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
  395. package/typechain-types/factories/BulkSeller__factory.ts +1 -1
  396. package/typechain-types/factories/Errors__factory.ts +1 -1
  397. package/typechain-types/factories/IPActionMarketCoreStatic__factory.ts +0 -10
  398. package/typechain-types/factories/IPActionStorageStatic__factory.ts +2 -2
  399. package/typechain-types/factories/IPRouterStatic__factory.ts +2 -12
  400. package/typechain-types/factories/IStargateLP__factory.ts +212 -0
  401. package/typechain-types/factories/IStargateStaking__factory.ts +145 -0
  402. package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
  403. package/typechain-types/factories/MetaStableMath__factory.ts +1 -1
  404. package/typechain-types/factories/MetaStablePreview__factory.ts +1 -1
  405. package/typechain-types/factories/Multicall2__factory.ts +1 -1
  406. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  407. package/typechain-types/factories/PendleAuraWethAnkrethSY__factory.ts +1265 -0
  408. package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +1 -1
  409. package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +1 -1
  410. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
  411. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
  412. package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
  413. package/typechain-types/factories/PendleERC20__factory.ts +1 -1
  414. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  415. package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
  416. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  417. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  418. package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
  419. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
  420. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  421. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  422. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  423. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  424. package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +1 -1
  425. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  426. package/typechain-types/factories/PendlePtOracleBase__factory.ts +78 -0
  427. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  428. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  429. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  430. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  431. package/typechain-types/factories/PendleStargateLP__factory.ts +1241 -0
  432. package/typechain-types/factories/PendleSwapAggregator__factory.ts +1 -1
  433. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  434. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  435. package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
  436. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  437. package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
  438. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  439. package/typechain-types/factories/RouterStatic__factory.ts +1 -1
  440. package/typechain-types/factories/SAPE__factory.ts +1 -1
  441. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  442. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  443. package/typechain-types/hardhat.d.ts +44 -17
  444. package/typechain-types/index.ts +12 -2
  445. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +0 -4
  446. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +0 -4
  447. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.json +0 -87
  448. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +0 -4
  449. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.json +0 -59
  450. package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.dbg.json +0 -4
  451. package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.json +0 -34
  452. package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.dbg.json +0 -4
  453. package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.json +0 -162
  454. package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.dbg.json +0 -4
  455. package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.json +0 -87
  456. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +0 -4
  457. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.json +0 -24
  458. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +0 -4
  459. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.json +0 -24
  460. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +0 -4
  461. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.json +0 -92
  462. package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.dbg.json +0 -4
  463. package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.json +0 -199
  464. package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +0 -4
  465. package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.json +0 -168
  466. package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +0 -4
  467. package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.json +0 -252
  468. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +0 -4
  469. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.json +0 -132
  470. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +0 -4
  471. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.json +0 -148
  472. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +0 -4
  473. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +0 -259
  474. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +0 -4
  475. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +0 -2825
  476. package/contracts/interfaces/IAToken.sol +0 -44
  477. package/contracts/interfaces/IAavePool.sol +0 -41
  478. package/contracts/interfaces/IAaveRewardsController.sol +0 -32
  479. package/contracts/interfaces/IBoringOwnableUpgradeable.sol +0 -10
  480. package/contracts/interfaces/IEulerEToken.sol +0 -60
  481. package/contracts/interfaces/IEulerMarkets.sol +0 -46
  482. package/contracts/interfaces/IPGovernanceManager.sol +0 -28
  483. package/contracts/interfaces/IPPermissionsV2Upg.sol +0 -28
  484. package/contracts/interfaces/IREDACTEDStaking.sol +0 -35
  485. package/contracts/interfaces/ISAvax.sol +0 -61
  486. package/contracts/interfaces/ISJoe.sol +0 -57
  487. package/contracts/interfaces/IWAvax.sol +0 -34
  488. package/contracts/interfaces/IWXBTRFLY.sol +0 -39
  489. package/contracts/interfaces/IYearnVault.sol +0 -46
  490. package/contracts/offchain-helpers/MarketMathStatic.sol +0 -572
  491. package/contracts/offchain-helpers/RouterStatic.sol +0 -929
@@ -0,0 +1,1260 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IPActionMarketCoreStatic",
4
+ "sourceName": "contracts/interfaces/IPActionMarketCoreStatic.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "market",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "uint256",
15
+ "name": "netSyDesired",
16
+ "type": "uint256"
17
+ },
18
+ {
19
+ "internalType": "uint256",
20
+ "name": "netPtDesired",
21
+ "type": "uint256"
22
+ }
23
+ ],
24
+ "name": "addLiquidityDualSyAndPtStatic",
25
+ "outputs": [
26
+ {
27
+ "internalType": "uint256",
28
+ "name": "netLpOut",
29
+ "type": "uint256"
30
+ },
31
+ {
32
+ "internalType": "uint256",
33
+ "name": "netSyUsed",
34
+ "type": "uint256"
35
+ },
36
+ {
37
+ "internalType": "uint256",
38
+ "name": "netPtUsed",
39
+ "type": "uint256"
40
+ }
41
+ ],
42
+ "stateMutability": "view",
43
+ "type": "function"
44
+ },
45
+ {
46
+ "inputs": [
47
+ {
48
+ "internalType": "address",
49
+ "name": "market",
50
+ "type": "address"
51
+ },
52
+ {
53
+ "internalType": "address",
54
+ "name": "tokenIn",
55
+ "type": "address"
56
+ },
57
+ {
58
+ "internalType": "uint256",
59
+ "name": "netTokenDesired",
60
+ "type": "uint256"
61
+ },
62
+ {
63
+ "internalType": "address",
64
+ "name": "bulk",
65
+ "type": "address"
66
+ },
67
+ {
68
+ "internalType": "uint256",
69
+ "name": "netPtDesired",
70
+ "type": "uint256"
71
+ }
72
+ ],
73
+ "name": "addLiquidityDualTokenAndPtStatic",
74
+ "outputs": [
75
+ {
76
+ "internalType": "uint256",
77
+ "name": "netLpOut",
78
+ "type": "uint256"
79
+ },
80
+ {
81
+ "internalType": "uint256",
82
+ "name": "netTokenUsed",
83
+ "type": "uint256"
84
+ },
85
+ {
86
+ "internalType": "uint256",
87
+ "name": "netPtUsed",
88
+ "type": "uint256"
89
+ },
90
+ {
91
+ "internalType": "uint256",
92
+ "name": "netSyUsed",
93
+ "type": "uint256"
94
+ },
95
+ {
96
+ "internalType": "uint256",
97
+ "name": "netSyDesired",
98
+ "type": "uint256"
99
+ }
100
+ ],
101
+ "stateMutability": "view",
102
+ "type": "function"
103
+ },
104
+ {
105
+ "inputs": [
106
+ {
107
+ "internalType": "address",
108
+ "name": "market",
109
+ "type": "address"
110
+ },
111
+ {
112
+ "internalType": "uint256",
113
+ "name": "netPtIn",
114
+ "type": "uint256"
115
+ }
116
+ ],
117
+ "name": "addLiquiditySinglePtStatic",
118
+ "outputs": [
119
+ {
120
+ "internalType": "uint256",
121
+ "name": "netLpOut",
122
+ "type": "uint256"
123
+ },
124
+ {
125
+ "internalType": "uint256",
126
+ "name": "netPtToSwap",
127
+ "type": "uint256"
128
+ },
129
+ {
130
+ "internalType": "uint256",
131
+ "name": "netSyFee",
132
+ "type": "uint256"
133
+ },
134
+ {
135
+ "internalType": "uint256",
136
+ "name": "priceImpact",
137
+ "type": "uint256"
138
+ },
139
+ {
140
+ "internalType": "uint256",
141
+ "name": "exchangeRateAfter",
142
+ "type": "uint256"
143
+ },
144
+ {
145
+ "internalType": "uint256",
146
+ "name": "netSyFromSwap",
147
+ "type": "uint256"
148
+ }
149
+ ],
150
+ "stateMutability": "nonpayable",
151
+ "type": "function"
152
+ },
153
+ {
154
+ "inputs": [
155
+ {
156
+ "internalType": "address",
157
+ "name": "market",
158
+ "type": "address"
159
+ },
160
+ {
161
+ "internalType": "uint256",
162
+ "name": "netSyIn",
163
+ "type": "uint256"
164
+ }
165
+ ],
166
+ "name": "addLiquiditySingleSyKeepYtStatic",
167
+ "outputs": [
168
+ {
169
+ "internalType": "uint256",
170
+ "name": "netLpOut",
171
+ "type": "uint256"
172
+ },
173
+ {
174
+ "internalType": "uint256",
175
+ "name": "netYtOut",
176
+ "type": "uint256"
177
+ },
178
+ {
179
+ "internalType": "uint256",
180
+ "name": "netSyToPY",
181
+ "type": "uint256"
182
+ }
183
+ ],
184
+ "stateMutability": "nonpayable",
185
+ "type": "function"
186
+ },
187
+ {
188
+ "inputs": [
189
+ {
190
+ "internalType": "address",
191
+ "name": "market",
192
+ "type": "address"
193
+ },
194
+ {
195
+ "internalType": "uint256",
196
+ "name": "netSyIn",
197
+ "type": "uint256"
198
+ }
199
+ ],
200
+ "name": "addLiquiditySingleSyStatic",
201
+ "outputs": [
202
+ {
203
+ "internalType": "uint256",
204
+ "name": "netLpOut",
205
+ "type": "uint256"
206
+ },
207
+ {
208
+ "internalType": "uint256",
209
+ "name": "netPtFromSwap",
210
+ "type": "uint256"
211
+ },
212
+ {
213
+ "internalType": "uint256",
214
+ "name": "netSyFee",
215
+ "type": "uint256"
216
+ },
217
+ {
218
+ "internalType": "uint256",
219
+ "name": "priceImpact",
220
+ "type": "uint256"
221
+ },
222
+ {
223
+ "internalType": "uint256",
224
+ "name": "exchangeRateAfter",
225
+ "type": "uint256"
226
+ },
227
+ {
228
+ "internalType": "uint256",
229
+ "name": "netSyToSwap",
230
+ "type": "uint256"
231
+ }
232
+ ],
233
+ "stateMutability": "nonpayable",
234
+ "type": "function"
235
+ },
236
+ {
237
+ "inputs": [
238
+ {
239
+ "internalType": "address",
240
+ "name": "market",
241
+ "type": "address"
242
+ },
243
+ {
244
+ "internalType": "address",
245
+ "name": "tokenIn",
246
+ "type": "address"
247
+ },
248
+ {
249
+ "internalType": "uint256",
250
+ "name": "netTokenIn",
251
+ "type": "uint256"
252
+ },
253
+ {
254
+ "internalType": "address",
255
+ "name": "bulk",
256
+ "type": "address"
257
+ }
258
+ ],
259
+ "name": "addLiquiditySingleTokenKeepYtStatic",
260
+ "outputs": [
261
+ {
262
+ "internalType": "uint256",
263
+ "name": "netLpOut",
264
+ "type": "uint256"
265
+ },
266
+ {
267
+ "internalType": "uint256",
268
+ "name": "netYtOut",
269
+ "type": "uint256"
270
+ },
271
+ {
272
+ "internalType": "uint256",
273
+ "name": "netSyMinted",
274
+ "type": "uint256"
275
+ },
276
+ {
277
+ "internalType": "uint256",
278
+ "name": "netSyToPY",
279
+ "type": "uint256"
280
+ }
281
+ ],
282
+ "stateMutability": "nonpayable",
283
+ "type": "function"
284
+ },
285
+ {
286
+ "inputs": [
287
+ {
288
+ "internalType": "address",
289
+ "name": "market",
290
+ "type": "address"
291
+ },
292
+ {
293
+ "internalType": "address",
294
+ "name": "tokenIn",
295
+ "type": "address"
296
+ },
297
+ {
298
+ "internalType": "uint256",
299
+ "name": "netTokenIn",
300
+ "type": "uint256"
301
+ },
302
+ {
303
+ "internalType": "address",
304
+ "name": "bulk",
305
+ "type": "address"
306
+ }
307
+ ],
308
+ "name": "addLiquiditySingleTokenStatic",
309
+ "outputs": [
310
+ {
311
+ "internalType": "uint256",
312
+ "name": "netLpOut",
313
+ "type": "uint256"
314
+ },
315
+ {
316
+ "internalType": "uint256",
317
+ "name": "netPtFromSwap",
318
+ "type": "uint256"
319
+ },
320
+ {
321
+ "internalType": "uint256",
322
+ "name": "netSyFee",
323
+ "type": "uint256"
324
+ },
325
+ {
326
+ "internalType": "uint256",
327
+ "name": "priceImpact",
328
+ "type": "uint256"
329
+ },
330
+ {
331
+ "internalType": "uint256",
332
+ "name": "exchangeRateAfter",
333
+ "type": "uint256"
334
+ },
335
+ {
336
+ "internalType": "uint256",
337
+ "name": "netSyMinted",
338
+ "type": "uint256"
339
+ },
340
+ {
341
+ "internalType": "uint256",
342
+ "name": "netSyToSwap",
343
+ "type": "uint256"
344
+ }
345
+ ],
346
+ "stateMutability": "nonpayable",
347
+ "type": "function"
348
+ },
349
+ {
350
+ "inputs": [
351
+ {
352
+ "internalType": "address",
353
+ "name": "market",
354
+ "type": "address"
355
+ },
356
+ {
357
+ "internalType": "uint256",
358
+ "name": "netLpToRemove",
359
+ "type": "uint256"
360
+ }
361
+ ],
362
+ "name": "removeLiquidityDualSyAndPtStatic",
363
+ "outputs": [
364
+ {
365
+ "internalType": "uint256",
366
+ "name": "netSyOut",
367
+ "type": "uint256"
368
+ },
369
+ {
370
+ "internalType": "uint256",
371
+ "name": "netPtOut",
372
+ "type": "uint256"
373
+ }
374
+ ],
375
+ "stateMutability": "view",
376
+ "type": "function"
377
+ },
378
+ {
379
+ "inputs": [
380
+ {
381
+ "internalType": "address",
382
+ "name": "market",
383
+ "type": "address"
384
+ },
385
+ {
386
+ "internalType": "uint256",
387
+ "name": "netLpToRemove",
388
+ "type": "uint256"
389
+ },
390
+ {
391
+ "internalType": "address",
392
+ "name": "tokenOut",
393
+ "type": "address"
394
+ },
395
+ {
396
+ "internalType": "address",
397
+ "name": "bulk",
398
+ "type": "address"
399
+ }
400
+ ],
401
+ "name": "removeLiquidityDualTokenAndPtStatic",
402
+ "outputs": [
403
+ {
404
+ "internalType": "uint256",
405
+ "name": "netTokenOut",
406
+ "type": "uint256"
407
+ },
408
+ {
409
+ "internalType": "uint256",
410
+ "name": "netPtOut",
411
+ "type": "uint256"
412
+ },
413
+ {
414
+ "internalType": "uint256",
415
+ "name": "netSyToRedeem",
416
+ "type": "uint256"
417
+ }
418
+ ],
419
+ "stateMutability": "view",
420
+ "type": "function"
421
+ },
422
+ {
423
+ "inputs": [
424
+ {
425
+ "internalType": "address",
426
+ "name": "market",
427
+ "type": "address"
428
+ },
429
+ {
430
+ "internalType": "uint256",
431
+ "name": "netLpToRemove",
432
+ "type": "uint256"
433
+ }
434
+ ],
435
+ "name": "removeLiquiditySinglePtStatic",
436
+ "outputs": [
437
+ {
438
+ "internalType": "uint256",
439
+ "name": "netPtOut",
440
+ "type": "uint256"
441
+ },
442
+ {
443
+ "internalType": "uint256",
444
+ "name": "netPtFromSwap",
445
+ "type": "uint256"
446
+ },
447
+ {
448
+ "internalType": "uint256",
449
+ "name": "netSyFee",
450
+ "type": "uint256"
451
+ },
452
+ {
453
+ "internalType": "uint256",
454
+ "name": "priceImpact",
455
+ "type": "uint256"
456
+ },
457
+ {
458
+ "internalType": "uint256",
459
+ "name": "exchangeRateAfter",
460
+ "type": "uint256"
461
+ },
462
+ {
463
+ "internalType": "uint256",
464
+ "name": "netSyFromBurn",
465
+ "type": "uint256"
466
+ },
467
+ {
468
+ "internalType": "uint256",
469
+ "name": "netPtFromBurn",
470
+ "type": "uint256"
471
+ }
472
+ ],
473
+ "stateMutability": "nonpayable",
474
+ "type": "function"
475
+ },
476
+ {
477
+ "inputs": [
478
+ {
479
+ "internalType": "address",
480
+ "name": "market",
481
+ "type": "address"
482
+ },
483
+ {
484
+ "internalType": "uint256",
485
+ "name": "netLpToRemove",
486
+ "type": "uint256"
487
+ }
488
+ ],
489
+ "name": "removeLiquiditySingleSyStatic",
490
+ "outputs": [
491
+ {
492
+ "internalType": "uint256",
493
+ "name": "netSyOut",
494
+ "type": "uint256"
495
+ },
496
+ {
497
+ "internalType": "uint256",
498
+ "name": "netSyFee",
499
+ "type": "uint256"
500
+ },
501
+ {
502
+ "internalType": "uint256",
503
+ "name": "priceImpact",
504
+ "type": "uint256"
505
+ },
506
+ {
507
+ "internalType": "uint256",
508
+ "name": "exchangeRateAfter",
509
+ "type": "uint256"
510
+ },
511
+ {
512
+ "internalType": "uint256",
513
+ "name": "netSyFromBurn",
514
+ "type": "uint256"
515
+ },
516
+ {
517
+ "internalType": "uint256",
518
+ "name": "netPtFromBurn",
519
+ "type": "uint256"
520
+ },
521
+ {
522
+ "internalType": "uint256",
523
+ "name": "netSyFromSwap",
524
+ "type": "uint256"
525
+ }
526
+ ],
527
+ "stateMutability": "nonpayable",
528
+ "type": "function"
529
+ },
530
+ {
531
+ "inputs": [
532
+ {
533
+ "internalType": "address",
534
+ "name": "market",
535
+ "type": "address"
536
+ },
537
+ {
538
+ "internalType": "uint256",
539
+ "name": "netLpToRemove",
540
+ "type": "uint256"
541
+ },
542
+ {
543
+ "internalType": "address",
544
+ "name": "tokenOut",
545
+ "type": "address"
546
+ },
547
+ {
548
+ "internalType": "address",
549
+ "name": "bulk",
550
+ "type": "address"
551
+ }
552
+ ],
553
+ "name": "removeLiquiditySingleTokenStatic",
554
+ "outputs": [
555
+ {
556
+ "internalType": "uint256",
557
+ "name": "netTokenOut",
558
+ "type": "uint256"
559
+ },
560
+ {
561
+ "internalType": "uint256",
562
+ "name": "netSyFee",
563
+ "type": "uint256"
564
+ },
565
+ {
566
+ "internalType": "uint256",
567
+ "name": "priceImpact",
568
+ "type": "uint256"
569
+ },
570
+ {
571
+ "internalType": "uint256",
572
+ "name": "exchangeRateAfter",
573
+ "type": "uint256"
574
+ },
575
+ {
576
+ "internalType": "uint256",
577
+ "name": "netSyOut",
578
+ "type": "uint256"
579
+ },
580
+ {
581
+ "internalType": "uint256",
582
+ "name": "netSyFromBurn",
583
+ "type": "uint256"
584
+ },
585
+ {
586
+ "internalType": "uint256",
587
+ "name": "netPtFromBurn",
588
+ "type": "uint256"
589
+ },
590
+ {
591
+ "internalType": "uint256",
592
+ "name": "netSyFromSwap",
593
+ "type": "uint256"
594
+ }
595
+ ],
596
+ "stateMutability": "nonpayable",
597
+ "type": "function"
598
+ },
599
+ {
600
+ "inputs": [
601
+ {
602
+ "internalType": "address",
603
+ "name": "market",
604
+ "type": "address"
605
+ },
606
+ {
607
+ "internalType": "uint256",
608
+ "name": "exactPtIn",
609
+ "type": "uint256"
610
+ }
611
+ ],
612
+ "name": "swapExactPtForSyStatic",
613
+ "outputs": [
614
+ {
615
+ "internalType": "uint256",
616
+ "name": "netSyOut",
617
+ "type": "uint256"
618
+ },
619
+ {
620
+ "internalType": "uint256",
621
+ "name": "netSyFee",
622
+ "type": "uint256"
623
+ },
624
+ {
625
+ "internalType": "uint256",
626
+ "name": "priceImpact",
627
+ "type": "uint256"
628
+ },
629
+ {
630
+ "internalType": "uint256",
631
+ "name": "exchangeRateAfter",
632
+ "type": "uint256"
633
+ }
634
+ ],
635
+ "stateMutability": "nonpayable",
636
+ "type": "function"
637
+ },
638
+ {
639
+ "inputs": [
640
+ {
641
+ "internalType": "address",
642
+ "name": "market",
643
+ "type": "address"
644
+ },
645
+ {
646
+ "internalType": "uint256",
647
+ "name": "exactPtIn",
648
+ "type": "uint256"
649
+ },
650
+ {
651
+ "internalType": "address",
652
+ "name": "tokenOut",
653
+ "type": "address"
654
+ },
655
+ {
656
+ "internalType": "address",
657
+ "name": "bulk",
658
+ "type": "address"
659
+ }
660
+ ],
661
+ "name": "swapExactPtForTokenStatic",
662
+ "outputs": [
663
+ {
664
+ "internalType": "uint256",
665
+ "name": "netTokenOut",
666
+ "type": "uint256"
667
+ },
668
+ {
669
+ "internalType": "uint256",
670
+ "name": "netSyToRedeem",
671
+ "type": "uint256"
672
+ },
673
+ {
674
+ "internalType": "uint256",
675
+ "name": "netSyFee",
676
+ "type": "uint256"
677
+ },
678
+ {
679
+ "internalType": "uint256",
680
+ "name": "priceImpact",
681
+ "type": "uint256"
682
+ },
683
+ {
684
+ "internalType": "uint256",
685
+ "name": "exchangeRateAfter",
686
+ "type": "uint256"
687
+ }
688
+ ],
689
+ "stateMutability": "nonpayable",
690
+ "type": "function"
691
+ },
692
+ {
693
+ "inputs": [
694
+ {
695
+ "internalType": "address",
696
+ "name": "market",
697
+ "type": "address"
698
+ },
699
+ {
700
+ "internalType": "uint256",
701
+ "name": "exactPtIn",
702
+ "type": "uint256"
703
+ }
704
+ ],
705
+ "name": "swapExactPtForYtStatic",
706
+ "outputs": [
707
+ {
708
+ "internalType": "uint256",
709
+ "name": "netYtOut",
710
+ "type": "uint256"
711
+ },
712
+ {
713
+ "internalType": "uint256",
714
+ "name": "totalPtToSwap",
715
+ "type": "uint256"
716
+ },
717
+ {
718
+ "internalType": "uint256",
719
+ "name": "netSyFee",
720
+ "type": "uint256"
721
+ },
722
+ {
723
+ "internalType": "uint256",
724
+ "name": "priceImpact",
725
+ "type": "uint256"
726
+ },
727
+ {
728
+ "internalType": "uint256",
729
+ "name": "exchangeRateAfter",
730
+ "type": "uint256"
731
+ }
732
+ ],
733
+ "stateMutability": "nonpayable",
734
+ "type": "function"
735
+ },
736
+ {
737
+ "inputs": [
738
+ {
739
+ "internalType": "address",
740
+ "name": "market",
741
+ "type": "address"
742
+ },
743
+ {
744
+ "internalType": "uint256",
745
+ "name": "exactSyIn",
746
+ "type": "uint256"
747
+ }
748
+ ],
749
+ "name": "swapExactSyForPtStatic",
750
+ "outputs": [
751
+ {
752
+ "internalType": "uint256",
753
+ "name": "netPtOut",
754
+ "type": "uint256"
755
+ },
756
+ {
757
+ "internalType": "uint256",
758
+ "name": "netSyFee",
759
+ "type": "uint256"
760
+ },
761
+ {
762
+ "internalType": "uint256",
763
+ "name": "priceImpact",
764
+ "type": "uint256"
765
+ },
766
+ {
767
+ "internalType": "uint256",
768
+ "name": "exchangeRateAfter",
769
+ "type": "uint256"
770
+ }
771
+ ],
772
+ "stateMutability": "nonpayable",
773
+ "type": "function"
774
+ },
775
+ {
776
+ "inputs": [
777
+ {
778
+ "internalType": "address",
779
+ "name": "market",
780
+ "type": "address"
781
+ },
782
+ {
783
+ "internalType": "uint256",
784
+ "name": "exactSyIn",
785
+ "type": "uint256"
786
+ }
787
+ ],
788
+ "name": "swapExactSyForYtStatic",
789
+ "outputs": [
790
+ {
791
+ "internalType": "uint256",
792
+ "name": "netYtOut",
793
+ "type": "uint256"
794
+ },
795
+ {
796
+ "internalType": "uint256",
797
+ "name": "netSyFee",
798
+ "type": "uint256"
799
+ },
800
+ {
801
+ "internalType": "uint256",
802
+ "name": "priceImpact",
803
+ "type": "uint256"
804
+ },
805
+ {
806
+ "internalType": "uint256",
807
+ "name": "exchangeRateAfter",
808
+ "type": "uint256"
809
+ }
810
+ ],
811
+ "stateMutability": "nonpayable",
812
+ "type": "function"
813
+ },
814
+ {
815
+ "inputs": [
816
+ {
817
+ "internalType": "address",
818
+ "name": "market",
819
+ "type": "address"
820
+ },
821
+ {
822
+ "internalType": "address",
823
+ "name": "tokenIn",
824
+ "type": "address"
825
+ },
826
+ {
827
+ "internalType": "uint256",
828
+ "name": "amountTokenIn",
829
+ "type": "uint256"
830
+ },
831
+ {
832
+ "internalType": "address",
833
+ "name": "bulk",
834
+ "type": "address"
835
+ }
836
+ ],
837
+ "name": "swapExactTokenForPtStatic",
838
+ "outputs": [
839
+ {
840
+ "internalType": "uint256",
841
+ "name": "netPtOut",
842
+ "type": "uint256"
843
+ },
844
+ {
845
+ "internalType": "uint256",
846
+ "name": "netSyMinted",
847
+ "type": "uint256"
848
+ },
849
+ {
850
+ "internalType": "uint256",
851
+ "name": "netSyFee",
852
+ "type": "uint256"
853
+ },
854
+ {
855
+ "internalType": "uint256",
856
+ "name": "priceImpact",
857
+ "type": "uint256"
858
+ },
859
+ {
860
+ "internalType": "uint256",
861
+ "name": "exchangeRateAfter",
862
+ "type": "uint256"
863
+ }
864
+ ],
865
+ "stateMutability": "nonpayable",
866
+ "type": "function"
867
+ },
868
+ {
869
+ "inputs": [
870
+ {
871
+ "internalType": "address",
872
+ "name": "market",
873
+ "type": "address"
874
+ },
875
+ {
876
+ "internalType": "address",
877
+ "name": "tokenIn",
878
+ "type": "address"
879
+ },
880
+ {
881
+ "internalType": "uint256",
882
+ "name": "amountTokenIn",
883
+ "type": "uint256"
884
+ },
885
+ {
886
+ "internalType": "address",
887
+ "name": "bulk",
888
+ "type": "address"
889
+ }
890
+ ],
891
+ "name": "swapExactTokenForYtStatic",
892
+ "outputs": [
893
+ {
894
+ "internalType": "uint256",
895
+ "name": "netYtOut",
896
+ "type": "uint256"
897
+ },
898
+ {
899
+ "internalType": "uint256",
900
+ "name": "netSyMinted",
901
+ "type": "uint256"
902
+ },
903
+ {
904
+ "internalType": "uint256",
905
+ "name": "netSyFee",
906
+ "type": "uint256"
907
+ },
908
+ {
909
+ "internalType": "uint256",
910
+ "name": "priceImpact",
911
+ "type": "uint256"
912
+ },
913
+ {
914
+ "internalType": "uint256",
915
+ "name": "exchangeRateAfter",
916
+ "type": "uint256"
917
+ }
918
+ ],
919
+ "stateMutability": "nonpayable",
920
+ "type": "function"
921
+ },
922
+ {
923
+ "inputs": [
924
+ {
925
+ "internalType": "address",
926
+ "name": "market",
927
+ "type": "address"
928
+ },
929
+ {
930
+ "internalType": "uint256",
931
+ "name": "exactYtIn",
932
+ "type": "uint256"
933
+ }
934
+ ],
935
+ "name": "swapExactYtForPtStatic",
936
+ "outputs": [
937
+ {
938
+ "internalType": "uint256",
939
+ "name": "netPtOut",
940
+ "type": "uint256"
941
+ },
942
+ {
943
+ "internalType": "uint256",
944
+ "name": "totalPtSwapped",
945
+ "type": "uint256"
946
+ },
947
+ {
948
+ "internalType": "uint256",
949
+ "name": "netSyFee",
950
+ "type": "uint256"
951
+ },
952
+ {
953
+ "internalType": "uint256",
954
+ "name": "priceImpact",
955
+ "type": "uint256"
956
+ },
957
+ {
958
+ "internalType": "uint256",
959
+ "name": "exchangeRateAfter",
960
+ "type": "uint256"
961
+ }
962
+ ],
963
+ "stateMutability": "nonpayable",
964
+ "type": "function"
965
+ },
966
+ {
967
+ "inputs": [
968
+ {
969
+ "internalType": "address",
970
+ "name": "market",
971
+ "type": "address"
972
+ },
973
+ {
974
+ "internalType": "uint256",
975
+ "name": "exactYtIn",
976
+ "type": "uint256"
977
+ }
978
+ ],
979
+ "name": "swapExactYtForSyStatic",
980
+ "outputs": [
981
+ {
982
+ "internalType": "uint256",
983
+ "name": "netSyOut",
984
+ "type": "uint256"
985
+ },
986
+ {
987
+ "internalType": "uint256",
988
+ "name": "netSyFee",
989
+ "type": "uint256"
990
+ },
991
+ {
992
+ "internalType": "uint256",
993
+ "name": "priceImpact",
994
+ "type": "uint256"
995
+ },
996
+ {
997
+ "internalType": "uint256",
998
+ "name": "exchangeRateAfter",
999
+ "type": "uint256"
1000
+ },
1001
+ {
1002
+ "internalType": "uint256",
1003
+ "name": "netSyOwedInt",
1004
+ "type": "uint256"
1005
+ },
1006
+ {
1007
+ "internalType": "uint256",
1008
+ "name": "netPYToRepaySyOwedInt",
1009
+ "type": "uint256"
1010
+ },
1011
+ {
1012
+ "internalType": "uint256",
1013
+ "name": "netPYToRedeemSyOutInt",
1014
+ "type": "uint256"
1015
+ }
1016
+ ],
1017
+ "stateMutability": "nonpayable",
1018
+ "type": "function"
1019
+ },
1020
+ {
1021
+ "inputs": [
1022
+ {
1023
+ "internalType": "address",
1024
+ "name": "market",
1025
+ "type": "address"
1026
+ },
1027
+ {
1028
+ "internalType": "uint256",
1029
+ "name": "exactYtIn",
1030
+ "type": "uint256"
1031
+ },
1032
+ {
1033
+ "internalType": "address",
1034
+ "name": "tokenOut",
1035
+ "type": "address"
1036
+ },
1037
+ {
1038
+ "internalType": "address",
1039
+ "name": "bulk",
1040
+ "type": "address"
1041
+ }
1042
+ ],
1043
+ "name": "swapExactYtForTokenStatic",
1044
+ "outputs": [
1045
+ {
1046
+ "internalType": "uint256",
1047
+ "name": "netTokenOut",
1048
+ "type": "uint256"
1049
+ },
1050
+ {
1051
+ "internalType": "uint256",
1052
+ "name": "netSyFee",
1053
+ "type": "uint256"
1054
+ },
1055
+ {
1056
+ "internalType": "uint256",
1057
+ "name": "priceImpact",
1058
+ "type": "uint256"
1059
+ },
1060
+ {
1061
+ "internalType": "uint256",
1062
+ "name": "exchangeRateAfter",
1063
+ "type": "uint256"
1064
+ },
1065
+ {
1066
+ "internalType": "uint256",
1067
+ "name": "netSyOut",
1068
+ "type": "uint256"
1069
+ },
1070
+ {
1071
+ "internalType": "uint256",
1072
+ "name": "netSyOwedInt",
1073
+ "type": "uint256"
1074
+ },
1075
+ {
1076
+ "internalType": "uint256",
1077
+ "name": "netPYToRepaySyOwedInt",
1078
+ "type": "uint256"
1079
+ },
1080
+ {
1081
+ "internalType": "uint256",
1082
+ "name": "netPYToRedeemSyOutInt",
1083
+ "type": "uint256"
1084
+ }
1085
+ ],
1086
+ "stateMutability": "nonpayable",
1087
+ "type": "function"
1088
+ },
1089
+ {
1090
+ "inputs": [
1091
+ {
1092
+ "internalType": "address",
1093
+ "name": "market",
1094
+ "type": "address"
1095
+ },
1096
+ {
1097
+ "internalType": "uint256",
1098
+ "name": "exactSyOut",
1099
+ "type": "uint256"
1100
+ }
1101
+ ],
1102
+ "name": "swapPtForExactSyStatic",
1103
+ "outputs": [
1104
+ {
1105
+ "internalType": "uint256",
1106
+ "name": "netPtIn",
1107
+ "type": "uint256"
1108
+ },
1109
+ {
1110
+ "internalType": "uint256",
1111
+ "name": "netSyFee",
1112
+ "type": "uint256"
1113
+ },
1114
+ {
1115
+ "internalType": "uint256",
1116
+ "name": "priceImpact",
1117
+ "type": "uint256"
1118
+ },
1119
+ {
1120
+ "internalType": "uint256",
1121
+ "name": "exchangeRateAfter",
1122
+ "type": "uint256"
1123
+ }
1124
+ ],
1125
+ "stateMutability": "nonpayable",
1126
+ "type": "function"
1127
+ },
1128
+ {
1129
+ "inputs": [
1130
+ {
1131
+ "internalType": "address",
1132
+ "name": "market",
1133
+ "type": "address"
1134
+ },
1135
+ {
1136
+ "internalType": "uint256",
1137
+ "name": "exactPtOut",
1138
+ "type": "uint256"
1139
+ }
1140
+ ],
1141
+ "name": "swapSyForExactPtStatic",
1142
+ "outputs": [
1143
+ {
1144
+ "internalType": "uint256",
1145
+ "name": "netSyIn",
1146
+ "type": "uint256"
1147
+ },
1148
+ {
1149
+ "internalType": "uint256",
1150
+ "name": "netSyFee",
1151
+ "type": "uint256"
1152
+ },
1153
+ {
1154
+ "internalType": "uint256",
1155
+ "name": "priceImpact",
1156
+ "type": "uint256"
1157
+ },
1158
+ {
1159
+ "internalType": "uint256",
1160
+ "name": "exchangeRateAfter",
1161
+ "type": "uint256"
1162
+ }
1163
+ ],
1164
+ "stateMutability": "nonpayable",
1165
+ "type": "function"
1166
+ },
1167
+ {
1168
+ "inputs": [
1169
+ {
1170
+ "internalType": "address",
1171
+ "name": "market",
1172
+ "type": "address"
1173
+ },
1174
+ {
1175
+ "internalType": "uint256",
1176
+ "name": "exactYtOut",
1177
+ "type": "uint256"
1178
+ }
1179
+ ],
1180
+ "name": "swapSyForExactYtStatic",
1181
+ "outputs": [
1182
+ {
1183
+ "internalType": "uint256",
1184
+ "name": "netSyIn",
1185
+ "type": "uint256"
1186
+ },
1187
+ {
1188
+ "internalType": "uint256",
1189
+ "name": "netSyFee",
1190
+ "type": "uint256"
1191
+ },
1192
+ {
1193
+ "internalType": "uint256",
1194
+ "name": "priceImpact",
1195
+ "type": "uint256"
1196
+ },
1197
+ {
1198
+ "internalType": "uint256",
1199
+ "name": "exchangeRateAfter",
1200
+ "type": "uint256"
1201
+ },
1202
+ {
1203
+ "internalType": "uint256",
1204
+ "name": "netSyReceivedInt",
1205
+ "type": "uint256"
1206
+ },
1207
+ {
1208
+ "internalType": "uint256",
1209
+ "name": "totalSyNeedInt",
1210
+ "type": "uint256"
1211
+ }
1212
+ ],
1213
+ "stateMutability": "nonpayable",
1214
+ "type": "function"
1215
+ },
1216
+ {
1217
+ "inputs": [
1218
+ {
1219
+ "internalType": "address",
1220
+ "name": "market",
1221
+ "type": "address"
1222
+ },
1223
+ {
1224
+ "internalType": "uint256",
1225
+ "name": "exactSyOut",
1226
+ "type": "uint256"
1227
+ }
1228
+ ],
1229
+ "name": "swapYtForExactSyStatic",
1230
+ "outputs": [
1231
+ {
1232
+ "internalType": "uint256",
1233
+ "name": "netYtIn",
1234
+ "type": "uint256"
1235
+ },
1236
+ {
1237
+ "internalType": "uint256",
1238
+ "name": "netSyFee",
1239
+ "type": "uint256"
1240
+ },
1241
+ {
1242
+ "internalType": "uint256",
1243
+ "name": "priceImpact",
1244
+ "type": "uint256"
1245
+ },
1246
+ {
1247
+ "internalType": "uint256",
1248
+ "name": "exchangeRateAfter",
1249
+ "type": "uint256"
1250
+ }
1251
+ ],
1252
+ "stateMutability": "nonpayable",
1253
+ "type": "function"
1254
+ }
1255
+ ],
1256
+ "bytecode": "0x",
1257
+ "deployedBytecode": "0x",
1258
+ "linkReferences": {},
1259
+ "deployedLinkReferences": {}
1260
+ }