@pendle/core-v2 2.26.2 → 2.26.4

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 (670) 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/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  17. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
  19. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  21. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  24. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  26. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  28. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  29. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  30. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  31. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  32. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  33. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
  36. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
  38. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
  40. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  42. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  44. package/build/artifacts/contracts/core/Market/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.dbg.json +4 -0
  45. package/build/artifacts/contracts/core/Market/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.json +373 -0
  46. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.json +19 -0
  48. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +21 -2
  50. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  52. package/build/artifacts/contracts/core/Market/v2/PendleGaugeV2.sol/PendleGaugeV2.dbg.json +4 -0
  53. package/build/artifacts/contracts/core/Market/v2/PendleGaugeV2.sol/PendleGaugeV2.json +128 -0
  54. package/build/artifacts/contracts/core/Market/v2/PendleMarketFactoryV2.sol/PendleMarketFactoryV2.dbg.json +4 -0
  55. package/build/artifacts/contracts/core/Market/v2/PendleMarketFactoryV2.sol/PendleMarketFactoryV2.json +682 -0
  56. package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.dbg.json +4 -0
  57. package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.json +1214 -0
  58. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  62. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  64. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.dbg.json +4 -0
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.json +1027 -0
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.dbg.json +4 -0
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.json +1179 -0
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.json +6 -6
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
  75. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.json +2 -2
  76. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
  77. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.json +2 -2
  78. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
  79. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.json +2 -2
  80. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethVethSY.sol/PendleAuraWethVethSY.dbg.json +4 -0
  81. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethVethSY.sol/PendleAuraWethVethSY.json +1166 -0
  82. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
  83. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.json +2 -2
  84. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.dbg.json +4 -0
  85. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.json +1171 -0
  86. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +1 -1
  87. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.json +2 -2
  88. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +1 -1
  89. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.json +2 -191
  90. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewProxy.sol/ComposableStablePreviewProxy.dbg.json +4 -0
  91. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewProxy.sol/ComposableStablePreviewProxy.json +219 -0
  92. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV4.sol/ComposableStablePreviewV4.dbg.json +4 -0
  93. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV4.sol/ComposableStablePreviewV4.json +133 -0
  94. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV5.sol/ComposableStablePreviewV5.dbg.json +4 -0
  95. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV5.sol/ComposableStablePreviewV5.json +133 -0
  96. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +1 -1
  97. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.json +2 -2
  98. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAPoolHelper.dbg.json +1 -1
  99. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAWethHelper.dbg.json +1 -1
  100. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol/LinearMath.dbg.json +1 -1
  101. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol/LinearMath.json +2 -2
  102. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.dbg.json +1 -1
  103. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.json +2 -2
  104. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
  105. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.json +2 -2
  106. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +1 -1
  107. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.json +2 -2
  108. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
  109. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
  110. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
  111. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  112. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  113. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  114. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  115. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
  116. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.json +2 -2
  117. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
  118. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.json +2 -2
  119. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
  120. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.dbg.json +1 -1
  121. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.json +2 -2
  122. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
  123. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.json +2 -2
  124. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.dbg.json +4 -0
  125. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.json +154 -0
  126. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkRelayer.sol/PendleChainlinkRelayer.dbg.json +4 -0
  127. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkRelayer.sol/PendleChainlinkRelayer.json +96 -0
  128. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  129. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
  130. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  131. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
  132. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
  133. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +2 -2
  134. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  135. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +2 -2
  136. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  137. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.json +2 -2
  138. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  139. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
  140. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  141. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
  142. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleMantleStakedEthSY.sol/PendleMantleStakedEthSY.dbg.json +4 -0
  143. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleMantleStakedEthSY.sol/PendleMantleStakedEthSY.json +976 -0
  144. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleOracleForSyProxy.sol/PendleOracleForSyProxy.dbg.json +4 -0
  145. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleOracleForSyProxy.sol/PendleOracleForSyProxy.json +149 -0
  146. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.dbg.json +4 -0
  147. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.json +976 -0
  148. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  149. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
  150. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  151. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
  152. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
  153. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.json +2 -2
  154. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
  155. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.json +2 -2
  156. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.dbg.json +4 -0
  157. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.json +979 -0
  158. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  159. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  160. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.dbg.json +4 -0
  161. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.json +961 -0
  162. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.dbg.json +4 -0
  163. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.json +1266 -0
  164. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol/ThenaLpHelper.dbg.json +4 -0
  165. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol/ThenaLpHelper.json +128 -0
  166. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.dbg.json +4 -0
  167. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.json +24 -0
  168. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/IThenaSY.dbg.json +4 -0
  169. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/IThenaSY.json +24 -0
  170. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.dbg.json +4 -0
  171. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.json +267 -0
  172. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  173. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  174. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  175. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  176. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  177. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  178. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  179. package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
  180. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
  181. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +2 -2
  182. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
  183. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
  184. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
  185. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -2
  186. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  187. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  188. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  189. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.json +2 -2
  190. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  191. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  192. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  193. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  194. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  195. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +18 -151
  196. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  197. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  198. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  199. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  200. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  201. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
  202. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.json +2 -2
  203. package/build/artifacts/contracts/interfaces/Ankr/IAnkrBNB.sol/IAnkrBNB.dbg.json +4 -0
  204. package/build/artifacts/contracts/interfaces/Ankr/IAnkrBNB.sol/IAnkrBNB.json +62 -0
  205. package/build/artifacts/contracts/interfaces/Ankr/IAnkrLiquidStaking.sol/IAnkrLiquidStaking.dbg.json +4 -0
  206. package/build/artifacts/contracts/interfaces/Ankr/IAnkrLiquidStaking.sol/IAnkrLiquidStaking.json +108 -0
  207. package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +1 -1
  208. package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +1 -1
  209. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
  210. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
  211. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
  212. package/build/artifacts/contracts/interfaces/Balancer/IERC4626LinearPool.sol/IERC4626LinearPool.dbg.json +1 -1
  213. package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +1 -1
  214. package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +1 -1
  215. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
  216. package/build/artifacts/contracts/interfaces/Balancer/IPComposableStablePreview.sol/IPComposableStablePreview.dbg.json +4 -0
  217. package/build/artifacts/contracts/interfaces/Balancer/IPComposableStablePreview.sol/IPComposableStablePreview.json +133 -0
  218. package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +1 -1
  219. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
  220. package/build/artifacts/contracts/interfaces/Balancer/IVersion.sol/IVersion.dbg.json +4 -0
  221. package/build/artifacts/contracts/interfaces/Balancer/IVersion.sol/IVersion.json +24 -0
  222. package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.dbg.json +4 -0
  223. package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.json +42 -0
  224. package/build/artifacts/contracts/interfaces/Camelot/ICamelotFactory.sol/ICamelotFactory.dbg.json +1 -1
  225. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTFactory.sol/ICamelotNFTFactory.dbg.json +1 -1
  226. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTHandler.sol/ICamelotNFTHandler.dbg.json +1 -1
  227. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
  228. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.json +13 -0
  229. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +1 -1
  230. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.json +13 -0
  231. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.dbg.json +1 -1
  232. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +1 -1
  233. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.json +26 -0
  234. package/build/artifacts/contracts/interfaces/Camelot/ICamelotRouter.sol/ICamelotRouter.dbg.json +1 -1
  235. package/build/artifacts/contracts/interfaces/Camelot/ICamelotYieldBooster.sol/ICamelotYieldBooster.dbg.json +1 -1
  236. package/build/artifacts/contracts/interfaces/Camelot/IXGrail.sol/IXGrail.dbg.json +1 -1
  237. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  238. package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
  239. package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +1 -1
  240. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
  241. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  242. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
  243. package/build/artifacts/contracts/interfaces/Frax/IFrxEthMinter.sol/IFrxEthMinter.dbg.json +1 -1
  244. package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +1 -1
  245. package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +1 -1
  246. package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +1 -1
  247. package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +1 -1
  248. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  249. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
  250. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  251. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  252. package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +1 -1
  253. package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +1 -1
  254. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  255. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  256. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  257. package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
  258. package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
  259. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  260. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  261. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  262. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.json +82 -6
  263. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  264. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.json +22 -22
  265. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  266. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  267. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.json +42 -4
  268. package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
  269. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  270. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  271. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  272. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  273. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  274. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  275. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
  276. package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +1 -1
  277. package/build/artifacts/contracts/interfaces/IPExternalRewardDistributor.sol/IPExternalRewardDistributor.dbg.json +4 -0
  278. package/build/artifacts/contracts/interfaces/IPExternalRewardDistributor.sol/IPExternalRewardDistributor.json +109 -0
  279. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  280. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  281. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  282. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.json +19 -0
  283. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  284. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  285. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  286. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  287. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  288. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +19 -0
  289. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  290. package/build/artifacts/contracts/interfaces/IPMarketFactoryV2.sol/IPMarketFactoryV2.dbg.json +4 -0
  291. package/build/artifacts/contracts/interfaces/IPMarketFactoryV2.sol/IPMarketFactoryV2.json +166 -0
  292. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  293. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  294. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  295. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  296. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +4 -0
  297. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.json +24 -0
  298. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  299. package/build/artifacts/contracts/interfaces/IPPtOracle.sol/IPPtOracle.dbg.json +1 -1
  300. package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
  301. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  302. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +146 -32
  303. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  304. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  305. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  306. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  307. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  308. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  309. package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.dbg.json +4 -0
  310. package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.json +59 -0
  311. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  312. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  313. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  314. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  315. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  316. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  317. package/build/artifacts/contracts/interfaces/IStargateLP.sol/IStargateLP.dbg.json +1 -1
  318. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
  319. package/build/artifacts/contracts/interfaces/IStargateStaking.sol/IStargateStaking.dbg.json +1 -1
  320. package/build/artifacts/contracts/interfaces/ISwETH.sol/ISwETH.dbg.json +4 -0
  321. package/build/artifacts/contracts/interfaces/ISwETH.sol/ISwETH.json +44 -0
  322. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  323. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  324. package/build/artifacts/contracts/interfaces/Thena/IThenaFactory.sol/IThenaFactory.dbg.json +4 -0
  325. package/build/artifacts/contracts/interfaces/Thena/IThenaFactory.sol/IThenaFactory.json +152 -0
  326. package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.dbg.json +4 -0
  327. package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.json +71 -0
  328. package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.dbg.json +4 -0
  329. package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.json +409 -0
  330. package/build/artifacts/contracts/interfaces/Thena/IThenaRouter.sol/IThenaRouter.dbg.json +4 -0
  331. package/build/artifacts/contracts/interfaces/Thena/IThenaRouter.sol/IThenaRouter.json +188 -0
  332. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  333. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  334. package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  335. package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  336. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  337. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
  338. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  339. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
  340. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  341. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +4 -0
  342. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.json +30 -0
  343. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +4 -0
  344. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.json +572 -0
  345. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
  346. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.json +2 -2
  347. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  348. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  349. package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.dbg.json +4 -0
  350. package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.json +97 -0
  351. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +4 -0
  352. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.json +1543 -0
  353. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  354. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  355. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  356. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  357. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  358. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +84 -8
  359. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  360. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +24 -24
  361. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  362. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +44 -6
  363. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  364. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  365. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  366. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  367. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  368. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  369. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  370. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
  371. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.json +2 -2
  372. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
  373. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.json +2 -2
  374. package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +1 -1
  375. package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.json +2 -2
  376. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
  377. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.json +2 -2
  378. package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.dbg.json +1 -1
  379. package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.json +2 -2
  380. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  381. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
  382. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  383. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
  384. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  385. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  386. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  387. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  388. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  389. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  390. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  391. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  392. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +2 -2
  393. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  394. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  395. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  396. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  397. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  398. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  399. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  400. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  401. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  402. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +18 -2
  403. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  404. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
  405. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.json +76 -118
  406. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  407. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol/KyberInputScalingHelper.dbg.json +1 -1
  408. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
  409. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.json +2 -2
  410. package/build/artifacts/contracts/router/swap-aggregator/oneinch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +4 -0
  411. package/build/artifacts/contracts/router/swap-aggregator/oneinch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.json +160 -0
  412. package/build/artifacts/contracts/router/swap-aggregator/oneinch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +4 -0
  413. package/build/artifacts/contracts/router/swap-aggregator/oneinch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.json +10 -0
  414. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethVethSY.sol +7 -7
  415. package/contracts/interfaces/Balancer/IComposableStable.sol +7 -7
  416. package/deployments/1-markets/BALANCER-LP-AURA-BBAWETHSWETH-SEP-26-2024.json +6 -6
  417. package/deployments/1-markets/deprecated/BALANCER-LP-AURA-BBAWETHSWETH-SEP-26-2024-migrated.json +10 -0
  418. package/deployments/10-core.json +1 -1
  419. package/deployments/5000-offchain-helper.json +3 -0
  420. package/package.json +1 -1
  421. package/typechain-types/ActionMarketAuxStatic.ts +191 -38
  422. package/typechain-types/ActionMarketCoreStatic.ts +600 -134
  423. package/typechain-types/ActionMintRedeemStatic.ts +92 -26
  424. package/typechain-types/{LongYieldActionLib.ts → AllErrorsDirectory.ts} +5 -5
  425. package/typechain-types/{LongYieldTradingBot.ts → AuraEthxBbAWethSY.ts} +192 -956
  426. package/typechain-types/ComposableStablePreview.ts +3 -287
  427. package/typechain-types/ComposableStablePreviewProxy.ts +352 -0
  428. package/typechain-types/ComposableStablePreviewV4.ts +217 -0
  429. package/typechain-types/ComposableStablePreviewV5.ts +217 -0
  430. package/typechain-types/I1inchAggregationRouterV5.ts +257 -0
  431. package/typechain-types/IAnkrBNB.ts +150 -0
  432. package/typechain-types/IAnkrLiquidStaking.ts +253 -0
  433. package/typechain-types/ICamelotNFTPool.ts +19 -0
  434. package/typechain-types/ICamelotNitroPool.ts +19 -0
  435. package/typechain-types/ICamelotPair.ts +42 -0
  436. package/typechain-types/IExecutorHelper.ts +310 -331
  437. package/typechain-types/IPActionMarketAuxStatic.ts +191 -38
  438. package/typechain-types/IPActionMarketCoreStatic.ts +600 -134
  439. package/typechain-types/IPActionMintRedeemStatic.ts +92 -26
  440. package/typechain-types/IPComposableStablePreview.ts +217 -0
  441. package/typechain-types/IPExternalRewardDistributor.ts +198 -0
  442. package/typechain-types/IPGauge.ts +23 -3
  443. package/typechain-types/IPMarket.ts +18 -0
  444. package/typechain-types/IPMarketFactoryV2.ts +253 -0
  445. package/typechain-types/IPOracleForSy.ts +87 -0
  446. package/typechain-types/IPRouterStatic.ts +888 -197
  447. package/typechain-types/IPendlePreviewHelper.ts +147 -0
  448. package/typechain-types/ISwETH.ts +123 -0
  449. package/typechain-types/IThenaFactory.ts +245 -0
  450. package/typechain-types/IThenaGaugeV2.ts +206 -0
  451. package/typechain-types/IThenaPair.ts +579 -0
  452. package/typechain-types/IThenaRouter.ts +313 -0
  453. package/typechain-types/{MarketExtLib.ts → IThenaSY.ts} +13 -13
  454. package/typechain-types/IVersion.ts +81 -0
  455. package/typechain-types/IWBETH.ts +128 -0
  456. package/typechain-types/LegacyNFTHelper.ts +87 -0
  457. package/typechain-types/PendleAnkrBNBSY.ts +1235 -0
  458. package/typechain-types/PendleArbitrumStakedEthSY.ts +1222 -0
  459. package/typechain-types/PendleAuraWethVethSY.ts +1511 -0
  460. package/typechain-types/PendleAuraWstethAnkreth.ts +1511 -0
  461. package/typechain-types/PendleChainlinkReceiver.ts +239 -0
  462. package/typechain-types/PendleChainlinkRelayer.ts +158 -0
  463. package/typechain-types/PendleExternalRewardDistributor.ts +596 -0
  464. package/typechain-types/PendleGauge.ts +23 -3
  465. package/typechain-types/PendleGaugeV2.ts +225 -0
  466. package/typechain-types/PendleMantleStakedEthSY.ts +1222 -0
  467. package/typechain-types/PendleMarket.ts +18 -0
  468. package/typechain-types/PendleMarketFactoryV2.ts +930 -0
  469. package/typechain-types/PendleMarketV2.ts +1311 -0
  470. package/typechain-types/PendleOracleForSyProxy.ts +275 -0
  471. package/typechain-types/{TradingBotBase.ts → PendleThenaSY.ts} +259 -449
  472. package/typechain-types/PendleWbEthSY.ts +1229 -0
  473. package/typechain-types/PtAndLpToAsset.ts +136 -0
  474. package/typechain-types/{BotActionCallbackLib.ts → SDKErrorsDirectory.ts} +5 -5
  475. package/typechain-types/StarNFTV1.ts +880 -0
  476. package/typechain-types/SwETHSY.ts +1216 -0
  477. package/typechain-types/ThenaLpHelper.ts +191 -0
  478. package/typechain-types/ThenaMath.ts +87 -0
  479. package/typechain-types/ThenaPreview.ts +450 -0
  480. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
  481. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  482. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +83 -7
  483. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +23 -23
  484. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +43 -5
  485. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  486. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  487. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  488. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
  489. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  490. package/typechain-types/factories/AllErrorsDirectory__factory.ts +1596 -0
  491. package/typechain-types/factories/AuraEthxBbAWethSY__factory.ts +1240 -0
  492. package/typechain-types/factories/Broadcaster__factory.ts +1 -1
  493. package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
  494. package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
  495. package/typechain-types/factories/BulkSeller__factory.ts +1 -1
  496. package/typechain-types/factories/CamelotRewardHelper__factory.ts +1 -1
  497. package/typechain-types/factories/CamelotV1VolatilePreview__factory.ts +1 -1
  498. package/typechain-types/factories/ComposableStablePreviewProxy__factory.ts +288 -0
  499. package/typechain-types/factories/ComposableStablePreviewV4__factory.ts +190 -0
  500. package/typechain-types/factories/ComposableStablePreviewV5__factory.ts +190 -0
  501. package/typechain-types/factories/ComposableStablePreview__factory.ts +4 -231
  502. package/typechain-types/factories/Errors__factory.ts +17 -150
  503. package/typechain-types/factories/I1inchAggregationRouterV5__factory.ts +179 -0
  504. package/typechain-types/factories/IAnkrBNB__factory.ts +74 -0
  505. package/typechain-types/factories/IAnkrLiquidStaking__factory.ts +123 -0
  506. package/typechain-types/factories/ICamelotNFTPool__factory.ts +13 -0
  507. package/typechain-types/factories/ICamelotNitroPool__factory.ts +13 -0
  508. package/typechain-types/factories/ICamelotPair__factory.ts +26 -0
  509. package/typechain-types/factories/IExecutorHelper__factory.ts +74 -116
  510. package/typechain-types/factories/IPActionMarketAuxStatic__factory.ts +82 -6
  511. package/typechain-types/factories/IPActionMarketCoreStatic__factory.ts +22 -22
  512. package/typechain-types/factories/IPActionMintRedeemStatic__factory.ts +42 -4
  513. package/typechain-types/factories/IPComposableStablePreview__factory.ts +152 -0
  514. package/typechain-types/factories/IPExternalRewardDistributor__factory.ts +128 -0
  515. package/typechain-types/factories/IPGauge__factory.ts +19 -0
  516. package/typechain-types/factories/IPMarketFactoryV2__factory.ts +181 -0
  517. package/typechain-types/factories/IPMarket__factory.ts +19 -0
  518. package/typechain-types/factories/IPOracleForSy__factory.ts +36 -0
  519. package/typechain-types/factories/IPRouterStatic__factory.ts +146 -32
  520. package/typechain-types/factories/IPendlePreviewHelper__factory.ts +78 -0
  521. package/typechain-types/factories/ISwETH__factory.ts +53 -0
  522. package/typechain-types/factories/IThenaFactory__factory.ts +164 -0
  523. package/typechain-types/factories/IThenaGaugeV2__factory.ts +83 -0
  524. package/typechain-types/factories/IThenaPair__factory.ts +421 -0
  525. package/typechain-types/factories/IThenaRouter__factory.ts +200 -0
  526. package/typechain-types/factories/IThenaSY__factory.ts +36 -0
  527. package/typechain-types/factories/IVersion__factory.ts +36 -0
  528. package/typechain-types/factories/IWBETH__factory.ts +51 -0
  529. package/typechain-types/factories/LegacyNFTHelper__factory.ts +83 -0
  530. package/typechain-types/factories/LinearPreview__factory.ts +1 -1
  531. package/typechain-types/factories/MetaStableMath__factory.ts +1 -1
  532. package/typechain-types/factories/MetaStablePreview__factory.ts +1 -1
  533. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  534. package/typechain-types/factories/PendleAnkrBNBSY__factory.ts +1100 -0
  535. package/typechain-types/factories/PendleArbitrumStakedEthSY__factory.ts +1068 -0
  536. package/typechain-types/factories/PendleAuraBbAWethSwethSY__factory.ts +5 -5
  537. package/typechain-types/factories/PendleAuraWethAnkrethSYV2__factory.ts +1 -1
  538. package/typechain-types/factories/PendleAuraWethRocketEthSYV2__factory.ts +1 -1
  539. package/typechain-types/factories/PendleAuraWethStafiEthSY__factory.ts +1 -1
  540. package/typechain-types/factories/PendleAuraWethVethSY__factory.ts +1231 -0
  541. package/typechain-types/factories/PendleAuraWethWstethSYV2__factory.ts +1 -1
  542. package/typechain-types/factories/PendleAuraWstethAnkreth__factory.ts +1244 -0
  543. package/typechain-types/factories/PendleCamelotV1VolatileSY__factory.ts +1 -1
  544. package/typechain-types/factories/PendleChainlinkReceiver__factory.ts +216 -0
  545. package/typechain-types/factories/PendleChainlinkRelayer__factory.ts +180 -0
  546. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
  547. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
  548. package/typechain-types/factories/PendleExternalRewardDistributor__factory.ts +437 -0
  549. package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
  550. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  551. package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
  552. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  553. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  554. package/typechain-types/factories/PendleGaugeV2__factory.ts +140 -0
  555. package/typechain-types/factories/PendleGauge__factory.ts +19 -0
  556. package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
  557. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
  558. package/typechain-types/factories/PendleLpGlpOracle__factory.ts +1 -1
  559. package/typechain-types/factories/PendleMantleStakedEthSY__factory.ts +1068 -0
  560. package/typechain-types/factories/PendleMarketFactoryV2__factory.ts +770 -0
  561. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  562. package/typechain-types/factories/PendleMarketV2__factory.ts +1290 -0
  563. package/typechain-types/factories/PendleMarket__factory.ts +20 -1
  564. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  565. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  566. package/typechain-types/factories/PendleOracleForSyProxy__factory.ts +211 -0
  567. package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +1 -1
  568. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  569. package/typechain-types/factories/PendlePtGlpOracle__factory.ts +1 -1
  570. package/typechain-types/factories/PendlePtOracle__factory.ts +1 -1
  571. package/typechain-types/factories/PendlePtUsdChainlinkOracle__factory.ts +1 -1
  572. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  573. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  574. package/typechain-types/factories/PendleRouterHelper__factory.ts +1 -1
  575. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  576. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  577. package/typechain-types/factories/PendleSfrxEthSY__factory.ts +1 -1
  578. package/typechain-types/factories/PendleStargateLPSY__factory.ts +1 -1
  579. package/typechain-types/factories/PendleSwap__factory.ts +17 -1
  580. package/typechain-types/factories/PendleThenaSY__factory.ts +1352 -0
  581. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  582. package/typechain-types/factories/PendleWbEthSY__factory.ts +1049 -0
  583. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  584. package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
  585. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  586. package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
  587. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  588. package/typechain-types/factories/PtAndLpToAsset__factory.ts +150 -0
  589. package/typechain-types/factories/SAPE__factory.ts +1 -1
  590. package/typechain-types/factories/SDKErrorsDirectory__factory.ts +1596 -0
  591. package/typechain-types/factories/StarNFTV1__factory.ts +584 -0
  592. package/typechain-types/factories/SwETHSY__factory.ts +1022 -0
  593. package/typechain-types/factories/ThenaLpHelper__factory.ts +140 -0
  594. package/typechain-types/factories/ThenaMath__factory.ts +36 -0
  595. package/typechain-types/factories/ThenaPreview__factory.ts +319 -0
  596. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  597. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  598. package/typechain-types/hardhat.d.ts +352 -82
  599. package/typechain-types/index.ts +86 -28
  600. package/build/artifacts/contracts/core/TradingBot/DecisionHelper/BotDecisionHelperBase.sol/BotDecisionHelperBase.dbg.json +0 -4
  601. package/build/artifacts/contracts/core/TradingBot/DecisionHelper/BotDecisionHelperBase.sol/BotDecisionHelperBase.json +0 -789
  602. package/build/artifacts/contracts/core/TradingBot/DecisionHelper/LongYieldDecisionHelper.sol/LongYieldDecisionHelper.dbg.json +0 -4
  603. package/build/artifacts/contracts/core/TradingBot/DecisionHelper/LongYieldDecisionHelper.sol/LongYieldDecisionHelper.json +0 -1215
  604. package/build/artifacts/contracts/core/TradingBot/LongYieldTradingBot.sol/LongYieldTradingBot.dbg.json +0 -4
  605. package/build/artifacts/contracts/core/TradingBot/LongYieldTradingBot.sol/LongYieldTradingBot.json +0 -2212
  606. package/build/artifacts/contracts/core/TradingBot/TradingBotBase.sol/TradingBotBase.dbg.json +0 -4
  607. package/build/artifacts/contracts/core/TradingBot/TradingBotBase.sol/TradingBotBase.json +0 -1553
  608. package/build/artifacts/contracts/core/TradingBot/libraries/BotSimulationLib.sol/BotSimulationLib.dbg.json +0 -4
  609. package/build/artifacts/contracts/core/TradingBot/libraries/BotSimulationLib.sol/BotSimulationLib.json +0 -10
  610. package/build/artifacts/contracts/core/TradingBot/libraries/LongYieldActionLib.sol/LongYieldActionLib.dbg.json +0 -4
  611. package/build/artifacts/contracts/core/TradingBot/libraries/LongYieldActionLib.sol/LongYieldActionLib.json +0 -154
  612. package/build/artifacts/contracts/core/TradingBot/libraries/MarketExtLib.sol/MarketExtLib.dbg.json +0 -4
  613. package/build/artifacts/contracts/core/TradingBot/libraries/MarketExtLib.sol/MarketExtLib.json +0 -24
  614. package/build/artifacts/contracts/core/TradingBot/libraries/SpecSegmentLib.sol/SpecSegmentLib.dbg.json +0 -4
  615. package/build/artifacts/contracts/core/TradingBot/libraries/SpecSegmentLib.sol/SpecSegmentLib.json +0 -10
  616. package/build/artifacts/contracts/core/TradingBot/libraries/TvlLib.sol/TvlLib.dbg.json +0 -4
  617. package/build/artifacts/contracts/core/TradingBot/libraries/TvlLib.sol/TvlLib.json +0 -262
  618. package/build/artifacts/contracts/core/libraries/TokenAmountLib.sol/TokenAmountLib.dbg.json +0 -4
  619. package/build/artifacts/contracts/core/libraries/TokenAmountLib.sol/TokenAmountLib.json +0 -10
  620. package/build/artifacts/contracts/interfaces/TradingBot/IBotDecisionHelper.sol/IBotDecisionHelper.dbg.json +0 -4
  621. package/build/artifacts/contracts/interfaces/TradingBot/IBotDecisionHelper.sol/IBotDecisionHelper.json +0 -652
  622. package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldDecisionHelper.sol/ILongYieldDecisionHelper.dbg.json +0 -4
  623. package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldDecisionHelper.sol/ILongYieldDecisionHelper.json +0 -671
  624. package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldTradingBot.sol/ILongYieldTradingBot.dbg.json +0 -4
  625. package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldTradingBot.sol/ILongYieldTradingBot.json +0 -813
  626. package/build/artifacts/contracts/interfaces/TradingBot/IShortYieldDecisionHelper.sol/IShortYieldDecisionHelper.dbg.json +0 -4
  627. package/build/artifacts/contracts/interfaces/TradingBot/IShortYieldDecisionHelper.sol/IShortYieldDecisionHelper.json +0 -652
  628. package/build/artifacts/contracts/interfaces/TradingBot/IShortYieldTradingBot.sol/IShortYieldTradingBot.dbg.json +0 -4
  629. package/build/artifacts/contracts/interfaces/TradingBot/IShortYieldTradingBot.sol/IShortYieldTradingBot.json +0 -794
  630. package/build/artifacts/contracts/interfaces/TradingBot/ITradingBotBase.sol/ITradingBotBase.dbg.json +0 -4
  631. package/build/artifacts/contracts/interfaces/TradingBot/ITradingBotBase.sol/ITradingBotBase.json +0 -351
  632. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IHashflow.sol/IHashflow.dbg.json +0 -4
  633. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IHashflow.sol/IHashflow.json +0 -101
  634. package/deployments/core.ts +0 -29
  635. package/deployments/index.ts +0 -4
  636. package/deployments/markets/ape-june-29-2023.ts +0 -3
  637. package/deployments/markets/balancer-reth-dec-28-2023.ts +0 -3
  638. package/deployments/markets/balancer-wsteth-jun-27-2024.ts +0 -3
  639. package/deployments/markets/curve-fraxusdc-march-30-2023.ts +0 -3
  640. package/deployments/markets/index.ts +0 -17
  641. package/deployments/markets/looks-march-30-2023.ts +0 -3
  642. package/deployments/markets/steth-june-29-2023.ts +0 -3
  643. package/deployments/markets/steth-march-30-2023.ts +0 -3
  644. package/deployments/markets/types.ts +0 -9
  645. package/deployments/misc.ts +0 -23
  646. package/typechain-types/BotDecisionHelperBase.ts +0 -484
  647. package/typechain-types/IBotDecisionHelper.ts +0 -452
  648. package/typechain-types/IHashflow.ts +0 -159
  649. package/typechain-types/ILongYieldDecisionHelper.ts +0 -486
  650. package/typechain-types/ILongYieldTradingBot.ts +0 -684
  651. package/typechain-types/IShortYieldDecisionHelper.ts +0 -452
  652. package/typechain-types/IShortYieldTradingBot.ts +0 -576
  653. package/typechain-types/ITradingBotBase.ts +0 -375
  654. package/typechain-types/LongYieldDecisionHelper.ts +0 -601
  655. package/typechain-types/TvlLib.ts +0 -215
  656. package/typechain-types/factories/BotActionCallbackLib__factory.ts +0 -84
  657. package/typechain-types/factories/BotDecisionHelperBase__factory.ts +0 -808
  658. package/typechain-types/factories/IBotDecisionHelper__factory.ts +0 -667
  659. package/typechain-types/factories/IHashflow__factory.ts +0 -113
  660. package/typechain-types/factories/ILongYieldDecisionHelper__factory.ts +0 -690
  661. package/typechain-types/factories/ILongYieldTradingBot__factory.ts +0 -832
  662. package/typechain-types/factories/IShortYieldDecisionHelper__factory.ts +0 -671
  663. package/typechain-types/factories/IShortYieldTradingBot__factory.ts +0 -813
  664. package/typechain-types/factories/ITradingBotBase__factory.ts +0 -366
  665. package/typechain-types/factories/LongYieldActionLib__factory.ts +0 -207
  666. package/typechain-types/factories/LongYieldDecisionHelper__factory.ts +0 -1272
  667. package/typechain-types/factories/LongYieldTradingBot__factory.ts +0 -2253
  668. package/typechain-types/factories/MarketExtLib__factory.ts +0 -74
  669. package/typechain-types/factories/TradingBotBase__factory.ts +0 -1624
  670. package/typechain-types/factories/TvlLib__factory.ts +0 -309
