@pendle/core-v2 2.18.1 → 2.20.0

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 (442) 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/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
  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/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  16. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  19. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  22. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  24. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  26. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  28. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  29. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  30. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  31. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
  33. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
  35. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
  37. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  39. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.json +19 -0
  42. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +21 -2
  44. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  46. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  50. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +4 -0
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.json +1189 -0
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.json +2 -2
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.json +2 -2
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.json +2 -2
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.json +2 -2
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +4 -0
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.json +10 -0
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +4 -0
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.json +322 -0
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAPoolHelper.dbg.json +4 -0
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/{Thena/ThenaPreview.sol/IThenaSY.json → BalancerStable/base/Linear/BbAPoolHelper.sol/BbAPoolHelper.json} +4 -4
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAWethHelper.dbg.json +4 -0
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/{CamelotV1Volatile/CamelotV1Preview.sol/ICamelotSY.json → BalancerStable/base/Linear/BbAPoolHelper.sol/BbAWethHelper.json} +4 -17
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol/LinearMath.dbg.json +4 -0
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol/LinearMath.json +10 -0
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.dbg.json +4 -0
  75. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.json +234 -0
  76. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +1 -1
  77. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.json +2 -2
  78. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
  79. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
  80. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  81. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  82. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  83. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
  84. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.json +2 -28
  85. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +4 -0
  86. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.json +10 -0
  87. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +4 -0
  88. package/build/artifacts/contracts/core/StandardizedYield/implementations/{Thena/ThenaLpHelper.sol/ThenaLpHelper.json → CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.json} +2 -54
  89. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.dbg.json +4 -0
  90. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.json +338 -0
  91. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +4 -0
  92. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.json +1433 -0
  93. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  94. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
  95. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  96. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
  97. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
  98. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +2 -2
  99. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  100. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +2 -2
  101. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  102. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +2 -2
  103. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  104. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  105. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
  106. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.dbg.json +4 -0
  107. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.json +976 -0
  108. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  109. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
  110. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  111. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
  112. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
  113. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.json +2 -2
  114. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
  115. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.json +2 -2
  116. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.dbg.json +4 -0
  117. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.json +979 -0
  118. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  119. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  120. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  121. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  122. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  123. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  124. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  125. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  126. package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
  127. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
  128. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
  129. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
  130. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
  131. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -2
  132. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  133. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
  134. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.json +2 -2
  135. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/Balancer/IERC4626LinearPool.sol/IERC4626LinearPool.dbg.json +4 -0
  137. package/build/artifacts/contracts/interfaces/Balancer/IERC4626LinearPool.sol/IERC4626LinearPool.json +1172 -0
  138. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.dbg.json +4 -0
  140. package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.json +42 -0
  141. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.json +0 -13
  143. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +1 -1
  144. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.json +0 -13
  145. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.json +0 -26
  147. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  148. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  149. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  150. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.json +82 -6
  151. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.json +22 -22
  153. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  154. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  155. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.json +42 -4
  156. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  157. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  158. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  159. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  160. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  161. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  162. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.json +19 -0
  163. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  164. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +19 -0
  165. package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
  166. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  167. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +146 -32
  168. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  169. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  170. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +4 -0
  172. package/build/artifacts/contracts/{core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.json → offchain-helpers/BoringLpSeller.sol/BoringLpSeller.json} +2 -2
  173. package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  176. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
  178. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +4 -0
  179. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.json +10 -0
  180. package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.dbg.json +4 -0
  181. package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.json +97 -0
  182. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  184. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  185. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  186. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  187. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +84 -8
  188. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  189. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +24 -24
  190. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  191. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +44 -6
  192. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  193. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  194. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  195. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  196. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  197. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +4 -0
  198. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.json +10 -0
  199. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
  200. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.json +2 -2
  201. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
  202. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.json +2 -2
  203. package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +4 -0
  204. package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.json +166 -0
  205. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
  206. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.json +2 -2
  207. package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.dbg.json +1 -1
  208. package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.json +2 -2
  209. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  210. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
  211. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  212. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
  213. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  214. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  215. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  216. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  217. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  218. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  219. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  220. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +2 -2
  221. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  222. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  223. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  224. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  225. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  226. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  227. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  228. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +4 -0
  229. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +60 -0
  230. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +4 -0
  231. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/{ethereum/IAggregationExecutor.sol → IAggregationExecutor.sol}/IAggregationExecutor.json +1 -1
  232. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.dbg.json +4 -0
  233. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/{arbitrum/IExecutorHelper1.sol/IExecutorHelper1.json → IExecutorHelper.sol/IExecutorHelper.json} +147 -2
  234. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IHashflow.sol/IHashflow.dbg.json +4 -0
  235. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/{ethereum/IHashflow.sol → IHashflow.sol}/IHashflow.json +1 -1
  236. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +4 -0
  237. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/{arbitrum/IMetaAggregationRouterV2.sol → IMetaAggregationRouterV2.sol}/IMetaAggregationRouterV2.json +1 -1
  238. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol/KyberInputScalingHelper.dbg.json +4 -0
  239. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/{arbitrum/KyberHelperArbitrum.sol/KyberHelperArbitrum.json → KyberInputScalingHelper.sol/KyberInputScalingHelper.json} +2 -2
  240. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.dbg.json +4 -0
  241. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.json +10 -0
  242. package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +4 -0
  243. package/contracts/core/Market/PendleGauge.sol +3 -2
  244. package/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol +108 -0
  245. package/contracts/interfaces/BinanceEth/IWBETH.sol +9 -0
  246. package/contracts/interfaces/IPActionInfoStatic.sol +8 -7
  247. package/contracts/interfaces/IPActionMarketAuxStatic.sol +21 -14
  248. package/contracts/interfaces/IPActionMarketCoreStatic.sol +70 -67
  249. package/contracts/interfaces/IPActionMintRedeemStatic.sol +23 -11
  250. package/contracts/interfaces/IPGauge.sol +3 -0
  251. package/contracts/interfaces/IPRouterStatic.sol +5 -1
  252. package/contracts/offchain-helpers/BoringLpSeller.sol +47 -0
  253. package/contracts/offchain-helpers/BulkSellerOffchain.sol +11 -8
  254. package/contracts/offchain-helpers/PtAndLpToAsset.sol +62 -0
  255. package/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol +14 -11
  256. package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +96 -37
  257. package/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol +88 -80
  258. package/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol +43 -14
  259. package/contracts/oracles/samples/PendleLpGlpOracle.sol +49 -0
  260. package/deployments/42161-markets/WSTETH-ARBITRUM-JUNE2024.json +6 -6
  261. package/deployments/42161-markets/WSTETH-ARBITRUM-JUNE2025.json +10 -0
  262. package/deployments/56-core.json +28 -0
  263. package/deployments/56-markets/THENA-FRXETH-ETH-JUNE2024.json +10 -0
  264. package/deployments/56-markets/WBETH-DEC2024.json +10 -0
  265. package/deployments/56-offchain-helper.json +4 -0
  266. package/package.json +1 -1
  267. package/typechain-types/ActionMarketAuxStatic.ts +191 -38
  268. package/typechain-types/ActionMarketCoreStatic.ts +600 -134
  269. package/typechain-types/ActionMintRedeemStatic.ts +92 -26
  270. package/typechain-types/BotActionCallback.ts +763 -0
  271. package/typechain-types/BotActionHelper.ts +763 -0
  272. package/typechain-types/BotDecisionHelper.ts +527 -0
  273. package/typechain-types/BotDecisionLib.ts +335 -0
  274. package/typechain-types/CamelotRewardHelper.ts +0 -60
  275. package/typechain-types/IBotDecisionHelper.ts +507 -0
  276. package/typechain-types/ICamelotNFTPool.ts +0 -19
  277. package/typechain-types/ICamelotNitroPool.ts +0 -19
  278. package/typechain-types/ICamelotPair.ts +0 -42
  279. package/typechain-types/ILongYieldTradingBot.ts +1008 -0
  280. package/typechain-types/IPActionMarketAuxStatic.ts +191 -38
  281. package/typechain-types/IPActionMarketCoreStatic.ts +600 -134
  282. package/typechain-types/IPActionMintRedeemStatic.ts +92 -26
  283. package/typechain-types/IPGauge.ts +23 -3
  284. package/typechain-types/IPMarket.ts +18 -0
  285. package/typechain-types/IPRouterStatic.ts +888 -197
  286. package/typechain-types/ITradingBotBase.ts +523 -0
  287. package/typechain-types/IWBETH.ts +128 -0
  288. package/typechain-types/LongYieldTradingBot.ts +1468 -0
  289. package/typechain-types/MarketExtLib.ts +81 -0
  290. package/typechain-types/PendleBinanceEth.ts +1229 -0
  291. package/typechain-types/PendleGauge.ts +23 -3
  292. package/typechain-types/PendleLpGlpOracle.ts +145 -0
  293. package/typechain-types/PendleMarket.ts +18 -0
  294. package/typechain-types/PendleThenaSY.ts +153 -0
  295. package/typechain-types/PendleWbEthSY.ts +1229 -0
  296. package/typechain-types/PtAndLpToAsset.ts +136 -0
  297. package/typechain-types/ThenaLpHelper.ts +19 -0
  298. package/typechain-types/ThenaMath.ts +87 -0
  299. package/typechain-types/ThenaPreview.ts +19 -0
  300. package/typechain-types/TradingBotBase.ts +719 -0
  301. package/typechain-types/TradingBotOffchain.ts +568 -0
  302. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
  303. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  304. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +83 -7
  305. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +23 -23
  306. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +43 -5
  307. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  308. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  309. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  310. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
  311. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  312. package/typechain-types/factories/BotActionCallback__factory.ts +678 -0
  313. package/typechain-types/factories/BotActionHelper__factory.ts +678 -0
  314. package/typechain-types/factories/BotDecisionHelper__factory.ts +1123 -0
  315. package/typechain-types/factories/BotDecisionLib__factory.ts +642 -0
  316. package/typechain-types/factories/Broadcaster__factory.ts +1 -1
  317. package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
  318. package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
  319. package/typechain-types/factories/BulkSeller__factory.ts +1 -1
  320. package/typechain-types/factories/CamelotRewardHelper__factory.ts +1 -27
  321. package/typechain-types/factories/IBotDecisionHelper__factory.ts +932 -0
  322. package/typechain-types/factories/ICamelotNFTPool__factory.ts +0 -13
  323. package/typechain-types/factories/ICamelotNitroPool__factory.ts +0 -13
  324. package/typechain-types/factories/ICamelotPair__factory.ts +0 -26
  325. package/typechain-types/factories/ILongYieldTradingBot__factory.ts +1172 -0
  326. package/typechain-types/factories/IPActionMarketAuxStatic__factory.ts +82 -6
  327. package/typechain-types/factories/IPActionMarketCoreStatic__factory.ts +22 -22
  328. package/typechain-types/factories/IPActionMintRedeemStatic__factory.ts +42 -4
  329. package/typechain-types/factories/IPGauge__factory.ts +19 -0
  330. package/typechain-types/factories/IPMarket__factory.ts +19 -0
  331. package/typechain-types/factories/IPRouterStatic__factory.ts +146 -32
  332. package/typechain-types/factories/ITradingBotBase__factory.ts +455 -0
  333. package/typechain-types/factories/IWBETH__factory.ts +51 -0
  334. package/typechain-types/factories/LongYieldTradingBot__factory.ts +1836 -0
  335. package/typechain-types/factories/MarketExtLib__factory.ts +74 -0
  336. package/typechain-types/factories/MetaStablePreview__factory.ts +1 -1
  337. package/typechain-types/factories/PendleArbitrumStakedEthSY__factory.ts +27 -2
  338. package/typechain-types/factories/PendleAuraBbAWethSwethSY__factory.ts +1 -1
  339. package/typechain-types/factories/PendleAuraWethAnkrethSYV2__factory.ts +1 -1
  340. package/typechain-types/factories/PendleAuraWethRocketEthSYV2__factory.ts +1 -1
  341. package/typechain-types/factories/PendleAuraWethStafiEthSY__factory.ts +1 -1
  342. package/typechain-types/factories/PendleAuraWethWstethSYV2__factory.ts +1 -1
  343. package/typechain-types/factories/PendleBinanceEth__factory.ts +1052 -0
  344. package/typechain-types/factories/PendleCamelotV1VolatileSY__factory.ts +1 -1
  345. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
  346. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
  347. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  348. package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
  349. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  350. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  351. package/typechain-types/factories/PendleGauge__factory.ts +19 -0
  352. package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
  353. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
  354. package/typechain-types/factories/PendleLpGlpOracle__factory.ts +246 -0
  355. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  356. package/typechain-types/factories/PendleMarket__factory.ts +20 -1
  357. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  358. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  359. package/typechain-types/factories/PendlePtGlpOracle__factory.ts +1 -1
  360. package/typechain-types/factories/PendlePtOracle__factory.ts +1 -1
  361. package/typechain-types/factories/PendlePtUsdChainlinkOracle__factory.ts +1 -1
  362. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  363. package/typechain-types/factories/PendleRouterHelper__factory.ts +1 -1
  364. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  365. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  366. package/typechain-types/factories/PendleSfrxEthSY__factory.ts +1 -1
  367. package/typechain-types/factories/PendleStargateLPSY__factory.ts +1 -1
  368. package/typechain-types/factories/PendleThenaSY__factory.ts +85 -1
  369. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  370. package/typechain-types/factories/PendleWbEthSY__factory.ts +1049 -0
  371. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  372. package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
  373. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  374. package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
  375. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  376. package/typechain-types/factories/PtAndLpToAsset__factory.ts +150 -0
  377. package/typechain-types/factories/SAPE__factory.ts +1 -1
  378. package/typechain-types/factories/ThenaLpHelper__factory.ts +13 -0
  379. package/typechain-types/factories/ThenaMath__factory.ts +36 -0
  380. package/typechain-types/factories/ThenaPreview__factory.ts +14 -1
  381. package/typechain-types/factories/TradingBotBase__factory.ts +628 -0
  382. package/typechain-types/factories/TradingBotOffchain__factory.ts +1133 -0
  383. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  384. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  385. package/typechain-types/hardhat.d.ts +45 -0
  386. package/typechain-types/index.ts +10 -0
  387. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1LpHelper.sol/CamelotV1LpHelper.dbg.json +0 -4
  388. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1LpHelper.sol/CamelotV1LpHelper.json +0 -128
  389. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1Math.sol/CamelotV1Math.dbg.json +0 -4
  390. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1Math.sol/CamelotV1Math.json +0 -10
  391. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1Preview.sol/CamelotV1Preview.dbg.json +0 -4
  392. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1Preview.sol/CamelotV1Preview.json +0 -254
  393. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1Preview.sol/ICamelotSY.dbg.json +0 -4
  394. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1SY.sol/PendleCamelotV1SY.dbg.json +0 -4
  395. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1SY.sol/PendleCamelotV1SY.json +0 -1495
  396. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.dbg.json +0 -4
  397. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.json +0 -1182
  398. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol/ThenaLpHelper.dbg.json +0 -4
  399. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.dbg.json +0 -4
  400. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/IThenaSY.dbg.json +0 -4
  401. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.dbg.json +0 -4
  402. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.json +0 -254
  403. package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.dbg.json +0 -4
  404. package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.json +0 -59
  405. package/build/artifacts/contracts/interfaces/Thena/IThenaFactory.sol/IThenaFactory.dbg.json +0 -4
  406. package/build/artifacts/contracts/interfaces/Thena/IThenaFactory.sol/IThenaFactory.json +0 -152
  407. package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.dbg.json +0 -4
  408. package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.json +0 -71
  409. package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.dbg.json +0 -4
  410. package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.json +0 -409
  411. package/build/artifacts/contracts/interfaces/Thena/IThenaRouter.sol/IThenaRouter.dbg.json +0 -4
  412. package/build/artifacts/contracts/interfaces/Thena/IThenaRouter.sol/IThenaRouter.json +0 -188
  413. package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +0 -4
  414. package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.json +0 -160
  415. package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +0 -4
  416. package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.json +0 -10
  417. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapArbitrum.sol/PendleSwapArbitrum.dbg.json +0 -4
  418. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapArbitrum.sol/PendleSwapArbitrum.json +0 -76
  419. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapEthereum.sol/PendleSwapEthereum.dbg.json +0 -4
  420. package/build/artifacts/contracts/router/swap-aggregator/PendleSwapEthereum.sol/PendleSwapEthereum.json +0 -76
  421. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +0 -4
  422. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IAggregationExecutor.sol/IAggregationExecutor.json +0 -65
  423. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper1.sol/IExecutorHelper1.dbg.json +0 -4
  424. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper2.sol/IExecutorHelper2.dbg.json +0 -4
  425. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IExecutorHelper2.sol/IExecutorHelper2.json +0 -40
  426. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IHashflow.sol/IHashflow.dbg.json +0 -4
  427. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IHashflow.sol/IHashflow.json +0 -101
  428. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +0 -4
  429. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/KyberHelperArbitrum.sol/KyberHelperArbitrum.dbg.json +0 -4
  430. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/ScaleDataHelperArbitrum.sol/ScaleDataHelperArbitrum.dbg.json +0 -4
  431. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/arbitrum/ScaleDataHelperArbitrum.sol/ScaleDataHelperArbitrum.json +0 -10
  432. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +0 -4
  433. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +0 -4
  434. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.json +0 -388
  435. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IHashflow.sol/IHashflow.dbg.json +0 -4
  436. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +0 -4
  437. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.json +0 -215
  438. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/KyberHelperEthereum.sol/KyberHelperEthereum.dbg.json +0 -4
  439. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/KyberHelperEthereum.sol/KyberHelperEthereum.json +0 -10
  440. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/ScaleDataHelperEthereum.sol/ScaleDataHelperEthereum.dbg.json +0 -4
  441. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ethereum/ScaleDataHelperEthereum.sol/ScaleDataHelperEthereum.json +0 -10
  442. /package/deployments/42161-markets/{RETH-ARBITRUM-JUNE2024.json → RETH-ARBITRUM-JUNE2025.json} +0 -0
