@pendle/core-v2 1.4.0-mainnet → 1.4.0-testnet

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