@@ -1,1272 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
- import { Provider, TransactionRequest } from "@ethersproject/providers";
6
- import type {
7
- LongYieldDecisionHelper,
8
- LongYieldDecisionHelperInterface,
9
- } from "../LongYieldDecisionHelper";
10
-
11
- const _abi = [
12
- {
13
- inputs: [],
14
- name: "ApproxFail",
15
- type: "error",
16
- },
17
- {
18
- inputs: [
19
- {
20
- internalType: "uint256",
21
- name: "guessMin",
22
- type: "uint256",
23
- },
24
- {
25
- internalType: "uint256",
26
- name: "guessMax",
27
- type: "uint256",
28
- },
29
- {
30
- internalType: "uint256",
31
- name: "eps",
32
- type: "uint256",
33
- },
34
- ],
35
- name: "ApproxParamsInvalid",
36
- type: "error",
37
- },
38
- {
39
- inputs: [],
40
- name: "BotBinarySearchFail",
41
- type: "error",
42
- },
43
- {
44
- inputs: [
45
- {
46
- internalType: "uint256",
47
- name: "action",
48
- type: "uint256",
49
- },
50
- {
51
- internalType: "uint256",
52
- name: "guessMin",
53
- type: "uint256",
54
- },
55
- {
56
- internalType: "uint256",
57
- name: "guessMax",
58
- type: "uint256",
59
- },
60
- ],
61
- name: "BotBinarySearchInvalidRange",
62
- type: "error",
63
- },
64
- {
65
- inputs: [
66
- {
67
- internalType: "int256",
68
- name: "exchangeRate",
69
- type: "int256",
70
- },
71
- ],
72
- name: "MarketExchangeRateBelowOne",
73
- type: "error",
74
- },
75
- {
76
- inputs: [],
77
- name: "MarketExpired",
78
- type: "error",
79
- },
80
- {
81
- inputs: [
82
- {
83
- internalType: "int256",
84
- name: "currentAmount",
85
- type: "int256",
86
- },
87
- {
88
- internalType: "int256",
89
- name: "requiredAmount",
90
- type: "int256",
91
- },
92
- ],
93
- name: "MarketInsufficientPtForTrade",
94
- type: "error",
95
- },
96
- {
97
- inputs: [],
98
- name: "MarketProportionMustNotEqualOne",
99
- type: "error",
100
- },
101
- {
102
- inputs: [
103
- {
104
- internalType: "int256",
105
- name: "proportion",
106
- type: "int256",
107
- },
108
- {
109
- internalType: "int256",
110
- name: "maxProportion",
111
- type: "int256",
112
- },
113
- ],
114
- name: "MarketProportionTooHigh",
115
- type: "error",
116
- },
117
- {
118
- inputs: [
119
- {
120
- internalType: "int256",
121
- name: "rateScalar",
122
- type: "int256",
123
- },
124
- ],
125
- name: "MarketRateScalarBelowZero",
126
- type: "error",
127
- },
128
- {
129
- inputs: [],
130
- name: "MarketZeroLnImpliedRate",
131
- type: "error",
132
- },
133
- {
134
- inputs: [
135
- {
136
- internalType: "int256",
137
- name: "totalPt",
138
- type: "int256",
139
- },
140
- {
141
- internalType: "int256",
142
- name: "totalAsset",
143
- type: "int256",
144
- },
145
- ],
146
- name: "MarketZeroTotalPtOrTotalAsset",
147
- type: "error",
148
- },
149
- {
150
- inputs: [],
151
- name: "INF",
152
- outputs: [
153
- {
154
- internalType: "uint256",
155
- name: "",
156
- type: "uint256",
157
- },
158
- ],
159
- stateMutability: "view",
160
- type: "function",
161
- },
162
- {
163
- inputs: [],
164
- name: "MINIMAL_EPS",
165
- outputs: [
166
- {
167
- internalType: "uint256",
168
- name: "",
169
- type: "uint256",
170
- },
171
- ],
172
- stateMutability: "view",
173
- type: "function",
174
- },
175
- {
176
- inputs: [
177
- {
178
- components: [
179
- {
180
- components: [
181
- {
182
- internalType: "int256",
183
- name: "totalPt",
184
- type: "int256",
185
- },
186
- {
187
- internalType: "int256",
188
- name: "totalSy",
189
- type: "int256",
190
- },
191
- {
192
- internalType: "int256",
193
- name: "totalLp",
194
- type: "int256",
195
- },
196
- {
197
- internalType: "address",
198
- name: "treasury",
199
- type: "address",
200
- },
201
- {
202
- internalType: "int256",
203
- name: "scalarRoot",
204
- type: "int256",
205
- },
206
- {
207
- internalType: "uint256",
208
- name: "expiry",
209
- type: "uint256",
210
- },
211
- {
212
- internalType: "uint256",
213
- name: "lnFeeRateRoot",
214
- type: "uint256",
215
- },
216
- {
217
- internalType: "uint256",
218
- name: "reserveFeePercent",
219
- type: "uint256",
220
- },
221
- {
222
- internalType: "uint256",
223
- name: "lastLnImpliedRate",
224
- type: "uint256",
225
- },
226
- ],
227
- internalType: "struct MarketState",
228
- name: "state",
229
- type: "tuple",
230
- },
231
- {
232
- internalType: "PYIndex",
233
- name: "index",
234
- type: "uint256",
235
- },
236
- {
237
- internalType: "uint256",
238
- name: "blockTime",
239
- type: "uint256",
240
- },
241
- ],
242
- internalType: "struct MarketExtState",
243
- name: "marketExt",
244
- type: "tuple",
245
- },
246
- {
247
- internalType: "enum ActionType",
248
- name: "action",
249
- type: "uint8",
250
- },
251
- {
252
- internalType: "uint256",
253
- name: "botParam",
254
- type: "uint256",
255
- },
256
- ],
257
- name: "_calcAmountOutAndIntParams",
258
- outputs: [
259
- {
260
- internalType: "uint256",
261
- name: "amountOut",
262
- type: "uint256",
263
- },
264
- {
265
- internalType: "uint256",
266
- name: "intParams",
267
- type: "uint256",
268
- },
269
- ],
270
- stateMutability: "pure",
271
- type: "function",
272
- },
273
- {
274
- inputs: [
275
- {
276
- components: [
277
- {
278
- components: [
279
- {
280
- internalType: "uint256",
281
- name: "lpBalance",
282
- type: "uint256",
283
- },
284
- {
285
- internalType: "uint256",
286
- name: "ytBalance",
287
- type: "uint256",
288
- },
289
- {
290
- internalType: "uint256",
291
- name: "ptBalance",
292
- type: "uint256",
293
- },
294
- {
295
- internalType: "uint256",
296
- name: "syBalance",
297
- type: "uint256",
298
- },
299
- {
300
- internalType: "uint256",
301
- name: "buyBins",
302
- type: "uint256",
303
- },
304
- ],
305
- internalType: "struct BotState",
306
- name: "botState",
307
- type: "tuple",
308
- },
309
- {
310
- components: [
311
- {
312
- components: [
313
- {
314
- internalType: "int256",
315
- name: "totalPt",
316
- type: "int256",
317
- },
318
- {
319
- internalType: "int256",
320
- name: "totalSy",
321
- type: "int256",
322
- },
323
- {
324
- internalType: "int256",
325
- name: "totalLp",
326
- type: "int256",
327
- },
328
- {
329
- internalType: "address",
330
- name: "treasury",
331
- type: "address",
332
- },
333
- {
334
- internalType: "int256",
335
- name: "scalarRoot",
336
- type: "int256",
337
- },
338
- {
339
- internalType: "uint256",
340
- name: "expiry",
341
- type: "uint256",
342
- },
343
- {
344
- internalType: "uint256",
345
- name: "lnFeeRateRoot",
346
- type: "uint256",
347
- },
348
- {
349
- internalType: "uint256",
350
- name: "reserveFeePercent",
351
- type: "uint256",
352
- },
353
- {
354
- internalType: "uint256",
355
- name: "lastLnImpliedRate",
356
- type: "uint256",
357
- },
358
- ],
359
- internalType: "struct MarketState",
360
- name: "state",
361
- type: "tuple",
362
- },
363
- {
364
- internalType: "PYIndex",
365
- name: "index",
366
- type: "uint256",
367
- },
368
- {
369
- internalType: "uint256",
370
- name: "blockTime",
371
- type: "uint256",
372
- },
373
- ],
374
- internalType: "struct MarketExtState",
375
- name: "marketExt",
376
- type: "tuple",
377
- },
378
- {
379
- components: [
380
- {
381
- internalType: "uint256",
382
- name: "buyYtIy",
383
- type: "uint256",
384
- },
385
- {
386
- internalType: "uint256",
387
- name: "sellYtIy",
388
- type: "uint256",
389
- },
390
- {
391
- internalType: "uint256",
392
- name: "targetSyRatio",
393
- type: "uint256",
394
- },
395
- {
396
- internalType: "uint256",
397
- name: "maxSyRatio",
398
- type: "uint256",
399
- },
400
- {
401
- internalType: "uint256",
402
- name: "targetYtPtRatio",
403
- type: "uint256",
404
- },
405
- {
406
- internalType: "uint256",
407
- name: "numOfBins",
408
- type: "uint256",
409
- },
410
- ],
411
- internalType: "struct TradingSpecs",
412
- name: "specs",
413
- type: "tuple",
414
- },
415
- ],
416
- internalType: "struct StrategyData",
417
- name: "strategyData",
418
- type: "tuple",
419
- },
420
- ],
421
- name: "botExtStats",
422
- outputs: [
423
- {
424
- internalType: "uint256",
425
- name: "tvlInSy",
426
- type: "uint256",
427
- },
428
- {
429
- internalType: "uint256",
430
- name: "iy",
431
- type: "uint256",
432
- },
433
- {
434
- internalType: "uint256",
435
- name: "currentSyRatio",
436
- type: "uint256",
437
- },
438
- {
439
- internalType: "uint256",
440
- name: "currentYtPtRatio",
441
- type: "uint256",
442
- },
443
- ],
444
- stateMutability: "pure",
445
- type: "function",
446
- },
447
- {
448
- inputs: [
449
- {
450
- internalType: "address",
451
- name: "botAddress",
452
- type: "address",
453
- },
454
- ],
455
- name: "getActionDetails",
456
- outputs: [
457
- {
458
- components: [
459
- {
460
- internalType: "enum ActionType",
461
- name: "action",
462
- type: "uint8",
463
- },
464
- {
465
- internalType: "int256",
466
- name: "currentBin",
467
- type: "int256",
468
- },
469
- {
470
- internalType: "uint256",
471
- name: "targetIy",
472
- type: "uint256",
473
- },
474
- {
475
- internalType: "uint256",
476
- name: "guessBotParams",
477
- type: "uint256",
478
- },
479
- {
480
- internalType: "uint256",
481
- name: "guessIntParams",
482
- type: "uint256",
483
- },
484
- {
485
- internalType: "uint256",
486
- name: "amountOut",
487
- type: "uint256",
488
- },
489
- ],
490
- internalType: "struct IBotDecisionHelper.ActionToTakeResult",
491
- name: "res",
492
- type: "tuple",
493
- },
494
- ],
495
- stateMutability: "nonpayable",
496
- type: "function",
497
- },
498
- {
499
- inputs: [
500
- {
501
- components: [
502
- {
503
- components: [
504
- {
505
- internalType: "uint256",
506
- name: "lpBalance",
507
- type: "uint256",
508
- },
509
- {
510
- internalType: "uint256",
511
- name: "ytBalance",
512
- type: "uint256",
513
- },
514
- {
515
- internalType: "uint256",
516
- name: "ptBalance",
517
- type: "uint256",
518
- },
519
- {
520
- internalType: "uint256",
521
- name: "syBalance",
522
- type: "uint256",
523
- },
524
- {
525
- internalType: "uint256",
526
- name: "buyBins",
527
- type: "uint256",
528
- },
529
- ],
530
- internalType: "struct BotState",
531
- name: "botState",
532
- type: "tuple",
533
- },
534
- {
535
- components: [
536
- {
537
- components: [
538
- {
539
- internalType: "int256",
540
- name: "totalPt",
541
- type: "int256",
542
- },
543
- {
544
- internalType: "int256",
545
- name: "totalSy",
546
- type: "int256",
547
- },
548
- {
549
- internalType: "int256",
550
- name: "totalLp",
551
- type: "int256",
552
- },
553
- {
554
- internalType: "address",
555
- name: "treasury",
556
- type: "address",
557
- },
558
- {
559
- internalType: "int256",
560
- name: "scalarRoot",
561
- type: "int256",
562
- },
563
- {
564
- internalType: "uint256",
565
- name: "expiry",
566
- type: "uint256",
567
- },
568
- {
569
- internalType: "uint256",
570
- name: "lnFeeRateRoot",
571
- type: "uint256",
572
- },
573
- {
574
- internalType: "uint256",
575
- name: "reserveFeePercent",
576
- type: "uint256",
577
- },
578
- {
579
- internalType: "uint256",
580
- name: "lastLnImpliedRate",
581
- type: "uint256",
582
- },
583
- ],
584
- internalType: "struct MarketState",
585
- name: "state",
586
- type: "tuple",
587
- },
588
- {
589
- internalType: "PYIndex",
590
- name: "index",
591
- type: "uint256",
592
- },
593
- {
594
- internalType: "uint256",
595
- name: "blockTime",
596
- type: "uint256",
597
- },
598
- ],
599
- internalType: "struct MarketExtState",
600
- name: "marketExt",
601
- type: "tuple",
602
- },
603
- {
604
- components: [
605
- {
606
- internalType: "uint256",
607
- name: "buyYtIy",
608
- type: "uint256",
609
- },
610
- {
611
- internalType: "uint256",
612
- name: "sellYtIy",
613
- type: "uint256",
614
- },
615
- {
616
- internalType: "uint256",
617
- name: "targetSyRatio",
618
- type: "uint256",
619
- },
620
- {
621
- internalType: "uint256",
622
- name: "maxSyRatio",
623
- type: "uint256",
624
- },
625
- {
626
- internalType: "uint256",
627
- name: "targetYtPtRatio",
628
- type: "uint256",
629
- },
630
- {
631
- internalType: "uint256",
632
- name: "numOfBins",
633
- type: "uint256",
634
- },
635
- ],
636
- internalType: "struct TradingSpecs",
637
- name: "specs",
638
- type: "tuple",
639
- },
640
- ],
641
- internalType: "struct StrategyData",
642
- name: "strategyData",
643
- type: "tuple",
644
- },
645
- ],
646
- name: "getCurrentBin",
647
- outputs: [
648
- {
649
- internalType: "int256",
650
- name: "",
651
- type: "int256",
652
- },
653
- ],
654
- stateMutability: "pure",
655
- type: "function",
656
- },
657
- {
658
- inputs: [
659
- {
660
- internalType: "address",
661
- name: "botAddress",
662
- type: "address",
663
- },
664
- ],
665
- name: "getFloatingSyAmount",
666
- outputs: [
667
- {
668
- internalType: "uint256",
669
- name: "floatingSyAmount",
670
- type: "uint256",
671
- },
672
- ],
673
- stateMutability: "nonpayable",
674
- type: "function",
675
- },
676
- {
677
- inputs: [
678
- {
679
- components: [
680
- {
681
- components: [
682
- {
683
- internalType: "uint256",
684
- name: "lpBalance",
685
- type: "uint256",
686
- },
687
- {
688
- internalType: "uint256",
689
- name: "ytBalance",
690
- type: "uint256",
691
- },
692
- {
693
- internalType: "uint256",
694
- name: "ptBalance",
695
- type: "uint256",
696
- },
697
- {
698
- internalType: "uint256",
699
- name: "syBalance",
700
- type: "uint256",
701
- },
702
- {
703
- internalType: "uint256",
704
- name: "buyBins",
705
- type: "uint256",
706
- },
707
- ],
708
- internalType: "struct BotState",
709
- name: "botState",
710
- type: "tuple",
711
- },
712
- {
713
- components: [
714
- {
715
- components: [
716
- {
717
- internalType: "int256",
718
- name: "totalPt",
719
- type: "int256",
720
- },
721
- {
722
- internalType: "int256",
723
- name: "totalSy",
724
- type: "int256",
725
- },
726
- {
727
- internalType: "int256",
728
- name: "totalLp",
729
- type: "int256",
730
- },
731
- {
732
- internalType: "address",
733
- name: "treasury",
734
- type: "address",
735
- },
736
- {
737
- internalType: "int256",
738
- name: "scalarRoot",
739
- type: "int256",
740
- },
741
- {
742
- internalType: "uint256",
743
- name: "expiry",
744
- type: "uint256",
745
- },
746
- {
747
- internalType: "uint256",
748
- name: "lnFeeRateRoot",
749
- type: "uint256",
750
- },
751
- {
752
- internalType: "uint256",
753
- name: "reserveFeePercent",
754
- type: "uint256",
755
- },
756
- {
757
- internalType: "uint256",
758
- name: "lastLnImpliedRate",
759
- type: "uint256",
760
- },
761
- ],
762
- internalType: "struct MarketState",
763
- name: "state",
764
- type: "tuple",
765
- },
766
- {
767
- internalType: "PYIndex",
768
- name: "index",
769
- type: "uint256",
770
- },
771
- {
772
- internalType: "uint256",
773
- name: "blockTime",
774
- type: "uint256",
775
- },
776
- ],
777
- internalType: "struct MarketExtState",
778
- name: "marketExt",
779
- type: "tuple",
780
- },
781
- {
782
- components: [
783
- {
784
- internalType: "uint256",
785
- name: "buyYtIy",
786
- type: "uint256",
787
- },
788
- {
789
- internalType: "uint256",
790
- name: "sellYtIy",
791
- type: "uint256",
792
- },
793
- {
794
- internalType: "uint256",
795
- name: "targetSyRatio",
796
- type: "uint256",
797
- },
798
- {
799
- internalType: "uint256",
800
- name: "maxSyRatio",
801
- type: "uint256",
802
- },
803
- {
804
- internalType: "uint256",
805
- name: "targetYtPtRatio",
806
- type: "uint256",
807
- },
808
- {
809
- internalType: "uint256",
810
- name: "numOfBins",
811
- type: "uint256",
812
- },
813
- ],
814
- internalType: "struct TradingSpecs",
815
- name: "specs",
816
- type: "tuple",
817
- },
818
- ],
819
- internalType: "struct StrategyData",
820
- name: "strategyData",
821
- type: "tuple",
822
- },
823
- {
824
- internalType: "enum ActionType",
825
- name: "action",
826
- type: "uint8",
827
- },
828
- {
829
- internalType: "uint256",
830
- name: "botParam",
831
- type: "uint256",
832
- },
833
- {
834
- components: [
835
- {
836
- internalType: "uint256",
837
- name: "guessMin",
838
- type: "uint256",
839
- },
840
- {
841
- internalType: "uint256",
842
- name: "guessMax",
843
- type: "uint256",
844
- },
845
- {
846
- internalType: "uint256",
847
- name: "guessOffchain",
848
- type: "uint256",
849
- },
850
- {
851
- internalType: "uint256",
852
- name: "maxIteration",
853
- type: "uint256",
854
- },
855
- {
856
- internalType: "uint256",
857
- name: "eps",
858
- type: "uint256",
859
- },
860
- ],
861
- internalType: "struct ApproxParams",
862
- name: "intParams",
863
- type: "tuple",
864
- },
865
- ],
866
- name: "previewAction",
867
- outputs: [
868
- {
869
- internalType: "bool",
870
- name: "success",
871
- type: "bool",
872
- },
873
- {
874
- components: [
875
- {
876
- internalType: "uint256",
877
- name: "lpBalance",
878
- type: "uint256",
879
- },
880
- {
881
- internalType: "uint256",
882
- name: "ytBalance",
883
- type: "uint256",
884
- },
885
- {
886
- internalType: "uint256",
887
- name: "ptBalance",
888
- type: "uint256",
889
- },
890
- {
891
- internalType: "uint256",
892
- name: "syBalance",
893
- type: "uint256",
894
- },
895
- {
896
- internalType: "uint256",
897
- name: "buyBins",
898
- type: "uint256",
899
- },
900
- ],
901
- internalType: "struct BotState",
902
- name: "bot",
903
- type: "tuple",
904
- },
905
- {
906
- components: [
907
- {
908
- components: [
909
- {
910
- internalType: "int256",
911
- name: "totalPt",
912
- type: "int256",
913
- },
914
- {
915
- internalType: "int256",
916
- name: "totalSy",
917
- type: "int256",
918
- },
919
- {
920
- internalType: "int256",
921
- name: "totalLp",
922
- type: "int256",
923
- },
924
- {
925
- internalType: "address",
926
- name: "treasury",
927
- type: "address",
928
- },
929
- {
930
- internalType: "int256",
931
- name: "scalarRoot",
932
- type: "int256",
933
- },
934
- {
935
- internalType: "uint256",
936
- name: "expiry",
937
- type: "uint256",
938
- },
939
- {
940
- internalType: "uint256",
941
- name: "lnFeeRateRoot",
942
- type: "uint256",
943
- },
944
- {
945
- internalType: "uint256",
946
- name: "reserveFeePercent",
947
- type: "uint256",
948
- },
949
- {
950
- internalType: "uint256",
951
- name: "lastLnImpliedRate",
952
- type: "uint256",
953
- },
954
- ],
955
- internalType: "struct MarketState",
956
- name: "state",
957
- type: "tuple",
958
- },
959
- {
960
- internalType: "PYIndex",
961
- name: "index",
962
- type: "uint256",
963
- },
964
- {
965
- internalType: "uint256",
966
- name: "blockTime",
967
- type: "uint256",
968
- },
969
- ],
970
- internalType: "struct MarketExtState",
971
- name: "marketExt",
972
- type: "tuple",
973
- },
974
- ],
975
- stateMutability: "pure",
976
- type: "function",
977
- },
978
- {
979
- inputs: [
980
- {
981
- components: [
982
- {
983
- components: [
984
- {
985
- internalType: "uint256",
986
- name: "lpBalance",
987
- type: "uint256",
988
- },
989
- {
990
- internalType: "uint256",
991
- name: "ytBalance",
992
- type: "uint256",
993
- },
994
- {
995
- internalType: "uint256",
996
- name: "ptBalance",
997
- type: "uint256",
998
- },
999
- {
1000
- internalType: "uint256",
1001
- name: "syBalance",
1002
- type: "uint256",
1003
- },
1004
- {
1005
- internalType: "uint256",
1006
- name: "buyBins",
1007
- type: "uint256",
1008
- },
1009
- ],
1010
- internalType: "struct BotState",
1011
- name: "botState",
1012
- type: "tuple",
1013
- },
1014
- {
1015
- components: [
1016
- {
1017
- components: [
1018
- {
1019
- internalType: "int256",
1020
- name: "totalPt",
1021
- type: "int256",
1022
- },
1023
- {
1024
- internalType: "int256",
1025
- name: "totalSy",
1026
- type: "int256",
1027
- },
1028
- {
1029
- internalType: "int256",
1030
- name: "totalLp",
1031
- type: "int256",
1032
- },
1033
- {
1034
- internalType: "address",
1035
- name: "treasury",
1036
- type: "address",
1037
- },
1038
- {
1039
- internalType: "int256",
1040
- name: "scalarRoot",
1041
- type: "int256",
1042
- },
1043
- {
1044
- internalType: "uint256",
1045
- name: "expiry",
1046
- type: "uint256",
1047
- },
1048
- {
1049
- internalType: "uint256",
1050
- name: "lnFeeRateRoot",
1051
- type: "uint256",
1052
- },
1053
- {
1054
- internalType: "uint256",
1055
- name: "reserveFeePercent",
1056
- type: "uint256",
1057
- },
1058
- {
1059
- internalType: "uint256",
1060
- name: "lastLnImpliedRate",
1061
- type: "uint256",
1062
- },
1063
- ],
1064
- internalType: "struct MarketState",
1065
- name: "state",
1066
- type: "tuple",
1067
- },
1068
- {
1069
- internalType: "PYIndex",
1070
- name: "index",
1071
- type: "uint256",
1072
- },
1073
- {
1074
- internalType: "uint256",
1075
- name: "blockTime",
1076
- type: "uint256",
1077
- },
1078
- ],
1079
- internalType: "struct MarketExtState",
1080
- name: "marketExt",
1081
- type: "tuple",
1082
- },
1083
- {
1084
- components: [
1085
- {
1086
- internalType: "uint256",
1087
- name: "buyYtIy",
1088
- type: "uint256",
1089
- },
1090
- {
1091
- internalType: "uint256",
1092
- name: "sellYtIy",
1093
- type: "uint256",
1094
- },
1095
- {
1096
- internalType: "uint256",
1097
- name: "targetSyRatio",
1098
- type: "uint256",
1099
- },
1100
- {
1101
- internalType: "uint256",
1102
- name: "maxSyRatio",
1103
- type: "uint256",
1104
- },
1105
- {
1106
- internalType: "uint256",
1107
- name: "targetYtPtRatio",
1108
- type: "uint256",
1109
- },
1110
- {
1111
- internalType: "uint256",
1112
- name: "numOfBins",
1113
- type: "uint256",
1114
- },
1115
- ],
1116
- internalType: "struct TradingSpecs",
1117
- name: "specs",
1118
- type: "tuple",
1119
- },
1120
- ],
1121
- internalType: "struct StrategyData",
1122
- name: "strategyData",
1123
- type: "tuple",
1124
- },
1125
- {
1126
- internalType: "enum ActionType",
1127
- name: "action",
1128
- type: "uint8",
1129
- },
1130
- {
1131
- internalType: "uint256",
1132
- name: "targetIy",
1133
- type: "uint256",
1134
- },
1135
- {
1136
- internalType: "uint256",
1137
- name: "rebalanceAdditionalCheck",
1138
- type: "uint256",
1139
- },
1140
- {
1141
- components: [
1142
- {
1143
- internalType: "uint256",
1144
- name: "guessMin",
1145
- type: "uint256",
1146
- },
1147
- {
1148
- internalType: "uint256",
1149
- name: "guessMax",
1150
- type: "uint256",
1151
- },
1152
- {
1153
- internalType: "uint256",
1154
- name: "guessOffchain",
1155
- type: "uint256",
1156
- },
1157
- {
1158
- internalType: "uint256",
1159
- name: "maxIteration",
1160
- type: "uint256",
1161
- },
1162
- {
1163
- internalType: "uint256",
1164
- name: "eps",
1165
- type: "uint256",
1166
- },
1167
- ],
1168
- internalType: "struct ApproxParams",
1169
- name: "botParams",
1170
- type: "tuple",
1171
- },
1172
- {
1173
- components: [
1174
- {
1175
- internalType: "uint256",
1176
- name: "guessMin",
1177
- type: "uint256",
1178
- },
1179
- {
1180
- internalType: "uint256",
1181
- name: "guessMax",
1182
- type: "uint256",
1183
- },
1184
- {
1185
- internalType: "uint256",
1186
- name: "guessOffchain",
1187
- type: "uint256",
1188
- },
1189
- {
1190
- internalType: "uint256",
1191
- name: "maxIteration",
1192
- type: "uint256",
1193
- },
1194
- {
1195
- internalType: "uint256",
1196
- name: "eps",
1197
- type: "uint256",
1198
- },
1199
- ],
1200
- internalType: "struct ApproxParams",
1201
- name: "intParams",
1202
- type: "tuple",
1203
- },
1204
- ],
1205
- name: "searchForBotParam",
1206
- outputs: [
1207
- {
1208
- internalType: "uint256",
1209
- name: "",
1210
- type: "uint256",
1211
- },
1212
- ],
1213
- stateMutability: "pure",
1214
- type: "function",
1215
- },
1216
- ];
1217
-
1218
- const _bytecode =
1219
- "0x608060405234801561001057600080fd5b50613773806100206000396000f3fe608060405234801561001057600080fd5b50600436106100835760003560e01c806303270af414610088578063194d91fc146100ae578063394dd045146100c15780638e727446146100f45780639d2a679f14610114578063a76541e51461011d578063ac4c7e8414610130578063cf0933611461013d578063cf209b601461015e575b600080fd5b61009b610096366004613220565b610242565b6040519081526020015b60405180910390f35b61009b6100bc36600461328f565b61043e565b6100d46100cf3660046132ac565b61050a565b6040805194855260208501939093529183015260608201526080016100a5565b61010761010236600461328f565b610531565b6040516100a591906132df565b61009b60001981565b61009b61012b3660046132ac565b61071b565b61009b655af3107a400081565b61015061014b366004613340565b610742565b6040516100a5929190613380565b61017161016c36600461338e565b6107a3565b6040516100a593929190600061022082019050841515825283516020830152602084015160408301526040840151606083015260608401516080830152608084015160a08301528251805160c0840152602081015160e08401526040810151610100818186015260018060a01b03606084015116610120860152608083015161014086015260a083015161016086015260c083015161018086015260e08301516101a0860152808301516101c086015250505060208301516101e08301526040830151610200830152949350505050565b6000806040518060600160405280898152602001886004811115610268576102686132c9565b81526020018790526040850151909150156102b657600161029482866040015188886080015188610830565b60028111156102a5576102a56132c9565b036102b65750506040820151610434565b60006102cb89600001518a602001518a61094d565b905080856020015111156102e157602085018190525b60208501518551111561032c57876004811115610300576103006132c9565b8551602087015160405163f25ccea360e01b8152610323939291906004016133e1565b60405180910390fd5b50600261034482866020015188886080015188610830565b6002811115610355576103556132c9565b146103665750506020820151610434565b60005b846060015181101561041a57600060028660000151876020015161038d919061340d565b6103979190613436565b86516103a3919061344a565b905060006103b884838a8a608001518a610830565b905060018160028111156103ce576103ce6132c9565b036103de57509250610434915050565b60008160028111156103f2576103f26132c9565b036103ff57818752610407565b602087018290525b5050806104139061345d565b9050610369565b5060405163fef33c9d60e01b815260040160405180910390fd5b9695505050505050565b600080826001600160a01b031663eb983ce56040518163ffffffff1660e01b81526004016102c0604051808303816000875af1158015610482573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a691906134d9565b90506000806104bd83600001518460200151610983565b5092505091508260400151606001518110156104de57506000949350505050565b60408084015101516104f1908390610a0c565b835160600151610501919061340d565b95945050505050565b60008060008061052285600001518660200151610983565b93509350935093509193509193565b61056b6040805160c08101909152806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000826001600160a01b031663eb983ce56040518163ffffffff1660e01b81526004016102c0604051808303816000875af11580156105ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d291906134d9565b905060006105e38260200151610a2f565b90506105f88260000151836040015183610a7c565b6020840181905260000361061157505060008152919050565b610628826000015183604001518560200151610a91565b60408401526020830151600019906000908113156106845760028552835180516020870151608090920151604087015160a00151610667939190610ae5565b91508160000361067f57505060008352509092915050565b6106d0565b60018552600061069385610b85565b90506106b5818760200151876000015160800151886040015160a00151610ae5565b9150816000036106ce5750506000845250919392505050565b505b6106f08486600001518760400151846106e887610c9f565b610096610cdb565b606086018190526020850151865161070792610742565b608087015260a08601525092949350505050565b600061073c826000015183604001516107378560200151610a2f565b610a7c565b92915050565b6000806002846004811115610759576107596132c9565b036107845761077a8361076a610cdb565b61077388610d1b565b9190610d59565b909250905061079b565b6107978361079187610d1b565b90610df6565b5091505b935093915050565b60006107ad612ed9565b6107b5612f08565b86516107c090610efa565b91506107cf8760200151610d1b565b905060018660048111156107e5576107e56132c9565b036107fc576107f5828287610f44565b9250610826565b6002866004811115610810576108106132c9565b03610821576107f582828787610fa2565b600092505b9450945094915050565b60008060008061084a89600001518a602001518a886107a3565b925092509250826108615760029350505050610501565b600061086c82610a2f565b905060018a602001516004811115610886576108866132c9565b03610906576020808401518b5151909101516000916108a49161340d565b9050888111156108bc57600295505050505050610501565b6108cb828c604001518a610ff9565b156108de57600195505050505050610501565b8a604001518210156108f857600295505050505050610501565b600095505050505050610501565b610915818b604001518961102c565b15610927576001945050505050610501565b8960400151811115610940576002945050505050610501565b6000945050505050610501565b60006001826004811115610963576109636132c9565b03610978576109718361105a565b905061097c565b5082515b9392505050565b60008080806109928686611080565b935061099d85610a2f565b60608701519093506109af908561116e565b915060006109ca87600001516109c488610d1b565b90611194565b91505060008760400151826109df919061344a565b905080156109fb5760208801516109f6908261116e565b6109ff565b6000195b9250505092959194509250565b600080610a198385613612565b9050670de0b6b3a7640000815b04949350505050565b6000670de0b6b3a7640000610a72610a638460400151856000015160a00151610a58919061340d565b6301e133809061116e565b610a6c8561124b565b90611298565b61073c919061340d565b6000610a89838584611441565b949350505050565b600081600003610aa357610aa3613629565b6000610aaf8584611456565b90506000831215610ad757610acf610ac882600161344a565b859061149d565b91505061097c565b610acf610ac860018361340d565b600083600003610af757610af7613629565b6000808512610b1b5783610b0c846002613612565b610b16919061340d565b610b1d565b835b9050600081670de0b6b3a7640000610b348861150c565b610b3e9190613612565b610b489190613436565b90506000670de0b6b3a7640000610b6383610a6c818461344a565b610b6d919061340d565b9050610b798882610a0c565b98975050505050505050565b600080610b9a83600001518460200151610983565b9350505050826040015160800151811015610bb85750600092915050565b6000610bcb846000015160200151610c9f565b90506000610bd7610cdb565b90505b8151610be790600161344a565b82602001511115610c96576000600283600001518460200151610c0a919061340d565b610c149190613436565b8351610c20919061344a565b90506000806000610c3489600186886107a3565b92509250925082610c5957610c4a60018561340d565b602087015250610bda92505050565b610c638282610983565b60408d015160800151909a508a109250610c8291505057838652610c8d565b610c4a60018561340d565b50505050610bda565b50519392505050565b610ca7612ed9565b506040805160a0810182526001815260208101929092526000908201526101006060820152655af3107a4000608082015290565b610ce3612ed9565b6040518060a00160405280600181526020016000198152602001600081526020016101008152602001655af3107a4000815250905090565b610d23612f08565b6040518060600160405280610d3b8460000151611527565b81526020018360200151815260200183604001518152509050919050565b600080600080610d698787611194565b915091506000610d868389602001516115a490919063ffffffff16565b90506000610d94828461344a565b90506000610dba8a60200151838c60400151610daf8c610efa565b8e51939291906115b0565b5060208c015160408d01518d51929950929350610dd89289906116d1565b5050508083610de7919061344a565b96505050505050935093915050565b6000806000610e1e85602001518587604001518860000151611722909392919063ffffffff16565b505060208601519091506000610e348284613612565b610e46670de0b6b3a764000088613612565b610e50919061340d565b875151909150600090610e629061174b565b83610e748a600001516020015161174b565b610e7e9190613612565b610e889190613436565b610e9a90670de0b6b3a764000061344a565b90506000610ea88284613436565b9050610eb4818961340d565b95506000610ecf878b6020015161175a90919063ffffffff16565b90506000610edd878361340d565b9050610eea8b8285611766565b9850505050505050509250929050565b610f02612ed9565b6040518060a001604052808360000151815260200183602001518152602001836040015181526020018360600151815260200183608001518152509050919050565b60008080610f528585610df6565b915091508560200151811115610f6d5760009250505061097c565b8086602001818151610f7f919061340d565b905250855182908790610f9390839061344a565b90525060019695505050505050565b8351600090831115610fb657506000610a89565b6000610fcd84610fc585610efa565b879190610d59565b5090508386600001818151610fe2919061340d565b905250602086018051829190610f9390839061344a565b6000828410158015610a8957506110218361101c84670de0b6b3a764000061344a565b610a0c565b909311159392505050565b6000828411158015610a89575061104f8361101c84670de0b6b3a764000061340d565b909310159392505050565b60208101516040820151825160009261073c9261107892919061193c565b835151611a36565b60008061108c83610d1b565b90506000806110a886600001518461119490919063ffffffff16565b9150915060008287606001516110be919061344a565b905060008760400151836110d2919061344a565b905087602001518111611120576110e98582611ad5565b6110f3908361344a565b915061110f818960200151611108919061340d565b8690611ae7565b611119908361344a565b9150611163565b6020880151611130908690611ad5565b61113a908361344a565b915061115688602001518261114f919061340d565b8690611b42565b611160908361344a565b91505b509695505050505050565b600080611183670de0b6b3a764000085613612565b9050828181610a2657610a26613420565b60008060006111a284611b66565b855160408101516020909101519192506000916111bf908461363f565b6111c9919061366f565b8651604081015190519192506000916111e2908561363f565b6111ec919061366f565b8751604001519091506111ff9084611b7c565b8751604001528651516112129082611b7c565b8751528651602001516112259083611b7c565b8751602001526112348261174b565b61123d8261174b565b945094505050509250929050565b602081015160408201518251600092839261126792919061193c565b9050600061128d8460000151600001518360200151846000015185604001516000611bc3565b9050610a898161174b565b6000816000036112b15750670de0b6b3a764000061073c565b826000036112c15750600061073c565b600160ff1b83106113065760405162461bcd60e51b815260206004820152600f60248201526e78206f7574206f6620626f756e647360881b6044820152606401610323565b82770bce5086492111aea88f4bb1ca6bcf584181ea8059f7653283106113605760405162461bcd60e51b815260206004820152600f60248201526e79206f7574206f6620626f756e647360881b6044820152606401610323565b826000670c7d713b49da0000831380156113815750670f43fc2c04ee000083125b156113b857600061139184611c74565b9050670de0b6b3a764000080820784020583670de0b6b3a7640000830502019150506113c6565b816113c284611d93565b0290505b670de0b6b3a76400009005680238fd42c5cf03ffff1981128015906113f4575068070c1cc73b00c800008113155b6114385760405162461bcd60e51b815260206004820152601560248201527470726f64756374206f7574206f6620626f756e647360581b6044820152606401610323565b61043481612136565b6000610a8983611451868561254b565b6125b7565b60008160000361146857611468613629565b6001821261147e578161147a8161369d565b9250505b61097c61148e8460800151611b66565b61149890846136b5565b61174b565b600081158015906114bd575060a08301516114b9906002613612565b8214155b6114c9576114c9613629565b60006114d4846125ee565b90506114e1600282613436565b6114ec60018561340d565b6114f69083613612565b8551611502919061344a565b610a89919061344a565b60008082136115235761151e826136dd565b61073c565b5090565b61152f612f2f565b60405180610120016040528083600001518152602001836020015181526020018360400151815260200183606001516001600160a01b03168152602001836080015181526020018360a0015181526020018360c0015181526020018360e0015181526020018361010001518152509050919050565b600061097c838361261c565b60008080806115c089898861193c565b905084604001516000036116025784516115da908861263b565b855260208501516115f4906115ef8b84612651565b6126d5565b6020860152611602856126e4565b60005b85606001518110156116ac57600061161d8783612732565b905060008061162e8d868e86612797565b50909250905060006116408d846115a4565b9050600061164e828661340d565b90508c811161168557611666818e8d6080015161102c565b1561167d575097509195509093506116c692505050565b848b52611696565b61169060018661340d565b60208c01525b5050505050806116a59061345d565b9050611605565b50604051637d388ed960e11b815260040160405180910390fd5b955095509592505050565b6000806000806000806116ee8a8a6116e88b6127c8565b8a6127df565b9250925092506116fd8361174b565b95506117088261174b565b94506117138161174b565b93505050509450945094915050565b6000806000806000806117398a8a6116e88b611b66565b9250925092506116fd61149884612872565b60008082121561152357600080fd5b600061097c8383612880565b825160a001516040840151600091116117c05760405162461bcd60e51b815260206004820152601c60248201527b13585c9ad95d115e1d131a588e88195e1c1a5c9959081b585c9ad95d60221b6044820152606401610323565b83516040015160001261180c5760405162461bcd60e51b815260206004820152601460248201527304d61726b65744578744c69623a204c50203c20360641b6044820152606401610323565b600061181784611b66565b9050600061182484611b66565b90506000806000808960000151600001518a600001516040015186611849919061363f565b611853919061366f565b8a516020810151604090910151919250600091611870908961363f565b61187a919061366f565b9050808212156118b5578a51604081015160209091015192955086945085926118a490849061363f565b6118ae919061366f565b92506118de565b8a516040810151905191955087935085916118d190839061363f565b6118db919061366f565b93505b828b600001516020018181516118f491906136b5565b9052508a5180518591906119099083906136b5565b9052508a5160400180518691906119219083906136b5565b90525061192d8561174b565b9b9a5050505050505050505050565b6119676040518060800160405280600081526020016000815260200160008152602001600081525090565b60a0840151821061198b5760405163b2094b5960e01b815260040160405180910390fd5b6000828560a0015161199d919061340d565b90506119a98582612895565b825260208501516119bb9085906128f6565b6020830152845115806119d057506020820151155b156119f7578451602083015160405163b1c4aefb60e01b8152610323929190600401613380565b611a158560000151866101000151846020015185600001518561292d565b604083015260c0850151611a2990826129ae565b6060830152509392505050565b600080611a63611a5e856000015186604001518760600151611a5891906136f9565b906129e2565b612136565b90506000611a83611a7c670de0b6b3a7640000846136b5565b8390612a05565b90506000611aa1866020015186611a9a91906136b5565b83906129e2565b90506000611aaf82876136f9565b90506103e8611ac0826103e7613612565b611aca9190613436565b979650505050505050565b602082015160009061097c908361175a565b6020820151604083015183516000928392611b059291908690611722565b505090506000611b22828660200151612a2b90919063ffffffff16565b90506000611b30828661340d565b6020870151909150610434908261175a565b602082015160408301518351600092611b5c9285906116d1565b5090949350505050565b60006001600160ff1b0382111561152357600080fd5b600081831215611bb95760405162461bcd60e51b81526020600482015260086024820152676e6567617469766560c01b6044820152606401610323565b61097c82846136f9565b600080611bd08784611b7c565b90506000611be1611a7c888a6136b5565b9050670d529ae9e8600000811315611c185780670d529ae9e8600000604051637e34684f60e11b8152600401610323929190613380565b6000611c2382612a38565b905085611c308289612a05565b611c3a91906136b5565b9350670de0b6b3a7640000841215611c685760405163329e322960e21b815260048101859052602401610323565b50505095945050505050565b670de0b6b3a7640000026000806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff1985010281611cb557611cb5613420565b05905060006a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b6000670de0b6b3a7640000821215611dd457611dcb826a0c097ce7bc90715b34b9f160241b81611dc557611dc5613420565b05611d93565b60000392915050565b6000775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b8312611e1f5772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b8312611e56576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff00840008312611e9e576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312611ed9576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf8508312611f1057693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e28312611f4757690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d038312611f7c5768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb417461211108312611fa757680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d8312611fdc576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f17757889379378312612011576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b2866038312612045576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac8312612079576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d6310000080860302816120a2576120a2613420565b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b6000680238fd42c5cf03ffff19821215801561215b575068070c1cc73b00c800008213155b61219a5760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b6044820152606401610323565b60008212156121d2576121af82600003612136565b6a0c097ce7bc90715b34b9f160241b816121cb576121cb613420565b0592915050565b60006806f05b59d3b2000000831261221057506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b612246565b6803782dace9d9000000831261224257506803782dace9d8ffffff19909101906b1425982cf597cd205cef7380612246565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac6200000084126122965768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d63100000084126122d2576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b18800000841261230c57682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412612346576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac6200000841261237f57680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d6310000084126123b85768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b188000084126123f1576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c40000841261242a5768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b815160009082101561255f5750600061073c565b826020015182111561258d5760a083015161257b906002613612565b61258690600161344a565b905061073c565b612596836125ee565b83516125a2908461340d565b6125ac9190613436565b61097c90600161344a565b6000806125c78460800151611b66565b6125d084611b66565b6125da91906136f9565b90506001811261097c578061050181613720565b60008160a0015160026126019190613612565b82516020840151612612919061340d565b61073c9190613436565b6000670de0b6b3a76400006126318484613612565b61097c9190613436565b600081831161264a578161097c565b5090919050565b6000806000905060006001846020015161266b919061340d565b90505b8082146126cd5760006002612683838561344a565b61268e90600161344a565b6126989190613436565b905060006126ab86886000015184612a8b565b12156126c3576126bc60018261340d565b91506126c7565b8092505b5061266e565b509392505050565b600081831061264a578161097c565b6020810151815111806127025750670de0b6b3a76400008160800151115b1561272f57805160208201516080830151604051632cc06bc160e21b8152610323939291906004016133e1565b50565b6000811580156127455750604083015115155b156127555750604082015161073c565b602083015183511161277e57602083015183516002916127749161344a565b6125869190613436565b604051637d388ed960e11b815260040160405180910390fd5b600080808080806127b589896127ac8a6136dd565b8d929190612b7d565b919c909b50909950975050505050505050565b60006127d382611b66565b61073c9060001961363f565b60008060006127f28760a0015185101590565b156128105760405163b2094b5960e01b815260040160405180910390fd5b86518512612836578651604051632185509b60e21b815261032391908790600401613380565b600061284388888761193c565b905061285188828989612b7d565b919550935091506128678882898988878b612cd1565b509450945094915050565b600061073c8260001961363f565b600082612631670de0b6b3a764000084613612565b60006128a082611b66565b6128b76128b26201518061016d613612565b611b66565b84608001516128c6919061363f565b6128d0919061366f565b90506000811361073c57604051630e520c3b60e11b815260048101829052602401610323565b6000806000831261290857600161290c565b6000195b90506129236128b28561291e8661150c565b61261c565b610a89908261363f565b60008061293a86846129ae565b9050670de0b6b3a76400008112156129685760405163329e322960e21b815260048101829052602401610323565b600061297e612977878a6136b5565b8990612a05565b9050600061298b82612a38565b90506129978187612a05565b6129a190846136f9565b9998505050505050505050565b6000806129c06201518061016d613612565b6129ca8486613612565b6129d49190613436565b9050610a89611a5e82611b66565b6000806129ef838561363f565b9050670de0b6b3a7640000815b05949350505050565b600080612a1a670de0b6b3a76400008561363f565b90508281816129fc576129fc613420565b600082610a898184612d63565b6000670de0b6b3a76400008203612a625760405163a9c8b14d60e01b815260040160405180910390fd5b6000612a80612a7984670de0b6b3a76400006136f9565b8490612a05565b905061097c81612d8f565b600080828560200151612a9e91906136f9565b90506000612aac85856136b5565b9050600082138015612abe5750600081135b612aff5760405162461bcd60e51b81526020600482015260126024820152711a5b9d985b1a59081c1d151bd3585c9ad95d60721b6044820152606401610323565b6000612b2d612b0e848461363f565b6020890151612b1d90896136b5565b612b27908861363f565b90612a05565b90506000612b43612b3e8486612a05565b612d8f565b8851909150600090612b5e90670de0b6b3a764000090612a05565b9050612b6e81611a5884866136f9565b89604001516129a191906136f9565b600080600080612ba08860000151886020015189600001518a6040015189611bc3565b90506000612bb6612bb18784612a05565b612872565b60608901519091506000871315612c25576000612bd38483612a05565b9050670de0b6b3a7640000811215612c015760405163329e322960e21b815260048101829052602401610323565b612c1d612c1683670de0b6b3a76400006136f9565b84906129e2565b915050612c52565b612c4f81612c3b81670de0b6b3a76400006136f9565b612c45908561363f565b612bb1919061366f565b90505b60006064612c638c60e00151611b66565b612c6d908461363f565b612c77919061366f565b90506000612c8583856136f9565b905060008112612c9e57612c998a82612e20565b612ca8565b612ca88a82612e4d565b9750612cb48a84612e20565b9650612cc08a83612e20565b955050505050509450945094915050565b6000818860a00151612ce3919061340d565b8851909150612cf29086611b7c565b8852612d0c612d0184866136b5565b60208a015190611b7c565b602089018190528851612d3191612d249089906128f6565b895160408b015185612e7a565b6101008901819052600003612d5957604051635534d70f60e11b815260040160405180910390fd5b5050505050505050565b6000670de0b6b3a7640000600181612d7b8686613612565b612d85919061344a565b612631919061340d565b6000808213612dd05760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b6044820152606401610323565b670c7d713b49da000082138015612dee5750670f43fc2c04ee000082125b15612e1257670de0b6b3a7640000612e0583611c74565b816121cb576121cb613420565b61073c82611d93565b919050565b60008060008312612e32576001612e36565b6000195b90506129236128b285612e488661150c565b612880565b60008060008312612e5f576001612e63565b6000195b90506129236128b285612e758661150c565b612ec1565b600080612e8b878787876000611bc3565b90506000612e9b61149883612d8f565b905083612ead6201518061016d613612565b612eb79083613612565b610b799190613436565b600082600181612d7b670de0b6b3a764000086613612565b6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6040518060600160405280612f1b612f2f565b815260200160008152602001600081525090565b60405180610120016040528060008152602001600081526020016000815260200160006001600160a01b0316815260200160008152602001600081526020016000815260200160008152602001600081525090565b60405160a081016001600160401b0381118282101715612fb457634e487b7160e01b600052604160045260246000fd5b60405290565b604051606081016001600160401b0381118282101715612fb457634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b0381118282101715612fb457634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715612fb457634e487b7160e01b600052604160045260246000fd5b600060a0828403121561305d57600080fd5b613065612f84565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015292915050565b6001600160a01b038116811461272f57600080fd5b8035612e1b81613099565b60008183036101608112156130cd57600080fd5b6130d5612fba565b9150610120808212156130e757600080fd5b6130ef612fea565b9150833582526020840135602083015260408401356040830152613115606085016130ae565b60608301526080840135608083015260a084013560a083015260c084013560c083015260e084013560e08301526101008085013581840152508183528084013560208401525050610140820135604082015292915050565b60008183036102c081121561318157600080fd5b613189612fba565b9150613195848461304b565b82526131a48460a085016130b9565b602083015260c06101ff19820112156131bc57600080fd5b506131c561301b565b610200830135815261022083013560208201526102408301356040820152610260830135606082015261028083013560808201526102a083013560a08201528060408301525092915050565b803560058110612e1b57600080fd5b600080600080600080610460878903121561323a57600080fd5b613244888861316d565b95506132536102c08801613211565b94506102e08701359350610300870135925061327388610320890161304b565b9150613283886103c0890161304b565b90509295509295509295565b6000602082840312156132a157600080fd5b813561097c81613099565b60006102c082840312156132bf57600080fd5b61097c838361316d565b634e487b7160e01b600052602160045260246000fd5b815160c08201906005811061330457634e487b7160e01b600052602160045260246000fd5b808352506020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015292915050565b60008060006101a0848603121561335657600080fd5b61336085856130b9565b925061336f6101608501613211565b915061018084013590509250925092565b918252602082015260400190565b6000806000806103a085870312156133a557600080fd5b6133af868661316d565b93506133be6102c08601613211565b92506102e085013591506133d686610300870161304b565b905092959194509250565b9283526020830191909152604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8181038181111561073c5761073c6133f7565b634e487b7160e01b600052601260045260246000fd5b60008261344557613445613420565b500490565b8082018082111561073c5761073c6133f7565b60006001820161346f5761346f6133f7565b5060010190565b8051612e1b81613099565b600060c0828403121561349357600080fd5b61349b61301b565b9050815181526020820151602082015260408201516040820152606082015160608201526080820151608082015260a082015160a082015292915050565b60008183036102c08112156134ed57600080fd5b6134f5612fba565b60a082121561350357600080fd5b61350b612f84565b845181526020850151602082015260408501516040820152606085015160608201526080850151608082015280825250609f19820191506101608083121561355257600080fd5b61355a612fba565b6101208085121561356a57600080fd5b613572612fea565b945060a0870151855260c0870151602086015260e0870151604086015261010061359d818901613476565b606087015281880151608087015261014088015160a08701528388015160c087015261018088015160e08701526101a08801518187015250508381526101c086015160208201526101e086015160408201528060208401525050613605856102008601613481565b6040820152949350505050565b808202811582820484141761073c5761073c6133f7565b634e487b7160e01b600052600160045260246000fd5b80820260008212600160ff1b8414161561365b5761365b6133f7565b818105831482151761073c5761073c6133f7565b60008261367e5761367e613420565b600160ff1b821460001984141615613698576136986133f7565b500590565b60006001600160ff1b01820161346f5761346f6133f7565b80820182811260008312801582168215821617156136d5576136d56133f7565b505092915050565b6000600160ff1b82016136f2576136f26133f7565b5060000390565b8181036000831280158383131683831282161715613719576137196133f7565b5092915050565b6000600160ff1b8201613735576137356133f7565b50600019019056fea26469706673582212201a753de8e4c06062ef7721dd9129f9da638ceeb817e4ff803da93f6862c78f5964736f6c63430008110033";
1220
-
1221
- type LongYieldDecisionHelperConstructorParams =
1222
- | [signer?: Signer]
1223
- | ConstructorParameters<typeof ContractFactory>;
1224
-
1225
- const isSuperArgs = (
1226
- xs: LongYieldDecisionHelperConstructorParams
1227
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
1228
-
1229
- export class LongYieldDecisionHelper__factory extends ContractFactory {
1230
- constructor(...args: LongYieldDecisionHelperConstructorParams) {
1231
- if (isSuperArgs(args)) {
1232
- super(...args);
1233
- } else {
1234
- super(_abi, _bytecode, args[0]);
1235
- }
1236
- this.contractName = "LongYieldDecisionHelper";
1237
- }
1238
-
1239
- deploy(
1240
- overrides?: Overrides & { from?: string | Promise<string> }
1241
- ): Promise<LongYieldDecisionHelper> {
1242
- return super.deploy(overrides || {}) as Promise<LongYieldDecisionHelper>;
1243
- }
1244
- getDeployTransaction(
1245
- overrides?: Overrides & { from?: string | Promise<string> }
1246
- ): TransactionRequest {
1247
- return super.getDeployTransaction(overrides || {});
1248
- }
1249
- attach(address: string): LongYieldDecisionHelper {
1250
- return super.attach(address) as LongYieldDecisionHelper;
1251
- }
1252
- connect(signer: Signer): LongYieldDecisionHelper__factory {
1253
- return super.connect(signer) as LongYieldDecisionHelper__factory;
1254
- }
1255
- static readonly contractName: "LongYieldDecisionHelper";
1256
- public readonly contractName: "LongYieldDecisionHelper";
1257
- static readonly bytecode = _bytecode;
1258
- static readonly abi = _abi;
1259
- static createInterface(): LongYieldDecisionHelperInterface {
1260
- return new utils.Interface(_abi) as LongYieldDecisionHelperInterface;
1261
- }
1262
- static connect(
1263
- address: string,
1264
- signerOrProvider: Signer | Provider
1265
- ): LongYieldDecisionHelper {
1266
- return new Contract(
1267
- address,
1268
- _abi,
1269
- signerOrProvider
1270
- ) as LongYieldDecisionHelper;
1271
- }
1272
- }