@pendle/core-v2 4.2.1 → 4.2.3

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 (646) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.dbg.json +4 -0
  26. package/build/artifacts/contracts/core/Market/{PendleMarket.sol → v1/PendleMarket.sol}/PendleMarket.json +3 -3
  27. package/build/artifacts/contracts/core/Market/v1/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +4 -0
  28. package/build/artifacts/contracts/core/Market/{PendleMarketFactory.sol → v1/PendleMarketFactory.sol}/PendleMarketFactory.json +3 -3
  29. package/build/artifacts/contracts/core/Market/v2/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.dbg.json +4 -0
  30. package/build/artifacts/contracts/core/Market/{PendleExternalRewardDistributor.sol → v2/PendleExternalRewardDistributor.sol}/PendleExternalRewardDistributor.json +3 -3
  31. package/build/artifacts/contracts/core/Market/v2/PendleGaugeV2.sol/PendleGaugeV2.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/Market/v2/PendleMarketFactoryV2.sol/PendleMarketFactoryV2.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/RewardManager/PendleLinearDistributor.sol/PendleLinearDistributor.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/StandardizedYield/SYBaseUpg.sol/SYBaseUpg.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewardsUpg.sol/SYBaseWithRewardsUpg.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/StandardizedYield/StEthNativeLib.sol/StETHNativeLib.dbg.json +4 -0
  47. package/build/artifacts/contracts/core/StandardizedYield/StEthNativeLib.sol/StETHNativeLib.json +10 -0
  48. package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3SY.sol/PendleAaveV3SY.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/libraries/AaveAdapterLib.sol/AaveAdapterLib.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/libraries/WadRayMath.sol/WadRayMath.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraSwEthBbAWethSYV2.sol/AuraSwEthBbAWethSYV2.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraWethVethSYUpg.sol/AuraWethVethSYUpg.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraWethVethSYUpg.sol/AuraWethVethSYUpg.json +2 -2
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +1 -1
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewProxy.sol/ComposableStablePreviewProxy.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV4.sol/ComposableStablePreviewV4.dbg.json +1 -1
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV5.sol/ComposableStablePreviewV5.dbg.json +1 -1
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +1 -1
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAPoolHelper.dbg.json +1 -1
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAWethHelper.dbg.json +1 -1
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol/LinearMath.dbg.json +1 -1
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.dbg.json +1 -1
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +1 -1
  75. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
  76. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV3Upg.sol/PendleAuraBalancerStableLPSYV3Upg.dbg.json +1 -1
  77. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
  78. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
  79. package/build/artifacts/contracts/core/StandardizedYield/implementations/BedRock/PendleUniETHSY.sol/PendleUniETHSY.dbg.json +4 -0
  80. package/build/artifacts/contracts/core/StandardizedYield/implementations/BedRock/PendleUniETHSY.sol/PendleUniETHSY.json +1034 -0
  81. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  82. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  83. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
  84. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
  85. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
  86. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.dbg.json +1 -1
  87. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
  88. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.dbg.json +1 -1
  89. package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkRelayer.sol/PendleChainlinkRelayer.dbg.json +1 -1
  90. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  91. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  92. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
  93. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  94. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  95. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  96. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol/PendleSUSDESY.dbg.json +1 -1
  97. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol/PendleSUSDESY.json +62 -2
  98. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDESY.sol/PendleUSDESY.dbg.json +1 -1
  99. package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthSY.sol/PendleWEEthSY.dbg.json +1 -1
  100. package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/FluxTokenLib.sol/FluxTokenLib.dbg.json +1 -1
  101. package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/PendleFluxLendingSY.sol/PendleFluxLendingSY.dbg.json +1 -1
  102. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
  103. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/GMTokenPricingHelper.dbg.json +1 -1
  104. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/IGMXV2DataStore.dbg.json +1 -1
  105. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/IGMXV2Oracle.dbg.json +1 -1
  106. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/IGMXV2Reader.dbg.json +1 -1
  107. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGMV2TokenSY.sol/PendleGMV2TokenSY.dbg.json +1 -1
  108. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  109. package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/HLPPricingHelper.sol/HLPPricingHelper.dbg.json +1 -1
  110. package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/PendleHlpSY.sol/PendleHlpSY.dbg.json +1 -1
  111. package/build/artifacts/contracts/core/StandardizedYield/implementations/KelpDAO/PendleRsETHSY.sol/PendleRsETHSY.dbg.json +1 -1
  112. package/build/artifacts/contracts/core/StandardizedYield/implementations/KelpDAO/PendleRsETHSY.sol/PendleRsETHSY.json +2 -2
  113. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/KyberMathHelper.sol/KyberMathHelper.dbg.json +1 -1
  114. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/KyberNftManagerBaseUpg.sol/KyberNftManagerBaseUpg.dbg.json +1 -1
  115. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/PendleKyberElasticSYUpg.sol/PendleKyberElasticSYUpg.dbg.json +1 -1
  116. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/PendleKyberElasticSYUpg.sol/PendleKyberElasticSYUpg.json +2 -2
  117. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/FullMath.sol/FullMath.dbg.json +1 -1
  118. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/LiqDeltaMath.sol/LiqDeltaMath.dbg.json +1 -1
  119. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/LiquidityMath.sol/LiquidityMath.dbg.json +1 -1
  120. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/MathConstants.sol/MathConstants.dbg.json +1 -1
  121. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/QtyDeltaMath.sol/QtyDeltaMath.dbg.json +1 -1
  122. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/QuadMath.sol/QuadMath.dbg.json +1 -1
  123. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/ReinvestmentMath.sol/ReinvestmentMath.dbg.json +1 -1
  124. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/SafeCast.sol/SafeCast.dbg.json +1 -1
  125. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/SwapMath.sol/SwapMath.dbg.json +1 -1
  126. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/TickMath.sol/TickMath.dbg.json +1 -1
  127. package/build/artifacts/contracts/core/StandardizedYield/implementations/MUX/MlpPricingHelper.sol/MlpPricingHelper.dbg.json +1 -1
  128. package/build/artifacts/contracts/core/StandardizedYield/implementations/MUX/PendleMlpSY.sol/PendleMlpSY.dbg.json +1 -1
  129. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleMantleStakedEthSY.sol/PendleMantleStakedEthSY.dbg.json +1 -1
  130. package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleOracleForSyProxy.sol/PendleOracleForSyProxy.dbg.json +1 -1
  131. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.dbg.json +1 -1
  132. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleBridgedLSDSY.sol/PendleBridgedLSDSY.dbg.json +1 -1
  133. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20SY.sol/PendleERC20SY.dbg.json +1 -1
  134. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.dbg.json +1 -1
  135. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.json +2 -2
  136. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSY.sol/PendleERC4626SYUpg.dbg.json +4 -0
  137. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSY.sol/PendleERC4626SYUpg.json +1000 -0
  138. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleEUSDSY.sol/PendleEUSDSY.dbg.json +1 -1
  139. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  140. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleL2LRTSY.sol/PendleL2LRTSY.dbg.json +1 -1
  141. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  142. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
  143. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
  144. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.dbg.json +1 -1
  145. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  146. package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufStETHSY.sol/PendlePufStETHSY.dbg.json +4 -0
  147. package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufStETHSY.sol/PendlePufStETHSY.json +1014 -0
  148. package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufWETHSY.sol/PendlePufWETHSY.dbg.json +4 -0
  149. package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufWETHSY.sol/PendlePufWETHSY.json +1014 -0
  150. package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHL2SY.sol/PendleEzETHL2SY.dbg.json +4 -0
  151. package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHL2SY.sol/PendleEzETHL2SY.json +1114 -0
  152. package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHSY.sol/PendleEzETHSY.dbg.json +1 -1
  153. package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleRenzoPreviewHelper.sol/PendleRenzoPreviewHelper.dbg.json +4 -0
  154. package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleRenzoPreviewHelper.sol/PendleRenzoPreviewHelper.json +347 -0
  155. package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveSY.sol/PendleSiloWithIncentiveSY.dbg.json +1 -1
  156. package/build/artifacts/contracts/core/StandardizedYield/implementations/Stader/PendleETHXSY.sol/PendleETHXSY.dbg.json +1 -1
  157. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleRswETHSY.sol/PendleRswETHSY.dbg.json +1 -1
  158. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.dbg.json +1 -1
  159. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.dbg.json +1 -1
  160. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.json +4 -4
  161. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol/ThenaLpHelper.dbg.json +1 -1
  162. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.dbg.json +1 -1
  163. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/IThenaSY.dbg.json +1 -1
  164. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.dbg.json +1 -1
  165. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.json +2 -2
  166. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  167. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  168. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  169. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  170. package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
  171. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
  172. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
  173. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
  174. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  175. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  176. package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.dbg.json +1 -1
  177. package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.dbg.json +1 -1
  178. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  179. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  180. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  181. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  182. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  183. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  184. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  185. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  186. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  187. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  188. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  189. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  190. package/build/artifacts/contracts/interfaces/AaveV3/IAaveV3AToken.sol/IAaveV3AToken.dbg.json +1 -1
  191. package/build/artifacts/contracts/interfaces/AaveV3/IAaveV3Pool.sol/IAaveV3Pool.dbg.json +1 -1
  192. package/build/artifacts/contracts/interfaces/Ankr/IAnkrBNB.sol/IAnkrBNB.dbg.json +1 -1
  193. package/build/artifacts/contracts/interfaces/Ankr/IAnkrLiquidStaking.sol/IAnkrLiquidStaking.dbg.json +1 -1
  194. package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +1 -1
  195. package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +1 -1
  196. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
  197. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
  198. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
  199. package/build/artifacts/contracts/interfaces/Balancer/IERC4626LinearPool.sol/IERC4626LinearPool.dbg.json +1 -1
  200. package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +1 -1
  201. package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +1 -1
  202. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
  203. package/build/artifacts/contracts/interfaces/Balancer/IPComposableStablePreview.sol/IPComposableStablePreview.dbg.json +1 -1
  204. package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +1 -1
  205. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
  206. package/build/artifacts/contracts/interfaces/Balancer/IVersion.sol/IVersion.dbg.json +1 -1
  207. package/build/artifacts/contracts/interfaces/Bedrock/IBedrockStaking.sol/IBedrockStaking.dbg.json +4 -0
  208. package/build/artifacts/contracts/interfaces/Bedrock/IBedrockStaking.sol/IBedrockStaking.json +61 -0
  209. package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.dbg.json +1 -1
  210. package/build/artifacts/contracts/interfaces/Camelot/ICamelotFactory.sol/ICamelotFactory.dbg.json +1 -1
  211. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTFactory.sol/ICamelotNFTFactory.dbg.json +1 -1
  212. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTHandler.sol/ICamelotNFTHandler.dbg.json +1 -1
  213. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
  214. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +1 -1
  215. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.dbg.json +1 -1
  216. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +1 -1
  217. package/build/artifacts/contracts/interfaces/Camelot/ICamelotRouter.sol/ICamelotRouter.dbg.json +1 -1
  218. package/build/artifacts/contracts/interfaces/Camelot/ICamelotYieldBooster.sol/ICamelotYieldBooster.dbg.json +1 -1
  219. package/build/artifacts/contracts/interfaces/Camelot/IXGrail.sol/IXGrail.dbg.json +1 -1
  220. package/build/artifacts/contracts/interfaces/Connext/IConnext.sol/IConnext.dbg.json +4 -0
  221. package/build/artifacts/contracts/interfaces/Connext/IConnext.sol/IConnext.json +45 -0
  222. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  223. package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
  224. package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +1 -1
  225. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
  226. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  227. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
  228. package/build/artifacts/contracts/interfaces/EtherFi/IEtherFiLiquidityPool.sol/IEtherFiLiquidityPool.dbg.json +1 -1
  229. package/build/artifacts/contracts/interfaces/EtherFi/IEtherFiWEEth.sol/IEtherFiWEEth.dbg.json +1 -1
  230. package/build/artifacts/contracts/interfaces/Flux/IFluxErc20.sol/IFluxErc20.dbg.json +1 -1
  231. package/build/artifacts/contracts/interfaces/Flux/IFluxInterestRateModel.sol/IFluxInterestRateModel.dbg.json +1 -1
  232. package/build/artifacts/contracts/interfaces/Frax/IFrxEthMinter.sol/IFrxEthMinter.dbg.json +1 -1
  233. package/build/artifacts/contracts/interfaces/GMX/IGMXPriceHelper.sol/IGMXPriceHelper.dbg.json +1 -1
  234. package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +1 -1
  235. package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +1 -1
  236. package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +1 -1
  237. package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +1 -1
  238. package/build/artifacts/contracts/interfaces/HMX/IHLPStaking.sol/IHLPStaking.dbg.json +1 -1
  239. package/build/artifacts/contracts/interfaces/HMX/IHMXCalculator.sol/IHMXCalculator.dbg.json +1 -1
  240. package/build/artifacts/contracts/interfaces/HMX/IHMXCompounder.sol/IHMXCompounder.dbg.json +1 -1
  241. package/build/artifacts/contracts/interfaces/HMX/IHMXStaking.sol/IHMXStaking.dbg.json +1 -1
  242. package/build/artifacts/contracts/interfaces/HMX/IHMXVester.sol/IHMXVester.dbg.json +1 -1
  243. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  244. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
  245. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  246. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  247. package/build/artifacts/contracts/interfaces/IDailLikePermit.sol/IDaiLikePermit.dbg.json +1 -1
  248. package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +1 -1
  249. package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +1 -1
  250. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  251. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  252. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  253. package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
  254. package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
  255. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  256. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  257. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  258. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  259. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  260. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  261. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  262. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  263. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  264. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  265. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  266. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  267. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  268. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
  269. package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +1 -1
  270. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  271. package/build/artifacts/contracts/interfaces/IPExternalRewardDistributor.sol/IPExternalRewardDistributor.dbg.json +1 -1
  272. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  273. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  274. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  275. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  276. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  277. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  278. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  279. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  280. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  281. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  282. package/build/artifacts/contracts/interfaces/IPLinearDistributor.sol/IPLinearDistributor.dbg.json +1 -1
  283. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  284. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  285. package/build/artifacts/contracts/interfaces/IPMarketFactoryV2.sol/IPMarketFactoryV2.dbg.json +1 -1
  286. package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +1 -1
  287. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  288. package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +1 -1
  289. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  290. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  291. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  292. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  293. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  294. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  295. package/build/artifacts/contracts/interfaces/IPPreviewHelper.sol/IPPreviewHelper.dbg.json +4 -0
  296. package/build/artifacts/contracts/interfaces/{IPendlePreviewHelper.sol/IPendlePreviewHelper.json → IPPreviewHelper.sol/IPPreviewHelper.json} +2 -2
  297. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  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/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  303. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  304. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  305. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  306. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  307. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  308. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  309. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  310. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  311. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +4 -0
  312. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.json +148 -0
  313. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  314. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  315. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  316. package/build/artifacts/contracts/interfaces/IStargateLP.sol/IStargateLP.dbg.json +1 -1
  317. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
  318. package/build/artifacts/contracts/interfaces/IStargateStaking.sol/IStargateStaking.dbg.json +1 -1
  319. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  320. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  321. package/build/artifacts/contracts/interfaces/KelpDAO/IKelpDepositPool.sol/IKelpDepositPool.dbg.json +1 -1
  322. package/build/artifacts/contracts/interfaces/KelpDAO/IKelpLRTConfig.sol/IKelpLRTConfig.dbg.json +1 -1
  323. package/build/artifacts/contracts/interfaces/Kyber/IKyberElasticFactory.sol/IKyberElasticFactory.dbg.json +1 -1
  324. package/build/artifacts/contracts/interfaces/Kyber/IKyberElasticPool.sol/IKyberElasticPool.dbg.json +1 -1
  325. package/build/artifacts/contracts/interfaces/Kyber/IKyberElasticRouter.sol/IKyberElasticRouter.dbg.json +1 -1
  326. package/build/artifacts/contracts/interfaces/Kyber/IKyberLiquidityMining.sol/IKyberLiquidityMining.dbg.json +1 -1
  327. package/build/artifacts/contracts/interfaces/Kyber/IKyberMathHelper.sol/IKyberMathHelper.dbg.json +1 -1
  328. package/build/artifacts/contracts/interfaces/Kyber/IKyberPositionManager.sol/IKyberPositionManager.dbg.json +1 -1
  329. package/build/artifacts/contracts/interfaces/Lybra/IEUSD.sol/IEUSD.dbg.json +1 -1
  330. package/build/artifacts/contracts/interfaces/MUX/IMUXRewardRouter.sol/IMUXRewardRouter.dbg.json +1 -1
  331. package/build/artifacts/contracts/interfaces/Renzo/IRenzoDepositL2.sol/IRenzoDepositL2.dbg.json +4 -0
  332. package/build/artifacts/contracts/interfaces/Renzo/IRenzoDepositL2.sol/IRenzoDepositL2.json +105 -0
  333. package/build/artifacts/contracts/interfaces/Renzo/IRenzoOracle.sol/IRenzoOracle.dbg.json +1 -1
  334. package/build/artifacts/contracts/interfaces/Renzo/IRenzoRestakeManager.sol/IRenzoRestakeManager.dbg.json +1 -1
  335. package/build/artifacts/contracts/interfaces/Silo/ISilo.sol/ISilo.dbg.json +1 -1
  336. package/build/artifacts/contracts/interfaces/Silo/ISiloIncentiveController.sol/ISiloIncentiveController.dbg.json +1 -1
  337. package/build/artifacts/contracts/interfaces/Silo/ISiloLens.sol/ISiloLens.dbg.json +1 -1
  338. package/build/artifacts/contracts/interfaces/Stader/IStaderStakeManager.sol/IStaderStakeManager.dbg.json +1 -1
  339. package/build/artifacts/contracts/interfaces/Swell/IRswETH.sol/IRswETH.dbg.json +1 -1
  340. package/build/artifacts/contracts/interfaces/Swell/ISwETH.sol/ISwETH.dbg.json +1 -1
  341. package/build/artifacts/contracts/interfaces/Thena/IThenaFactory.sol/IThenaFactory.dbg.json +1 -1
  342. package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.dbg.json +1 -1
  343. package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.dbg.json +1 -1
  344. package/build/artifacts/contracts/interfaces/Thena/IThenaRouter.sol/IThenaRouter.dbg.json +1 -1
  345. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  346. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  347. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  348. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  349. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  350. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  351. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  352. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  353. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  354. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  355. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  356. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  357. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  358. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  359. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +1 -1
  360. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
  361. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  362. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  363. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  364. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  365. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  366. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  367. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  368. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.json +12 -2
  369. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  370. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  371. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  372. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  373. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  374. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  375. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  376. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  377. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  378. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
  379. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
  380. package/build/artifacts/contracts/oracles/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  381. package/build/artifacts/contracts/oracles/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json +15 -2
  382. package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +1 -1
  383. package/build/artifacts/contracts/oracles/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  384. package/build/artifacts/contracts/oracles/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  385. package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.dbg.json +1 -1
  386. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  387. package/build/artifacts/contracts/router/PendleRouterHelper.sol/RouterV2InterfaceForRouterHelper.dbg.json +1 -1
  388. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  389. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  390. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  391. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  392. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  393. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapBase.dbg.json +1 -1
  394. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL1.dbg.json +1 -1
  395. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL1.json +2 -2
  396. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL2.dbg.json +1 -1
  397. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL2.json +2 -2
  398. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  399. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutorOptimistic.sol/IAggregationExecutorOptimistic.dbg.json +1 -1
  400. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
  401. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol/IExecutorHelper.json +240 -0
  402. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol/IExecutorHelperL2.dbg.json +1 -1
  403. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol/IExecutorHelperL2.json +108 -0
  404. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  405. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol/InputScalingHelper.dbg.json +1 -1
  406. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol/InputScalingHelper.json +2 -2
  407. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
  408. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol/ScalingDataLib.json +2 -2
  409. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/BytesHelper.sol/BytesHelper.dbg.json +1 -1
  410. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol/CalldataReader.dbg.json +1 -1
  411. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol/CalldataWriter.dbg.json +1 -1
  412. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol/CalldataWriter.json +2 -2
  413. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol/Common.dbg.json +1 -1
  414. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol/DexScaler.dbg.json +1 -1
  415. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol/DexScaler.json +2 -2
  416. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol/ExecutorReader.dbg.json +1 -1
  417. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.dbg.json +1 -1
  418. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.json +2 -2
  419. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol/ScalingDataL2Lib.dbg.json +1 -1
  420. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol/ScalingDataL2Lib.json +2 -2
  421. package/build/artifacts/contracts/router/swap-aggregator/oneinch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +1 -1
  422. package/build/artifacts/contracts/router/swap-aggregator/oneinch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
  423. package/contracts/core/Market/{PendleMarket.sol → v1/PendleMarket.sol} +6 -6
  424. package/contracts/core/Market/{PendleMarketFactory.sol → v1/PendleMarketFactory.sol} +6 -6
  425. package/contracts/core/Market/{PendleExternalRewardDistributor.sol → v2/PendleExternalRewardDistributor.sol} +7 -7
  426. package/contracts/core/StandardizedYield/SYBaseUpg.sol +1 -0
  427. package/contracts/core/StandardizedYield/StEthNativeLib.sol +15 -0
  428. package/contracts/core/StandardizedYield/implementations/BedRock/PendleUniETHSY.sol +86 -0
  429. package/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol +59 -1
  430. package/contracts/core/StandardizedYield/implementations/KelpDAO/PendleRsETHSY.sol +1 -1
  431. package/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol +1 -1
  432. package/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSY.sol +85 -0
  433. package/contracts/core/StandardizedYield/implementations/Puffer/PendlePufStETHSY.sol +90 -0
  434. package/contracts/core/StandardizedYield/implementations/Puffer/PendlePufWETHSY.sol +86 -0
  435. package/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHL2SY.sol +110 -0
  436. package/contracts/core/StandardizedYield/implementations/Renzo/PendleRenzoPreviewHelper.sol +69 -0
  437. package/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol +3 -3
  438. package/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol +2 -2
  439. package/contracts/interfaces/Bedrock/IBedrockStaking.sol +10 -0
  440. package/contracts/interfaces/Connext/IConnext.sol +12 -0
  441. package/contracts/interfaces/{IPendlePreviewHelper.sol → IPPreviewHelper.sol} +1 -1
  442. package/contracts/interfaces/IRedstonePriceFeed.sol +15 -0
  443. package/contracts/interfaces/Renzo/IRenzoDepositL2.sol +16 -0
  444. package/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol +2 -0
  445. package/contracts/oracles/PendleRedStoneRateOracleAdapter.sol +5 -3
  446. package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol +62 -0
  447. package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol +27 -0
  448. package/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol +20 -0
  449. package/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol +74 -0
  450. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol +14 -0
  451. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol +12 -3
  452. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol +8 -0
  453. package/deployments/1-core.json +1 -1
  454. package/deployments/1-markets/PUFETH-JUNE2024.json +11 -0
  455. package/deployments/1-markets/SUSDE-APR2024.json +11 -0
  456. package/deployments/1-markets/UNIETH-JUNE2024.json +11 -0
  457. package/deployments/1-markets/USDE-APR2024-NEW.json +11 -0
  458. package/deployments/10-core.json +1 -1
  459. package/deployments/42161-core.json +1 -1
  460. package/deployments/42161-markets/EZETH-JUNE2024.json +11 -0
  461. package/deployments/42161-markets/SILO-PTEETH-ETH-DEC2024.json +11 -0
  462. package/deployments/56-core.json +1 -1
  463. package/deployments/merkle-distribution/2024-02-29.json +12125 -0
  464. package/package.json +1 -1
  465. package/typechain-types/ActionInfoStaticLe1.ts +310 -0
  466. package/typechain-types/ActionMarketAuxStaticLe1.ts +503 -0
  467. package/typechain-types/ActionMarketCoreStaticLe1.ts +1951 -0
  468. package/typechain-types/ActionMintRedeemStaticLe1.ts +527 -0
  469. package/typechain-types/ActionStorageStaticLe1.ts +405 -0
  470. package/typechain-types/{IEigenpieStaking.ts → ActionVePendleStaticLe1.ts} +36 -43
  471. package/typechain-types/{IPMorphoVaultSY.ts → IConnext.ts} +41 -38
  472. package/typechain-types/IExecutorHelper.ts +390 -0
  473. package/typechain-types/IExecutorHelperL2.ts +130 -0
  474. package/typechain-types/ILimitOrderCallee.ts +179 -0
  475. package/typechain-types/IPActionInfoStaticLe1.ts +310 -0
  476. package/typechain-types/IPActionMarketAuxStaticLe1.ts +503 -0
  477. package/typechain-types/IPActionMarketCoreStaticLe1.ts +1951 -0
  478. package/typechain-types/IPActionMintRedeemStaticLe1.ts +527 -0
  479. package/typechain-types/{ChainlinkRelayerAutomation.ts → IPActionStorageStaticLe1.ts} +125 -102
  480. package/typechain-types/IPActionVePendleStaticLe1.ts +113 -0
  481. package/typechain-types/{AutomationCompatible.ts → IPMiniDiamondLe1.ts} +48 -41
  482. package/typechain-types/IPOrderMixin.ts +349 -0
  483. package/typechain-types/IPPreviewHelper.ts +147 -0
  484. package/typechain-types/IPRouterStaticLe1.ts +3462 -0
  485. package/typechain-types/IRenzoDepositL2.ts +191 -0
  486. package/typechain-types/{PendleStUSDESY.ts → PendleERC4626SYUpg.ts} +5 -5
  487. package/typechain-types/{PendleEigenpieMstETHSY.ts → PendleEzETHL2SY.ts} +138 -64
  488. package/typechain-types/PendleOrderMixin.ts +888 -0
  489. package/typechain-types/{PendleMorphoVaultSY.ts → PendlePufStETHSY.ts} +56 -68
  490. package/typechain-types/{PendleApxETHSY.ts → PendlePufWETHSY.ts} +64 -58
  491. package/typechain-types/PendleRedStoneRateOracleAdapter.ts +19 -0
  492. package/typechain-types/{AlgebraMathHelper.ts → PendleRenzoPreviewHelper.ts} +156 -71
  493. package/typechain-types/{LongYieldActionLib.ts → PendleRouterStaticLe1.ts} +5 -5
  494. package/typechain-types/PendleSUSDESY.ts +62 -0
  495. package/typechain-types/factories/ActionInfoStaticLe1__factory.ts +360 -0
  496. package/typechain-types/factories/ActionMarketAuxStaticLe1__factory.ts +466 -0
  497. package/typechain-types/factories/ActionMarketCoreStaticLe1__factory.ts +1454 -0
  498. package/typechain-types/factories/ActionMintRedeemStaticLe1__factory.ts +405 -0
  499. package/typechain-types/factories/ActionStorageStaticLe1__factory.ts +285 -0
  500. package/typechain-types/factories/ActionVePendleStaticLe1__factory.ts +155 -0
  501. package/typechain-types/factories/AuraWethVethSYUpg__factory.ts +1 -1
  502. package/typechain-types/factories/ChainlinkRelayerGelato__factory.ts +1 -1
  503. package/typechain-types/factories/IConnext__factory.ts +57 -0
  504. package/typechain-types/factories/IExecutorHelperL2__factory.ts +108 -0
  505. package/typechain-types/factories/IExecutorHelper__factory.ts +240 -0
  506. package/typechain-types/factories/ILimitOrderCallee__factory.ts +92 -0
  507. package/typechain-types/factories/IPActionInfoStaticLe1__factory.ts +326 -0
  508. package/typechain-types/factories/IPActionMarketAuxStaticLe1__factory.ts +364 -0
  509. package/typechain-types/factories/IPActionMarketCoreStaticLe1__factory.ts +1279 -0
  510. package/typechain-types/factories/IPActionMintRedeemStaticLe1__factory.ts +330 -0
  511. package/typechain-types/factories/IPActionStorageStaticLe1__factory.ts +203 -0
  512. package/typechain-types/factories/IPActionVePendleStaticLe1__factory.ts +59 -0
  513. package/typechain-types/factories/IPMiniDiamondLe1__factory.ts +70 -0
  514. package/typechain-types/factories/IPOrderMixin__factory.ts +450 -0
  515. package/typechain-types/factories/{IStellaLendingProxy__factory.ts → IPPreviewHelper__factory.ts} +18 -18
  516. package/typechain-types/factories/IPRouterStaticLe1__factory.ts +2451 -0
  517. package/typechain-types/factories/{IPirexETH__factory.ts → IRenzoDepositL2__factory.ts} +45 -51
  518. package/typechain-types/factories/PendleAuraWethVethSY__factory.ts +1 -1
  519. package/typechain-types/factories/PendleERC4626SYUpg__factory.ts +1058 -0
  520. package/typechain-types/factories/PendleERC4626SY__factory.ts +1 -1
  521. package/typechain-types/factories/PendleExternalRewardDistributor__factory.ts +1 -1
  522. package/typechain-types/factories/PendleEzETHL2SY__factory.ts +1191 -0
  523. package/typechain-types/factories/PendleKyberElasticSYUpg__factory.ts +1 -1
  524. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  525. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  526. package/typechain-types/factories/PendleOrderMixin__factory.ts +794 -0
  527. package/typechain-types/factories/PendlePufStETHSY__factory.ts +1069 -0
  528. package/typechain-types/factories/PendlePufWETHSY__factory.ts +1069 -0
  529. package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +14 -1
  530. package/typechain-types/factories/PendleRenzoPreviewHelper__factory.ts +431 -0
  531. package/typechain-types/factories/PendleRouterStaticLe1__factory.ts +92 -0
  532. package/typechain-types/factories/PendleRsETHSY__factory.ts +1 -1
  533. package/typechain-types/factories/PendleSUSDESY__factory.ts +81 -4
  534. package/typechain-types/factories/PendleSwapL1__factory.ts +1 -1
  535. package/typechain-types/factories/PendleSwapL2__factory.ts +1 -1
  536. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  537. package/typechain-types/factories/PendleThenaSY__factory.ts +3 -3
  538. package/typechain-types/factories/PtAndLpToAsset__factory.ts +1 -1
  539. package/typechain-types/factories/SDKErrorsDirectory__factory.ts +11 -1
  540. package/typechain-types/factories/ThenaPreview__factory.ts +1 -1
  541. package/typechain-types/hardhat.d.ts +108 -63
  542. package/typechain-types/index.ts +26 -14
  543. package/build/artifacts/contracts/core/Market/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.dbg.json +0 -4
  544. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +0 -4
  545. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +0 -4
  546. package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.dbg.json +0 -4
  547. package/deployments/core.ts +0 -29
  548. package/deployments/index.ts +0 -4
  549. package/deployments/markets/ape-june-29-2023.ts +0 -3
  550. package/deployments/markets/balancer-reth-dec-28-2023.ts +0 -3
  551. package/deployments/markets/balancer-wsteth-jun-27-2024.ts +0 -3
  552. package/deployments/markets/curve-fraxusdc-march-30-2023.ts +0 -3
  553. package/deployments/markets/index.ts +0 -17
  554. package/deployments/markets/looks-march-30-2023.ts +0 -3
  555. package/deployments/markets/steth-june-29-2023.ts +0 -3
  556. package/deployments/markets/steth-march-30-2023.ts +0 -3
  557. package/deployments/markets/types.ts +0 -9
  558. package/deployments/misc.ts +0 -23
  559. package/typechain-types/AutomationBase.ts +0 -57
  560. package/typechain-types/AutomationCompatibleInterface.ts +0 -141
  561. package/typechain-types/BotDecisionHelperBase.ts +0 -508
  562. package/typechain-types/IAlgebraPool.ts +0 -171
  563. package/typechain-types/IBotDecisionHelper.ts +0 -476
  564. package/typechain-types/IEigenpieLRT.ts +0 -106
  565. package/typechain-types/IHashflow.ts +0 -159
  566. package/typechain-types/IInterestUSTP.ts +0 -156
  567. package/typechain-types/ILongYieldDecisionHelper.ts +0 -512
  568. package/typechain-types/ILongYieldTradingBot.ts +0 -703
  569. package/typechain-types/IPMorphoRewardDistributor.ts +0 -218
  570. package/typechain-types/IPPausingInterface.ts +0 -112
  571. package/typechain-types/IPVirtualGovernance.ts +0 -142
  572. package/typechain-types/IPWrappedStellaToken.ts +0 -135
  573. package/typechain-types/IPirexETH.ts +0 -202
  574. package/typechain-types/IRebasingUSTP.ts +0 -133
  575. package/typechain-types/IShortYieldDecisionHelper.ts +0 -476
  576. package/typechain-types/IShortYieldTradingBot.ts +0 -574
  577. package/typechain-types/IStellaLendingPool.ts +0 -100
  578. package/typechain-types/IStellaLendingProxy.ts +0 -144
  579. package/typechain-types/ITradingBotBase.ts +0 -373
  580. package/typechain-types/IUSTP.ts +0 -127
  581. package/typechain-types/IVectorStakedVETH.ts +0 -137
  582. package/typechain-types/KyberNftManagerBase.ts +0 -364
  583. package/typechain-types/LongYieldDecisionHelper.ts +0 -682
  584. package/typechain-types/LongYieldTradingBot.ts +0 -2299
  585. package/typechain-types/MarketExtLib.ts +0 -81
  586. package/typechain-types/PendleEigenpieLRTSY.ts +0 -1326
  587. package/typechain-types/PendleGaugeControllerSidechain2MF.ts +0 -690
  588. package/typechain-types/PendleHyperStellaETH.ts +0 -1248
  589. package/typechain-types/PendleIUSTPSY.ts +0 -1255
  590. package/typechain-types/PendleKyberElasticSY.ts +0 -1803
  591. package/typechain-types/PendleMorphoRewardDistributor.ts +0 -579
  592. package/typechain-types/PendleStellaHyperETH.ts +0 -1235
  593. package/typechain-types/PendleVectorStakedVETHSY.ts +0 -1290
  594. package/typechain-types/PendleVirtualGovernance.ts +0 -603
  595. package/typechain-types/PendleWrappedStellaToken.ts +0 -577
  596. package/typechain-types/SYBaseWithDecimals.ts +0 -1205
  597. package/typechain-types/TradingBotBase.ts +0 -1861
  598. package/typechain-types/TvlLib.ts +0 -215
  599. package/typechain-types/factories/AlgebraMathHelper__factory.ts +0 -316
  600. package/typechain-types/factories/AutomationBase__factory.ts +0 -69
  601. package/typechain-types/factories/AutomationCompatibleInterface__factory.ts +0 -67
  602. package/typechain-types/factories/AutomationCompatible__factory.ts +0 -72
  603. package/typechain-types/factories/BotDecisionHelperBase__factory.ts +0 -835
  604. package/typechain-types/factories/ChainlinkRelayerAutomation__factory.ts +0 -238
  605. package/typechain-types/factories/IAlgebraPool__factory.ts +0 -119
  606. package/typechain-types/factories/IBotDecisionHelper__factory.ts +0 -694
  607. package/typechain-types/factories/IEigenpieLRT__factory.ts +0 -49
  608. package/typechain-types/factories/IEigenpieStaking__factory.ts +0 -54
  609. package/typechain-types/factories/IHashflow__factory.ts +0 -113
  610. package/typechain-types/factories/IInterestUSTP__factory.ts +0 -75
  611. package/typechain-types/factories/ILongYieldDecisionHelper__factory.ts +0 -717
  612. package/typechain-types/factories/ILongYieldTradingBot__factory.ts +0 -764
  613. package/typechain-types/factories/IPMorphoRewardDistributor__factory.ts +0 -159
  614. package/typechain-types/factories/IPMorphoVaultSY__factory.ts +0 -49
  615. package/typechain-types/factories/IPPausingInterface__factory.ts +0 -40
  616. package/typechain-types/factories/IPVirtualGovernance__factory.ts +0 -69
  617. package/typechain-types/factories/IPWrappedStellaToken__factory.ts +0 -73
  618. package/typechain-types/factories/IRebasingUSTP__factory.ts +0 -49
  619. package/typechain-types/factories/IShortYieldDecisionHelper__factory.ts +0 -698
  620. package/typechain-types/factories/IShortYieldTradingBot__factory.ts +0 -813
  621. package/typechain-types/factories/IStellaLendingPool__factory.ts +0 -52
  622. package/typechain-types/factories/ITradingBotBase__factory.ts +0 -366
  623. package/typechain-types/factories/IUSTP__factory.ts +0 -46
  624. package/typechain-types/factories/IVectorStakedVETH__factory.ts +0 -65
  625. package/typechain-types/factories/KyberNftManagerBase__factory.ts +0 -279
  626. package/typechain-types/factories/LongYieldActionLib__factory.ts +0 -207
  627. package/typechain-types/factories/LongYieldDecisionHelper__factory.ts +0 -1481
  628. package/typechain-types/factories/LongYieldTradingBot__factory.ts +0 -2159
  629. package/typechain-types/factories/MarketExtLib__factory.ts +0 -74
  630. package/typechain-types/factories/PendleApxETHSY__factory.ts +0 -1110
  631. package/typechain-types/factories/PendleEigenpieLRTSY__factory.ts +0 -1059
  632. package/typechain-types/factories/PendleEigenpieMstETHSY__factory.ts +0 -1125
  633. package/typechain-types/factories/PendleGaugeControllerSidechain2MF__factory.ts +0 -547
  634. package/typechain-types/factories/PendleHyperStellaETH__factory.ts +0 -1060
  635. package/typechain-types/factories/PendleIUSTPSY__factory.ts +0 -1061
  636. package/typechain-types/factories/PendleKyberElasticSY__factory.ts +0 -1505
  637. package/typechain-types/factories/PendleMorphoRewardDistributor__factory.ts +0 -441
  638. package/typechain-types/factories/PendleMorphoVaultSY__factory.ts +0 -1140
  639. package/typechain-types/factories/PendleStUSDESY__factory.ts +0 -1071
  640. package/typechain-types/factories/PendleStellaHyperETH__factory.ts +0 -1034
  641. package/typechain-types/factories/PendleVectorStakedVETHSY__factory.ts +0 -1091
  642. package/typechain-types/factories/PendleVirtualGovernance__factory.ts +0 -452
  643. package/typechain-types/factories/PendleWrappedStellaToken__factory.ts +0 -522
  644. package/typechain-types/factories/SYBaseWithDecimals__factory.ts +0 -942
  645. package/typechain-types/factories/TradingBotBase__factory.ts +0 -1663
  646. package/typechain-types/factories/TvlLib__factory.ts +0 -309
