@pendle/core-v2 2.26.0 → 2.26.2

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 (670) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
  10. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  13. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  15. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  17. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
  19. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  21. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  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 +2 -2
  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/PendleGauge.sol/PendleGauge.json +0 -19
  46. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -21
  48. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  50. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  54. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  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/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.json +6 -6
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.json +2 -2
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.json +2 -2
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.json +2 -2
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.json +2 -2
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +1 -1
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.json +2 -2
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +1 -1
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.json +191 -2
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +1 -1
  75. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.json +2 -2
  76. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAPoolHelper.dbg.json +1 -1
  77. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAWethHelper.dbg.json +1 -1
  78. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol/LinearMath.dbg.json +1 -1
  79. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol/LinearMath.json +2 -2
  80. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.dbg.json +1 -1
  81. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.json +2 -2
  82. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
  83. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.json +2 -2
  84. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +1 -1
  85. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.json +2 -2
  86. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
  87. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
  88. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
  89. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  90. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  91. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  92. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  93. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
  94. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.json +2 -2
  95. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
  96. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.json +2 -2
  97. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
  98. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.dbg.json +1 -1
  99. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.json +2 -2
  100. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
  101. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.json +2 -2
  102. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  103. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
  104. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  105. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
  106. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
  107. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +2 -2
  108. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  109. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +2 -2
  110. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  111. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +2 -2
  112. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  113. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
  114. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  115. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
  116. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  117. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
  118. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  119. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
  120. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
  121. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.json +2 -2
  122. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
  123. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.json +2 -2
  124. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  125. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  126. package/build/artifacts/contracts/core/TradingBot/DecisionHelper/BotDecisionHelperBase.sol/BotDecisionHelperBase.dbg.json +4 -0
  127. package/build/artifacts/contracts/core/TradingBot/DecisionHelper/BotDecisionHelperBase.sol/BotDecisionHelperBase.json +789 -0
  128. package/build/artifacts/contracts/core/TradingBot/DecisionHelper/LongYieldDecisionHelper.sol/LongYieldDecisionHelper.dbg.json +4 -0
  129. package/build/artifacts/contracts/core/TradingBot/DecisionHelper/LongYieldDecisionHelper.sol/LongYieldDecisionHelper.json +1215 -0
  130. package/build/artifacts/contracts/core/TradingBot/LongYieldTradingBot.sol/LongYieldTradingBot.dbg.json +4 -0
  131. package/build/artifacts/contracts/core/TradingBot/LongYieldTradingBot.sol/LongYieldTradingBot.json +2212 -0
  132. package/build/artifacts/contracts/core/TradingBot/TradingBotBase.sol/TradingBotBase.dbg.json +4 -0
  133. package/build/artifacts/contracts/core/TradingBot/TradingBotBase.sol/TradingBotBase.json +1553 -0
  134. package/build/artifacts/contracts/core/TradingBot/libraries/BotSimulationLib.sol/BotSimulationLib.dbg.json +4 -0
  135. package/build/artifacts/contracts/core/TradingBot/libraries/BotSimulationLib.sol/BotSimulationLib.json +10 -0
  136. package/build/artifacts/contracts/core/TradingBot/libraries/LongYieldActionLib.sol/LongYieldActionLib.dbg.json +4 -0
  137. package/build/artifacts/contracts/core/TradingBot/libraries/LongYieldActionLib.sol/LongYieldActionLib.json +154 -0
  138. package/build/artifacts/contracts/core/TradingBot/libraries/MarketExtLib.sol/MarketExtLib.dbg.json +4 -0
  139. package/build/artifacts/contracts/core/TradingBot/libraries/MarketExtLib.sol/MarketExtLib.json +24 -0
  140. package/build/artifacts/contracts/core/TradingBot/libraries/SpecSegmentLib.sol/SpecSegmentLib.dbg.json +4 -0
  141. package/build/artifacts/contracts/core/TradingBot/libraries/SpecSegmentLib.sol/SpecSegmentLib.json +10 -0
  142. package/build/artifacts/contracts/core/TradingBot/libraries/TvlLib.sol/TvlLib.dbg.json +4 -0
  143. package/build/artifacts/contracts/core/TradingBot/libraries/TvlLib.sol/TvlLib.json +262 -0
  144. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  145. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  146. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  147. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  148. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  149. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  150. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  151. package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
  152. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
  153. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +2 -2
  154. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
  155. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
  156. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
  157. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -2
  158. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  159. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  160. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  161. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.json +2 -2
  162. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  163. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  164. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  165. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  166. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  167. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +151 -18
  168. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  169. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  170. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  171. package/build/artifacts/contracts/core/libraries/TokenAmountLib.sol/TokenAmountLib.dbg.json +4 -0
  172. package/build/artifacts/contracts/core/libraries/TokenAmountLib.sol/TokenAmountLib.json +10 -0
  173. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  174. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  175. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
  176. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.json +2 -2
  177. package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +1 -1
  178. package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +1 -1
  179. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
  180. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
  181. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
  182. package/build/artifacts/contracts/interfaces/Balancer/IERC4626LinearPool.sol/IERC4626LinearPool.dbg.json +1 -1
  183. package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +1 -1
  184. package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +1 -1
  185. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
  186. package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +1 -1
  187. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
  188. package/build/artifacts/contracts/interfaces/Camelot/ICamelotFactory.sol/ICamelotFactory.dbg.json +1 -1
  189. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTFactory.sol/ICamelotNFTFactory.dbg.json +1 -1
  190. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTHandler.sol/ICamelotNFTHandler.dbg.json +1 -1
  191. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
  192. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.json +0 -13
  193. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +1 -1
  194. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.json +0 -13
  195. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.dbg.json +1 -1
  196. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +1 -1
  197. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.json +0 -26
  198. package/build/artifacts/contracts/interfaces/Camelot/ICamelotRouter.sol/ICamelotRouter.dbg.json +1 -1
  199. package/build/artifacts/contracts/interfaces/Camelot/ICamelotYieldBooster.sol/ICamelotYieldBooster.dbg.json +1 -1
  200. package/build/artifacts/contracts/interfaces/Camelot/IXGrail.sol/IXGrail.dbg.json +1 -1
  201. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  202. package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
  203. package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +1 -1
  204. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
  205. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  206. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
  207. package/build/artifacts/contracts/interfaces/Frax/IFrxEthMinter.sol/IFrxEthMinter.dbg.json +1 -1
  208. package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +1 -1
  209. package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +1 -1
  210. package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +1 -1
  211. package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +1 -1
  212. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  213. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
  214. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  215. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  216. package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +1 -1
  217. package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +1 -1
  218. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  219. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  220. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  221. package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
  222. package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
  223. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  224. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  225. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  226. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.json +6 -82
  227. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  228. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.json +22 -22
  229. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  230. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  231. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.json +4 -42
  232. package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
  233. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  234. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  235. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  236. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  237. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  238. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  239. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
  240. package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +1 -1
  241. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  242. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  243. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  244. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.json +0 -19
  245. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  246. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  247. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  248. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  249. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  250. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +0 -19
  251. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  252. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  253. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  254. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  255. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  256. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  257. package/build/artifacts/contracts/interfaces/IPPtOracle.sol/IPPtOracle.dbg.json +1 -1
  258. package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
  259. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  260. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +32 -146
  261. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  262. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  263. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  264. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  265. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  266. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  267. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  268. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  269. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  270. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  271. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  272. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  273. package/build/artifacts/contracts/interfaces/IStargateLP.sol/IStargateLP.dbg.json +1 -1
  274. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
  275. package/build/artifacts/contracts/interfaces/IStargateStaking.sol/IStargateStaking.dbg.json +1 -1
  276. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  277. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  278. package/build/artifacts/contracts/interfaces/TradingBot/IBotDecisionHelper.sol/IBotDecisionHelper.dbg.json +4 -0
  279. package/build/artifacts/contracts/interfaces/TradingBot/IBotDecisionHelper.sol/IBotDecisionHelper.json +652 -0
  280. package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldDecisionHelper.sol/ILongYieldDecisionHelper.dbg.json +4 -0
  281. package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldDecisionHelper.sol/ILongYieldDecisionHelper.json +671 -0
  282. package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldTradingBot.sol/ILongYieldTradingBot.dbg.json +4 -0
  283. package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldTradingBot.sol/ILongYieldTradingBot.json +813 -0
  284. package/build/artifacts/contracts/interfaces/TradingBot/IShortYieldDecisionHelper.sol/IShortYieldDecisionHelper.dbg.json +4 -0
  285. package/build/artifacts/contracts/interfaces/TradingBot/IShortYieldDecisionHelper.sol/IShortYieldDecisionHelper.json +652 -0
  286. package/build/artifacts/contracts/interfaces/TradingBot/IShortYieldTradingBot.sol/IShortYieldTradingBot.dbg.json +4 -0
  287. package/build/artifacts/contracts/interfaces/TradingBot/IShortYieldTradingBot.sol/IShortYieldTradingBot.json +794 -0
  288. package/build/artifacts/contracts/interfaces/TradingBot/ITradingBotBase.sol/ITradingBotBase.dbg.json +4 -0
  289. package/build/artifacts/contracts/interfaces/TradingBot/ITradingBotBase.sol/ITradingBotBase.json +351 -0
  290. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  291. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  292. package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  293. package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  294. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  295. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  296. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  297. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
  298. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  299. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
  300. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.json +2 -2
  301. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  302. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  303. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  304. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  305. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  306. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  307. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  308. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +8 -84
  309. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  310. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +24 -24
  311. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  312. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +6 -44
  313. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  314. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  315. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  316. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  317. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  318. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  319. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  320. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
  321. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.json +2 -2
  322. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
  323. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.json +2 -2
  324. package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +1 -1
  325. package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.json +2 -2
  326. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
  327. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.json +2 -2
  328. package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.dbg.json +1 -1
  329. package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.json +2 -2
  330. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  331. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
  332. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  333. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
  334. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  335. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  336. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  337. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  338. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  339. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  340. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  341. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  342. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +2 -2
  343. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  344. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  345. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  346. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  347. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  348. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  349. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  350. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  351. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  352. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -18
  353. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  354. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
  355. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.json +118 -76
  356. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IHashflow.sol/IHashflow.dbg.json +4 -0
  357. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IHashflow.sol/IHashflow.json +101 -0
  358. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  359. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol/KyberInputScalingHelper.dbg.json +1 -1
  360. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
  361. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.json +2 -2
  362. package/deployments/1-core.json +1 -0
  363. package/deployments/10-core.json +4 -3
  364. package/deployments/10-offchain-helper.json +3 -0
  365. package/deployments/42161-core.json +1 -0
  366. package/deployments/5000-core.json +2 -1
  367. package/deployments/56-core.json +3 -1
  368. package/deployments/core.ts +29 -0
  369. package/deployments/index.ts +4 -0
  370. package/deployments/markets/ape-june-29-2023.ts +3 -0
  371. package/deployments/markets/balancer-reth-dec-28-2023.ts +3 -0
  372. package/deployments/markets/balancer-wsteth-jun-27-2024.ts +3 -0
  373. package/deployments/markets/curve-fraxusdc-march-30-2023.ts +3 -0
  374. package/deployments/markets/index.ts +17 -0
  375. package/deployments/markets/looks-march-30-2023.ts +3 -0
  376. package/deployments/markets/steth-june-29-2023.ts +3 -0
  377. package/deployments/markets/steth-march-30-2023.ts +3 -0
  378. package/deployments/markets/types.ts +9 -0
  379. package/deployments/misc.ts +23 -0
  380. package/package.json +1 -1
  381. package/typechain-types/ActionMarketAuxStatic.ts +38 -191
  382. package/typechain-types/ActionMarketCoreStatic.ts +134 -600
  383. package/typechain-types/ActionMintRedeemStatic.ts +26 -92
  384. package/typechain-types/{SDKErrorsDirectory.ts → BotActionCallbackLib.ts} +5 -5
  385. package/typechain-types/BotDecisionHelperBase.ts +484 -0
  386. package/typechain-types/ComposableStablePreview.ts +287 -3
  387. package/typechain-types/IBotDecisionHelper.ts +452 -0
  388. package/typechain-types/ICamelotNFTPool.ts +0 -19
  389. package/typechain-types/ICamelotNitroPool.ts +0 -19
  390. package/typechain-types/ICamelotPair.ts +0 -42
  391. package/typechain-types/IExecutorHelper.ts +331 -310
  392. package/typechain-types/IHashflow.ts +159 -0
  393. package/typechain-types/ILongYieldDecisionHelper.ts +486 -0
  394. package/typechain-types/ILongYieldTradingBot.ts +684 -0
  395. package/typechain-types/IPActionMarketAuxStatic.ts +38 -191
  396. package/typechain-types/IPActionMarketCoreStatic.ts +134 -600
  397. package/typechain-types/IPActionMintRedeemStatic.ts +26 -92
  398. package/typechain-types/IPGauge.ts +3 -23
  399. package/typechain-types/IPMarket.ts +0 -18
  400. package/typechain-types/IPRouterStatic.ts +197 -888
  401. package/typechain-types/IShortYieldDecisionHelper.ts +452 -0
  402. package/typechain-types/IShortYieldTradingBot.ts +576 -0
  403. package/typechain-types/ITradingBotBase.ts +375 -0
  404. package/typechain-types/{AllErrorsDirectory.ts → LongYieldActionLib.ts} +5 -5
  405. package/typechain-types/LongYieldDecisionHelper.ts +601 -0
  406. package/typechain-types/{AuraEthxBbAWethSY.ts → LongYieldTradingBot.ts} +956 -192
  407. package/typechain-types/{IThenaSY.ts → MarketExtLib.ts} +13 -13
  408. package/typechain-types/PendleGauge.ts +3 -23
  409. package/typechain-types/PendleMarket.ts +0 -18
  410. package/typechain-types/{PendleThenaSY.ts → TradingBotBase.ts} +449 -259
  411. package/typechain-types/TvlLib.ts +215 -0
  412. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
  413. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  414. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +7 -83
  415. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +23 -23
  416. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +5 -43
  417. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  418. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  419. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  420. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
  421. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  422. package/typechain-types/factories/BotActionCallbackLib__factory.ts +84 -0
  423. package/typechain-types/factories/BotDecisionHelperBase__factory.ts +808 -0
  424. package/typechain-types/factories/Broadcaster__factory.ts +1 -1
  425. package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
  426. package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
  427. package/typechain-types/factories/BulkSeller__factory.ts +1 -1
  428. package/typechain-types/factories/CamelotRewardHelper__factory.ts +1 -1
  429. package/typechain-types/factories/CamelotV1VolatilePreview__factory.ts +1 -1
  430. package/typechain-types/factories/ComposableStablePreview__factory.ts +231 -4
  431. package/typechain-types/factories/Errors__factory.ts +150 -17
  432. package/typechain-types/factories/IBotDecisionHelper__factory.ts +667 -0
  433. package/typechain-types/factories/ICamelotNFTPool__factory.ts +0 -13
  434. package/typechain-types/factories/ICamelotNitroPool__factory.ts +0 -13
  435. package/typechain-types/factories/ICamelotPair__factory.ts +0 -26
  436. package/typechain-types/factories/IExecutorHelper__factory.ts +116 -74
  437. package/typechain-types/factories/IHashflow__factory.ts +113 -0
  438. package/typechain-types/factories/ILongYieldDecisionHelper__factory.ts +690 -0
  439. package/typechain-types/factories/ILongYieldTradingBot__factory.ts +832 -0
  440. package/typechain-types/factories/IPActionMarketAuxStatic__factory.ts +6 -82
  441. package/typechain-types/factories/IPActionMarketCoreStatic__factory.ts +22 -22
  442. package/typechain-types/factories/IPActionMintRedeemStatic__factory.ts +4 -42
  443. package/typechain-types/factories/IPGauge__factory.ts +0 -19
  444. package/typechain-types/factories/IPMarket__factory.ts +0 -19
  445. package/typechain-types/factories/IPRouterStatic__factory.ts +32 -146
  446. package/typechain-types/factories/IShortYieldDecisionHelper__factory.ts +671 -0
  447. package/typechain-types/factories/IShortYieldTradingBot__factory.ts +813 -0
  448. package/typechain-types/factories/ITradingBotBase__factory.ts +366 -0
  449. package/typechain-types/factories/LinearPreview__factory.ts +1 -1
  450. package/typechain-types/factories/LongYieldActionLib__factory.ts +207 -0
  451. package/typechain-types/factories/LongYieldDecisionHelper__factory.ts +1272 -0
  452. package/typechain-types/factories/LongYieldTradingBot__factory.ts +2253 -0
  453. package/typechain-types/factories/MarketExtLib__factory.ts +74 -0
  454. package/typechain-types/factories/MetaStableMath__factory.ts +1 -1
  455. package/typechain-types/factories/MetaStablePreview__factory.ts +1 -1
  456. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  457. package/typechain-types/factories/PendleAuraBbAWethSwethSY__factory.ts +5 -5
  458. package/typechain-types/factories/PendleAuraWethAnkrethSYV2__factory.ts +1 -1
  459. package/typechain-types/factories/PendleAuraWethRocketEthSYV2__factory.ts +1 -1
  460. package/typechain-types/factories/PendleAuraWethStafiEthSY__factory.ts +1 -1
  461. package/typechain-types/factories/PendleAuraWethWstethSYV2__factory.ts +1 -1
  462. package/typechain-types/factories/PendleCamelotV1VolatileSY__factory.ts +1 -1
  463. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
  464. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
  465. package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
  466. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  467. package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
  468. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  469. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  470. package/typechain-types/factories/PendleGauge__factory.ts +0 -19
  471. package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
  472. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
  473. package/typechain-types/factories/PendleLpGlpOracle__factory.ts +1 -1
  474. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  475. package/typechain-types/factories/PendleMarket__factory.ts +1 -20
  476. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  477. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  478. package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +1 -1
  479. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  480. package/typechain-types/factories/PendlePtGlpOracle__factory.ts +1 -1
  481. package/typechain-types/factories/PendlePtOracle__factory.ts +1 -1
  482. package/typechain-types/factories/PendlePtUsdChainlinkOracle__factory.ts +1 -1
  483. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  484. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  485. package/typechain-types/factories/PendleRouterHelper__factory.ts +1 -1
  486. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  487. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  488. package/typechain-types/factories/PendleSfrxEthSY__factory.ts +1 -1
  489. package/typechain-types/factories/PendleStargateLPSY__factory.ts +1 -1
  490. package/typechain-types/factories/PendleSwap__factory.ts +1 -17
  491. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  492. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  493. package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
  494. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  495. package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
  496. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  497. package/typechain-types/factories/SAPE__factory.ts +1 -1
  498. package/typechain-types/factories/TradingBotBase__factory.ts +1624 -0
  499. package/typechain-types/factories/TvlLib__factory.ts +309 -0
  500. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  501. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  502. package/typechain-types/hardhat.d.ts +82 -352
  503. package/typechain-types/index.ts +28 -86
  504. package/build/artifacts/contracts/core/Market/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.dbg.json +0 -4
  505. package/build/artifacts/contracts/core/Market/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.json +0 -373
  506. package/build/artifacts/contracts/core/Market/v2/PendleGaugeV2.sol/PendleGaugeV2.dbg.json +0 -4
  507. package/build/artifacts/contracts/core/Market/v2/PendleGaugeV2.sol/PendleGaugeV2.json +0 -128
  508. package/build/artifacts/contracts/core/Market/v2/PendleMarketFactoryV2.sol/PendleMarketFactoryV2.dbg.json +0 -4
  509. package/build/artifacts/contracts/core/Market/v2/PendleMarketFactoryV2.sol/PendleMarketFactoryV2.json +0 -682
  510. package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.dbg.json +0 -4
  511. package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.json +0 -1214
  512. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.dbg.json +0 -4
  513. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.json +0 -1027
  514. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.dbg.json +0 -4
  515. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.json +0 -1179
  516. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethVethSY.sol/PendleAuraWethVethSY.dbg.json +0 -4
  517. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethVethSY.sol/PendleAuraWethVethSY.json +0 -1166
  518. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.dbg.json +0 -4
  519. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.json +0 -1171
  520. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewProxy.sol/ComposableStablePreviewProxy.dbg.json +0 -4
  521. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewProxy.sol/ComposableStablePreviewProxy.json +0 -219
  522. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV4.sol/ComposableStablePreviewV4.dbg.json +0 -4
  523. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV4.sol/ComposableStablePreviewV4.json +0 -133
  524. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV5.sol/ComposableStablePreviewV5.dbg.json +0 -4
  525. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV5.sol/ComposableStablePreviewV5.json +0 -133
  526. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.dbg.json +0 -4
  527. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.json +0 -154
  528. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkRelayer.sol/PendleChainlinkRelayer.dbg.json +0 -4
  529. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkRelayer.sol/PendleChainlinkRelayer.json +0 -96
  530. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleMantleStakedEthSY.sol/PendleMantleStakedEthSY.dbg.json +0 -4
  531. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleMantleStakedEthSY.sol/PendleMantleStakedEthSY.json +0 -976
  532. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleOracleForSyProxy.sol/PendleOracleForSyProxy.dbg.json +0 -4
  533. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleOracleForSyProxy.sol/PendleOracleForSyProxy.json +0 -149
  534. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.dbg.json +0 -4
  535. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.json +0 -976
  536. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.dbg.json +0 -4
  537. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.json +0 -979
  538. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.dbg.json +0 -4
  539. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.json +0 -961
  540. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.dbg.json +0 -4
  541. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.json +0 -1266
  542. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol/ThenaLpHelper.dbg.json +0 -4
  543. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol/ThenaLpHelper.json +0 -128
  544. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.dbg.json +0 -4
  545. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.json +0 -24
  546. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/IThenaSY.dbg.json +0 -4
  547. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/IThenaSY.json +0 -24
  548. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.dbg.json +0 -4
  549. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.json +0 -267
  550. package/build/artifacts/contracts/interfaces/Ankr/IAnkrBNB.sol/IAnkrBNB.dbg.json +0 -4
  551. package/build/artifacts/contracts/interfaces/Ankr/IAnkrBNB.sol/IAnkrBNB.json +0 -62
  552. package/build/artifacts/contracts/interfaces/Ankr/IAnkrLiquidStaking.sol/IAnkrLiquidStaking.dbg.json +0 -4
  553. package/build/artifacts/contracts/interfaces/Ankr/IAnkrLiquidStaking.sol/IAnkrLiquidStaking.json +0 -108
  554. package/build/artifacts/contracts/interfaces/Balancer/IPComposableStablePreview.sol/IPComposableStablePreview.dbg.json +0 -4
  555. package/build/artifacts/contracts/interfaces/Balancer/IPComposableStablePreview.sol/IPComposableStablePreview.json +0 -133
  556. package/build/artifacts/contracts/interfaces/Balancer/IVersion.sol/IVersion.dbg.json +0 -4
  557. package/build/artifacts/contracts/interfaces/Balancer/IVersion.sol/IVersion.json +0 -24
  558. package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.dbg.json +0 -4
  559. package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.json +0 -42
  560. package/build/artifacts/contracts/interfaces/IPExternalRewardDistributor.sol/IPExternalRewardDistributor.dbg.json +0 -4
  561. package/build/artifacts/contracts/interfaces/IPExternalRewardDistributor.sol/IPExternalRewardDistributor.json +0 -109
  562. package/build/artifacts/contracts/interfaces/IPMarketFactoryV2.sol/IPMarketFactoryV2.dbg.json +0 -4
  563. package/build/artifacts/contracts/interfaces/IPMarketFactoryV2.sol/IPMarketFactoryV2.json +0 -166
  564. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +0 -4
  565. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.json +0 -24
  566. package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.dbg.json +0 -4
  567. package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.json +0 -59
  568. package/build/artifacts/contracts/interfaces/ISwETH.sol/ISwETH.dbg.json +0 -4
  569. package/build/artifacts/contracts/interfaces/ISwETH.sol/ISwETH.json +0 -44
  570. package/build/artifacts/contracts/interfaces/Thena/IThenaFactory.sol/IThenaFactory.dbg.json +0 -4
  571. package/build/artifacts/contracts/interfaces/Thena/IThenaFactory.sol/IThenaFactory.json +0 -152
  572. package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.dbg.json +0 -4
  573. package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.json +0 -71
  574. package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.dbg.json +0 -4
  575. package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.json +0 -409
  576. package/build/artifacts/contracts/interfaces/Thena/IThenaRouter.sol/IThenaRouter.dbg.json +0 -4
  577. package/build/artifacts/contracts/interfaces/Thena/IThenaRouter.sol/IThenaRouter.json +0 -188
  578. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +0 -4
  579. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.json +0 -30
  580. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +0 -4
  581. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.json +0 -572
  582. package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.dbg.json +0 -4
  583. package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.json +0 -97
  584. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +0 -4
  585. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.json +0 -1543
  586. package/build/artifacts/contracts/router/swap-aggregator/oneinch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +0 -4
  587. package/build/artifacts/contracts/router/swap-aggregator/oneinch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.json +0 -160
  588. package/build/artifacts/contracts/router/swap-aggregator/oneinch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +0 -4
  589. package/build/artifacts/contracts/router/swap-aggregator/oneinch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.json +0 -10
  590. package/typechain-types/ComposableStablePreviewProxy.ts +0 -352
  591. package/typechain-types/ComposableStablePreviewV4.ts +0 -217
  592. package/typechain-types/ComposableStablePreviewV5.ts +0 -217
  593. package/typechain-types/I1inchAggregationRouterV5.ts +0 -257
  594. package/typechain-types/IAnkrBNB.ts +0 -150
  595. package/typechain-types/IAnkrLiquidStaking.ts +0 -253
  596. package/typechain-types/IPComposableStablePreview.ts +0 -217
  597. package/typechain-types/IPExternalRewardDistributor.ts +0 -198
  598. package/typechain-types/IPMarketFactoryV2.ts +0 -253
  599. package/typechain-types/IPOracleForSy.ts +0 -87
  600. package/typechain-types/IPendlePreviewHelper.ts +0 -147
  601. package/typechain-types/ISwETH.ts +0 -123
  602. package/typechain-types/IThenaFactory.ts +0 -245
  603. package/typechain-types/IThenaGaugeV2.ts +0 -206
  604. package/typechain-types/IThenaPair.ts +0 -579
  605. package/typechain-types/IThenaRouter.ts +0 -313
  606. package/typechain-types/IVersion.ts +0 -81
  607. package/typechain-types/IWBETH.ts +0 -128
  608. package/typechain-types/LegacyNFTHelper.ts +0 -87
  609. package/typechain-types/PendleAnkrBNBSY.ts +0 -1235
  610. package/typechain-types/PendleArbitrumStakedEthSY.ts +0 -1222
  611. package/typechain-types/PendleAuraWethVethSY.ts +0 -1511
  612. package/typechain-types/PendleAuraWstethAnkreth.ts +0 -1511
  613. package/typechain-types/PendleChainlinkReceiver.ts +0 -239
  614. package/typechain-types/PendleChainlinkRelayer.ts +0 -158
  615. package/typechain-types/PendleExternalRewardDistributor.ts +0 -596
  616. package/typechain-types/PendleGaugeV2.ts +0 -225
  617. package/typechain-types/PendleMantleStakedEthSY.ts +0 -1222
  618. package/typechain-types/PendleMarketFactoryV2.ts +0 -930
  619. package/typechain-types/PendleMarketV2.ts +0 -1311
  620. package/typechain-types/PendleOracleForSyProxy.ts +0 -275
  621. package/typechain-types/PendleWbEthSY.ts +0 -1229
  622. package/typechain-types/PtAndLpToAsset.ts +0 -136
  623. package/typechain-types/StarNFTV1.ts +0 -880
  624. package/typechain-types/SwETHSY.ts +0 -1216
  625. package/typechain-types/ThenaLpHelper.ts +0 -191
  626. package/typechain-types/ThenaMath.ts +0 -87
  627. package/typechain-types/ThenaPreview.ts +0 -450
  628. package/typechain-types/factories/AllErrorsDirectory__factory.ts +0 -1596
  629. package/typechain-types/factories/AuraEthxBbAWethSY__factory.ts +0 -1240
  630. package/typechain-types/factories/ComposableStablePreviewProxy__factory.ts +0 -288
  631. package/typechain-types/factories/ComposableStablePreviewV4__factory.ts +0 -190
  632. package/typechain-types/factories/ComposableStablePreviewV5__factory.ts +0 -190
  633. package/typechain-types/factories/I1inchAggregationRouterV5__factory.ts +0 -179
  634. package/typechain-types/factories/IAnkrBNB__factory.ts +0 -74
  635. package/typechain-types/factories/IAnkrLiquidStaking__factory.ts +0 -123
  636. package/typechain-types/factories/IPComposableStablePreview__factory.ts +0 -152
  637. package/typechain-types/factories/IPExternalRewardDistributor__factory.ts +0 -128
  638. package/typechain-types/factories/IPMarketFactoryV2__factory.ts +0 -181
  639. package/typechain-types/factories/IPOracleForSy__factory.ts +0 -36
  640. package/typechain-types/factories/IPendlePreviewHelper__factory.ts +0 -78
  641. package/typechain-types/factories/ISwETH__factory.ts +0 -53
  642. package/typechain-types/factories/IThenaFactory__factory.ts +0 -164
  643. package/typechain-types/factories/IThenaGaugeV2__factory.ts +0 -83
  644. package/typechain-types/factories/IThenaPair__factory.ts +0 -421
  645. package/typechain-types/factories/IThenaRouter__factory.ts +0 -200
  646. package/typechain-types/factories/IThenaSY__factory.ts +0 -36
  647. package/typechain-types/factories/IVersion__factory.ts +0 -36
  648. package/typechain-types/factories/IWBETH__factory.ts +0 -51
  649. package/typechain-types/factories/LegacyNFTHelper__factory.ts +0 -83
  650. package/typechain-types/factories/PendleAnkrBNBSY__factory.ts +0 -1100
  651. package/typechain-types/factories/PendleArbitrumStakedEthSY__factory.ts +0 -1068
  652. package/typechain-types/factories/PendleAuraWethVethSY__factory.ts +0 -1231
  653. package/typechain-types/factories/PendleAuraWstethAnkreth__factory.ts +0 -1244
  654. package/typechain-types/factories/PendleChainlinkReceiver__factory.ts +0 -216
  655. package/typechain-types/factories/PendleChainlinkRelayer__factory.ts +0 -180
  656. package/typechain-types/factories/PendleExternalRewardDistributor__factory.ts +0 -437
  657. package/typechain-types/factories/PendleGaugeV2__factory.ts +0 -140
  658. package/typechain-types/factories/PendleMantleStakedEthSY__factory.ts +0 -1068
  659. package/typechain-types/factories/PendleMarketFactoryV2__factory.ts +0 -770
  660. package/typechain-types/factories/PendleMarketV2__factory.ts +0 -1290
  661. package/typechain-types/factories/PendleOracleForSyProxy__factory.ts +0 -211
  662. package/typechain-types/factories/PendleThenaSY__factory.ts +0 -1352
  663. package/typechain-types/factories/PendleWbEthSY__factory.ts +0 -1049
  664. package/typechain-types/factories/PtAndLpToAsset__factory.ts +0 -150
  665. package/typechain-types/factories/SDKErrorsDirectory__factory.ts +0 -1596
  666. package/typechain-types/factories/StarNFTV1__factory.ts +0 -584
  667. package/typechain-types/factories/SwETHSY__factory.ts +0 -1022
  668. package/typechain-types/factories/ThenaLpHelper__factory.ts +0 -140
  669. package/typechain-types/factories/ThenaMath__factory.ts +0 -36
  670. package/typechain-types/factories/ThenaPreview__factory.ts +0 -319
