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