@pendle/core-v2 2.22.1 → 2.22.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (329) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethVethSY.sol/PendleAuraWethVethSY.dbg.json +4 -0
  43. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethVethSY.sol/PendleAuraWethVethSY.json +1166 -0
  44. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAPoolHelper.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAWethHelper.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol/LinearMath.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.dbg.json +1 -1
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.dbg.json +1 -1
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  75. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  76. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
  77. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
  78. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.dbg.json +1 -1
  79. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  80. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.dbg.json +1 -1
  81. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.dbg.json +1 -1
  82. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol/ThenaLpHelper.dbg.json +1 -1
  83. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.dbg.json +1 -1
  84. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/IThenaSY.dbg.json +1 -1
  85. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.dbg.json +1 -1
  86. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  87. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  88. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  89. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  90. package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
  91. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
  92. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
  93. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
  94. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  95. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  96. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  97. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  98. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  99. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  100. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  101. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  102. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  103. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  104. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  105. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  106. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  107. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/Ankr/IAnkrBNB.sol/IAnkrBNB.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/Ankr/IAnkrLiquidStaking.sol/IAnkrLiquidStaking.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/Balancer/IERC4626LinearPool.sol/IERC4626LinearPool.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/Camelot/ICamelotFactory.sol/ICamelotFactory.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTFactory.sol/ICamelotNFTFactory.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTHandler.sol/ICamelotNFTHandler.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/Camelot/ICamelotRouter.sol/ICamelotRouter.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/Camelot/ICamelotYieldBooster.sol/ICamelotYieldBooster.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/Camelot/IXGrail.sol/IXGrail.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/Frax/IFrxEthMinter.sol/IFrxEthMinter.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  144. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  147. package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +1 -1
  148. package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +1 -1
  149. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  150. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  151. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
  153. package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
  154. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  155. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  156. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  157. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  158. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  159. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  160. package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
  161. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  162. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  163. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  164. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  165. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  166. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  167. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
  168. package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +1 -1
  169. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  170. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  171. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  172. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  173. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  174. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  175. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  176. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  177. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  178. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  179. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  180. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  181. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  182. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  183. package/build/artifacts/contracts/interfaces/IPPtOracle.sol/IPPtOracle.dbg.json +1 -1
  184. package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
  185. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  186. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  187. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  188. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  189. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  190. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  191. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  192. package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.dbg.json +1 -1
  193. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  194. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  195. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  196. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  197. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  198. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  199. package/build/artifacts/contracts/interfaces/IStargateLP.sol/IStargateLP.dbg.json +1 -1
  200. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
  201. package/build/artifacts/contracts/interfaces/IStargateStaking.sol/IStargateStaking.dbg.json +1 -1
  202. package/build/artifacts/contracts/interfaces/ISwETH.sol/ISwETH.dbg.json +1 -1
  203. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  204. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  205. package/build/artifacts/contracts/interfaces/Thena/IThenaFactory.sol/IThenaFactory.dbg.json +1 -1
  206. package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.dbg.json +1 -1
  207. package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.dbg.json +1 -1
  208. package/build/artifacts/contracts/interfaces/Thena/IThenaRouter.sol/IThenaRouter.dbg.json +1 -1
  209. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  210. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  211. package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  212. package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  213. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  214. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  215. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  216. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
  217. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  218. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  219. package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.dbg.json +1 -1
  220. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  221. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  222. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  223. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  224. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  225. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  226. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  227. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  228. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  229. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
  230. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
  231. package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +1 -1
  232. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
  233. package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.dbg.json +1 -1
  234. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  235. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  236. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  237. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  238. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  239. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  240. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  241. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  242. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  243. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  244. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  245. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  246. package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +1 -1
  247. package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
  248. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  249. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  250. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  251. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
  252. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  253. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol/KyberInputScalingHelper.dbg.json +1 -1
  254. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
  255. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethVethSY.sol +147 -0
  256. package/package.json +1 -1
  257. package/typechain-types/BotActionCallback.ts +900 -0
  258. package/typechain-types/BotActionHelper.ts +950 -0
  259. package/typechain-types/BotDecisionHelper.ts +561 -0
  260. package/typechain-types/BotDecisionHelperBase.ts +484 -0
  261. package/typechain-types/BotDecisionLib.ts +335 -0
  262. package/typechain-types/{PendleCamelotV1RouterHelper.ts → CamelotV1LpHelper.ts} +75 -5
  263. package/typechain-types/{CamelotV1PreviewHelper.ts → CamelotV1Preview.ts} +23 -63
  264. package/typechain-types/IBotDecisionHelper.ts +452 -0
  265. package/typechain-types/ICamelotSY.ts +100 -0
  266. package/typechain-types/ILongYieldDecisionHelper.ts +486 -0
  267. package/typechain-types/ILongYieldTradingBot.ts +878 -0
  268. package/typechain-types/IPExternalRewardDistributor.ts +192 -0
  269. package/typechain-types/IPMarketFactoryV2.ts +253 -0
  270. package/typechain-types/IShortYieldDecisionHelper.ts +452 -0
  271. package/typechain-types/IShortYieldTradingBot.ts +770 -0
  272. package/typechain-types/ITradingBotBase.ts +569 -0
  273. package/typechain-types/LongYieldActionHelper.ts +900 -0
  274. package/typechain-types/LongYieldDecisionHelper.ts +601 -0
  275. package/typechain-types/LongYieldTradingBot.ts +1364 -0
  276. package/typechain-types/MarketExtLib.ts +81 -0
  277. package/typechain-types/PendleAuraWethVethSY.ts +1511 -0
  278. package/typechain-types/PendleBinanceEth.ts +1229 -0
  279. package/typechain-types/PendleCamelotV1SY.ts +245 -0
  280. package/typechain-types/PendleExternalRewardDistributor.ts +546 -0
  281. package/typechain-types/PendleGaugeV2.ts +225 -0
  282. package/typechain-types/PendleMarketFactoryV2.ts +930 -0
  283. package/typechain-types/PendleMarketV2.ts +1311 -0
  284. package/typechain-types/PendleSwETH.ts +1216 -0
  285. package/typechain-types/ShortYieldActionHelper.ts +856 -0
  286. package/typechain-types/ShortYieldDecisionHelper.ts +601 -0
  287. package/typechain-types/ShortYieldTradingBot.ts +1212 -0
  288. package/typechain-types/TradingBotBase.ts +856 -0
  289. package/typechain-types/TradingBotOffchain.ts +568 -0
  290. package/typechain-types/factories/BotActionCallback__factory.ts +830 -0
  291. package/typechain-types/factories/BotActionHelper__factory.ts +947 -0
  292. package/typechain-types/factories/BotDecisionHelperBase__factory.ts +808 -0
  293. package/typechain-types/factories/BotDecisionHelper__factory.ts +1192 -0
  294. package/typechain-types/factories/BotDecisionLib__factory.ts +642 -0
  295. package/typechain-types/factories/{PendleCamelotV1RouterHelper__factory.ts → CamelotV1LpHelper__factory.ts} +60 -12
  296. package/typechain-types/factories/CamelotV1Preview__factory.ts +309 -0
  297. package/typechain-types/factories/IBotDecisionHelper__factory.ts +667 -0
  298. package/typechain-types/factories/ICamelotSY__factory.ts +49 -0
  299. package/typechain-types/factories/ILongYieldDecisionHelper__factory.ts +690 -0
  300. package/typechain-types/factories/ILongYieldTradingBot__factory.ts +996 -0
  301. package/typechain-types/factories/IPExternalRewardDistributor__factory.ts +128 -0
  302. package/typechain-types/factories/IPMarketFactoryV2__factory.ts +181 -0
  303. package/typechain-types/factories/IShortYieldDecisionHelper__factory.ts +671 -0
  304. package/typechain-types/factories/IShortYieldTradingBot__factory.ts +977 -0
  305. package/typechain-types/factories/ITradingBotBase__factory.ts +530 -0
  306. package/typechain-types/factories/LongYieldActionHelper__factory.ts +834 -0
  307. package/typechain-types/factories/LongYieldDecisionHelper__factory.ts +1272 -0
  308. package/typechain-types/factories/LongYieldTradingBot__factory.ts +1637 -0
  309. package/typechain-types/factories/MarketExtLib__factory.ts +74 -0
  310. package/typechain-types/factories/PendleAuraWethVethSY__factory.ts +1231 -0
  311. package/typechain-types/factories/PendleBinanceEth__factory.ts +1052 -0
  312. package/typechain-types/factories/PendleCamelotV1SY__factory.ts +156 -9
  313. package/typechain-types/factories/PendleExternalRewardDistributor__factory.ts +414 -0
  314. package/typechain-types/factories/PendleGaugeV2__factory.ts +140 -0
  315. package/typechain-types/factories/PendleMarketFactoryV2__factory.ts +770 -0
  316. package/typechain-types/factories/PendleMarketV2__factory.ts +1290 -0
  317. package/typechain-types/factories/PendleSwETH__factory.ts +1022 -0
  318. package/typechain-types/factories/ShortYieldActionHelper__factory.ts +784 -0
  319. package/typechain-types/factories/ShortYieldDecisionHelper__factory.ts +1272 -0
  320. package/typechain-types/factories/ShortYieldTradingBot__factory.ts +1445 -0
  321. package/typechain-types/factories/TradingBotBase__factory.ts +780 -0
  322. package/typechain-types/factories/TradingBotOffchain__factory.ts +1133 -0
  323. package/typechain-types/hardhat.d.ts +153 -0
  324. package/typechain-types/index.ts +34 -0
  325. package/typechain-types/IPVotingEscrowSidechain.ts +0 -155
  326. package/typechain-types/PendleCamelotRewardHelper.ts +0 -347
  327. package/typechain-types/factories/CamelotV1PreviewHelper__factory.ts +0 -400
  328. package/typechain-types/factories/IPVotingEscrowSidechain__factory.ts +0 -112
  329. package/typechain-types/factories/PendleCamelotRewardHelper__factory.ts +0 -317