@@ -1,2159 +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: "netYtIn",
142
- type: "uint256",
143
- },
144
- {
145
- indexed: false,
146
- internalType: "uint256",
147
- name: "netLpOut",
148
- type: "uint256",
149
- },
150
- ],
151
- name: "AddLiqFromYt",
152
- type: "event",
153
- },
154
- {
155
- anonymous: false,
156
- inputs: [
157
- {
158
- indexed: false,
159
- internalType: "uint256",
160
- name: "netSyIn",
161
- type: "uint256",
162
- },
163
- {
164
- indexed: false,
165
- internalType: "uint256",
166
- name: "netLpOut",
167
- type: "uint256",
168
- },
169
- {
170
- indexed: false,
171
- internalType: "uint256",
172
- name: "netYtOut",
173
- type: "uint256",
174
- },
175
- ],
176
- name: "AddLiqKeepYt",
177
- type: "event",
178
- },
179
- {
180
- anonymous: false,
181
- inputs: [
182
- {
183
- indexed: true,
184
- internalType: "address",
185
- name: "owner",
186
- type: "address",
187
- },
188
- {
189
- indexed: true,
190
- internalType: "address",
191
- name: "spender",
192
- type: "address",
193
- },
194
- {
195
- indexed: false,
196
- internalType: "uint256",
197
- name: "value",
198
- type: "uint256",
199
- },
200
- ],
201
- name: "Approval",
202
- type: "event",
203
- },
204
- {
205
- anonymous: false,
206
- inputs: [
207
- {
208
- indexed: false,
209
- internalType: "uint256",
210
- name: "netSyOut",
211
- type: "uint256",
212
- },
213
- ],
214
- name: "ClaimAndCompound",
215
- type: "event",
216
- },
217
- {
218
- anonymous: false,
219
- inputs: [
220
- {
221
- indexed: true,
222
- internalType: "address",
223
- name: "user",
224
- type: "address",
225
- },
226
- {
227
- indexed: false,
228
- internalType: "address[]",
229
- name: "rewardTokens",
230
- type: "address[]",
231
- },
232
- {
233
- indexed: false,
234
- internalType: "uint256[]",
235
- name: "rewardAmounts",
236
- type: "uint256[]",
237
- },
238
- ],
239
- name: "ClaimRewards",
240
- type: "event",
241
- },
242
- {
243
- anonymous: false,
244
- inputs: [
245
- {
246
- indexed: true,
247
- internalType: "address",
248
- name: "caller",
249
- type: "address",
250
- },
251
- {
252
- indexed: true,
253
- internalType: "address",
254
- name: "receiver",
255
- type: "address",
256
- },
257
- {
258
- indexed: true,
259
- internalType: "address",
260
- name: "tokenIn",
261
- type: "address",
262
- },
263
- {
264
- indexed: false,
265
- internalType: "uint256",
266
- name: "amountDeposited",
267
- type: "uint256",
268
- },
269
- {
270
- indexed: false,
271
- internalType: "uint256",
272
- name: "amountSyOut",
273
- type: "uint256",
274
- },
275
- ],
276
- name: "Deposit",
277
- type: "event",
278
- },
279
- {
280
- anonymous: false,
281
- inputs: [
282
- {
283
- indexed: false,
284
- internalType: "uint256",
285
- name: "netSyIn",
286
- type: "uint256",
287
- },
288
- ],
289
- name: "DepositSy",
290
- type: "event",
291
- },
292
- {
293
- anonymous: false,
294
- inputs: [
295
- {
296
- indexed: true,
297
- internalType: "address",
298
- name: "token",
299
- type: "address",
300
- },
301
- {
302
- indexed: false,
303
- internalType: "uint256",
304
- name: "netTokenIn",
305
- type: "uint256",
306
- },
307
- ],
308
- name: "DepositToken",
309
- type: "event",
310
- },
311
- {
312
- anonymous: false,
313
- inputs: [
314
- {
315
- indexed: false,
316
- internalType: "uint8",
317
- name: "version",
318
- type: "uint8",
319
- },
320
- ],
321
- name: "Initialized",
322
- type: "event",
323
- },
324
- {
325
- anonymous: false,
326
- inputs: [
327
- {
328
- indexed: true,
329
- internalType: "address",
330
- name: "previousOwner",
331
- type: "address",
332
- },
333
- {
334
- indexed: true,
335
- internalType: "address",
336
- name: "newOwner",
337
- type: "address",
338
- },
339
- ],
340
- name: "OwnershipTransferred",
341
- type: "event",
342
- },
343
- {
344
- anonymous: false,
345
- inputs: [
346
- {
347
- indexed: false,
348
- internalType: "address",
349
- name: "account",
350
- type: "address",
351
- },
352
- ],
353
- name: "Paused",
354
- type: "event",
355
- },
356
- {
357
- anonymous: false,
358
- inputs: [
359
- {
360
- indexed: true,
361
- internalType: "address",
362
- name: "caller",
363
- type: "address",
364
- },
365
- {
366
- indexed: true,
367
- internalType: "address",
368
- name: "receiver",
369
- type: "address",
370
- },
371
- {
372
- indexed: true,
373
- internalType: "address",
374
- name: "tokenOut",
375
- type: "address",
376
- },
377
- {
378
- indexed: false,
379
- internalType: "uint256",
380
- name: "amountSyToRedeem",
381
- type: "uint256",
382
- },
383
- {
384
- indexed: false,
385
- internalType: "uint256",
386
- name: "amountTokenOut",
387
- type: "uint256",
388
- },
389
- ],
390
- name: "Redeem",
391
- type: "event",
392
- },
393
- {
394
- anonymous: false,
395
- inputs: [
396
- {
397
- components: [
398
- {
399
- internalType: "uint256",
400
- name: "guessMin",
401
- type: "uint256",
402
- },
403
- {
404
- internalType: "uint256",
405
- name: "guessMax",
406
- type: "uint256",
407
- },
408
- {
409
- internalType: "uint256",
410
- name: "guessOffchain",
411
- type: "uint256",
412
- },
413
- {
414
- internalType: "uint256",
415
- name: "maxIteration",
416
- type: "uint256",
417
- },
418
- {
419
- internalType: "uint256",
420
- name: "eps",
421
- type: "uint256",
422
- },
423
- ],
424
- indexed: false,
425
- internalType: "struct ApproxParams",
426
- name: "botParams",
427
- type: "tuple",
428
- },
429
- {
430
- indexed: false,
431
- internalType: "uint256",
432
- name: "netLpIn",
433
- type: "uint256",
434
- },
435
- {
436
- indexed: false,
437
- internalType: "uint256",
438
- name: "netYtOut",
439
- type: "uint256",
440
- },
441
- ],
442
- name: "RemoveLiqToYt",
443
- type: "event",
444
- },
445
- {
446
- anonymous: false,
447
- inputs: [
448
- {
449
- indexed: true,
450
- internalType: "address",
451
- name: "from",
452
- type: "address",
453
- },
454
- {
455
- indexed: true,
456
- internalType: "address",
457
- name: "to",
458
- type: "address",
459
- },
460
- {
461
- indexed: false,
462
- internalType: "uint256",
463
- name: "value",
464
- type: "uint256",
465
- },
466
- ],
467
- name: "Transfer",
468
- type: "event",
469
- },
470
- {
471
- anonymous: false,
472
- inputs: [
473
- {
474
- indexed: false,
475
- internalType: "address",
476
- name: "account",
477
- type: "address",
478
- },
479
- ],
480
- name: "Unpaused",
481
- type: "event",
482
- },
483
- {
484
- anonymous: false,
485
- inputs: [
486
- {
487
- indexed: true,
488
- internalType: "address",
489
- name: "token",
490
- type: "address",
491
- },
492
- {
493
- indexed: false,
494
- internalType: "uint256",
495
- name: "amount",
496
- type: "uint256",
497
- },
498
- ],
499
- name: "WithdrawFunds",
500
- type: "event",
501
- },
502
- {
503
- inputs: [],
504
- name: "DOMAIN_SEPARATOR",
505
- outputs: [
506
- {
507
- internalType: "bytes32",
508
- name: "",
509
- type: "bytes32",
510
- },
511
- ],
512
- stateMutability: "view",
513
- type: "function",
514
- },
515
- {
516
- inputs: [],
517
- name: "PENDLE",
518
- outputs: [
519
- {
520
- internalType: "address",
521
- name: "",
522
- type: "address",
523
- },
524
- ],
525
- stateMutability: "view",
526
- type: "function",
527
- },
528
- {
529
- inputs: [],
530
- name: "PT",
531
- outputs: [
532
- {
533
- internalType: "address",
534
- name: "",
535
- type: "address",
536
- },
537
- ],
538
- stateMutability: "view",
539
- type: "function",
540
- },
541
- {
542
- inputs: [],
543
- name: "SY",
544
- outputs: [
545
- {
546
- internalType: "address",
547
- name: "",
548
- type: "address",
549
- },
550
- ],
551
- stateMutability: "view",
552
- type: "function",
553
- },
554
- {
555
- inputs: [],
556
- name: "YT",
557
- outputs: [
558
- {
559
- internalType: "address",
560
- name: "",
561
- type: "address",
562
- },
563
- ],
564
- stateMutability: "view",
565
- type: "function",
566
- },
567
- {
568
- inputs: [
569
- {
570
- internalType: "address",
571
- name: "user",
572
- type: "address",
573
- },
574
- ],
575
- name: "accruedRewards",
576
- outputs: [
577
- {
578
- internalType: "uint256[]",
579
- name: "rewardAmounts",
580
- type: "uint256[]",
581
- },
582
- ],
583
- stateMutability: "view",
584
- type: "function",
585
- },
586
- {
587
- inputs: [
588
- {
589
- components: [
590
- {
591
- components: [
592
- {
593
- internalType: "uint256",
594
- name: "guessMin",
595
- type: "uint256",
596
- },
597
- {
598
- internalType: "uint256",
599
- name: "guessMax",
600
- type: "uint256",
601
- },
602
- {
603
- internalType: "uint256",
604
- name: "guessOffchain",
605
- type: "uint256",
606
- },
607
- {
608
- internalType: "uint256",
609
- name: "maxIteration",
610
- type: "uint256",
611
- },
612
- {
613
- internalType: "uint256",
614
- name: "eps",
615
- type: "uint256",
616
- },
617
- ],
618
- internalType: "struct ApproxParams",
619
- name: "botParams",
620
- type: "tuple",
621
- },
622
- {
623
- internalType: "uint256",
624
- name: "minLpOut",
625
- type: "uint256",
626
- },
627
- {
628
- internalType: "uint256",
629
- name: "targetIy",
630
- type: "uint256",
631
- },
632
- {
633
- internalType: "int256",
634
- name: "currentBin",
635
- type: "int256",
636
- },
637
- ],
638
- internalType: "struct ILongYieldTradingBot.AddLiqFromYtInput",
639
- name: "inputParams",
640
- type: "tuple",
641
- },
642
- ],
643
- name: "addLiqFromYt",
644
- outputs: [
645
- {
646
- internalType: "uint256",
647
- name: "netPtFromSwap",
648
- type: "uint256",
649
- },
650
- {
651
- internalType: "uint256",
652
- name: "netLpOut",
653
- type: "uint256",
654
- },
655
- {
656
- internalType: "uint256",
657
- name: "netYtIn",
658
- type: "uint256",
659
- },
660
- ],
661
- stateMutability: "nonpayable",
662
- type: "function",
663
- },
664
- {
665
- inputs: [
666
- {
667
- internalType: "uint256",
668
- name: "netSyIn",
669
- type: "uint256",
670
- },
671
- {
672
- internalType: "uint256",
673
- name: "minLpOut",
674
- type: "uint256",
675
- },
676
- {
677
- internalType: "uint256",
678
- name: "minYtOut",
679
- type: "uint256",
680
- },
681
- ],
682
- name: "addLiqKeepYt",
683
- outputs: [
684
- {
685
- internalType: "uint256",
686
- name: "netLpOut",
687
- type: "uint256",
688
- },
689
- {
690
- internalType: "uint256",
691
- name: "netYtOut",
692
- type: "uint256",
693
- },
694
- ],
695
- stateMutability: "nonpayable",
696
- type: "function",
697
- },
698
- {
699
- inputs: [
700
- {
701
- internalType: "address",
702
- name: "owner",
703
- type: "address",
704
- },
705
- {
706
- internalType: "address",
707
- name: "spender",
708
- type: "address",
709
- },
710
- ],
711
- name: "allowance",
712
- outputs: [
713
- {
714
- internalType: "uint256",
715
- name: "",
716
- type: "uint256",
717
- },
718
- ],
719
- stateMutability: "view",
720
- type: "function",
721
- },
722
- {
723
- inputs: [
724
- {
725
- internalType: "address",
726
- name: "spender",
727
- type: "address",
728
- },
729
- {
730
- internalType: "uint256",
731
- name: "amount",
732
- type: "uint256",
733
- },
734
- ],
735
- name: "approve",
736
- outputs: [
737
- {
738
- internalType: "bool",
739
- name: "",
740
- type: "bool",
741
- },
742
- ],
743
- stateMutability: "nonpayable",
744
- type: "function",
745
- },
746
- {
747
- inputs: [
748
- {
749
- internalType: "address",
750
- name: "token",
751
- type: "address",
752
- },
753
- {
754
- internalType: "address",
755
- name: "to",
756
- type: "address",
757
- },
758
- ],
759
- name: "approveInf",
760
- outputs: [],
761
- stateMutability: "nonpayable",
762
- type: "function",
763
- },
764
- {
765
- inputs: [],
766
- name: "assetInfo",
767
- outputs: [
768
- {
769
- internalType: "enum IStandardizedYield.AssetType",
770
- name: "assetType",
771
- type: "uint8",
772
- },
773
- {
774
- internalType: "address",
775
- name: "assetAddress",
776
- type: "address",
777
- },
778
- {
779
- internalType: "uint8",
780
- name: "assetDecimals",
781
- type: "uint8",
782
- },
783
- ],
784
- stateMutability: "view",
785
- type: "function",
786
- },
787
- {
788
- inputs: [
789
- {
790
- internalType: "address",
791
- name: "account",
792
- type: "address",
793
- },
794
- ],
795
- name: "balanceOf",
796
- outputs: [
797
- {
798
- internalType: "uint256",
799
- name: "",
800
- type: "uint256",
801
- },
802
- ],
803
- stateMutability: "view",
804
- type: "function",
805
- },
806
- {
807
- inputs: [],
808
- name: "buyBins",
809
- outputs: [
810
- {
811
- internalType: "uint256",
812
- name: "",
813
- type: "uint256",
814
- },
815
- ],
816
- stateMutability: "view",
817
- type: "function",
818
- },
819
- {
820
- inputs: [],
821
- name: "claimOwnership",
822
- outputs: [],
823
- stateMutability: "nonpayable",
824
- type: "function",
825
- },
826
- {
827
- inputs: [
828
- {
829
- internalType: "address",
830
- name: "user",
831
- type: "address",
832
- },
833
- ],
834
- name: "claimRewards",
835
- outputs: [
836
- {
837
- internalType: "uint256[]",
838
- name: "rewardAmounts",
839
- type: "uint256[]",
840
- },
841
- ],
842
- stateMutability: "nonpayable",
843
- type: "function",
844
- },
845
- {
846
- inputs: [
847
- {
848
- components: [
849
- {
850
- internalType: "address",
851
- name: "tokenIn",
852
- type: "address",
853
- },
854
- {
855
- internalType: "uint256",
856
- name: "netTokenIn",
857
- type: "uint256",
858
- },
859
- {
860
- internalType: "address",
861
- name: "tokenMintSy",
862
- type: "address",
863
- },
864
- {
865
- internalType: "address",
866
- name: "bulk",
867
- type: "address",
868
- },
869
- {
870
- internalType: "address",
871
- name: "pendleSwap",
872
- type: "address",
873
- },
874
- {
875
- components: [
876
- {
877
- internalType: "enum SwapType",
878
- name: "swapType",
879
- type: "uint8",
880
- },
881
- {
882
- internalType: "address",
883
- name: "extRouter",
884
- type: "address",
885
- },
886
- {
887
- internalType: "bytes",
888
- name: "extCalldata",
889
- type: "bytes",
890
- },
891
- {
892
- internalType: "bool",
893
- name: "needScale",
894
- type: "bool",
895
- },
896
- ],
897
- internalType: "struct SwapData",
898
- name: "swapData",
899
- type: "tuple",
900
- },
901
- ],
902
- internalType: "struct TokenInput",
903
- name: "inp",
904
- type: "tuple",
905
- },
906
- {
907
- internalType: "uint256",
908
- name: "minSyOut",
909
- type: "uint256",
910
- },
911
- ],
912
- name: "compound",
913
- outputs: [
914
- {
915
- internalType: "uint256",
916
- name: "netSyOut",
917
- type: "uint256",
918
- },
919
- ],
920
- stateMutability: "nonpayable",
921
- type: "function",
922
- },
923
- {
924
- inputs: [],
925
- name: "decimals",
926
- outputs: [
927
- {
928
- internalType: "uint8",
929
- name: "",
930
- type: "uint8",
931
- },
932
- ],
933
- stateMutability: "view",
934
- type: "function",
935
- },
936
- {
937
- inputs: [],
938
- name: "decisionHelper",
939
- outputs: [
940
- {
941
- internalType: "contract IBotDecisionHelper",
942
- name: "",
943
- type: "address",
944
- },
945
- ],
946
- stateMutability: "view",
947
- type: "function",
948
- },
949
- {
950
- inputs: [
951
- {
952
- internalType: "address",
953
- name: "receiver",
954
- type: "address",
955
- },
956
- {
957
- internalType: "address",
958
- name: "tokenIn",
959
- type: "address",
960
- },
961
- {
962
- internalType: "uint256",
963
- name: "amountTokenToDeposit",
964
- type: "uint256",
965
- },
966
- {
967
- internalType: "uint256",
968
- name: "minSharesOut",
969
- type: "uint256",
970
- },
971
- ],
972
- name: "deposit",
973
- outputs: [
974
- {
975
- internalType: "uint256",
976
- name: "amountSharesOut",
977
- type: "uint256",
978
- },
979
- ],
980
- stateMutability: "payable",
981
- type: "function",
982
- },
983
- {
984
- inputs: [],
985
- name: "exchangeRate",
986
- outputs: [
987
- {
988
- internalType: "uint256",
989
- name: "",
990
- type: "uint256",
991
- },
992
- ],
993
- stateMutability: "view",
994
- type: "function",
995
- },
996
- {
997
- inputs: [],
998
- name: "getMaxAmountSharesToRedeem",
999
- outputs: [
1000
- {
1001
- internalType: "uint256",
1002
- name: "",
1003
- type: "uint256",
1004
- },
1005
- ],
1006
- stateMutability: "view",
1007
- type: "function",
1008
- },
1009
- {
1010
- inputs: [],
1011
- name: "getRewardTokens",
1012
- outputs: [
1013
- {
1014
- internalType: "address[]",
1015
- name: "rewardTokens",
1016
- type: "address[]",
1017
- },
1018
- ],
1019
- stateMutability: "view",
1020
- type: "function",
1021
- },
1022
- {
1023
- inputs: [],
1024
- name: "getTokensIn",
1025
- outputs: [
1026
- {
1027
- internalType: "address[]",
1028
- name: "res",
1029
- type: "address[]",
1030
- },
1031
- ],
1032
- stateMutability: "view",
1033
- type: "function",
1034
- },
1035
- {
1036
- inputs: [],
1037
- name: "getTokensOut",
1038
- outputs: [
1039
- {
1040
- internalType: "address[]",
1041
- name: "res",
1042
- type: "address[]",
1043
- },
1044
- ],
1045
- stateMutability: "view",
1046
- type: "function",
1047
- },
1048
- {
1049
- inputs: [
1050
- {
1051
- internalType: "bool",
1052
- name: "isLiquidateTvl",
1053
- type: "bool",
1054
- },
1055
- ],
1056
- name: "getTvl",
1057
- outputs: [
1058
- {
1059
- internalType: "uint256",
1060
- name: "",
1061
- type: "uint256",
1062
- },
1063
- ],
1064
- stateMutability: "view",
1065
- type: "function",
1066
- },
1067
- {
1068
- inputs: [
1069
- {
1070
- components: [
1071
- {
1072
- internalType: "uint256",
1073
- name: "buyYtIy",
1074
- type: "uint256",
1075
- },
1076
- {
1077
- internalType: "uint256",
1078
- name: "sellYtIy",
1079
- type: "uint256",
1080
- },
1081
- {
1082
- internalType: "uint256",
1083
- name: "targetSyRatio",
1084
- type: "uint256",
1085
- },
1086
- {
1087
- internalType: "uint256",
1088
- name: "bufferSyRatio",
1089
- type: "uint256",
1090
- },
1091
- {
1092
- internalType: "uint256",
1093
- name: "minYtPtRatio",
1094
- type: "uint256",
1095
- },
1096
- {
1097
- internalType: "uint256",
1098
- name: "numOfBins",
1099
- type: "uint256",
1100
- },
1101
- ],
1102
- internalType: "struct TradingSpecs",
1103
- name: "_specs",
1104
- type: "tuple",
1105
- },
1106
- ],
1107
- name: "initialize",
1108
- outputs: [],
1109
- stateMutability: "nonpayable",
1110
- type: "function",
1111
- },
1112
- {
1113
- inputs: [],
1114
- name: "initialize",
1115
- outputs: [],
1116
- stateMutability: "nonpayable",
1117
- type: "function",
1118
- },
1119
- {
1120
- inputs: [
1121
- {
1122
- internalType: "address",
1123
- name: "token",
1124
- type: "address",
1125
- },
1126
- ],
1127
- name: "isValidTokenIn",
1128
- outputs: [
1129
- {
1130
- internalType: "bool",
1131
- name: "",
1132
- type: "bool",
1133
- },
1134
- ],
1135
- stateMutability: "view",
1136
- type: "function",
1137
- },
1138
- {
1139
- inputs: [
1140
- {
1141
- internalType: "address",
1142
- name: "token",
1143
- type: "address",
1144
- },
1145
- ],
1146
- name: "isValidTokenOut",
1147
- outputs: [
1148
- {
1149
- internalType: "bool",
1150
- name: "",
1151
- type: "bool",
1152
- },
1153
- ],
1154
- stateMutability: "view",
1155
- type: "function",
1156
- },
1157
- {
1158
- inputs: [],
1159
- name: "lastRewardBlock",
1160
- outputs: [
1161
- {
1162
- internalType: "uint256",
1163
- name: "",
1164
- type: "uint256",
1165
- },
1166
- ],
1167
- stateMutability: "view",
1168
- type: "function",
1169
- },
1170
- {
1171
- inputs: [
1172
- {
1173
- internalType: "uint256",
1174
- name: "netLpToRemove",
1175
- type: "uint256",
1176
- },
1177
- {
1178
- internalType: "uint256",
1179
- name: "minSyOut",
1180
- type: "uint256",
1181
- },
1182
- ],
1183
- name: "liquidateLpToSy",
1184
- outputs: [
1185
- {
1186
- internalType: "uint256",
1187
- name: "netSyOut",
1188
- type: "uint256",
1189
- },
1190
- ],
1191
- stateMutability: "nonpayable",
1192
- type: "function",
1193
- },
1194
- {
1195
- inputs: [],
1196
- name: "market",
1197
- outputs: [
1198
- {
1199
- internalType: "address",
1200
- name: "",
1201
- type: "address",
1202
- },
1203
- ],
1204
- stateMutability: "view",
1205
- type: "function",
1206
- },
1207
- {
1208
- inputs: [],
1209
- name: "name",
1210
- outputs: [
1211
- {
1212
- internalType: "string",
1213
- name: "",
1214
- type: "string",
1215
- },
1216
- ],
1217
- stateMutability: "view",
1218
- type: "function",
1219
- },
1220
- {
1221
- inputs: [
1222
- {
1223
- internalType: "address",
1224
- name: "owner",
1225
- type: "address",
1226
- },
1227
- ],
1228
- name: "nonces",
1229
- outputs: [
1230
- {
1231
- internalType: "uint256",
1232
- name: "",
1233
- type: "uint256",
1234
- },
1235
- ],
1236
- stateMutability: "view",
1237
- type: "function",
1238
- },
1239
- {
1240
- inputs: [],
1241
- name: "owner",
1242
- outputs: [
1243
- {
1244
- internalType: "address",
1245
- name: "",
1246
- type: "address",
1247
- },
1248
- ],
1249
- stateMutability: "view",
1250
- type: "function",
1251
- },
1252
- {
1253
- inputs: [],
1254
- name: "pause",
1255
- outputs: [],
1256
- stateMutability: "nonpayable",
1257
- type: "function",
1258
- },
1259
- {
1260
- inputs: [],
1261
- name: "paused",
1262
- outputs: [
1263
- {
1264
- internalType: "bool",
1265
- name: "",
1266
- type: "bool",
1267
- },
1268
- ],
1269
- stateMutability: "view",
1270
- type: "function",
1271
- },
1272
- {
1273
- inputs: [],
1274
- name: "pendingOwner",
1275
- outputs: [
1276
- {
1277
- internalType: "address",
1278
- name: "",
1279
- type: "address",
1280
- },
1281
- ],
1282
- stateMutability: "view",
1283
- type: "function",
1284
- },
1285
- {
1286
- inputs: [
1287
- {
1288
- internalType: "address",
1289
- name: "owner",
1290
- type: "address",
1291
- },
1292
- {
1293
- internalType: "address",
1294
- name: "spender",
1295
- type: "address",
1296
- },
1297
- {
1298
- internalType: "uint256",
1299
- name: "value",
1300
- type: "uint256",
1301
- },
1302
- {
1303
- internalType: "uint256",
1304
- name: "deadline",
1305
- type: "uint256",
1306
- },
1307
- {
1308
- internalType: "uint8",
1309
- name: "v",
1310
- type: "uint8",
1311
- },
1312
- {
1313
- internalType: "bytes32",
1314
- name: "r",
1315
- type: "bytes32",
1316
- },
1317
- {
1318
- internalType: "bytes32",
1319
- name: "s",
1320
- type: "bytes32",
1321
- },
1322
- ],
1323
- name: "permit",
1324
- outputs: [],
1325
- stateMutability: "nonpayable",
1326
- type: "function",
1327
- },
1328
- {
1329
- inputs: [
1330
- {
1331
- internalType: "address",
1332
- name: "tokenIn",
1333
- type: "address",
1334
- },
1335
- {
1336
- internalType: "uint256",
1337
- name: "amountTokenToDeposit",
1338
- type: "uint256",
1339
- },
1340
- ],
1341
- name: "previewDeposit",
1342
- outputs: [
1343
- {
1344
- internalType: "uint256",
1345
- name: "amountSharesOut",
1346
- type: "uint256",
1347
- },
1348
- ],
1349
- stateMutability: "view",
1350
- type: "function",
1351
- },
1352
- {
1353
- inputs: [
1354
- {
1355
- internalType: "address",
1356
- name: "tokenOut",
1357
- type: "address",
1358
- },
1359
- {
1360
- internalType: "uint256",
1361
- name: "amountSharesToRedeem",
1362
- type: "uint256",
1363
- },
1364
- ],
1365
- name: "previewRedeem",
1366
- outputs: [
1367
- {
1368
- internalType: "uint256",
1369
- name: "amountTokenOut",
1370
- type: "uint256",
1371
- },
1372
- ],
1373
- stateMutability: "view",
1374
- type: "function",
1375
- },
1376
- {
1377
- inputs: [],
1378
- name: "readStrategyData",
1379
- outputs: [
1380
- {
1381
- components: [
1382
- {
1383
- components: [
1384
- {
1385
- internalType: "uint256",
1386
- name: "lpBalance",
1387
- type: "uint256",
1388
- },
1389
- {
1390
- internalType: "uint256",
1391
- name: "ytBalance",
1392
- type: "uint256",
1393
- },
1394
- {
1395
- internalType: "uint256",
1396
- name: "ptBalance",
1397
- type: "uint256",
1398
- },
1399
- {
1400
- internalType: "uint256",
1401
- name: "syBalance",
1402
- type: "uint256",
1403
- },
1404
- {
1405
- internalType: "uint256",
1406
- name: "buyBins",
1407
- type: "uint256",
1408
- },
1409
- ],
1410
- internalType: "struct BotState",
1411
- name: "botState",
1412
- type: "tuple",
1413
- },
1414
- {
1415
- components: [
1416
- {
1417
- components: [
1418
- {
1419
- internalType: "int256",
1420
- name: "totalPt",
1421
- type: "int256",
1422
- },
1423
- {
1424
- internalType: "int256",
1425
- name: "totalSy",
1426
- type: "int256",
1427
- },
1428
- {
1429
- internalType: "int256",
1430
- name: "totalLp",
1431
- type: "int256",
1432
- },
1433
- {
1434
- internalType: "address",
1435
- name: "treasury",
1436
- type: "address",
1437
- },
1438
- {
1439
- internalType: "int256",
1440
- name: "scalarRoot",
1441
- type: "int256",
1442
- },
1443
- {
1444
- internalType: "uint256",
1445
- name: "expiry",
1446
- type: "uint256",
1447
- },
1448
- {
1449
- internalType: "uint256",
1450
- name: "lnFeeRateRoot",
1451
- type: "uint256",
1452
- },
1453
- {
1454
- internalType: "uint256",
1455
- name: "reserveFeePercent",
1456
- type: "uint256",
1457
- },
1458
- {
1459
- internalType: "uint256",
1460
- name: "lastLnImpliedRate",
1461
- type: "uint256",
1462
- },
1463
- ],
1464
- internalType: "struct MarketState",
1465
- name: "state",
1466
- type: "tuple",
1467
- },
1468
- {
1469
- internalType: "PYIndex",
1470
- name: "index",
1471
- type: "uint256",
1472
- },
1473
- {
1474
- internalType: "uint256",
1475
- name: "blockTime",
1476
- type: "uint256",
1477
- },
1478
- ],
1479
- internalType: "struct MarketExtState",
1480
- name: "marketExt",
1481
- type: "tuple",
1482
- },
1483
- {
1484
- components: [
1485
- {
1486
- internalType: "uint256",
1487
- name: "buyYtIy",
1488
- type: "uint256",
1489
- },
1490
- {
1491
- internalType: "uint256",
1492
- name: "sellYtIy",
1493
- type: "uint256",
1494
- },
1495
- {
1496
- internalType: "uint256",
1497
- name: "targetSyRatio",
1498
- type: "uint256",
1499
- },
1500
- {
1501
- internalType: "uint256",
1502
- name: "bufferSyRatio",
1503
- type: "uint256",
1504
- },
1505
- {
1506
- internalType: "uint256",
1507
- name: "minYtPtRatio",
1508
- type: "uint256",
1509
- },
1510
- {
1511
- internalType: "uint256",
1512
- name: "numOfBins",
1513
- type: "uint256",
1514
- },
1515
- ],
1516
- internalType: "struct TradingSpecs",
1517
- name: "specs",
1518
- type: "tuple",
1519
- },
1520
- ],
1521
- internalType: "struct StrategyData",
1522
- name: "strategyData",
1523
- type: "tuple",
1524
- },
1525
- ],
1526
- stateMutability: "view",
1527
- type: "function",
1528
- },
1529
- {
1530
- inputs: [
1531
- {
1532
- internalType: "address",
1533
- name: "receiver",
1534
- type: "address",
1535
- },
1536
- {
1537
- internalType: "uint256",
1538
- name: "amountSharesToRedeem",
1539
- type: "uint256",
1540
- },
1541
- {
1542
- internalType: "address",
1543
- name: "tokenOut",
1544
- type: "address",
1545
- },
1546
- {
1547
- internalType: "uint256",
1548
- name: "minTokenOut",
1549
- type: "uint256",
1550
- },
1551
- {
1552
- internalType: "bool",
1553
- name: "burnFromInternalBalance",
1554
- type: "bool",
1555
- },
1556
- ],
1557
- name: "redeem",
1558
- outputs: [
1559
- {
1560
- internalType: "uint256",
1561
- name: "amountTokenOut",
1562
- type: "uint256",
1563
- },
1564
- ],
1565
- stateMutability: "nonpayable",
1566
- type: "function",
1567
- },
1568
- {
1569
- inputs: [
1570
- {
1571
- components: [
1572
- {
1573
- components: [
1574
- {
1575
- internalType: "uint256",
1576
- name: "guessMin",
1577
- type: "uint256",
1578
- },
1579
- {
1580
- internalType: "uint256",
1581
- name: "guessMax",
1582
- type: "uint256",
1583
- },
1584
- {
1585
- internalType: "uint256",
1586
- name: "guessOffchain",
1587
- type: "uint256",
1588
- },
1589
- {
1590
- internalType: "uint256",
1591
- name: "maxIteration",
1592
- type: "uint256",
1593
- },
1594
- {
1595
- internalType: "uint256",
1596
- name: "eps",
1597
- type: "uint256",
1598
- },
1599
- ],
1600
- internalType: "struct ApproxParams",
1601
- name: "botParams",
1602
- type: "tuple",
1603
- },
1604
- {
1605
- components: [
1606
- {
1607
- internalType: "uint256",
1608
- name: "guessMin",
1609
- type: "uint256",
1610
- },
1611
- {
1612
- internalType: "uint256",
1613
- name: "guessMax",
1614
- type: "uint256",
1615
- },
1616
- {
1617
- internalType: "uint256",
1618
- name: "guessOffchain",
1619
- type: "uint256",
1620
- },
1621
- {
1622
- internalType: "uint256",
1623
- name: "maxIteration",
1624
- type: "uint256",
1625
- },
1626
- {
1627
- internalType: "uint256",
1628
- name: "eps",
1629
- type: "uint256",
1630
- },
1631
- ],
1632
- internalType: "struct ApproxParams",
1633
- name: "guessTotalPtToSwap",
1634
- type: "tuple",
1635
- },
1636
- {
1637
- internalType: "uint256",
1638
- name: "minYtOut",
1639
- type: "uint256",
1640
- },
1641
- {
1642
- internalType: "uint256",
1643
- name: "targetIy",
1644
- type: "uint256",
1645
- },
1646
- {
1647
- internalType: "int256",
1648
- name: "currentBin",
1649
- type: "int256",
1650
- },
1651
- ],
1652
- internalType: "struct ILongYieldTradingBot.RemoveLiqToYtInput",
1653
- name: "inputParams",
1654
- type: "tuple",
1655
- },
1656
- ],
1657
- name: "removeLiqToYt",
1658
- outputs: [
1659
- {
1660
- internalType: "uint256",
1661
- name: "netLpRemoved",
1662
- type: "uint256",
1663
- },
1664
- {
1665
- internalType: "uint256",
1666
- name: "netYtOut",
1667
- type: "uint256",
1668
- },
1669
- ],
1670
- stateMutability: "nonpayable",
1671
- type: "function",
1672
- },
1673
- {
1674
- inputs: [
1675
- {
1676
- internalType: "uint256",
1677
- name: "netLpToRemove",
1678
- type: "uint256",
1679
- },
1680
- {
1681
- internalType: "uint256",
1682
- name: "minSyOut",
1683
- type: "uint256",
1684
- },
1685
- ],
1686
- name: "removeLiquidityToSy",
1687
- outputs: [
1688
- {
1689
- internalType: "uint256",
1690
- name: "netSyOut",
1691
- type: "uint256",
1692
- },
1693
- ],
1694
- stateMutability: "nonpayable",
1695
- type: "function",
1696
- },
1697
- {
1698
- inputs: [],
1699
- name: "rewardIndexesCurrent",
1700
- outputs: [
1701
- {
1702
- internalType: "uint256[]",
1703
- name: "indexes",
1704
- type: "uint256[]",
1705
- },
1706
- ],
1707
- stateMutability: "nonpayable",
1708
- type: "function",
1709
- },
1710
- {
1711
- inputs: [],
1712
- name: "rewardIndexesStored",
1713
- outputs: [
1714
- {
1715
- internalType: "uint256[]",
1716
- name: "indexes",
1717
- type: "uint256[]",
1718
- },
1719
- ],
1720
- stateMutability: "view",
1721
- type: "function",
1722
- },
1723
- {
1724
- inputs: [
1725
- {
1726
- internalType: "address",
1727
- name: "",
1728
- type: "address",
1729
- },
1730
- ],
1731
- name: "rewardState",
1732
- outputs: [
1733
- {
1734
- internalType: "uint128",
1735
- name: "index",
1736
- type: "uint128",
1737
- },
1738
- {
1739
- internalType: "uint128",
1740
- name: "lastBalance",
1741
- type: "uint128",
1742
- },
1743
- ],
1744
- stateMutability: "view",
1745
- type: "function",
1746
- },
1747
- {
1748
- inputs: [],
1749
- name: "router",
1750
- outputs: [
1751
- {
1752
- internalType: "address",
1753
- name: "",
1754
- type: "address",
1755
- },
1756
- ],
1757
- stateMutability: "view",
1758
- type: "function",
1759
- },
1760
- {
1761
- inputs: [
1762
- {
1763
- components: [
1764
- {
1765
- internalType: "uint256",
1766
- name: "buyYtIy",
1767
- type: "uint256",
1768
- },
1769
- {
1770
- internalType: "uint256",
1771
- name: "sellYtIy",
1772
- type: "uint256",
1773
- },
1774
- {
1775
- internalType: "uint256",
1776
- name: "targetSyRatio",
1777
- type: "uint256",
1778
- },
1779
- {
1780
- internalType: "uint256",
1781
- name: "bufferSyRatio",
1782
- type: "uint256",
1783
- },
1784
- {
1785
- internalType: "uint256",
1786
- name: "minYtPtRatio",
1787
- type: "uint256",
1788
- },
1789
- {
1790
- internalType: "uint256",
1791
- name: "numOfBins",
1792
- type: "uint256",
1793
- },
1794
- ],
1795
- internalType: "struct TradingSpecs",
1796
- name: "_specs",
1797
- type: "tuple",
1798
- },
1799
- ],
1800
- name: "setSpecs",
1801
- outputs: [],
1802
- stateMutability: "nonpayable",
1803
- type: "function",
1804
- },
1805
- {
1806
- inputs: [],
1807
- name: "specs",
1808
- outputs: [
1809
- {
1810
- internalType: "uint256",
1811
- name: "buyYtIy",
1812
- type: "uint256",
1813
- },
1814
- {
1815
- internalType: "uint256",
1816
- name: "sellYtIy",
1817
- type: "uint256",
1818
- },
1819
- {
1820
- internalType: "uint256",
1821
- name: "targetSyRatio",
1822
- type: "uint256",
1823
- },
1824
- {
1825
- internalType: "uint256",
1826
- name: "bufferSyRatio",
1827
- type: "uint256",
1828
- },
1829
- {
1830
- internalType: "uint256",
1831
- name: "minYtPtRatio",
1832
- type: "uint256",
1833
- },
1834
- {
1835
- internalType: "uint256",
1836
- name: "numOfBins",
1837
- type: "uint256",
1838
- },
1839
- ],
1840
- stateMutability: "view",
1841
- type: "function",
1842
- },
1843
- {
1844
- inputs: [
1845
- {
1846
- internalType: "int256",
1847
- name: "ptToAccount",
1848
- type: "int256",
1849
- },
1850
- {
1851
- internalType: "int256",
1852
- name: "syToAccount",
1853
- type: "int256",
1854
- },
1855
- {
1856
- internalType: "bytes",
1857
- name: "data",
1858
- type: "bytes",
1859
- },
1860
- ],
1861
- name: "swapCallback",
1862
- outputs: [],
1863
- stateMutability: "nonpayable",
1864
- type: "function",
1865
- },
1866
- {
1867
- inputs: [
1868
- {
1869
- internalType: "uint256",
1870
- name: "netYtToSell",
1871
- type: "uint256",
1872
- },
1873
- {
1874
- internalType: "uint256",
1875
- name: "minSyOut",
1876
- type: "uint256",
1877
- },
1878
- ],
1879
- name: "swapYtToSy",
1880
- outputs: [
1881
- {
1882
- internalType: "uint256",
1883
- name: "netSyOut",
1884
- type: "uint256",
1885
- },
1886
- ],
1887
- stateMutability: "nonpayable",
1888
- type: "function",
1889
- },
1890
- {
1891
- inputs: [],
1892
- name: "symbol",
1893
- outputs: [
1894
- {
1895
- internalType: "string",
1896
- name: "",
1897
- type: "string",
1898
- },
1899
- ],
1900
- stateMutability: "view",
1901
- type: "function",
1902
- },
1903
- {
1904
- inputs: [],
1905
- name: "totalSupply",
1906
- outputs: [
1907
- {
1908
- internalType: "uint256",
1909
- name: "",
1910
- type: "uint256",
1911
- },
1912
- ],
1913
- stateMutability: "view",
1914
- type: "function",
1915
- },
1916
- {
1917
- inputs: [
1918
- {
1919
- internalType: "address",
1920
- name: "to",
1921
- type: "address",
1922
- },
1923
- {
1924
- internalType: "uint256",
1925
- name: "amount",
1926
- type: "uint256",
1927
- },
1928
- ],
1929
- name: "transfer",
1930
- outputs: [
1931
- {
1932
- internalType: "bool",
1933
- name: "",
1934
- type: "bool",
1935
- },
1936
- ],
1937
- stateMutability: "nonpayable",
1938
- type: "function",
1939
- },
1940
- {
1941
- inputs: [
1942
- {
1943
- internalType: "address",
1944
- name: "from",
1945
- type: "address",
1946
- },
1947
- {
1948
- internalType: "address",
1949
- name: "to",
1950
- type: "address",
1951
- },
1952
- {
1953
- internalType: "uint256",
1954
- name: "amount",
1955
- type: "uint256",
1956
- },
1957
- ],
1958
- name: "transferFrom",
1959
- outputs: [
1960
- {
1961
- internalType: "bool",
1962
- name: "",
1963
- type: "bool",
1964
- },
1965
- ],
1966
- stateMutability: "nonpayable",
1967
- type: "function",
1968
- },
1969
- {
1970
- inputs: [
1971
- {
1972
- internalType: "address",
1973
- name: "newOwner",
1974
- type: "address",
1975
- },
1976
- {
1977
- internalType: "bool",
1978
- name: "direct",
1979
- type: "bool",
1980
- },
1981
- {
1982
- internalType: "bool",
1983
- name: "renounce",
1984
- type: "bool",
1985
- },
1986
- ],
1987
- name: "transferOwnership",
1988
- outputs: [],
1989
- stateMutability: "nonpayable",
1990
- type: "function",
1991
- },
1992
- {
1993
- inputs: [],
1994
- name: "unpause",
1995
- outputs: [],
1996
- stateMutability: "nonpayable",
1997
- type: "function",
1998
- },
1999
- {
2000
- inputs: [
2001
- {
2002
- internalType: "address",
2003
- name: "",
2004
- type: "address",
2005
- },
2006
- {
2007
- internalType: "address",
2008
- name: "",
2009
- type: "address",
2010
- },
2011
- ],
2012
- name: "userReward",
2013
- outputs: [
2014
- {
2015
- internalType: "uint128",
2016
- name: "index",
2017
- type: "uint128",
2018
- },
2019
- {
2020
- internalType: "uint128",
2021
- name: "accrued",
2022
- type: "uint128",
2023
- },
2024
- ],
2025
- stateMutability: "view",
2026
- type: "function",
2027
- },
2028
- {
2029
- inputs: [],
2030
- name: "yieldToken",
2031
- outputs: [
2032
- {
2033
- internalType: "address",
2034
- name: "",
2035
- type: "address",
2036
- },
2037
- ],
2038
- stateMutability: "view",
2039
- type: "function",
2040
- },
2041
- {
2042
- stateMutability: "payable",
2043
- type: "receive",
2044
- },
2045
- ];
2046
-
2047
- const _bytecode =
2048
- "0x6101a0604081815234620003535760808262006208803803809162000025828562000358565b83398101031262000353576200003b8262000392565b916200004a6020820162000392565b926200005883830162000392565b9162000068606080920162000392565b8451630b2339af60e21b8082526001600160a01b038581169793909290919085816004818c5afa908115620003485790849160009162000324575b5016845163313ce56760e01b8152602081600481855afa90811562000319579087939291600091620002c7575b5060805261013460ff19815416905560a05260048551809a819382525afa948515620002bc57600097889589976200027b575b505060e0526101009788528161012097168752816101409416845281610160951685526101809586521660c0525193615e1b9586620003ed873960805186612d61015260a051866120e3015260c0518681816107a501528181610ca70152818161147a0152614a7b015260e0518681816103380152818161091b01528181610bd4015281816115e60152818161197201528181611fd901528181612a2101528181612b2c01528181612ddb01528181613d95015281816145840152818161497301528181614d520152614ee701525185818161050c015281816126510152614555015251848181610ffc015281816111890152818161120c015281816113a5015281816121760152818161258f01528181612f9e0152818161338a015281816136c5015281816138d501528181613df5015261499e015251838181610da701526149fa0152518281816120a001528181613d35015281816145e401526149cc0152518181816120530152818161269001526150ab0152f35b919650919750620002a6929450803d10620002b4575b6200029d818362000358565b810190620003a7565b939196909394388062000103565b503d62000291565b83513d6000823e3d90fd5b90919293506020813d821162000310575b81620002e76020938362000358565b810103126200030c57519060ff821682036200030957509086929138620000d0565b80fd5b5080fd5b3d9150620002d8565b86513d6000823e3d90fd5b6200033f9150873d8911620002b4576200029d818362000358565b505038620000a3565b85513d6000823e3d90fd5b600080fd5b601f909101601f19168101906001600160401b038211908210176200037c57604052565b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036200035357565b90816060910312620003535780516001600160a01b0392908381168103620003535792602083015181811681036200035357604090930151908116810362000353579056fe608080604052600436101561001d575b50361561001b57600080fd5b005b6000803560e01c91826306fdde031461356757508163071bc3c914612f39578163078dfbe71461342d578163095ea7b3146133fc578163105f402914613338578163128fced1146132a557816318160ddd1461327f57816320e8c56514612f43578163213cae6314612f3957816323b872dd14612e465781632b4cb4b714612e1d5781632ccfdeef14612d85578163313ce56714612d485781633644e51514612d2e57816337deed8d14612b6a5781633846b9fd14612ae95781633ba0b9a9146129d85781633f4ba83a1461292e5781634c6e8f81146128ef5781634e71e0c81461282d5781635c975abb1461280a5781635cbadbe41461277d5781636925c605146123c557816370a082311461238d578163769f8e5d1461210757816376d5de85146120c4578163781c18db14612081578163784367d6146120775781637cf738d2146120345781637ecebe0014611ffd57816380f5560514611fba5781638129fc1c14611a665781638195f6741461191d5781638456cb59146118b55781638da5cb5b1461189057816395d89b41146117ac57816396aba49214611447578163a40bee501461136d578163a7584e5e14611301578163a9059cbb1461129b578163a9f8d1811461127d578163adb7c3f714611230578163afd27bf5146111ed578163b8f82b2614611163578163c4f59f9b14611134578163cbe52ae314610fd6578163d505accf14610dcb578163d94073d414610d88578163da88ecb414610d59578163dd62ed3e14610d0f578163e138b2ee14610cf1578163e30c397814610ccb578163e82cee7914610c88578163e83ab23c14610b7e578163ea64a82014610b1a578163eb983ce514610af0578163ebff543914610772578163ef5cfb8c14610530578163f887ea40146104ed578163f8b2f9911461047b578163fa483e72146102e4575063fa5a4f06146102d7575b3861000f565b6102df6138aa565b6102d1565b346104785760606003193601126104785767ffffffffffffffff6044358181116104745736602382011215610474578060040135918083116104285760249136838583010111610470576001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169081330361042c5790859173__$4841977b5e630d8d12d7143ab50b0fe229$__90813b156104285760a48693601f19601f8a6040519b8c98899788967fbdfa09ab0000000000000000000000000000000000000000000000000000000088526004880152600435828801528135604488015260806064880152826084880152018686013788858286010152011681010301915af4801561041d576103fa578380f35b821161040b57506040528180808380f35b82634e487b7160e01b81526041600452fd5b6040513d86823e3d90fd5b8380fd5b60648460166040519162461bcd60e51b8352602060048401528201527f756e617574686f72697a65642063616c6c206261636b000000000000000000006044820152fd5b8480fd5b8280fd5b80fd5b346104785780600319360112610478576104e96004546104a160028260f81c14156139f4565b600160f91b6001600160f81b03809216176004556104bd613c4b565b5050600160f81b6104cc61423d565b916004541617600455604051918291602083526020830190613740565b0390f35b3461047857806003193601126104785760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b346104785760208060031936011261076e579061054b613700565b6004549161055f60028460f81c14156139f4565b600160f91b6001600160f81b038094161760045561057c82613b80565b610584615080565b61058e8151613af3565b9482906001600160a01b0393848616925b84518110156106f657856105b38287613b6c565b51168252610199808452604083208584528452604083205490608091821c6105db848d613b6c565b526105e6838c613b6c565b516105fc575b50506105f790613b24565b61059f565b876106078489613b6c565b51168452845260408320858452845260408320906fffffffffffffffffffffffffffffffff9182815416905561063d838c613b6c565b51908282116104705788610651858a613b6c565b5116855261019b865282604086209216908254901c039182116106e2576105f792916106b891906fffffffffffffffffffffffffffffffff7fffffffffffffffffffffffffffffffff0000000000000000000000000000000083549260801b169116179055565b6106db8a896106d4848b6106cc828d613b6c565b511693613b6c565b5191615a56565b908a6105ec565b602484634e487b7160e01b81526011600452fd5b8883600160f81b8a877f2193aa20a3717f5f4ac79482f4f553e5f0afe8f4e6ec3e3d1aa2e138adc4763f61074261072b615080565b61074f604051928392604084526040840190613649565b8281038984015289613740565b0390a260045416176004556104e9604051928284938452830190613740565b5080fd5b34610478576101a0600319360112610478576001600160a01b0361079a818354163314613a3f565b6107a2614454565b817f000000000000000000000000000000000000000000000000000000000000000016916040517fa76541e50000000000000000000000000000000000000000000000000000000081526107f960048201846138fc565b6020906102c49082818381895afa908115610ae5578791610ab4575b506101843503610a7157600290610856604051957f03270af400000000000000000000000000000000000000000000000000000000875260048701906138fc565b840152610164356102e48401526000196103048401526004356103248401526024356103448401526044356103648401526064356103848401526084356103a484015260a43591826103c485015260c43594856103e486015260e435908161040487015261010491823590816104248901528588610464816101243596876104448301525afa978815610a66578a98610a2e575b5060409596979886519889967f2285db260000000000000000000000000000000000000000000000000000000088527f00000000000000000000000000000000000000000000000000000000000000001660048801528a602488015260448701526064860152608485015260a484015260c48301526101443560e48301528173__$4841977b5e630d8d12d7143ab50b0fe229$__5af491821561041d57604094926109fe575b50610999614a2e565b83516004358152602435602082015260443560408201526064356060820152608435608082015260a0810184905260c081018390527f43950417e0eb7225b8f42332a069bc35fbdf65f3d90c124210b3d3aefc3d6a409060e090a18351928352820152f35b610a1f919250843d8611610a27575b610a17818361382d565b810190614317565b509084610990565b503d610a0d565b958097985086813d8311610a5f575b610a47818361382d565b81010312610a5b57604095519796956108ea565b8980fd5b503d610a3d565b6040513d8c823e3d90fd5b6064826040519062461bcd60e51b825280600483015260248201527f72656d6f76654c6971546f59743a2062696e20737461746520657870697265646044820152fd5b90508281813d8311610ade575b610acb818361382d565b81010312610ada575187610815565b8680fd5b503d610ac1565b6040513d89823e3d90fd5b346104785780600319360112610478576102c0610b0b614454565b610b1860405180926138fc565bf35b346104785760206003193601126104785760406104e9916001600160a01b03610b41613700565b16815261019b602090815291902054604080516fffffffffffffffffffffffffffffffff8316815260809290921c92820192909252918291820190565b3461047857610c166020610b9136613774565b90610ba76001600160a01b038654163314613a3f565b60405193849283927f448b96190000000000000000000000000000000000000000000000000000000084527f0000000000000000000000000000000000000000000000000000000000000000600485016040919493926001600160a01b03606083019616825260208201520152565b038173__$4841977b5e630d8d12d7143ab50b0fe229$__5af4908115610c7d578291610c48575b602082604051908152f35b90506020813d8211610c75575b81610c626020938361382d565b8101031261076e57602091505182610c3d565b3d9150610c55565b6040513d84823e3d90fd5b3461047857806003193601126104785760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b3461047857806003193601126104785760206001600160a01b0360015416604051908152f35b34610478578060031936011261047857602061020654604051908152f35b34610478576040600319360112610478576040602091610d2d613700565b610d35613716565b6001600160a01b039182168352600385528383209116825283522054604051908152f35b346104785780600319360112610478576104e9610d7461423d565b604051918291602083526020830190613740565b3461047857806003193601126104785760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b346104785760e060031936011261047857610de4613700565b610dec613716565b6044359060843560643560ff82168203610fd257804211610f8e576001600160a01b039081861692838852609f602052604088208054906001820190556040519260208401917f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98352866040860152858816606086015288608086015260a085015260c084015260c0835260e083019267ffffffffffffffff9381811085821117610f7a5760405251902090610ea06150cf565b926040519260208401947f190100000000000000000000000000000000000000000000000000000000000086526022850152604284015260428352608083019083821090821117610f665791610f109391610f089360405260c4359260a435925190206152ce565b91909161512a565b1603610f2257610f1f92615772565b80f35b606460405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152fd5b60248a634e487b7160e01b81526041600452fd5b60248b634e487b7160e01b81526041600452fd5b606460405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152fd5b8580fd5b34610478576040600319360112610478576001600160a01b0380610ff8613700565b16907f0000000000000000000000000000000000000000000000000000000000000000168103611103575061106d6020611030614965565b611038614517565b9060405193849283927fb1ef9e5000000000000000000000000000000000000000000000000000000000845260048401614b80565b038173__$a7098bf20e819a81ac73f4e6e6693165f6$__5af49182156110f75780926110bf575b60206110b76110a560243586614cb2565b6001600160f81b036004541690614cc5565b604051908152f35b9091506020823d82116110ef575b816110da6020938361382d565b810103126104785750516110b76110a5611094565b3d91506110cd565b604051903d90823e3d90fd5b602490604051907f88a505610000000000000000000000000000000000000000000000000000000082526004820152fd5b346104785780600319360112610478576104e961114f615080565b604051918291602083526020830190613649565b34610478576040600319360112610478576001600160a01b0380611185613700565b16907f00000000000000000000000000000000000000000000000000000000000000001681036111bc5760206110b7602435614e7b565b602490604051907faeabe7180000000000000000000000000000000000000000000000000000000082526004820152fd5b3461047857806003193601126104785760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b3461047857806003193601126104785760c06102005461020154610202546102035461020454916102055493604051958652602086015260408501526060840152608083015260a0820152f35b34610478578060031936011261047857602061019a54604051908152f35b3461047857604060031936011261047857600160f81b6112b9613700565b6112ee600454916112d060028460f81c14156139f4565b600160f91b6001600160f81b038094161760045560243590336153b0565b6004541617600455602060405160018152f35b346104785760c0600319360112610478576113276001600160a01b038254163314613a3f565b610f1f61133336613850565b60a0908051610200556020810151610201556040810151610202556060810151610203556080810151610204550151806102055561020655565b346104785780600319360112610478576040517f313ce5670000000000000000000000000000000000000000000000000000000081527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316602082600481845afa91821561143c5783926113fe575b60608460ff85856040519384526020840152166040820152f35b9091506020813d8211611434575b816114196020938361382d565b81010312610474575160ff81168103610474579060ff6113e4565b3d915061140c565b6040513d85823e3d90fd5b3461047857610100600319360112610478576001600160a01b0361146f818354163314613a3f565b611477614454565b907f000000000000000000000000000000000000000000000000000000000000000016906114cf604051917fa76541e500000000000000000000000000000000000000000000000000000000835260048301906138fc565b6020916102c49183818481855afa9081156117a1578591611774575b5060e435036117305761153c6104648492611504614454565b90600160405196879586947f03270af400000000000000000000000000000000000000000000000000000000865260048601906138fc565b83015260c4356102e48301526000196103048301526004356103248301526024356103448301526044356103648301526064356103848301526084356103a48301526004356103c48301526024356103e48301526044356104048301526064356104248301526084356104448301525afa91821561143c578392611702575b5050604080517f3525e03f0000000000000000000000000000000000000000000000000000000081527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031660048201526024810183905260a4356044820152908160648173__$4841977b5e630d8d12d7143ab50b0fe229$__5af490811561143c5783916116dd575b506104e990611659614a2e565b7fba4064507fa740cdd61480d0c0ce70e6b4e0f349dda4cd52184466a3c1993643604051806116bd8785836004358152602435602082015260443560408201526064356060820152608435608082015260e0810193929160c0919060a08201520152565b0390a1604051938493846040919493926060820195825260208201520152565b6104e993506116fb915060403d604011610a2757610a17818361382d565b909261164c565b90809250813d8311611729575b611719818361382d565b8101031261076e575182806115bb565b503d61170f565b6064836040519062461bcd60e51b82526004820152601f60248201527f6164644c697146726f6d59743a2062696e2073746174652065787069726564006044820152fd5b90508381813d831161179a575b61178b818361382d565b810103126104705751856114eb565b503d611781565b6040513d87823e3d90fd5b3461047857806003193601126104785760405190806006546117cd81615376565b80855291600191808316908115611866575060011461180b575b6104e9856117f78187038261382d565b604051918291602083526020830190613609565b9250600683527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f5b82841061184e5750505081016020016117f7826104e96117e7565b80546020858701810191909152909301928101611833565b8695506104e9969350602092506117f794915060ff191682840152151560051b82010192936117e7565b346104785780600319360112610478576001600160a01b036020915416604051908152f35b346104785780600319360112610478576118da6001600160a01b038254163314613a3f565b6118e2613a8a565b610134600160ff198254161790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a180f35b3461047857606060031936011261047857600435906001600160a01b0391611949838354163314613a3f565b604051927fee723a8d0000000000000000000000000000000000000000000000000000000084527f00000000000000000000000000000000000000000000000000000000000000001660048401528060248401526024356044840152604435606484015260408360848173__$4841977b5e630d8d12d7143ab50b0fe229$__5af4908115610c7d576040938392611a21575b50835190815260208101839052604081018290527f48f22f4bc9aee5b703ec4521f5f611eb37d722e592a0545e957f00ce8e9bd3ec90606090a182519182526020820152f35b7f48f22f4bc9aee5b703ec4521f5f611eb37d722e592a0545e957f00ce8e9bd3ec9350611a5c919250843d8611610a2757610a17818361382d565b90925090826119db565b346104785780600319360112610478576001549060ff8260a81c161591828093611faa575b8015611f8f575b611a9b906142a6565b82740100000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff831617600155611f4c575b50604051611aeb816137f5565b600e81527f466f72746b6e6f78205661756c74000000000000000000000000000000000000602082015260405192611b22846137f5565b600284527f46560000000000000000000000000000000000000000000000000000000000006020850152611b6f60ff60015460a81c16611b6181614349565b611b6a81614349565b614349565b815167ffffffffffffffff8111611e0d57611b8b600554615376565b601f8111611eab575b50806020601f8211600114611e2c578591611e21575b506000198260011b9260031b1c1916176005555b835167ffffffffffffffff8111611e0d57611bda600654615376565b601f8111611daa575b50602094601f8211600114611d28579484958293949592611d1d575b50506000198260011b9260031b1c1916176006555b600160f81b6001600160f81b036004541617600455611c9a60405192611c39846137f5565b6001845260208401937f310000000000000000000000000000000000000000000000000000000000000085526001549460ff8660a81c1692611c7a84614349565b611c8384614349565b602081519101209151902090606b55606c55614349565b337fffffffffffffffffffffffff0000000000000000000000000000000000000000845416178355611cca575080f35b7fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff166001557f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498602060405160018152a180f35b015190508580611bff565b601f19821695600686527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f91865b888110611d9257508360019596979810611d79575b505050811b01600655611c14565b015160001960f88460031b161c19169055858080611d6b565b91926020600181928685015181550194019201611d56565b600685527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f601f830160051c81019160208410611e03575b601f0160051c01905b818110611df85750611be3565b858155600101611deb565b9091508190611de2565b602484634e487b7160e01b81526041600452fd5b905083015186611baa565b600586527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db091601f1916865b818110611e9357509083600194939210611e7a575b5050811b01600555611bbe565b85015160001960f88460031b161c191690558680611e6d565b9192602060018192868a015181550194019201611e58565b60058552601f820160051c7f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db0019060208310611f24575b601f0160051c7f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db001905b818110611f195750611b94565b858155600101611f0c565b7f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db09150611ee2565b7fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff1675010100000000000000000000000000000000000000001760015582611ade565b50303b158015611a92575060a081901c60ff16600114611a92565b50600160ff8260a01c1610611a8b565b3461047857806003193601126104785760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b346104785760206003193601126104785760406020916001600160a01b03612023613700565b168152609f83522054604051908152f35b3461047857806003193601126104785760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b50506102df6138aa565b3461047857806003193601126104785760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b3461047857806003193601126104785760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b346104785760a060031936011261047857612120613700565b90602435916044356001600160a01b03908181168091036104285760643594608435928315158403610fd2576004549361216060028660f81c14156139f4565b600160f91b6001600160f81b03809616176004557f000000000000000000000000000000000000000000000000000000000000000090828216850361235c5783156123325715612323576121b483306155cd565b6121bc614965565b966121c5614517565b97604051907fb1ef9e50000000000000000000000000000000000000000000000000000000008252818061220060209c8d9460048401614b80565b038173__$a7098bf20e819a81ac73f4e6e6693165f6$__5af49182156110f757918591838a9594926122e6575b505061224061225c939261225492614cb2565b61224e878a60045416613c3e565b90614cc5565b978891615a56565b8786106122af57600160f81b95969750604051928352868884015216907faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c60403392a46004541617600455604051908152f35b60448689604051917fbfee4ca000000000000000000000000000000000000000000000000000000000835260048301526024820152fd5b9250809394508a8092503d831161231c575b612302818361382d565b81010312610478575051869190849061224061225c61222d565b503d6122f8565b61232d83336155cd565b6121b4565b60046040517fc3d83b07000000000000000000000000000000000000000000000000000000008152fd5b602485604051907f88a505610000000000000000000000000000000000000000000000000000000082526004820152fd5b346104785760206003193601126104785760206110b76123ab613700565b6001600160a01b0316600052600260205260406000205490565b346104785760031960408136011261076e576004359167ffffffffffffffff9182841161076e5760c081853603011261076e5761240d6001600160a01b038354163314613a3f565b6040519261241a8461378a565b6124268560040161372c565b84526020946024810135868601526124406044820161372c565b92604086019384526124546064830161372c565b90606087019182526124686084840161372c565b926080880193845260a481013590858211612765579060809101918236030112610fd25760405193608085018581108282111761276957604052600482013560048110156127655785526124be6024830161372c565b898601526044820135908111610ada57810136602382011215610ada5760048101356124e98161432d565b916124f7604051938461382d565b8183523660248383010111612761578a82606495949360248c94018386013783010152604086015201358015158103610fd2576001600160a01b0392918391606086015260a08801948552600019898901511461274c575b87518216612744578189890151965b8a6040519a7f443e6512000000000000000000000000000000000000000000000000000000008c523060048d0152837f00000000000000000000000000000000000000000000000000000000000000001660248d015260243560448d0152608060648d01528381511660848d0152015160a48b0152511660c4890152511660e487015251166101048501525160c06101248501528051600481101561273057918480809388956101448301526001600160a01b038682015116610164830152606061263a604083015160806101848601526101c4850190613609565b91015115156101a483015203916001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165af19182156127235781926126f2575b506126c1906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000009154166126bb82615b18565b91615a56565b7f52709ca3666ff5bd61f9d9d26f0dbdadd947fdadf265f3141227189da7d4846382604051838152a1604051908152f35b9091508281813d831161271c575b61270a818361382d565b8101031261076e5751906126c1612681565b503d612700565b50604051903d90823e3d90fd5b602484634e487b7160e01b81526021600452fd5b81879661255e565b61275882895116615b18565b8989015261254f565b8880fd5b8780fd5b602488634e487b7160e01b81526041600452fd5b346104785760406003193601126104785760406104e99161279c613700565b6127a4613716565b906001600160a01b03809116835261019960205283832091168252602052205460405191816fffffffffffffffffffffffffffffffff849360801c9116839060209093929360408301946fffffffffffffffffffffffffffffffff809216845216910152565b34610478578060031936011261047857602060ff61013454166040519015158152f35b346104785780600319360112610478576001546001600160a01b03908181168033036128ab578084549384167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08680a37fffffffffffffffffffffffff00000000000000000000000000000000000000008093161783551660015580f35b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152fd5b3461047857604060031936011261047857610f1f61290b613700565b612913613716565b906129296001600160a01b038554163314613a3f565b615b92565b346104785780600319360112610478576129536001600160a01b038254163314613a3f565b610134805460ff8116156129945760ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a180f35b606460405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152fd5b34610478578060031936011261047857612a4960206129f5614965565b604051809381927fe2102e670000000000000000000000000000000000000000000000000000000083527f000000000000000000000000000000000000000000000000000000000000000060048401614b38565b038173__$a7098bf20e819a81ac73f4e6e6693165f6$__5af4908115610c7d578291612ab8575b506001600160f81b036004541691670de0b6b3a764000091828102928184041490151715612aa45760206110b78484614cc5565b80634e487b7160e01b602492526011600452fd5b90506020813d8211612ae1575b81612ad26020938361382d565b8101031261076e575182612a70565b3d9150612ac5565b3461047857610c166020612afc36613774565b6040517f662d1b920000000000000000000000000000000000000000000000000000000081526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001660048201526024810192909252604482015291829081906064820190565b346104785760c060031936011261047857612b8436613850565b600190612c2b82549160ff8360a81c161592838094612d1f575b8015612d05575b612bae906142a6565b83740100000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff8316178655612cc3575b5060a0908051610200556020810151610201556040810151610202556060810151610203556080810151610204550151806102055561020655565b815490612c3d60ff8360a81c16614349565b337fffffffffffffffffffffffff0000000000000000000000000000000000000000855416178455612c6d578280f35b7f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498917fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff602092168155604051908152a181808280f35b7fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff16750101000000000000000000000000000000000000000017845585612bf0565b50303b158015612ba5575060a081901c60ff168514612ba5565b508460ff8260a01c1610612b9e565b3461047857806003193601126104785760206110b76150cf565b34610478578060031936011261047857602060405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b3461047857610c166020612d9836613774565b90612dae6001600160a01b038654163314613a3f565b60405193849283927f57e7540a0000000000000000000000000000000000000000000000000000000084527f0000000000000000000000000000000000000000000000000000000000000000600485016040919493926001600160a01b03606083019616825260208201520152565b34610478576020600319360112610478576004359081151582036104785760206110b783614c3a565b3461047857606060031936011261047857612e5f613700565b90612e68613716565b60443590604060045493612e8260028660f81c14156139f4565b600160f91b6001600160f81b03809616176004556001600160a01b0386168152600360205281812033825260205220546000198103612ecd575b50906112ee91600160f81b946153b0565b9190818310612ef557600160f81b94612eec836112ee95033383615772565b94509091612ebc565b606460405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b50506102df613686565b608060031936011261047857612f57613700565b612f5f613716565b604435906064359260045492612f7b60028560f81c14156139f4565b600160f91b6001600160f81b03809516176004556001600160a01b0380931692807f000000000000000000000000000000000000000000000000000000000000000016840361324e57811561322457836131a857813403613164575b612fe082614ce5565b9580871061312d575082169182156130e95761300390612ffe613a8a565b613b80565b838511610fd257600454848616858216018581116130d557926020978193927fff0000000000000000000000000000000000000000000000000000000000000088600160f81b999897169116176004558181526002895260408120613069898254613c3e565b90557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef896040518a8152a360405190815285878201527f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d5960403392a46004541617600455604051908152f35b602488634e487b7160e01b81526011600452fd5b606460405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b86604491604051917fbc71f2ba00000000000000000000000000000000000000000000000000000000835260048301526024820152fd5b606460405162461bcd60e51b815260206004820152600c60248201527f657468206d69736d6174636800000000000000000000000000000000000000006044820152fd5b6040517f23b872dd0000000000000000000000000000000000000000000000000000000060208201523360248201523060448201528260648201526064815260a0810181811067ffffffffffffffff8211176132105760405261320b90856158a6565b612fd7565b602489634e487b7160e01b81526041600452fd5b60046040517fa907f2f0000000000000000000000000000000000000000000000000000000008152fd5b602484604051907faeabe7180000000000000000000000000000000000000000000000000000000082526004820152fd5b3461047857806003193601126104785760206001600160f81b0360045416604051908152f35b346104785760209081600319360112610478576132c0613700565b906132c9615080565b916132d48351613af3565b936001600160a01b0391821691835b85518110156133255780826132fa60019389613b6c565b511686526101998452604086208587528452604086205460801c61331e828a613b6c565b52016132e3565b604051838152806104e98186018a613740565b346104785780600319360112610478576133556020611030614965565b038173__$a7098bf20e819a81ac73f4e6e6693165f6$__5af49182156110f75780926133c5575b60206110b7846133c06133ae7f0000000000000000000000000000000000000000000000000000000000000000615b18565b6001600160f81b036004541690614cb2565b614cc5565b9091506020823d82116133f4575b816133e06020938361382d565b810103126104785750516110b7602061337c565b3d91506133d3565b3461047857604060031936011261047857613422613418613700565b6024359033615772565b602060405160018152f35b3461047857606060031936011261047857613446613700565b602435801515810361047457604435908115158203610428576001600160a01b03928391613478838754163314613a3f565b1561353757169081159081159161352f575b50156134eb578083549283167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08580a37fffffffffffffffffffffffff00000000000000000000000000000000000000008092161782556001541660015580f35b606460405162461bcd60e51b815260206004820152601560248201527f4f776e61626c653a207a65726f206164647265737300000000000000000000006044820152fd5b90508461348a565b915050167fffffffffffffffffffffffff0000000000000000000000000000000000000000600154161760015580f35b90346104785780600319360112610478578060055461358581615376565b8085529160019180831690811561186657506001146135ae576104e9856117f78187038261382d565b9250600583527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db05b8284106135f15750505081016020016117f7826104e96117e7565b805460208587018101919091529093019281016135d6565b919082519283825260005b848110613635575050601f19601f8460006020809697860101520116010190565b602081830181015184830182015201613614565b90815180825260208080930193019160005b828110613669575050505090565b83516001600160a01b03168552938101939281019260010161365b565b50346136fb5760006003193601126136fb576104e96040516136a7816137f5565b60018152602036818301376136bb81613b49565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169052604051918291602083526020830190613649565b600080fd5b600435906001600160a01b03821682036136fb57565b602435906001600160a01b03821682036136fb57565b35906001600160a01b03821682036136fb57565b90815180825260208080930193019160005b828110613760575050505090565b835185529381019392810192600101613752565b60031960409101126136fb576004359060243590565b60c0810190811067ffffffffffffffff8211176137a657604052565b634e487b7160e01b600052604160045260246000fd5b6060810190811067ffffffffffffffff8211176137a657604052565b610120810190811067ffffffffffffffff8211176137a657604052565b6040810190811067ffffffffffffffff8211176137a657604052565b6080810190811067ffffffffffffffff8211176137a657604052565b90601f601f19910116810190811067ffffffffffffffff8211176137a657604052565b60031960c09101126136fb576040519060c0820182811067ffffffffffffffff8211176137a657604052816004358152602435602082015260443560408201526064356060820152608435608082015260a060a435910152565b50346136fb5760206003193601126136fb5760206138c6613700565b604051906001600160a01b03807f0000000000000000000000000000000000000000000000000000000000000000169116148152f35b60a060406102a09261393785825160808091805184526020810151602085015260408101516040850152606081015160608501520151910152565b8160208201516139a485880182518051825260208101516020830152604081015160408301526001600160a01b0360608201511660608301526080810151608083015260a081015160a083015260c081015160c083015260e081015160e083015261010080910151910152565b60208101516101c088015201516101e08601520151805161020085015260208101516102208501526040810151610240850152606081015161026085015260808101516102808501520151910152565b156139fb57565b606460405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152fd5b15613a4657565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b60ff6101345416613a9757565b606460405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152fd5b67ffffffffffffffff81116137a65760051b60200190565b90613afd82613adb565b613b0a604051918261382d565b828152601f19613b1a8294613adb565b0190602036910137565b6000198114613b335760010190565b634e487b7160e01b600052601160045260246000fd5b805115613b565760200190565b634e487b7160e01b600052603260045260246000fd5b8051821015613b565760209160051b010190565b613b88613c4b565b90805115613bc4576001600160a01b0383168015159081613bb9575b50613bae57505050565b613bb792614057565b565b905030141538613ba4565b505050565b613bd1613c4b565b91815115613c2b576001600160a01b039083838383168015159081613c20575b50613c0f575b50505083168015159081613bb95750613bae57505050565b613c1892614057565b388383613bf7565b905030141538613bf1565b50505050565b91908203918211613b3357565b91908201809211613b3357565b613c53615080565b90613c5e8251613af3565b8251156140545761019a80544303613cd0575b506000805b8451811015613ccb57806001600160a01b03613c95613cc69388613b6c565b5116835261019b6020526fffffffffffffffffffffffffffffffff604084205416613cc08286613b6c565b52613b24565b613c76565b505090565b43905560046001600160f81b03815416906040918251917f7d24da4d000000000000000000000000000000000000000000000000000000008352308184015260019360249185838601528560448601526000916001600160a01b03958381606481838b7f0000000000000000000000000000000000000000000000000000000000000000165af18015613fee57614012575b5080517f9262187b000000000000000000000000000000000000000000000000000000008152308382015283818681838b7f0000000000000000000000000000000000000000000000000000000000000000165af18015613fee57613ff8575b5080517fef5cfb8c000000000000000000000000000000000000000000000000000000008152308382015283818681838b7f0000000000000000000000000000000000000000000000000000000000000000165af18015613fee57613fcc575b50869583861515985b613e3d575b5050505050505050613c71565b8b51811015613fc75782898d8a613e6c86613e658782613e5d8288613b6c565b511695613b6c565b5116615b18565b91808a5261019b90602090828252613e8d878d205495608096871c90613c31565b95818d528383528c6fffffffffffffffffffffffffffffffff988991205416948515613fbf575b50613f79575b868411613f75578b525283878a2091167fffffffffffffffffffffffffffffffff0000000000000000000000000000000082541617905582821161276557828689209216908254901c01918211613f635791613f57613f5c928b9594906fffffffffffffffffffffffffffffffff7fffffffffffffffffffffffffffffffff0000000000000000000000000000000083549260801b169116179055565b613b24565b9091613e2b565b8787601188634e487b7160e01b835252fd5b8b80fd5b92670de0b6b3a7640000808702908782041487151715613fad5790613fa18f613fa793614cc5565b90613c3e565b92613eba565b8d8d60118e634e487b7160e01b835252fd5b94508f613eb4565b613e30565b613fe7903d8086833e613fdf818361382d565b81019061505a565b5038613e22565b82513d86823e3d90fd5b61400b903d8086833e613fdf818361382d565b5038613dc2565b3d8085833e614021818361382d565b81019082818303126104705760208101519067ffffffffffffffff8211610fd25761404d929101614ffc565b5038613d62565b90565b909291926001600160a01b038083169283151580614233575b1561421d57614093906001600160a01b0316600052600260205260406000205490565b9160005b815181101561421457826140ab8284613b6c565b5116906140b88189613b6c565b5182600052610199906020908282526040806000208a60005283526fffffffffffffffffffffffffffffffff9182826000205416801561420c575b8181146141fc57670de0b6b3a76400006141196141136141389385613c31565b8d614cb2565b0488600052868652836000208d6000528652836000205460801c613c3e565b918382116136fb578383116136fb578051948186019686881067ffffffffffffffff8911176137a6576141f799868095613f579a86521688528483890196168652600052815281600020908d600052526000209351167fffffffffffffffffffffffffffffffff0000000000000000000000000000000084541617835551166fffffffffffffffffffffffffffffffff7fffffffffffffffffffffffffffffffff0000000000000000000000000000000083549260801b169116179055565b614097565b5050505050506141f79150613b24565b5060016140f3565b50505050509050565b634e487b7160e01b600052600160045260246000fd5b5030841415614070565b614245615080565b906142508251613af3565b91600090815b8151811015613bc457806001600160a01b0361427460019385613b6c565b5116845261019b6020526fffffffffffffffffffffffffffffffff60408520541661429f8288613b6c565b5201614256565b156142ad57565b608460405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152fd5b91908260409103126136fb576020825192015190565b67ffffffffffffffff81116137a657601f01601f191660200190565b1561435057565b608460405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152fd5b6040519060a0820182811067ffffffffffffffff8211176137a65760405260006080838281528260208201528260408201528260608201520152565b60405190614403826137bc565b816040805191614412836137d8565b60009283815283602082015283838201528360608201528360808201528360a08201528360c08201528360e08201528361010082015281528260208201520152565b604090815191614463836137bc565b61446b6143ba565b8352602083016144796143f6565b815281840190825161448a8161378a565b6000808252806020830152808583015280606083015280608083015260a08201528252846144b6614965565b90526144c0614517565b90528151916144ce8361378a565b61020054835261020154602084015261020254908301526102035460608301526102045460808301526102055460a083015252565b51906001600160a01b03821682036136fb57565b61451f6143f6565b90604080517f794052f30000000000000000000000000000000000000000000000000000000081526001600160a01b03600491817f000000000000000000000000000000000000000000000000000000000000000016838201526101208082602481867f0000000000000000000000000000000000000000000000000000000000000000165afa908115614942576000916148b1575b5086525082517fafd27bf5000000000000000000000000000000000000000000000000000000008152602092907f000000000000000000000000000000000000000000000000000000000000000083169084818481855afa9081156148a657600091614871575b508551927fd2a3584e00000000000000000000000000000000000000000000000000000000845285848281865afa93841561486657600094614837575b5086517f516399df00000000000000000000000000000000000000000000000000000000815260009387828481845afa91821561482d5790889493929186926147fe575b508161474a575b50156146bc57505050509050905b8401524290830152565b8751809681937f3ba0b9a9000000000000000000000000000000000000000000000000000000008352165afa92831561473e57819361470f575b50508082111561470857505b906146b2565b9050614702565b9092508381813d8311614737575b614727818361382d565b81010312610474575191386146f6565b503d61471d565b508451903d90823e3d90fd5b82939491508951928380927f60e0a9e10000000000000000000000000000000000000000000000000000000082525afa9081156147f457908793929185916147a8575b506fffffffffffffffffffffffffffffffff164314386146a4565b848193949592503d83116147ed575b6147c1818361382d565b8101031261042857516fffffffffffffffffffffffffffffffff8116810361042857908692913861478d565b503d6147b7565b88513d86823e3d90fd5b61481f919250853d8711614826575b614817818361382d565b81019061494d565b903861469d565b503d61480d565b89513d87823e3d90fd5b90938682813d831161485f575b61484e818361382d565b810103126104785750519238614659565b503d614844565b87513d6000823e3d90fd5b908582813d831161489f575b614887818361382d565b81010312610478575061489990614503565b3861461c565b503d61487d565b86513d6000823e3d90fd5b82813d831161493b575b6148c5818361382d565b8101031261047857508351906148da826137d8565b805182526020810151602083015284810151858301526148fc60608201614503565b60608301526080810151608083015260a081015160a083015260c081015160c083015260e081015160e0830152610100809101519082015280386145b5565b503d6148bb565b85513d6000823e3d90fd5b908160209103126136fb575180151581036136fb5790565b61496d6143ba565b906149977f0000000000000000000000000000000000000000000000000000000000000000615b18565b82526149c27f0000000000000000000000000000000000000000000000000000000000000000615b18565b60608301526149f07f0000000000000000000000000000000000000000000000000000000000000000615b18565b6020830152614a1e7f0000000000000000000000000000000000000000000000000000000000000000615b18565b6040830152610206546080830152565b614a36614454565b614a6a604051917fa76541e500000000000000000000000000000000000000000000000000000000835260048301906138fc565b6020816102c4816001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000165afa908115614b2c57600091614afb575b5061020680547f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81116136fb5760008382019384129112908015821691151617613b3357600082126136fb5755565b906020823d8211614b24575b81614b146020938361382d565b8101031261047857505138614aac565b3d9150614b07565b6040513d6000823e3d90fd5b916020613bb79294936001600160a01b0360c0820196168152019060808091805184526020810151602085015260408101516040850152606081015160608501520151910152565b90929160406101e091614bc08461020081019760808091805184526020810151602085015260408101516040850152606081015160608501520151910152565b614c2860a0850182518051825260208101516020830152604081015160408301526001600160a01b0360608201511660608301526080810151608083015260a081015160a083015260c081015160c083015260e081015160e083015261010080910151910152565b60208101516101c08501520151910152565b15614ca557614c4c6020611030614965565b038173__$a7098bf20e819a81ac73f4e6e6693165f6$__5af4908115614b2c57600091614c77575090565b906020823d8211614c9d575b81614c906020938361382d565b8101031261047857505190565b3d9150614c83565b614c4c60206129f5614965565b81810292918115918404141715613b3357565b8115614ccf570490565b634e487b7160e01b600052601260045260246000fd5b614ced614965565b90614cf6614517565b6001600160f81b0392836004541615614e745773__$a7098bf20e819a81ac73f4e6e6693165f6$__91604051927fe2102e67000000000000000000000000000000000000000000000000000000008452602092838580614d7a847f000000000000000000000000000000000000000000000000000000000000000060048401614b38565b0381855af4948515614b2c57600095614e45575b50918391614dcb936040518095819482937fb1ef9e5000000000000000000000000000000000000000000000000000000000845260048401614b80565b03915af4918215614b2c57600092614e12575b505091614e0461224e926140549594808211600014614e0a5750935b6004541682614cb2565b92613c31565b905093614dfa565b81819392933d8311614e3e575b614e29818361382d565b81010312610478575051614e0461224e614dde565b503d614e1f565b90948482813d8311614e6d575b614e5c818361382d565b810103126104785750519383614d8e565b503d614e52565b5050905090565b6001600160f81b03600454168015614ff857614e95614965565b614e9d614517565b9073__$a7098bf20e819a81ac73f4e6e6693165f6$__91604051927fe2102e67000000000000000000000000000000000000000000000000000000008452602092838580614f0f847f000000000000000000000000000000000000000000000000000000000000000060048401614b38565b0381855af4948515614b2c57600095614fc9575b50918391614f60936040518095819482937fb1ef9e5000000000000000000000000000000000000000000000000000000000845260048401614b80565b03915af4918215614b2c57600092614f98575b5050916133c0916140549493808211600014614f90575092614cb2565b905092614cb2565b81819392933d8311614fc2575b614faf818361382d565b8101031261047857505181614054614f73565b503d614fa5565b90948482813d8311614ff1575b614fe0818361382d565b810103126104785750519383614f23565b503d614fd6565b5090565b81601f820112156136fb5780519161501383613adb565b92615021604051948561382d565b808452602092838086019260051b8201019283116136fb578301905b82821061504b575050505090565b8151815290830190830161503d565b906020828203126136fb57815167ffffffffffffffff81116136fb576140549201614ffc565b6040519061508d826137f5565b60018252602036818401376150a182613b49565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169052565b606b54606c546040519060208201927f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f8452604083015260608201524660808201523060a082015260a081526151248161378a565b51902090565b60058110156152b8578061513b5750565b6001810361518757606460405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152fd5b600281036151d357606460405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152fd5b6003810361524557608460405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152fd5b60041461524e57565b608460405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152fd5b634e487b7160e01b600052602160045260246000fd5b9291907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831161536a5760ff16601b8114158061535f575b615353579160809493916020936040519384528484015260408301526060820152600093849182805260015afa156127235781516001600160a01b0381161561534d579190565b50600190565b50505050600090600490565b50601c811415615306565b50505050600090600390565b90600182811c921680156153a6575b602083101461539057565b634e487b7160e01b600052602260045260246000fd5b91607f1691615385565b90916001600160a01b03918281169283156155635784169384156154f9578484146154b5576153e6916153e1613a8a565b613bc9565b6000828152600260205260408120549180831061544b57604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef95876020965260028652038282205586815220615440828254613c3e565b9055604051908152a3565b608460405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152fd5b606460405162461bcd60e51b815260206004820152601760248201527f45524332303a207472616e7366657220746f2073656c660000000000000000006044820152fd5b608460405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152fd5b6001600160a01b038116908115615708576155ea90612ffe613a8a565b6000918183526002602052604083205481811061569e57819083855260026020520360408420556001600160f81b0380821161042857600454908083168183160381811161568a57917fff000000000000000000000000000000000000000000000000000000000000007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef949260209416911617600455604051908152a3565b602486634e487b7160e01b81526011600452fd5b608460405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152fd5b6001600160a01b0380911691821561583d57169182156157d35760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260038252604060002085600052825280604060002055604051908152a3565b608460405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152fd5b608460405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152fd5b6001600160a01b031690604051906158bd826137f5565b6020928383527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656484840152803b1561599e576000828192828761590f9796519301915af16159096159e2565b90615a12565b8051908161591c57505050565b828061592c93830101910161494d565b156159345750565b6084906040519062461bcd60e51b82526004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152fd5b6064846040519062461bcd60e51b82526004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152fd5b3d15615a0d573d906159f38261432d565b91615a01604051938461382d565b82523d6000602084013e565b606090565b90919015615a1e575090565b815115615a2e5750805190602001fd5b615a529060405191829162461bcd60e51b8352602060048401526024830190613609565b0390fd5b8215613bc4576001600160a01b039081169081615acc575050600080809381935af1615a806159e2565b5015615a8857565b606460405162461bcd60e51b815260206004820152600f60248201527f6574682073656e64206661696c656400000000000000000000000000000000006044820152fd5b92613bb793604051937fa9059cbb000000000000000000000000000000000000000000000000000000006020860152166024840152604483015260448252615b1382613811565b6158a6565b6000906001600160a01b031680615b2f5750504790565b6020602491604051928380927f70a082310000000000000000000000000000000000000000000000000000000082523060048301525afa9182156110f7578092615b7857505090565b9091506020823d8211614c9d5781614c906020938361382d565b906001600160a01b0391828116908115613c2b576040918251809581957fdd62ed3e0000000000000000000000000000000000000000000000000000000083523060048401521691826024830152602096879160449788915afa8015615dda57600090615da1575b6b7fffffffffffffffffffffff915010615c16575b5050505050565b8251906000808784017f095ea7b300000000000000000000000000000000000000000000000000000000948582528460248201528289820152888152615c5b81613811565b519082875af1615c696159e2565b81615d71575b5015615d2f579160009291838093865190898201938452602482015260001988820152878152615c9e81613811565b51925af1615caa6159e2565b81615cff575b5015615cbd578080615c0f565b606492917f5361666520417070726f7665000000000000000000000000000000000000000091519262461bcd60e51b84526004840152600c6024840152820152fd5b80518015925085908315615d17575b50505038615cb0565b615d27935082018101910161494d565b388481615d0e565b6064867f5361666520417070726f766500000000000000000000000000000000000000008787519262461bcd60e51b84526004840152600c6024840152820152fd5b80518015925088908315615d89575b50505038615c6f565b615d99935082018101910161494d565b388781615d80565b8682813d8311615dd3575b615db6818361382d565b8101031261047857506b7fffffffffffffffffffffff9051615bfa565b503d615dac565b84513d6000823e3d90fdfea264697066735822122046e4b032268bfa3bfb6409da0c936067c52cc6d1841d0d8292c9e0ff8fd05d7764736f6c63430008110033";
2049
-
2050
- type LongYieldTradingBotConstructorParams =
2051
- | [linkLibraryAddresses: LongYieldTradingBotLibraryAddresses, signer?: Signer]
2052
- | ConstructorParameters<typeof ContractFactory>;
2053
-
2054
- const isSuperArgs = (
2055
- xs: LongYieldTradingBotConstructorParams
2056
- ): xs is ConstructorParameters<typeof ContractFactory> => {
2057
- return (
2058
- typeof xs[0] === "string" ||
2059
- (Array.isArray as (arg: any) => arg is readonly any[])(xs[0]) ||
2060
- "_isInterface" in xs[0]
2061
- );
2062
- };
2063
-
2064
- export class LongYieldTradingBot__factory extends ContractFactory {
2065
- constructor(...args: LongYieldTradingBotConstructorParams) {
2066
- if (isSuperArgs(args)) {
2067
- super(...args);
2068
- } else {
2069
- const [linkLibraryAddresses, signer] = args;
2070
- super(
2071
- _abi,
2072
- LongYieldTradingBot__factory.linkBytecode(linkLibraryAddresses),
2073
- signer
2074
- );
2075
- }
2076
- this.contractName = "LongYieldTradingBot";
2077
- }
2078
-
2079
- static linkBytecode(
2080
- linkLibraryAddresses: LongYieldTradingBotLibraryAddresses
2081
- ): string {
2082
- let linkedBytecode = _bytecode;
2083
-
2084
- linkedBytecode = linkedBytecode.replace(
2085
- new RegExp("__\\$4841977b5e630d8d12d7143ab50b0fe229\\$__", "g"),
2086
- linkLibraryAddresses[
2087
- "contracts/core/TradingBot/libraries/LongYieldActionLib.sol:LongYieldActionLib"
2088
- ]
2089
- .replace(/^0x/, "")
2090
- .toLowerCase()
2091
- );
2092
-
2093
- linkedBytecode = linkedBytecode.replace(
2094
- new RegExp("__\\$a7098bf20e819a81ac73f4e6e6693165f6\\$__", "g"),
2095
- linkLibraryAddresses[
2096
- "contracts/core/TradingBot/libraries/TvlLib.sol:TvlLib"
2097
- ]
2098
- .replace(/^0x/, "")
2099
- .toLowerCase()
2100
- );
2101
-
2102
- return linkedBytecode;
2103
- }
2104
-
2105
- deploy(
2106
- _market: string,
2107
- _router: string,
2108
- _PENDLE: string,
2109
- _decisionHelper: string,
2110
- overrides?: Overrides & { from?: string | Promise<string> }
2111
- ): Promise<LongYieldTradingBot> {
2112
- return super.deploy(
2113
- _market,
2114
- _router,
2115
- _PENDLE,
2116
- _decisionHelper,
2117
- overrides || {}
2118
- ) as Promise<LongYieldTradingBot>;
2119
- }
2120
- getDeployTransaction(
2121
- _market: string,
2122
- _router: string,
2123
- _PENDLE: string,
2124
- _decisionHelper: string,
2125
- overrides?: Overrides & { from?: string | Promise<string> }
2126
- ): TransactionRequest {
2127
- return super.getDeployTransaction(
2128
- _market,
2129
- _router,
2130
- _PENDLE,
2131
- _decisionHelper,
2132
- overrides || {}
2133
- );
2134
- }
2135
- attach(address: string): LongYieldTradingBot {
2136
- return super.attach(address) as LongYieldTradingBot;
2137
- }
2138
- connect(signer: Signer): LongYieldTradingBot__factory {
2139
- return super.connect(signer) as LongYieldTradingBot__factory;
2140
- }
2141
- static readonly contractName: "LongYieldTradingBot";
2142
- public readonly contractName: "LongYieldTradingBot";
2143
- static readonly bytecode = _bytecode;
2144
- static readonly abi = _abi;
2145
- static createInterface(): LongYieldTradingBotInterface {
2146
- return new utils.Interface(_abi) as LongYieldTradingBotInterface;
2147
- }
2148
- static connect(
2149
- address: string,
2150
- signerOrProvider: Signer | Provider
2151
- ): LongYieldTradingBot {
2152
- return new Contract(address, _abi, signerOrProvider) as LongYieldTradingBot;
2153
- }
2154
- }
2155
-
2156
- export interface LongYieldTradingBotLibraryAddresses {
2157
- ["contracts/core/TradingBot/libraries/LongYieldActionLib.sol:LongYieldActionLib"]: string;
2158
- ["contracts/core/TradingBot/libraries/TvlLib.sol:TvlLib"]: string;
2159
- }