@pendle/core-v2 2.22.1 → 2.22.2

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