@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,2253 +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
- LongYieldTradingBot,
8
- LongYieldTradingBotInterface,
9
- } from "../LongYieldTradingBot";
10
-
11
- const _abi = [
12
- {
13
- inputs: [
14
- {
15
- internalType: "address",
16
- name: "_market",
17
- type: "address",
18
- },
19
- {
20
- internalType: "address",
21
- name: "_router",
22
- type: "address",
23
- },
24
- {
25
- internalType: "address",
26
- name: "_PENDLE",
27
- type: "address",
28
- },
29
- {
30
- internalType: "address",
31
- name: "_decisionHelper",
32
- type: "address",
33
- },
34
- ],
35
- stateMutability: "nonpayable",
36
- type: "constructor",
37
- },
38
- {
39
- inputs: [
40
- {
41
- internalType: "uint256",
42
- name: "actualSharesOut",
43
- type: "uint256",
44
- },
45
- {
46
- internalType: "uint256",
47
- name: "requiredSharesOut",
48
- type: "uint256",
49
- },
50
- ],
51
- name: "SYInsufficientSharesOut",
52
- type: "error",
53
- },
54
- {
55
- inputs: [
56
- {
57
- internalType: "uint256",
58
- name: "actualTokenOut",
59
- type: "uint256",
60
- },
61
- {
62
- internalType: "uint256",
63
- name: "requiredTokenOut",
64
- type: "uint256",
65
- },
66
- ],
67
- name: "SYInsufficientTokenOut",
68
- type: "error",
69
- },
70
- {
71
- inputs: [
72
- {
73
- internalType: "address",
74
- name: "token",
75
- type: "address",
76
- },
77
- ],
78
- name: "SYInvalidTokenIn",
79
- type: "error",
80
- },
81
- {
82
- inputs: [
83
- {
84
- internalType: "address",
85
- name: "token",
86
- type: "address",
87
- },
88
- ],
89
- name: "SYInvalidTokenOut",
90
- type: "error",
91
- },
92
- {
93
- inputs: [],
94
- name: "SYZeroDeposit",
95
- type: "error",
96
- },
97
- {
98
- inputs: [],
99
- name: "SYZeroRedeem",
100
- type: "error",
101
- },
102
- {
103
- anonymous: false,
104
- inputs: [
105
- {
106
- components: [
107
- {
108
- internalType: "uint256",
109
- name: "guessMin",
110
- type: "uint256",
111
- },
112
- {
113
- internalType: "uint256",
114
- name: "guessMax",
115
- type: "uint256",
116
- },
117
- {
118
- internalType: "uint256",
119
- name: "guessOffchain",
120
- type: "uint256",
121
- },
122
- {
123
- internalType: "uint256",
124
- name: "maxIteration",
125
- type: "uint256",
126
- },
127
- {
128
- internalType: "uint256",
129
- name: "eps",
130
- type: "uint256",
131
- },
132
- ],
133
- indexed: false,
134
- internalType: "struct ApproxParams",
135
- name: "botParams",
136
- type: "tuple",
137
- },
138
- {
139
- indexed: false,
140
- internalType: "uint256",
141
- name: "maxSyIn",
142
- type: "uint256",
143
- },
144
- {
145
- indexed: false,
146
- internalType: "uint256",
147
- name: "netSyIn",
148
- type: "uint256",
149
- },
150
- {
151
- indexed: false,
152
- internalType: "uint256",
153
- name: "netLpOut",
154
- type: "uint256",
155
- },
156
- ],
157
- name: "AddLiqFromSy",
158
- type: "event",
159
- },
160
- {
161
- anonymous: false,
162
- inputs: [
163
- {
164
- components: [
165
- {
166
- internalType: "uint256",
167
- name: "guessMin",
168
- type: "uint256",
169
- },
170
- {
171
- internalType: "uint256",
172
- name: "guessMax",
173
- type: "uint256",
174
- },
175
- {
176
- internalType: "uint256",
177
- name: "guessOffchain",
178
- type: "uint256",
179
- },
180
- {
181
- internalType: "uint256",
182
- name: "maxIteration",
183
- type: "uint256",
184
- },
185
- {
186
- internalType: "uint256",
187
- name: "eps",
188
- type: "uint256",
189
- },
190
- ],
191
- indexed: false,
192
- internalType: "struct ApproxParams",
193
- name: "botParams",
194
- type: "tuple",
195
- },
196
- {
197
- indexed: false,
198
- internalType: "uint256",
199
- name: "netYtIn",
200
- type: "uint256",
201
- },
202
- {
203
- indexed: false,
204
- internalType: "uint256",
205
- name: "netLpOut",
206
- type: "uint256",
207
- },
208
- ],
209
- name: "AddLiqFromYt",
210
- type: "event",
211
- },
212
- {
213
- anonymous: false,
214
- inputs: [
215
- {
216
- indexed: false,
217
- internalType: "uint256",
218
- name: "netSyIn",
219
- type: "uint256",
220
- },
221
- {
222
- indexed: false,
223
- internalType: "uint256",
224
- name: "netLpOut",
225
- type: "uint256",
226
- },
227
- {
228
- indexed: false,
229
- internalType: "uint256",
230
- name: "netYtOut",
231
- type: "uint256",
232
- },
233
- ],
234
- name: "AddLiqKeepYt",
235
- type: "event",
236
- },
237
- {
238
- anonymous: false,
239
- inputs: [
240
- {
241
- indexed: false,
242
- internalType: "address",
243
- name: "previousAdmin",
244
- type: "address",
245
- },
246
- {
247
- indexed: false,
248
- internalType: "address",
249
- name: "newAdmin",
250
- type: "address",
251
- },
252
- ],
253
- name: "AdminChanged",
254
- type: "event",
255
- },
256
- {
257
- anonymous: false,
258
- inputs: [
259
- {
260
- indexed: true,
261
- internalType: "address",
262
- name: "owner",
263
- type: "address",
264
- },
265
- {
266
- indexed: true,
267
- internalType: "address",
268
- name: "spender",
269
- type: "address",
270
- },
271
- {
272
- indexed: false,
273
- internalType: "uint256",
274
- name: "value",
275
- type: "uint256",
276
- },
277
- ],
278
- name: "Approval",
279
- type: "event",
280
- },
281
- {
282
- anonymous: false,
283
- inputs: [
284
- {
285
- indexed: true,
286
- internalType: "address",
287
- name: "beacon",
288
- type: "address",
289
- },
290
- ],
291
- name: "BeaconUpgraded",
292
- type: "event",
293
- },
294
- {
295
- anonymous: false,
296
- inputs: [
297
- {
298
- indexed: false,
299
- internalType: "uint256",
300
- name: "netSyOut",
301
- type: "uint256",
302
- },
303
- ],
304
- name: "ClaimAndCompound",
305
- type: "event",
306
- },
307
- {
308
- anonymous: false,
309
- inputs: [
310
- {
311
- indexed: true,
312
- internalType: "address",
313
- name: "user",
314
- type: "address",
315
- },
316
- {
317
- indexed: false,
318
- internalType: "address[]",
319
- name: "rewardTokens",
320
- type: "address[]",
321
- },
322
- {
323
- indexed: false,
324
- internalType: "uint256[]",
325
- name: "rewardAmounts",
326
- type: "uint256[]",
327
- },
328
- ],
329
- name: "ClaimRewards",
330
- type: "event",
331
- },
332
- {
333
- anonymous: false,
334
- inputs: [
335
- {
336
- indexed: true,
337
- internalType: "address",
338
- name: "caller",
339
- type: "address",
340
- },
341
- {
342
- indexed: true,
343
- internalType: "address",
344
- name: "receiver",
345
- type: "address",
346
- },
347
- {
348
- indexed: true,
349
- internalType: "address",
350
- name: "tokenIn",
351
- type: "address",
352
- },
353
- {
354
- indexed: false,
355
- internalType: "uint256",
356
- name: "amountDeposited",
357
- type: "uint256",
358
- },
359
- {
360
- indexed: false,
361
- internalType: "uint256",
362
- name: "amountSyOut",
363
- type: "uint256",
364
- },
365
- ],
366
- name: "Deposit",
367
- type: "event",
368
- },
369
- {
370
- anonymous: false,
371
- inputs: [
372
- {
373
- indexed: false,
374
- internalType: "uint256",
375
- name: "netSyIn",
376
- type: "uint256",
377
- },
378
- ],
379
- name: "DepositSy",
380
- type: "event",
381
- },
382
- {
383
- anonymous: false,
384
- inputs: [
385
- {
386
- indexed: true,
387
- internalType: "address",
388
- name: "token",
389
- type: "address",
390
- },
391
- {
392
- indexed: false,
393
- internalType: "uint256",
394
- name: "netTokenIn",
395
- type: "uint256",
396
- },
397
- ],
398
- name: "DepositToken",
399
- type: "event",
400
- },
401
- {
402
- anonymous: false,
403
- inputs: [
404
- {
405
- indexed: false,
406
- internalType: "uint8",
407
- name: "version",
408
- type: "uint8",
409
- },
410
- ],
411
- name: "Initialized",
412
- type: "event",
413
- },
414
- {
415
- anonymous: false,
416
- inputs: [
417
- {
418
- indexed: true,
419
- internalType: "address",
420
- name: "previousOwner",
421
- type: "address",
422
- },
423
- {
424
- indexed: true,
425
- internalType: "address",
426
- name: "newOwner",
427
- type: "address",
428
- },
429
- ],
430
- name: "OwnershipTransferred",
431
- type: "event",
432
- },
433
- {
434
- anonymous: false,
435
- inputs: [
436
- {
437
- indexed: false,
438
- internalType: "address",
439
- name: "account",
440
- type: "address",
441
- },
442
- ],
443
- name: "Paused",
444
- type: "event",
445
- },
446
- {
447
- anonymous: false,
448
- inputs: [
449
- {
450
- indexed: true,
451
- internalType: "address",
452
- name: "caller",
453
- type: "address",
454
- },
455
- {
456
- indexed: true,
457
- internalType: "address",
458
- name: "receiver",
459
- type: "address",
460
- },
461
- {
462
- indexed: true,
463
- internalType: "address",
464
- name: "tokenOut",
465
- type: "address",
466
- },
467
- {
468
- indexed: false,
469
- internalType: "uint256",
470
- name: "amountSyToRedeem",
471
- type: "uint256",
472
- },
473
- {
474
- indexed: false,
475
- internalType: "uint256",
476
- name: "amountTokenOut",
477
- type: "uint256",
478
- },
479
- ],
480
- name: "Redeem",
481
- type: "event",
482
- },
483
- {
484
- anonymous: false,
485
- inputs: [
486
- {
487
- components: [
488
- {
489
- internalType: "uint256",
490
- name: "guessMin",
491
- type: "uint256",
492
- },
493
- {
494
- internalType: "uint256",
495
- name: "guessMax",
496
- type: "uint256",
497
- },
498
- {
499
- internalType: "uint256",
500
- name: "guessOffchain",
501
- type: "uint256",
502
- },
503
- {
504
- internalType: "uint256",
505
- name: "maxIteration",
506
- type: "uint256",
507
- },
508
- {
509
- internalType: "uint256",
510
- name: "eps",
511
- type: "uint256",
512
- },
513
- ],
514
- indexed: false,
515
- internalType: "struct ApproxParams",
516
- name: "botParams",
517
- type: "tuple",
518
- },
519
- {
520
- indexed: false,
521
- internalType: "uint256",
522
- name: "netLpIn",
523
- type: "uint256",
524
- },
525
- {
526
- indexed: false,
527
- internalType: "uint256",
528
- name: "netYtOut",
529
- type: "uint256",
530
- },
531
- ],
532
- name: "RemoveLiqToYt",
533
- type: "event",
534
- },
535
- {
536
- anonymous: false,
537
- inputs: [
538
- {
539
- components: [
540
- {
541
- internalType: "uint256",
542
- name: "guessMin",
543
- type: "uint256",
544
- },
545
- {
546
- internalType: "uint256",
547
- name: "guessMax",
548
- type: "uint256",
549
- },
550
- {
551
- internalType: "uint256",
552
- name: "guessOffchain",
553
- type: "uint256",
554
- },
555
- {
556
- internalType: "uint256",
557
- name: "maxIteration",
558
- type: "uint256",
559
- },
560
- {
561
- internalType: "uint256",
562
- name: "eps",
563
- type: "uint256",
564
- },
565
- ],
566
- indexed: false,
567
- internalType: "struct ApproxParams",
568
- name: "botParams",
569
- type: "tuple",
570
- },
571
- {
572
- indexed: false,
573
- internalType: "uint256",
574
- name: "maxSyIn",
575
- type: "uint256",
576
- },
577
- {
578
- indexed: false,
579
- internalType: "uint256",
580
- name: "exactYtOut",
581
- type: "uint256",
582
- },
583
- {
584
- indexed: false,
585
- internalType: "uint256",
586
- name: "netSyIn",
587
- type: "uint256",
588
- },
589
- ],
590
- name: "SwapSyToYt",
591
- type: "event",
592
- },
593
- {
594
- anonymous: false,
595
- inputs: [
596
- {
597
- indexed: true,
598
- internalType: "address",
599
- name: "from",
600
- type: "address",
601
- },
602
- {
603
- indexed: true,
604
- internalType: "address",
605
- name: "to",
606
- type: "address",
607
- },
608
- {
609
- indexed: false,
610
- internalType: "uint256",
611
- name: "value",
612
- type: "uint256",
613
- },
614
- ],
615
- name: "Transfer",
616
- type: "event",
617
- },
618
- {
619
- anonymous: false,
620
- inputs: [
621
- {
622
- indexed: false,
623
- internalType: "address",
624
- name: "account",
625
- type: "address",
626
- },
627
- ],
628
- name: "Unpaused",
629
- type: "event",
630
- },
631
- {
632
- anonymous: false,
633
- inputs: [
634
- {
635
- indexed: true,
636
- internalType: "address",
637
- name: "implementation",
638
- type: "address",
639
- },
640
- ],
641
- name: "Upgraded",
642
- type: "event",
643
- },
644
- {
645
- anonymous: false,
646
- inputs: [
647
- {
648
- indexed: true,
649
- internalType: "address",
650
- name: "token",
651
- type: "address",
652
- },
653
- {
654
- indexed: false,
655
- internalType: "uint256",
656
- name: "amount",
657
- type: "uint256",
658
- },
659
- ],
660
- name: "WithdrawFunds",
661
- type: "event",
662
- },
663
- {
664
- inputs: [],
665
- name: "DOMAIN_SEPARATOR",
666
- outputs: [
667
- {
668
- internalType: "bytes32",
669
- name: "",
670
- type: "bytes32",
671
- },
672
- ],
673
- stateMutability: "view",
674
- type: "function",
675
- },
676
- {
677
- inputs: [],
678
- name: "PENDLE",
679
- outputs: [
680
- {
681
- internalType: "address",
682
- name: "",
683
- type: "address",
684
- },
685
- ],
686
- stateMutability: "view",
687
- type: "function",
688
- },
689
- {
690
- inputs: [],
691
- name: "PT",
692
- outputs: [
693
- {
694
- internalType: "address",
695
- name: "",
696
- type: "address",
697
- },
698
- ],
699
- stateMutability: "view",
700
- type: "function",
701
- },
702
- {
703
- inputs: [],
704
- name: "SY",
705
- outputs: [
706
- {
707
- internalType: "address",
708
- name: "",
709
- type: "address",
710
- },
711
- ],
712
- stateMutability: "view",
713
- type: "function",
714
- },
715
- {
716
- inputs: [],
717
- name: "YT",
718
- outputs: [
719
- {
720
- internalType: "address",
721
- name: "",
722
- type: "address",
723
- },
724
- ],
725
- stateMutability: "view",
726
- type: "function",
727
- },
728
- {
729
- inputs: [
730
- {
731
- internalType: "address",
732
- name: "user",
733
- type: "address",
734
- },
735
- ],
736
- name: "accruedRewards",
737
- outputs: [
738
- {
739
- internalType: "uint256[]",
740
- name: "rewardAmounts",
741
- type: "uint256[]",
742
- },
743
- ],
744
- stateMutability: "view",
745
- type: "function",
746
- },
747
- {
748
- inputs: [
749
- {
750
- components: [
751
- {
752
- components: [
753
- {
754
- internalType: "uint256",
755
- name: "guessMin",
756
- type: "uint256",
757
- },
758
- {
759
- internalType: "uint256",
760
- name: "guessMax",
761
- type: "uint256",
762
- },
763
- {
764
- internalType: "uint256",
765
- name: "guessOffchain",
766
- type: "uint256",
767
- },
768
- {
769
- internalType: "uint256",
770
- name: "maxIteration",
771
- type: "uint256",
772
- },
773
- {
774
- internalType: "uint256",
775
- name: "eps",
776
- type: "uint256",
777
- },
778
- ],
779
- internalType: "struct ApproxParams",
780
- name: "botParams",
781
- type: "tuple",
782
- },
783
- {
784
- internalType: "uint256",
785
- name: "minLpOut",
786
- type: "uint256",
787
- },
788
- {
789
- internalType: "uint256",
790
- name: "targetIy",
791
- type: "uint256",
792
- },
793
- {
794
- internalType: "int256",
795
- name: "currentBin",
796
- type: "int256",
797
- },
798
- ],
799
- internalType: "struct ILongYieldTradingBot.AddLiqFromYtInput",
800
- name: "inputParams",
801
- type: "tuple",
802
- },
803
- ],
804
- name: "addLiqFromYt",
805
- outputs: [
806
- {
807
- internalType: "uint256",
808
- name: "netPtFromSwap",
809
- type: "uint256",
810
- },
811
- {
812
- internalType: "uint256",
813
- name: "netLpOut",
814
- type: "uint256",
815
- },
816
- {
817
- internalType: "uint256",
818
- name: "netYtIn",
819
- type: "uint256",
820
- },
821
- ],
822
- stateMutability: "nonpayable",
823
- type: "function",
824
- },
825
- {
826
- inputs: [
827
- {
828
- internalType: "uint256",
829
- name: "netSyIn",
830
- type: "uint256",
831
- },
832
- {
833
- internalType: "uint256",
834
- name: "minLpOut",
835
- type: "uint256",
836
- },
837
- {
838
- internalType: "uint256",
839
- name: "minYtOut",
840
- type: "uint256",
841
- },
842
- ],
843
- name: "addLiqKeepYt",
844
- outputs: [
845
- {
846
- internalType: "uint256",
847
- name: "netLpOut",
848
- type: "uint256",
849
- },
850
- {
851
- internalType: "uint256",
852
- name: "netYtOut",
853
- type: "uint256",
854
- },
855
- ],
856
- stateMutability: "nonpayable",
857
- type: "function",
858
- },
859
- {
860
- inputs: [
861
- {
862
- internalType: "address",
863
- name: "owner",
864
- type: "address",
865
- },
866
- {
867
- internalType: "address",
868
- name: "spender",
869
- type: "address",
870
- },
871
- ],
872
- name: "allowance",
873
- outputs: [
874
- {
875
- internalType: "uint256",
876
- name: "",
877
- type: "uint256",
878
- },
879
- ],
880
- stateMutability: "view",
881
- type: "function",
882
- },
883
- {
884
- inputs: [
885
- {
886
- internalType: "address",
887
- name: "spender",
888
- type: "address",
889
- },
890
- {
891
- internalType: "uint256",
892
- name: "amount",
893
- type: "uint256",
894
- },
895
- ],
896
- name: "approve",
897
- outputs: [
898
- {
899
- internalType: "bool",
900
- name: "",
901
- type: "bool",
902
- },
903
- ],
904
- stateMutability: "nonpayable",
905
- type: "function",
906
- },
907
- {
908
- inputs: [
909
- {
910
- internalType: "address",
911
- name: "token",
912
- type: "address",
913
- },
914
- {
915
- internalType: "address",
916
- name: "to",
917
- type: "address",
918
- },
919
- ],
920
- name: "approveInf",
921
- outputs: [],
922
- stateMutability: "nonpayable",
923
- type: "function",
924
- },
925
- {
926
- inputs: [],
927
- name: "assetInfo",
928
- outputs: [
929
- {
930
- internalType: "enum IStandardizedYield.AssetType",
931
- name: "assetType",
932
- type: "uint8",
933
- },
934
- {
935
- internalType: "address",
936
- name: "assetAddress",
937
- type: "address",
938
- },
939
- {
940
- internalType: "uint8",
941
- name: "assetDecimals",
942
- type: "uint8",
943
- },
944
- ],
945
- stateMutability: "view",
946
- type: "function",
947
- },
948
- {
949
- inputs: [
950
- {
951
- internalType: "address",
952
- name: "account",
953
- type: "address",
954
- },
955
- ],
956
- name: "balanceOf",
957
- outputs: [
958
- {
959
- internalType: "uint256",
960
- name: "",
961
- type: "uint256",
962
- },
963
- ],
964
- stateMutability: "view",
965
- type: "function",
966
- },
967
- {
968
- inputs: [],
969
- name: "buyBins",
970
- outputs: [
971
- {
972
- internalType: "uint256",
973
- name: "",
974
- type: "uint256",
975
- },
976
- ],
977
- stateMutability: "view",
978
- type: "function",
979
- },
980
- {
981
- inputs: [],
982
- name: "claimOwnership",
983
- outputs: [],
984
- stateMutability: "nonpayable",
985
- type: "function",
986
- },
987
- {
988
- inputs: [
989
- {
990
- internalType: "address",
991
- name: "user",
992
- type: "address",
993
- },
994
- ],
995
- name: "claimRewards",
996
- outputs: [
997
- {
998
- internalType: "uint256[]",
999
- name: "rewardAmounts",
1000
- type: "uint256[]",
1001
- },
1002
- ],
1003
- stateMutability: "nonpayable",
1004
- type: "function",
1005
- },
1006
- {
1007
- inputs: [
1008
- {
1009
- components: [
1010
- {
1011
- internalType: "address",
1012
- name: "tokenIn",
1013
- type: "address",
1014
- },
1015
- {
1016
- internalType: "uint256",
1017
- name: "netTokenIn",
1018
- type: "uint256",
1019
- },
1020
- {
1021
- internalType: "address",
1022
- name: "tokenMintSy",
1023
- type: "address",
1024
- },
1025
- {
1026
- internalType: "address",
1027
- name: "bulk",
1028
- type: "address",
1029
- },
1030
- {
1031
- internalType: "address",
1032
- name: "pendleSwap",
1033
- type: "address",
1034
- },
1035
- {
1036
- components: [
1037
- {
1038
- internalType: "enum SwapType",
1039
- name: "swapType",
1040
- type: "uint8",
1041
- },
1042
- {
1043
- internalType: "address",
1044
- name: "extRouter",
1045
- type: "address",
1046
- },
1047
- {
1048
- internalType: "bytes",
1049
- name: "extCalldata",
1050
- type: "bytes",
1051
- },
1052
- {
1053
- internalType: "bool",
1054
- name: "needScale",
1055
- type: "bool",
1056
- },
1057
- ],
1058
- internalType: "struct SwapData",
1059
- name: "swapData",
1060
- type: "tuple",
1061
- },
1062
- ],
1063
- internalType: "struct TokenInput",
1064
- name: "inp",
1065
- type: "tuple",
1066
- },
1067
- {
1068
- internalType: "uint256",
1069
- name: "minSyOut",
1070
- type: "uint256",
1071
- },
1072
- ],
1073
- name: "compound",
1074
- outputs: [
1075
- {
1076
- internalType: "uint256",
1077
- name: "netSyOut",
1078
- type: "uint256",
1079
- },
1080
- ],
1081
- stateMutability: "nonpayable",
1082
- type: "function",
1083
- },
1084
- {
1085
- inputs: [],
1086
- name: "decimals",
1087
- outputs: [
1088
- {
1089
- internalType: "uint8",
1090
- name: "",
1091
- type: "uint8",
1092
- },
1093
- ],
1094
- stateMutability: "view",
1095
- type: "function",
1096
- },
1097
- {
1098
- inputs: [],
1099
- name: "decisionHelper",
1100
- outputs: [
1101
- {
1102
- internalType: "contract IBotDecisionHelper",
1103
- name: "",
1104
- type: "address",
1105
- },
1106
- ],
1107
- stateMutability: "view",
1108
- type: "function",
1109
- },
1110
- {
1111
- inputs: [
1112
- {
1113
- internalType: "address",
1114
- name: "receiver",
1115
- type: "address",
1116
- },
1117
- {
1118
- internalType: "address",
1119
- name: "tokenIn",
1120
- type: "address",
1121
- },
1122
- {
1123
- internalType: "uint256",
1124
- name: "amountTokenToDeposit",
1125
- type: "uint256",
1126
- },
1127
- {
1128
- internalType: "uint256",
1129
- name: "minSharesOut",
1130
- type: "uint256",
1131
- },
1132
- ],
1133
- name: "deposit",
1134
- outputs: [
1135
- {
1136
- internalType: "uint256",
1137
- name: "amountSharesOut",
1138
- type: "uint256",
1139
- },
1140
- ],
1141
- stateMutability: "payable",
1142
- type: "function",
1143
- },
1144
- {
1145
- inputs: [],
1146
- name: "exchangeRate",
1147
- outputs: [
1148
- {
1149
- internalType: "uint256",
1150
- name: "",
1151
- type: "uint256",
1152
- },
1153
- ],
1154
- stateMutability: "view",
1155
- type: "function",
1156
- },
1157
- {
1158
- inputs: [],
1159
- name: "getRewardTokens",
1160
- outputs: [
1161
- {
1162
- internalType: "address[]",
1163
- name: "rewardTokens",
1164
- type: "address[]",
1165
- },
1166
- ],
1167
- stateMutability: "view",
1168
- type: "function",
1169
- },
1170
- {
1171
- inputs: [],
1172
- name: "getTokensIn",
1173
- outputs: [
1174
- {
1175
- internalType: "address[]",
1176
- name: "res",
1177
- type: "address[]",
1178
- },
1179
- ],
1180
- stateMutability: "view",
1181
- type: "function",
1182
- },
1183
- {
1184
- inputs: [],
1185
- name: "getTokensOut",
1186
- outputs: [
1187
- {
1188
- internalType: "address[]",
1189
- name: "res",
1190
- type: "address[]",
1191
- },
1192
- ],
1193
- stateMutability: "view",
1194
- type: "function",
1195
- },
1196
- {
1197
- inputs: [
1198
- {
1199
- components: [
1200
- {
1201
- internalType: "uint256",
1202
- name: "buyYtIy",
1203
- type: "uint256",
1204
- },
1205
- {
1206
- internalType: "uint256",
1207
- name: "sellYtIy",
1208
- type: "uint256",
1209
- },
1210
- {
1211
- internalType: "uint256",
1212
- name: "targetSyRatio",
1213
- type: "uint256",
1214
- },
1215
- {
1216
- internalType: "uint256",
1217
- name: "maxSyRatio",
1218
- type: "uint256",
1219
- },
1220
- {
1221
- internalType: "uint256",
1222
- name: "targetYtPtRatio",
1223
- type: "uint256",
1224
- },
1225
- {
1226
- internalType: "uint256",
1227
- name: "numOfBins",
1228
- type: "uint256",
1229
- },
1230
- ],
1231
- internalType: "struct TradingSpecs",
1232
- name: "_specs",
1233
- type: "tuple",
1234
- },
1235
- ],
1236
- name: "initialize",
1237
- outputs: [],
1238
- stateMutability: "nonpayable",
1239
- type: "function",
1240
- },
1241
- {
1242
- inputs: [
1243
- {
1244
- internalType: "address",
1245
- name: "token",
1246
- type: "address",
1247
- },
1248
- ],
1249
- name: "isValidTokenIn",
1250
- outputs: [
1251
- {
1252
- internalType: "bool",
1253
- name: "",
1254
- type: "bool",
1255
- },
1256
- ],
1257
- stateMutability: "view",
1258
- type: "function",
1259
- },
1260
- {
1261
- inputs: [
1262
- {
1263
- internalType: "address",
1264
- name: "token",
1265
- type: "address",
1266
- },
1267
- ],
1268
- name: "isValidTokenOut",
1269
- outputs: [
1270
- {
1271
- internalType: "bool",
1272
- name: "",
1273
- type: "bool",
1274
- },
1275
- ],
1276
- stateMutability: "view",
1277
- type: "function",
1278
- },
1279
- {
1280
- inputs: [],
1281
- name: "lastRewardBlock",
1282
- outputs: [
1283
- {
1284
- internalType: "uint256",
1285
- name: "",
1286
- type: "uint256",
1287
- },
1288
- ],
1289
- stateMutability: "view",
1290
- type: "function",
1291
- },
1292
- {
1293
- inputs: [],
1294
- name: "market",
1295
- outputs: [
1296
- {
1297
- internalType: "address",
1298
- name: "",
1299
- type: "address",
1300
- },
1301
- ],
1302
- stateMutability: "view",
1303
- type: "function",
1304
- },
1305
- {
1306
- inputs: [],
1307
- name: "name",
1308
- outputs: [
1309
- {
1310
- internalType: "string",
1311
- name: "",
1312
- type: "string",
1313
- },
1314
- ],
1315
- stateMutability: "view",
1316
- type: "function",
1317
- },
1318
- {
1319
- inputs: [
1320
- {
1321
- internalType: "address",
1322
- name: "owner",
1323
- type: "address",
1324
- },
1325
- ],
1326
- name: "nonces",
1327
- outputs: [
1328
- {
1329
- internalType: "uint256",
1330
- name: "",
1331
- type: "uint256",
1332
- },
1333
- ],
1334
- stateMutability: "view",
1335
- type: "function",
1336
- },
1337
- {
1338
- inputs: [],
1339
- name: "owner",
1340
- outputs: [
1341
- {
1342
- internalType: "address",
1343
- name: "",
1344
- type: "address",
1345
- },
1346
- ],
1347
- stateMutability: "view",
1348
- type: "function",
1349
- },
1350
- {
1351
- inputs: [],
1352
- name: "pause",
1353
- outputs: [],
1354
- stateMutability: "nonpayable",
1355
- type: "function",
1356
- },
1357
- {
1358
- inputs: [],
1359
- name: "paused",
1360
- outputs: [
1361
- {
1362
- internalType: "bool",
1363
- name: "",
1364
- type: "bool",
1365
- },
1366
- ],
1367
- stateMutability: "view",
1368
- type: "function",
1369
- },
1370
- {
1371
- inputs: [],
1372
- name: "pendingOwner",
1373
- outputs: [
1374
- {
1375
- internalType: "address",
1376
- name: "",
1377
- type: "address",
1378
- },
1379
- ],
1380
- stateMutability: "view",
1381
- type: "function",
1382
- },
1383
- {
1384
- inputs: [
1385
- {
1386
- internalType: "address",
1387
- name: "owner",
1388
- type: "address",
1389
- },
1390
- {
1391
- internalType: "address",
1392
- name: "spender",
1393
- type: "address",
1394
- },
1395
- {
1396
- internalType: "uint256",
1397
- name: "value",
1398
- type: "uint256",
1399
- },
1400
- {
1401
- internalType: "uint256",
1402
- name: "deadline",
1403
- type: "uint256",
1404
- },
1405
- {
1406
- internalType: "uint8",
1407
- name: "v",
1408
- type: "uint8",
1409
- },
1410
- {
1411
- internalType: "bytes32",
1412
- name: "r",
1413
- type: "bytes32",
1414
- },
1415
- {
1416
- internalType: "bytes32",
1417
- name: "s",
1418
- type: "bytes32",
1419
- },
1420
- ],
1421
- name: "permit",
1422
- outputs: [],
1423
- stateMutability: "nonpayable",
1424
- type: "function",
1425
- },
1426
- {
1427
- inputs: [
1428
- {
1429
- internalType: "address",
1430
- name: "tokenIn",
1431
- type: "address",
1432
- },
1433
- {
1434
- internalType: "uint256",
1435
- name: "amountTokenToDeposit",
1436
- type: "uint256",
1437
- },
1438
- ],
1439
- name: "previewDeposit",
1440
- outputs: [
1441
- {
1442
- internalType: "uint256",
1443
- name: "amountSharesOut",
1444
- type: "uint256",
1445
- },
1446
- ],
1447
- stateMutability: "view",
1448
- type: "function",
1449
- },
1450
- {
1451
- inputs: [
1452
- {
1453
- internalType: "address",
1454
- name: "tokenOut",
1455
- type: "address",
1456
- },
1457
- {
1458
- internalType: "uint256",
1459
- name: "amountSharesToRedeem",
1460
- type: "uint256",
1461
- },
1462
- ],
1463
- name: "previewRedeem",
1464
- outputs: [
1465
- {
1466
- internalType: "uint256",
1467
- name: "amountTokenOut",
1468
- type: "uint256",
1469
- },
1470
- ],
1471
- stateMutability: "view",
1472
- type: "function",
1473
- },
1474
- {
1475
- inputs: [],
1476
- name: "proxiableUUID",
1477
- outputs: [
1478
- {
1479
- internalType: "bytes32",
1480
- name: "",
1481
- type: "bytes32",
1482
- },
1483
- ],
1484
- stateMutability: "view",
1485
- type: "function",
1486
- },
1487
- {
1488
- inputs: [],
1489
- name: "readStrategyData",
1490
- outputs: [
1491
- {
1492
- components: [
1493
- {
1494
- components: [
1495
- {
1496
- internalType: "uint256",
1497
- name: "lpBalance",
1498
- type: "uint256",
1499
- },
1500
- {
1501
- internalType: "uint256",
1502
- name: "ytBalance",
1503
- type: "uint256",
1504
- },
1505
- {
1506
- internalType: "uint256",
1507
- name: "ptBalance",
1508
- type: "uint256",
1509
- },
1510
- {
1511
- internalType: "uint256",
1512
- name: "syBalance",
1513
- type: "uint256",
1514
- },
1515
- {
1516
- internalType: "uint256",
1517
- name: "buyBins",
1518
- type: "uint256",
1519
- },
1520
- ],
1521
- internalType: "struct BotState",
1522
- name: "botState",
1523
- type: "tuple",
1524
- },
1525
- {
1526
- components: [
1527
- {
1528
- components: [
1529
- {
1530
- internalType: "int256",
1531
- name: "totalPt",
1532
- type: "int256",
1533
- },
1534
- {
1535
- internalType: "int256",
1536
- name: "totalSy",
1537
- type: "int256",
1538
- },
1539
- {
1540
- internalType: "int256",
1541
- name: "totalLp",
1542
- type: "int256",
1543
- },
1544
- {
1545
- internalType: "address",
1546
- name: "treasury",
1547
- type: "address",
1548
- },
1549
- {
1550
- internalType: "int256",
1551
- name: "scalarRoot",
1552
- type: "int256",
1553
- },
1554
- {
1555
- internalType: "uint256",
1556
- name: "expiry",
1557
- type: "uint256",
1558
- },
1559
- {
1560
- internalType: "uint256",
1561
- name: "lnFeeRateRoot",
1562
- type: "uint256",
1563
- },
1564
- {
1565
- internalType: "uint256",
1566
- name: "reserveFeePercent",
1567
- type: "uint256",
1568
- },
1569
- {
1570
- internalType: "uint256",
1571
- name: "lastLnImpliedRate",
1572
- type: "uint256",
1573
- },
1574
- ],
1575
- internalType: "struct MarketState",
1576
- name: "state",
1577
- type: "tuple",
1578
- },
1579
- {
1580
- internalType: "PYIndex",
1581
- name: "index",
1582
- type: "uint256",
1583
- },
1584
- {
1585
- internalType: "uint256",
1586
- name: "blockTime",
1587
- type: "uint256",
1588
- },
1589
- ],
1590
- internalType: "struct MarketExtState",
1591
- name: "marketExt",
1592
- type: "tuple",
1593
- },
1594
- {
1595
- components: [
1596
- {
1597
- internalType: "uint256",
1598
- name: "buyYtIy",
1599
- type: "uint256",
1600
- },
1601
- {
1602
- internalType: "uint256",
1603
- name: "sellYtIy",
1604
- type: "uint256",
1605
- },
1606
- {
1607
- internalType: "uint256",
1608
- name: "targetSyRatio",
1609
- type: "uint256",
1610
- },
1611
- {
1612
- internalType: "uint256",
1613
- name: "maxSyRatio",
1614
- type: "uint256",
1615
- },
1616
- {
1617
- internalType: "uint256",
1618
- name: "targetYtPtRatio",
1619
- type: "uint256",
1620
- },
1621
- {
1622
- internalType: "uint256",
1623
- name: "numOfBins",
1624
- type: "uint256",
1625
- },
1626
- ],
1627
- internalType: "struct TradingSpecs",
1628
- name: "specs",
1629
- type: "tuple",
1630
- },
1631
- ],
1632
- internalType: "struct StrategyData",
1633
- name: "strategyData",
1634
- type: "tuple",
1635
- },
1636
- ],
1637
- stateMutability: "view",
1638
- type: "function",
1639
- },
1640
- {
1641
- inputs: [
1642
- {
1643
- internalType: "address",
1644
- name: "receiver",
1645
- type: "address",
1646
- },
1647
- {
1648
- internalType: "uint256",
1649
- name: "amountSharesToRedeem",
1650
- type: "uint256",
1651
- },
1652
- {
1653
- internalType: "address",
1654
- name: "tokenOut",
1655
- type: "address",
1656
- },
1657
- {
1658
- internalType: "uint256",
1659
- name: "minTokenOut",
1660
- type: "uint256",
1661
- },
1662
- {
1663
- internalType: "bool",
1664
- name: "burnFromInternalBalance",
1665
- type: "bool",
1666
- },
1667
- ],
1668
- name: "redeem",
1669
- outputs: [
1670
- {
1671
- internalType: "uint256",
1672
- name: "amountTokenOut",
1673
- type: "uint256",
1674
- },
1675
- ],
1676
- stateMutability: "nonpayable",
1677
- type: "function",
1678
- },
1679
- {
1680
- inputs: [
1681
- {
1682
- components: [
1683
- {
1684
- components: [
1685
- {
1686
- internalType: "uint256",
1687
- name: "guessMin",
1688
- type: "uint256",
1689
- },
1690
- {
1691
- internalType: "uint256",
1692
- name: "guessMax",
1693
- type: "uint256",
1694
- },
1695
- {
1696
- internalType: "uint256",
1697
- name: "guessOffchain",
1698
- type: "uint256",
1699
- },
1700
- {
1701
- internalType: "uint256",
1702
- name: "maxIteration",
1703
- type: "uint256",
1704
- },
1705
- {
1706
- internalType: "uint256",
1707
- name: "eps",
1708
- type: "uint256",
1709
- },
1710
- ],
1711
- internalType: "struct ApproxParams",
1712
- name: "botParams",
1713
- type: "tuple",
1714
- },
1715
- {
1716
- components: [
1717
- {
1718
- internalType: "uint256",
1719
- name: "guessMin",
1720
- type: "uint256",
1721
- },
1722
- {
1723
- internalType: "uint256",
1724
- name: "guessMax",
1725
- type: "uint256",
1726
- },
1727
- {
1728
- internalType: "uint256",
1729
- name: "guessOffchain",
1730
- type: "uint256",
1731
- },
1732
- {
1733
- internalType: "uint256",
1734
- name: "maxIteration",
1735
- type: "uint256",
1736
- },
1737
- {
1738
- internalType: "uint256",
1739
- name: "eps",
1740
- type: "uint256",
1741
- },
1742
- ],
1743
- internalType: "struct ApproxParams",
1744
- name: "guessTotalPtToSwap",
1745
- type: "tuple",
1746
- },
1747
- {
1748
- internalType: "uint256",
1749
- name: "minYtOut",
1750
- type: "uint256",
1751
- },
1752
- {
1753
- internalType: "uint256",
1754
- name: "targetIy",
1755
- type: "uint256",
1756
- },
1757
- {
1758
- internalType: "int256",
1759
- name: "currentBin",
1760
- type: "int256",
1761
- },
1762
- ],
1763
- internalType: "struct ILongYieldTradingBot.RemoveLiqToYtInput",
1764
- name: "inputParams",
1765
- type: "tuple",
1766
- },
1767
- ],
1768
- name: "removeLiqToYt",
1769
- outputs: [
1770
- {
1771
- internalType: "uint256",
1772
- name: "netLpRemoved",
1773
- type: "uint256",
1774
- },
1775
- {
1776
- internalType: "uint256",
1777
- name: "netYtOut",
1778
- type: "uint256",
1779
- },
1780
- ],
1781
- stateMutability: "nonpayable",
1782
- type: "function",
1783
- },
1784
- {
1785
- inputs: [],
1786
- name: "rewardIndexesCurrent",
1787
- outputs: [
1788
- {
1789
- internalType: "uint256[]",
1790
- name: "indexes",
1791
- type: "uint256[]",
1792
- },
1793
- ],
1794
- stateMutability: "nonpayable",
1795
- type: "function",
1796
- },
1797
- {
1798
- inputs: [],
1799
- name: "rewardIndexesStored",
1800
- outputs: [
1801
- {
1802
- internalType: "uint256[]",
1803
- name: "indexes",
1804
- type: "uint256[]",
1805
- },
1806
- ],
1807
- stateMutability: "view",
1808
- type: "function",
1809
- },
1810
- {
1811
- inputs: [
1812
- {
1813
- internalType: "address",
1814
- name: "",
1815
- type: "address",
1816
- },
1817
- ],
1818
- name: "rewardState",
1819
- outputs: [
1820
- {
1821
- internalType: "uint128",
1822
- name: "index",
1823
- type: "uint128",
1824
- },
1825
- {
1826
- internalType: "uint128",
1827
- name: "lastBalance",
1828
- type: "uint128",
1829
- },
1830
- ],
1831
- stateMutability: "view",
1832
- type: "function",
1833
- },
1834
- {
1835
- inputs: [],
1836
- name: "router",
1837
- outputs: [
1838
- {
1839
- internalType: "address",
1840
- name: "",
1841
- type: "address",
1842
- },
1843
- ],
1844
- stateMutability: "view",
1845
- type: "function",
1846
- },
1847
- {
1848
- inputs: [
1849
- {
1850
- components: [
1851
- {
1852
- internalType: "uint256",
1853
- name: "buyYtIy",
1854
- type: "uint256",
1855
- },
1856
- {
1857
- internalType: "uint256",
1858
- name: "sellYtIy",
1859
- type: "uint256",
1860
- },
1861
- {
1862
- internalType: "uint256",
1863
- name: "targetSyRatio",
1864
- type: "uint256",
1865
- },
1866
- {
1867
- internalType: "uint256",
1868
- name: "maxSyRatio",
1869
- type: "uint256",
1870
- },
1871
- {
1872
- internalType: "uint256",
1873
- name: "targetYtPtRatio",
1874
- type: "uint256",
1875
- },
1876
- {
1877
- internalType: "uint256",
1878
- name: "numOfBins",
1879
- type: "uint256",
1880
- },
1881
- ],
1882
- internalType: "struct TradingSpecs",
1883
- name: "_specs",
1884
- type: "tuple",
1885
- },
1886
- ],
1887
- name: "setSpecs",
1888
- outputs: [],
1889
- stateMutability: "nonpayable",
1890
- type: "function",
1891
- },
1892
- {
1893
- inputs: [],
1894
- name: "specs",
1895
- outputs: [
1896
- {
1897
- internalType: "uint256",
1898
- name: "buyYtIy",
1899
- type: "uint256",
1900
- },
1901
- {
1902
- internalType: "uint256",
1903
- name: "sellYtIy",
1904
- type: "uint256",
1905
- },
1906
- {
1907
- internalType: "uint256",
1908
- name: "targetSyRatio",
1909
- type: "uint256",
1910
- },
1911
- {
1912
- internalType: "uint256",
1913
- name: "maxSyRatio",
1914
- type: "uint256",
1915
- },
1916
- {
1917
- internalType: "uint256",
1918
- name: "targetYtPtRatio",
1919
- type: "uint256",
1920
- },
1921
- {
1922
- internalType: "uint256",
1923
- name: "numOfBins",
1924
- type: "uint256",
1925
- },
1926
- ],
1927
- stateMutability: "view",
1928
- type: "function",
1929
- },
1930
- {
1931
- inputs: [
1932
- {
1933
- internalType: "int256",
1934
- name: "ptToAccount",
1935
- type: "int256",
1936
- },
1937
- {
1938
- internalType: "int256",
1939
- name: "syToAccount",
1940
- type: "int256",
1941
- },
1942
- {
1943
- internalType: "bytes",
1944
- name: "data",
1945
- type: "bytes",
1946
- },
1947
- ],
1948
- name: "swapCallback",
1949
- outputs: [],
1950
- stateMutability: "nonpayable",
1951
- type: "function",
1952
- },
1953
- {
1954
- inputs: [],
1955
- name: "symbol",
1956
- outputs: [
1957
- {
1958
- internalType: "string",
1959
- name: "",
1960
- type: "string",
1961
- },
1962
- ],
1963
- stateMutability: "view",
1964
- type: "function",
1965
- },
1966
- {
1967
- inputs: [],
1968
- name: "totalSupply",
1969
- outputs: [
1970
- {
1971
- internalType: "uint256",
1972
- name: "",
1973
- type: "uint256",
1974
- },
1975
- ],
1976
- stateMutability: "view",
1977
- type: "function",
1978
- },
1979
- {
1980
- inputs: [
1981
- {
1982
- internalType: "address",
1983
- name: "to",
1984
- type: "address",
1985
- },
1986
- {
1987
- internalType: "uint256",
1988
- name: "amount",
1989
- type: "uint256",
1990
- },
1991
- ],
1992
- name: "transfer",
1993
- outputs: [
1994
- {
1995
- internalType: "bool",
1996
- name: "",
1997
- type: "bool",
1998
- },
1999
- ],
2000
- stateMutability: "nonpayable",
2001
- type: "function",
2002
- },
2003
- {
2004
- inputs: [
2005
- {
2006
- internalType: "address",
2007
- name: "from",
2008
- type: "address",
2009
- },
2010
- {
2011
- internalType: "address",
2012
- name: "to",
2013
- type: "address",
2014
- },
2015
- {
2016
- internalType: "uint256",
2017
- name: "amount",
2018
- type: "uint256",
2019
- },
2020
- ],
2021
- name: "transferFrom",
2022
- outputs: [
2023
- {
2024
- internalType: "bool",
2025
- name: "",
2026
- type: "bool",
2027
- },
2028
- ],
2029
- stateMutability: "nonpayable",
2030
- type: "function",
2031
- },
2032
- {
2033
- inputs: [
2034
- {
2035
- internalType: "address",
2036
- name: "newOwner",
2037
- type: "address",
2038
- },
2039
- {
2040
- internalType: "bool",
2041
- name: "direct",
2042
- type: "bool",
2043
- },
2044
- {
2045
- internalType: "bool",
2046
- name: "renounce",
2047
- type: "bool",
2048
- },
2049
- ],
2050
- name: "transferOwnership",
2051
- outputs: [],
2052
- stateMutability: "nonpayable",
2053
- type: "function",
2054
- },
2055
- {
2056
- inputs: [],
2057
- name: "unpause",
2058
- outputs: [],
2059
- stateMutability: "nonpayable",
2060
- type: "function",
2061
- },
2062
- {
2063
- inputs: [
2064
- {
2065
- internalType: "address",
2066
- name: "newImplementation",
2067
- type: "address",
2068
- },
2069
- ],
2070
- name: "upgradeTo",
2071
- outputs: [],
2072
- stateMutability: "nonpayable",
2073
- type: "function",
2074
- },
2075
- {
2076
- inputs: [
2077
- {
2078
- internalType: "address",
2079
- name: "newImplementation",
2080
- type: "address",
2081
- },
2082
- {
2083
- internalType: "bytes",
2084
- name: "data",
2085
- type: "bytes",
2086
- },
2087
- ],
2088
- name: "upgradeToAndCall",
2089
- outputs: [],
2090
- stateMutability: "payable",
2091
- type: "function",
2092
- },
2093
- {
2094
- inputs: [
2095
- {
2096
- internalType: "address",
2097
- name: "",
2098
- type: "address",
2099
- },
2100
- {
2101
- internalType: "address",
2102
- name: "",
2103
- type: "address",
2104
- },
2105
- ],
2106
- name: "userReward",
2107
- outputs: [
2108
- {
2109
- internalType: "uint128",
2110
- name: "index",
2111
- type: "uint128",
2112
- },
2113
- {
2114
- internalType: "uint128",
2115
- name: "accrued",
2116
- type: "uint128",
2117
- },
2118
- ],
2119
- stateMutability: "view",
2120
- type: "function",
2121
- },
2122
- {
2123
- inputs: [],
2124
- name: "yieldToken",
2125
- outputs: [
2126
- {
2127
- internalType: "address",
2128
- name: "",
2129
- type: "address",
2130
- },
2131
- ],
2132
- stateMutability: "view",
2133
- type: "function",
2134
- },
2135
- {
2136
- stateMutability: "payable",
2137
- type: "receive",
2138
- },
2139
- ];
2140
-
2141
- const _bytecode =
2142
- "0x6102808060405234620009d85760808162006ae88038038091620000248285620009f9565b833981010312620009d8576200003a8162000a1d565b620000486020830162000a1d565b906200006560606200005d6040860162000a1d565b940162000a1d565b92604051926200007584620009dd565b600e84526d119bdc9d1adb9bde0815985d5b1d60921b80602086015260405190620000a082620009dd565b600e82526020820152604051630b2339af60e21b8152946060866004816001600160a01b0389165afa9586156200065457600096620009b0575b5060405163313ce56760e01b81526020816004816001600160a01b038b165afa908115620006545760009162000966575b50604051926200011b84620009dd565b60018452603160f81b602085015282516001600160401b0381116200071b57600354600181811c911680156200095b575b60208210146200083e57601f8111620008f5575b50806020601f82116001146200086b576000916200085f575b508160011b916000199060031b1c1916176003555b8051906001600160401b0382116200071b5760045490600182811c9216801562000854575b60208310146200083e5781601f849311620007cc575b50602090601f83116001146200073d5760009262000731575b50508160011b916000199060031b1c1916176004555b608052600160f81b60018060f81b036002541617600255602081519101209060208151910120816101005280610120524660c0526040519160008051602062006ac88339815191526020840152604083015260608201524660808201523060a082015260a081528060c081011060018060401b0360c0830111176200071b5760c081016040526020815191012060a0523060e05260008051602062006ac88339815191526101405260ff19603854166038556007549360ff8560a81c1615948580966200070a575b8015620006ed575b620002d39062000a32565b60ff60a01b198116600160a01b1760075585620006d4575b506001600160a01b03166101605260075460a881901c60ff1615620005bc5760018060a01b03196006541694338617600655620006a7575b506007549260ff8460a81c16159384809562000696575b801562000679575b6200034d9062000a32565b60ff60a01b198116600160a01b176007558462000660575b50604051630b2339af60e21b8152906060826004816001600160a01b0385165afa92831562000654576000918293839562000615575b506101a0526101c0526001600160a01b039081166101e052908116610200529081166102205261024091909152929092166101809081526007549092909160a883901c60ff1615620005bc576001600160a01b031933908116909117176006556200058f575b5061026030815260405190615fcc928362000adc843960805183612ef7015260a051836159ce015260c05183615a89015260e0518361599f01526101005183615a1d01526101205183615a43015261014051836159fa01526101605183611b0701525182818161082a01528181610c2a015281816113790152614dab01526101a0518281816103210152818161099e015281816114e0015281816118df015281816119f8015281816127c20152818161416a015281816148b501528181614ca40152614f1c01526101c05182818161054a01528181611fab015261488601526101e051828181610f7e01528181611041015281816110c20152818161128701528181611bcf01528181611ef6015281816131250152818161381e01528181613a7b015281816141ca0152614ccf015261020051828181610d2f0152614d2b015261022051828181611ac30152818161410a015281816149150152614cfd015261024051828181611a7301528181611fe301526151ff015251818181612180015281816122770152612b610152f35b60ff60a81b19166007556040516001815260008051602062006aa883398151915290602090a13862000401565b60405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608490fd5b919350935062000641915060603d6060116200064c575b620006388183620009f9565b81019062000a96565b92909293386200039b565b503d6200062c565b6040513d6000823e3d90fd5b61ffff60a01b191661010160a01b176007553862000365565b50303b15801562000342575060a081901c60ff1660011462000342565b50600160ff8260a01c16106200033a565b60ff60a81b19166007556040516001815260008051602062006aa883398151915290602090a13862000323565b61ffff60a01b191661010160a01b1760075538620002eb565b50303b158015620002c8575060a081901c60ff16600114620002c8565b50600160ff8260a01c1610620002c0565b634e487b7160e01b600052604160045260246000fd5b015190503880620001e2565b6004600090815293507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b91905b601f1984168510620007b0576001945083601f1981161062000796575b505050811b01600455620001f8565b015160001960f88460031b161c1916905538808062000787565b818101518355602094850194600190930192909101906200076a565b60046000529091507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f840160051c81016020851062000836575b90849392915b601f830160051c8201811062000826575050620001c9565b600081558594506001016200080e565b508062000808565b634e487b7160e01b600052602260045260246000fd5b91607f1691620001b3565b90508401513862000179565b6003600090815292507fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b905b601f1983168410620008dc576001935082601f19811610620008c2575b5050811b016003556200018e565b86015160001960f88460031b161c191690553880620008b4565b8681015182556020938401936001909201910162000897565b60036000527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f830160051c81016020841062000953575b601f830160051c820181106200094657505062000160565b600081556001016200092e565b50806200092e565b90607f16906200014c565b6020813d602011620009a7575b816200098260209383620009f9565b81010312620009a357519060ff82168203620009a05750386200010b565b80fd5b5080fd5b3d915062000973565b620009ce91965060603d6060116200064c57620006388183620009f9565b50509438620000da565b600080fd5b604081019081106001600160401b038211176200071b57604052565b601f909101601f19168101906001600160401b038211908210176200071b57604052565b51906001600160a01b0382168203620009d857565b1562000a3a57565b60405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608490fd5b90816060910312620009d85780516001600160a01b0392908381168103620009d8579260208301518181168103620009d8576040909301519081168103620009d8579056fe60806040818152600480361015610021575b505050361561001f57600080fd5b005b600091823560e01c93846306fdde031461365157508363071bc3c914613087578363078dfbe71461350f578363095ea7b3146134de578363128fced11461344e57836318160ddd1461340e57836320e8c56514613093578363213cae631461308757836323b872dd14612f1b578363313ce56714612edd5783633644e51514612ec05783633659cfe614612b3b57836337deed8d146128ab5783633ba0b9a9146127795783633f4ba83a146126af5783634c6e8f811461266f5783634e71e0c8146125a85783634f1ef2861461223757836352d1902d146121645783635c975abb146121405783635cbadbe4146120cb5783636925c60514611d6c57836370a0823114611d31578363769f8e5d14611b2b57836376d5de8514611ae7578363781c18db14611aa3578363784367d614611a975783637cf738d214611a535783637ecebe0014611a1c57836380f55605146119d85783638195f6741461188a5783638456cb59146118035783638da5cb5b146117db57836395d89b41146116a757836396aba49214611343578363a40bee501461126b578363a7584e5e14611204578363a9059cbb1461114e578363a9f8d1811461112f578363adb7c3f7146110e6578363afd27bf5146110a2578363b8f82b261461101a578363c4f59f9b14610fe9578363cbe52ae314610f57578363d505accf14610d53578363d94073d414610d0f578363da88ecb414610cde578363dd62ed3e14610c95578363e138b2ee14610c76578363e30c397814610c4e578363e82cee7914610c0a578363ea64a82014610ba9578363eb983ce514610b7d578363ebff5439146107f3578363ef5cfb8c1461056e578363f887ea401461052a578363f8b2f99114610462578363fa483e72146102cc5750505063fa5a4f06146102bf575b388080610011565b6102c7613a50565b6102b7565b3461045e57606060031936011261045e576044359167ffffffffffffffff9081841161045a573660238501121561045a5783810135918083116104565760249436868583010111610452576001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168033036104105790879173__$4841977b5e630d8d12d7143ab50b0fe229$__90813b1561040c5760a486601f19601f8a8d9b8d519e8f998a9889977fbdfa09ab0000000000000000000000000000000000000000000000000000000089528801528d35828801528135604488015260806064880152826084880152018686013788858286010152011681010301915af48015610402576103df578580f35b84116103f15750505281808080808580f35b60418591634e487b7160e01b835252fd5b84513d88823e3d90fd5b8380fd5b606484600a8960208a519362461bcd60e51b85528401528201527f6e6f74206d61726b6574000000000000000000000000000000000000000000006044820152fd5b8680fd5b8580fd5b8480fd5b8280fd5b905034610526578160031936011261052657610522906002549061048c60028360f81c1415613db5565b7f02000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff809316176002556104dc61400b565b50507f0100000000000000000000000000000000000000000000000000000000000000610507614655565b92600254161760025551918291602083526020830190613899565b0390f35b5080fd5b905034610526578160031936011261052657602090516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b829034610526576020908160031936011261045e579161058c613859565b90600254936105a160028660f81c1415613db5565b7f02000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff809616176002556105f283613f40565b6105fa6151d4565b906106058251613eb3565b946001600160a01b0393858516815b855181101561076357866106288288613f2c565b51168352603980855285842083855285528584205490608091821c61064d848d613f2c565b52610658838c613f2c565b5161066e575b505061066990613ee4565b610614565b88610679848a613f2c565b5116855285528584208385528552858420906fffffffffffffffffffffffffffffffff918281541690556106ad838c613f2c565b519082821161045657896106c1858b613f2c565b51168652603b8752828887209216908254901c03918211610750578a8a610742858c61073a828e6107356106699b9a6107499a906fffffffffffffffffffffffffffffffff7fffffffffffffffffffffffffffffffff0000000000000000000000000000000083549260801b169116179055565b613f2c565b511693613f2c565b5191615be5565b908c61065e565b60248560118f634e487b7160e01b835252fd5b8884610522877f01000000000000000000000000000000000000000000000000000000000000008e877f2193aa20a3717f5f4ac79482f4f553e5f0afe8f4e6ec3e3d1aa2e138adc4763f6107cc6107b86151d4565b6107d98751928392898452898401906137a2565b8281038b8401528b613899565b0390a2600254161760025551928284938452830190613899565b903461045e576101a060031936011261045e576001600160a01b039261081e84600654163314613e00565b61082661478d565b93807f000000000000000000000000000000000000000000000000000000000000000016928451917fa76541e500000000000000000000000000000000000000000000000000000000835261087d82840188613aa2565b6020926102c490848183818a5afa908115610b73578691610b46575b506101843503610b05576002906108d88851997f03270af4000000000000000000000000000000000000000000000000000000008b52858b0190613aa2565b880152610164356102e48801526000196103048801526004356103248801526024356103448801526044356103648801526064356103848801526084356103a488015260a43594856103c489015260c43590816103e48a015260e43591826104048b015261010492833591826104248d0152878c610464816101243597886104448301525afa998a15610afb578b9c8a9b9c98999a9c610ab8575b5087519889977f2285db260000000000000000000000000000000000000000000000000000000089527f000000000000000000000000000000000000000000000000000000000000000016908801528b602488015260448701526064860152608485015260a484015260c48301526101443560e48301528173__$4841977b5e630d8d12d7143ab50b0fe229$__5af4928315610aad5792610a7d575b50610a18614d5e565b83516004358152602435602082015260443560408201526064356060820152608435608082015260a0810184905260c081018390527f43950417e0eb7225b8f42332a069bc35fbdf65f3d90c124210b3d3aefc3d6a409060e090a18351928352820152f35b610a9e919250843d8611610aa6575b610a968183613970565b8101906146bd565b509084610a0f565b503d610a8c565b8551903d90823e3d90fd5b8a80929d508193949596979899503d8311610af4575b610ad88183613970565b81010312610af057908b969594939291519a8d610973565b8980fd5b503d610ace565b8b513d8b823e3d90fd5b60648385808a519262461bcd60e51b845283015260248201527f72656d6f76654c6971546f59743a2062696e20737461746520657870697265646044820152fd5b90508481813d8311610b6c575b610b5d8183613970565b81010312610456575189610899565b503d610b53565b88513d88823e3d90fd5b9050346105265781600319360112610526576102c090610ba7610b9e61478d565b91518092613aa2565bf35b9050346105265760206003193601126105265780610522926001600160a01b03610bd1613859565b168152603b60209081529190205491516fffffffffffffffffffffffffffffffff8316815260809290921c908201529081906040820190565b905034610526578160031936011261052657602090516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b9050346105265781600319360112610526576020906001600160a01b03600754169051908152f35b9050346105265781600319360112610526576020906042549051908152f35b90503461052657806003193601126105265780602092610cb3613859565b610cbb61386f565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b90503461052657816003193601126105265761052290610cfc614655565b9051918291602083526020830190613899565b905034610526578160031936011261052657602090516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b9250346105265760e060031936011261052657610d6e613859565b610d7661386f565b90604435926064356084359060ff8216820361045257804211610f14576001600160a01b03908185169283895260056020528989208054906001820190558a519260208401917f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98352868d860152858a1660608601528a608086015260a085015260c084015260c0835260e083019267ffffffffffffffff9381811085821117610f01578c5251902090610e28615995565b928b519260208401947f190100000000000000000000000000000000000000000000000000000000000086526022850152604284015260428352608083019083821090821117610eee5791610e969391610e8e938d5260c4359260a435925190206158e0565b91909161572d565b1603610eab5750610ea89394506155f9565b80f35b606490602087519162461bcd60e51b8352820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152fd5b60248b604189634e487b7160e01b835252fd5b60248c60418a634e487b7160e01b835252fd5b60648360208a519162461bcd60e51b8352820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152fd5b9134610fe65782600319360112610fe657506001600160a01b0380610f7a613859565b16907f0000000000000000000000000000000000000000000000000000000000000000168103610fb957602083610fb2602435614fd6565b9051908152f35b60249251917f88a50561000000000000000000000000000000000000000000000000000000008352820152fd5b80fd5b905034610526578160031936011261052657610522906110076151d4565b90519182916020835260208301906137a2565b9134610fe65782600319360112610fe657506001600160a01b038061103d613859565b16907f000000000000000000000000000000000000000000000000000000000000000016810361107557602083610fb2602435614ee3565b60249251917faeabe718000000000000000000000000000000000000000000000000000000008352820152fd5b905034610526578160031936011261052657602090516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b90503461052657816003193601126105265760c090603c5490603d5490603e54603f549082549260415494815196875260208701528501526060840152608083015260a0820152f35b905034610526578160031936011261052657602090603a549051908152f35b9050346105265780600319360112610526576020907f010000000000000000000000000000000000000000000000000000000000000061118c613859565b6111f5600254916111a360028460f81c1415613db5565b7f02000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff809416176002556024359033615223565b60025416176002555160018152f35b8234610fe65760c0600319360112610fe65761122c6001600160a01b03600654163314613e00565b610ea861123836613993565b60a0908051603c556020810151603d556040810151603e556060810151603f556080810151604055015180604155604255565b8290346105265781600319360112610526576001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016926020825180927f313ce56700000000000000000000000000000000000000000000000000000000825281875afa9081156113375783916112fb575b5060ff90606094835194855260208501521690820152f35b90506020813d821161132f575b8161131560209383613970565b8101031261045e575160ff8116810361045e5760606112e3565b3d9150611308565b505051903d90823e3d90fd5b3461045e5761010060031936011261045e576001600160a01b039061136d82600654163314613e00565b61137561478d565b92827f000000000000000000000000000000000000000000000000000000000000000016936113cc8351917fa76541e500000000000000000000000000000000000000000000000000000000835283830190613aa2565b6020946102c49186818481855afa90811561169d57889161166c575b5060e4350361162a57611437610464879261140161478d565b906001885196879586947f03270af40000000000000000000000000000000000000000000000000000000086528a860190613aa2565b83015260c4356102e48301526000196103048301526004356103248301526024356103448301526044356103648301526064356103848301526084356103a48301526004356103c48301526024356103e48301526044356104048301526064356104248301526084356104448301525afa9485156116205786956115f0575b50508151927f3525e03f0000000000000000000000000000000000000000000000000000000084527f0000000000000000000000000000000000000000000000000000000000000000169083015282602483015260a4356044830152808260648173__$4841977b5e630d8d12d7143ab50b0fe229$__5af49182156115e65784926115c0575b50906105229161154a614d5e565b80516004358152602435602082015260443560408201526064356060820152608435608082015260a0810183905260c081018690527fba4064507fa740cdd61480d0c0ce70e6b4e0f349dda4cd52184466a3c19936439060e090a151938493846040919493926060820195825260208201520152565b816115dd92955061052293503d8611610aa657610a968183613970565b9390939161153c565b81513d86823e3d90fd5b9080929550813d8311611619575b6116088183613970565b8101031261045a57519285806114b6565b503d6115fe565b83513d88823e3d90fd5b6064838786519162461bcd60e51b8352820152601f60248201527f6164644c697146726f6d59743a2062696e2073746174652065787069726564006044820152fd5b90508681813d8311611696575b6116838183613970565b810103126116925751886113e8565b8780fd5b503d611679565b85513d8a823e3d90fd5b8234610fe65780600319360112610fe65781519181845492600184811c918186169586156117d1575b60209687851081146117be579087899a92868b999a9b52918260001461177657505060011461171b575b85886105228961170c848a0385613970565b51928284938452830190613762565b815286935091907f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b82841061175e575050508201018161170c610522886116fa565b8054848a018601528895508794909301928101611744565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168882015294151560051b8701909401945085935061170c925061052291508990506116fa565b60248360228c634e487b7160e01b835252fd5b92607f16926116d0565b9050346105265781600319360112610526576020906001600160a01b03600654169051908152f35b90503461052657816003193601126105265760207f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589161184f6001600160a01b03600654163314613e00565b611857613e4b565b60017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00603854161760385551338152a180f35b9250346105265760606003193601126105265780356001600160a01b03916118b783600654163314613e00565b8451927fee723a8d0000000000000000000000000000000000000000000000000000000084527f0000000000000000000000000000000000000000000000000000000000000000169083015280602483015260243560448301526044356064830152838260848173__$4841977b5e630d8d12d7143ab50b0fe229$__5af49182156119ce578392611989575b50835190815260208101839052604081018290527f48f22f4bc9aee5b703ec4521f5f611eb37d722e592a0545e957f00ce8e9bd3ec90606090a182519182526020820152f35b7f48f22f4bc9aee5b703ec4521f5f611eb37d722e592a0545e957f00ce8e9bd3ec93506119c4919250843d8611610aa657610a968183613970565b9092509082611943565b84513d85823e3d90fd5b905034610526578160031936011261052657602090516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b90503461052657602060031936011261052657806020926001600160a01b03611a43613859565b1681526005845220549051908152f35b905034610526578160031936011261052657602090516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b505050506102c7613a50565b905034610526578160031936011261052657602090516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b905034610526578160031936011261052657602090516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b9134610fe65760a0600319360112610fe657611b45613859565b91602435604435916001600160a01b039081841680940361045a57606435608435958615158703610fe6575060025495611b8560028860f81c1415613db5565b7f02000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff809816176002557f0000000000000000000000000000000000000000000000000000000000000000908482168703611d02578515611cda5788939291611c269115611ccb57611c15873061543e565b611c1e87614fd6565b998a91615be5565b808810611c96576020888a7f01000000000000000000000000000000000000000000000000000000000000008a8a8a8a8a8651928352878984015216907faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c863392a4600254161760025551908152f35b60449250878951927fbfee4ca00000000000000000000000000000000000000000000000000000000084528301526024820152fd5b611cd5873361543e565b611c15565b838a517fc3d83b07000000000000000000000000000000000000000000000000000000008152fd5b602484888c51917f88a50561000000000000000000000000000000000000000000000000000000008352820152fd5b90503461052657602060031936011261052657602090610fb2611d52613859565b6001600160a01b0316600052600060205260406000205490565b8290346105265760031992818436011261045e5780359367ffffffffffffffff9081861161045a5760c081873603011261045a576001600160a01b0392611db884600654163314613e00565b845192611dc4846138cd565b611dcf888301613885565b845260209788850193602494858301358152611ded60448401613885565b90898801918252611e0060648501613885565b9260608901938452611e1460848601613885565b9460808a0195865260a4810135908782116120b55790608091019182360301126120ad578a519560808701878110828211176120b9578c5287820135888110156120b55787528d611e668a8401613885565b9088015260448201359081116120b15790611e88606492893691840101613a09565b8c880152013580151581036120ad579289869593819593828f8f9c9b9a8e839860608593015260a081019b8c5260001985511461209a575b5116612094575081519b5b517f443e6512000000000000000000000000000000000000000000000000000000008152308b8201527f000000000000000000000000000000000000000000000000000000000000000082168c8201528b356044820152608060648201529c511660848d01525160a48c0152511660c48a0152511660e488015251166101048601525160c06101248601528051909290918083101561208357505091838080938a956101448301528786820151166101648301526060611f9b8a83015160806101848601526101c4850190613762565b91015115156101a48301520391867f0000000000000000000000000000000000000000000000000000000000000000165af1938415612078578094612044575b5050612016907f0000000000000000000000000000000000000000000000000000000000000000906006541661201082615ca7565b91615be5565b7f52709ca3666ff5bd61f9d9d26f0dbdadd947fdadf265f3141227189da7d48463838251848152a151908152f35b909193508482813d8311612071575b61205d8183613970565b81010312610fe65750519161201685611fdb565b503d612053565b8351903d90823e3d90fd5b60218991634e487b7160e01b835252fd5b9b611ecb565b6120a682825116615ca7565b8552611ec0565b8b80fd5b8c80fd5b8d80fd5b898e60418b634e487b7160e01b835252fd5b90503461052657806003193601126105265780610522926120ea613859565b6120f261386f565b6001600160a01b0391821683526039602090815284842091909216835281529190205491516fffffffffffffffffffffffffffffffff8316815260809290921c908201529081906040820190565b90503461052657816003193601126105265760209060ff6038541690519015158152f35b9134610fe65780600319360112610fe657506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036121cf57602082517f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8152f35b6020608492519162461bcd60e51b8352820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152fd5b8060031936011261045e5761224a613859565b9060243567ffffffffffffffff811161045a5761226a9036908501613a09565b906001600160a01b0391827f000000000000000000000000000000000000000000000000000000000000000016926122a484301415613b9a565b6122d37f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc948286541614613c0b565b6122e281600654163314613e00565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561231a5750505050610ea89150613c7c565b8491929394168351947f52d1902d00000000000000000000000000000000000000000000000000000000865260209586818981865afa899181612579575b506123c5576084888888519162461bcd60e51b8352820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201527f6f6e206973206e6f7420555550530000000000000000000000000000000000006064820152fd5b9692949695939503612511576123da84613c7c565b7fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8780a2835115801590612509575b612416575b505050505080f35b845194612422866138ff565b602786527f416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c838701527f206661696c65640000000000000000000000000000000000000000000000000081870152833b156124a257505082859283926124979695519201905af4612491613d41565b90613d71565b50818080808061240e565b91608492519162461bcd60e51b8352820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e747261637400000000000000000000000000000000000000000000000000006064820152fd5b506001612409565b5060849185519162461bcd60e51b8352820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f7860448201527f6961626c655555494400000000000000000000000000000000000000000000006064820152fd5b9091508781813d83116125a1575b6125918183613970565b81010312610af05751908a612358565b503d612587565b3461045e578260031936011261045e57600754906001600160a01b03928383169182330361262c575050806006549384167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08680a37fffffffffffffffffffffffff0000000000000000000000000000000000000000809316176006551660075580f35b906020606492519162461bcd60e51b8352820152602060248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152fd5b90503461052657600319360112610fe657610ea861268b613859565b61269361386f565b906126aa6001600160a01b03600654163314613e00565b615d43565b903461045e578260031936011261045e576126d66001600160a01b03600654163314613e00565b6038549060ff82161561273657507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006020921660385551338152a180f35b606490602084519162461bcd60e51b8352820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152fd5b8234610fe65780600319360112610fe6576127e96020612797614c96565b8451809381927fe2102e670000000000000000000000000000000000000000000000000000000083527f0000000000000000000000000000000000000000000000000000000000000000898401614e68565b038173__$a7098bf20e819a81ac73f4e6e6693165f6$__5af49081156128a1578291612870575b507effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6002541691670de0b6b3a76400009182810292818404149015171561285d57602084610fb28585614ec3565b80601186634e487b7160e01b6024945252fd5b90506020813d8211612899575b8161288a60209383613970565b81010312610526575184612810565b3d915061287d565b83513d84823e3d90fd5b903461045e5760c060031936011261045e576128c636613993565b6007549060ff8260a81c161591828093612b2b575b8015612b11575b15612aa857908183740100000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff612963951617600755612a65575b5060a0908051603c556020810151603d556040810151603e556060810151603f556080810151604055015180604155604255565b6007549160ff8360a81c16156129fc5750337fffffffffffffffffffffffff000000000000000000000000000000000000000060065416176006556129a6578280f35b7f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498917fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff602092166007555160018152a181808280f35b608490602085519162461bcd60e51b8352820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152fd5b7fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167501010000000000000000000000000000000000000000176007558661292f565b608484602087519162461bcd60e51b8352820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152fd5b50303b1580156128e25750600160ff8260a01c16146128e2565b50600160ff8260a01c16106128db565b3461045e5760208060031936011261040c57612b55613859565b916001600160a01b03807f000000000000000000000000000000000000000000000000000000000000000016612b8d81301415613b9a565b612bbc7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc918383541614613c0b565b612bcb82600654163314613e00565b8251908482019282841067ffffffffffffffff851117612ead578385528883527f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615612c2557505050505050610ea89150613c7c565b86949596169085517f52d1902d00000000000000000000000000000000000000000000000000000000815287818a81865afa8a9181612e7a575b50612ccc576084898989519162461bcd60e51b8352820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201527f6f6e206973206e6f7420555550530000000000000000000000000000000000006064820152fd5b979395979692949603612e1257612ce286613c7c565b7fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8880a2825115801590612e0b575b612d1f575b50505050505080f35b855195612d2b876138ff565b602787527f416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c828801527f206661696c65640000000000000000000000000000000000000000000000000081880152853b15612da457505050612d9893928592839251915af4612491613d41565b50818080808080612d16565b60849350519162461bcd60e51b8352820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e747261637400000000000000000000000000000000000000000000000000006064820152fd5b5086612d11565b6084838389519162461bcd60e51b8352820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f7860448201527f6961626c655555494400000000000000000000000000000000000000000000006064820152fd5b9091508881813d8311612ea6575b612e928183613970565b81010312612ea25751908b612c5f565b8a80fd5b503d612e88565b60248960418a634e487b7160e01b835252fd5b905034610526578160031936011261052657602090610fb2615995565b9050346105265781600319360112610526576020905160ff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b92503461052657606060031936011261052657612f36613859565b612f3e61386f565b90604435928560025495612f5860028860f81c1415613db5565b7f02000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff809816176002556001600160a01b038416815260016020528181203382526020522054906000198203612ff7575b6020877f0100000000000000000000000000000000000000000000000000000000000000886111f5898989615223565b84821061304457509260209594926111f592613037837f0100000000000000000000000000000000000000000000000000000000000000970333836155f9565b9250929495819450612fc7565b606490602088519162461bcd60e51b8352820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b505050506102c76137df565b82906080600319360112610526576130a9613859565b916130b261386f565b60443593606435946002938454976130cf868a60f81c1415613db5565b7f02000000000000000000000000000000000000000000000000000000000000007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff809a161786556001600160a01b0380951694807f00000000000000000000000000000000000000000000000000000000000000001686036133df5783156133b7578561333e578334036132fb575b61316784614ee3565b98808a106132c6575084169384156132835761318a90613185613e4b565b613f40565b888811610526578554908989168a831601908a821161327057509380927f01000000000000000000000000000000000000000000000000000000000000009694927fff000000000000000000000000000000000000000000000000000000000000008c60209d98169116178855818152808b5288812061320b8b8254613ffe565b90557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8b8a518c8152a3865190815287898201527f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d59873392a482541617905551908152f35b836011602492634e487b7160e01b835252fd5b60648260208a519162461bcd60e51b8352820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b826044918b8b51927fbc71f2ba0000000000000000000000000000000000000000000000000000000084528301526024820152fd5b60648260208a519162461bcd60e51b8352820152600c60248201527f657468206d69736d6174636800000000000000000000000000000000000000006044820152fd5b87517f23b872dd0000000000000000000000000000000000000000000000000000000060208201523360248201523060448201528460648201526064815260a0810181811067ffffffffffffffff8211176133a457895261339f9087615aaf565b61315e565b602485604186634e487b7160e01b835252fd5b5086517fa907f2f0000000000000000000000000000000000000000000000000000000008152fd5b602482878a51917faeabe718000000000000000000000000000000000000000000000000000000008352820152fd5b9050346105265781600319360112610526576020907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600254169051908152f35b8234610fe657602091826003193601126105265761346a613859565b916134736151d4565b9261347e8451613eb3565b946001600160a01b0391821691835b86518110156134cc5780826134a46001938a613f2c565b511686526039845286862085875284528686205460801c6134c5828b613f2c565b520161348d565b8551838152806105228186018b613899565b9050346105265780600319360112610526576020906135086134fe613859565b60243590336155f9565b5160018152f35b3461045e57606060031936011261045e57613528613859565b9160243591821515830361045a57604435928315158403610456576001600160a01b0394859161355d83600654163314613e00565b1561361f571692831590811591613617575b50156135d4575050806006549283167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08580a37fffffffffffffffffffffffff0000000000000000000000000000000000000000809216176006556007541660075580f35b906020606492519162461bcd60e51b8352820152601560248201527f4f776e61626c653a207a65726f206164647265737300000000000000000000006044820152fd5b90508661356f565b9350505050167fffffffffffffffffffffffff0000000000000000000000000000000000000000600754161760075580f35b919290346105265781600319360112610526578160035492600184811c91818616958615613758575b60209687851081146117be578899509688969785829a5291826000146137135750506001146136b7575b505050610522929161170c910385613970565b9190869350600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b8284106136fb575050508201018161170c6105226136a4565b8054848a0186015288955087949093019281016136e2565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168782015293151560051b8601909301935084925061170c915061052290506136a4565b92607f169261367a565b919082519283825260005b84811061378e575050601f19601f8460006020809697860101520116010190565b60208183018101518483018201520161376d565b90815180825260208080930193019160005b8281106137c2575050505090565b83516001600160a01b0316855293810193928101926001016137b4565b50346138545760006003193601126138545761052260405161380081613938565b600181526020368183013761381481613f09565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690526040519182916020835260208301906137a2565b600080fd5b600435906001600160a01b038216820361385457565b602435906001600160a01b038216820361385457565b35906001600160a01b038216820361385457565b90815180825260208080930193019160005b8281106138b9575050505090565b8351855293810193928101926001016138ab565b60c0810190811067ffffffffffffffff8211176138e957604052565b634e487b7160e01b600052604160045260246000fd5b6060810190811067ffffffffffffffff8211176138e957604052565b610120810190811067ffffffffffffffff8211176138e957604052565b6040810190811067ffffffffffffffff8211176138e957604052565b6080810190811067ffffffffffffffff8211176138e957604052565b90601f601f19910116810190811067ffffffffffffffff8211176138e957604052565b60031960c0910112613854576040519060c0820182811067ffffffffffffffff8211176138e957604052816004358152602435602082015260443560408201526064356060820152608435608082015260a060a435910152565b67ffffffffffffffff81116138e957601f01601f191660200190565b81601f8201121561385457803590613a20826139ed565b92613a2e6040519485613970565b8284526020838301011161385457816000926020809301838601378301015290565b5034613854576020600319360112613854576020613a6c613859565b604051906001600160a01b03807f0000000000000000000000000000000000000000000000000000000000000000169116148152f35b60a060406102a092613add85825160808091805184526020810151602085015260408101516040850152606081015160608501520151910152565b816020820151613b4a85880182518051825260208101516020830152604081015160408301526001600160a01b0360608201511660608301526080810151608083015260a081015160a083015260c081015160c083015260e081015160e083015261010080910151910152565b60208101516101c088015201516101e08601520151805161020085015260208101516102208501526040810151610240850152606081015161026085015260808101516102808501520151910152565b15613ba157565b608460405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f64656c656761746563616c6c00000000000000000000000000000000000000006064820152fd5b15613c1257565b608460405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201527f6163746976652070726f787900000000000000000000000000000000000000006064820152fd5b803b15613cd7576001600160a01b037f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc91167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b608460405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e7472616374000000000000000000000000000000000000006064820152fd5b3d15613d6c573d90613d52826139ed565b91613d606040519384613970565b82523d6000602084013e565b606090565b90919015613d7d575090565b815115613d8d5750805190602001fd5b613db19060405191829162461bcd60e51b8352602060048401526024830190613762565b0390fd5b15613dbc57565b606460405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152fd5b15613e0757565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b60ff60385416613e5757565b606460405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152fd5b67ffffffffffffffff81116138e95760051b60200190565b90613ebd82613e9b565b613eca6040519182613970565b828152601f19613eda8294613e9b565b0190602036910137565b6000198114613ef35760010190565b634e487b7160e01b600052601160045260246000fd5b805115613f165760200190565b634e487b7160e01b600052603260045260246000fd5b8051821015613f165760209160051b010190565b613f4861400b565b90805115613f84576001600160a01b0383168015159081613f79575b50613f6e57505050565b613f7792614428565b565b905030141538613f64565b505050565b613f9161400b565b91815115613feb576001600160a01b039083838383168015159081613fe0575b50613fcf575b50505083168015159081613f795750613f6e57505050565b613fd892614428565b388383613fb7565b905030141538613fb1565b50505050565b91908203918211613ef357565b91908201809211613ef357565b6140136151d4565b9061401e8251613eb3565b82511561442557603a54430361408c575b6000805b845181101561408757806001600160a01b036140526140829388613f2c565b51168352603b6020526fffffffffffffffffffffffffffffffff60408420541661407c8286613f2c565b52613ee4565b614033565b505090565b43603a557effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600254166040908151907f7d24da4d0000000000000000000000000000000000000000000000000000000082526004308184015260019360249185838601528560448601526000916001600160a01b03958381606481838b7f0000000000000000000000000000000000000000000000000000000000000000165af180156143bf576143e3575b5080517f9262187b000000000000000000000000000000000000000000000000000000008152308382015283818681838b7f0000000000000000000000000000000000000000000000000000000000000000165af180156143bf576143c9575b5080517fef5cfb8c000000000000000000000000000000000000000000000000000000008152308382015283818681838b7f0000000000000000000000000000000000000000000000000000000000000000165af180156143bf5761439d575b50869583861515985b614213575b50505050505050505061402f565b8b518110156143985782898d8a6142428661423b87826142338288613f2c565b511695613f2c565b5116615ca7565b91808a52603b90602090828252614262878d205495608096871c90613ff1565b95818d528383528c6fffffffffffffffffffffffffffffffff988991205416948515614390575b5061434a575b8684116120ad578b525283878a2091167fffffffffffffffffffffffffffffffff0000000000000000000000000000000082541617905582821161169257828689209216908254901c01918211614338579161432c614331928b9594906fffffffffffffffffffffffffffffffff7fffffffffffffffffffffffffffffffff0000000000000000000000000000000083549260801b169116179055565b613ee4565b9091614200565b8787601188634e487b7160e01b835252fd5b92670de0b6b3a764000080870290878204148715171561437e57906143728f61437893614ec3565b90613ffe565b9261428f565b8d8d60118e634e487b7160e01b835252fd5b94508f614289565b614205565b6143b8903d8086833e6143b08183613970565b8101906151ae565b50386141f7565b82513d86823e3d90fd5b6143dc903d8086833e6143b08183613970565b5038614197565b3d8085833e6143f28183613970565b810190828183031261045a5760208101519067ffffffffffffffff82116104565761441e929101615150565b5038614137565b90565b909291926001600160a01b03808316928315158061464b575b1561463557614464906001600160a01b0316600052600060205260406000205490565b9160005b815181101561462c578261447c8284613f2c565b5116906144898189613f2c565b51826000526039906020908282526040806000208a60005283526fffffffffffffffffffffffffffffffff918282600020541680156145db578181146145cb57670de0b6b3a76400006144e86144e26145079385613ff1565b8d614eb0565b0488600052868652836000208d6000528652836000205460801c613ffe565b9183821161385457838311613854578051948186019686881067ffffffffffffffff8911176138e9576145c69986809561432c9a86521688528483890196168652600052815281600020908d600052526000209351167fffffffffffffffffffffffffffffffff0000000000000000000000000000000084541617835551166fffffffffffffffffffffffffffffffff7fffffffffffffffffffffffffffffffff0000000000000000000000000000000083549260801b169116179055565b614468565b5050505050506145c69150613ee4565b509382859492939411613854576145c696600052815281600020908a6000525260002091167fffffffffffffffffffffffffffffffff00000000000000000000000000000000825416179055613ee4565b50505050509050565b634e487b7160e01b600052600160045260246000fd5b5030841415614441565b61465d6151d4565b906146688251613eb3565b91600090815b8151811015613f8457806001600160a01b0361468c60019385613f2c565b51168452603b6020526fffffffffffffffffffffffffffffffff6040852054166146b68288613f2c565b520161466e565b9190826040910312613854576020825192015190565b600511156146dd57565b634e487b7160e01b600052602160045260246000fd5b6040519060a0820182811067ffffffffffffffff8211176138e95760405260006080838281528260208201528260408201528260608201520152565b6040519061473c826138ff565b81604080519161474b8361391b565b60009283815283602082015283838201528360608201528360808201528360a08201528360c08201528360e08201528361010082015281528260208201520152565b60409081519161479c836138ff565b6147a46146f3565b8352602083016147b261472f565b81528184019082516147c3816138cd565b6000808252806020830152808583015280606083015280608083015260a08201528252846147ef614c96565b90526147f9614848565b9052815191614807836138cd565b603c548352603d546020840152603e5481840152603f54606084015254608083015260415460a083015252565b51906001600160a01b038216820361385457565b61485061472f565b90604080517f794052f30000000000000000000000000000000000000000000000000000000081526001600160a01b03600491817f000000000000000000000000000000000000000000000000000000000000000016838201526101208082602481867f0000000000000000000000000000000000000000000000000000000000000000165afa908115614c7357600091614be2575b5086525082517fafd27bf5000000000000000000000000000000000000000000000000000000008152602092907f000000000000000000000000000000000000000000000000000000000000000083169084818481855afa908115614bd757600091614ba2575b508551927fd2a3584e00000000000000000000000000000000000000000000000000000000845285848281865afa938415614b9757600094614b68575b5086517f516399df00000000000000000000000000000000000000000000000000000000815260009387828481845afa918215614b5e579088949392918692614b2f575b5081614a7b575b50156149ed57505050509050905b8401524290830152565b8751809681937f3ba0b9a9000000000000000000000000000000000000000000000000000000008352165afa928315614a6f578193614a40575b505080821115614a3957505b906149e3565b9050614a33565b9092508381813d8311614a68575b614a588183613970565b8101031261045e57519138614a27565b503d614a4e565b508451903d90823e3d90fd5b82939491508951928380927f60e0a9e10000000000000000000000000000000000000000000000000000000082525afa908115614b255790879392918591614ad9575b506fffffffffffffffffffffffffffffffff164314386149d5565b848193949592503d8311614b1e575b614af28183613970565b8101031261040c57516fffffffffffffffffffffffffffffffff8116810361040c579086929138614abe565b503d614ae8565b88513d86823e3d90fd5b614b50919250853d8711614b57575b614b488183613970565b810190614c7e565b90386149ce565b503d614b3e565b89513d87823e3d90fd5b90938682813d8311614b90575b614b7f8183613970565b81010312610fe6575051923861498a565b503d614b75565b87513d6000823e3d90fd5b908582813d8311614bd0575b614bb88183613970565b81010312610fe65750614bca90614834565b3861494d565b503d614bae565b86513d6000823e3d90fd5b82813d8311614c6c575b614bf68183613970565b81010312610fe65750835190614c0b8261391b565b80518252602081015160208301528481015185830152614c2d60608201614834565b60608301526080810151608083015260a081015160a083015260c081015160c083015260e081015160e0830152610100809101519082015280386148e6565b503d614bec565b85513d6000823e3d90fd5b90816020910312613854575180151581036138545790565b614c9e6146f3565b90614cc87f0000000000000000000000000000000000000000000000000000000000000000615ca7565b8252614cf37f0000000000000000000000000000000000000000000000000000000000000000615ca7565b6060830152614d217f0000000000000000000000000000000000000000000000000000000000000000615ca7565b6020830152614d4f7f0000000000000000000000000000000000000000000000000000000000000000615ca7565b60408301526042546080830152565b614d6661478d565b614d9a604051917fa76541e50000000000000000000000000000000000000000000000000000000083526004830190613aa2565b6020816102c4816001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165afa908115614e5c57600091614e2b575b506042547f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81116138545760008282019283129112908015821691151617613ef3576000811261385457604255565b906020823d8211614e54575b81614e4460209383613970565b81010312610fe657505138614ddc565b3d9150614e37565b6040513d6000823e3d90fd5b916020613f779294936001600160a01b0360c0820196168152019060808091805184526020810151602085015260408101516040850152606081015160608501520151910152565b81810292918115918404141715613ef357565b8115614ecd570490565b634e487b7160e01b600052601260045260246000fd5b614f446020614ef0614c96565b604051809381927fe2102e670000000000000000000000000000000000000000000000000000000083527f000000000000000000000000000000000000000000000000000000000000000060048401614e68565b038173__$a7098bf20e819a81ac73f4e6e6693165f6$__5af4908115614e5c57600091614fa3575b50614f9e614425927effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6002541690614eb0565b614ec3565b906020823d8211614fce575b81614fbc60209383613970565b81010312610fe6575051614f9e614f6c565b3d9150614faf565b614fde614c96565b6040614fe8614848565b81517fb1ef9e500000000000000000000000000000000000000000000000000000000081528351600482015260208401516024820152604084015160448201526060840151606482015260809093015160848401528051805160a4850152602081015160c4850152604081015160e485015260608101516001600160a01b0316610104850152608081015161012485015260a081015161014485015260c081015161016485015260e081015161018485015261010001516101a484015260208101516101c484015201516101e48201526020816102048173__$a7098bf20e819a81ac73f4e6e6693165f6$__5af4908115614e5c5760009161511d575b50614425916150f391614eb0565b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6002541690614ec3565b906020823d8211615148575b8161513660209383613970565b81010312610fe65750516144256150e5565b3d9150615129565b81601f820112156138545780519161516783613e9b565b926151756040519485613970565b808452602092838086019260051b820101928311613854578301905b82821061519f575050505090565b81518152908301908301615191565b9060208282031261385457815167ffffffffffffffff8111613854576144259201615150565b604051906151e182613938565b60018252602036818401376151f582613f09565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169052565b90916001600160a01b03918281169283156153d457841693841561536a578484146153265761525991615254613e4b565b613f89565b6000828152806020526040812054918083106152bc57604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9587602096528286520382822055868152206152b1828254613ffe565b9055604051908152a3565b608460405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152fd5b606460405162461bcd60e51b815260206004820152601760248201527f45524332303a207472616e7366657220746f2073656c660000000000000000006044820152fd5b608460405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152fd5b6001600160a01b03811690811561558f5761545b90613185613e4b565b600091818352826020526040832054818110615525578190838552846020520360408420557effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80821161040c57600254908083168183160381811161551157917fff000000000000000000000000000000000000000000000000000000000000007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef949260209416911617600255604051908152a3565b602486634e487b7160e01b81526011600452fd5b608460405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152fd5b6001600160a01b038091169182156156c4571691821561565a5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b608460405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152fd5b615736816146d3565b8061573e5750565b615747816146d3565b6001810361579357606460405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152fd5b61579c816146d3565b600281036157e857606460405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152fd5b6157f1816146d3565b6003810361586357608460405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152fd5b8061586f6004926146d3565b1461587657565b608460405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152fd5b9291907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083116159895760ff16601b8114158061597e575b615972579160809493916020936040519384528484015260408301526060820152600093849182805260015afa156159655781516001600160a01b0381161561595f579190565b50600190565b50604051903d90823e3d90fd5b50505050600090600490565b50601c811415615918565b50505050600090600390565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016301480615a86575b156159f0577f000000000000000000000000000000000000000000000000000000000000000090565b60405160208101907f000000000000000000000000000000000000000000000000000000000000000082527f000000000000000000000000000000000000000000000000000000000000000060408201527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260a08152615a80816138cd565b51902090565b507f000000000000000000000000000000000000000000000000000000000000000046146159c7565b6001600160a01b03169060405190615ac682613938565b6020928383527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656484840152803b15615ba15760008281928287615b129796519301915af1612491613d41565b80519081615b1f57505050565b8280615b2f938301019101614c7e565b15615b375750565b6084906040519062461bcd60e51b82526004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152fd5b6064846040519062461bcd60e51b82526004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152fd5b8215613f84576001600160a01b039081169081615c5b575050600080809381935af1615c0f613d41565b5015615c1757565b606460405162461bcd60e51b815260206004820152600f60248201527f6574682073656e64206661696c656400000000000000000000000000000000006044820152fd5b92613f7793604051937fa9059cbb000000000000000000000000000000000000000000000000000000006020860152166024840152604483015260448252615ca282613954565b615aaf565b6000906001600160a01b031680615cbe5750504790565b6020602491604051928380927f70a082310000000000000000000000000000000000000000000000000000000082523060048301525afa918215615d37578092615d0757505090565b9091506020823d8211615d2f575b81615d2260209383613970565b81010312610fe657505190565b3d9150615d15565b604051903d90823e3d90fd5b906001600160a01b0391828116908115613feb576040918251809581957fdd62ed3e0000000000000000000000000000000000000000000000000000000083523060048401521691826024830152602096879160449788915afa8015615f8b57600090615f52575b6b7fffffffffffffffffffffff915010615dc7575b5050505050565b8251906000808784017f095ea7b300000000000000000000000000000000000000000000000000000000948582528460248201528289820152888152615e0c81613954565b519082875af1615e1a613d41565b81615f22575b5015615ee0579160009291838093865190898201938452602482015260001988820152878152615e4f81613954565b51925af1615e5b613d41565b81615eb0575b5015615e6e578080615dc0565b606492917f5361666520417070726f7665000000000000000000000000000000000000000091519262461bcd60e51b84526004840152600c6024840152820152fd5b80518015925085908315615ec8575b50505038615e61565b615ed89350820181019101614c7e565b388481615ebf565b6064867f5361666520417070726f766500000000000000000000000000000000000000008787519262461bcd60e51b84526004840152600c6024840152820152fd5b80518015925088908315615f3a575b50505038615e20565b615f4a9350820181019101614c7e565b388781615f31565b8682813d8311615f84575b615f678183613970565b81010312610fe657506b7fffffffffffffffffffffff9051615dab565b503d615f5d565b84513d6000823e3d90fdfea2646970667358221220b00d2d4d556c8f64314dccb9be0bc2f81c3762163b0a2414a645c6f00677b98464736f6c634300081100337f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024988b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f";
2143
-
2144
- type LongYieldTradingBotConstructorParams =
2145
- | [linkLibraryAddresses: LongYieldTradingBotLibraryAddresses, signer?: Signer]
2146
- | ConstructorParameters<typeof ContractFactory>;
2147
-
2148
- const isSuperArgs = (
2149
- xs: LongYieldTradingBotConstructorParams
2150
- ): xs is ConstructorParameters<typeof ContractFactory> => {
2151
- return (
2152
- typeof xs[0] === "string" ||
2153
- (Array.isArray as (arg: any) => arg is readonly any[])(xs[0]) ||
2154
- "_isInterface" in xs[0]
2155
- );
2156
- };
2157
-
2158
- export class LongYieldTradingBot__factory extends ContractFactory {
2159
- constructor(...args: LongYieldTradingBotConstructorParams) {
2160
- if (isSuperArgs(args)) {
2161
- super(...args);
2162
- } else {
2163
- const [linkLibraryAddresses, signer] = args;
2164
- super(
2165
- _abi,
2166
- LongYieldTradingBot__factory.linkBytecode(linkLibraryAddresses),
2167
- signer
2168
- );
2169
- }
2170
- this.contractName = "LongYieldTradingBot";
2171
- }
2172
-
2173
- static linkBytecode(
2174
- linkLibraryAddresses: LongYieldTradingBotLibraryAddresses
2175
- ): string {
2176
- let linkedBytecode = _bytecode;
2177
-
2178
- linkedBytecode = linkedBytecode.replace(
2179
- new RegExp("__\\$4841977b5e630d8d12d7143ab50b0fe229\\$__", "g"),
2180
- linkLibraryAddresses[
2181
- "contracts/core/TradingBot/libraries/LongYieldActionLib.sol:LongYieldActionLib"
2182
- ]
2183
- .replace(/^0x/, "")
2184
- .toLowerCase()
2185
- );
2186
-
2187
- linkedBytecode = linkedBytecode.replace(
2188
- new RegExp("__\\$a7098bf20e819a81ac73f4e6e6693165f6\\$__", "g"),
2189
- linkLibraryAddresses[
2190
- "contracts/core/TradingBot/libraries/TvlLib.sol:TvlLib"
2191
- ]
2192
- .replace(/^0x/, "")
2193
- .toLowerCase()
2194
- );
2195
-
2196
- return linkedBytecode;
2197
- }
2198
-
2199
- deploy(
2200
- _market: string,
2201
- _router: string,
2202
- _PENDLE: string,
2203
- _decisionHelper: string,
2204
- overrides?: Overrides & { from?: string | Promise<string> }
2205
- ): Promise<LongYieldTradingBot> {
2206
- return super.deploy(
2207
- _market,
2208
- _router,
2209
- _PENDLE,
2210
- _decisionHelper,
2211
- overrides || {}
2212
- ) as Promise<LongYieldTradingBot>;
2213
- }
2214
- getDeployTransaction(
2215
- _market: string,
2216
- _router: string,
2217
- _PENDLE: string,
2218
- _decisionHelper: string,
2219
- overrides?: Overrides & { from?: string | Promise<string> }
2220
- ): TransactionRequest {
2221
- return super.getDeployTransaction(
2222
- _market,
2223
- _router,
2224
- _PENDLE,
2225
- _decisionHelper,
2226
- overrides || {}
2227
- );
2228
- }
2229
- attach(address: string): LongYieldTradingBot {
2230
- return super.attach(address) as LongYieldTradingBot;
2231
- }
2232
- connect(signer: Signer): LongYieldTradingBot__factory {
2233
- return super.connect(signer) as LongYieldTradingBot__factory;
2234
- }
2235
- static readonly contractName: "LongYieldTradingBot";
2236
- public readonly contractName: "LongYieldTradingBot";
2237
- static readonly bytecode = _bytecode;
2238
- static readonly abi = _abi;
2239
- static createInterface(): LongYieldTradingBotInterface {
2240
- return new utils.Interface(_abi) as LongYieldTradingBotInterface;
2241
- }
2242
- static connect(
2243
- address: string,
2244
- signerOrProvider: Signer | Provider
2245
- ): LongYieldTradingBot {
2246
- return new Contract(address, _abi, signerOrProvider) as LongYieldTradingBot;
2247
- }
2248
- }
2249
-
2250
- export interface LongYieldTradingBotLibraryAddresses {
2251
- ["contracts/core/TradingBot/libraries/LongYieldActionLib.sol:LongYieldActionLib"]: string;
2252
- ["contracts/core/TradingBot/libraries/TvlLib.sol:TvlLib"]: string;
2253
- }