@@ -0,0 +1,996 @@
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
+ ILongYieldTradingBot,
9
+ ILongYieldTradingBotInterface,
10
+ } from "../ILongYieldTradingBot";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ components: [
18
+ {
19
+ internalType: "uint256",
20
+ name: "guessMin",
21
+ type: "uint256",
22
+ },
23
+ {
24
+ internalType: "uint256",
25
+ name: "guessMax",
26
+ type: "uint256",
27
+ },
28
+ {
29
+ internalType: "uint256",
30
+ name: "guessOffchain",
31
+ type: "uint256",
32
+ },
33
+ {
34
+ internalType: "uint256",
35
+ name: "maxIteration",
36
+ type: "uint256",
37
+ },
38
+ {
39
+ internalType: "uint256",
40
+ name: "eps",
41
+ type: "uint256",
42
+ },
43
+ ],
44
+ indexed: false,
45
+ internalType: "struct ApproxParams",
46
+ name: "botParams",
47
+ type: "tuple",
48
+ },
49
+ {
50
+ indexed: false,
51
+ internalType: "uint256",
52
+ name: "maxSyIn",
53
+ type: "uint256",
54
+ },
55
+ {
56
+ indexed: false,
57
+ internalType: "uint256",
58
+ name: "netSyIn",
59
+ type: "uint256",
60
+ },
61
+ {
62
+ indexed: false,
63
+ internalType: "uint256",
64
+ name: "netLpOut",
65
+ type: "uint256",
66
+ },
67
+ ],
68
+ name: "AddLiqFromSy",
69
+ type: "event",
70
+ },
71
+ {
72
+ anonymous: false,
73
+ inputs: [
74
+ {
75
+ components: [
76
+ {
77
+ internalType: "uint256",
78
+ name: "guessMin",
79
+ type: "uint256",
80
+ },
81
+ {
82
+ internalType: "uint256",
83
+ name: "guessMax",
84
+ type: "uint256",
85
+ },
86
+ {
87
+ internalType: "uint256",
88
+ name: "guessOffchain",
89
+ type: "uint256",
90
+ },
91
+ {
92
+ internalType: "uint256",
93
+ name: "maxIteration",
94
+ type: "uint256",
95
+ },
96
+ {
97
+ internalType: "uint256",
98
+ name: "eps",
99
+ type: "uint256",
100
+ },
101
+ ],
102
+ indexed: false,
103
+ internalType: "struct ApproxParams",
104
+ name: "botParams",
105
+ type: "tuple",
106
+ },
107
+ {
108
+ indexed: false,
109
+ internalType: "uint256",
110
+ name: "netYtIn",
111
+ type: "uint256",
112
+ },
113
+ {
114
+ indexed: false,
115
+ internalType: "uint256",
116
+ name: "netLpOut",
117
+ type: "uint256",
118
+ },
119
+ ],
120
+ name: "AddLiqFromYt",
121
+ type: "event",
122
+ },
123
+ {
124
+ anonymous: false,
125
+ inputs: [
126
+ {
127
+ indexed: false,
128
+ internalType: "uint256",
129
+ name: "netSyIn",
130
+ type: "uint256",
131
+ },
132
+ {
133
+ indexed: false,
134
+ internalType: "uint256",
135
+ name: "netLpOut",
136
+ type: "uint256",
137
+ },
138
+ {
139
+ indexed: false,
140
+ internalType: "uint256",
141
+ name: "netYtOut",
142
+ type: "uint256",
143
+ },
144
+ ],
145
+ name: "AddLiqKeepYt",
146
+ type: "event",
147
+ },
148
+ {
149
+ anonymous: false,
150
+ inputs: [
151
+ {
152
+ indexed: false,
153
+ internalType: "uint256",
154
+ name: "netSyOut",
155
+ type: "uint256",
156
+ },
157
+ {
158
+ indexed: false,
159
+ internalType: "uint256",
160
+ name: "netPendleOut",
161
+ type: "uint256",
162
+ },
163
+ ],
164
+ name: "ClaimAndCompound",
165
+ type: "event",
166
+ },
167
+ {
168
+ anonymous: false,
169
+ inputs: [
170
+ {
171
+ indexed: false,
172
+ internalType: "uint256",
173
+ name: "netSyIn",
174
+ type: "uint256",
175
+ },
176
+ ],
177
+ name: "DepositSy",
178
+ type: "event",
179
+ },
180
+ {
181
+ anonymous: false,
182
+ inputs: [
183
+ {
184
+ indexed: true,
185
+ internalType: "address",
186
+ name: "token",
187
+ type: "address",
188
+ },
189
+ {
190
+ indexed: false,
191
+ internalType: "uint256",
192
+ name: "netTokenIn",
193
+ type: "uint256",
194
+ },
195
+ ],
196
+ name: "DepositToken",
197
+ type: "event",
198
+ },
199
+ {
200
+ anonymous: false,
201
+ inputs: [
202
+ {
203
+ components: [
204
+ {
205
+ internalType: "uint256",
206
+ name: "guessMin",
207
+ type: "uint256",
208
+ },
209
+ {
210
+ internalType: "uint256",
211
+ name: "guessMax",
212
+ type: "uint256",
213
+ },
214
+ {
215
+ internalType: "uint256",
216
+ name: "guessOffchain",
217
+ type: "uint256",
218
+ },
219
+ {
220
+ internalType: "uint256",
221
+ name: "maxIteration",
222
+ type: "uint256",
223
+ },
224
+ {
225
+ internalType: "uint256",
226
+ name: "eps",
227
+ type: "uint256",
228
+ },
229
+ ],
230
+ indexed: false,
231
+ internalType: "struct ApproxParams",
232
+ name: "botParams",
233
+ type: "tuple",
234
+ },
235
+ {
236
+ indexed: false,
237
+ internalType: "uint256",
238
+ name: "netLpIn",
239
+ type: "uint256",
240
+ },
241
+ {
242
+ indexed: false,
243
+ internalType: "uint256",
244
+ name: "netYtOut",
245
+ type: "uint256",
246
+ },
247
+ ],
248
+ name: "RemoveLiqToYt",
249
+ type: "event",
250
+ },
251
+ {
252
+ anonymous: false,
253
+ inputs: [
254
+ {
255
+ components: [
256
+ {
257
+ internalType: "uint256",
258
+ name: "guessMin",
259
+ type: "uint256",
260
+ },
261
+ {
262
+ internalType: "uint256",
263
+ name: "guessMax",
264
+ type: "uint256",
265
+ },
266
+ {
267
+ internalType: "uint256",
268
+ name: "guessOffchain",
269
+ type: "uint256",
270
+ },
271
+ {
272
+ internalType: "uint256",
273
+ name: "maxIteration",
274
+ type: "uint256",
275
+ },
276
+ {
277
+ internalType: "uint256",
278
+ name: "eps",
279
+ type: "uint256",
280
+ },
281
+ ],
282
+ indexed: false,
283
+ internalType: "struct ApproxParams",
284
+ name: "botParams",
285
+ type: "tuple",
286
+ },
287
+ {
288
+ indexed: false,
289
+ internalType: "uint256",
290
+ name: "maxSyIn",
291
+ type: "uint256",
292
+ },
293
+ {
294
+ indexed: false,
295
+ internalType: "uint256",
296
+ name: "exactYtOut",
297
+ type: "uint256",
298
+ },
299
+ {
300
+ indexed: false,
301
+ internalType: "uint256",
302
+ name: "netSyIn",
303
+ type: "uint256",
304
+ },
305
+ ],
306
+ name: "SwapSyToYt",
307
+ type: "event",
308
+ },
309
+ {
310
+ anonymous: false,
311
+ inputs: [
312
+ {
313
+ indexed: true,
314
+ internalType: "address",
315
+ name: "token",
316
+ type: "address",
317
+ },
318
+ {
319
+ indexed: false,
320
+ internalType: "uint256",
321
+ name: "amount",
322
+ type: "uint256",
323
+ },
324
+ ],
325
+ name: "WithdrawFunds",
326
+ type: "event",
327
+ },
328
+ {
329
+ inputs: [
330
+ {
331
+ components: [
332
+ {
333
+ components: [
334
+ {
335
+ internalType: "uint256",
336
+ name: "guessMin",
337
+ type: "uint256",
338
+ },
339
+ {
340
+ internalType: "uint256",
341
+ name: "guessMax",
342
+ type: "uint256",
343
+ },
344
+ {
345
+ internalType: "uint256",
346
+ name: "guessOffchain",
347
+ type: "uint256",
348
+ },
349
+ {
350
+ internalType: "uint256",
351
+ name: "maxIteration",
352
+ type: "uint256",
353
+ },
354
+ {
355
+ internalType: "uint256",
356
+ name: "eps",
357
+ type: "uint256",
358
+ },
359
+ ],
360
+ internalType: "struct ApproxParams",
361
+ name: "botParams",
362
+ type: "tuple",
363
+ },
364
+ {
365
+ internalType: "uint256",
366
+ name: "minLpOut",
367
+ type: "uint256",
368
+ },
369
+ {
370
+ internalType: "uint256",
371
+ name: "targetIy",
372
+ type: "uint256",
373
+ },
374
+ {
375
+ internalType: "int256",
376
+ name: "currentBin",
377
+ type: "int256",
378
+ },
379
+ ],
380
+ internalType: "struct ILongYieldTradingBot.AddLiqFromYtInput",
381
+ name: "inputParams",
382
+ type: "tuple",
383
+ },
384
+ ],
385
+ name: "addLiqFromYt",
386
+ outputs: [
387
+ {
388
+ internalType: "uint256",
389
+ name: "netPtFromSwap",
390
+ type: "uint256",
391
+ },
392
+ {
393
+ internalType: "uint256",
394
+ name: "netLpOut",
395
+ type: "uint256",
396
+ },
397
+ {
398
+ internalType: "uint256",
399
+ name: "netYtIn",
400
+ type: "uint256",
401
+ },
402
+ ],
403
+ stateMutability: "nonpayable",
404
+ type: "function",
405
+ },
406
+ {
407
+ inputs: [
408
+ {
409
+ internalType: "uint256",
410
+ name: "netSyIn",
411
+ type: "uint256",
412
+ },
413
+ {
414
+ internalType: "uint256",
415
+ name: "minLpOut",
416
+ type: "uint256",
417
+ },
418
+ {
419
+ internalType: "uint256",
420
+ name: "minYtOut",
421
+ type: "uint256",
422
+ },
423
+ ],
424
+ name: "addLiqKeepYt",
425
+ outputs: [
426
+ {
427
+ internalType: "uint256",
428
+ name: "netLpOut",
429
+ type: "uint256",
430
+ },
431
+ {
432
+ internalType: "uint256",
433
+ name: "netYtOut",
434
+ type: "uint256",
435
+ },
436
+ ],
437
+ stateMutability: "nonpayable",
438
+ type: "function",
439
+ },
440
+ {
441
+ inputs: [
442
+ {
443
+ components: [
444
+ {
445
+ internalType: "address[]",
446
+ name: "tokens",
447
+ type: "address[]",
448
+ },
449
+ {
450
+ internalType: "address",
451
+ name: "spender",
452
+ type: "address",
453
+ },
454
+ ],
455
+ internalType: "struct ITradingBotBase.MultiApproval[]",
456
+ name: "arr",
457
+ type: "tuple[]",
458
+ },
459
+ ],
460
+ name: "approveInf",
461
+ outputs: [],
462
+ stateMutability: "nonpayable",
463
+ type: "function",
464
+ },
465
+ {
466
+ inputs: [
467
+ {
468
+ components: [
469
+ {
470
+ internalType: "address",
471
+ name: "tokenIn",
472
+ type: "address",
473
+ },
474
+ {
475
+ internalType: "uint256",
476
+ name: "netTokenIn",
477
+ type: "uint256",
478
+ },
479
+ {
480
+ internalType: "address",
481
+ name: "tokenMintSy",
482
+ type: "address",
483
+ },
484
+ {
485
+ internalType: "address",
486
+ name: "bulk",
487
+ type: "address",
488
+ },
489
+ {
490
+ internalType: "address",
491
+ name: "pendleSwap",
492
+ type: "address",
493
+ },
494
+ {
495
+ components: [
496
+ {
497
+ internalType: "enum SwapType",
498
+ name: "swapType",
499
+ type: "uint8",
500
+ },
501
+ {
502
+ internalType: "address",
503
+ name: "extRouter",
504
+ type: "address",
505
+ },
506
+ {
507
+ internalType: "bytes",
508
+ name: "extCalldata",
509
+ type: "bytes",
510
+ },
511
+ {
512
+ internalType: "bool",
513
+ name: "needScale",
514
+ type: "bool",
515
+ },
516
+ ],
517
+ internalType: "struct SwapData",
518
+ name: "swapData",
519
+ type: "tuple",
520
+ },
521
+ ],
522
+ internalType: "struct TokenInput[]",
523
+ name: "inps",
524
+ type: "tuple[]",
525
+ },
526
+ {
527
+ internalType: "uint256",
528
+ name: "minSyOut",
529
+ type: "uint256",
530
+ },
531
+ ],
532
+ name: "claimAndCompound",
533
+ outputs: [
534
+ {
535
+ internalType: "uint256",
536
+ name: "netSyOut",
537
+ type: "uint256",
538
+ },
539
+ {
540
+ internalType: "uint256",
541
+ name: "netPendleOut",
542
+ type: "uint256",
543
+ },
544
+ ],
545
+ stateMutability: "nonpayable",
546
+ type: "function",
547
+ },
548
+ {
549
+ inputs: [],
550
+ name: "claimWithoutCompound",
551
+ outputs: [
552
+ {
553
+ components: [
554
+ {
555
+ internalType: "address",
556
+ name: "token",
557
+ type: "address",
558
+ },
559
+ {
560
+ internalType: "uint256",
561
+ name: "amount",
562
+ type: "uint256",
563
+ },
564
+ ],
565
+ internalType: "struct TokenAmount[]",
566
+ name: "rewards",
567
+ type: "tuple[]",
568
+ },
569
+ ],
570
+ stateMutability: "nonpayable",
571
+ type: "function",
572
+ },
573
+ {
574
+ inputs: [
575
+ {
576
+ internalType: "uint256",
577
+ name: "netSyIn",
578
+ type: "uint256",
579
+ },
580
+ ],
581
+ name: "depositSy",
582
+ outputs: [],
583
+ stateMutability: "nonpayable",
584
+ type: "function",
585
+ },
586
+ {
587
+ inputs: [
588
+ {
589
+ components: [
590
+ {
591
+ internalType: "address",
592
+ name: "tokenIn",
593
+ type: "address",
594
+ },
595
+ {
596
+ internalType: "uint256",
597
+ name: "netTokenIn",
598
+ type: "uint256",
599
+ },
600
+ {
601
+ internalType: "address",
602
+ name: "tokenMintSy",
603
+ type: "address",
604
+ },
605
+ {
606
+ internalType: "address",
607
+ name: "bulk",
608
+ type: "address",
609
+ },
610
+ {
611
+ internalType: "address",
612
+ name: "pendleSwap",
613
+ type: "address",
614
+ },
615
+ {
616
+ components: [
617
+ {
618
+ internalType: "enum SwapType",
619
+ name: "swapType",
620
+ type: "uint8",
621
+ },
622
+ {
623
+ internalType: "address",
624
+ name: "extRouter",
625
+ type: "address",
626
+ },
627
+ {
628
+ internalType: "bytes",
629
+ name: "extCalldata",
630
+ type: "bytes",
631
+ },
632
+ {
633
+ internalType: "bool",
634
+ name: "needScale",
635
+ type: "bool",
636
+ },
637
+ ],
638
+ internalType: "struct SwapData",
639
+ name: "swapData",
640
+ type: "tuple",
641
+ },
642
+ ],
643
+ internalType: "struct TokenInput",
644
+ name: "inp",
645
+ type: "tuple",
646
+ },
647
+ {
648
+ internalType: "uint256",
649
+ name: "minSyOut",
650
+ type: "uint256",
651
+ },
652
+ ],
653
+ name: "depositToken",
654
+ outputs: [],
655
+ stateMutability: "payable",
656
+ type: "function",
657
+ },
658
+ {
659
+ inputs: [],
660
+ name: "readStrategyData",
661
+ outputs: [
662
+ {
663
+ components: [
664
+ {
665
+ components: [
666
+ {
667
+ internalType: "uint256",
668
+ name: "lpBalance",
669
+ type: "uint256",
670
+ },
671
+ {
672
+ internalType: "uint256",
673
+ name: "ytBalance",
674
+ type: "uint256",
675
+ },
676
+ {
677
+ internalType: "uint256",
678
+ name: "ptBalance",
679
+ type: "uint256",
680
+ },
681
+ {
682
+ internalType: "uint256",
683
+ name: "syBalance",
684
+ type: "uint256",
685
+ },
686
+ {
687
+ internalType: "uint256",
688
+ name: "buyBins",
689
+ type: "uint256",
690
+ },
691
+ ],
692
+ internalType: "struct BotState",
693
+ name: "botState",
694
+ type: "tuple",
695
+ },
696
+ {
697
+ components: [
698
+ {
699
+ components: [
700
+ {
701
+ internalType: "int256",
702
+ name: "totalPt",
703
+ type: "int256",
704
+ },
705
+ {
706
+ internalType: "int256",
707
+ name: "totalSy",
708
+ type: "int256",
709
+ },
710
+ {
711
+ internalType: "int256",
712
+ name: "totalLp",
713
+ type: "int256",
714
+ },
715
+ {
716
+ internalType: "address",
717
+ name: "treasury",
718
+ type: "address",
719
+ },
720
+ {
721
+ internalType: "int256",
722
+ name: "scalarRoot",
723
+ type: "int256",
724
+ },
725
+ {
726
+ internalType: "uint256",
727
+ name: "expiry",
728
+ type: "uint256",
729
+ },
730
+ {
731
+ internalType: "uint256",
732
+ name: "lnFeeRateRoot",
733
+ type: "uint256",
734
+ },
735
+ {
736
+ internalType: "uint256",
737
+ name: "reserveFeePercent",
738
+ type: "uint256",
739
+ },
740
+ {
741
+ internalType: "uint256",
742
+ name: "lastLnImpliedRate",
743
+ type: "uint256",
744
+ },
745
+ ],
746
+ internalType: "struct MarketState",
747
+ name: "state",
748
+ type: "tuple",
749
+ },
750
+ {
751
+ internalType: "PYIndex",
752
+ name: "index",
753
+ type: "uint256",
754
+ },
755
+ {
756
+ internalType: "uint256",
757
+ name: "blockTime",
758
+ type: "uint256",
759
+ },
760
+ ],
761
+ internalType: "struct MarketExtState",
762
+ name: "marketExt",
763
+ type: "tuple",
764
+ },
765
+ {
766
+ components: [
767
+ {
768
+ internalType: "uint256",
769
+ name: "buyYtIy",
770
+ type: "uint256",
771
+ },
772
+ {
773
+ internalType: "uint256",
774
+ name: "sellYtIy",
775
+ type: "uint256",
776
+ },
777
+ {
778
+ internalType: "uint256",
779
+ name: "targetSyRatio",
780
+ type: "uint256",
781
+ },
782
+ {
783
+ internalType: "uint256",
784
+ name: "maxSyRatio",
785
+ type: "uint256",
786
+ },
787
+ {
788
+ internalType: "uint256",
789
+ name: "targetYtPtRatio",
790
+ type: "uint256",
791
+ },
792
+ {
793
+ internalType: "uint256",
794
+ name: "numOfBins",
795
+ type: "uint256",
796
+ },
797
+ ],
798
+ internalType: "struct TradingSpecs",
799
+ name: "specs",
800
+ type: "tuple",
801
+ },
802
+ ],
803
+ internalType: "struct StrategyData",
804
+ name: "strategyData",
805
+ type: "tuple",
806
+ },
807
+ ],
808
+ stateMutability: "nonpayable",
809
+ type: "function",
810
+ },
811
+ {
812
+ inputs: [
813
+ {
814
+ components: [
815
+ {
816
+ components: [
817
+ {
818
+ internalType: "uint256",
819
+ name: "guessMin",
820
+ type: "uint256",
821
+ },
822
+ {
823
+ internalType: "uint256",
824
+ name: "guessMax",
825
+ type: "uint256",
826
+ },
827
+ {
828
+ internalType: "uint256",
829
+ name: "guessOffchain",
830
+ type: "uint256",
831
+ },
832
+ {
833
+ internalType: "uint256",
834
+ name: "maxIteration",
835
+ type: "uint256",
836
+ },
837
+ {
838
+ internalType: "uint256",
839
+ name: "eps",
840
+ type: "uint256",
841
+ },
842
+ ],
843
+ internalType: "struct ApproxParams",
844
+ name: "botParams",
845
+ type: "tuple",
846
+ },
847
+ {
848
+ components: [
849
+ {
850
+ internalType: "uint256",
851
+ name: "guessMin",
852
+ type: "uint256",
853
+ },
854
+ {
855
+ internalType: "uint256",
856
+ name: "guessMax",
857
+ type: "uint256",
858
+ },
859
+ {
860
+ internalType: "uint256",
861
+ name: "guessOffchain",
862
+ type: "uint256",
863
+ },
864
+ {
865
+ internalType: "uint256",
866
+ name: "maxIteration",
867
+ type: "uint256",
868
+ },
869
+ {
870
+ internalType: "uint256",
871
+ name: "eps",
872
+ type: "uint256",
873
+ },
874
+ ],
875
+ internalType: "struct ApproxParams",
876
+ name: "guessTotalPtToSwap",
877
+ type: "tuple",
878
+ },
879
+ {
880
+ internalType: "uint256",
881
+ name: "minYtOut",
882
+ type: "uint256",
883
+ },
884
+ {
885
+ internalType: "uint256",
886
+ name: "targetIy",
887
+ type: "uint256",
888
+ },
889
+ {
890
+ internalType: "int256",
891
+ name: "currentBin",
892
+ type: "int256",
893
+ },
894
+ ],
895
+ internalType: "struct ILongYieldTradingBot.RemoveLiqToYtInput",
896
+ name: "inputParams",
897
+ type: "tuple",
898
+ },
899
+ ],
900
+ name: "removeLiqToYt",
901
+ outputs: [
902
+ {
903
+ internalType: "uint256",
904
+ name: "netLpRemoved",
905
+ type: "uint256",
906
+ },
907
+ {
908
+ internalType: "uint256",
909
+ name: "netYtOut",
910
+ type: "uint256",
911
+ },
912
+ ],
913
+ stateMutability: "nonpayable",
914
+ type: "function",
915
+ },
916
+ {
917
+ inputs: [
918
+ {
919
+ components: [
920
+ {
921
+ internalType: "uint256",
922
+ name: "buyYtIy",
923
+ type: "uint256",
924
+ },
925
+ {
926
+ internalType: "uint256",
927
+ name: "sellYtIy",
928
+ type: "uint256",
929
+ },
930
+ {
931
+ internalType: "uint256",
932
+ name: "targetSyRatio",
933
+ type: "uint256",
934
+ },
935
+ {
936
+ internalType: "uint256",
937
+ name: "maxSyRatio",
938
+ type: "uint256",
939
+ },
940
+ {
941
+ internalType: "uint256",
942
+ name: "targetYtPtRatio",
943
+ type: "uint256",
944
+ },
945
+ {
946
+ internalType: "uint256",
947
+ name: "numOfBins",
948
+ type: "uint256",
949
+ },
950
+ ],
951
+ internalType: "struct TradingSpecs",
952
+ name: "_specs",
953
+ type: "tuple",
954
+ },
955
+ ],
956
+ name: "setSpecs",
957
+ outputs: [],
958
+ stateMutability: "nonpayable",
959
+ type: "function",
960
+ },
961
+ {
962
+ inputs: [
963
+ {
964
+ internalType: "address",
965
+ name: "token",
966
+ type: "address",
967
+ },
968
+ {
969
+ internalType: "uint256",
970
+ name: "amount",
971
+ type: "uint256",
972
+ },
973
+ ],
974
+ name: "withdrawFunds",
975
+ outputs: [],
976
+ stateMutability: "nonpayable",
977
+ type: "function",
978
+ },
979
+ ];
980
+
981
+ export class ILongYieldTradingBot__factory {
982
+ static readonly abi = _abi;
983
+ static createInterface(): ILongYieldTradingBotInterface {
984
+ return new utils.Interface(_abi) as ILongYieldTradingBotInterface;
985
+ }
986
+ static connect(
987
+ address: string,
988
+ signerOrProvider: Signer | Provider
989
+ ): ILongYieldTradingBot {
990
+ return new Contract(
991
+ address,
992
+ _abi,
993
+ signerOrProvider
994
+ ) as ILongYieldTradingBot;
995
+ }
996
+ }