@@ -0,0 +1,932 @@
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
+ IBotDecisionHelper,
9
+ IBotDecisionHelperInterface,
10
+ } from "../IBotDecisionHelper";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ components: [
17
+ {
18
+ internalType: "uint256",
19
+ name: "lpBalance",
20
+ type: "uint256",
21
+ },
22
+ {
23
+ internalType: "uint256",
24
+ name: "ytBalance",
25
+ type: "uint256",
26
+ },
27
+ {
28
+ internalType: "uint256",
29
+ name: "syBalance",
30
+ type: "uint256",
31
+ },
32
+ ],
33
+ internalType: "struct BotState",
34
+ name: "botState",
35
+ type: "tuple",
36
+ },
37
+ {
38
+ components: [
39
+ {
40
+ internalType: "enum StrategyFlag",
41
+ name: "iyFlag",
42
+ type: "uint8",
43
+ },
44
+ {
45
+ internalType: "enum StrategyFlag",
46
+ name: "syRatioFlag",
47
+ type: "uint8",
48
+ },
49
+ ],
50
+ internalType: "struct StrategyState",
51
+ name: "currentState",
52
+ type: "tuple",
53
+ },
54
+ ],
55
+ name: "actionToTake",
56
+ outputs: [
57
+ {
58
+ internalType: "enum ActionType",
59
+ name: "",
60
+ type: "uint8",
61
+ },
62
+ ],
63
+ stateMutability: "pure",
64
+ type: "function",
65
+ },
66
+ {
67
+ inputs: [
68
+ {
69
+ components: [
70
+ {
71
+ internalType: "uint256",
72
+ name: "lpBalance",
73
+ type: "uint256",
74
+ },
75
+ {
76
+ internalType: "uint256",
77
+ name: "ytBalance",
78
+ type: "uint256",
79
+ },
80
+ {
81
+ internalType: "uint256",
82
+ name: "syBalance",
83
+ type: "uint256",
84
+ },
85
+ ],
86
+ internalType: "struct BotState",
87
+ name: "bot",
88
+ type: "tuple",
89
+ },
90
+ {
91
+ components: [
92
+ {
93
+ components: [
94
+ {
95
+ internalType: "int256",
96
+ name: "totalPt",
97
+ type: "int256",
98
+ },
99
+ {
100
+ internalType: "int256",
101
+ name: "totalSy",
102
+ type: "int256",
103
+ },
104
+ {
105
+ internalType: "int256",
106
+ name: "totalLp",
107
+ type: "int256",
108
+ },
109
+ {
110
+ internalType: "address",
111
+ name: "treasury",
112
+ type: "address",
113
+ },
114
+ {
115
+ internalType: "int256",
116
+ name: "scalarRoot",
117
+ type: "int256",
118
+ },
119
+ {
120
+ internalType: "uint256",
121
+ name: "expiry",
122
+ type: "uint256",
123
+ },
124
+ {
125
+ internalType: "uint256",
126
+ name: "lnFeeRateRoot",
127
+ type: "uint256",
128
+ },
129
+ {
130
+ internalType: "uint256",
131
+ name: "reserveFeePercent",
132
+ type: "uint256",
133
+ },
134
+ {
135
+ internalType: "uint256",
136
+ name: "lastLnImpliedRate",
137
+ type: "uint256",
138
+ },
139
+ ],
140
+ internalType: "struct MarketState",
141
+ name: "state",
142
+ type: "tuple",
143
+ },
144
+ {
145
+ internalType: "PYIndex",
146
+ name: "index",
147
+ type: "uint256",
148
+ },
149
+ {
150
+ internalType: "uint256",
151
+ name: "blockTime",
152
+ type: "uint256",
153
+ },
154
+ ],
155
+ internalType: "struct MarketExtState",
156
+ name: "marketExt",
157
+ type: "tuple",
158
+ },
159
+ ],
160
+ name: "botExtStats",
161
+ outputs: [
162
+ {
163
+ internalType: "uint256",
164
+ name: "tvlInSy",
165
+ type: "uint256",
166
+ },
167
+ {
168
+ internalType: "uint256",
169
+ name: "iy",
170
+ type: "uint256",
171
+ },
172
+ {
173
+ internalType: "uint256",
174
+ name: "currentSyRatio",
175
+ type: "uint256",
176
+ },
177
+ {
178
+ internalType: "uint256",
179
+ name: "currentYtPtRatio",
180
+ type: "uint256",
181
+ },
182
+ ],
183
+ stateMutability: "pure",
184
+ type: "function",
185
+ },
186
+ {
187
+ inputs: [
188
+ {
189
+ components: [
190
+ {
191
+ internalType: "uint256",
192
+ name: "lpBalance",
193
+ type: "uint256",
194
+ },
195
+ {
196
+ internalType: "uint256",
197
+ name: "ytBalance",
198
+ type: "uint256",
199
+ },
200
+ {
201
+ internalType: "uint256",
202
+ name: "syBalance",
203
+ type: "uint256",
204
+ },
205
+ ],
206
+ internalType: "struct BotState",
207
+ name: "botData",
208
+ type: "tuple",
209
+ },
210
+ {
211
+ components: [
212
+ {
213
+ components: [
214
+ {
215
+ internalType: "int256",
216
+ name: "totalPt",
217
+ type: "int256",
218
+ },
219
+ {
220
+ internalType: "int256",
221
+ name: "totalSy",
222
+ type: "int256",
223
+ },
224
+ {
225
+ internalType: "int256",
226
+ name: "totalLp",
227
+ type: "int256",
228
+ },
229
+ {
230
+ internalType: "address",
231
+ name: "treasury",
232
+ type: "address",
233
+ },
234
+ {
235
+ internalType: "int256",
236
+ name: "scalarRoot",
237
+ type: "int256",
238
+ },
239
+ {
240
+ internalType: "uint256",
241
+ name: "expiry",
242
+ type: "uint256",
243
+ },
244
+ {
245
+ internalType: "uint256",
246
+ name: "lnFeeRateRoot",
247
+ type: "uint256",
248
+ },
249
+ {
250
+ internalType: "uint256",
251
+ name: "reserveFeePercent",
252
+ type: "uint256",
253
+ },
254
+ {
255
+ internalType: "uint256",
256
+ name: "lastLnImpliedRate",
257
+ type: "uint256",
258
+ },
259
+ ],
260
+ internalType: "struct MarketState",
261
+ name: "state",
262
+ type: "tuple",
263
+ },
264
+ {
265
+ internalType: "PYIndex",
266
+ name: "index",
267
+ type: "uint256",
268
+ },
269
+ {
270
+ internalType: "uint256",
271
+ name: "blockTime",
272
+ type: "uint256",
273
+ },
274
+ ],
275
+ internalType: "struct MarketExtState",
276
+ name: "marketExtData",
277
+ type: "tuple",
278
+ },
279
+ {
280
+ internalType: "enum ActionType",
281
+ name: "action",
282
+ type: "uint8",
283
+ },
284
+ {
285
+ internalType: "uint256",
286
+ name: "botParam",
287
+ type: "uint256",
288
+ },
289
+ {
290
+ components: [
291
+ {
292
+ internalType: "uint256",
293
+ name: "guessMin",
294
+ type: "uint256",
295
+ },
296
+ {
297
+ internalType: "uint256",
298
+ name: "guessMax",
299
+ type: "uint256",
300
+ },
301
+ {
302
+ internalType: "uint256",
303
+ name: "guessOffchain",
304
+ type: "uint256",
305
+ },
306
+ {
307
+ internalType: "uint256",
308
+ name: "maxIteration",
309
+ type: "uint256",
310
+ },
311
+ {
312
+ internalType: "uint256",
313
+ name: "eps",
314
+ type: "uint256",
315
+ },
316
+ ],
317
+ internalType: "struct ApproxParams",
318
+ name: "swapApproxParams",
319
+ type: "tuple",
320
+ },
321
+ ],
322
+ name: "previewAction",
323
+ outputs: [
324
+ {
325
+ internalType: "bool",
326
+ name: "",
327
+ type: "bool",
328
+ },
329
+ {
330
+ components: [
331
+ {
332
+ internalType: "uint256",
333
+ name: "lpBalance",
334
+ type: "uint256",
335
+ },
336
+ {
337
+ internalType: "uint256",
338
+ name: "ytBalance",
339
+ type: "uint256",
340
+ },
341
+ {
342
+ internalType: "uint256",
343
+ name: "syBalance",
344
+ type: "uint256",
345
+ },
346
+ ],
347
+ internalType: "struct BotState",
348
+ name: "",
349
+ type: "tuple",
350
+ },
351
+ {
352
+ components: [
353
+ {
354
+ components: [
355
+ {
356
+ internalType: "int256",
357
+ name: "totalPt",
358
+ type: "int256",
359
+ },
360
+ {
361
+ internalType: "int256",
362
+ name: "totalSy",
363
+ type: "int256",
364
+ },
365
+ {
366
+ internalType: "int256",
367
+ name: "totalLp",
368
+ type: "int256",
369
+ },
370
+ {
371
+ internalType: "address",
372
+ name: "treasury",
373
+ type: "address",
374
+ },
375
+ {
376
+ internalType: "int256",
377
+ name: "scalarRoot",
378
+ type: "int256",
379
+ },
380
+ {
381
+ internalType: "uint256",
382
+ name: "expiry",
383
+ type: "uint256",
384
+ },
385
+ {
386
+ internalType: "uint256",
387
+ name: "lnFeeRateRoot",
388
+ type: "uint256",
389
+ },
390
+ {
391
+ internalType: "uint256",
392
+ name: "reserveFeePercent",
393
+ type: "uint256",
394
+ },
395
+ {
396
+ internalType: "uint256",
397
+ name: "lastLnImpliedRate",
398
+ type: "uint256",
399
+ },
400
+ ],
401
+ internalType: "struct MarketState",
402
+ name: "state",
403
+ type: "tuple",
404
+ },
405
+ {
406
+ internalType: "PYIndex",
407
+ name: "index",
408
+ type: "uint256",
409
+ },
410
+ {
411
+ internalType: "uint256",
412
+ name: "blockTime",
413
+ type: "uint256",
414
+ },
415
+ ],
416
+ internalType: "struct MarketExtState",
417
+ name: "",
418
+ type: "tuple",
419
+ },
420
+ ],
421
+ stateMutability: "pure",
422
+ type: "function",
423
+ },
424
+ {
425
+ inputs: [
426
+ {
427
+ components: [
428
+ {
429
+ internalType: "uint256",
430
+ name: "lpBalance",
431
+ type: "uint256",
432
+ },
433
+ {
434
+ internalType: "uint256",
435
+ name: "ytBalance",
436
+ type: "uint256",
437
+ },
438
+ {
439
+ internalType: "uint256",
440
+ name: "syBalance",
441
+ type: "uint256",
442
+ },
443
+ ],
444
+ internalType: "struct BotState",
445
+ name: "bot",
446
+ type: "tuple",
447
+ },
448
+ {
449
+ components: [
450
+ {
451
+ components: [
452
+ {
453
+ internalType: "int256",
454
+ name: "totalPt",
455
+ type: "int256",
456
+ },
457
+ {
458
+ internalType: "int256",
459
+ name: "totalSy",
460
+ type: "int256",
461
+ },
462
+ {
463
+ internalType: "int256",
464
+ name: "totalLp",
465
+ type: "int256",
466
+ },
467
+ {
468
+ internalType: "address",
469
+ name: "treasury",
470
+ type: "address",
471
+ },
472
+ {
473
+ internalType: "int256",
474
+ name: "scalarRoot",
475
+ type: "int256",
476
+ },
477
+ {
478
+ internalType: "uint256",
479
+ name: "expiry",
480
+ type: "uint256",
481
+ },
482
+ {
483
+ internalType: "uint256",
484
+ name: "lnFeeRateRoot",
485
+ type: "uint256",
486
+ },
487
+ {
488
+ internalType: "uint256",
489
+ name: "reserveFeePercent",
490
+ type: "uint256",
491
+ },
492
+ {
493
+ internalType: "uint256",
494
+ name: "lastLnImpliedRate",
495
+ type: "uint256",
496
+ },
497
+ ],
498
+ internalType: "struct MarketState",
499
+ name: "state",
500
+ type: "tuple",
501
+ },
502
+ {
503
+ internalType: "PYIndex",
504
+ name: "index",
505
+ type: "uint256",
506
+ },
507
+ {
508
+ internalType: "uint256",
509
+ name: "blockTime",
510
+ type: "uint256",
511
+ },
512
+ ],
513
+ internalType: "struct MarketExtState",
514
+ name: "marketExt",
515
+ type: "tuple",
516
+ },
517
+ {
518
+ components: [
519
+ {
520
+ internalType: "uint256",
521
+ name: "lowerIyLimit",
522
+ type: "uint256",
523
+ },
524
+ {
525
+ internalType: "uint256",
526
+ name: "upperIyLimit",
527
+ type: "uint256",
528
+ },
529
+ {
530
+ internalType: "uint256",
531
+ name: "floatingSyRatioLimit",
532
+ type: "uint256",
533
+ },
534
+ {
535
+ internalType: "uint256",
536
+ name: "floatingSyRatioTarget",
537
+ type: "uint256",
538
+ },
539
+ {
540
+ internalType: "uint256",
541
+ name: "ytPtRatioLimit",
542
+ type: "uint256",
543
+ },
544
+ {
545
+ internalType: "uint256",
546
+ name: "ytPtRatioTarget",
547
+ type: "uint256",
548
+ },
549
+ ],
550
+ internalType: "struct LongTradingSpecs",
551
+ name: "specs",
552
+ type: "tuple",
553
+ },
554
+ {
555
+ internalType: "enum ActionType",
556
+ name: "action",
557
+ type: "uint8",
558
+ },
559
+ {
560
+ components: [
561
+ {
562
+ internalType: "uint256",
563
+ name: "guessMin",
564
+ type: "uint256",
565
+ },
566
+ {
567
+ internalType: "uint256",
568
+ name: "guessMax",
569
+ type: "uint256",
570
+ },
571
+ {
572
+ internalType: "uint256",
573
+ name: "guessOffchain",
574
+ type: "uint256",
575
+ },
576
+ {
577
+ internalType: "uint256",
578
+ name: "maxIteration",
579
+ type: "uint256",
580
+ },
581
+ {
582
+ internalType: "uint256",
583
+ name: "eps",
584
+ type: "uint256",
585
+ },
586
+ ],
587
+ internalType: "struct ApproxParams",
588
+ name: "botParams",
589
+ type: "tuple",
590
+ },
591
+ {
592
+ components: [
593
+ {
594
+ internalType: "uint256",
595
+ name: "guessMin",
596
+ type: "uint256",
597
+ },
598
+ {
599
+ internalType: "uint256",
600
+ name: "guessMax",
601
+ type: "uint256",
602
+ },
603
+ {
604
+ internalType: "uint256",
605
+ name: "guessOffchain",
606
+ type: "uint256",
607
+ },
608
+ {
609
+ internalType: "uint256",
610
+ name: "maxIteration",
611
+ type: "uint256",
612
+ },
613
+ {
614
+ internalType: "uint256",
615
+ name: "eps",
616
+ type: "uint256",
617
+ },
618
+ ],
619
+ internalType: "struct ApproxParams",
620
+ name: "intParams",
621
+ type: "tuple",
622
+ },
623
+ ],
624
+ name: "searchForBotParam",
625
+ outputs: [
626
+ {
627
+ internalType: "uint256",
628
+ name: "",
629
+ type: "uint256",
630
+ },
631
+ {
632
+ internalType: "enum IBotDecisionHelper.RebalanceResult",
633
+ name: "",
634
+ type: "uint8",
635
+ },
636
+ ],
637
+ stateMutability: "pure",
638
+ type: "function",
639
+ },
640
+ {
641
+ inputs: [
642
+ {
643
+ components: [
644
+ {
645
+ components: [
646
+ {
647
+ internalType: "int256",
648
+ name: "totalPt",
649
+ type: "int256",
650
+ },
651
+ {
652
+ internalType: "int256",
653
+ name: "totalSy",
654
+ type: "int256",
655
+ },
656
+ {
657
+ internalType: "int256",
658
+ name: "totalLp",
659
+ type: "int256",
660
+ },
661
+ {
662
+ internalType: "address",
663
+ name: "treasury",
664
+ type: "address",
665
+ },
666
+ {
667
+ internalType: "int256",
668
+ name: "scalarRoot",
669
+ type: "int256",
670
+ },
671
+ {
672
+ internalType: "uint256",
673
+ name: "expiry",
674
+ type: "uint256",
675
+ },
676
+ {
677
+ internalType: "uint256",
678
+ name: "lnFeeRateRoot",
679
+ type: "uint256",
680
+ },
681
+ {
682
+ internalType: "uint256",
683
+ name: "reserveFeePercent",
684
+ type: "uint256",
685
+ },
686
+ {
687
+ internalType: "uint256",
688
+ name: "lastLnImpliedRate",
689
+ type: "uint256",
690
+ },
691
+ ],
692
+ internalType: "struct MarketState",
693
+ name: "state",
694
+ type: "tuple",
695
+ },
696
+ {
697
+ internalType: "PYIndex",
698
+ name: "index",
699
+ type: "uint256",
700
+ },
701
+ {
702
+ internalType: "uint256",
703
+ name: "blockTime",
704
+ type: "uint256",
705
+ },
706
+ ],
707
+ internalType: "struct MarketExtState",
708
+ name: "marketExt",
709
+ type: "tuple",
710
+ },
711
+ {
712
+ internalType: "enum ActionType",
713
+ name: "action",
714
+ type: "uint8",
715
+ },
716
+ {
717
+ internalType: "uint256",
718
+ name: "botParam",
719
+ type: "uint256",
720
+ },
721
+ {
722
+ components: [
723
+ {
724
+ internalType: "uint256",
725
+ name: "guessMin",
726
+ type: "uint256",
727
+ },
728
+ {
729
+ internalType: "uint256",
730
+ name: "guessMax",
731
+ type: "uint256",
732
+ },
733
+ {
734
+ internalType: "uint256",
735
+ name: "guessOffchain",
736
+ type: "uint256",
737
+ },
738
+ {
739
+ internalType: "uint256",
740
+ name: "maxIteration",
741
+ type: "uint256",
742
+ },
743
+ {
744
+ internalType: "uint256",
745
+ name: "eps",
746
+ type: "uint256",
747
+ },
748
+ ],
749
+ internalType: "struct ApproxParams",
750
+ name: "intParams",
751
+ type: "tuple",
752
+ },
753
+ ],
754
+ name: "searchForIntParam",
755
+ outputs: [
756
+ {
757
+ internalType: "uint256",
758
+ name: "",
759
+ type: "uint256",
760
+ },
761
+ ],
762
+ stateMutability: "pure",
763
+ type: "function",
764
+ },
765
+ {
766
+ inputs: [
767
+ {
768
+ components: [
769
+ {
770
+ internalType: "uint256",
771
+ name: "lpBalance",
772
+ type: "uint256",
773
+ },
774
+ {
775
+ internalType: "uint256",
776
+ name: "ytBalance",
777
+ type: "uint256",
778
+ },
779
+ {
780
+ internalType: "uint256",
781
+ name: "syBalance",
782
+ type: "uint256",
783
+ },
784
+ ],
785
+ internalType: "struct BotState",
786
+ name: "bot",
787
+ type: "tuple",
788
+ },
789
+ {
790
+ components: [
791
+ {
792
+ components: [
793
+ {
794
+ internalType: "int256",
795
+ name: "totalPt",
796
+ type: "int256",
797
+ },
798
+ {
799
+ internalType: "int256",
800
+ name: "totalSy",
801
+ type: "int256",
802
+ },
803
+ {
804
+ internalType: "int256",
805
+ name: "totalLp",
806
+ type: "int256",
807
+ },
808
+ {
809
+ internalType: "address",
810
+ name: "treasury",
811
+ type: "address",
812
+ },
813
+ {
814
+ internalType: "int256",
815
+ name: "scalarRoot",
816
+ type: "int256",
817
+ },
818
+ {
819
+ internalType: "uint256",
820
+ name: "expiry",
821
+ type: "uint256",
822
+ },
823
+ {
824
+ internalType: "uint256",
825
+ name: "lnFeeRateRoot",
826
+ type: "uint256",
827
+ },
828
+ {
829
+ internalType: "uint256",
830
+ name: "reserveFeePercent",
831
+ type: "uint256",
832
+ },
833
+ {
834
+ internalType: "uint256",
835
+ name: "lastLnImpliedRate",
836
+ type: "uint256",
837
+ },
838
+ ],
839
+ internalType: "struct MarketState",
840
+ name: "state",
841
+ type: "tuple",
842
+ },
843
+ {
844
+ internalType: "PYIndex",
845
+ name: "index",
846
+ type: "uint256",
847
+ },
848
+ {
849
+ internalType: "uint256",
850
+ name: "blockTime",
851
+ type: "uint256",
852
+ },
853
+ ],
854
+ internalType: "struct MarketExtState",
855
+ name: "marketExt",
856
+ type: "tuple",
857
+ },
858
+ {
859
+ components: [
860
+ {
861
+ internalType: "uint256",
862
+ name: "lowerIyLimit",
863
+ type: "uint256",
864
+ },
865
+ {
866
+ internalType: "uint256",
867
+ name: "upperIyLimit",
868
+ type: "uint256",
869
+ },
870
+ {
871
+ internalType: "uint256",
872
+ name: "floatingSyRatioLimit",
873
+ type: "uint256",
874
+ },
875
+ {
876
+ internalType: "uint256",
877
+ name: "floatingSyRatioTarget",
878
+ type: "uint256",
879
+ },
880
+ {
881
+ internalType: "uint256",
882
+ name: "ytPtRatioLimit",
883
+ type: "uint256",
884
+ },
885
+ {
886
+ internalType: "uint256",
887
+ name: "ytPtRatioTarget",
888
+ type: "uint256",
889
+ },
890
+ ],
891
+ internalType: "struct LongTradingSpecs",
892
+ name: "specs",
893
+ type: "tuple",
894
+ },
895
+ ],
896
+ name: "strategyState",
897
+ outputs: [
898
+ {
899
+ components: [
900
+ {
901
+ internalType: "enum StrategyFlag",
902
+ name: "iyFlag",
903
+ type: "uint8",
904
+ },
905
+ {
906
+ internalType: "enum StrategyFlag",
907
+ name: "syRatioFlag",
908
+ type: "uint8",
909
+ },
910
+ ],
911
+ internalType: "struct StrategyState",
912
+ name: "",
913
+ type: "tuple",
914
+ },
915
+ ],
916
+ stateMutability: "pure",
917
+ type: "function",
918
+ },
919
+ ];
920
+
921
+ export class IBotDecisionHelper__factory {
922
+ static readonly abi = _abi;
923
+ static createInterface(): IBotDecisionHelperInterface {
924
+ return new utils.Interface(_abi) as IBotDecisionHelperInterface;
925
+ }
926
+ static connect(
927
+ address: string,
928
+ signerOrProvider: Signer | Provider
929
+ ): IBotDecisionHelper {
930
+ return new Contract(address, _abi, signerOrProvider) as IBotDecisionHelper;
931
+ }
932
+ }