@pendle/core-v2 2.23.0 → 2.23.1

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 (336) 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/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.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 +1 -1
  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/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  217. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  218. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
  219. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  220. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  221. package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.dbg.json +1 -1
  222. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  223. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  224. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  225. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  226. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  227. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  228. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  229. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  230. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  231. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
  232. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
  233. package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +1 -1
  234. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
  235. package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.dbg.json +1 -1
  236. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  237. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  238. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  239. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  240. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  241. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  242. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  243. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  244. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  245. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  246. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  247. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  248. package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +1 -1
  249. package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
  250. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  251. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  252. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  253. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
  254. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  255. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol/KyberInputScalingHelper.dbg.json +1 -1
  256. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
  257. package/deployments/merkle-distribution/2023-07-27.json +5525 -0
  258. package/package.json +1 -1
  259. package/typechain-types/BotActionCallback.ts +900 -0
  260. package/typechain-types/BotActionHelper.ts +950 -0
  261. package/typechain-types/BotDecisionHelper.ts +561 -0
  262. package/typechain-types/BotDecisionHelperBase.ts +484 -0
  263. package/typechain-types/BotDecisionLib.ts +335 -0
  264. package/typechain-types/CamelotV1LpHelper.ts +203 -0
  265. package/typechain-types/CamelotV1Preview.ts +431 -0
  266. package/typechain-types/IBotDecisionHelper.ts +452 -0
  267. package/typechain-types/ICamelotSY.ts +100 -0
  268. package/typechain-types/IExecutorHelper1.ts +643 -0
  269. package/typechain-types/IExecutorHelper2.ts +115 -0
  270. package/typechain-types/IExecutorHelperEthereum1.ts +643 -0
  271. package/typechain-types/IHashflow.ts +159 -0
  272. package/typechain-types/ILongYieldDecisionHelper.ts +486 -0
  273. package/typechain-types/ILongYieldTradingBot.ts +878 -0
  274. package/typechain-types/IPExternalRewardDistributor.ts +198 -0
  275. package/typechain-types/IPMarketFactoryV2.ts +253 -0
  276. package/typechain-types/IShortYieldDecisionHelper.ts +452 -0
  277. package/typechain-types/IShortYieldTradingBot.ts +770 -0
  278. package/typechain-types/ITradingBotBase.ts +569 -0
  279. package/typechain-types/LongYieldActionHelper.ts +900 -0
  280. package/typechain-types/LongYieldDecisionHelper.ts +601 -0
  281. package/typechain-types/LongYieldTradingBot.ts +1364 -0
  282. package/typechain-types/MarketExtLib.ts +81 -0
  283. package/typechain-types/PendleBinanceEth.ts +1229 -0
  284. package/typechain-types/PendleCamelotV1SY.ts +1961 -0
  285. package/typechain-types/PendleExternalRewardDistributor.ts +547 -0
  286. package/typechain-types/PendleGaugeV2.ts +225 -0
  287. package/typechain-types/PendleMarketFactoryV2.ts +930 -0
  288. package/typechain-types/PendleMarketV2.ts +1311 -0
  289. package/typechain-types/PendleSwETH.ts +1216 -0
  290. package/typechain-types/PendleSwapArbitrum.ts +126 -0
  291. package/typechain-types/PendleSwapEthereum.ts +126 -0
  292. package/typechain-types/ShortYieldActionHelper.ts +856 -0
  293. package/typechain-types/ShortYieldDecisionHelper.ts +601 -0
  294. package/typechain-types/ShortYieldTradingBot.ts +1212 -0
  295. package/typechain-types/TradingBotBase.ts +856 -0
  296. package/typechain-types/TradingBotOffchain.ts +568 -0
  297. package/typechain-types/factories/BotActionCallback__factory.ts +830 -0
  298. package/typechain-types/factories/BotActionHelper__factory.ts +947 -0
  299. package/typechain-types/factories/BotDecisionHelperBase__factory.ts +808 -0
  300. package/typechain-types/factories/BotDecisionHelper__factory.ts +1192 -0
  301. package/typechain-types/factories/BotDecisionLib__factory.ts +642 -0
  302. package/typechain-types/factories/CamelotV1LpHelper__factory.ts +143 -0
  303. package/typechain-types/factories/CamelotV1Preview__factory.ts +309 -0
  304. package/typechain-types/factories/IBotDecisionHelper__factory.ts +667 -0
  305. package/typechain-types/factories/ICamelotSY__factory.ts +49 -0
  306. package/typechain-types/factories/IExecutorHelper1__factory.ts +403 -0
  307. package/typechain-types/factories/IExecutorHelper2__factory.ts +55 -0
  308. package/typechain-types/factories/IExecutorHelperEthereum1__factory.ts +407 -0
  309. package/typechain-types/factories/IHashflow__factory.ts +113 -0
  310. package/typechain-types/factories/ILongYieldDecisionHelper__factory.ts +690 -0
  311. package/typechain-types/factories/ILongYieldTradingBot__factory.ts +996 -0
  312. package/typechain-types/factories/IPExternalRewardDistributor__factory.ts +128 -0
  313. package/typechain-types/factories/IPMarketFactoryV2__factory.ts +181 -0
  314. package/typechain-types/factories/IShortYieldDecisionHelper__factory.ts +671 -0
  315. package/typechain-types/factories/IShortYieldTradingBot__factory.ts +977 -0
  316. package/typechain-types/factories/ITradingBotBase__factory.ts +530 -0
  317. package/typechain-types/factories/LongYieldActionHelper__factory.ts +834 -0
  318. package/typechain-types/factories/LongYieldDecisionHelper__factory.ts +1272 -0
  319. package/typechain-types/factories/LongYieldTradingBot__factory.ts +1637 -0
  320. package/typechain-types/factories/MarketExtLib__factory.ts +74 -0
  321. package/typechain-types/factories/PendleBinanceEth__factory.ts +1052 -0
  322. package/typechain-types/factories/PendleCamelotV1SY__factory.ts +1595 -0
  323. package/typechain-types/factories/PendleExternalRewardDistributor__factory.ts +409 -0
  324. package/typechain-types/factories/PendleGaugeV2__factory.ts +140 -0
  325. package/typechain-types/factories/PendleMarketFactoryV2__factory.ts +770 -0
  326. package/typechain-types/factories/PendleMarketV2__factory.ts +1290 -0
  327. package/typechain-types/factories/PendleSwETH__factory.ts +1022 -0
  328. package/typechain-types/factories/PendleSwapArbitrum__factory.ts +129 -0
  329. package/typechain-types/factories/PendleSwapEthereum__factory.ts +129 -0
  330. package/typechain-types/factories/ShortYieldActionHelper__factory.ts +784 -0
  331. package/typechain-types/factories/ShortYieldDecisionHelper__factory.ts +1272 -0
  332. package/typechain-types/factories/ShortYieldTradingBot__factory.ts +1445 -0
  333. package/typechain-types/factories/TradingBotBase__factory.ts +780 -0
  334. package/typechain-types/factories/TradingBotOffchain__factory.ts +1133 -0
  335. package/typechain-types/hardhat.d.ts +72 -0
  336. package/typechain-types/index.ts +16 -0
