@pendle/core-v2 1.4.4-testnet → 1.5.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 (228) 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/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.json +141 -0
  97. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IStargateLP.sol/IStargateLP.dbg.json +4 -0
  101. package/build/artifacts/contracts/interfaces/{IStargatePool.sol/IStargatePool.json → IStargateLP.sol/IStargateLP.json} +68 -3
  102. package/build/artifacts/contracts/interfaces/IStargateStaking.sol/IStargateStaking.dbg.json +4 -0
  103. package/build/artifacts/contracts/interfaces/{IStargateLPStaking.sol/IStargateLPStaking.json → IStargateStaking.sol/IStargateStaking.json} +20 -27
  104. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  105. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  106. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  107. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
  108. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  109. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  110. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  111. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  112. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  113. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  114. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  115. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  116. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  117. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  118. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  119. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  120. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  121. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  122. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  123. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  124. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
  125. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  126. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
  127. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  128. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  129. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  130. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  131. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  132. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  133. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  134. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +143 -2
  135. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  136. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  137. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  138. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  139. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  140. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  141. package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
  142. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapArbitrum.sol/PendleSwapArbitrum.dbg.json +1 -1
  143. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapArbitrum.sol/PendleSwapArbitrum.json +2 -2
  144. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapEthereum.sol/PendleSwapEthereum.dbg.json +1 -1
  145. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapEthereum.sol/PendleSwapEthereum.json +2 -2
  146. package/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol +222 -0
  147. package/contracts/core/libraries/Errors.sol +2 -0
  148. package/contracts/interfaces/IPRouterHelper.sol +8 -0
  149. package/contracts/interfaces/{IStargatePool.sol → IStargateLP.sol} +14 -1
  150. package/contracts/interfaces/{IStargateLPStaking.sol → IStargateStaking.sol} +2 -2
  151. package/contracts/router/PendleRouterHelper.sol +9 -8
  152. package/contracts/router/base/ActionBaseMintRedeem.sol +5 -5
  153. package/deployments/43113-core.json +1 -1
  154. package/deployments/80001-core.json +1 -1
  155. package/package.json +1 -1
  156. package/typechain-types/AggregatorInterface.ts +233 -0
  157. package/typechain-types/AggregatorV2V3Interface.ts +385 -0
  158. package/typechain-types/AggregatorV3Interface.ts +221 -0
  159. package/typechain-types/IPRouterHelper.ts +84 -12
  160. package/typechain-types/PendlePtAssetOracle.ts +167 -0
  161. package/typechain-types/PendlePtChainlinkOracle.ts +215 -0
  162. package/typechain-types/PendlePtSingleAssetOracle.ts +167 -0
  163. package/typechain-types/PendlePtUSDOracle.ts +215 -0
  164. package/typechain-types/PendleRouterHelper.ts +84 -12
  165. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
  166. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  167. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  168. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  169. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  170. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  171. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  172. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  173. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
  174. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  175. package/typechain-types/factories/AggregatorInterface__factory.ts +153 -0
  176. package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +268 -0
  177. package/typechain-types/factories/AggregatorV3Interface__factory.ts +141 -0
  178. package/typechain-types/factories/Broadcaster__factory.ts +1 -1
  179. package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
  180. package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
  181. package/typechain-types/factories/BulkSeller__factory.ts +1 -1
  182. package/typechain-types/factories/Errors__factory.ts +17 -1
  183. package/typechain-types/factories/IPRouterHelper__factory.ts +141 -0
  184. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  185. package/typechain-types/factories/PendleAuraWethAnkrethSY__factory.ts +1 -1
  186. package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +1 -1
  187. package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +1 -1
  188. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
  189. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
  190. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  191. package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
  192. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  193. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  194. package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
  195. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
  196. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  197. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  198. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  199. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  200. package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +1 -1
  201. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  202. package/typechain-types/factories/PendlePtAssetOracle__factory.ts +199 -0
  203. package/typechain-types/factories/PendlePtChainlinkOracle__factory.ts +251 -0
  204. package/typechain-types/factories/PendlePtSingleAssetOracle__factory.ts +203 -0
  205. package/typechain-types/factories/PendlePtUSDOracle__factory.ts +247 -0
  206. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  207. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  208. package/typechain-types/factories/PendleRouterHelper__factory.ts +142 -1
  209. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  210. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  211. package/typechain-types/factories/PendleSwapArbitrum__factory.ts +1 -1
  212. package/typechain-types/factories/PendleSwapEthereum__factory.ts +1 -1
  213. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  214. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  215. package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
  216. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  217. package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
  218. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  219. package/typechain-types/factories/SAPE__factory.ts +1 -1
  220. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  221. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  222. package/typechain-types/hardhat.d.ts +35 -71
  223. package/typechain-types/index.ts +10 -16
  224. package/build/artifacts/contracts/interfaces/IPLiquidityMigrator.sol/IPLiquidityMigrator.dbg.json +0 -4
  225. package/build/artifacts/contracts/interfaces/IPLiquidityMigrator.sol/IPLiquidityMigrator.json +0 -655
  226. package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +0 -4
  227. package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +0 -4
  228. package/contracts/interfaces/IPLiquidityMigrator.sol +0 -130
