@pendle/core-v2 2.29.2 → 2.29.3

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 (739) 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/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  12. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  14. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.json +3 -3
  16. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  18. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
  20. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  22. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  24. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  25. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  26. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  27. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  28. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  29. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  30. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  31. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
  34. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
  36. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
  38. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  40. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/Market/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/Market/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.json +2 -2
  43. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +9 -74
  46. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  48. package/build/artifacts/contracts/core/Market/v2/PendleGaugeV2.sol/PendleGaugeV2.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/Market/v2/PendleMarketFactoryV2.sol/PendleMarketFactoryV2.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/Market/v2/PendleMarketFactoryV2.sol/PendleMarketFactoryV2.json +2 -2
  51. package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.json +9 -74
  53. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  57. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.json +0 -65
  59. package/build/artifacts/contracts/core/StandardizedYield/SYBaseUpg.sol/SYBaseUpg.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/StandardizedYield/SYBaseUpg.sol/SYBaseUpg.json +0 -49
  61. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  62. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.json +0 -65
  63. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewardsUpg.sol/SYBaseWithRewardsUpg.dbg.json +1 -1
  64. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewardsUpg.sol/SYBaseWithRewardsUpg.json +0 -49
  65. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.dbg.json +1 -1
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.json +2 -67
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -67
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.dbg.json +1 -1
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.json +2 -67
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraSwEthBbAWethSYV2.sol/AuraSwEthBbAWethSYV2.dbg.json +1 -1
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraSwEthBbAWethSYV2.sol/AuraSwEthBbAWethSYV2.json +2 -67
  75. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraWethVethSYUpg.sol/AuraWethVethSYUpg.dbg.json +1 -1
  76. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraWethVethSYUpg.sol/AuraWethVethSYUpg.json +2 -51
  77. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
  78. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.json +2 -67
  79. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
  80. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.json +2 -67
  81. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
  82. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.json +2 -67
  83. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
  84. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.json +2 -67
  85. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
  86. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.json +2 -67
  87. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.dbg.json +1 -1
  88. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.json +2 -67
  89. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +1 -1
  90. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +1 -1
  91. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewProxy.sol/ComposableStablePreviewProxy.dbg.json +1 -1
  92. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewProxy.sol/ComposableStablePreviewProxy.json +2 -2
  93. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV4.sol/ComposableStablePreviewV4.dbg.json +1 -1
  94. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV4.sol/ComposableStablePreviewV4.json +2 -2
  95. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV5.sol/ComposableStablePreviewV5.dbg.json +1 -1
  96. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV5.sol/ComposableStablePreviewV5.json +2 -2
  97. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +1 -1
  98. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAPoolHelper.dbg.json +1 -1
  99. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAWethHelper.dbg.json +1 -1
  100. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol/LinearMath.dbg.json +1 -1
  101. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.dbg.json +1 -1
  102. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.json +2 -2
  103. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
  104. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +1 -1
  105. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.json +2 -2
  106. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
  107. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.json +0 -65
  108. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV3Upg.sol/PendleAuraBalancerStableLPSYV3Upg.dbg.json +1 -1
  109. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV3Upg.sol/PendleAuraBalancerStableLPSYV3Upg.json +0 -49
  110. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
  111. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
  112. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  113. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  114. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  115. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -67
  116. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
  117. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.json +2 -2
  118. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
  119. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.json +2 -2
  120. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
  121. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.dbg.json +1 -1
  122. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.json +2 -2
  123. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
  124. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.json +2 -67
  125. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.dbg.json +1 -1
  126. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.json +2 -2
  127. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkRelayer.sol/PendleChainlinkRelayer.dbg.json +1 -1
  128. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkRelayer.sol/PendleChainlinkRelayer.json +2 -2
  129. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  130. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -67
  131. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  132. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -67
  133. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
  134. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +2 -2
  135. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  136. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +2 -2
  137. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  138. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +2 -2
  139. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  140. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.json +0 -65
  141. package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/FluxTokenLib.sol/FluxTokenLib.dbg.json +1 -1
  142. package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/PendleFluxLendingSY.sol/PendleFluxLendingSY.dbg.json +1 -1
  143. package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/PendleFluxLendingSY.sol/PendleFluxLendingSY.json +2 -67
  144. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
  145. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  146. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -67
  147. package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/HLPPricingHelper.sol/HLPPricingHelper.dbg.json +1 -1
  148. package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/HLPPricingHelper.sol/HLPPricingHelper.json +2 -2
  149. package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/PendleHlpSY.sol/PendleHlpSY.dbg.json +1 -1
  150. package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/PendleHlpSY.sol/PendleHlpSY.json +2 -67
  151. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/KyberMathHelper.sol/KyberMathHelper.dbg.json +1 -1
  152. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/KyberMathHelper.sol/KyberMathHelper.json +2 -2
  153. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/KyberNftManagerBaseUpg.sol/KyberNftManagerBaseUpg.dbg.json +1 -1
  154. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/PendleKyberElasticSYUpg.sol/PendleKyberElasticSYUpg.dbg.json +1 -1
  155. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/PendleKyberElasticSYUpg.sol/PendleKyberElasticSYUpg.json +2 -51
  156. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/FullMath.sol/FullMath.dbg.json +1 -1
  157. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/LiqDeltaMath.sol/LiqDeltaMath.dbg.json +1 -1
  158. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/LiquidityMath.sol/LiquidityMath.dbg.json +1 -1
  159. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/MathConstants.sol/MathConstants.dbg.json +1 -1
  160. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/QtyDeltaMath.sol/QtyDeltaMath.dbg.json +1 -1
  161. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/QuadMath.sol/QuadMath.dbg.json +1 -1
  162. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/ReinvestmentMath.sol/ReinvestmentMath.dbg.json +1 -1
  163. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/SafeCast.sol/SafeCast.dbg.json +1 -1
  164. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/SwapMath.sol/SwapMath.dbg.json +1 -1
  165. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/TickMath.sol/TickMath.dbg.json +1 -1
  166. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleMantleStakedEthSY.sol/PendleMantleStakedEthSY.dbg.json +1 -1
  167. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleMantleStakedEthSY.sol/PendleMantleStakedEthSY.json +2 -67
  168. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleOracleForSyProxy.sol/PendleOracleForSyProxy.dbg.json +1 -1
  169. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleOracleForSyProxy.sol/PendleOracleForSyProxy.json +2 -2
  170. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.dbg.json +1 -1
  171. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.json +2 -67
  172. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleBridgedLSDSY.sol/PendleBridgedLSDSY.dbg.json +1 -1
  173. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleBridgedLSDSY.sol/PendleBridgedLSDSY.json +2 -67
  174. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.dbg.json +1 -1
  175. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.json +2 -67
  176. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleEUSDSY.sol/PendleEUSDSY.dbg.json +1 -1
  177. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleEUSDSY.sol/PendleEUSDSY.json +2 -67
  178. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  179. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -67
  180. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  181. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -67
  182. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
  183. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.json +2 -67
  184. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
  185. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.json +2 -67
  186. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.dbg.json +1 -1
  187. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.json +2 -67
  188. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  189. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -67
  190. package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveSY.sol/PendleSiloWithIncentiveSY.dbg.json +1 -1
  191. package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveSY.sol/PendleSiloWithIncentiveSY.json +2 -67
  192. package/build/artifacts/contracts/core/StandardizedYield/implementations/Stader/PendleETHXSY.sol/PendleETHXSY.dbg.json +1 -1
  193. package/build/artifacts/contracts/core/StandardizedYield/implementations/Stader/PendleETHXSY.sol/PendleETHXSY.json +2 -67
  194. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.dbg.json +1 -1
  195. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.json +2 -67
  196. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.dbg.json +1 -1
  197. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.json +2 -67
  198. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol/ThenaLpHelper.dbg.json +1 -1
  199. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.dbg.json +1 -1
  200. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/IThenaSY.dbg.json +1 -1
  201. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.dbg.json +1 -1
  202. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.json +2 -2
  203. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  204. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  205. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -67
  206. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  207. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  208. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  209. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -67
  210. package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
  211. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
  212. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +2 -67
  213. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
  214. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
  215. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
  216. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -67
  217. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  218. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +2 -2
  219. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  220. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +2 -67
  221. package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.dbg.json +1 -1
  222. package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.json +0 -49
  223. package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.dbg.json +1 -1
  224. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  225. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  226. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +2 -2
  227. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  228. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.json +2 -2
  229. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  230. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  231. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +2 -2
  232. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  233. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  234. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  235. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  236. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  237. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  238. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  239. package/build/artifacts/contracts/interfaces/Ankr/IAnkrBNB.sol/IAnkrBNB.dbg.json +1 -1
  240. package/build/artifacts/contracts/interfaces/Ankr/IAnkrLiquidStaking.sol/IAnkrLiquidStaking.dbg.json +1 -1
  241. package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +1 -1
  242. package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +1 -1
  243. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
  244. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
  245. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
  246. package/build/artifacts/contracts/interfaces/Balancer/IERC4626LinearPool.sol/IERC4626LinearPool.dbg.json +1 -1
  247. package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +1 -1
  248. package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +1 -1
  249. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
  250. package/build/artifacts/contracts/interfaces/Balancer/IPComposableStablePreview.sol/IPComposableStablePreview.dbg.json +1 -1
  251. package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +1 -1
  252. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
  253. package/build/artifacts/contracts/interfaces/Balancer/IVersion.sol/IVersion.dbg.json +1 -1
  254. package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.dbg.json +1 -1
  255. package/build/artifacts/contracts/interfaces/Camelot/ICamelotFactory.sol/ICamelotFactory.dbg.json +1 -1
  256. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTFactory.sol/ICamelotNFTFactory.dbg.json +1 -1
  257. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTHandler.sol/ICamelotNFTHandler.dbg.json +1 -1
  258. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
  259. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.json +1 -1
  260. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +1 -1
  261. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.json +1 -1
  262. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.dbg.json +1 -1
  263. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +1 -1
  264. package/build/artifacts/contracts/interfaces/Camelot/ICamelotRouter.sol/ICamelotRouter.dbg.json +1 -1
  265. package/build/artifacts/contracts/interfaces/Camelot/ICamelotYieldBooster.sol/ICamelotYieldBooster.dbg.json +1 -1
  266. package/build/artifacts/contracts/interfaces/Camelot/IXGrail.sol/IXGrail.dbg.json +1 -1
  267. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  268. package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
  269. package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +1 -1
  270. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
  271. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  272. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
  273. package/build/artifacts/contracts/interfaces/Flux/IFluxErc20.sol/IFluxErc20.dbg.json +1 -1
  274. package/build/artifacts/contracts/interfaces/Flux/IFluxInterestRateModel.sol/IFluxInterestRateModel.dbg.json +1 -1
  275. package/build/artifacts/contracts/interfaces/Frax/IFrxEthMinter.sol/IFrxEthMinter.dbg.json +1 -1
  276. package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +1 -1
  277. package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +1 -1
  278. package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +1 -1
  279. package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +1 -1
  280. package/build/artifacts/contracts/interfaces/HMX/IHLPStaking.sol/IHLPStaking.dbg.json +1 -1
  281. package/build/artifacts/contracts/interfaces/HMX/IHMXCalculator.sol/IHMXCalculator.dbg.json +1 -1
  282. package/build/artifacts/contracts/interfaces/HMX/IHMXCompounder.sol/IHMXCompounder.dbg.json +1 -1
  283. package/build/artifacts/contracts/interfaces/HMX/IHMXStaking.sol/IHMXStaking.dbg.json +1 -1
  284. package/build/artifacts/contracts/interfaces/HMX/IHMXVester.sol/IHMXVester.dbg.json +1 -1
  285. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  286. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
  287. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  288. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  289. package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +1 -1
  290. package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +1 -1
  291. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  292. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  293. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  294. package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
  295. package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
  296. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  297. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  298. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  299. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  300. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  301. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  302. package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
  303. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  304. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  305. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  306. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  307. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  308. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  309. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
  310. package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +1 -1
  311. package/build/artifacts/contracts/interfaces/IPExternalRewardDistributor.sol/IPExternalRewardDistributor.dbg.json +1 -1
  312. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  313. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  314. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  315. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  316. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  317. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  318. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  319. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  320. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  321. package/build/artifacts/contracts/interfaces/IPMarketFactoryV2.sol/IPMarketFactoryV2.dbg.json +1 -1
  322. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  323. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  324. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.json +2 -2
  325. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  326. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  327. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  328. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  329. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  330. package/build/artifacts/contracts/interfaces/IPPtOracle.sol/IPPtOracle.dbg.json +1 -1
  331. package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
  332. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  333. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  334. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  335. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  336. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  337. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  338. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  339. package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.dbg.json +1 -1
  340. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  341. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  342. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  343. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  344. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  345. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  346. package/build/artifacts/contracts/interfaces/IStargateLP.sol/IStargateLP.dbg.json +1 -1
  347. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
  348. package/build/artifacts/contracts/interfaces/IStargateStaking.sol/IStargateStaking.dbg.json +1 -1
  349. package/build/artifacts/contracts/interfaces/ISwETH.sol/ISwETH.dbg.json +1 -1
  350. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  351. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  352. package/build/artifacts/contracts/interfaces/Kyber/IKyberElasticFactory.sol/IKyberElasticFactory.dbg.json +1 -1
  353. package/build/artifacts/contracts/interfaces/Kyber/IKyberElasticPool.sol/IKyberElasticPool.dbg.json +1 -1
  354. package/build/artifacts/contracts/interfaces/Kyber/IKyberElasticRouter.sol/IKyberElasticRouter.dbg.json +1 -1
  355. package/build/artifacts/contracts/interfaces/Kyber/IKyberLiquidityMining.sol/IKyberLiquidityMining.dbg.json +1 -1
  356. package/build/artifacts/contracts/interfaces/Kyber/IKyberMathHelper.sol/IKyberMathHelper.dbg.json +1 -1
  357. package/build/artifacts/contracts/interfaces/Kyber/IKyberPositionManager.sol/IKyberPositionManager.dbg.json +1 -1
  358. package/build/artifacts/contracts/interfaces/Lybra/IEUSD.sol/IEUSD.dbg.json +1 -1
  359. package/build/artifacts/contracts/interfaces/Silo/ISilo.sol/ISilo.dbg.json +1 -1
  360. package/build/artifacts/contracts/interfaces/Silo/ISiloIncentiveController.sol/ISiloIncentiveController.dbg.json +1 -1
  361. package/build/artifacts/contracts/interfaces/Silo/ISiloLens.sol/ISiloLens.dbg.json +1 -1
  362. package/build/artifacts/contracts/interfaces/Stader/IStaderStakeManager.sol/IStaderStakeManager.dbg.json +1 -1
  363. package/build/artifacts/contracts/interfaces/Thena/IThenaFactory.sol/IThenaFactory.dbg.json +1 -1
  364. package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.dbg.json +1 -1
  365. package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.dbg.json +1 -1
  366. package/build/artifacts/contracts/interfaces/Thena/IThenaRouter.sol/IThenaRouter.dbg.json +1 -1
  367. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  368. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.json +2 -2
  369. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  370. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  371. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  372. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  373. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  374. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +2 -2
  375. package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  376. package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  377. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  378. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  379. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  380. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
  381. package/build/artifacts/contracts/offchain-helpers/ChainlinkRelayerAutomation.sol/ChainlinkRelayerAutomation.dbg.json +1 -1
  382. package/build/artifacts/contracts/offchain-helpers/ChainlinkRelayerAutomation.sol/ChainlinkRelayerAutomation.json +2 -2
  383. package/build/artifacts/contracts/offchain-helpers/ChainlinkRelayerGelato.sol/ChainlinkRelayerGelato.dbg.json +1 -1
  384. package/build/artifacts/contracts/offchain-helpers/ChainlinkRelayerGelato.sol/ChainlinkRelayerGelato.json +2 -2
  385. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  386. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.json +2 -2
  387. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  388. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  389. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
  390. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.json +2 -2
  391. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  392. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  393. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  394. package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.dbg.json +1 -1
  395. package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.json +2 -2
  396. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  397. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  398. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  399. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  400. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  401. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  402. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  403. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  404. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  405. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  406. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  407. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  408. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  409. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  410. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  411. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  412. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  413. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  414. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
  415. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.json +2 -2
  416. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
  417. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.json +2 -2
  418. package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +1 -1
  419. package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.json +2 -2
  420. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
  421. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.json +2 -2
  422. package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.dbg.json +1 -1
  423. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  424. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
  425. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  426. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
  427. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  428. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
  429. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  430. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  431. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  432. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  433. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  434. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  435. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  436. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +2 -2
  437. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  438. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  439. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  440. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  441. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  442. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  443. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  444. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  445. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  446. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  447. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  448. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
  449. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  450. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol/KyberInputScalingHelper.dbg.json +1 -1
  451. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
  452. package/build/artifacts/contracts/router/swap-aggregator/oneinch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +1 -1
  453. package/build/artifacts/contracts/router/swap-aggregator/oneinch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
  454. package/deployments/42161-core.json +2 -1
  455. package/deployments/core.ts +29 -0
  456. package/deployments/index.ts +4 -0
  457. package/deployments/markets/ape-june-29-2023.ts +3 -0
  458. package/deployments/markets/balancer-reth-dec-28-2023.ts +3 -0
  459. package/deployments/markets/balancer-wsteth-jun-27-2024.ts +3 -0
  460. package/deployments/markets/curve-fraxusdc-march-30-2023.ts +3 -0
  461. package/deployments/markets/index.ts +17 -0
  462. package/deployments/markets/looks-march-30-2023.ts +3 -0
  463. package/deployments/markets/steth-june-29-2023.ts +3 -0
  464. package/deployments/markets/steth-march-30-2023.ts +3 -0
  465. package/deployments/markets/types.ts +9 -0
  466. package/deployments/misc.ts +23 -0
  467. package/package.json +1 -1
  468. package/typechain-types/AuraEthxBbAWethSY.ts +0 -65
  469. package/typechain-types/AuraSwEthBbAWethSYV2.ts +0 -65
  470. package/typechain-types/AuraWethVethSYUpg.ts +0 -65
  471. package/typechain-types/BotDecisionHelperBase.ts +508 -0
  472. package/typechain-types/EIP712Upgradeable.ts +7 -83
  473. package/typechain-types/ERC20Permit.ts +0 -65
  474. package/typechain-types/IBotDecisionHelper.ts +476 -0
  475. package/typechain-types/ICamelotNFTPool.ts +5 -5
  476. package/typechain-types/ICamelotNitroPool.ts +5 -5
  477. package/typechain-types/IERC721.ts +5 -5
  478. package/typechain-types/IHashflow.ts +159 -0
  479. package/typechain-types/IInterestUSTP.ts +156 -0
  480. package/typechain-types/ILongYieldDecisionHelper.ts +512 -0
  481. package/typechain-types/ILongYieldTradingBot.ts +703 -0
  482. package/typechain-types/IMUXRewardRouter.ts +1599 -0
  483. package/typechain-types/IPMerkleDistributor.ts +18 -12
  484. package/typechain-types/{IDaiLikePermit.ts → IPOffchainStorage.ts} +46 -63
  485. package/typechain-types/{ShortStrings.ts → IPPriceFeed.ts} +36 -12
  486. package/typechain-types/IRebasingUSTP.ts +133 -0
  487. package/typechain-types/IShortYieldDecisionHelper.ts +476 -0
  488. package/typechain-types/IShortYieldTradingBot.ts +574 -0
  489. package/typechain-types/{IERC1271.ts → IStellaLendingPool.ts} +14 -34
  490. package/typechain-types/{SimulateHelper.ts → IStellaLendingProxy.ts} +50 -52
  491. package/typechain-types/ITradingBotBase.ts +373 -0
  492. package/typechain-types/IUSTP.ts +127 -0
  493. package/typechain-types/KyberNftManagerBase.ts +364 -0
  494. package/typechain-types/{AllErrorsDirectory.ts → LongYieldActionLib.ts} +5 -5
  495. package/typechain-types/LongYieldDecisionHelper.ts +682 -0
  496. package/typechain-types/LongYieldTradingBot.ts +2299 -0
  497. package/typechain-types/MarketExtLib.ts +81 -0
  498. package/typechain-types/MlpPricingHelper.ts +384 -0
  499. package/typechain-types/PendleAnkrBNBSY.ts +0 -65
  500. package/typechain-types/PendleArbitrumStakedEthSY.ts +0 -65
  501. package/typechain-types/PendleAuraBalancerStableLPSYV2.ts +0 -65
  502. package/typechain-types/PendleAuraBalancerStableLPSYV3Upg.ts +0 -65
  503. package/typechain-types/PendleAuraBbAWethSwethSY.ts +0 -65
  504. package/typechain-types/PendleAuraWethAnkrethSYV2.ts +0 -65
  505. package/typechain-types/PendleAuraWethRocketEthSYV2.ts +0 -65
  506. package/typechain-types/PendleAuraWethStafiEthSY.ts +0 -65
  507. package/typechain-types/PendleAuraWethVethSY.ts +0 -65
  508. package/typechain-types/PendleAuraWethWstethSYV2.ts +0 -65
  509. package/typechain-types/PendleAuraWstethAnkreth.ts +0 -65
  510. package/typechain-types/PendleBridgedLSDSY.ts +0 -65
  511. package/typechain-types/PendleCamelotV1VolatileSY.ts +0 -65
  512. package/typechain-types/PendleConvexLPSY.ts +0 -65
  513. package/typechain-types/PendleCurveFraxUsdcSY.ts +0 -65
  514. package/typechain-types/PendleCurveUsdd3CrvSY.ts +0 -65
  515. package/typechain-types/PendleERC20Permit.ts +0 -65
  516. package/typechain-types/PendleERC20PermitUpg.ts +0 -65
  517. package/typechain-types/PendleERC4626SY.ts +0 -65
  518. package/typechain-types/PendleETHXSY.ts +0 -65
  519. package/typechain-types/PendleEUSDSY.ts +0 -65
  520. package/typechain-types/PendleFluxLendingSY.ts +0 -65
  521. package/typechain-types/PendleGDaiSY.ts +0 -65
  522. package/typechain-types/PendleGlpSY.ts +0 -65
  523. package/typechain-types/PendleHlpSY.ts +0 -65
  524. package/typechain-types/PendleHyperStellaETH.ts +1248 -0
  525. package/typechain-types/PendleIUSTPSY.ts +1255 -0
  526. package/typechain-types/PendleKyberElasticSY.ts +264 -44
  527. package/typechain-types/PendleKyberElasticSYUpg.ts +0 -65
  528. package/typechain-types/PendleLooksStakingSY.ts +0 -65
  529. package/typechain-types/PendleMantleStakedEthSY.ts +0 -65
  530. package/typechain-types/PendleMarket.ts +0 -65
  531. package/typechain-types/PendleMarketV2.ts +0 -65
  532. package/typechain-types/PendleMerkleDistributor.ts +13 -7
  533. package/typechain-types/PendleMlpSY.ts +1522 -0
  534. package/typechain-types/PendleOffchainStorage.ts +651 -0
  535. package/typechain-types/PendlePrincipalToken.ts +0 -65
  536. package/typechain-types/PendlePrincipalTokenV2.ts +0 -65
  537. package/typechain-types/PendleQiTokenSY.ts +0 -65
  538. package/typechain-types/PendleSfrxEthSY.ts +0 -65
  539. package/typechain-types/PendleSiloWithIncentiveSY.ts +0 -65
  540. package/typechain-types/PendleStargateLPSY.ts +0 -65
  541. package/typechain-types/PendleStellaHyperETH.ts +1235 -0
  542. package/typechain-types/PendleThenaSY.ts +0 -65
  543. package/typechain-types/PendleWbEthSY.ts +0 -65
  544. package/typechain-types/PendleWstEthSY.ts +0 -65
  545. package/typechain-types/PendleYieldToken.ts +0 -65
  546. package/typechain-types/PendleYieldTokenV2.ts +0 -65
  547. package/typechain-types/SAPE.ts +0 -65
  548. package/typechain-types/SYBase.ts +0 -65
  549. package/typechain-types/SYBaseUpg.ts +0 -65
  550. package/typechain-types/SYBaseWithDecimals.ts +1205 -0
  551. package/typechain-types/SYBaseWithRewards.ts +0 -65
  552. package/typechain-types/SYBaseWithRewardsUpg.ts +0 -65
  553. package/typechain-types/SwETHSY.ts +0 -65
  554. package/typechain-types/TradingBotBase.ts +1861 -0
  555. package/typechain-types/TvlLib.ts +215 -0
  556. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
  557. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  558. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  559. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  560. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  561. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  562. package/typechain-types/factories/ActionMisc__factory.ts +1 -1
  563. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  564. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  565. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
  566. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  567. package/typechain-types/factories/AddressProvider__factory.ts +1 -1
  568. package/typechain-types/factories/AuraEthxBbAWethSY__factory.ts +1 -66
  569. package/typechain-types/factories/AuraSwEthBbAWethSYV2__factory.ts +1 -66
  570. package/typechain-types/factories/AuraWethVethSYUpg__factory.ts +1 -50
  571. package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +1 -1
  572. package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
  573. package/typechain-types/factories/BotDecisionHelperBase__factory.ts +835 -0
  574. package/typechain-types/factories/Broadcaster__factory.ts +1 -1
  575. package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
  576. package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
  577. package/typechain-types/factories/BulkSeller__factory.ts +1 -1
  578. package/typechain-types/factories/CamelotRewardHelper__factory.ts +1 -1
  579. package/typechain-types/factories/CamelotV1VolatilePreview__factory.ts +1 -1
  580. package/typechain-types/factories/ChainlinkRelayerAutomation__factory.ts +1 -1
  581. package/typechain-types/factories/ChainlinkRelayerGelato__factory.ts +1 -1
  582. package/typechain-types/factories/ComposableStablePreviewProxy__factory.ts +1 -1
  583. package/typechain-types/factories/ComposableStablePreviewV4__factory.ts +1 -1
  584. package/typechain-types/factories/ComposableStablePreviewV5__factory.ts +1 -1
  585. package/typechain-types/factories/EIP712Upgradeable__factory.ts +0 -49
  586. package/typechain-types/factories/ERC20Permit__factory.ts +0 -65
  587. package/typechain-types/factories/ERC20__factory.ts +1 -1
  588. package/typechain-types/factories/EmptyUUPS__factory.ts +1 -1
  589. package/typechain-types/factories/HLPPricingHelper__factory.ts +1 -1
  590. package/typechain-types/factories/IBotDecisionHelper__factory.ts +694 -0
  591. package/typechain-types/factories/ICamelotNFTPool__factory.ts +1 -1
  592. package/typechain-types/factories/ICamelotNitroPool__factory.ts +1 -1
  593. package/typechain-types/factories/IERC721__factory.ts +1 -1
  594. package/typechain-types/factories/IHashflow__factory.ts +113 -0
  595. package/typechain-types/factories/IInterestUSTP__factory.ts +75 -0
  596. package/typechain-types/factories/ILongYieldDecisionHelper__factory.ts +717 -0
  597. package/typechain-types/factories/ILongYieldTradingBot__factory.ts +764 -0
  598. package/typechain-types/factories/IMUXRewardRouter__factory.ts +885 -0
  599. package/typechain-types/factories/IPMerkleDistributor__factory.ts +2 -2
  600. package/typechain-types/factories/IPOffchainStorage__factory.ts +63 -0
  601. package/typechain-types/factories/IPPriceFeed__factory.ts +36 -0
  602. package/typechain-types/factories/IRebasingUSTP__factory.ts +49 -0
  603. package/typechain-types/factories/IShortYieldDecisionHelper__factory.ts +698 -0
  604. package/typechain-types/factories/IShortYieldTradingBot__factory.ts +813 -0
  605. package/typechain-types/factories/IStellaLendingPool__factory.ts +39 -0
  606. package/typechain-types/factories/IStellaLendingProxy__factory.ts +74 -0
  607. package/typechain-types/factories/ITradingBotBase__factory.ts +366 -0
  608. package/typechain-types/factories/IUSTP__factory.ts +46 -0
  609. package/typechain-types/factories/KyberMathHelper__factory.ts +1 -1
  610. package/typechain-types/factories/KyberNftManagerBase__factory.ts +279 -0
  611. package/typechain-types/factories/LinearPreview__factory.ts +1 -1
  612. package/typechain-types/factories/LongYieldActionLib__factory.ts +207 -0
  613. package/typechain-types/factories/LongYieldDecisionHelper__factory.ts +1481 -0
  614. package/typechain-types/factories/LongYieldTradingBot__factory.ts +2159 -0
  615. package/typechain-types/factories/MarketExtLib__factory.ts +74 -0
  616. package/typechain-types/factories/MetaStablePreview__factory.ts +1 -1
  617. package/typechain-types/factories/MlpPricingHelper__factory.ts +290 -0
  618. package/typechain-types/factories/PendleAnkrBNBSY__factory.ts +1 -66
  619. package/typechain-types/factories/PendleArbitrumStakedEthSY__factory.ts +1 -66
  620. package/typechain-types/factories/PendleAuraBalancerStableLPSYV2__factory.ts +0 -65
  621. package/typechain-types/factories/PendleAuraBalancerStableLPSYV3Upg__factory.ts +0 -49
  622. package/typechain-types/factories/PendleAuraBbAWethSwethSY__factory.ts +1 -66
  623. package/typechain-types/factories/PendleAuraWethAnkrethSYV2__factory.ts +1 -66
  624. package/typechain-types/factories/PendleAuraWethRocketEthSYV2__factory.ts +1 -66
  625. package/typechain-types/factories/PendleAuraWethStafiEthSY__factory.ts +1 -66
  626. package/typechain-types/factories/PendleAuraWethVethSY__factory.ts +1 -66
  627. package/typechain-types/factories/PendleAuraWethWstethSYV2__factory.ts +1 -66
  628. package/typechain-types/factories/PendleAuraWstethAnkreth__factory.ts +1 -66
  629. package/typechain-types/factories/PendleBridgedLSDSY__factory.ts +1 -66
  630. package/typechain-types/factories/PendleCamelotV1VolatileSY__factory.ts +1 -66
  631. package/typechain-types/factories/PendleChainlinkReceiver__factory.ts +1 -1
  632. package/typechain-types/factories/PendleChainlinkRelayer__factory.ts +1 -1
  633. package/typechain-types/factories/PendleConvexLPSY__factory.ts +0 -65
  634. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -66
  635. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -66
  636. package/typechain-types/factories/PendleERC20PermitUpg__factory.ts +0 -49
  637. package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -66
  638. package/typechain-types/factories/PendleERC20__factory.ts +1 -1
  639. package/typechain-types/factories/PendleERC4626SY__factory.ts +1 -66
  640. package/typechain-types/factories/PendleETHXSY__factory.ts +1 -66
  641. package/typechain-types/factories/PendleEUSDSY__factory.ts +1 -66
  642. package/typechain-types/factories/PendleExternalRewardDistributor__factory.ts +1 -1
  643. package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
  644. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  645. package/typechain-types/factories/PendleFluxLendingSY__factory.ts +1 -66
  646. package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -66
  647. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  648. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  649. package/typechain-types/factories/PendleGlpSY__factory.ts +1 -66
  650. package/typechain-types/factories/PendleHlpSY__factory.ts +1 -66
  651. package/typechain-types/factories/PendleHyperStellaETH__factory.ts +1060 -0
  652. package/typechain-types/factories/PendleIUSTPSY__factory.ts +1061 -0
  653. package/typechain-types/factories/PendleKyberElasticSYUpg__factory.ts +1 -50
  654. package/typechain-types/factories/PendleKyberElasticSY__factory.ts +231 -28
  655. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -66
  656. package/typechain-types/factories/PendleLpGlpOracle__factory.ts +1 -1
  657. package/typechain-types/factories/PendleMantleStakedEthSY__factory.ts +1 -66
  658. package/typechain-types/factories/PendleMarketFactoryV2__factory.ts +1 -1
  659. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  660. package/typechain-types/factories/PendleMarketV2__factory.ts +1 -66
  661. package/typechain-types/factories/PendleMarket__factory.ts +1 -66
  662. package/typechain-types/factories/PendleMerkleDistributor__factory.ts +2 -2
  663. package/typechain-types/factories/PendleMlpSY__factory.ts +1230 -0
  664. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  665. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  666. package/typechain-types/factories/PendleOffchainStorage__factory.ts +468 -0
  667. package/typechain-types/factories/PendleOracleForSyProxy__factory.ts +1 -1
  668. package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +1 -66
  669. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -66
  670. package/typechain-types/factories/PendlePtGlpOracle__factory.ts +1 -1
  671. package/typechain-types/factories/PendlePtOracle__factory.ts +1 -1
  672. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  673. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -66
  674. package/typechain-types/factories/PendleRouterHelper__factory.ts +1 -1
  675. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  676. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  677. package/typechain-types/factories/PendleSfrxEthSY__factory.ts +1 -66
  678. package/typechain-types/factories/PendleSiloWithIncentiveSY__factory.ts +1 -66
  679. package/typechain-types/factories/PendleStargateLPSY__factory.ts +1 -66
  680. package/typechain-types/factories/PendleStellaHyperETH__factory.ts +1034 -0
  681. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  682. package/typechain-types/factories/PendleThenaSY__factory.ts +1 -66
  683. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  684. package/typechain-types/factories/PendleWbEthSY__factory.ts +1 -66
  685. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -66
  686. package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
  687. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  688. package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -66
  689. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -66
  690. package/typechain-types/factories/PtAndLpToAsset__factory.ts +1 -1
  691. package/typechain-types/factories/SAPE__factory.ts +1 -66
  692. package/typechain-types/factories/SYBaseUpg__factory.ts +0 -49
  693. package/typechain-types/factories/SYBaseWithDecimals__factory.ts +942 -0
  694. package/typechain-types/factories/SYBaseWithRewardsUpg__factory.ts +0 -49
  695. package/typechain-types/factories/SYBaseWithRewards__factory.ts +0 -65
  696. package/typechain-types/factories/SYBase__factory.ts +0 -65
  697. package/typechain-types/factories/SwETHSY__factory.ts +1 -66
  698. package/typechain-types/factories/ThenaPreview__factory.ts +1 -1
  699. package/typechain-types/factories/TradingBotBase__factory.ts +1663 -0
  700. package/typechain-types/factories/TvlLib__factory.ts +309 -0
  701. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  702. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  703. package/typechain-types/hardhat.d.ts +8 -161
  704. package/typechain-types/index.ts +2 -36
  705. package/build/artifacts/contracts/router/PendleRouterHelper2.sol/PendleRouterHelper2.dbg.json +0 -4
  706. package/build/artifacts/contracts/router/PendleRouterHelper2.sol/PendleRouterHelper2.json +0 -145
  707. package/typechain-types/ActionLimitOrdersStatic.ts +0 -262
  708. package/typechain-types/EIP712.ts +0 -135
  709. package/typechain-types/IERC1967.ts +0 -97
  710. package/typechain-types/IERC5267.ts +0 -135
  711. package/typechain-types/IERC5267Upgradeable.ts +0 -135
  712. package/typechain-types/ILimitOrderCallee.ts +0 -179
  713. package/typechain-types/IPLimitRouter.ts +0 -532
  714. package/typechain-types/IPOrderMixin.ts +0 -349
  715. package/typechain-types/NonceManager.ts +0 -209
  716. package/typechain-types/PendleLimitRouter.ts +0 -936
  717. package/typechain-types/PendleOrderMixin.ts +0 -753
  718. package/typechain-types/PendleRouterHelper2.ts +0 -185
  719. package/typechain-types/PredicateHelper.ts +0 -298
  720. package/typechain-types/RouterV2InterfaceForRouterHelper.ts +0 -479
  721. package/typechain-types/factories/ActionLimitOrdersStatic__factory.ts +0 -499
  722. package/typechain-types/factories/AllErrorsDirectory__factory.ts +0 -1596
  723. package/typechain-types/factories/EIP712__factory.ts +0 -85
  724. package/typechain-types/factories/IDaiLikePermit__factory.ts +0 -74
  725. package/typechain-types/factories/IERC1271__factory.ts +0 -47
  726. package/typechain-types/factories/IERC1967__factory.ts +0 -68
  727. package/typechain-types/factories/IERC5267Upgradeable__factory.ts +0 -75
  728. package/typechain-types/factories/IERC5267__factory.ts +0 -72
  729. package/typechain-types/factories/ILimitOrderCallee__factory.ts +0 -92
  730. package/typechain-types/factories/IPLimitRouter__factory.ts +0 -670
  731. package/typechain-types/factories/IPOrderMixin__factory.ts +0 -450
  732. package/typechain-types/factories/NonceManager__factory.ts +0 -149
  733. package/typechain-types/factories/PendleLimitRouter__factory.ts +0 -992
  734. package/typechain-types/factories/PendleOrderMixin__factory.ts +0 -718
  735. package/typechain-types/factories/PendleRouterHelper2__factory.ts +0 -206
  736. package/typechain-types/factories/PredicateHelper__factory.ts +0 -218
  737. package/typechain-types/factories/RouterV2InterfaceForRouterHelper__factory.ts +0 -487
  738. package/typechain-types/factories/ShortStrings__factory.ts +0 -77
  739. package/typechain-types/factories/SimulateHelper__factory.ts +0 -84
