@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
@@ -0,0 +1,690 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ ILongYieldDecisionHelper,
9
+ ILongYieldDecisionHelperInterface,
10
+ } from "../ILongYieldDecisionHelper";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ components: [
17
+ {
18
+ components: [
19
+ {
20
+ internalType: "uint256",
21
+ name: "lpBalance",
22
+ type: "uint256",
23
+ },
24
+ {
25
+ internalType: "uint256",
26
+ name: "ytBalance",
27
+ type: "uint256",
28
+ },
29
+ {
30
+ internalType: "uint256",
31
+ name: "ptBalance",
32
+ type: "uint256",
33
+ },
34
+ {
35
+ internalType: "uint256",
36
+ name: "syBalance",
37
+ type: "uint256",
38
+ },
39
+ {
40
+ internalType: "uint256",
41
+ name: "buyBins",
42
+ type: "uint256",
43
+ },
44
+ ],
45
+ internalType: "struct BotState",
46
+ name: "botState",
47
+ type: "tuple",
48
+ },
49
+ {
50
+ components: [
51
+ {
52
+ components: [
53
+ {
54
+ internalType: "int256",
55
+ name: "totalPt",
56
+ type: "int256",
57
+ },
58
+ {
59
+ internalType: "int256",
60
+ name: "totalSy",
61
+ type: "int256",
62
+ },
63
+ {
64
+ internalType: "int256",
65
+ name: "totalLp",
66
+ type: "int256",
67
+ },
68
+ {
69
+ internalType: "address",
70
+ name: "treasury",
71
+ type: "address",
72
+ },
73
+ {
74
+ internalType: "int256",
75
+ name: "scalarRoot",
76
+ type: "int256",
77
+ },
78
+ {
79
+ internalType: "uint256",
80
+ name: "expiry",
81
+ type: "uint256",
82
+ },
83
+ {
84
+ internalType: "uint256",
85
+ name: "lnFeeRateRoot",
86
+ type: "uint256",
87
+ },
88
+ {
89
+ internalType: "uint256",
90
+ name: "reserveFeePercent",
91
+ type: "uint256",
92
+ },
93
+ {
94
+ internalType: "uint256",
95
+ name: "lastLnImpliedRate",
96
+ type: "uint256",
97
+ },
98
+ ],
99
+ internalType: "struct MarketState",
100
+ name: "state",
101
+ type: "tuple",
102
+ },
103
+ {
104
+ internalType: "PYIndex",
105
+ name: "index",
106
+ type: "uint256",
107
+ },
108
+ {
109
+ internalType: "uint256",
110
+ name: "blockTime",
111
+ type: "uint256",
112
+ },
113
+ ],
114
+ internalType: "struct MarketExtState",
115
+ name: "marketExt",
116
+ type: "tuple",
117
+ },
118
+ {
119
+ components: [
120
+ {
121
+ internalType: "uint256",
122
+ name: "buyYtIy",
123
+ type: "uint256",
124
+ },
125
+ {
126
+ internalType: "uint256",
127
+ name: "sellYtIy",
128
+ type: "uint256",
129
+ },
130
+ {
131
+ internalType: "uint256",
132
+ name: "targetSyRatio",
133
+ type: "uint256",
134
+ },
135
+ {
136
+ internalType: "uint256",
137
+ name: "maxSyRatio",
138
+ type: "uint256",
139
+ },
140
+ {
141
+ internalType: "uint256",
142
+ name: "targetYtPtRatio",
143
+ type: "uint256",
144
+ },
145
+ {
146
+ internalType: "uint256",
147
+ name: "numOfBins",
148
+ type: "uint256",
149
+ },
150
+ ],
151
+ internalType: "struct TradingSpecs",
152
+ name: "specs",
153
+ type: "tuple",
154
+ },
155
+ ],
156
+ internalType: "struct StrategyData",
157
+ name: "strategyData",
158
+ type: "tuple",
159
+ },
160
+ ],
161
+ name: "botExtStats",
162
+ outputs: [
163
+ {
164
+ internalType: "uint256",
165
+ name: "tvlInSy",
166
+ type: "uint256",
167
+ },
168
+ {
169
+ internalType: "uint256",
170
+ name: "iy",
171
+ type: "uint256",
172
+ },
173
+ {
174
+ internalType: "uint256",
175
+ name: "currentSyRatio",
176
+ type: "uint256",
177
+ },
178
+ {
179
+ internalType: "uint256",
180
+ name: "currentYtPtRatio",
181
+ type: "uint256",
182
+ },
183
+ ],
184
+ stateMutability: "view",
185
+ type: "function",
186
+ },
187
+ {
188
+ inputs: [
189
+ {
190
+ internalType: "address",
191
+ name: "botAddress",
192
+ type: "address",
193
+ },
194
+ ],
195
+ name: "getActionDetails",
196
+ outputs: [
197
+ {
198
+ components: [
199
+ {
200
+ internalType: "enum ActionType",
201
+ name: "action",
202
+ type: "uint8",
203
+ },
204
+ {
205
+ internalType: "int256",
206
+ name: "currentBin",
207
+ type: "int256",
208
+ },
209
+ {
210
+ internalType: "uint256",
211
+ name: "targetIy",
212
+ type: "uint256",
213
+ },
214
+ {
215
+ internalType: "uint256",
216
+ name: "guessBotParams",
217
+ type: "uint256",
218
+ },
219
+ {
220
+ internalType: "uint256",
221
+ name: "guessIntParams",
222
+ type: "uint256",
223
+ },
224
+ {
225
+ internalType: "uint256",
226
+ name: "amountOut",
227
+ type: "uint256",
228
+ },
229
+ ],
230
+ internalType: "struct IBotDecisionHelper.ActionToTakeResult",
231
+ name: "res",
232
+ type: "tuple",
233
+ },
234
+ ],
235
+ stateMutability: "nonpayable",
236
+ type: "function",
237
+ },
238
+ {
239
+ inputs: [
240
+ {
241
+ internalType: "address",
242
+ name: "botAddress",
243
+ type: "address",
244
+ },
245
+ ],
246
+ name: "getAvailableZpiAmount",
247
+ outputs: [
248
+ {
249
+ internalType: "uint256",
250
+ name: "amountSyToZpi",
251
+ type: "uint256",
252
+ },
253
+ ],
254
+ stateMutability: "nonpayable",
255
+ type: "function",
256
+ },
257
+ {
258
+ inputs: [
259
+ {
260
+ components: [
261
+ {
262
+ components: [
263
+ {
264
+ internalType: "uint256",
265
+ name: "lpBalance",
266
+ type: "uint256",
267
+ },
268
+ {
269
+ internalType: "uint256",
270
+ name: "ytBalance",
271
+ type: "uint256",
272
+ },
273
+ {
274
+ internalType: "uint256",
275
+ name: "ptBalance",
276
+ type: "uint256",
277
+ },
278
+ {
279
+ internalType: "uint256",
280
+ name: "syBalance",
281
+ type: "uint256",
282
+ },
283
+ {
284
+ internalType: "uint256",
285
+ name: "buyBins",
286
+ type: "uint256",
287
+ },
288
+ ],
289
+ internalType: "struct BotState",
290
+ name: "botState",
291
+ type: "tuple",
292
+ },
293
+ {
294
+ components: [
295
+ {
296
+ components: [
297
+ {
298
+ internalType: "int256",
299
+ name: "totalPt",
300
+ type: "int256",
301
+ },
302
+ {
303
+ internalType: "int256",
304
+ name: "totalSy",
305
+ type: "int256",
306
+ },
307
+ {
308
+ internalType: "int256",
309
+ name: "totalLp",
310
+ type: "int256",
311
+ },
312
+ {
313
+ internalType: "address",
314
+ name: "treasury",
315
+ type: "address",
316
+ },
317
+ {
318
+ internalType: "int256",
319
+ name: "scalarRoot",
320
+ type: "int256",
321
+ },
322
+ {
323
+ internalType: "uint256",
324
+ name: "expiry",
325
+ type: "uint256",
326
+ },
327
+ {
328
+ internalType: "uint256",
329
+ name: "lnFeeRateRoot",
330
+ type: "uint256",
331
+ },
332
+ {
333
+ internalType: "uint256",
334
+ name: "reserveFeePercent",
335
+ type: "uint256",
336
+ },
337
+ {
338
+ internalType: "uint256",
339
+ name: "lastLnImpliedRate",
340
+ type: "uint256",
341
+ },
342
+ ],
343
+ internalType: "struct MarketState",
344
+ name: "state",
345
+ type: "tuple",
346
+ },
347
+ {
348
+ internalType: "PYIndex",
349
+ name: "index",
350
+ type: "uint256",
351
+ },
352
+ {
353
+ internalType: "uint256",
354
+ name: "blockTime",
355
+ type: "uint256",
356
+ },
357
+ ],
358
+ internalType: "struct MarketExtState",
359
+ name: "marketExt",
360
+ type: "tuple",
361
+ },
362
+ {
363
+ components: [
364
+ {
365
+ internalType: "uint256",
366
+ name: "buyYtIy",
367
+ type: "uint256",
368
+ },
369
+ {
370
+ internalType: "uint256",
371
+ name: "sellYtIy",
372
+ type: "uint256",
373
+ },
374
+ {
375
+ internalType: "uint256",
376
+ name: "targetSyRatio",
377
+ type: "uint256",
378
+ },
379
+ {
380
+ internalType: "uint256",
381
+ name: "maxSyRatio",
382
+ type: "uint256",
383
+ },
384
+ {
385
+ internalType: "uint256",
386
+ name: "targetYtPtRatio",
387
+ type: "uint256",
388
+ },
389
+ {
390
+ internalType: "uint256",
391
+ name: "numOfBins",
392
+ type: "uint256",
393
+ },
394
+ ],
395
+ internalType: "struct TradingSpecs",
396
+ name: "specs",
397
+ type: "tuple",
398
+ },
399
+ ],
400
+ internalType: "struct StrategyData",
401
+ name: "strategyData",
402
+ type: "tuple",
403
+ },
404
+ ],
405
+ name: "getCurrentBin",
406
+ outputs: [
407
+ {
408
+ internalType: "int256",
409
+ name: "",
410
+ type: "int256",
411
+ },
412
+ ],
413
+ stateMutability: "view",
414
+ type: "function",
415
+ },
416
+ {
417
+ inputs: [
418
+ {
419
+ internalType: "address",
420
+ name: "botAddress",
421
+ type: "address",
422
+ },
423
+ ],
424
+ name: "getFloatingSyAmount",
425
+ outputs: [
426
+ {
427
+ internalType: "uint256",
428
+ name: "floatingSyAmount",
429
+ type: "uint256",
430
+ },
431
+ ],
432
+ stateMutability: "nonpayable",
433
+ type: "function",
434
+ },
435
+ {
436
+ inputs: [
437
+ {
438
+ components: [
439
+ {
440
+ components: [
441
+ {
442
+ internalType: "uint256",
443
+ name: "lpBalance",
444
+ type: "uint256",
445
+ },
446
+ {
447
+ internalType: "uint256",
448
+ name: "ytBalance",
449
+ type: "uint256",
450
+ },
451
+ {
452
+ internalType: "uint256",
453
+ name: "ptBalance",
454
+ type: "uint256",
455
+ },
456
+ {
457
+ internalType: "uint256",
458
+ name: "syBalance",
459
+ type: "uint256",
460
+ },
461
+ {
462
+ internalType: "uint256",
463
+ name: "buyBins",
464
+ type: "uint256",
465
+ },
466
+ ],
467
+ internalType: "struct BotState",
468
+ name: "botState",
469
+ type: "tuple",
470
+ },
471
+ {
472
+ components: [
473
+ {
474
+ components: [
475
+ {
476
+ internalType: "int256",
477
+ name: "totalPt",
478
+ type: "int256",
479
+ },
480
+ {
481
+ internalType: "int256",
482
+ name: "totalSy",
483
+ type: "int256",
484
+ },
485
+ {
486
+ internalType: "int256",
487
+ name: "totalLp",
488
+ type: "int256",
489
+ },
490
+ {
491
+ internalType: "address",
492
+ name: "treasury",
493
+ type: "address",
494
+ },
495
+ {
496
+ internalType: "int256",
497
+ name: "scalarRoot",
498
+ type: "int256",
499
+ },
500
+ {
501
+ internalType: "uint256",
502
+ name: "expiry",
503
+ type: "uint256",
504
+ },
505
+ {
506
+ internalType: "uint256",
507
+ name: "lnFeeRateRoot",
508
+ type: "uint256",
509
+ },
510
+ {
511
+ internalType: "uint256",
512
+ name: "reserveFeePercent",
513
+ type: "uint256",
514
+ },
515
+ {
516
+ internalType: "uint256",
517
+ name: "lastLnImpliedRate",
518
+ type: "uint256",
519
+ },
520
+ ],
521
+ internalType: "struct MarketState",
522
+ name: "state",
523
+ type: "tuple",
524
+ },
525
+ {
526
+ internalType: "PYIndex",
527
+ name: "index",
528
+ type: "uint256",
529
+ },
530
+ {
531
+ internalType: "uint256",
532
+ name: "blockTime",
533
+ type: "uint256",
534
+ },
535
+ ],
536
+ internalType: "struct MarketExtState",
537
+ name: "marketExt",
538
+ type: "tuple",
539
+ },
540
+ {
541
+ components: [
542
+ {
543
+ internalType: "uint256",
544
+ name: "buyYtIy",
545
+ type: "uint256",
546
+ },
547
+ {
548
+ internalType: "uint256",
549
+ name: "sellYtIy",
550
+ type: "uint256",
551
+ },
552
+ {
553
+ internalType: "uint256",
554
+ name: "targetSyRatio",
555
+ type: "uint256",
556
+ },
557
+ {
558
+ internalType: "uint256",
559
+ name: "maxSyRatio",
560
+ type: "uint256",
561
+ },
562
+ {
563
+ internalType: "uint256",
564
+ name: "targetYtPtRatio",
565
+ type: "uint256",
566
+ },
567
+ {
568
+ internalType: "uint256",
569
+ name: "numOfBins",
570
+ type: "uint256",
571
+ },
572
+ ],
573
+ internalType: "struct TradingSpecs",
574
+ name: "specs",
575
+ type: "tuple",
576
+ },
577
+ ],
578
+ internalType: "struct StrategyData",
579
+ name: "strategyData",
580
+ type: "tuple",
581
+ },
582
+ {
583
+ internalType: "enum ActionType",
584
+ name: "action",
585
+ type: "uint8",
586
+ },
587
+ {
588
+ internalType: "uint256",
589
+ name: "targetIy",
590
+ type: "uint256",
591
+ },
592
+ {
593
+ internalType: "uint256",
594
+ name: "rebalanceAdditionalCheck",
595
+ type: "uint256",
596
+ },
597
+ {
598
+ components: [
599
+ {
600
+ internalType: "uint256",
601
+ name: "guessMin",
602
+ type: "uint256",
603
+ },
604
+ {
605
+ internalType: "uint256",
606
+ name: "guessMax",
607
+ type: "uint256",
608
+ },
609
+ {
610
+ internalType: "uint256",
611
+ name: "guessOffchain",
612
+ type: "uint256",
613
+ },
614
+ {
615
+ internalType: "uint256",
616
+ name: "maxIteration",
617
+ type: "uint256",
618
+ },
619
+ {
620
+ internalType: "uint256",
621
+ name: "eps",
622
+ type: "uint256",
623
+ },
624
+ ],
625
+ internalType: "struct ApproxParams",
626
+ name: "botParams",
627
+ type: "tuple",
628
+ },
629
+ {
630
+ components: [
631
+ {
632
+ internalType: "uint256",
633
+ name: "guessMin",
634
+ type: "uint256",
635
+ },
636
+ {
637
+ internalType: "uint256",
638
+ name: "guessMax",
639
+ type: "uint256",
640
+ },
641
+ {
642
+ internalType: "uint256",
643
+ name: "guessOffchain",
644
+ type: "uint256",
645
+ },
646
+ {
647
+ internalType: "uint256",
648
+ name: "maxIteration",
649
+ type: "uint256",
650
+ },
651
+ {
652
+ internalType: "uint256",
653
+ name: "eps",
654
+ type: "uint256",
655
+ },
656
+ ],
657
+ internalType: "struct ApproxParams",
658
+ name: "intParams",
659
+ type: "tuple",
660
+ },
661
+ ],
662
+ name: "searchForBotParam",
663
+ outputs: [
664
+ {
665
+ internalType: "uint256",
666
+ name: "",
667
+ type: "uint256",
668
+ },
669
+ ],
670
+ stateMutability: "view",
671
+ type: "function",
672
+ },
673
+ ];
674
+
675
+ export class ILongYieldDecisionHelper__factory {
676
+ static readonly abi = _abi;
677
+ static createInterface(): ILongYieldDecisionHelperInterface {
678
+ return new utils.Interface(_abi) as ILongYieldDecisionHelperInterface;
679
+ }
680
+ static connect(
681
+ address: string,
682
+ signerOrProvider: Signer | Provider
683
+ ): ILongYieldDecisionHelper {
684
+ return new Contract(
685
+ address,
686
+ _abi,
687
+ signerOrProvider
688
+ ) as ILongYieldDecisionHelper;
689
+ }
690
+ }