@@ -0,0 +1,1212 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import {
5
+ BaseContract,
6
+ BigNumber,
7
+ BigNumberish,
8
+ BytesLike,
9
+ CallOverrides,
10
+ ContractTransaction,
11
+ Overrides,
12
+ PayableOverrides,
13
+ PopulatedTransaction,
14
+ Signer,
15
+ utils,
16
+ } from "ethers";
17
+ import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
18
+ import { Listener, Provider } from "@ethersproject/providers";
19
+ import type {
20
+ TypedEventFilter,
21
+ TypedEvent,
22
+ TypedListener,
23
+ OnEvent,
24
+ } from "./common";
25
+
26
+ export type ApproxParamsStruct = {
27
+ guessMin: BigNumberish;
28
+ guessMax: BigNumberish;
29
+ guessOffchain: BigNumberish;
30
+ maxIteration: BigNumberish;
31
+ eps: BigNumberish;
32
+ };
33
+
34
+ export type ApproxParamsStructOutput = [
35
+ BigNumber,
36
+ BigNumber,
37
+ BigNumber,
38
+ BigNumber,
39
+ BigNumber
40
+ ] & {
41
+ guessMin: BigNumber;
42
+ guessMax: BigNumber;
43
+ guessOffchain: BigNumber;
44
+ maxIteration: BigNumber;
45
+ eps: BigNumber;
46
+ };
47
+
48
+ export type SwapDataStruct = {
49
+ swapType: BigNumberish;
50
+ extRouter: string;
51
+ extCalldata: BytesLike;
52
+ needScale: boolean;
53
+ };
54
+
55
+ export type SwapDataStructOutput = [number, string, string, boolean] & {
56
+ swapType: number;
57
+ extRouter: string;
58
+ extCalldata: string;
59
+ needScale: boolean;
60
+ };
61
+
62
+ export type TokenInputStruct = {
63
+ tokenIn: string;
64
+ netTokenIn: BigNumberish;
65
+ tokenMintSy: string;
66
+ bulk: string;
67
+ pendleSwap: string;
68
+ swapData: SwapDataStruct;
69
+ };
70
+
71
+ export type TokenInputStructOutput = [
72
+ string,
73
+ BigNumber,
74
+ string,
75
+ string,
76
+ string,
77
+ SwapDataStructOutput
78
+ ] & {
79
+ tokenIn: string;
80
+ netTokenIn: BigNumber;
81
+ tokenMintSy: string;
82
+ bulk: string;
83
+ pendleSwap: string;
84
+ swapData: SwapDataStructOutput;
85
+ };
86
+
87
+ export type TokenAmountStruct = { token: string; amount: BigNumberish };
88
+
89
+ export type TokenAmountStructOutput = [string, BigNumber] & {
90
+ token: string;
91
+ amount: BigNumber;
92
+ };
93
+
94
+ export type TradingSpecsStruct = {
95
+ buyYtIy: BigNumberish;
96
+ sellYtIy: BigNumberish;
97
+ targetSyRatio: BigNumberish;
98
+ maxSyRatio: BigNumberish;
99
+ targetYtPtRatio: BigNumberish;
100
+ numOfBins: BigNumberish;
101
+ };
102
+
103
+ export type TradingSpecsStructOutput = [
104
+ BigNumber,
105
+ BigNumber,
106
+ BigNumber,
107
+ BigNumber,
108
+ BigNumber,
109
+ BigNumber
110
+ ] & {
111
+ buyYtIy: BigNumber;
112
+ sellYtIy: BigNumber;
113
+ targetSyRatio: BigNumber;
114
+ maxSyRatio: BigNumber;
115
+ targetYtPtRatio: BigNumber;
116
+ numOfBins: BigNumber;
117
+ };
118
+
119
+ export type BotStateStruct = {
120
+ lpBalance: BigNumberish;
121
+ ytBalance: BigNumberish;
122
+ ptBalance: BigNumberish;
123
+ syBalance: BigNumberish;
124
+ buyBins: BigNumberish;
125
+ };
126
+
127
+ export type BotStateStructOutput = [
128
+ BigNumber,
129
+ BigNumber,
130
+ BigNumber,
131
+ BigNumber,
132
+ BigNumber
133
+ ] & {
134
+ lpBalance: BigNumber;
135
+ ytBalance: BigNumber;
136
+ ptBalance: BigNumber;
137
+ syBalance: BigNumber;
138
+ buyBins: BigNumber;
139
+ };
140
+
141
+ export type MarketStateStruct = {
142
+ totalPt: BigNumberish;
143
+ totalSy: BigNumberish;
144
+ totalLp: BigNumberish;
145
+ treasury: string;
146
+ scalarRoot: BigNumberish;
147
+ expiry: BigNumberish;
148
+ lnFeeRateRoot: BigNumberish;
149
+ reserveFeePercent: BigNumberish;
150
+ lastLnImpliedRate: BigNumberish;
151
+ };
152
+
153
+ export type MarketStateStructOutput = [
154
+ BigNumber,
155
+ BigNumber,
156
+ BigNumber,
157
+ string,
158
+ BigNumber,
159
+ BigNumber,
160
+ BigNumber,
161
+ BigNumber,
162
+ BigNumber
163
+ ] & {
164
+ totalPt: BigNumber;
165
+ totalSy: BigNumber;
166
+ totalLp: BigNumber;
167
+ treasury: string;
168
+ scalarRoot: BigNumber;
169
+ expiry: BigNumber;
170
+ lnFeeRateRoot: BigNumber;
171
+ reserveFeePercent: BigNumber;
172
+ lastLnImpliedRate: BigNumber;
173
+ };
174
+
175
+ export type MarketExtStateStruct = {
176
+ state: MarketStateStruct;
177
+ index: BigNumberish;
178
+ blockTime: BigNumberish;
179
+ };
180
+
181
+ export type MarketExtStateStructOutput = [
182
+ MarketStateStructOutput,
183
+ BigNumber,
184
+ BigNumber
185
+ ] & { state: MarketStateStructOutput; index: BigNumber; blockTime: BigNumber };
186
+
187
+ export type StrategyDataStruct = {
188
+ botState: BotStateStruct;
189
+ marketExt: MarketExtStateStruct;
190
+ specs: TradingSpecsStruct;
191
+ };
192
+
193
+ export type StrategyDataStructOutput = [
194
+ BotStateStructOutput,
195
+ MarketExtStateStructOutput,
196
+ TradingSpecsStructOutput
197
+ ] & {
198
+ botState: BotStateStructOutput;
199
+ marketExt: MarketExtStateStructOutput;
200
+ specs: TradingSpecsStructOutput;
201
+ };
202
+
203
+ export declare namespace IShortYieldTradingBot {
204
+ export type SwapInputStruct = {
205
+ botParams: ApproxParamsStruct;
206
+ guessTotalPtToSwap: ApproxParamsStruct;
207
+ minAmountOut: BigNumberish;
208
+ targetIy: BigNumberish;
209
+ currentBin: BigNumberish;
210
+ };
211
+
212
+ export type SwapInputStructOutput = [
213
+ ApproxParamsStructOutput,
214
+ ApproxParamsStructOutput,
215
+ BigNumber,
216
+ BigNumber,
217
+ BigNumber
218
+ ] & {
219
+ botParams: ApproxParamsStructOutput;
220
+ guessTotalPtToSwap: ApproxParamsStructOutput;
221
+ minAmountOut: BigNumber;
222
+ targetIy: BigNumber;
223
+ currentBin: BigNumber;
224
+ };
225
+ }
226
+
227
+ export declare namespace ITradingBotBase {
228
+ export type MultiApprovalStruct = { tokens: string[]; spender: string };
229
+
230
+ export type MultiApprovalStructOutput = [string[], string] & {
231
+ tokens: string[];
232
+ spender: string;
233
+ };
234
+ }
235
+
236
+ export interface ShortYieldTradingBotInterface extends utils.Interface {
237
+ contractName: "ShortYieldTradingBot";
238
+ functions: {
239
+ "PENDLE()": FunctionFragment;
240
+ "PT()": FunctionFragment;
241
+ "SY()": FunctionFragment;
242
+ "YT()": FunctionFragment;
243
+ "approveInf((address[],address)[])": FunctionFragment;
244
+ "buyBins()": FunctionFragment;
245
+ "claimAndCompound((address,uint256,address,address,address,(uint8,address,bytes,bool))[],uint256)": FunctionFragment;
246
+ "claimOwnership()": FunctionFragment;
247
+ "claimWithoutCompound()": FunctionFragment;
248
+ "decisionHelper()": FunctionFragment;
249
+ "depositSy(uint256)": FunctionFragment;
250
+ "depositToken((address,uint256,address,address,address,(uint8,address,bytes,bool)),uint256)": FunctionFragment;
251
+ "initialize((uint256,uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
252
+ "market()": FunctionFragment;
253
+ "mintPY(uint256,uint256)": FunctionFragment;
254
+ "owner()": FunctionFragment;
255
+ "pendingOwner()": FunctionFragment;
256
+ "proxiableUUID()": FunctionFragment;
257
+ "readStrategyData()": FunctionFragment;
258
+ "router()": FunctionFragment;
259
+ "setSpecs((uint256,uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
260
+ "specs()": FunctionFragment;
261
+ "swapPtForYt(((uint256,uint256,uint256,uint256,uint256),(uint256,uint256,uint256,uint256,uint256),uint256,uint256,int256))": FunctionFragment;
262
+ "swapYtForPt(((uint256,uint256,uint256,uint256,uint256),(uint256,uint256,uint256,uint256,uint256),uint256,uint256,int256))": FunctionFragment;
263
+ "transferOwnership(address,bool,bool)": FunctionFragment;
264
+ "upgradeTo(address)": FunctionFragment;
265
+ "upgradeToAndCall(address,bytes)": FunctionFragment;
266
+ "withdrawFunds(address,uint256)": FunctionFragment;
267
+ };
268
+
269
+ encodeFunctionData(functionFragment: "PENDLE", values?: undefined): string;
270
+ encodeFunctionData(functionFragment: "PT", values?: undefined): string;
271
+ encodeFunctionData(functionFragment: "SY", values?: undefined): string;
272
+ encodeFunctionData(functionFragment: "YT", values?: undefined): string;
273
+ encodeFunctionData(
274
+ functionFragment: "approveInf",
275
+ values: [ITradingBotBase.MultiApprovalStruct[]]
276
+ ): string;
277
+ encodeFunctionData(functionFragment: "buyBins", values?: undefined): string;
278
+ encodeFunctionData(
279
+ functionFragment: "claimAndCompound",
280
+ values: [TokenInputStruct[], BigNumberish]
281
+ ): string;
282
+ encodeFunctionData(
283
+ functionFragment: "claimOwnership",
284
+ values?: undefined
285
+ ): string;
286
+ encodeFunctionData(
287
+ functionFragment: "claimWithoutCompound",
288
+ values?: undefined
289
+ ): string;
290
+ encodeFunctionData(
291
+ functionFragment: "decisionHelper",
292
+ values?: undefined
293
+ ): string;
294
+ encodeFunctionData(
295
+ functionFragment: "depositSy",
296
+ values: [BigNumberish]
297
+ ): string;
298
+ encodeFunctionData(
299
+ functionFragment: "depositToken",
300
+ values: [TokenInputStruct, BigNumberish]
301
+ ): string;
302
+ encodeFunctionData(
303
+ functionFragment: "initialize",
304
+ values: [TradingSpecsStruct]
305
+ ): string;
306
+ encodeFunctionData(functionFragment: "market", values?: undefined): string;
307
+ encodeFunctionData(
308
+ functionFragment: "mintPY",
309
+ values: [BigNumberish, BigNumberish]
310
+ ): string;
311
+ encodeFunctionData(functionFragment: "owner", values?: undefined): string;
312
+ encodeFunctionData(
313
+ functionFragment: "pendingOwner",
314
+ values?: undefined
315
+ ): string;
316
+ encodeFunctionData(
317
+ functionFragment: "proxiableUUID",
318
+ values?: undefined
319
+ ): string;
320
+ encodeFunctionData(
321
+ functionFragment: "readStrategyData",
322
+ values?: undefined
323
+ ): string;
324
+ encodeFunctionData(functionFragment: "router", values?: undefined): string;
325
+ encodeFunctionData(
326
+ functionFragment: "setSpecs",
327
+ values: [TradingSpecsStruct]
328
+ ): string;
329
+ encodeFunctionData(functionFragment: "specs", values?: undefined): string;
330
+ encodeFunctionData(
331
+ functionFragment: "swapPtForYt",
332
+ values: [IShortYieldTradingBot.SwapInputStruct]
333
+ ): string;
334
+ encodeFunctionData(
335
+ functionFragment: "swapYtForPt",
336
+ values: [IShortYieldTradingBot.SwapInputStruct]
337
+ ): string;
338
+ encodeFunctionData(
339
+ functionFragment: "transferOwnership",
340
+ values: [string, boolean, boolean]
341
+ ): string;
342
+ encodeFunctionData(functionFragment: "upgradeTo", values: [string]): string;
343
+ encodeFunctionData(
344
+ functionFragment: "upgradeToAndCall",
345
+ values: [string, BytesLike]
346
+ ): string;
347
+ encodeFunctionData(
348
+ functionFragment: "withdrawFunds",
349
+ values: [string, BigNumberish]
350
+ ): string;
351
+
352
+ decodeFunctionResult(functionFragment: "PENDLE", data: BytesLike): Result;
353
+ decodeFunctionResult(functionFragment: "PT", data: BytesLike): Result;
354
+ decodeFunctionResult(functionFragment: "SY", data: BytesLike): Result;
355
+ decodeFunctionResult(functionFragment: "YT", data: BytesLike): Result;
356
+ decodeFunctionResult(functionFragment: "approveInf", data: BytesLike): Result;
357
+ decodeFunctionResult(functionFragment: "buyBins", data: BytesLike): Result;
358
+ decodeFunctionResult(
359
+ functionFragment: "claimAndCompound",
360
+ data: BytesLike
361
+ ): Result;
362
+ decodeFunctionResult(
363
+ functionFragment: "claimOwnership",
364
+ data: BytesLike
365
+ ): Result;
366
+ decodeFunctionResult(
367
+ functionFragment: "claimWithoutCompound",
368
+ data: BytesLike
369
+ ): Result;
370
+ decodeFunctionResult(
371
+ functionFragment: "decisionHelper",
372
+ data: BytesLike
373
+ ): Result;
374
+ decodeFunctionResult(functionFragment: "depositSy", data: BytesLike): Result;
375
+ decodeFunctionResult(
376
+ functionFragment: "depositToken",
377
+ data: BytesLike
378
+ ): Result;
379
+ decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
380
+ decodeFunctionResult(functionFragment: "market", data: BytesLike): Result;
381
+ decodeFunctionResult(functionFragment: "mintPY", data: BytesLike): Result;
382
+ decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
383
+ decodeFunctionResult(
384
+ functionFragment: "pendingOwner",
385
+ data: BytesLike
386
+ ): Result;
387
+ decodeFunctionResult(
388
+ functionFragment: "proxiableUUID",
389
+ data: BytesLike
390
+ ): Result;
391
+ decodeFunctionResult(
392
+ functionFragment: "readStrategyData",
393
+ data: BytesLike
394
+ ): Result;
395
+ decodeFunctionResult(functionFragment: "router", data: BytesLike): Result;
396
+ decodeFunctionResult(functionFragment: "setSpecs", data: BytesLike): Result;
397
+ decodeFunctionResult(functionFragment: "specs", data: BytesLike): Result;
398
+ decodeFunctionResult(
399
+ functionFragment: "swapPtForYt",
400
+ data: BytesLike
401
+ ): Result;
402
+ decodeFunctionResult(
403
+ functionFragment: "swapYtForPt",
404
+ data: BytesLike
405
+ ): Result;
406
+ decodeFunctionResult(
407
+ functionFragment: "transferOwnership",
408
+ data: BytesLike
409
+ ): Result;
410
+ decodeFunctionResult(functionFragment: "upgradeTo", data: BytesLike): Result;
411
+ decodeFunctionResult(
412
+ functionFragment: "upgradeToAndCall",
413
+ data: BytesLike
414
+ ): Result;
415
+ decodeFunctionResult(
416
+ functionFragment: "withdrawFunds",
417
+ data: BytesLike
418
+ ): Result;
419
+
420
+ events: {
421
+ "AdminChanged(address,address)": EventFragment;
422
+ "BeaconUpgraded(address)": EventFragment;
423
+ "ClaimAndCompound(uint256,uint256)": EventFragment;
424
+ "DepositSy(uint256)": EventFragment;
425
+ "DepositToken(address,uint256)": EventFragment;
426
+ "Initialized(uint8)": EventFragment;
427
+ "MintPy(uint256,uint256)": EventFragment;
428
+ "OwnershipTransferred(address,address)": EventFragment;
429
+ "SwapPtForYt(tuple,uint256)": EventFragment;
430
+ "SwapYtForPt(tuple,uint256)": EventFragment;
431
+ "Upgraded(address)": EventFragment;
432
+ "WithdrawFunds(address,uint256)": EventFragment;
433
+ };
434
+
435
+ getEvent(nameOrSignatureOrTopic: "AdminChanged"): EventFragment;
436
+ getEvent(nameOrSignatureOrTopic: "BeaconUpgraded"): EventFragment;
437
+ getEvent(nameOrSignatureOrTopic: "ClaimAndCompound"): EventFragment;
438
+ getEvent(nameOrSignatureOrTopic: "DepositSy"): EventFragment;
439
+ getEvent(nameOrSignatureOrTopic: "DepositToken"): EventFragment;
440
+ getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
441
+ getEvent(nameOrSignatureOrTopic: "MintPy"): EventFragment;
442
+ getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
443
+ getEvent(nameOrSignatureOrTopic: "SwapPtForYt"): EventFragment;
444
+ getEvent(nameOrSignatureOrTopic: "SwapYtForPt"): EventFragment;
445
+ getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment;
446
+ getEvent(nameOrSignatureOrTopic: "WithdrawFunds"): EventFragment;
447
+ }
448
+
449
+ export type AdminChangedEvent = TypedEvent<
450
+ [string, string],
451
+ { previousAdmin: string; newAdmin: string }
452
+ >;
453
+
454
+ export type AdminChangedEventFilter = TypedEventFilter<AdminChangedEvent>;
455
+
456
+ export type BeaconUpgradedEvent = TypedEvent<[string], { beacon: string }>;
457
+
458
+ export type BeaconUpgradedEventFilter = TypedEventFilter<BeaconUpgradedEvent>;
459
+
460
+ export type ClaimAndCompoundEvent = TypedEvent<
461
+ [BigNumber, BigNumber],
462
+ { netSyOut: BigNumber; netPendleOut: BigNumber }
463
+ >;
464
+
465
+ export type ClaimAndCompoundEventFilter =
466
+ TypedEventFilter<ClaimAndCompoundEvent>;
467
+
468
+ export type DepositSyEvent = TypedEvent<[BigNumber], { netSyIn: BigNumber }>;
469
+
470
+ export type DepositSyEventFilter = TypedEventFilter<DepositSyEvent>;
471
+
472
+ export type DepositTokenEvent = TypedEvent<
473
+ [string, BigNumber],
474
+ { token: string; netTokenIn: BigNumber }
475
+ >;
476
+
477
+ export type DepositTokenEventFilter = TypedEventFilter<DepositTokenEvent>;
478
+
479
+ export type InitializedEvent = TypedEvent<[number], { version: number }>;
480
+
481
+ export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
482
+
483
+ export type MintPyEvent = TypedEvent<
484
+ [BigNumber, BigNumber],
485
+ { netSyIn: BigNumber; netPyOut: BigNumber }
486
+ >;
487
+
488
+ export type MintPyEventFilter = TypedEventFilter<MintPyEvent>;
489
+
490
+ export type OwnershipTransferredEvent = TypedEvent<
491
+ [string, string],
492
+ { previousOwner: string; newOwner: string }
493
+ >;
494
+
495
+ export type OwnershipTransferredEventFilter =
496
+ TypedEventFilter<OwnershipTransferredEvent>;
497
+
498
+ export type SwapPtForYtEvent = TypedEvent<
499
+ [IShortYieldTradingBot.SwapInputStructOutput, BigNumber],
500
+ {
501
+ inputParams: IShortYieldTradingBot.SwapInputStructOutput;
502
+ netYtOut: BigNumber;
503
+ }
504
+ >;
505
+
506
+ export type SwapPtForYtEventFilter = TypedEventFilter<SwapPtForYtEvent>;
507
+
508
+ export type SwapYtForPtEvent = TypedEvent<
509
+ [IShortYieldTradingBot.SwapInputStructOutput, BigNumber],
510
+ {
511
+ inputParams: IShortYieldTradingBot.SwapInputStructOutput;
512
+ netPtOut: BigNumber;
513
+ }
514
+ >;
515
+
516
+ export type SwapYtForPtEventFilter = TypedEventFilter<SwapYtForPtEvent>;
517
+
518
+ export type UpgradedEvent = TypedEvent<[string], { implementation: string }>;
519
+
520
+ export type UpgradedEventFilter = TypedEventFilter<UpgradedEvent>;
521
+
522
+ export type WithdrawFundsEvent = TypedEvent<
523
+ [string, BigNumber],
524
+ { token: string; amount: BigNumber }
525
+ >;
526
+
527
+ export type WithdrawFundsEventFilter = TypedEventFilter<WithdrawFundsEvent>;
528
+
529
+ export interface ShortYieldTradingBot extends BaseContract {
530
+ contractName: "ShortYieldTradingBot";
531
+ connect(signerOrProvider: Signer | Provider | string): this;
532
+ attach(addressOrName: string): this;
533
+ deployed(): Promise<this>;
534
+
535
+ interface: ShortYieldTradingBotInterface;
536
+
537
+ queryFilter<TEvent extends TypedEvent>(
538
+ event: TypedEventFilter<TEvent>,
539
+ fromBlockOrBlockhash?: string | number | undefined,
540
+ toBlock?: string | number | undefined
541
+ ): Promise<Array<TEvent>>;
542
+
543
+ listeners<TEvent extends TypedEvent>(
544
+ eventFilter?: TypedEventFilter<TEvent>
545
+ ): Array<TypedListener<TEvent>>;
546
+ listeners(eventName?: string): Array<Listener>;
547
+ removeAllListeners<TEvent extends TypedEvent>(
548
+ eventFilter: TypedEventFilter<TEvent>
549
+ ): this;
550
+ removeAllListeners(eventName?: string): this;
551
+ off: OnEvent<this>;
552
+ on: OnEvent<this>;
553
+ once: OnEvent<this>;
554
+ removeListener: OnEvent<this>;
555
+
556
+ functions: {
557
+ PENDLE(overrides?: CallOverrides): Promise<[string]>;
558
+
559
+ PT(overrides?: CallOverrides): Promise<[string]>;
560
+
561
+ SY(overrides?: CallOverrides): Promise<[string]>;
562
+
563
+ YT(overrides?: CallOverrides): Promise<[string]>;
564
+
565
+ approveInf(
566
+ arr: ITradingBotBase.MultiApprovalStruct[],
567
+ overrides?: Overrides & { from?: string | Promise<string> }
568
+ ): Promise<ContractTransaction>;
569
+
570
+ buyBins(overrides?: CallOverrides): Promise<[BigNumber]>;
571
+
572
+ claimAndCompound(
573
+ inps: TokenInputStruct[],
574
+ minSyOut: BigNumberish,
575
+ overrides?: Overrides & { from?: string | Promise<string> }
576
+ ): Promise<ContractTransaction>;
577
+
578
+ claimOwnership(
579
+ overrides?: Overrides & { from?: string | Promise<string> }
580
+ ): Promise<ContractTransaction>;
581
+
582
+ claimWithoutCompound(
583
+ overrides?: Overrides & { from?: string | Promise<string> }
584
+ ): Promise<ContractTransaction>;
585
+
586
+ decisionHelper(overrides?: CallOverrides): Promise<[string]>;
587
+
588
+ depositSy(
589
+ netSyIn: BigNumberish,
590
+ overrides?: Overrides & { from?: string | Promise<string> }
591
+ ): Promise<ContractTransaction>;
592
+
593
+ depositToken(
594
+ inp: TokenInputStruct,
595
+ minSyOut: BigNumberish,
596
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
597
+ ): Promise<ContractTransaction>;
598
+
599
+ initialize(
600
+ _specs: TradingSpecsStruct,
601
+ overrides?: Overrides & { from?: string | Promise<string> }
602
+ ): Promise<ContractTransaction>;
603
+
604
+ market(overrides?: CallOverrides): Promise<[string]>;
605
+
606
+ mintPY(
607
+ netSyIn: BigNumberish,
608
+ minPyOut: BigNumberish,
609
+ overrides?: Overrides & { from?: string | Promise<string> }
610
+ ): Promise<ContractTransaction>;
611
+
612
+ owner(overrides?: CallOverrides): Promise<[string]>;
613
+
614
+ pendingOwner(overrides?: CallOverrides): Promise<[string]>;
615
+
616
+ proxiableUUID(overrides?: CallOverrides): Promise<[string]>;
617
+
618
+ readStrategyData(
619
+ overrides?: Overrides & { from?: string | Promise<string> }
620
+ ): Promise<ContractTransaction>;
621
+
622
+ router(overrides?: CallOverrides): Promise<[string]>;
623
+
624
+ setSpecs(
625
+ _specs: TradingSpecsStruct,
626
+ overrides?: Overrides & { from?: string | Promise<string> }
627
+ ): Promise<ContractTransaction>;
628
+
629
+ specs(
630
+ overrides?: CallOverrides
631
+ ): Promise<
632
+ [BigNumber, BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & {
633
+ buyYtIy: BigNumber;
634
+ sellYtIy: BigNumber;
635
+ targetSyRatio: BigNumber;
636
+ maxSyRatio: BigNumber;
637
+ targetYtPtRatio: BigNumber;
638
+ numOfBins: BigNumber;
639
+ }
640
+ >;
641
+
642
+ swapPtForYt(
643
+ inputParams: IShortYieldTradingBot.SwapInputStruct,
644
+ overrides?: Overrides & { from?: string | Promise<string> }
645
+ ): Promise<ContractTransaction>;
646
+
647
+ swapYtForPt(
648
+ inputParams: IShortYieldTradingBot.SwapInputStruct,
649
+ overrides?: Overrides & { from?: string | Promise<string> }
650
+ ): Promise<ContractTransaction>;
651
+
652
+ transferOwnership(
653
+ newOwner: string,
654
+ direct: boolean,
655
+ renounce: boolean,
656
+ overrides?: Overrides & { from?: string | Promise<string> }
657
+ ): Promise<ContractTransaction>;
658
+
659
+ upgradeTo(
660
+ newImplementation: string,
661
+ overrides?: Overrides & { from?: string | Promise<string> }
662
+ ): Promise<ContractTransaction>;
663
+
664
+ upgradeToAndCall(
665
+ newImplementation: string,
666
+ data: BytesLike,
667
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
668
+ ): Promise<ContractTransaction>;
669
+
670
+ withdrawFunds(
671
+ token: string,
672
+ amount: BigNumberish,
673
+ overrides?: Overrides & { from?: string | Promise<string> }
674
+ ): Promise<ContractTransaction>;
675
+ };
676
+
677
+ PENDLE(overrides?: CallOverrides): Promise<string>;
678
+
679
+ PT(overrides?: CallOverrides): Promise<string>;
680
+
681
+ SY(overrides?: CallOverrides): Promise<string>;
682
+
683
+ YT(overrides?: CallOverrides): Promise<string>;
684
+
685
+ approveInf(
686
+ arr: ITradingBotBase.MultiApprovalStruct[],
687
+ overrides?: Overrides & { from?: string | Promise<string> }
688
+ ): Promise<ContractTransaction>;
689
+
690
+ buyBins(overrides?: CallOverrides): Promise<BigNumber>;
691
+
692
+ claimAndCompound(
693
+ inps: TokenInputStruct[],
694
+ minSyOut: BigNumberish,
695
+ overrides?: Overrides & { from?: string | Promise<string> }
696
+ ): Promise<ContractTransaction>;
697
+
698
+ claimOwnership(
699
+ overrides?: Overrides & { from?: string | Promise<string> }
700
+ ): Promise<ContractTransaction>;
701
+
702
+ claimWithoutCompound(
703
+ overrides?: Overrides & { from?: string | Promise<string> }
704
+ ): Promise<ContractTransaction>;
705
+
706
+ decisionHelper(overrides?: CallOverrides): Promise<string>;
707
+
708
+ depositSy(
709
+ netSyIn: BigNumberish,
710
+ overrides?: Overrides & { from?: string | Promise<string> }
711
+ ): Promise<ContractTransaction>;
712
+
713
+ depositToken(
714
+ inp: TokenInputStruct,
715
+ minSyOut: BigNumberish,
716
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
717
+ ): Promise<ContractTransaction>;
718
+
719
+ initialize(
720
+ _specs: TradingSpecsStruct,
721
+ overrides?: Overrides & { from?: string | Promise<string> }
722
+ ): Promise<ContractTransaction>;
723
+
724
+ market(overrides?: CallOverrides): Promise<string>;
725
+
726
+ mintPY(
727
+ netSyIn: BigNumberish,
728
+ minPyOut: BigNumberish,
729
+ overrides?: Overrides & { from?: string | Promise<string> }
730
+ ): Promise<ContractTransaction>;
731
+
732
+ owner(overrides?: CallOverrides): Promise<string>;
733
+
734
+ pendingOwner(overrides?: CallOverrides): Promise<string>;
735
+
736
+ proxiableUUID(overrides?: CallOverrides): Promise<string>;
737
+
738
+ readStrategyData(
739
+ overrides?: Overrides & { from?: string | Promise<string> }
740
+ ): Promise<ContractTransaction>;
741
+
742
+ router(overrides?: CallOverrides): Promise<string>;
743
+
744
+ setSpecs(
745
+ _specs: TradingSpecsStruct,
746
+ overrides?: Overrides & { from?: string | Promise<string> }
747
+ ): Promise<ContractTransaction>;
748
+
749
+ specs(
750
+ overrides?: CallOverrides
751
+ ): Promise<
752
+ [BigNumber, BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & {
753
+ buyYtIy: BigNumber;
754
+ sellYtIy: BigNumber;
755
+ targetSyRatio: BigNumber;
756
+ maxSyRatio: BigNumber;
757
+ targetYtPtRatio: BigNumber;
758
+ numOfBins: BigNumber;
759
+ }
760
+ >;
761
+
762
+ swapPtForYt(
763
+ inputParams: IShortYieldTradingBot.SwapInputStruct,
764
+ overrides?: Overrides & { from?: string | Promise<string> }
765
+ ): Promise<ContractTransaction>;
766
+
767
+ swapYtForPt(
768
+ inputParams: IShortYieldTradingBot.SwapInputStruct,
769
+ overrides?: Overrides & { from?: string | Promise<string> }
770
+ ): Promise<ContractTransaction>;
771
+
772
+ transferOwnership(
773
+ newOwner: string,
774
+ direct: boolean,
775
+ renounce: boolean,
776
+ overrides?: Overrides & { from?: string | Promise<string> }
777
+ ): Promise<ContractTransaction>;
778
+
779
+ upgradeTo(
780
+ newImplementation: string,
781
+ overrides?: Overrides & { from?: string | Promise<string> }
782
+ ): Promise<ContractTransaction>;
783
+
784
+ upgradeToAndCall(
785
+ newImplementation: string,
786
+ data: BytesLike,
787
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
788
+ ): Promise<ContractTransaction>;
789
+
790
+ withdrawFunds(
791
+ token: string,
792
+ amount: BigNumberish,
793
+ overrides?: Overrides & { from?: string | Promise<string> }
794
+ ): Promise<ContractTransaction>;
795
+
796
+ callStatic: {
797
+ PENDLE(overrides?: CallOverrides): Promise<string>;
798
+
799
+ PT(overrides?: CallOverrides): Promise<string>;
800
+
801
+ SY(overrides?: CallOverrides): Promise<string>;
802
+
803
+ YT(overrides?: CallOverrides): Promise<string>;
804
+
805
+ approveInf(
806
+ arr: ITradingBotBase.MultiApprovalStruct[],
807
+ overrides?: CallOverrides
808
+ ): Promise<void>;
809
+
810
+ buyBins(overrides?: CallOverrides): Promise<BigNumber>;
811
+
812
+ claimAndCompound(
813
+ inps: TokenInputStruct[],
814
+ minSyOut: BigNumberish,
815
+ overrides?: CallOverrides
816
+ ): Promise<
817
+ [BigNumber, BigNumber] & { netSyOut: BigNumber; netPendleOut: BigNumber }
818
+ >;
819
+
820
+ claimOwnership(overrides?: CallOverrides): Promise<void>;
821
+
822
+ claimWithoutCompound(
823
+ overrides?: CallOverrides
824
+ ): Promise<TokenAmountStructOutput[]>;
825
+
826
+ decisionHelper(overrides?: CallOverrides): Promise<string>;
827
+
828
+ depositSy(netSyIn: BigNumberish, overrides?: CallOverrides): Promise<void>;
829
+
830
+ depositToken(
831
+ inp: TokenInputStruct,
832
+ minSyOut: BigNumberish,
833
+ overrides?: CallOverrides
834
+ ): Promise<void>;
835
+
836
+ initialize(
837
+ _specs: TradingSpecsStruct,
838
+ overrides?: CallOverrides
839
+ ): Promise<void>;
840
+
841
+ market(overrides?: CallOverrides): Promise<string>;
842
+
843
+ mintPY(
844
+ netSyIn: BigNumberish,
845
+ minPyOut: BigNumberish,
846
+ overrides?: CallOverrides
847
+ ): Promise<BigNumber>;
848
+
849
+ owner(overrides?: CallOverrides): Promise<string>;
850
+
851
+ pendingOwner(overrides?: CallOverrides): Promise<string>;
852
+
853
+ proxiableUUID(overrides?: CallOverrides): Promise<string>;
854
+
855
+ readStrategyData(
856
+ overrides?: CallOverrides
857
+ ): Promise<StrategyDataStructOutput>;
858
+
859
+ router(overrides?: CallOverrides): Promise<string>;
860
+
861
+ setSpecs(
862
+ _specs: TradingSpecsStruct,
863
+ overrides?: CallOverrides
864
+ ): Promise<void>;
865
+
866
+ specs(
867
+ overrides?: CallOverrides
868
+ ): Promise<
869
+ [BigNumber, BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & {
870
+ buyYtIy: BigNumber;
871
+ sellYtIy: BigNumber;
872
+ targetSyRatio: BigNumber;
873
+ maxSyRatio: BigNumber;
874
+ targetYtPtRatio: BigNumber;
875
+ numOfBins: BigNumber;
876
+ }
877
+ >;
878
+
879
+ swapPtForYt(
880
+ inputParams: IShortYieldTradingBot.SwapInputStruct,
881
+ overrides?: CallOverrides
882
+ ): Promise<BigNumber>;
883
+
884
+ swapYtForPt(
885
+ inputParams: IShortYieldTradingBot.SwapInputStruct,
886
+ overrides?: CallOverrides
887
+ ): Promise<BigNumber>;
888
+
889
+ transferOwnership(
890
+ newOwner: string,
891
+ direct: boolean,
892
+ renounce: boolean,
893
+ overrides?: CallOverrides
894
+ ): Promise<void>;
895
+
896
+ upgradeTo(
897
+ newImplementation: string,
898
+ overrides?: CallOverrides
899
+ ): Promise<void>;
900
+
901
+ upgradeToAndCall(
902
+ newImplementation: string,
903
+ data: BytesLike,
904
+ overrides?: CallOverrides
905
+ ): Promise<void>;
906
+
907
+ withdrawFunds(
908
+ token: string,
909
+ amount: BigNumberish,
910
+ overrides?: CallOverrides
911
+ ): Promise<void>;
912
+ };
913
+
914
+ filters: {
915
+ "AdminChanged(address,address)"(
916
+ previousAdmin?: null,
917
+ newAdmin?: null
918
+ ): AdminChangedEventFilter;
919
+ AdminChanged(
920
+ previousAdmin?: null,
921
+ newAdmin?: null
922
+ ): AdminChangedEventFilter;
923
+
924
+ "BeaconUpgraded(address)"(
925
+ beacon?: string | null
926
+ ): BeaconUpgradedEventFilter;
927
+ BeaconUpgraded(beacon?: string | null): BeaconUpgradedEventFilter;
928
+
929
+ "ClaimAndCompound(uint256,uint256)"(
930
+ netSyOut?: null,
931
+ netPendleOut?: null
932
+ ): ClaimAndCompoundEventFilter;
933
+ ClaimAndCompound(
934
+ netSyOut?: null,
935
+ netPendleOut?: null
936
+ ): ClaimAndCompoundEventFilter;
937
+
938
+ "DepositSy(uint256)"(netSyIn?: null): DepositSyEventFilter;
939
+ DepositSy(netSyIn?: null): DepositSyEventFilter;
940
+
941
+ "DepositToken(address,uint256)"(
942
+ token?: string | null,
943
+ netTokenIn?: null
944
+ ): DepositTokenEventFilter;
945
+ DepositToken(
946
+ token?: string | null,
947
+ netTokenIn?: null
948
+ ): DepositTokenEventFilter;
949
+
950
+ "Initialized(uint8)"(version?: null): InitializedEventFilter;
951
+ Initialized(version?: null): InitializedEventFilter;
952
+
953
+ "MintPy(uint256,uint256)"(
954
+ netSyIn?: null,
955
+ netPyOut?: null
956
+ ): MintPyEventFilter;
957
+ MintPy(netSyIn?: null, netPyOut?: null): MintPyEventFilter;
958
+
959
+ "OwnershipTransferred(address,address)"(
960
+ previousOwner?: string | null,
961
+ newOwner?: string | null
962
+ ): OwnershipTransferredEventFilter;
963
+ OwnershipTransferred(
964
+ previousOwner?: string | null,
965
+ newOwner?: string | null
966
+ ): OwnershipTransferredEventFilter;
967
+
968
+ "SwapPtForYt(tuple,uint256)"(
969
+ inputParams?: null,
970
+ netYtOut?: null
971
+ ): SwapPtForYtEventFilter;
972
+ SwapPtForYt(inputParams?: null, netYtOut?: null): SwapPtForYtEventFilter;
973
+
974
+ "SwapYtForPt(tuple,uint256)"(
975
+ inputParams?: null,
976
+ netPtOut?: null
977
+ ): SwapYtForPtEventFilter;
978
+ SwapYtForPt(inputParams?: null, netPtOut?: null): SwapYtForPtEventFilter;
979
+
980
+ "Upgraded(address)"(implementation?: string | null): UpgradedEventFilter;
981
+ Upgraded(implementation?: string | null): UpgradedEventFilter;
982
+
983
+ "WithdrawFunds(address,uint256)"(
984
+ token?: string | null,
985
+ amount?: null
986
+ ): WithdrawFundsEventFilter;
987
+ WithdrawFunds(
988
+ token?: string | null,
989
+ amount?: null
990
+ ): WithdrawFundsEventFilter;
991
+ };
992
+
993
+ estimateGas: {
994
+ PENDLE(overrides?: CallOverrides): Promise<BigNumber>;
995
+
996
+ PT(overrides?: CallOverrides): Promise<BigNumber>;
997
+
998
+ SY(overrides?: CallOverrides): Promise<BigNumber>;
999
+
1000
+ YT(overrides?: CallOverrides): Promise<BigNumber>;
1001
+
1002
+ approveInf(
1003
+ arr: ITradingBotBase.MultiApprovalStruct[],
1004
+ overrides?: Overrides & { from?: string | Promise<string> }
1005
+ ): Promise<BigNumber>;
1006
+
1007
+ buyBins(overrides?: CallOverrides): Promise<BigNumber>;
1008
+
1009
+ claimAndCompound(
1010
+ inps: TokenInputStruct[],
1011
+ minSyOut: BigNumberish,
1012
+ overrides?: Overrides & { from?: string | Promise<string> }
1013
+ ): Promise<BigNumber>;
1014
+
1015
+ claimOwnership(
1016
+ overrides?: Overrides & { from?: string | Promise<string> }
1017
+ ): Promise<BigNumber>;
1018
+
1019
+ claimWithoutCompound(
1020
+ overrides?: Overrides & { from?: string | Promise<string> }
1021
+ ): Promise<BigNumber>;
1022
+
1023
+ decisionHelper(overrides?: CallOverrides): Promise<BigNumber>;
1024
+
1025
+ depositSy(
1026
+ netSyIn: BigNumberish,
1027
+ overrides?: Overrides & { from?: string | Promise<string> }
1028
+ ): Promise<BigNumber>;
1029
+
1030
+ depositToken(
1031
+ inp: TokenInputStruct,
1032
+ minSyOut: BigNumberish,
1033
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
1034
+ ): Promise<BigNumber>;
1035
+
1036
+ initialize(
1037
+ _specs: TradingSpecsStruct,
1038
+ overrides?: Overrides & { from?: string | Promise<string> }
1039
+ ): Promise<BigNumber>;
1040
+
1041
+ market(overrides?: CallOverrides): Promise<BigNumber>;
1042
+
1043
+ mintPY(
1044
+ netSyIn: BigNumberish,
1045
+ minPyOut: BigNumberish,
1046
+ overrides?: Overrides & { from?: string | Promise<string> }
1047
+ ): Promise<BigNumber>;
1048
+
1049
+ owner(overrides?: CallOverrides): Promise<BigNumber>;
1050
+
1051
+ pendingOwner(overrides?: CallOverrides): Promise<BigNumber>;
1052
+
1053
+ proxiableUUID(overrides?: CallOverrides): Promise<BigNumber>;
1054
+
1055
+ readStrategyData(
1056
+ overrides?: Overrides & { from?: string | Promise<string> }
1057
+ ): Promise<BigNumber>;
1058
+
1059
+ router(overrides?: CallOverrides): Promise<BigNumber>;
1060
+
1061
+ setSpecs(
1062
+ _specs: TradingSpecsStruct,
1063
+ overrides?: Overrides & { from?: string | Promise<string> }
1064
+ ): Promise<BigNumber>;
1065
+
1066
+ specs(overrides?: CallOverrides): Promise<BigNumber>;
1067
+
1068
+ swapPtForYt(
1069
+ inputParams: IShortYieldTradingBot.SwapInputStruct,
1070
+ overrides?: Overrides & { from?: string | Promise<string> }
1071
+ ): Promise<BigNumber>;
1072
+
1073
+ swapYtForPt(
1074
+ inputParams: IShortYieldTradingBot.SwapInputStruct,
1075
+ overrides?: Overrides & { from?: string | Promise<string> }
1076
+ ): Promise<BigNumber>;
1077
+
1078
+ transferOwnership(
1079
+ newOwner: string,
1080
+ direct: boolean,
1081
+ renounce: boolean,
1082
+ overrides?: Overrides & { from?: string | Promise<string> }
1083
+ ): Promise<BigNumber>;
1084
+
1085
+ upgradeTo(
1086
+ newImplementation: string,
1087
+ overrides?: Overrides & { from?: string | Promise<string> }
1088
+ ): Promise<BigNumber>;
1089
+
1090
+ upgradeToAndCall(
1091
+ newImplementation: string,
1092
+ data: BytesLike,
1093
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
1094
+ ): Promise<BigNumber>;
1095
+
1096
+ withdrawFunds(
1097
+ token: string,
1098
+ amount: BigNumberish,
1099
+ overrides?: Overrides & { from?: string | Promise<string> }
1100
+ ): Promise<BigNumber>;
1101
+ };
1102
+
1103
+ populateTransaction: {
1104
+ PENDLE(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1105
+
1106
+ PT(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1107
+
1108
+ SY(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1109
+
1110
+ YT(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1111
+
1112
+ approveInf(
1113
+ arr: ITradingBotBase.MultiApprovalStruct[],
1114
+ overrides?: Overrides & { from?: string | Promise<string> }
1115
+ ): Promise<PopulatedTransaction>;
1116
+
1117
+ buyBins(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1118
+
1119
+ claimAndCompound(
1120
+ inps: TokenInputStruct[],
1121
+ minSyOut: BigNumberish,
1122
+ overrides?: Overrides & { from?: string | Promise<string> }
1123
+ ): Promise<PopulatedTransaction>;
1124
+
1125
+ claimOwnership(
1126
+ overrides?: Overrides & { from?: string | Promise<string> }
1127
+ ): Promise<PopulatedTransaction>;
1128
+
1129
+ claimWithoutCompound(
1130
+ overrides?: Overrides & { from?: string | Promise<string> }
1131
+ ): Promise<PopulatedTransaction>;
1132
+
1133
+ decisionHelper(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1134
+
1135
+ depositSy(
1136
+ netSyIn: BigNumberish,
1137
+ overrides?: Overrides & { from?: string | Promise<string> }
1138
+ ): Promise<PopulatedTransaction>;
1139
+
1140
+ depositToken(
1141
+ inp: TokenInputStruct,
1142
+ minSyOut: BigNumberish,
1143
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
1144
+ ): Promise<PopulatedTransaction>;
1145
+
1146
+ initialize(
1147
+ _specs: TradingSpecsStruct,
1148
+ overrides?: Overrides & { from?: string | Promise<string> }
1149
+ ): Promise<PopulatedTransaction>;
1150
+
1151
+ market(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1152
+
1153
+ mintPY(
1154
+ netSyIn: BigNumberish,
1155
+ minPyOut: BigNumberish,
1156
+ overrides?: Overrides & { from?: string | Promise<string> }
1157
+ ): Promise<PopulatedTransaction>;
1158
+
1159
+ owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1160
+
1161
+ pendingOwner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1162
+
1163
+ proxiableUUID(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1164
+
1165
+ readStrategyData(
1166
+ overrides?: Overrides & { from?: string | Promise<string> }
1167
+ ): Promise<PopulatedTransaction>;
1168
+
1169
+ router(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1170
+
1171
+ setSpecs(
1172
+ _specs: TradingSpecsStruct,
1173
+ overrides?: Overrides & { from?: string | Promise<string> }
1174
+ ): Promise<PopulatedTransaction>;
1175
+
1176
+ specs(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1177
+
1178
+ swapPtForYt(
1179
+ inputParams: IShortYieldTradingBot.SwapInputStruct,
1180
+ overrides?: Overrides & { from?: string | Promise<string> }
1181
+ ): Promise<PopulatedTransaction>;
1182
+
1183
+ swapYtForPt(
1184
+ inputParams: IShortYieldTradingBot.SwapInputStruct,
1185
+ overrides?: Overrides & { from?: string | Promise<string> }
1186
+ ): Promise<PopulatedTransaction>;
1187
+
1188
+ transferOwnership(
1189
+ newOwner: string,
1190
+ direct: boolean,
1191
+ renounce: boolean,
1192
+ overrides?: Overrides & { from?: string | Promise<string> }
1193
+ ): Promise<PopulatedTransaction>;
1194
+
1195
+ upgradeTo(
1196
+ newImplementation: string,
1197
+ overrides?: Overrides & { from?: string | Promise<string> }
1198
+ ): Promise<PopulatedTransaction>;
1199
+
1200
+ upgradeToAndCall(
1201
+ newImplementation: string,
1202
+ data: BytesLike,
1203
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
1204
+ ): Promise<PopulatedTransaction>;
1205
+
1206
+ withdrawFunds(
1207
+ token: string,
1208
+ amount: BigNumberish,
1209
+ overrides?: Overrides & { from?: string | Promise<string> }
1210
+ ): Promise<PopulatedTransaction>;
1211
+ };
1212
+ }