@@ -0,0 +1,835 @@
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
+ BotDecisionHelperBase,
9
+ BotDecisionHelperBaseInterface,
10
+ } from "../BotDecisionHelperBase";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [],
15
+ name: "BotBinarySearchFail",
16
+ type: "error",
17
+ },
18
+ {
19
+ inputs: [
20
+ {
21
+ internalType: "uint256",
22
+ name: "action",
23
+ type: "uint256",
24
+ },
25
+ {
26
+ internalType: "uint256",
27
+ name: "guessMin",
28
+ type: "uint256",
29
+ },
30
+ {
31
+ internalType: "uint256",
32
+ name: "guessMax",
33
+ type: "uint256",
34
+ },
35
+ ],
36
+ name: "BotBinarySearchInvalidRange",
37
+ type: "error",
38
+ },
39
+ {
40
+ inputs: [
41
+ {
42
+ internalType: "int256",
43
+ name: "exchangeRate",
44
+ type: "int256",
45
+ },
46
+ ],
47
+ name: "MarketExchangeRateBelowOne",
48
+ type: "error",
49
+ },
50
+ {
51
+ inputs: [],
52
+ name: "MarketExpired",
53
+ type: "error",
54
+ },
55
+ {
56
+ inputs: [
57
+ {
58
+ internalType: "int256",
59
+ name: "currentAmount",
60
+ type: "int256",
61
+ },
62
+ {
63
+ internalType: "int256",
64
+ name: "requiredAmount",
65
+ type: "int256",
66
+ },
67
+ ],
68
+ name: "MarketInsufficientPtForTrade",
69
+ type: "error",
70
+ },
71
+ {
72
+ inputs: [],
73
+ name: "MarketProportionMustNotEqualOne",
74
+ type: "error",
75
+ },
76
+ {
77
+ inputs: [
78
+ {
79
+ internalType: "int256",
80
+ name: "proportion",
81
+ type: "int256",
82
+ },
83
+ {
84
+ internalType: "int256",
85
+ name: "maxProportion",
86
+ type: "int256",
87
+ },
88
+ ],
89
+ name: "MarketProportionTooHigh",
90
+ type: "error",
91
+ },
92
+ {
93
+ inputs: [
94
+ {
95
+ internalType: "int256",
96
+ name: "rateScalar",
97
+ type: "int256",
98
+ },
99
+ ],
100
+ name: "MarketRateScalarBelowZero",
101
+ type: "error",
102
+ },
103
+ {
104
+ inputs: [],
105
+ name: "MarketZeroLnImpliedRate",
106
+ type: "error",
107
+ },
108
+ {
109
+ inputs: [
110
+ {
111
+ internalType: "int256",
112
+ name: "totalPt",
113
+ type: "int256",
114
+ },
115
+ {
116
+ internalType: "int256",
117
+ name: "totalAsset",
118
+ type: "int256",
119
+ },
120
+ ],
121
+ name: "MarketZeroTotalPtOrTotalAsset",
122
+ type: "error",
123
+ },
124
+ {
125
+ inputs: [],
126
+ name: "INF",
127
+ outputs: [
128
+ {
129
+ internalType: "uint256",
130
+ name: "",
131
+ type: "uint256",
132
+ },
133
+ ],
134
+ stateMutability: "view",
135
+ type: "function",
136
+ },
137
+ {
138
+ inputs: [],
139
+ name: "MINIMAL_EPS",
140
+ outputs: [
141
+ {
142
+ internalType: "uint256",
143
+ name: "",
144
+ type: "uint256",
145
+ },
146
+ ],
147
+ stateMutability: "view",
148
+ type: "function",
149
+ },
150
+ {
151
+ inputs: [
152
+ {
153
+ internalType: "address",
154
+ name: "botAddress",
155
+ type: "address",
156
+ },
157
+ ],
158
+ name: "getBotPosition",
159
+ outputs: [
160
+ {
161
+ components: [
162
+ {
163
+ components: [
164
+ {
165
+ internalType: "uint256",
166
+ name: "lpBalance",
167
+ type: "uint256",
168
+ },
169
+ {
170
+ internalType: "uint256",
171
+ name: "ytBalance",
172
+ type: "uint256",
173
+ },
174
+ {
175
+ internalType: "uint256",
176
+ name: "ptBalance",
177
+ type: "uint256",
178
+ },
179
+ {
180
+ internalType: "uint256",
181
+ name: "syBalance",
182
+ type: "uint256",
183
+ },
184
+ {
185
+ internalType: "uint256",
186
+ name: "buyBins",
187
+ type: "uint256",
188
+ },
189
+ ],
190
+ internalType: "struct BotState",
191
+ name: "botState",
192
+ type: "tuple",
193
+ },
194
+ {
195
+ components: [
196
+ {
197
+ components: [
198
+ {
199
+ internalType: "int256",
200
+ name: "totalPt",
201
+ type: "int256",
202
+ },
203
+ {
204
+ internalType: "int256",
205
+ name: "totalSy",
206
+ type: "int256",
207
+ },
208
+ {
209
+ internalType: "int256",
210
+ name: "totalLp",
211
+ type: "int256",
212
+ },
213
+ {
214
+ internalType: "address",
215
+ name: "treasury",
216
+ type: "address",
217
+ },
218
+ {
219
+ internalType: "int256",
220
+ name: "scalarRoot",
221
+ type: "int256",
222
+ },
223
+ {
224
+ internalType: "uint256",
225
+ name: "expiry",
226
+ type: "uint256",
227
+ },
228
+ {
229
+ internalType: "uint256",
230
+ name: "lnFeeRateRoot",
231
+ type: "uint256",
232
+ },
233
+ {
234
+ internalType: "uint256",
235
+ name: "reserveFeePercent",
236
+ type: "uint256",
237
+ },
238
+ {
239
+ internalType: "uint256",
240
+ name: "lastLnImpliedRate",
241
+ type: "uint256",
242
+ },
243
+ ],
244
+ internalType: "struct MarketState",
245
+ name: "state",
246
+ type: "tuple",
247
+ },
248
+ {
249
+ internalType: "PYIndex",
250
+ name: "index",
251
+ type: "uint256",
252
+ },
253
+ {
254
+ internalType: "uint256",
255
+ name: "blockTime",
256
+ type: "uint256",
257
+ },
258
+ ],
259
+ internalType: "struct MarketExtState",
260
+ name: "marketExt",
261
+ type: "tuple",
262
+ },
263
+ {
264
+ components: [
265
+ {
266
+ internalType: "uint256",
267
+ name: "buyYtIy",
268
+ type: "uint256",
269
+ },
270
+ {
271
+ internalType: "uint256",
272
+ name: "sellYtIy",
273
+ type: "uint256",
274
+ },
275
+ {
276
+ internalType: "uint256",
277
+ name: "targetSyRatio",
278
+ type: "uint256",
279
+ },
280
+ {
281
+ internalType: "uint256",
282
+ name: "bufferSyRatio",
283
+ type: "uint256",
284
+ },
285
+ {
286
+ internalType: "uint256",
287
+ name: "minYtPtRatio",
288
+ type: "uint256",
289
+ },
290
+ {
291
+ internalType: "uint256",
292
+ name: "numOfBins",
293
+ type: "uint256",
294
+ },
295
+ ],
296
+ internalType: "struct TradingSpecs",
297
+ name: "specs",
298
+ type: "tuple",
299
+ },
300
+ ],
301
+ internalType: "struct StrategyData",
302
+ name: "strategyData",
303
+ type: "tuple",
304
+ },
305
+ {
306
+ internalType: "uint256",
307
+ name: "tvlInSy",
308
+ type: "uint256",
309
+ },
310
+ {
311
+ internalType: "uint256",
312
+ name: "iy",
313
+ type: "uint256",
314
+ },
315
+ {
316
+ internalType: "uint256",
317
+ name: "floatingSyRatio",
318
+ type: "uint256",
319
+ },
320
+ {
321
+ internalType: "uint256",
322
+ name: "currentYtPtRatio",
323
+ type: "uint256",
324
+ },
325
+ ],
326
+ stateMutability: "view",
327
+ type: "function",
328
+ },
329
+ {
330
+ inputs: [
331
+ {
332
+ components: [
333
+ {
334
+ components: [
335
+ {
336
+ internalType: "uint256",
337
+ name: "lpBalance",
338
+ type: "uint256",
339
+ },
340
+ {
341
+ internalType: "uint256",
342
+ name: "ytBalance",
343
+ type: "uint256",
344
+ },
345
+ {
346
+ internalType: "uint256",
347
+ name: "ptBalance",
348
+ type: "uint256",
349
+ },
350
+ {
351
+ internalType: "uint256",
352
+ name: "syBalance",
353
+ type: "uint256",
354
+ },
355
+ {
356
+ internalType: "uint256",
357
+ name: "buyBins",
358
+ type: "uint256",
359
+ },
360
+ ],
361
+ internalType: "struct BotState",
362
+ name: "botState",
363
+ type: "tuple",
364
+ },
365
+ {
366
+ components: [
367
+ {
368
+ components: [
369
+ {
370
+ internalType: "int256",
371
+ name: "totalPt",
372
+ type: "int256",
373
+ },
374
+ {
375
+ internalType: "int256",
376
+ name: "totalSy",
377
+ type: "int256",
378
+ },
379
+ {
380
+ internalType: "int256",
381
+ name: "totalLp",
382
+ type: "int256",
383
+ },
384
+ {
385
+ internalType: "address",
386
+ name: "treasury",
387
+ type: "address",
388
+ },
389
+ {
390
+ internalType: "int256",
391
+ name: "scalarRoot",
392
+ type: "int256",
393
+ },
394
+ {
395
+ internalType: "uint256",
396
+ name: "expiry",
397
+ type: "uint256",
398
+ },
399
+ {
400
+ internalType: "uint256",
401
+ name: "lnFeeRateRoot",
402
+ type: "uint256",
403
+ },
404
+ {
405
+ internalType: "uint256",
406
+ name: "reserveFeePercent",
407
+ type: "uint256",
408
+ },
409
+ {
410
+ internalType: "uint256",
411
+ name: "lastLnImpliedRate",
412
+ type: "uint256",
413
+ },
414
+ ],
415
+ internalType: "struct MarketState",
416
+ name: "state",
417
+ type: "tuple",
418
+ },
419
+ {
420
+ internalType: "PYIndex",
421
+ name: "index",
422
+ type: "uint256",
423
+ },
424
+ {
425
+ internalType: "uint256",
426
+ name: "blockTime",
427
+ type: "uint256",
428
+ },
429
+ ],
430
+ internalType: "struct MarketExtState",
431
+ name: "marketExt",
432
+ type: "tuple",
433
+ },
434
+ {
435
+ components: [
436
+ {
437
+ internalType: "uint256",
438
+ name: "buyYtIy",
439
+ type: "uint256",
440
+ },
441
+ {
442
+ internalType: "uint256",
443
+ name: "sellYtIy",
444
+ type: "uint256",
445
+ },
446
+ {
447
+ internalType: "uint256",
448
+ name: "targetSyRatio",
449
+ type: "uint256",
450
+ },
451
+ {
452
+ internalType: "uint256",
453
+ name: "bufferSyRatio",
454
+ type: "uint256",
455
+ },
456
+ {
457
+ internalType: "uint256",
458
+ name: "minYtPtRatio",
459
+ type: "uint256",
460
+ },
461
+ {
462
+ internalType: "uint256",
463
+ name: "numOfBins",
464
+ type: "uint256",
465
+ },
466
+ ],
467
+ internalType: "struct TradingSpecs",
468
+ name: "specs",
469
+ type: "tuple",
470
+ },
471
+ ],
472
+ internalType: "struct StrategyData",
473
+ name: "strategyData",
474
+ type: "tuple",
475
+ },
476
+ ],
477
+ name: "getCurrentBin",
478
+ outputs: [
479
+ {
480
+ internalType: "int256",
481
+ name: "",
482
+ type: "int256",
483
+ },
484
+ ],
485
+ stateMutability: "pure",
486
+ type: "function",
487
+ },
488
+ {
489
+ inputs: [
490
+ {
491
+ internalType: "address",
492
+ name: "botAddress",
493
+ type: "address",
494
+ },
495
+ ],
496
+ name: "getRebalanceAction",
497
+ outputs: [
498
+ {
499
+ components: [
500
+ {
501
+ internalType: "enum RebalanceType",
502
+ name: "rebalanceType",
503
+ type: "uint8",
504
+ },
505
+ {
506
+ internalType: "uint256",
507
+ name: "amountIn",
508
+ type: "uint256",
509
+ },
510
+ {
511
+ internalType: "uint256",
512
+ name: "amountOut",
513
+ type: "uint256",
514
+ },
515
+ {
516
+ internalType: "uint256",
517
+ name: "amountOut2",
518
+ type: "uint256",
519
+ },
520
+ ],
521
+ internalType: "struct IBotDecisionHelper.RebalanceOutput",
522
+ name: "",
523
+ type: "tuple",
524
+ },
525
+ ],
526
+ stateMutability: "view",
527
+ type: "function",
528
+ },
529
+ {
530
+ inputs: [
531
+ {
532
+ internalType: "address",
533
+ name: "botAddress",
534
+ type: "address",
535
+ },
536
+ ],
537
+ name: "getTradeAction",
538
+ outputs: [
539
+ {
540
+ components: [
541
+ {
542
+ internalType: "enum TradeActionType",
543
+ name: "action",
544
+ type: "uint8",
545
+ },
546
+ {
547
+ internalType: "int256",
548
+ name: "currentBin",
549
+ type: "int256",
550
+ },
551
+ {
552
+ internalType: "uint256",
553
+ name: "targetIy",
554
+ type: "uint256",
555
+ },
556
+ {
557
+ internalType: "uint256",
558
+ name: "guessBotParams",
559
+ type: "uint256",
560
+ },
561
+ {
562
+ internalType: "uint256",
563
+ name: "guessIntParams",
564
+ type: "uint256",
565
+ },
566
+ {
567
+ internalType: "uint256",
568
+ name: "amountOut",
569
+ type: "uint256",
570
+ },
571
+ ],
572
+ internalType: "struct IBotDecisionHelper.TradeResult",
573
+ name: "res",
574
+ type: "tuple",
575
+ },
576
+ ],
577
+ stateMutability: "view",
578
+ type: "function",
579
+ },
580
+ {
581
+ inputs: [
582
+ {
583
+ components: [
584
+ {
585
+ components: [
586
+ {
587
+ internalType: "uint256",
588
+ name: "lpBalance",
589
+ type: "uint256",
590
+ },
591
+ {
592
+ internalType: "uint256",
593
+ name: "ytBalance",
594
+ type: "uint256",
595
+ },
596
+ {
597
+ internalType: "uint256",
598
+ name: "ptBalance",
599
+ type: "uint256",
600
+ },
601
+ {
602
+ internalType: "uint256",
603
+ name: "syBalance",
604
+ type: "uint256",
605
+ },
606
+ {
607
+ internalType: "uint256",
608
+ name: "buyBins",
609
+ type: "uint256",
610
+ },
611
+ ],
612
+ internalType: "struct BotState",
613
+ name: "botState",
614
+ type: "tuple",
615
+ },
616
+ {
617
+ components: [
618
+ {
619
+ components: [
620
+ {
621
+ internalType: "int256",
622
+ name: "totalPt",
623
+ type: "int256",
624
+ },
625
+ {
626
+ internalType: "int256",
627
+ name: "totalSy",
628
+ type: "int256",
629
+ },
630
+ {
631
+ internalType: "int256",
632
+ name: "totalLp",
633
+ type: "int256",
634
+ },
635
+ {
636
+ internalType: "address",
637
+ name: "treasury",
638
+ type: "address",
639
+ },
640
+ {
641
+ internalType: "int256",
642
+ name: "scalarRoot",
643
+ type: "int256",
644
+ },
645
+ {
646
+ internalType: "uint256",
647
+ name: "expiry",
648
+ type: "uint256",
649
+ },
650
+ {
651
+ internalType: "uint256",
652
+ name: "lnFeeRateRoot",
653
+ type: "uint256",
654
+ },
655
+ {
656
+ internalType: "uint256",
657
+ name: "reserveFeePercent",
658
+ type: "uint256",
659
+ },
660
+ {
661
+ internalType: "uint256",
662
+ name: "lastLnImpliedRate",
663
+ type: "uint256",
664
+ },
665
+ ],
666
+ internalType: "struct MarketState",
667
+ name: "state",
668
+ type: "tuple",
669
+ },
670
+ {
671
+ internalType: "PYIndex",
672
+ name: "index",
673
+ type: "uint256",
674
+ },
675
+ {
676
+ internalType: "uint256",
677
+ name: "blockTime",
678
+ type: "uint256",
679
+ },
680
+ ],
681
+ internalType: "struct MarketExtState",
682
+ name: "marketExt",
683
+ type: "tuple",
684
+ },
685
+ {
686
+ components: [
687
+ {
688
+ internalType: "uint256",
689
+ name: "buyYtIy",
690
+ type: "uint256",
691
+ },
692
+ {
693
+ internalType: "uint256",
694
+ name: "sellYtIy",
695
+ type: "uint256",
696
+ },
697
+ {
698
+ internalType: "uint256",
699
+ name: "targetSyRatio",
700
+ type: "uint256",
701
+ },
702
+ {
703
+ internalType: "uint256",
704
+ name: "bufferSyRatio",
705
+ type: "uint256",
706
+ },
707
+ {
708
+ internalType: "uint256",
709
+ name: "minYtPtRatio",
710
+ type: "uint256",
711
+ },
712
+ {
713
+ internalType: "uint256",
714
+ name: "numOfBins",
715
+ type: "uint256",
716
+ },
717
+ ],
718
+ internalType: "struct TradingSpecs",
719
+ name: "specs",
720
+ type: "tuple",
721
+ },
722
+ ],
723
+ internalType: "struct StrategyData",
724
+ name: "strategyData",
725
+ type: "tuple",
726
+ },
727
+ {
728
+ internalType: "enum TradeActionType",
729
+ name: "action",
730
+ type: "uint8",
731
+ },
732
+ {
733
+ internalType: "uint256",
734
+ name: "targetIy",
735
+ type: "uint256",
736
+ },
737
+ {
738
+ internalType: "uint256",
739
+ name: "rebalanceAdditionalCheck",
740
+ type: "uint256",
741
+ },
742
+ {
743
+ components: [
744
+ {
745
+ internalType: "uint256",
746
+ name: "guessMin",
747
+ type: "uint256",
748
+ },
749
+ {
750
+ internalType: "uint256",
751
+ name: "guessMax",
752
+ type: "uint256",
753
+ },
754
+ {
755
+ internalType: "uint256",
756
+ name: "guessOffchain",
757
+ type: "uint256",
758
+ },
759
+ {
760
+ internalType: "uint256",
761
+ name: "maxIteration",
762
+ type: "uint256",
763
+ },
764
+ {
765
+ internalType: "uint256",
766
+ name: "eps",
767
+ type: "uint256",
768
+ },
769
+ ],
770
+ internalType: "struct ApproxParams",
771
+ name: "botParams",
772
+ type: "tuple",
773
+ },
774
+ {
775
+ components: [
776
+ {
777
+ internalType: "uint256",
778
+ name: "guessMin",
779
+ type: "uint256",
780
+ },
781
+ {
782
+ internalType: "uint256",
783
+ name: "guessMax",
784
+ type: "uint256",
785
+ },
786
+ {
787
+ internalType: "uint256",
788
+ name: "guessOffchain",
789
+ type: "uint256",
790
+ },
791
+ {
792
+ internalType: "uint256",
793
+ name: "maxIteration",
794
+ type: "uint256",
795
+ },
796
+ {
797
+ internalType: "uint256",
798
+ name: "eps",
799
+ type: "uint256",
800
+ },
801
+ ],
802
+ internalType: "struct ApproxParams",
803
+ name: "intParams",
804
+ type: "tuple",
805
+ },
806
+ ],
807
+ name: "searchForBotParam",
808
+ outputs: [
809
+ {
810
+ internalType: "uint256",
811
+ name: "",
812
+ type: "uint256",
813
+ },
814
+ ],
815
+ stateMutability: "pure",
816
+ type: "function",
817
+ },
818
+ ];
819
+
820
+ export class BotDecisionHelperBase__factory {
821
+ static readonly abi = _abi;
822
+ static createInterface(): BotDecisionHelperBaseInterface {
823
+ return new utils.Interface(_abi) as BotDecisionHelperBaseInterface;
824
+ }
825
+ static connect(
826
+ address: string,
827
+ signerOrProvider: Signer | Provider
828
+ ): BotDecisionHelperBase {
829
+ return new Contract(
830
+ address,
831
+ _abi,
832
+ signerOrProvider
833
+ ) as BotDecisionHelperBase;
834
+ }
835
+ }