@pendle/core-v2 2.3.2-mainnet → 2.5.0-mainnet

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (235) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  10. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  12. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  14. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  16. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  19. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  21. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  24. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  26. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  28. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
  30. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
  32. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
  34. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  36. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  38. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  40. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  42. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
  46. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.json +2 -2
  48. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.json +2 -2
  50. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +2 -2
  52. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +4 -0
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.json +1157 -0
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  72. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  73. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  74. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  75. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  76. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  77. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  78. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
  79. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +2 -2
  80. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
  81. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
  82. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
  83. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -2
  84. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  85. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +18 -2
  86. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IStargateLP.sol/IStargateLP.dbg.json +4 -0
  99. package/build/artifacts/contracts/interfaces/{IStargatePool.sol/IStargatePool.json → IStargateLP.sol/IStargateLP.json} +68 -3
  100. package/build/artifacts/contracts/interfaces/IStargateStaking.sol/IStargateStaking.dbg.json +4 -0
  101. package/build/artifacts/contracts/interfaces/{IStargateLPStaking.sol/IStargateLPStaking.json → IStargateStaking.sol/IStargateStaking.json} +20 -27
  102. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  103. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  104. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  105. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
  106. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  107. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  108. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  109. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  110. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  111. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  112. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  113. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  114. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  115. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  116. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  117. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  118. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  119. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  120. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  121. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  122. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
  123. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  124. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
  125. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  126. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  127. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  128. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  129. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  130. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  131. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  132. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  133. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  134. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  135. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  136. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  137. package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
  138. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapArbitrum.sol/PendleSwapArbitrum.dbg.json +1 -1
  139. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapArbitrum.sol/PendleSwapArbitrum.json +2 -2
  140. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapEthereum.sol/PendleSwapEthereum.dbg.json +1 -1
  141. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapEthereum.sol/PendleSwapEthereum.json +2 -2
  142. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  143. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper1.sol/IExecutorHelper1.dbg.json +1 -1
  144. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper2.sol/IExecutorHelper2.dbg.json +1 -1
  145. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IHashflow.sol/IHashflow.dbg.json +1 -1
  146. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  147. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/KyberHelperArbitrum.sol/KyberHelperArbitrum.dbg.json +1 -1
  148. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/ScaleDataHelperArbitrum.sol/ScaleDataHelperArbitrum.dbg.json +1 -1
  149. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  150. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +1 -1
  151. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IHashflow.sol/IHashflow.dbg.json +1 -1
  152. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  153. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/KyberHelperEthereum.sol/KyberHelperEthereum.dbg.json +1 -1
  154. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/ScaleDataHelperEthereum.sol/ScaleDataHelperEthereum.dbg.json +1 -1
  155. package/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol +222 -0
  156. package/contracts/core/libraries/Errors.sol +2 -0
  157. package/contracts/interfaces/{IStargatePool.sol → IStargateLP.sol} +14 -1
  158. package/contracts/interfaces/{IStargateLPStaking.sol → IStargateStaking.sol} +2 -2
  159. package/deployments/1-core.json +3 -2
  160. package/deployments/1-markets/STARGATE-USDT-27JUNE2024-ETHEREUM.json +10 -0
  161. package/deployments/1-markets/STETH-26DEC2024.json +10 -0
  162. package/deployments/42161-core.json +3 -2
  163. package/deployments/42161-markets/STARGATE-USDT-27JUNE2024-ARBITRUM.json +10 -0
  164. package/package.json +1 -1
  165. package/typechain-types/IChainlinkAggregator.ts +246 -0
  166. package/typechain-types/IPLiquidityMigrator.ts +565 -0
  167. package/typechain-types/IPRouterHelper.ts +638 -0
  168. package/typechain-types/ISiloPriceProvider.ts +150 -0
  169. package/typechain-types/PendlePtOracleBase.ts +26 -0
  170. package/typechain-types/PendleRouterHelper.ts +746 -0
  171. package/typechain-types/PendleStargateLPSY.ts +1442 -0
  172. package/typechain-types/PtFraxUsdcOracle.ts +202 -0
  173. package/typechain-types/PtStETHOracle.ts +189 -0
  174. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
  175. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  176. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  177. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  178. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  179. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  180. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  181. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  182. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
  183. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  184. package/typechain-types/factories/Broadcaster__factory.ts +1 -1
  185. package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
  186. package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
  187. package/typechain-types/factories/BulkSeller__factory.ts +1 -1
  188. package/typechain-types/factories/Errors__factory.ts +17 -1
  189. package/typechain-types/factories/IChainlinkAggregator__factory.ts +170 -0
  190. package/typechain-types/factories/IPLiquidityMigrator__factory.ts +677 -0
  191. package/typechain-types/factories/IPRouterHelper__factory.ts +763 -0
  192. package/typechain-types/factories/ISiloPriceProvider__factory.ts +90 -0
  193. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  194. package/typechain-types/factories/PendleAuraWethAnkrethSY__factory.ts +1 -1
  195. package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +1 -1
  196. package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +1 -1
  197. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
  198. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
  199. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  200. package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
  201. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  202. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  203. package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
  204. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
  205. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  206. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  207. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  208. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  209. package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +1 -1
  210. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  211. package/typechain-types/factories/PendlePtOracleBase__factory.ts +26 -0
  212. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  213. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  214. package/typechain-types/factories/PendleRouterHelper__factory.ts +953 -0
  215. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  216. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  217. package/typechain-types/factories/PendleStargateLPSY__factory.ts +1241 -0
  218. package/typechain-types/factories/PendleSwapAggregator__factory.ts +1 -1
  219. package/typechain-types/factories/PendleSwapArbitrum__factory.ts +1 -1
  220. package/typechain-types/factories/PendleSwapEthereum__factory.ts +1 -1
  221. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  222. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  223. package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
  224. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  225. package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
  226. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  227. package/typechain-types/factories/PtFraxUsdcOracle__factory.ts +252 -0
  228. package/typechain-types/factories/PtStETHOracle__factory.ts +227 -0
  229. package/typechain-types/factories/SAPE__factory.ts +1 -1
  230. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  231. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  232. package/typechain-types/hardhat.d.ts +54 -0
  233. package/typechain-types/index.ts +12 -0
  234. package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +0 -4
  235. package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +0 -4