@@ -1,1596 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
- import { Provider, TransactionRequest } from "@ethersproject/providers";
6
- import type {
7
- AllErrorsDirectory,
8
- AllErrorsDirectoryInterface,
9
- } from "../AllErrorsDirectory";
10
-
11
- const _abi = [
12
- {
13
- inputs: [
14
- {
15
- internalType: "uint256",
16
- name: "approxGuessMin",
17
- type: "uint256",
18
- },
19
- {
20
- internalType: "uint256",
21
- name: "approxGuessMax",
22
- type: "uint256",
23
- },
24
- {
25
- internalType: "uint256",
26
- name: "minGuessMin",
27
- type: "uint256",
28
- },
29
- {
30
- internalType: "uint256",
31
- name: "maxGuessMax",
32
- type: "uint256",
33
- },
34
- ],
35
- name: "ApproxBinarySearchInputInvalid",
36
- type: "error",
37
- },
38
- {
39
- inputs: [],
40
- name: "ApproxDstExecutionGasNotSet",
41
- type: "error",
42
- },
43
- {
44
- inputs: [],
45
- name: "ApproxFail",
46
- type: "error",
47
- },
48
- {
49
- inputs: [
50
- {
51
- internalType: "uint256",
52
- name: "guessMin",
53
- type: "uint256",
54
- },
55
- {
56
- internalType: "uint256",
57
- name: "guessMax",
58
- type: "uint256",
59
- },
60
- {
61
- internalType: "uint256",
62
- name: "eps",
63
- type: "uint256",
64
- },
65
- ],
66
- name: "ApproxParamsInvalid",
67
- type: "error",
68
- },
69
- {
70
- inputs: [],
71
- name: "ArrayEmpty",
72
- type: "error",
73
- },
74
- {
75
- inputs: [],
76
- name: "ArrayLengthMismatch",
77
- type: "error",
78
- },
79
- {
80
- inputs: [],
81
- name: "ArrayOutOfBounds",
82
- type: "error",
83
- },
84
- {
85
- inputs: [
86
- {
87
- internalType: "uint256",
88
- name: "epoch",
89
- type: "uint256",
90
- },
91
- {
92
- internalType: "uint256",
93
- name: "startTime",
94
- type: "uint256",
95
- },
96
- ],
97
- name: "BDInvalidEpoch",
98
- type: "error",
99
- },
100
- {
101
- inputs: [
102
- {
103
- internalType: "uint256",
104
- name: "actualRate",
105
- type: "uint256",
106
- },
107
- {
108
- internalType: "uint256",
109
- name: "currentRate",
110
- type: "uint256",
111
- },
112
- {
113
- internalType: "uint256",
114
- name: "eps",
115
- type: "uint256",
116
- },
117
- ],
118
- name: "BulkBadRateSyToToken",
119
- type: "error",
120
- },
121
- {
122
- inputs: [
123
- {
124
- internalType: "uint256",
125
- name: "actualRate",
126
- type: "uint256",
127
- },
128
- {
129
- internalType: "uint256",
130
- name: "currentRate",
131
- type: "uint256",
132
- },
133
- {
134
- internalType: "uint256",
135
- name: "eps",
136
- type: "uint256",
137
- },
138
- ],
139
- name: "BulkBadRateTokenToSy",
140
- type: "error",
141
- },
142
- {
143
- inputs: [
144
- {
145
- internalType: "uint256",
146
- name: "actualSyOut",
147
- type: "uint256",
148
- },
149
- {
150
- internalType: "uint256",
151
- name: "requiredSyOut",
152
- type: "uint256",
153
- },
154
- ],
155
- name: "BulkInSufficientSyOut",
156
- type: "error",
157
- },
158
- {
159
- inputs: [
160
- {
161
- internalType: "uint256",
162
- name: "actualTokenOut",
163
- type: "uint256",
164
- },
165
- {
166
- internalType: "uint256",
167
- name: "requiredTokenOut",
168
- type: "uint256",
169
- },
170
- ],
171
- name: "BulkInSufficientTokenOut",
172
- type: "error",
173
- },
174
- {
175
- inputs: [
176
- {
177
- internalType: "uint256",
178
- name: "currentAmount",
179
- type: "uint256",
180
- },
181
- {
182
- internalType: "uint256",
183
- name: "requiredAmount",
184
- type: "uint256",
185
- },
186
- ],
187
- name: "BulkInsufficientSyForTrade",
188
- type: "error",
189
- },
190
- {
191
- inputs: [
192
- {
193
- internalType: "uint256",
194
- name: "actualBalance",
195
- type: "uint256",
196
- },
197
- {
198
- internalType: "uint256",
199
- name: "requiredBalance",
200
- type: "uint256",
201
- },
202
- ],
203
- name: "BulkInsufficientSyReceived",
204
- type: "error",
205
- },
206
- {
207
- inputs: [
208
- {
209
- internalType: "uint256",
210
- name: "currentAmount",
211
- type: "uint256",
212
- },
213
- {
214
- internalType: "uint256",
215
- name: "requiredAmount",
216
- type: "uint256",
217
- },
218
- ],
219
- name: "BulkInsufficientTokenForTrade",
220
- type: "error",
221
- },
222
- {
223
- inputs: [],
224
- name: "BulkNotAdmin",
225
- type: "error",
226
- },
227
- {
228
- inputs: [],
229
- name: "BulkNotMaintainer",
230
- type: "error",
231
- },
232
- {
233
- inputs: [
234
- {
235
- internalType: "address",
236
- name: "token",
237
- type: "address",
238
- },
239
- {
240
- internalType: "address",
241
- name: "SY",
242
- type: "address",
243
- },
244
- {
245
- internalType: "address",
246
- name: "bulk",
247
- type: "address",
248
- },
249
- ],
250
- name: "BulkSellerAlreadyExisted",
251
- type: "error",
252
- },
253
- {
254
- inputs: [
255
- {
256
- internalType: "address",
257
- name: "token",
258
- type: "address",
259
- },
260
- {
261
- internalType: "address",
262
- name: "SY",
263
- type: "address",
264
- },
265
- ],
266
- name: "BulkSellerInvalidToken",
267
- type: "error",
268
- },
269
- {
270
- inputs: [
271
- {
272
- internalType: "uint256",
273
- name: "chainId",
274
- type: "uint256",
275
- },
276
- ],
277
- name: "ChainNotSupported",
278
- type: "error",
279
- },
280
- {
281
- inputs: [
282
- {
283
- internalType: "uint256",
284
- name: "expiry",
285
- type: "uint256",
286
- },
287
- ],
288
- name: "ExpiryInThePast",
289
- type: "error",
290
- },
291
- {
292
- inputs: [],
293
- name: "FDEpochLengthMismatch",
294
- type: "error",
295
- },
296
- {
297
- inputs: [
298
- {
299
- internalType: "uint256",
300
- name: "lastFunded",
301
- type: "uint256",
302
- },
303
- {
304
- internalType: "uint256",
305
- name: "currentWTime",
306
- type: "uint256",
307
- },
308
- ],
309
- name: "FDFutureFunding",
310
- type: "error",
311
- },
312
- {
313
- inputs: [
314
- {
315
- internalType: "uint256",
316
- name: "oldFinishedEpoch",
317
- type: "uint256",
318
- },
319
- {
320
- internalType: "uint256",
321
- name: "newFinishedEpoch",
322
- type: "uint256",
323
- },
324
- ],
325
- name: "FDInvalidNewFinishedEpoch",
326
- type: "error",
327
- },
328
- {
329
- inputs: [
330
- {
331
- internalType: "address",
332
- name: "pool",
333
- type: "address",
334
- },
335
- ],
336
- name: "FDInvalidPool",
337
- type: "error",
338
- },
339
- {
340
- inputs: [
341
- {
342
- internalType: "uint256",
343
- name: "startEpoch",
344
- type: "uint256",
345
- },
346
- ],
347
- name: "FDInvalidStartEpoch",
348
- type: "error",
349
- },
350
- {
351
- inputs: [
352
- {
353
- internalType: "uint256",
354
- name: "lastFunded",
355
- type: "uint256",
356
- },
357
- {
358
- internalType: "uint256",
359
- name: "wTime",
360
- type: "uint256",
361
- },
362
- ],
363
- name: "FDInvalidWTimeFund",
364
- type: "error",
365
- },
366
- {
367
- inputs: [
368
- {
369
- internalType: "address",
370
- name: "pool",
371
- type: "address",
372
- },
373
- ],
374
- name: "FDPoolAlreadyExists",
375
- type: "error",
376
- },
377
- {
378
- inputs: [
379
- {
380
- internalType: "uint256",
381
- name: "actualTotalAmount",
382
- type: "uint256",
383
- },
384
- {
385
- internalType: "uint256",
386
- name: "expectedTotalAmount",
387
- type: "uint256",
388
- },
389
- ],
390
- name: "FDTotalAmountFundedNotMatch",
391
- type: "error",
392
- },
393
- {
394
- inputs: [],
395
- name: "FailedToSendEther",
396
- type: "error",
397
- },
398
- {
399
- inputs: [
400
- {
401
- internalType: "address",
402
- name: "caller",
403
- type: "address",
404
- },
405
- ],
406
- name: "GCNotPendleMarket",
407
- type: "error",
408
- },
409
- {
410
- inputs: [
411
- {
412
- internalType: "address",
413
- name: "caller",
414
- type: "address",
415
- },
416
- ],
417
- name: "GCNotVotingController",
418
- type: "error",
419
- },
420
- {
421
- inputs: [
422
- {
423
- internalType: "uint256",
424
- name: "currentFee",
425
- type: "uint256",
426
- },
427
- {
428
- internalType: "uint256",
429
- name: "requiredFee",
430
- type: "uint256",
431
- },
432
- ],
433
- name: "InsufficientFeeToSendMsg",
434
- type: "error",
435
- },
436
- {
437
- inputs: [
438
- {
439
- internalType: "uint256",
440
- name: "blockCycleNumerator",
441
- type: "uint256",
442
- },
443
- ],
444
- name: "InvalidBlockRate",
445
- type: "error",
446
- },
447
- {
448
- inputs: [],
449
- name: "InvalidMerkleProof",
450
- type: "error",
451
- },
452
- {
453
- inputs: [],
454
- name: "InvalidRetryData",
455
- type: "error",
456
- },
457
- {
458
- inputs: [
459
- {
460
- internalType: "uint256",
461
- name: "tokenId",
462
- type: "uint256",
463
- },
464
- {
465
- internalType: "uint256",
466
- name: "positionId",
467
- type: "uint256",
468
- },
469
- ],
470
- name: "InvalidTokenId",
471
- type: "error",
472
- },
473
- {
474
- inputs: [
475
- {
476
- internalType: "uint256",
477
- name: "wTime",
478
- type: "uint256",
479
- },
480
- ],
481
- name: "InvalidWTime",
482
- type: "error",
483
- },
484
- {
485
- inputs: [
486
- {
487
- internalType: "int256",
488
- name: "exchangeRate",
489
- type: "int256",
490
- },
491
- ],
492
- name: "MarketExchangeRateBelowOne",
493
- type: "error",
494
- },
495
- {
496
- inputs: [],
497
- name: "MarketExpired",
498
- type: "error",
499
- },
500
- {
501
- inputs: [],
502
- name: "MarketFactoryExpiredPt",
503
- type: "error",
504
- },
505
- {
506
- inputs: [
507
- {
508
- internalType: "int256",
509
- name: "initialAnchor",
510
- type: "int256",
511
- },
512
- {
513
- internalType: "int256",
514
- name: "minInitialAnchor",
515
- type: "int256",
516
- },
517
- ],
518
- name: "MarketFactoryInitialAnchorTooLow",
519
- type: "error",
520
- },
521
- {
522
- inputs: [],
523
- name: "MarketFactoryInvalidPt",
524
- type: "error",
525
- },
526
- {
527
- inputs: [
528
- {
529
- internalType: "uint80",
530
- name: "lnFeeRateRoot",
531
- type: "uint80",
532
- },
533
- {
534
- internalType: "uint256",
535
- name: "maxLnFeeRateRoot",
536
- type: "uint256",
537
- },
538
- ],
539
- name: "MarketFactoryLnFeeRateRootTooHigh",
540
- type: "error",
541
- },
542
- {
543
- inputs: [],
544
- name: "MarketFactoryMarketExists",
545
- type: "error",
546
- },
547
- {
548
- inputs: [
549
- {
550
- internalType: "uint8",
551
- name: "reserveFeePercent",
552
- type: "uint8",
553
- },
554
- {
555
- internalType: "uint8",
556
- name: "maxReserveFeePercent",
557
- type: "uint8",
558
- },
559
- ],
560
- name: "MarketFactoryReserveFeePercentTooHigh",
561
- type: "error",
562
- },
563
- {
564
- inputs: [],
565
- name: "MarketFactoryZeroTreasury",
566
- type: "error",
567
- },
568
- {
569
- inputs: [
570
- {
571
- internalType: "int256",
572
- name: "currentAmount",
573
- type: "int256",
574
- },
575
- {
576
- internalType: "int256",
577
- name: "requiredAmount",
578
- type: "int256",
579
- },
580
- ],
581
- name: "MarketInsufficientPtForTrade",
582
- type: "error",
583
- },
584
- {
585
- inputs: [
586
- {
587
- internalType: "uint256",
588
- name: "actualBalance",
589
- type: "uint256",
590
- },
591
- {
592
- internalType: "uint256",
593
- name: "requiredBalance",
594
- type: "uint256",
595
- },
596
- ],
597
- name: "MarketInsufficientPtReceived",
598
- type: "error",
599
- },
600
- {
601
- inputs: [
602
- {
603
- internalType: "uint256",
604
- name: "actualBalance",
605
- type: "uint256",
606
- },
607
- {
608
- internalType: "uint256",
609
- name: "requiredBalance",
610
- type: "uint256",
611
- },
612
- ],
613
- name: "MarketInsufficientSyReceived",
614
- type: "error",
615
- },
616
- {
617
- inputs: [],
618
- name: "MarketProportionMustNotEqualOne",
619
- type: "error",
620
- },
621
- {
622
- inputs: [
623
- {
624
- internalType: "int256",
625
- name: "proportion",
626
- type: "int256",
627
- },
628
- {
629
- internalType: "int256",
630
- name: "maxProportion",
631
- type: "int256",
632
- },
633
- ],
634
- name: "MarketProportionTooHigh",
635
- type: "error",
636
- },
637
- {
638
- inputs: [
639
- {
640
- internalType: "int256",
641
- name: "rateScalar",
642
- type: "int256",
643
- },
644
- ],
645
- name: "MarketRateScalarBelowZero",
646
- type: "error",
647
- },
648
- {
649
- inputs: [
650
- {
651
- internalType: "int256",
652
- name: "scalarRoot",
653
- type: "int256",
654
- },
655
- ],
656
- name: "MarketScalarRootBelowZero",
657
- type: "error",
658
- },
659
- {
660
- inputs: [],
661
- name: "MarketZeroAmountsInput",
662
- type: "error",
663
- },
664
- {
665
- inputs: [],
666
- name: "MarketZeroAmountsOutput",
667
- type: "error",
668
- },
669
- {
670
- inputs: [],
671
- name: "MarketZeroLnImpliedRate",
672
- type: "error",
673
- },
674
- {
675
- inputs: [
676
- {
677
- internalType: "int256",
678
- name: "totalPt",
679
- type: "int256",
680
- },
681
- {
682
- internalType: "int256",
683
- name: "totalAsset",
684
- type: "int256",
685
- },
686
- ],
687
- name: "MarketZeroTotalPtOrTotalAsset",
688
- type: "error",
689
- },
690
- {
691
- inputs: [
692
- {
693
- internalType: "uint256",
694
- name: "amountToRedeem",
695
- type: "uint256",
696
- },
697
- {
698
- internalType: "uint256",
699
- name: "minimumRedeemAmount",
700
- type: "uint256",
701
- },
702
- ],
703
- name: "MinimumRedeemAmountNotReached",
704
- type: "error",
705
- },
706
- {
707
- inputs: [
708
- {
709
- internalType: "uint256",
710
- name: "amountToStake",
711
- type: "uint256",
712
- },
713
- {
714
- internalType: "uint256",
715
- name: "minimumStakeAmount",
716
- type: "uint256",
717
- },
718
- ],
719
- name: "MinimumStakeAmountNotReached",
720
- type: "error",
721
- },
722
- {
723
- inputs: [
724
- {
725
- internalType: "address",
726
- name: "sender",
727
- type: "address",
728
- },
729
- ],
730
- name: "MsgNotFromReceiveEndpoint",
731
- type: "error",
732
- },
733
- {
734
- inputs: [
735
- {
736
- internalType: "uint16",
737
- name: "srcChainId",
738
- type: "uint16",
739
- },
740
- {
741
- internalType: "bytes",
742
- name: "path",
743
- type: "bytes",
744
- },
745
- ],
746
- name: "MsgNotFromSendEndpoint",
747
- type: "error",
748
- },
749
- {
750
- inputs: [
751
- {
752
- internalType: "uint16",
753
- name: "srcChainId",
754
- type: "uint16",
755
- },
756
- {
757
- internalType: "bytes",
758
- name: "path",
759
- type: "bytes",
760
- },
761
- ],
762
- name: "NotFromTrustedRemote",
763
- type: "error",
764
- },
765
- {
766
- inputs: [],
767
- name: "OnlyLayerZeroEndpoint",
768
- type: "error",
769
- },
770
- {
771
- inputs: [],
772
- name: "OnlyWhitelisted",
773
- type: "error",
774
- },
775
- {
776
- inputs: [],
777
- name: "OnlyYCFactory",
778
- type: "error",
779
- },
780
- {
781
- inputs: [],
782
- name: "OnlyYT",
783
- type: "error",
784
- },
785
- {
786
- inputs: [
787
- {
788
- internalType: "bool",
789
- name: "increaseCardinalityRequired",
790
- type: "bool",
791
- },
792
- {
793
- internalType: "bool",
794
- name: "oldestObservationSatisfied",
795
- type: "bool",
796
- },
797
- ],
798
- name: "OracleNotReady",
799
- type: "error",
800
- },
801
- {
802
- inputs: [
803
- {
804
- internalType: "uint32",
805
- name: "target",
806
- type: "uint32",
807
- },
808
- {
809
- internalType: "uint32",
810
- name: "oldest",
811
- type: "uint32",
812
- },
813
- ],
814
- name: "OracleTargetTooOld",
815
- type: "error",
816
- },
817
- {
818
- inputs: [],
819
- name: "OracleUninitialized",
820
- type: "error",
821
- },
822
- {
823
- inputs: [],
824
- name: "OracleZeroCardinality",
825
- type: "error",
826
- },
827
- {
828
- inputs: [
829
- {
830
- internalType: "address",
831
- name: "caller",
832
- type: "address",
833
- },
834
- ],
835
- name: "RouterCallbackNotPendleMarket",
836
- type: "error",
837
- },
838
- {
839
- inputs: [
840
- {
841
- internalType: "uint256",
842
- name: "actualPtIn",
843
- type: "uint256",
844
- },
845
- {
846
- internalType: "uint256",
847
- name: "limitPtIn",
848
- type: "uint256",
849
- },
850
- ],
851
- name: "RouterExceededLimitPtIn",
852
- type: "error",
853
- },
854
- {
855
- inputs: [
856
- {
857
- internalType: "uint256",
858
- name: "actualSyIn",
859
- type: "uint256",
860
- },
861
- {
862
- internalType: "uint256",
863
- name: "limitSyIn",
864
- type: "uint256",
865
- },
866
- ],
867
- name: "RouterExceededLimitSyIn",
868
- type: "error",
869
- },
870
- {
871
- inputs: [
872
- {
873
- internalType: "uint256",
874
- name: "actualYtIn",
875
- type: "uint256",
876
- },
877
- {
878
- internalType: "uint256",
879
- name: "limitYtIn",
880
- type: "uint256",
881
- },
882
- ],
883
- name: "RouterExceededLimitYtIn",
884
- type: "error",
885
- },
886
- {
887
- inputs: [
888
- {
889
- internalType: "uint256",
890
- name: "actualLpOut",
891
- type: "uint256",
892
- },
893
- {
894
- internalType: "uint256",
895
- name: "requiredLpOut",
896
- type: "uint256",
897
- },
898
- ],
899
- name: "RouterInsufficientLpOut",
900
- type: "error",
901
- },
902
- {
903
- inputs: [
904
- {
905
- internalType: "uint256",
906
- name: "actualPYOut",
907
- type: "uint256",
908
- },
909
- {
910
- internalType: "uint256",
911
- name: "requiredPYOut",
912
- type: "uint256",
913
- },
914
- ],
915
- name: "RouterInsufficientPYOut",
916
- type: "error",
917
- },
918
- {
919
- inputs: [
920
- {
921
- internalType: "uint256",
922
- name: "actualPtOut",
923
- type: "uint256",
924
- },
925
- {
926
- internalType: "uint256",
927
- name: "requiredPtOut",
928
- type: "uint256",
929
- },
930
- ],
931
- name: "RouterInsufficientPtOut",
932
- type: "error",
933
- },
934
- {
935
- inputs: [
936
- {
937
- internalType: "uint256",
938
- name: "actualPtRepay",
939
- type: "uint256",
940
- },
941
- {
942
- internalType: "uint256",
943
- name: "requiredPtRepay",
944
- type: "uint256",
945
- },
946
- ],
947
- name: "RouterInsufficientPtRepay",
948
- type: "error",
949
- },
950
- {
951
- inputs: [
952
- {
953
- internalType: "uint256",
954
- name: "actualSyOut",
955
- type: "uint256",
956
- },
957
- {
958
- internalType: "uint256",
959
- name: "requiredSyOut",
960
- type: "uint256",
961
- },
962
- ],
963
- name: "RouterInsufficientSyOut",
964
- type: "error",
965
- },
966
- {
967
- inputs: [
968
- {
969
- internalType: "uint256",
970
- name: "actualSyRepay",
971
- type: "uint256",
972
- },
973
- {
974
- internalType: "uint256",
975
- name: "requiredSyRepay",
976
- type: "uint256",
977
- },
978
- ],
979
- name: "RouterInsufficientSyRepay",
980
- type: "error",
981
- },
982
- {
983
- inputs: [
984
- {
985
- internalType: "uint256",
986
- name: "actualTokenOut",
987
- type: "uint256",
988
- },
989
- {
990
- internalType: "uint256",
991
- name: "requiredTokenOut",
992
- type: "uint256",
993
- },
994
- ],
995
- name: "RouterInsufficientTokenOut",
996
- type: "error",
997
- },
998
- {
999
- inputs: [
1000
- {
1001
- internalType: "uint256",
1002
- name: "actualYtOut",
1003
- type: "uint256",
1004
- },
1005
- {
1006
- internalType: "uint256",
1007
- name: "requiredYtOut",
1008
- type: "uint256",
1009
- },
1010
- ],
1011
- name: "RouterInsufficientYtOut",
1012
- type: "error",
1013
- },
1014
- {
1015
- inputs: [
1016
- {
1017
- internalType: "bytes4",
1018
- name: "selector",
1019
- type: "bytes4",
1020
- },
1021
- ],
1022
- name: "RouterInvalidAction",
1023
- type: "error",
1024
- },
1025
- {
1026
- inputs: [
1027
- {
1028
- internalType: "address",
1029
- name: "facet",
1030
- type: "address",
1031
- },
1032
- ],
1033
- name: "RouterInvalidFacet",
1034
- type: "error",
1035
- },
1036
- {
1037
- inputs: [],
1038
- name: "RouterKyberSwapDataZero",
1039
- type: "error",
1040
- },
1041
- {
1042
- inputs: [
1043
- {
1044
- internalType: "uint256",
1045
- name: "netSyDesired",
1046
- type: "uint256",
1047
- },
1048
- {
1049
- internalType: "uint256",
1050
- name: "netSyUsed",
1051
- type: "uint256",
1052
- },
1053
- ],
1054
- name: "RouterNotAllSyUsed",
1055
- type: "error",
1056
- },
1057
- {
1058
- inputs: [],
1059
- name: "RouterTimeRangeZero",
1060
- type: "error",
1061
- },
1062
- {
1063
- inputs: [
1064
- {
1065
- internalType: "address",
1066
- name: "tokenIn",
1067
- type: "address",
1068
- },
1069
- {
1070
- internalType: "uint256",
1071
- name: "amountExpected",
1072
- type: "uint256",
1073
- },
1074
- {
1075
- internalType: "uint256",
1076
- name: "amountActual",
1077
- type: "uint256",
1078
- },
1079
- ],
1080
- name: "SAInsufficientTokenIn",
1081
- type: "error",
1082
- },
1083
- {
1084
- inputs: [
1085
- {
1086
- internalType: "uint256",
1087
- name: "amountDeposited",
1088
- type: "uint256",
1089
- },
1090
- ],
1091
- name: "SYApeDepositAmountTooSmall",
1092
- type: "error",
1093
- },
1094
- {
1095
- inputs: [],
1096
- name: "SYBalancerInvalidPid",
1097
- type: "error",
1098
- },
1099
- {
1100
- inputs: [],
1101
- name: "SYBalancerReentrancy",
1102
- type: "error",
1103
- },
1104
- {
1105
- inputs: [],
1106
- name: "SYCurve3crvPoolNotFound",
1107
- type: "error",
1108
- },
1109
- {
1110
- inputs: [],
1111
- name: "SYCurveInvalidPid",
1112
- type: "error",
1113
- },
1114
- {
1115
- inputs: [
1116
- {
1117
- internalType: "uint256",
1118
- name: "actualSharesOut",
1119
- type: "uint256",
1120
- },
1121
- {
1122
- internalType: "uint256",
1123
- name: "requiredSharesOut",
1124
- type: "uint256",
1125
- },
1126
- ],
1127
- name: "SYInsufficientSharesOut",
1128
- type: "error",
1129
- },
1130
- {
1131
- inputs: [
1132
- {
1133
- internalType: "uint256",
1134
- name: "actualTokenOut",
1135
- type: "uint256",
1136
- },
1137
- {
1138
- internalType: "uint256",
1139
- name: "requiredTokenOut",
1140
- type: "uint256",
1141
- },
1142
- ],
1143
- name: "SYInsufficientTokenOut",
1144
- type: "error",
1145
- },
1146
- {
1147
- inputs: [
1148
- {
1149
- internalType: "address",
1150
- name: "token",
1151
- type: "address",
1152
- },
1153
- ],
1154
- name: "SYInvalidRewardToken",
1155
- type: "error",
1156
- },
1157
- {
1158
- inputs: [
1159
- {
1160
- internalType: "address",
1161
- name: "token",
1162
- type: "address",
1163
- },
1164
- ],
1165
- name: "SYInvalidTokenIn",
1166
- type: "error",
1167
- },
1168
- {
1169
- inputs: [
1170
- {
1171
- internalType: "address",
1172
- name: "token",
1173
- type: "address",
1174
- },
1175
- ],
1176
- name: "SYInvalidTokenOut",
1177
- type: "error",
1178
- },
1179
- {
1180
- inputs: [
1181
- {
1182
- internalType: "uint256",
1183
- name: "borrowRate",
1184
- type: "uint256",
1185
- },
1186
- {
1187
- internalType: "uint256",
1188
- name: "borrowRateMax",
1189
- type: "uint256",
1190
- },
1191
- ],
1192
- name: "SYQiTokenBorrowRateTooHigh",
1193
- type: "error",
1194
- },
1195
- {
1196
- inputs: [
1197
- {
1198
- internalType: "uint256",
1199
- name: "errCode",
1200
- type: "uint256",
1201
- },
1202
- ],
1203
- name: "SYQiTokenMintFailed",
1204
- type: "error",
1205
- },
1206
- {
1207
- inputs: [
1208
- {
1209
- internalType: "uint256",
1210
- name: "errCode",
1211
- type: "uint256",
1212
- },
1213
- ],
1214
- name: "SYQiTokenRedeemFailed",
1215
- type: "error",
1216
- },
1217
- {
1218
- inputs: [
1219
- {
1220
- internalType: "uint256",
1221
- name: "rewardAccruedType0",
1222
- type: "uint256",
1223
- },
1224
- {
1225
- internalType: "uint256",
1226
- name: "rewardAccruedType1",
1227
- type: "uint256",
1228
- },
1229
- ],
1230
- name: "SYQiTokenRedeemRewardsFailed",
1231
- type: "error",
1232
- },
1233
- {
1234
- inputs: [
1235
- {
1236
- internalType: "uint256",
1237
- name: "amountLpDesired",
1238
- type: "uint256",
1239
- },
1240
- {
1241
- internalType: "uint256",
1242
- name: "amountLpRedeemable",
1243
- type: "uint256",
1244
- },
1245
- ],
1246
- name: "SYStargateRedeemCapExceeded",
1247
- type: "error",
1248
- },
1249
- {
1250
- inputs: [],
1251
- name: "SYZeroDeposit",
1252
- type: "error",
1253
- },
1254
- {
1255
- inputs: [],
1256
- name: "SYZeroRedeem",
1257
- type: "error",
1258
- },
1259
- {
1260
- inputs: [
1261
- {
1262
- internalType: "uint32",
1263
- name: "duration",
1264
- type: "uint32",
1265
- },
1266
- {
1267
- internalType: "uint32",
1268
- name: "cardinalityRequired",
1269
- type: "uint32",
1270
- },
1271
- ],
1272
- name: "TwapDurationTooLarge",
1273
- type: "error",
1274
- },
1275
- {
1276
- inputs: [
1277
- {
1278
- internalType: "uint256",
1279
- name: "amountBondToRedeem",
1280
- type: "uint256",
1281
- },
1282
- {
1283
- internalType: "uint256",
1284
- name: "unstakeCapacity",
1285
- type: "uint256",
1286
- },
1287
- ],
1288
- name: "UnstakeCapacityTooLow",
1289
- type: "error",
1290
- },
1291
- {
1292
- inputs: [
1293
- {
1294
- internalType: "uint256",
1295
- name: "aggregatorType",
1296
- type: "uint256",
1297
- },
1298
- {
1299
- internalType: "bytes4",
1300
- name: "selector",
1301
- type: "bytes4",
1302
- },
1303
- ],
1304
- name: "UnsupportedSelector",
1305
- type: "error",
1306
- },
1307
- {
1308
- inputs: [
1309
- {
1310
- internalType: "uint256",
1311
- name: "wTime",
1312
- type: "uint256",
1313
- },
1314
- ],
1315
- name: "VCEpochNotFinalized",
1316
- type: "error",
1317
- },
1318
- {
1319
- inputs: [
1320
- {
1321
- internalType: "uint256",
1322
- name: "totalWeight",
1323
- type: "uint256",
1324
- },
1325
- {
1326
- internalType: "uint256",
1327
- name: "maxWeight",
1328
- type: "uint256",
1329
- },
1330
- ],
1331
- name: "VCExceededMaxWeight",
1332
- type: "error",
1333
- },
1334
- {
1335
- inputs: [
1336
- {
1337
- internalType: "address",
1338
- name: "pool",
1339
- type: "address",
1340
- },
1341
- ],
1342
- name: "VCInactivePool",
1343
- type: "error",
1344
- },
1345
- {
1346
- inputs: [
1347
- {
1348
- internalType: "address",
1349
- name: "pool",
1350
- type: "address",
1351
- },
1352
- ],
1353
- name: "VCPoolAlreadyActive",
1354
- type: "error",
1355
- },
1356
- {
1357
- inputs: [
1358
- {
1359
- internalType: "address",
1360
- name: "pool",
1361
- type: "address",
1362
- },
1363
- ],
1364
- name: "VCPoolAlreadyAddAndRemoved",
1365
- type: "error",
1366
- },
1367
- {
1368
- inputs: [
1369
- {
1370
- internalType: "address",
1371
- name: "user",
1372
- type: "address",
1373
- },
1374
- ],
1375
- name: "VCZeroVePendle",
1376
- type: "error",
1377
- },
1378
- {
1379
- inputs: [],
1380
- name: "VEExceededMaxLockTime",
1381
- type: "error",
1382
- },
1383
- {
1384
- inputs: [],
1385
- name: "VEInsufficientLockTime",
1386
- type: "error",
1387
- },
1388
- {
1389
- inputs: [
1390
- {
1391
- internalType: "uint256",
1392
- name: "newExpiry",
1393
- type: "uint256",
1394
- },
1395
- ],
1396
- name: "VEInvalidNewExpiry",
1397
- type: "error",
1398
- },
1399
- {
1400
- inputs: [],
1401
- name: "VENotAllowedReduceExpiry",
1402
- type: "error",
1403
- },
1404
- {
1405
- inputs: [],
1406
- name: "VEPositionNotExpired",
1407
- type: "error",
1408
- },
1409
- {
1410
- inputs: [
1411
- {
1412
- internalType: "uint256",
1413
- name: "msgTime",
1414
- type: "uint256",
1415
- },
1416
- ],
1417
- name: "VEReceiveOldSupply",
1418
- type: "error",
1419
- },
1420
- {
1421
- inputs: [],
1422
- name: "VEZeroAmountLocked",
1423
- type: "error",
1424
- },
1425
- {
1426
- inputs: [],
1427
- name: "VEZeroPosition",
1428
- type: "error",
1429
- },
1430
- {
1431
- inputs: [
1432
- {
1433
- internalType: "uint128",
1434
- name: "bias",
1435
- type: "uint128",
1436
- },
1437
- {
1438
- internalType: "uint128",
1439
- name: "slope",
1440
- type: "uint128",
1441
- },
1442
- ],
1443
- name: "VEZeroSlope",
1444
- type: "error",
1445
- },
1446
- {
1447
- inputs: [],
1448
- name: "YCExpired",
1449
- type: "error",
1450
- },
1451
- {
1452
- inputs: [
1453
- {
1454
- internalType: "uint256",
1455
- name: "interestFeeRate",
1456
- type: "uint256",
1457
- },
1458
- {
1459
- internalType: "uint256",
1460
- name: "maxInterestFeeRate",
1461
- type: "uint256",
1462
- },
1463
- ],
1464
- name: "YCFactoryInterestFeeRateTooHigh",
1465
- type: "error",
1466
- },
1467
- {
1468
- inputs: [],
1469
- name: "YCFactoryInvalidExpiry",
1470
- type: "error",
1471
- },
1472
- {
1473
- inputs: [
1474
- {
1475
- internalType: "uint256",
1476
- name: "newRewardFeeRate",
1477
- type: "uint256",
1478
- },
1479
- {
1480
- internalType: "uint256",
1481
- name: "maxRewardFeeRate",
1482
- type: "uint256",
1483
- },
1484
- ],
1485
- name: "YCFactoryRewardFeeRateTooHigh",
1486
- type: "error",
1487
- },
1488
- {
1489
- inputs: [],
1490
- name: "YCFactoryYieldContractExisted",
1491
- type: "error",
1492
- },
1493
- {
1494
- inputs: [],
1495
- name: "YCFactoryZeroExpiryDivisor",
1496
- type: "error",
1497
- },
1498
- {
1499
- inputs: [],
1500
- name: "YCFactoryZeroTreasury",
1501
- type: "error",
1502
- },
1503
- {
1504
- inputs: [],
1505
- name: "YCNoFloatingSy",
1506
- type: "error",
1507
- },
1508
- {
1509
- inputs: [],
1510
- name: "YCNotExpired",
1511
- type: "error",
1512
- },
1513
- {
1514
- inputs: [],
1515
- name: "YCNothingToRedeem",
1516
- type: "error",
1517
- },
1518
- {
1519
- inputs: [],
1520
- name: "YCPostExpiryDataNotSet",
1521
- type: "error",
1522
- },
1523
- {
1524
- inputs: [
1525
- {
1526
- internalType: "uint256",
1527
- name: "actualSy",
1528
- type: "uint256",
1529
- },
1530
- {
1531
- internalType: "uint256",
1532
- name: "requiredSy",
1533
- type: "uint256",
1534
- },
1535
- ],
1536
- name: "YieldContractInsufficientSy",
1537
- type: "error",
1538
- },
1539
- {
1540
- inputs: [],
1541
- name: "ZeroAddress",
1542
- type: "error",
1543
- },
1544
- ];
1545
-
1546
- const _bytecode =
1547
- "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200b09056fad8ed5f2d4881f17ee41e5c4ddf64bda565717d36e37c97e7d3e883964736f6c63430008110033";
1548
-
1549
- type AllErrorsDirectoryConstructorParams =
1550
- | [signer?: Signer]
1551
- | ConstructorParameters<typeof ContractFactory>;
1552
-
1553
- const isSuperArgs = (
1554
- xs: AllErrorsDirectoryConstructorParams
1555
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
1556
-
1557
- export class AllErrorsDirectory__factory extends ContractFactory {
1558
- constructor(...args: AllErrorsDirectoryConstructorParams) {
1559
- if (isSuperArgs(args)) {
1560
- super(...args);
1561
- } else {
1562
- super(_abi, _bytecode, args[0]);
1563
- }
1564
- this.contractName = "AllErrorsDirectory";
1565
- }
1566
-
1567
- deploy(
1568
- overrides?: Overrides & { from?: string | Promise<string> }
1569
- ): Promise<AllErrorsDirectory> {
1570
- return super.deploy(overrides || {}) as Promise<AllErrorsDirectory>;
1571
- }
1572
- getDeployTransaction(
1573
- overrides?: Overrides & { from?: string | Promise<string> }
1574
- ): TransactionRequest {
1575
- return super.getDeployTransaction(overrides || {});
1576
- }
1577
- attach(address: string): AllErrorsDirectory {
1578
- return super.attach(address) as AllErrorsDirectory;
1579
- }
1580
- connect(signer: Signer): AllErrorsDirectory__factory {
1581
- return super.connect(signer) as AllErrorsDirectory__factory;
1582
- }
1583
- static readonly contractName: "AllErrorsDirectory";
1584
- public readonly contractName: "AllErrorsDirectory";
1585
- static readonly bytecode = _bytecode;
1586
- static readonly abi = _abi;
1587
- static createInterface(): AllErrorsDirectoryInterface {
1588
- return new utils.Interface(_abi) as AllErrorsDirectoryInterface;
1589
- }
1590
- static connect(
1591
- address: string,
1592
- signerOrProvider: Signer | Provider
1593
- ): AllErrorsDirectory {
1594
- return new Contract(address, _abi, signerOrProvider) as AllErrorsDirectory;
1595
- }
1596
- }