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