@@ -0,0 +1,677 @@
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
+ IPLiquidityMigrator,
9
+ IPLiquidityMigratorInterface,
10
+ } from "../IPLiquidityMigrator";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "address",
19
+ name: "fromMarket",
20
+ type: "address",
21
+ },
22
+ {
23
+ indexed: true,
24
+ internalType: "address",
25
+ name: "toMarket",
26
+ type: "address",
27
+ },
28
+ {
29
+ indexed: true,
30
+ internalType: "address",
31
+ name: "user",
32
+ type: "address",
33
+ },
34
+ {
35
+ indexed: false,
36
+ internalType: "uint256",
37
+ name: "netLpToRemove",
38
+ type: "uint256",
39
+ },
40
+ {
41
+ indexed: false,
42
+ internalType: "uint256",
43
+ name: "netLpOut",
44
+ type: "uint256",
45
+ },
46
+ {
47
+ indexed: false,
48
+ internalType: "uint256",
49
+ name: "netYtOut",
50
+ type: "uint256",
51
+ },
52
+ ],
53
+ name: "MigrateDifferentSyKeepYt",
54
+ type: "event",
55
+ },
56
+ {
57
+ anonymous: false,
58
+ inputs: [
59
+ {
60
+ indexed: true,
61
+ internalType: "address",
62
+ name: "fromMarket",
63
+ type: "address",
64
+ },
65
+ {
66
+ indexed: true,
67
+ internalType: "address",
68
+ name: "toMarket",
69
+ type: "address",
70
+ },
71
+ {
72
+ indexed: true,
73
+ internalType: "address",
74
+ name: "user",
75
+ type: "address",
76
+ },
77
+ {
78
+ indexed: false,
79
+ internalType: "uint256",
80
+ name: "netLpToRemove",
81
+ type: "uint256",
82
+ },
83
+ {
84
+ indexed: false,
85
+ internalType: "uint256",
86
+ name: "netLpOut",
87
+ type: "uint256",
88
+ },
89
+ ],
90
+ name: "MigrateDifferentSyNormal",
91
+ type: "event",
92
+ },
93
+ {
94
+ anonymous: false,
95
+ inputs: [
96
+ {
97
+ indexed: true,
98
+ internalType: "address",
99
+ name: "fromMarket",
100
+ type: "address",
101
+ },
102
+ {
103
+ indexed: true,
104
+ internalType: "address",
105
+ name: "toMarket",
106
+ type: "address",
107
+ },
108
+ {
109
+ indexed: true,
110
+ internalType: "address",
111
+ name: "user",
112
+ type: "address",
113
+ },
114
+ {
115
+ indexed: false,
116
+ internalType: "uint256",
117
+ name: "netLpToRemove",
118
+ type: "uint256",
119
+ },
120
+ {
121
+ indexed: false,
122
+ internalType: "uint256",
123
+ name: "netLpOut",
124
+ type: "uint256",
125
+ },
126
+ {
127
+ indexed: false,
128
+ internalType: "uint256",
129
+ name: "netYtOut",
130
+ type: "uint256",
131
+ },
132
+ ],
133
+ name: "MigrateSameSyKeepYt",
134
+ type: "event",
135
+ },
136
+ {
137
+ anonymous: false,
138
+ inputs: [
139
+ {
140
+ indexed: true,
141
+ internalType: "address",
142
+ name: "fromMarket",
143
+ type: "address",
144
+ },
145
+ {
146
+ indexed: true,
147
+ internalType: "address",
148
+ name: "toMarket",
149
+ type: "address",
150
+ },
151
+ {
152
+ indexed: true,
153
+ internalType: "address",
154
+ name: "user",
155
+ type: "address",
156
+ },
157
+ {
158
+ indexed: false,
159
+ internalType: "uint256",
160
+ name: "netLpToRemove",
161
+ type: "uint256",
162
+ },
163
+ {
164
+ indexed: false,
165
+ internalType: "uint256",
166
+ name: "netLpOut",
167
+ type: "uint256",
168
+ },
169
+ ],
170
+ name: "MigrateSameSyNormal",
171
+ type: "event",
172
+ },
173
+ {
174
+ inputs: [
175
+ {
176
+ components: [
177
+ {
178
+ internalType: "address",
179
+ name: "market",
180
+ type: "address",
181
+ },
182
+ {
183
+ internalType: "uint256",
184
+ name: "netLpToRemove",
185
+ type: "uint256",
186
+ },
187
+ {
188
+ internalType: "bool",
189
+ name: "doRedeemRewards",
190
+ type: "bool",
191
+ },
192
+ {
193
+ components: [
194
+ {
195
+ internalType: "address",
196
+ name: "tokenOut",
197
+ type: "address",
198
+ },
199
+ {
200
+ internalType: "uint256",
201
+ name: "minTokenOut",
202
+ type: "uint256",
203
+ },
204
+ {
205
+ internalType: "address",
206
+ name: "tokenRedeemSy",
207
+ type: "address",
208
+ },
209
+ {
210
+ internalType: "address",
211
+ name: "bulk",
212
+ type: "address",
213
+ },
214
+ {
215
+ internalType: "address",
216
+ name: "pendleSwap",
217
+ type: "address",
218
+ },
219
+ {
220
+ components: [
221
+ {
222
+ internalType: "enum SwapType",
223
+ name: "swapType",
224
+ type: "uint8",
225
+ },
226
+ {
227
+ internalType: "address",
228
+ name: "extRouter",
229
+ type: "address",
230
+ },
231
+ {
232
+ internalType: "bytes",
233
+ name: "extCalldata",
234
+ type: "bytes",
235
+ },
236
+ {
237
+ internalType: "bool",
238
+ name: "needScale",
239
+ type: "bool",
240
+ },
241
+ ],
242
+ internalType: "struct SwapData",
243
+ name: "swapData",
244
+ type: "tuple",
245
+ },
246
+ ],
247
+ internalType: "struct TokenOutput",
248
+ name: "output",
249
+ type: "tuple",
250
+ },
251
+ ],
252
+ internalType:
253
+ "struct IPLiquidityMigrator.RemoveLiquiditySingleTokenStruct",
254
+ name: "fromMarket",
255
+ type: "tuple",
256
+ },
257
+ {
258
+ components: [
259
+ {
260
+ internalType: "address",
261
+ name: "market",
262
+ type: "address",
263
+ },
264
+ {
265
+ internalType: "uint256",
266
+ name: "minLpOut",
267
+ type: "uint256",
268
+ },
269
+ {
270
+ internalType: "uint256",
271
+ name: "minYtOut",
272
+ type: "uint256",
273
+ },
274
+ {
275
+ internalType: "address",
276
+ name: "bulk",
277
+ type: "address",
278
+ },
279
+ ],
280
+ internalType:
281
+ "struct IPLiquidityMigrator.AddLiquiditySingleTokenKeepYtStruct",
282
+ name: "toMarket",
283
+ type: "tuple",
284
+ },
285
+ ],
286
+ name: "migrateDifferentSyKeepYt",
287
+ outputs: [
288
+ {
289
+ internalType: "uint256",
290
+ name: "netLpOut",
291
+ type: "uint256",
292
+ },
293
+ {
294
+ internalType: "uint256",
295
+ name: "netYtOut",
296
+ type: "uint256",
297
+ },
298
+ {
299
+ internalType: "uint256",
300
+ name: "netTokenZapIn",
301
+ type: "uint256",
302
+ },
303
+ {
304
+ internalType: "uint256",
305
+ name: "netSyFeeOfRemove",
306
+ type: "uint256",
307
+ },
308
+ ],
309
+ stateMutability: "nonpayable",
310
+ type: "function",
311
+ },
312
+ {
313
+ inputs: [
314
+ {
315
+ components: [
316
+ {
317
+ internalType: "address",
318
+ name: "market",
319
+ type: "address",
320
+ },
321
+ {
322
+ internalType: "uint256",
323
+ name: "netLpToRemove",
324
+ type: "uint256",
325
+ },
326
+ {
327
+ internalType: "bool",
328
+ name: "doRedeemRewards",
329
+ type: "bool",
330
+ },
331
+ {
332
+ components: [
333
+ {
334
+ internalType: "address",
335
+ name: "tokenOut",
336
+ type: "address",
337
+ },
338
+ {
339
+ internalType: "uint256",
340
+ name: "minTokenOut",
341
+ type: "uint256",
342
+ },
343
+ {
344
+ internalType: "address",
345
+ name: "tokenRedeemSy",
346
+ type: "address",
347
+ },
348
+ {
349
+ internalType: "address",
350
+ name: "bulk",
351
+ type: "address",
352
+ },
353
+ {
354
+ internalType: "address",
355
+ name: "pendleSwap",
356
+ type: "address",
357
+ },
358
+ {
359
+ components: [
360
+ {
361
+ internalType: "enum SwapType",
362
+ name: "swapType",
363
+ type: "uint8",
364
+ },
365
+ {
366
+ internalType: "address",
367
+ name: "extRouter",
368
+ type: "address",
369
+ },
370
+ {
371
+ internalType: "bytes",
372
+ name: "extCalldata",
373
+ type: "bytes",
374
+ },
375
+ {
376
+ internalType: "bool",
377
+ name: "needScale",
378
+ type: "bool",
379
+ },
380
+ ],
381
+ internalType: "struct SwapData",
382
+ name: "swapData",
383
+ type: "tuple",
384
+ },
385
+ ],
386
+ internalType: "struct TokenOutput",
387
+ name: "output",
388
+ type: "tuple",
389
+ },
390
+ ],
391
+ internalType:
392
+ "struct IPLiquidityMigrator.RemoveLiquiditySingleTokenStruct",
393
+ name: "fromMarket",
394
+ type: "tuple",
395
+ },
396
+ {
397
+ components: [
398
+ {
399
+ internalType: "address",
400
+ name: "market",
401
+ type: "address",
402
+ },
403
+ {
404
+ internalType: "uint256",
405
+ name: "minLpOut",
406
+ type: "uint256",
407
+ },
408
+ {
409
+ internalType: "uint256",
410
+ name: "guessNetTokenIn",
411
+ type: "uint256",
412
+ },
413
+ {
414
+ components: [
415
+ {
416
+ internalType: "uint256",
417
+ name: "guessMin",
418
+ type: "uint256",
419
+ },
420
+ {
421
+ internalType: "uint256",
422
+ name: "guessMax",
423
+ type: "uint256",
424
+ },
425
+ {
426
+ internalType: "uint256",
427
+ name: "guessOffchain",
428
+ type: "uint256",
429
+ },
430
+ {
431
+ internalType: "uint256",
432
+ name: "maxIteration",
433
+ type: "uint256",
434
+ },
435
+ {
436
+ internalType: "uint256",
437
+ name: "eps",
438
+ type: "uint256",
439
+ },
440
+ ],
441
+ internalType: "struct ApproxParams",
442
+ name: "guessPtReceivedFromSy",
443
+ type: "tuple",
444
+ },
445
+ {
446
+ internalType: "address",
447
+ name: "bulk",
448
+ type: "address",
449
+ },
450
+ ],
451
+ internalType:
452
+ "struct IPLiquidityMigrator.AddLiquiditySingleTokenStruct",
453
+ name: "toMarket",
454
+ type: "tuple",
455
+ },
456
+ ],
457
+ name: "migrateDifferentSyNormal",
458
+ outputs: [
459
+ {
460
+ internalType: "uint256",
461
+ name: "netLpOut",
462
+ type: "uint256",
463
+ },
464
+ {
465
+ internalType: "uint256",
466
+ name: "netTokenZapIn",
467
+ type: "uint256",
468
+ },
469
+ {
470
+ internalType: "uint256",
471
+ name: "netSyFeeOfRemove",
472
+ type: "uint256",
473
+ },
474
+ {
475
+ internalType: "uint256",
476
+ name: "netSyFeeOfAdd",
477
+ type: "uint256",
478
+ },
479
+ ],
480
+ stateMutability: "nonpayable",
481
+ type: "function",
482
+ },
483
+ {
484
+ inputs: [
485
+ {
486
+ components: [
487
+ {
488
+ internalType: "address",
489
+ name: "market",
490
+ type: "address",
491
+ },
492
+ {
493
+ internalType: "uint256",
494
+ name: "netLpToRemove",
495
+ type: "uint256",
496
+ },
497
+ {
498
+ internalType: "bool",
499
+ name: "doRedeemRewards",
500
+ type: "bool",
501
+ },
502
+ ],
503
+ internalType:
504
+ "struct IPLiquidityMigrator.RemoveLiquiditySingleSyStruct",
505
+ name: "fromMarket",
506
+ type: "tuple",
507
+ },
508
+ {
509
+ components: [
510
+ {
511
+ internalType: "address",
512
+ name: "market",
513
+ type: "address",
514
+ },
515
+ {
516
+ internalType: "uint256",
517
+ name: "minLpOut",
518
+ type: "uint256",
519
+ },
520
+ {
521
+ internalType: "uint256",
522
+ name: "minYtOut",
523
+ type: "uint256",
524
+ },
525
+ ],
526
+ internalType:
527
+ "struct IPLiquidityMigrator.AddLiquiditySingleSyKeepYtStruct",
528
+ name: "toMarket",
529
+ type: "tuple",
530
+ },
531
+ ],
532
+ name: "migrateSameSyKeepYt",
533
+ outputs: [
534
+ {
535
+ internalType: "uint256",
536
+ name: "netLpOut",
537
+ type: "uint256",
538
+ },
539
+ {
540
+ internalType: "uint256",
541
+ name: "netYtOut",
542
+ type: "uint256",
543
+ },
544
+ {
545
+ internalType: "uint256",
546
+ name: "netSyMigrated",
547
+ type: "uint256",
548
+ },
549
+ {
550
+ internalType: "uint256",
551
+ name: "netSyFeeOfRemove",
552
+ type: "uint256",
553
+ },
554
+ ],
555
+ stateMutability: "nonpayable",
556
+ type: "function",
557
+ },
558
+ {
559
+ inputs: [
560
+ {
561
+ components: [
562
+ {
563
+ internalType: "address",
564
+ name: "market",
565
+ type: "address",
566
+ },
567
+ {
568
+ internalType: "uint256",
569
+ name: "netLpToRemove",
570
+ type: "uint256",
571
+ },
572
+ {
573
+ internalType: "bool",
574
+ name: "doRedeemRewards",
575
+ type: "bool",
576
+ },
577
+ ],
578
+ internalType:
579
+ "struct IPLiquidityMigrator.RemoveLiquiditySingleSyStruct",
580
+ name: "fromMarket",
581
+ type: "tuple",
582
+ },
583
+ {
584
+ components: [
585
+ {
586
+ internalType: "address",
587
+ name: "market",
588
+ type: "address",
589
+ },
590
+ {
591
+ internalType: "uint256",
592
+ name: "minLpOut",
593
+ type: "uint256",
594
+ },
595
+ {
596
+ internalType: "uint256",
597
+ name: "guessNetSyIn",
598
+ type: "uint256",
599
+ },
600
+ {
601
+ components: [
602
+ {
603
+ internalType: "uint256",
604
+ name: "guessMin",
605
+ type: "uint256",
606
+ },
607
+ {
608
+ internalType: "uint256",
609
+ name: "guessMax",
610
+ type: "uint256",
611
+ },
612
+ {
613
+ internalType: "uint256",
614
+ name: "guessOffchain",
615
+ type: "uint256",
616
+ },
617
+ {
618
+ internalType: "uint256",
619
+ name: "maxIteration",
620
+ type: "uint256",
621
+ },
622
+ {
623
+ internalType: "uint256",
624
+ name: "eps",
625
+ type: "uint256",
626
+ },
627
+ ],
628
+ internalType: "struct ApproxParams",
629
+ name: "guessPtReceivedFromSy",
630
+ type: "tuple",
631
+ },
632
+ ],
633
+ internalType: "struct IPLiquidityMigrator.AddLiquiditySingleSyStruct",
634
+ name: "toMarket",
635
+ type: "tuple",
636
+ },
637
+ ],
638
+ name: "migrateSameSyNormal",
639
+ outputs: [
640
+ {
641
+ internalType: "uint256",
642
+ name: "netLpOut",
643
+ type: "uint256",
644
+ },
645
+ {
646
+ internalType: "uint256",
647
+ name: "netSyMigrated",
648
+ type: "uint256",
649
+ },
650
+ {
651
+ internalType: "uint256",
652
+ name: "netSyFeeOfRemove",
653
+ type: "uint256",
654
+ },
655
+ {
656
+ internalType: "uint256",
657
+ name: "netSyFeeOfAdd",
658
+ type: "uint256",
659
+ },
660
+ ],
661
+ stateMutability: "nonpayable",
662
+ type: "function",
663
+ },
664
+ ];
665
+
666
+ export class IPLiquidityMigrator__factory {
667
+ static readonly abi = _abi;
668
+ static createInterface(): IPLiquidityMigratorInterface {
669
+ return new utils.Interface(_abi) as IPLiquidityMigratorInterface;
670
+ }
671
+ static connect(
672
+ address: string,
673
+ signerOrProvider: Signer | Provider
674
+ ): IPLiquidityMigrator {
675
+ return new Contract(address, _abi, signerOrProvider) as IPLiquidityMigrator;
676
+ }
677
+ }