@@ -1,655 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "IPLiquidityMigrator",
4
- "sourceName": "contracts/interfaces/IPLiquidityMigrator.sol",
5
- "abi": [
6
- {
7
- "anonymous": false,
8
- "inputs": [
9
- {
10
- "indexed": true,
11
- "internalType": "address",
12
- "name": "fromMarket",
13
- "type": "address"
14
- },
15
- {
16
- "indexed": true,
17
- "internalType": "address",
18
- "name": "toMarket",
19
- "type": "address"
20
- },
21
- {
22
- "indexed": true,
23
- "internalType": "address",
24
- "name": "user",
25
- "type": "address"
26
- },
27
- {
28
- "indexed": false,
29
- "internalType": "uint256",
30
- "name": "netLpToRemove",
31
- "type": "uint256"
32
- },
33
- {
34
- "indexed": false,
35
- "internalType": "uint256",
36
- "name": "netLpOut",
37
- "type": "uint256"
38
- },
39
- {
40
- "indexed": false,
41
- "internalType": "uint256",
42
- "name": "netYtOut",
43
- "type": "uint256"
44
- }
45
- ],
46
- "name": "MigrateDifferentSyKeepYt",
47
- "type": "event"
48
- },
49
- {
50
- "anonymous": false,
51
- "inputs": [
52
- {
53
- "indexed": true,
54
- "internalType": "address",
55
- "name": "fromMarket",
56
- "type": "address"
57
- },
58
- {
59
- "indexed": true,
60
- "internalType": "address",
61
- "name": "toMarket",
62
- "type": "address"
63
- },
64
- {
65
- "indexed": true,
66
- "internalType": "address",
67
- "name": "user",
68
- "type": "address"
69
- },
70
- {
71
- "indexed": false,
72
- "internalType": "uint256",
73
- "name": "netLpToRemove",
74
- "type": "uint256"
75
- },
76
- {
77
- "indexed": false,
78
- "internalType": "uint256",
79
- "name": "netLpOut",
80
- "type": "uint256"
81
- }
82
- ],
83
- "name": "MigrateDifferentSyNormal",
84
- "type": "event"
85
- },
86
- {
87
- "anonymous": false,
88
- "inputs": [
89
- {
90
- "indexed": true,
91
- "internalType": "address",
92
- "name": "fromMarket",
93
- "type": "address"
94
- },
95
- {
96
- "indexed": true,
97
- "internalType": "address",
98
- "name": "toMarket",
99
- "type": "address"
100
- },
101
- {
102
- "indexed": true,
103
- "internalType": "address",
104
- "name": "user",
105
- "type": "address"
106
- },
107
- {
108
- "indexed": false,
109
- "internalType": "uint256",
110
- "name": "netLpToRemove",
111
- "type": "uint256"
112
- },
113
- {
114
- "indexed": false,
115
- "internalType": "uint256",
116
- "name": "netLpOut",
117
- "type": "uint256"
118
- },
119
- {
120
- "indexed": false,
121
- "internalType": "uint256",
122
- "name": "netYtOut",
123
- "type": "uint256"
124
- }
125
- ],
126
- "name": "MigrateSameSyKeepYt",
127
- "type": "event"
128
- },
129
- {
130
- "anonymous": false,
131
- "inputs": [
132
- {
133
- "indexed": true,
134
- "internalType": "address",
135
- "name": "fromMarket",
136
- "type": "address"
137
- },
138
- {
139
- "indexed": true,
140
- "internalType": "address",
141
- "name": "toMarket",
142
- "type": "address"
143
- },
144
- {
145
- "indexed": true,
146
- "internalType": "address",
147
- "name": "user",
148
- "type": "address"
149
- },
150
- {
151
- "indexed": false,
152
- "internalType": "uint256",
153
- "name": "netLpToRemove",
154
- "type": "uint256"
155
- },
156
- {
157
- "indexed": false,
158
- "internalType": "uint256",
159
- "name": "netLpOut",
160
- "type": "uint256"
161
- }
162
- ],
163
- "name": "MigrateSameSyNormal",
164
- "type": "event"
165
- },
166
- {
167
- "inputs": [
168
- {
169
- "components": [
170
- {
171
- "internalType": "address",
172
- "name": "market",
173
- "type": "address"
174
- },
175
- {
176
- "internalType": "uint256",
177
- "name": "netLpToRemove",
178
- "type": "uint256"
179
- },
180
- {
181
- "internalType": "bool",
182
- "name": "doRedeemRewards",
183
- "type": "bool"
184
- },
185
- {
186
- "components": [
187
- {
188
- "internalType": "address",
189
- "name": "tokenOut",
190
- "type": "address"
191
- },
192
- {
193
- "internalType": "uint256",
194
- "name": "minTokenOut",
195
- "type": "uint256"
196
- },
197
- {
198
- "internalType": "address",
199
- "name": "tokenRedeemSy",
200
- "type": "address"
201
- },
202
- {
203
- "internalType": "address",
204
- "name": "bulk",
205
- "type": "address"
206
- },
207
- {
208
- "internalType": "address",
209
- "name": "pendleSwap",
210
- "type": "address"
211
- },
212
- {
213
- "components": [
214
- {
215
- "internalType": "enum SwapType",
216
- "name": "swapType",
217
- "type": "uint8"
218
- },
219
- {
220
- "internalType": "address",
221
- "name": "extRouter",
222
- "type": "address"
223
- },
224
- {
225
- "internalType": "bytes",
226
- "name": "extCalldata",
227
- "type": "bytes"
228
- },
229
- {
230
- "internalType": "bool",
231
- "name": "needScale",
232
- "type": "bool"
233
- }
234
- ],
235
- "internalType": "struct SwapData",
236
- "name": "swapData",
237
- "type": "tuple"
238
- }
239
- ],
240
- "internalType": "struct TokenOutput",
241
- "name": "output",
242
- "type": "tuple"
243
- }
244
- ],
245
- "internalType": "struct IPLiquidityMigrator.RemoveLiquiditySingleTokenStruct",
246
- "name": "fromMarket",
247
- "type": "tuple"
248
- },
249
- {
250
- "components": [
251
- {
252
- "internalType": "address",
253
- "name": "market",
254
- "type": "address"
255
- },
256
- {
257
- "internalType": "uint256",
258
- "name": "minLpOut",
259
- "type": "uint256"
260
- },
261
- {
262
- "internalType": "uint256",
263
- "name": "minYtOut",
264
- "type": "uint256"
265
- },
266
- {
267
- "internalType": "address",
268
- "name": "bulk",
269
- "type": "address"
270
- }
271
- ],
272
- "internalType": "struct IPLiquidityMigrator.AddLiquiditySingleTokenKeepYtStruct",
273
- "name": "toMarket",
274
- "type": "tuple"
275
- }
276
- ],
277
- "name": "migrateDifferentSyKeepYt",
278
- "outputs": [
279
- {
280
- "internalType": "uint256",
281
- "name": "netLpOut",
282
- "type": "uint256"
283
- },
284
- {
285
- "internalType": "uint256",
286
- "name": "netYtOut",
287
- "type": "uint256"
288
- },
289
- {
290
- "internalType": "uint256",
291
- "name": "netTokenZapIn",
292
- "type": "uint256"
293
- },
294
- {
295
- "internalType": "uint256",
296
- "name": "netSyFeeOfRemove",
297
- "type": "uint256"
298
- }
299
- ],
300
- "stateMutability": "nonpayable",
301
- "type": "function"
302
- },
303
- {
304
- "inputs": [
305
- {
306
- "components": [
307
- {
308
- "internalType": "address",
309
- "name": "market",
310
- "type": "address"
311
- },
312
- {
313
- "internalType": "uint256",
314
- "name": "netLpToRemove",
315
- "type": "uint256"
316
- },
317
- {
318
- "internalType": "bool",
319
- "name": "doRedeemRewards",
320
- "type": "bool"
321
- },
322
- {
323
- "components": [
324
- {
325
- "internalType": "address",
326
- "name": "tokenOut",
327
- "type": "address"
328
- },
329
- {
330
- "internalType": "uint256",
331
- "name": "minTokenOut",
332
- "type": "uint256"
333
- },
334
- {
335
- "internalType": "address",
336
- "name": "tokenRedeemSy",
337
- "type": "address"
338
- },
339
- {
340
- "internalType": "address",
341
- "name": "bulk",
342
- "type": "address"
343
- },
344
- {
345
- "internalType": "address",
346
- "name": "pendleSwap",
347
- "type": "address"
348
- },
349
- {
350
- "components": [
351
- {
352
- "internalType": "enum SwapType",
353
- "name": "swapType",
354
- "type": "uint8"
355
- },
356
- {
357
- "internalType": "address",
358
- "name": "extRouter",
359
- "type": "address"
360
- },
361
- {
362
- "internalType": "bytes",
363
- "name": "extCalldata",
364
- "type": "bytes"
365
- },
366
- {
367
- "internalType": "bool",
368
- "name": "needScale",
369
- "type": "bool"
370
- }
371
- ],
372
- "internalType": "struct SwapData",
373
- "name": "swapData",
374
- "type": "tuple"
375
- }
376
- ],
377
- "internalType": "struct TokenOutput",
378
- "name": "output",
379
- "type": "tuple"
380
- }
381
- ],
382
- "internalType": "struct IPLiquidityMigrator.RemoveLiquiditySingleTokenStruct",
383
- "name": "fromMarket",
384
- "type": "tuple"
385
- },
386
- {
387
- "components": [
388
- {
389
- "internalType": "address",
390
- "name": "market",
391
- "type": "address"
392
- },
393
- {
394
- "internalType": "uint256",
395
- "name": "minLpOut",
396
- "type": "uint256"
397
- },
398
- {
399
- "internalType": "uint256",
400
- "name": "guessNetTokenIn",
401
- "type": "uint256"
402
- },
403
- {
404
- "components": [
405
- {
406
- "internalType": "uint256",
407
- "name": "guessMin",
408
- "type": "uint256"
409
- },
410
- {
411
- "internalType": "uint256",
412
- "name": "guessMax",
413
- "type": "uint256"
414
- },
415
- {
416
- "internalType": "uint256",
417
- "name": "guessOffchain",
418
- "type": "uint256"
419
- },
420
- {
421
- "internalType": "uint256",
422
- "name": "maxIteration",
423
- "type": "uint256"
424
- },
425
- {
426
- "internalType": "uint256",
427
- "name": "eps",
428
- "type": "uint256"
429
- }
430
- ],
431
- "internalType": "struct ApproxParams",
432
- "name": "guessPtReceivedFromSy",
433
- "type": "tuple"
434
- },
435
- {
436
- "internalType": "address",
437
- "name": "bulk",
438
- "type": "address"
439
- }
440
- ],
441
- "internalType": "struct IPLiquidityMigrator.AddLiquiditySingleTokenStruct",
442
- "name": "toMarket",
443
- "type": "tuple"
444
- }
445
- ],
446
- "name": "migrateDifferentSyNormal",
447
- "outputs": [
448
- {
449
- "internalType": "uint256",
450
- "name": "netLpOut",
451
- "type": "uint256"
452
- },
453
- {
454
- "internalType": "uint256",
455
- "name": "netTokenZapIn",
456
- "type": "uint256"
457
- },
458
- {
459
- "internalType": "uint256",
460
- "name": "netSyFeeOfRemove",
461
- "type": "uint256"
462
- },
463
- {
464
- "internalType": "uint256",
465
- "name": "netSyFeeOfAdd",
466
- "type": "uint256"
467
- }
468
- ],
469
- "stateMutability": "nonpayable",
470
- "type": "function"
471
- },
472
- {
473
- "inputs": [
474
- {
475
- "components": [
476
- {
477
- "internalType": "address",
478
- "name": "market",
479
- "type": "address"
480
- },
481
- {
482
- "internalType": "uint256",
483
- "name": "netLpToRemove",
484
- "type": "uint256"
485
- },
486
- {
487
- "internalType": "bool",
488
- "name": "doRedeemRewards",
489
- "type": "bool"
490
- }
491
- ],
492
- "internalType": "struct IPLiquidityMigrator.RemoveLiquiditySingleSyStruct",
493
- "name": "fromMarket",
494
- "type": "tuple"
495
- },
496
- {
497
- "components": [
498
- {
499
- "internalType": "address",
500
- "name": "market",
501
- "type": "address"
502
- },
503
- {
504
- "internalType": "uint256",
505
- "name": "minLpOut",
506
- "type": "uint256"
507
- },
508
- {
509
- "internalType": "uint256",
510
- "name": "minYtOut",
511
- "type": "uint256"
512
- }
513
- ],
514
- "internalType": "struct IPLiquidityMigrator.AddLiquiditySingleSyKeepYtStruct",
515
- "name": "toMarket",
516
- "type": "tuple"
517
- }
518
- ],
519
- "name": "migrateSameSyKeepYt",
520
- "outputs": [
521
- {
522
- "internalType": "uint256",
523
- "name": "netLpOut",
524
- "type": "uint256"
525
- },
526
- {
527
- "internalType": "uint256",
528
- "name": "netYtOut",
529
- "type": "uint256"
530
- },
531
- {
532
- "internalType": "uint256",
533
- "name": "netSyMigrated",
534
- "type": "uint256"
535
- },
536
- {
537
- "internalType": "uint256",
538
- "name": "netSyFeeOfRemove",
539
- "type": "uint256"
540
- }
541
- ],
542
- "stateMutability": "nonpayable",
543
- "type": "function"
544
- },
545
- {
546
- "inputs": [
547
- {
548
- "components": [
549
- {
550
- "internalType": "address",
551
- "name": "market",
552
- "type": "address"
553
- },
554
- {
555
- "internalType": "uint256",
556
- "name": "netLpToRemove",
557
- "type": "uint256"
558
- },
559
- {
560
- "internalType": "bool",
561
- "name": "doRedeemRewards",
562
- "type": "bool"
563
- }
564
- ],
565
- "internalType": "struct IPLiquidityMigrator.RemoveLiquiditySingleSyStruct",
566
- "name": "fromMarket",
567
- "type": "tuple"
568
- },
569
- {
570
- "components": [
571
- {
572
- "internalType": "address",
573
- "name": "market",
574
- "type": "address"
575
- },
576
- {
577
- "internalType": "uint256",
578
- "name": "minLpOut",
579
- "type": "uint256"
580
- },
581
- {
582
- "internalType": "uint256",
583
- "name": "guessNetSyIn",
584
- "type": "uint256"
585
- },
586
- {
587
- "components": [
588
- {
589
- "internalType": "uint256",
590
- "name": "guessMin",
591
- "type": "uint256"
592
- },
593
- {
594
- "internalType": "uint256",
595
- "name": "guessMax",
596
- "type": "uint256"
597
- },
598
- {
599
- "internalType": "uint256",
600
- "name": "guessOffchain",
601
- "type": "uint256"
602
- },
603
- {
604
- "internalType": "uint256",
605
- "name": "maxIteration",
606
- "type": "uint256"
607
- },
608
- {
609
- "internalType": "uint256",
610
- "name": "eps",
611
- "type": "uint256"
612
- }
613
- ],
614
- "internalType": "struct ApproxParams",
615
- "name": "guessPtReceivedFromSy",
616
- "type": "tuple"
617
- }
618
- ],
619
- "internalType": "struct IPLiquidityMigrator.AddLiquiditySingleSyStruct",
620
- "name": "toMarket",
621
- "type": "tuple"
622
- }
623
- ],
624
- "name": "migrateSameSyNormal",
625
- "outputs": [
626
- {
627
- "internalType": "uint256",
628
- "name": "netLpOut",
629
- "type": "uint256"
630
- },
631
- {
632
- "internalType": "uint256",
633
- "name": "netSyMigrated",
634
- "type": "uint256"
635
- },
636
- {
637
- "internalType": "uint256",
638
- "name": "netSyFeeOfRemove",
639
- "type": "uint256"
640
- },
641
- {
642
- "internalType": "uint256",
643
- "name": "netSyFeeOfAdd",
644
- "type": "uint256"
645
- }
646
- ],
647
- "stateMutability": "nonpayable",
648
- "type": "function"
649
- }
650
- ],
651
- "bytecode": "0x",
652
- "deployedBytecode": "0x",
653
- "linkReferences": {},
654
- "deployedLinkReferences": {}
655
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/d7565dd0394dd46a97bfac2f1c631b22.json"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/d7565dd0394dd46a97bfac2f1c631b22.json"
4
- }