@pendle/core-v2 2.20.0 → 2.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (358) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
  10. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  13. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  15. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  24. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.json +0 -19
  33. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -21
  35. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  37. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAPoolHelper.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAWethHelper.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol/LinearMath.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.dbg.json +1 -1
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  75. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
  76. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  77. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.dbg.json +1 -1
  78. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  79. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  80. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
  81. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
  82. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  83. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  84. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  85. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  86. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  87. package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
  88. package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
  89. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
  90. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
  91. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  92. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  93. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  94. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  95. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  96. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  97. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  98. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  99. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  100. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  101. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  102. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  103. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  104. package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/Balancer/IERC4626LinearPool.sol/IERC4626LinearPool.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/Camelot/ICamelotFactory.sol/ICamelotFactory.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTFactory.sol/ICamelotNFTFactory.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTHandler.sol/ICamelotNFTHandler.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/Camelot/ICamelotRouter.sol/ICamelotRouter.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/Camelot/ICamelotYieldBooster.sol/ICamelotYieldBooster.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/Camelot/IXGrail.sol/IXGrail.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/Frax/IFrxEthMinter.sol/IFrxEthMinter.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  144. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
  147. package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
  148. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  149. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  150. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  151. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  153. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  154. package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
  155. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  156. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  157. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  158. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  159. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  160. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  161. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
  162. package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +1 -1
  163. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  164. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  165. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  166. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.json +0 -19
  167. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  168. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  169. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  170. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  171. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  172. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +0 -19
  173. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  174. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  175. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  176. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  177. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  178. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  179. package/build/artifacts/contracts/interfaces/IPPtOracle.sol/IPPtOracle.dbg.json +1 -1
  180. package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
  181. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  182. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  183. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  184. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  185. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  186. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  187. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  188. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  189. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  190. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  191. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  192. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  193. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  194. package/build/artifacts/contracts/interfaces/IStargateLP.sol/IStargateLP.dbg.json +1 -1
  195. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
  196. package/build/artifacts/contracts/interfaces/IStargateStaking.sol/IStargateStaking.dbg.json +1 -1
  197. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  198. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  199. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  200. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  201. package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  202. package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  203. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  204. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  205. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  206. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
  207. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.json +2 -2
  208. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  209. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  210. package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.dbg.json +1 -1
  211. package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.json +2 -2
  212. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  213. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  214. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  215. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  216. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  217. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  218. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  219. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  220. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  221. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  222. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  223. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  224. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  225. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  226. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  227. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  228. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
  229. package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.json +2 -2
  230. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
  231. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.json +2 -2
  232. package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +1 -1
  233. package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.json +2 -2
  234. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
  235. package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.json +2 -2
  236. package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.dbg.json +1 -1
  237. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  238. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
  239. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  240. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
  241. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  242. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  243. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  244. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  245. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  246. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  247. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  248. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +2 -2
  249. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  250. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  251. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  252. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  253. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  254. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  255. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  256. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  257. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
  258. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IHashflow.sol/IHashflow.dbg.json +1 -1
  259. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  260. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol/KyberInputScalingHelper.dbg.json +1 -1
  261. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
  262. package/deployments/56-offchain-helper.json +1 -1
  263. package/package.json +1 -1
  264. package/typechain-types/{ThenaPreview.ts → CamelotV1PreviewHelper.ts} +63 -42
  265. package/typechain-types/IPGauge.ts +3 -23
  266. package/typechain-types/IPMarket.ts +0 -18
  267. package/typechain-types/IPVotingEscrowSidechain.ts +155 -0
  268. package/typechain-types/PendleCamelotRewardHelper.ts +347 -0
  269. package/typechain-types/{ThenaLpHelper.ts → PendleCamelotV1RouterHelper.ts} +5 -63
  270. package/typechain-types/PendleCamelotV1SY.ts +0 -245
  271. package/typechain-types/PendleGauge.ts +3 -23
  272. package/typechain-types/PendleMarket.ts +0 -18
  273. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
  274. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  275. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  276. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  277. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  278. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  279. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  280. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
  281. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  282. package/typechain-types/factories/CamelotV1PreviewHelper__factory.ts +400 -0
  283. package/typechain-types/factories/IPGauge__factory.ts +0 -19
  284. package/typechain-types/factories/IPMarket__factory.ts +0 -19
  285. package/typechain-types/factories/IPVotingEscrowSidechain__factory.ts +112 -0
  286. package/typechain-types/factories/PendleCamelotRewardHelper__factory.ts +317 -0
  287. package/typechain-types/factories/{ThenaLpHelper__factory.ts → PendleCamelotV1RouterHelper__factory.ts} +13 -58
  288. package/typechain-types/factories/PendleCamelotV1SY__factory.ts +9 -156
  289. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  290. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  291. package/typechain-types/factories/PendleGauge__factory.ts +0 -19
  292. package/typechain-types/factories/PendleLpGlpOracle__factory.ts +1 -1
  293. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  294. package/typechain-types/factories/PendleMarket__factory.ts +1 -20
  295. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  296. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  297. package/typechain-types/factories/PendlePtGlpOracle__factory.ts +1 -1
  298. package/typechain-types/factories/PendlePtOracle__factory.ts +1 -1
  299. package/typechain-types/factories/PendleRouterHelper__factory.ts +1 -1
  300. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  301. package/typechain-types/factories/PtAndLpToAsset__factory.ts +1 -1
  302. package/typechain-types/hardhat.d.ts +0 -144
  303. package/typechain-types/index.ts +0 -32
  304. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.dbg.json +0 -4
  305. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.json +0 -979
  306. package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.dbg.json +0 -4
  307. package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.json +0 -42
  308. package/typechain-types/BotActionCallback.ts +0 -763
  309. package/typechain-types/BotActionHelper.ts +0 -763
  310. package/typechain-types/BotDecisionHelper.ts +0 -527
  311. package/typechain-types/BotDecisionLib.ts +0 -335
  312. package/typechain-types/CamelotV1LpHelper.ts +0 -203
  313. package/typechain-types/CamelotV1Preview.ts +0 -431
  314. package/typechain-types/IBotDecisionHelper.ts +0 -507
  315. package/typechain-types/ICamelotSY.ts +0 -100
  316. package/typechain-types/ILongYieldTradingBot.ts +0 -1008
  317. package/typechain-types/IPendlePreviewHelper.ts +0 -147
  318. package/typechain-types/IThenaFactory.ts +0 -245
  319. package/typechain-types/IThenaGaugeV2.ts +0 -206
  320. package/typechain-types/IThenaPair.ts +0 -579
  321. package/typechain-types/IThenaRouter.ts +0 -313
  322. package/typechain-types/IThenaSY.ts +0 -81
  323. package/typechain-types/ITradingBotBase.ts +0 -523
  324. package/typechain-types/IWBETH.ts +0 -128
  325. package/typechain-types/LongYieldTradingBot.ts +0 -1468
  326. package/typechain-types/MarketExtLib.ts +0 -81
  327. package/typechain-types/PendleBinanceEth.ts +0 -1229
  328. package/typechain-types/PendleThenaSY.ts +0 -1598
  329. package/typechain-types/PendleWbEthSY.ts +0 -1229
  330. package/typechain-types/ThenaMath.ts +0 -87
  331. package/typechain-types/TradingBotBase.ts +0 -719
  332. package/typechain-types/TradingBotOffchain.ts +0 -568
  333. package/typechain-types/factories/BotActionCallback__factory.ts +0 -678
  334. package/typechain-types/factories/BotActionHelper__factory.ts +0 -678
  335. package/typechain-types/factories/BotDecisionHelper__factory.ts +0 -1123
  336. package/typechain-types/factories/BotDecisionLib__factory.ts +0 -642
  337. package/typechain-types/factories/CamelotV1LpHelper__factory.ts +0 -143
  338. package/typechain-types/factories/CamelotV1Preview__factory.ts +0 -309
  339. package/typechain-types/factories/IBotDecisionHelper__factory.ts +0 -932
  340. package/typechain-types/factories/ICamelotSY__factory.ts +0 -49
  341. package/typechain-types/factories/ILongYieldTradingBot__factory.ts +0 -1172
  342. package/typechain-types/factories/IPendlePreviewHelper__factory.ts +0 -78
  343. package/typechain-types/factories/IThenaFactory__factory.ts +0 -164
  344. package/typechain-types/factories/IThenaGaugeV2__factory.ts +0 -83
  345. package/typechain-types/factories/IThenaPair__factory.ts +0 -421
  346. package/typechain-types/factories/IThenaRouter__factory.ts +0 -200
  347. package/typechain-types/factories/IThenaSY__factory.ts +0 -36
  348. package/typechain-types/factories/ITradingBotBase__factory.ts +0 -455
  349. package/typechain-types/factories/IWBETH__factory.ts +0 -51
  350. package/typechain-types/factories/LongYieldTradingBot__factory.ts +0 -1836
  351. package/typechain-types/factories/MarketExtLib__factory.ts +0 -74
  352. package/typechain-types/factories/PendleBinanceEth__factory.ts +0 -1052
  353. package/typechain-types/factories/PendleThenaSY__factory.ts +0 -1352
  354. package/typechain-types/factories/PendleWbEthSY__factory.ts +0 -1049
  355. package/typechain-types/factories/ThenaMath__factory.ts +0 -36
  356. package/typechain-types/factories/ThenaPreview__factory.ts +0 -319
  357. package/typechain-types/factories/TradingBotBase__factory.ts +0 -628
  358. package/typechain-types/factories/TradingBotOffchain__factory.ts +0 -1133
@@ -1,1836 +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: "_PENDLE",
22
- type: "address",
23
- },
24
- {
25
- internalType: "address",
26
- name: "_decisionHelper",
27
- type: "address",
28
- },
29
- ],
30
- stateMutability: "nonpayable",
31
- type: "constructor",
32
- },
33
- {
34
- inputs: [],
35
- name: "ApproxFail",
36
- type: "error",
37
- },
38
- {
39
- inputs: [
40
- {
41
- internalType: "uint256",
42
- name: "guessMin",
43
- type: "uint256",
44
- },
45
- {
46
- internalType: "uint256",
47
- name: "guessMax",
48
- type: "uint256",
49
- },
50
- {
51
- internalType: "uint256",
52
- name: "eps",
53
- type: "uint256",
54
- },
55
- ],
56
- name: "ApproxParamsInvalid",
57
- type: "error",
58
- },
59
- {
60
- inputs: [
61
- {
62
- internalType: "address",
63
- name: "caller",
64
- type: "address",
65
- },
66
- ],
67
- name: "BotCallbackNotMarket",
68
- type: "error",
69
- },
70
- {
71
- inputs: [
72
- {
73
- internalType: "uint256",
74
- name: "actualLpToRemove",
75
- type: "uint256",
76
- },
77
- {
78
- internalType: "uint256",
79
- name: "limitLpToRemove",
80
- type: "uint256",
81
- },
82
- ],
83
- name: "BotExceededLimitLpToRemove",
84
- type: "error",
85
- },
86
- {
87
- inputs: [
88
- {
89
- internalType: "uint256",
90
- name: "actualSyIn",
91
- type: "uint256",
92
- },
93
- {
94
- internalType: "uint256",
95
- name: "limitSyIn",
96
- type: "uint256",
97
- },
98
- ],
99
- name: "BotExceededLimitSyIn",
100
- type: "error",
101
- },
102
- {
103
- inputs: [
104
- {
105
- internalType: "uint256",
106
- name: "actualYtIn",
107
- type: "uint256",
108
- },
109
- {
110
- internalType: "uint256",
111
- name: "limitYtIn",
112
- type: "uint256",
113
- },
114
- ],
115
- name: "BotExceededLimitYtIn",
116
- type: "error",
117
- },
118
- {
119
- inputs: [
120
- {
121
- internalType: "uint256",
122
- name: "actualLpOut",
123
- type: "uint256",
124
- },
125
- {
126
- internalType: "uint256",
127
- name: "requiredLpOut",
128
- type: "uint256",
129
- },
130
- ],
131
- name: "BotInsufficientLpOut",
132
- type: "error",
133
- },
134
- {
135
- inputs: [
136
- {
137
- internalType: "uint256",
138
- name: "actualSyOut",
139
- type: "uint256",
140
- },
141
- {
142
- internalType: "uint256",
143
- name: "requiredSyOut",
144
- type: "uint256",
145
- },
146
- ],
147
- name: "BotInsufficientSyOut",
148
- type: "error",
149
- },
150
- {
151
- inputs: [
152
- {
153
- internalType: "uint256",
154
- name: "actualYtOut",
155
- type: "uint256",
156
- },
157
- {
158
- internalType: "uint256",
159
- name: "requiredYtOut",
160
- type: "uint256",
161
- },
162
- ],
163
- name: "BotInsufficientYtOut",
164
- type: "error",
165
- },
166
- {
167
- inputs: [
168
- {
169
- internalType: "int256",
170
- name: "exchangeRate",
171
- type: "int256",
172
- },
173
- ],
174
- name: "MarketExchangeRateBelowOne",
175
- type: "error",
176
- },
177
- {
178
- inputs: [],
179
- name: "MarketExpired",
180
- type: "error",
181
- },
182
- {
183
- inputs: [
184
- {
185
- internalType: "int256",
186
- name: "currentAmount",
187
- type: "int256",
188
- },
189
- {
190
- internalType: "int256",
191
- name: "requiredAmount",
192
- type: "int256",
193
- },
194
- ],
195
- name: "MarketInsufficientPtForTrade",
196
- type: "error",
197
- },
198
- {
199
- inputs: [],
200
- name: "MarketProportionMustNotEqualOne",
201
- type: "error",
202
- },
203
- {
204
- inputs: [
205
- {
206
- internalType: "int256",
207
- name: "proportion",
208
- type: "int256",
209
- },
210
- {
211
- internalType: "int256",
212
- name: "maxProportion",
213
- type: "int256",
214
- },
215
- ],
216
- name: "MarketProportionTooHigh",
217
- type: "error",
218
- },
219
- {
220
- inputs: [
221
- {
222
- internalType: "int256",
223
- name: "rateScalar",
224
- type: "int256",
225
- },
226
- ],
227
- name: "MarketRateScalarBelowZero",
228
- type: "error",
229
- },
230
- {
231
- inputs: [],
232
- name: "MarketZeroAmountsInput",
233
- type: "error",
234
- },
235
- {
236
- inputs: [],
237
- name: "MarketZeroAmountsOutput",
238
- type: "error",
239
- },
240
- {
241
- inputs: [],
242
- name: "MarketZeroLnImpliedRate",
243
- type: "error",
244
- },
245
- {
246
- inputs: [
247
- {
248
- internalType: "int256",
249
- name: "totalPt",
250
- type: "int256",
251
- },
252
- {
253
- internalType: "int256",
254
- name: "totalAsset",
255
- type: "int256",
256
- },
257
- ],
258
- name: "MarketZeroTotalPtOrTotalAsset",
259
- type: "error",
260
- },
261
- {
262
- anonymous: false,
263
- inputs: [
264
- {
265
- components: [
266
- {
267
- internalType: "uint256",
268
- name: "guessMin",
269
- type: "uint256",
270
- },
271
- {
272
- internalType: "uint256",
273
- name: "guessMax",
274
- type: "uint256",
275
- },
276
- {
277
- internalType: "uint256",
278
- name: "guessOffchain",
279
- type: "uint256",
280
- },
281
- {
282
- internalType: "uint256",
283
- name: "maxIteration",
284
- type: "uint256",
285
- },
286
- {
287
- internalType: "uint256",
288
- name: "eps",
289
- type: "uint256",
290
- },
291
- ],
292
- indexed: false,
293
- internalType: "struct ApproxParams",
294
- name: "botParams",
295
- type: "tuple",
296
- },
297
- {
298
- indexed: false,
299
- internalType: "uint256",
300
- name: "maxSyIn",
301
- type: "uint256",
302
- },
303
- {
304
- indexed: false,
305
- internalType: "uint256",
306
- name: "netSyIn",
307
- type: "uint256",
308
- },
309
- {
310
- indexed: false,
311
- internalType: "uint256",
312
- name: "netLpOut",
313
- type: "uint256",
314
- },
315
- ],
316
- name: "AddLiqFromSy",
317
- type: "event",
318
- },
319
- {
320
- anonymous: false,
321
- inputs: [
322
- {
323
- components: [
324
- {
325
- internalType: "uint256",
326
- name: "guessMin",
327
- type: "uint256",
328
- },
329
- {
330
- internalType: "uint256",
331
- name: "guessMax",
332
- type: "uint256",
333
- },
334
- {
335
- internalType: "uint256",
336
- name: "guessOffchain",
337
- type: "uint256",
338
- },
339
- {
340
- internalType: "uint256",
341
- name: "maxIteration",
342
- type: "uint256",
343
- },
344
- {
345
- internalType: "uint256",
346
- name: "eps",
347
- type: "uint256",
348
- },
349
- ],
350
- indexed: false,
351
- internalType: "struct ApproxParams",
352
- name: "botParams",
353
- type: "tuple",
354
- },
355
- {
356
- indexed: false,
357
- internalType: "uint256",
358
- name: "maxYtIn",
359
- type: "uint256",
360
- },
361
- {
362
- indexed: false,
363
- internalType: "uint256",
364
- name: "netYtIn",
365
- type: "uint256",
366
- },
367
- {
368
- indexed: false,
369
- internalType: "uint256",
370
- name: "netLpOut",
371
- type: "uint256",
372
- },
373
- ],
374
- name: "AddLiqFromYt",
375
- type: "event",
376
- },
377
- {
378
- anonymous: false,
379
- inputs: [
380
- {
381
- components: [
382
- {
383
- internalType: "uint256",
384
- name: "guessMin",
385
- type: "uint256",
386
- },
387
- {
388
- internalType: "uint256",
389
- name: "guessMax",
390
- type: "uint256",
391
- },
392
- {
393
- internalType: "uint256",
394
- name: "guessOffchain",
395
- type: "uint256",
396
- },
397
- {
398
- internalType: "uint256",
399
- name: "maxIteration",
400
- type: "uint256",
401
- },
402
- {
403
- internalType: "uint256",
404
- name: "eps",
405
- type: "uint256",
406
- },
407
- ],
408
- indexed: false,
409
- internalType: "struct ApproxParams",
410
- name: "botParams",
411
- type: "tuple",
412
- },
413
- {
414
- indexed: false,
415
- internalType: "uint256",
416
- name: "maxSyIn",
417
- type: "uint256",
418
- },
419
- {
420
- indexed: false,
421
- internalType: "uint256",
422
- name: "netSyIn",
423
- type: "uint256",
424
- },
425
- {
426
- indexed: false,
427
- internalType: "uint256",
428
- name: "netLpOut",
429
- type: "uint256",
430
- },
431
- {
432
- indexed: false,
433
- internalType: "uint256",
434
- name: "netYtOut",
435
- type: "uint256",
436
- },
437
- ],
438
- name: "AddLiqKeepYt",
439
- type: "event",
440
- },
441
- {
442
- anonymous: false,
443
- inputs: [
444
- {
445
- indexed: false,
446
- internalType: "address",
447
- name: "previousAdmin",
448
- type: "address",
449
- },
450
- {
451
- indexed: false,
452
- internalType: "address",
453
- name: "newAdmin",
454
- type: "address",
455
- },
456
- ],
457
- name: "AdminChanged",
458
- type: "event",
459
- },
460
- {
461
- anonymous: false,
462
- inputs: [
463
- {
464
- indexed: true,
465
- internalType: "address",
466
- name: "beacon",
467
- type: "address",
468
- },
469
- ],
470
- name: "BeaconUpgraded",
471
- type: "event",
472
- },
473
- {
474
- anonymous: false,
475
- inputs: [
476
- {
477
- indexed: false,
478
- internalType: "uint256",
479
- name: "netSyOut",
480
- type: "uint256",
481
- },
482
- {
483
- indexed: false,
484
- internalType: "uint256",
485
- name: "netPendleOut",
486
- type: "uint256",
487
- },
488
- ],
489
- name: "ClaimAndCompound",
490
- type: "event",
491
- },
492
- {
493
- anonymous: false,
494
- inputs: [
495
- {
496
- indexed: false,
497
- internalType: "uint256",
498
- name: "netSyIn",
499
- type: "uint256",
500
- },
501
- ],
502
- name: "DepositSy",
503
- type: "event",
504
- },
505
- {
506
- anonymous: false,
507
- inputs: [
508
- {
509
- indexed: true,
510
- internalType: "address",
511
- name: "token",
512
- type: "address",
513
- },
514
- {
515
- indexed: false,
516
- internalType: "uint256",
517
- name: "netTokenIn",
518
- type: "uint256",
519
- },
520
- ],
521
- name: "DepositToken",
522
- type: "event",
523
- },
524
- {
525
- anonymous: false,
526
- inputs: [
527
- {
528
- indexed: false,
529
- internalType: "uint8",
530
- name: "version",
531
- type: "uint8",
532
- },
533
- ],
534
- name: "Initialized",
535
- type: "event",
536
- },
537
- {
538
- anonymous: false,
539
- inputs: [
540
- {
541
- indexed: true,
542
- internalType: "address",
543
- name: "previousOwner",
544
- type: "address",
545
- },
546
- {
547
- indexed: true,
548
- internalType: "address",
549
- name: "newOwner",
550
- type: "address",
551
- },
552
- ],
553
- name: "OwnershipTransferred",
554
- type: "event",
555
- },
556
- {
557
- anonymous: false,
558
- inputs: [
559
- {
560
- components: [
561
- {
562
- internalType: "uint256",
563
- name: "guessMin",
564
- type: "uint256",
565
- },
566
- {
567
- internalType: "uint256",
568
- name: "guessMax",
569
- type: "uint256",
570
- },
571
- {
572
- internalType: "uint256",
573
- name: "guessOffchain",
574
- type: "uint256",
575
- },
576
- {
577
- internalType: "uint256",
578
- name: "maxIteration",
579
- type: "uint256",
580
- },
581
- {
582
- internalType: "uint256",
583
- name: "eps",
584
- type: "uint256",
585
- },
586
- ],
587
- indexed: false,
588
- internalType: "struct ApproxParams",
589
- name: "botParams",
590
- type: "tuple",
591
- },
592
- {
593
- indexed: false,
594
- internalType: "uint256",
595
- name: "maxLpRemoved",
596
- type: "uint256",
597
- },
598
- {
599
- indexed: false,
600
- internalType: "uint256",
601
- name: "netLpIn",
602
- type: "uint256",
603
- },
604
- {
605
- indexed: false,
606
- internalType: "uint256",
607
- name: "netYtOut",
608
- type: "uint256",
609
- },
610
- ],
611
- name: "RemoveLiqToYt",
612
- type: "event",
613
- },
614
- {
615
- anonymous: false,
616
- inputs: [
617
- {
618
- components: [
619
- {
620
- internalType: "uint256",
621
- name: "guessMin",
622
- type: "uint256",
623
- },
624
- {
625
- internalType: "uint256",
626
- name: "guessMax",
627
- type: "uint256",
628
- },
629
- {
630
- internalType: "uint256",
631
- name: "guessOffchain",
632
- type: "uint256",
633
- },
634
- {
635
- internalType: "uint256",
636
- name: "maxIteration",
637
- type: "uint256",
638
- },
639
- {
640
- internalType: "uint256",
641
- name: "eps",
642
- type: "uint256",
643
- },
644
- ],
645
- indexed: false,
646
- internalType: "struct ApproxParams",
647
- name: "botParams",
648
- type: "tuple",
649
- },
650
- {
651
- indexed: false,
652
- internalType: "uint256",
653
- name: "maxSyIn",
654
- type: "uint256",
655
- },
656
- {
657
- indexed: false,
658
- internalType: "uint256",
659
- name: "exactYtOut",
660
- type: "uint256",
661
- },
662
- {
663
- indexed: false,
664
- internalType: "uint256",
665
- name: "netSyIn",
666
- type: "uint256",
667
- },
668
- ],
669
- name: "SwapSyToYt",
670
- type: "event",
671
- },
672
- {
673
- anonymous: false,
674
- inputs: [
675
- {
676
- indexed: true,
677
- internalType: "address",
678
- name: "implementation",
679
- type: "address",
680
- },
681
- ],
682
- name: "Upgraded",
683
- type: "event",
684
- },
685
- {
686
- anonymous: false,
687
- inputs: [
688
- {
689
- indexed: true,
690
- internalType: "address",
691
- name: "token",
692
- type: "address",
693
- },
694
- {
695
- indexed: false,
696
- internalType: "uint256",
697
- name: "amount",
698
- type: "uint256",
699
- },
700
- ],
701
- name: "WithdrawFunds",
702
- type: "event",
703
- },
704
- {
705
- inputs: [],
706
- name: "PENDLE",
707
- outputs: [
708
- {
709
- internalType: "address",
710
- name: "",
711
- type: "address",
712
- },
713
- ],
714
- stateMutability: "view",
715
- type: "function",
716
- },
717
- {
718
- inputs: [],
719
- name: "PT",
720
- outputs: [
721
- {
722
- internalType: "address",
723
- name: "",
724
- type: "address",
725
- },
726
- ],
727
- stateMutability: "view",
728
- type: "function",
729
- },
730
- {
731
- inputs: [],
732
- name: "SY",
733
- outputs: [
734
- {
735
- internalType: "address",
736
- name: "",
737
- type: "address",
738
- },
739
- ],
740
- stateMutability: "view",
741
- type: "function",
742
- },
743
- {
744
- inputs: [],
745
- name: "YT",
746
- outputs: [
747
- {
748
- internalType: "address",
749
- name: "",
750
- type: "address",
751
- },
752
- ],
753
- stateMutability: "view",
754
- type: "function",
755
- },
756
- {
757
- inputs: [
758
- {
759
- components: [
760
- {
761
- internalType: "uint256",
762
- name: "guessMin",
763
- type: "uint256",
764
- },
765
- {
766
- internalType: "uint256",
767
- name: "guessMax",
768
- type: "uint256",
769
- },
770
- {
771
- internalType: "uint256",
772
- name: "guessOffchain",
773
- type: "uint256",
774
- },
775
- {
776
- internalType: "uint256",
777
- name: "maxIteration",
778
- type: "uint256",
779
- },
780
- {
781
- internalType: "uint256",
782
- name: "eps",
783
- type: "uint256",
784
- },
785
- ],
786
- internalType: "struct ApproxParams",
787
- name: "botParams",
788
- type: "tuple",
789
- },
790
- {
791
- internalType: "uint256",
792
- name: "minLpOut",
793
- type: "uint256",
794
- },
795
- {
796
- internalType: "uint256",
797
- name: "maxSyIn",
798
- type: "uint256",
799
- },
800
- ],
801
- name: "addLiqFromSy",
802
- outputs: [
803
- {
804
- internalType: "uint256",
805
- name: "netPtFromSwap",
806
- type: "uint256",
807
- },
808
- {
809
- internalType: "uint256",
810
- name: "netLpOut",
811
- type: "uint256",
812
- },
813
- {
814
- internalType: "uint256",
815
- name: "netSyIn",
816
- type: "uint256",
817
- },
818
- ],
819
- stateMutability: "nonpayable",
820
- type: "function",
821
- },
822
- {
823
- inputs: [
824
- {
825
- components: [
826
- {
827
- internalType: "uint256",
828
- name: "guessMin",
829
- type: "uint256",
830
- },
831
- {
832
- internalType: "uint256",
833
- name: "guessMax",
834
- type: "uint256",
835
- },
836
- {
837
- internalType: "uint256",
838
- name: "guessOffchain",
839
- type: "uint256",
840
- },
841
- {
842
- internalType: "uint256",
843
- name: "maxIteration",
844
- type: "uint256",
845
- },
846
- {
847
- internalType: "uint256",
848
- name: "eps",
849
- type: "uint256",
850
- },
851
- ],
852
- internalType: "struct ApproxParams",
853
- name: "botParams",
854
- type: "tuple",
855
- },
856
- {
857
- internalType: "uint256",
858
- name: "minLpOut",
859
- type: "uint256",
860
- },
861
- {
862
- internalType: "uint256",
863
- name: "maxYtIn",
864
- type: "uint256",
865
- },
866
- ],
867
- name: "addLiqFromYt",
868
- outputs: [
869
- {
870
- internalType: "uint256",
871
- name: "netPtFromSwap",
872
- type: "uint256",
873
- },
874
- {
875
- internalType: "uint256",
876
- name: "netLpOut",
877
- type: "uint256",
878
- },
879
- {
880
- internalType: "uint256",
881
- name: "netYtIn",
882
- type: "uint256",
883
- },
884
- ],
885
- stateMutability: "nonpayable",
886
- type: "function",
887
- },
888
- {
889
- inputs: [
890
- {
891
- internalType: "address",
892
- name: "router",
893
- type: "address",
894
- },
895
- {
896
- components: [
897
- {
898
- internalType: "uint256",
899
- name: "guessMin",
900
- type: "uint256",
901
- },
902
- {
903
- internalType: "uint256",
904
- name: "guessMax",
905
- type: "uint256",
906
- },
907
- {
908
- internalType: "uint256",
909
- name: "guessOffchain",
910
- type: "uint256",
911
- },
912
- {
913
- internalType: "uint256",
914
- name: "maxIteration",
915
- type: "uint256",
916
- },
917
- {
918
- internalType: "uint256",
919
- name: "eps",
920
- type: "uint256",
921
- },
922
- ],
923
- internalType: "struct ApproxParams",
924
- name: "botParams",
925
- type: "tuple",
926
- },
927
- {
928
- internalType: "uint256",
929
- name: "maxSyIn",
930
- type: "uint256",
931
- },
932
- {
933
- internalType: "uint256",
934
- name: "minLpOut",
935
- type: "uint256",
936
- },
937
- {
938
- internalType: "uint256",
939
- name: "minYtOut",
940
- type: "uint256",
941
- },
942
- ],
943
- name: "addLiqKeepYt",
944
- outputs: [
945
- {
946
- internalType: "uint256",
947
- name: "netSyIn",
948
- type: "uint256",
949
- },
950
- {
951
- internalType: "uint256",
952
- name: "netLpOut",
953
- type: "uint256",
954
- },
955
- {
956
- internalType: "uint256",
957
- name: "netYtOut",
958
- type: "uint256",
959
- },
960
- ],
961
- stateMutability: "nonpayable",
962
- type: "function",
963
- },
964
- {
965
- inputs: [
966
- {
967
- components: [
968
- {
969
- internalType: "address[]",
970
- name: "tokens",
971
- type: "address[]",
972
- },
973
- {
974
- internalType: "address",
975
- name: "spender",
976
- type: "address",
977
- },
978
- ],
979
- internalType: "struct ITradingBotBase.MultiApproval[]",
980
- name: "arr",
981
- type: "tuple[]",
982
- },
983
- ],
984
- name: "approveInf",
985
- outputs: [],
986
- stateMutability: "nonpayable",
987
- type: "function",
988
- },
989
- {
990
- inputs: [
991
- {
992
- internalType: "address",
993
- name: "router",
994
- type: "address",
995
- },
996
- {
997
- components: [
998
- {
999
- internalType: "address",
1000
- name: "tokenIn",
1001
- type: "address",
1002
- },
1003
- {
1004
- internalType: "uint256",
1005
- name: "netTokenIn",
1006
- type: "uint256",
1007
- },
1008
- {
1009
- internalType: "address",
1010
- name: "tokenMintSy",
1011
- type: "address",
1012
- },
1013
- {
1014
- internalType: "address",
1015
- name: "bulk",
1016
- type: "address",
1017
- },
1018
- {
1019
- internalType: "address",
1020
- name: "pendleSwap",
1021
- type: "address",
1022
- },
1023
- {
1024
- components: [
1025
- {
1026
- internalType: "enum SwapType",
1027
- name: "swapType",
1028
- type: "uint8",
1029
- },
1030
- {
1031
- internalType: "address",
1032
- name: "extRouter",
1033
- type: "address",
1034
- },
1035
- {
1036
- internalType: "bytes",
1037
- name: "extCalldata",
1038
- type: "bytes",
1039
- },
1040
- {
1041
- internalType: "bool",
1042
- name: "needScale",
1043
- type: "bool",
1044
- },
1045
- ],
1046
- internalType: "struct SwapData",
1047
- name: "swapData",
1048
- type: "tuple",
1049
- },
1050
- ],
1051
- internalType: "struct TokenInput[]",
1052
- name: "inps",
1053
- type: "tuple[]",
1054
- },
1055
- {
1056
- internalType: "uint256",
1057
- name: "minSyOut",
1058
- type: "uint256",
1059
- },
1060
- ],
1061
- name: "claimAndCompound",
1062
- outputs: [
1063
- {
1064
- internalType: "uint256",
1065
- name: "netSyOut",
1066
- type: "uint256",
1067
- },
1068
- {
1069
- internalType: "uint256",
1070
- name: "netPendleOut",
1071
- type: "uint256",
1072
- },
1073
- ],
1074
- stateMutability: "nonpayable",
1075
- type: "function",
1076
- },
1077
- {
1078
- inputs: [],
1079
- name: "claimOwnership",
1080
- outputs: [],
1081
- stateMutability: "nonpayable",
1082
- type: "function",
1083
- },
1084
- {
1085
- inputs: [],
1086
- name: "claimWithoutCompound",
1087
- outputs: [
1088
- {
1089
- components: [
1090
- {
1091
- internalType: "address",
1092
- name: "token",
1093
- type: "address",
1094
- },
1095
- {
1096
- internalType: "uint256",
1097
- name: "amount",
1098
- type: "uint256",
1099
- },
1100
- ],
1101
- internalType: "struct TokenAmount[]",
1102
- name: "rewards",
1103
- type: "tuple[]",
1104
- },
1105
- ],
1106
- stateMutability: "nonpayable",
1107
- type: "function",
1108
- },
1109
- {
1110
- inputs: [],
1111
- name: "decisionHelper",
1112
- outputs: [
1113
- {
1114
- internalType: "contract IBotDecisionHelper",
1115
- name: "",
1116
- type: "address",
1117
- },
1118
- ],
1119
- stateMutability: "view",
1120
- type: "function",
1121
- },
1122
- {
1123
- inputs: [
1124
- {
1125
- internalType: "uint256",
1126
- name: "netSyIn",
1127
- type: "uint256",
1128
- },
1129
- ],
1130
- name: "depositSy",
1131
- outputs: [],
1132
- stateMutability: "nonpayable",
1133
- type: "function",
1134
- },
1135
- {
1136
- inputs: [
1137
- {
1138
- internalType: "address",
1139
- name: "router",
1140
- type: "address",
1141
- },
1142
- {
1143
- components: [
1144
- {
1145
- internalType: "address",
1146
- name: "tokenIn",
1147
- type: "address",
1148
- },
1149
- {
1150
- internalType: "uint256",
1151
- name: "netTokenIn",
1152
- type: "uint256",
1153
- },
1154
- {
1155
- internalType: "address",
1156
- name: "tokenMintSy",
1157
- type: "address",
1158
- },
1159
- {
1160
- internalType: "address",
1161
- name: "bulk",
1162
- type: "address",
1163
- },
1164
- {
1165
- internalType: "address",
1166
- name: "pendleSwap",
1167
- type: "address",
1168
- },
1169
- {
1170
- components: [
1171
- {
1172
- internalType: "enum SwapType",
1173
- name: "swapType",
1174
- type: "uint8",
1175
- },
1176
- {
1177
- internalType: "address",
1178
- name: "extRouter",
1179
- type: "address",
1180
- },
1181
- {
1182
- internalType: "bytes",
1183
- name: "extCalldata",
1184
- type: "bytes",
1185
- },
1186
- {
1187
- internalType: "bool",
1188
- name: "needScale",
1189
- type: "bool",
1190
- },
1191
- ],
1192
- internalType: "struct SwapData",
1193
- name: "swapData",
1194
- type: "tuple",
1195
- },
1196
- ],
1197
- internalType: "struct TokenInput",
1198
- name: "inp",
1199
- type: "tuple",
1200
- },
1201
- {
1202
- internalType: "uint256",
1203
- name: "minSyOut",
1204
- type: "uint256",
1205
- },
1206
- ],
1207
- name: "depositToken",
1208
- outputs: [],
1209
- stateMutability: "payable",
1210
- type: "function",
1211
- },
1212
- {
1213
- inputs: [
1214
- {
1215
- components: [
1216
- {
1217
- internalType: "uint256",
1218
- name: "lowerIyLimit",
1219
- type: "uint256",
1220
- },
1221
- {
1222
- internalType: "uint256",
1223
- name: "upperIyLimit",
1224
- type: "uint256",
1225
- },
1226
- {
1227
- internalType: "uint256",
1228
- name: "floatingSyRatioLimit",
1229
- type: "uint256",
1230
- },
1231
- {
1232
- internalType: "uint256",
1233
- name: "floatingSyRatioTarget",
1234
- type: "uint256",
1235
- },
1236
- {
1237
- internalType: "uint256",
1238
- name: "ytPtRatioLimit",
1239
- type: "uint256",
1240
- },
1241
- {
1242
- internalType: "uint256",
1243
- name: "ytPtRatioTarget",
1244
- type: "uint256",
1245
- },
1246
- ],
1247
- internalType: "struct LongTradingSpecs",
1248
- name: "_specs",
1249
- type: "tuple",
1250
- },
1251
- ],
1252
- name: "initialize",
1253
- outputs: [],
1254
- stateMutability: "nonpayable",
1255
- type: "function",
1256
- },
1257
- {
1258
- inputs: [],
1259
- name: "market",
1260
- outputs: [
1261
- {
1262
- internalType: "address",
1263
- name: "",
1264
- type: "address",
1265
- },
1266
- ],
1267
- stateMutability: "view",
1268
- type: "function",
1269
- },
1270
- {
1271
- inputs: [],
1272
- name: "owner",
1273
- outputs: [
1274
- {
1275
- internalType: "address",
1276
- name: "",
1277
- type: "address",
1278
- },
1279
- ],
1280
- stateMutability: "view",
1281
- type: "function",
1282
- },
1283
- {
1284
- inputs: [],
1285
- name: "pendingOwner",
1286
- outputs: [
1287
- {
1288
- internalType: "address",
1289
- name: "",
1290
- type: "address",
1291
- },
1292
- ],
1293
- stateMutability: "view",
1294
- type: "function",
1295
- },
1296
- {
1297
- inputs: [],
1298
- name: "proxiableUUID",
1299
- outputs: [
1300
- {
1301
- internalType: "bytes32",
1302
- name: "",
1303
- type: "bytes32",
1304
- },
1305
- ],
1306
- stateMutability: "view",
1307
- type: "function",
1308
- },
1309
- {
1310
- inputs: [],
1311
- name: "readBotState",
1312
- outputs: [
1313
- {
1314
- components: [
1315
- {
1316
- internalType: "uint256",
1317
- name: "lpBalance",
1318
- type: "uint256",
1319
- },
1320
- {
1321
- internalType: "uint256",
1322
- name: "ytBalance",
1323
- type: "uint256",
1324
- },
1325
- {
1326
- internalType: "uint256",
1327
- name: "syBalance",
1328
- type: "uint256",
1329
- },
1330
- ],
1331
- internalType: "struct BotState",
1332
- name: "botState",
1333
- type: "tuple",
1334
- },
1335
- ],
1336
- stateMutability: "view",
1337
- type: "function",
1338
- },
1339
- {
1340
- inputs: [
1341
- {
1342
- internalType: "address",
1343
- name: "router",
1344
- type: "address",
1345
- },
1346
- ],
1347
- name: "readMarketExtState",
1348
- outputs: [
1349
- {
1350
- components: [
1351
- {
1352
- components: [
1353
- {
1354
- internalType: "int256",
1355
- name: "totalPt",
1356
- type: "int256",
1357
- },
1358
- {
1359
- internalType: "int256",
1360
- name: "totalSy",
1361
- type: "int256",
1362
- },
1363
- {
1364
- internalType: "int256",
1365
- name: "totalLp",
1366
- type: "int256",
1367
- },
1368
- {
1369
- internalType: "address",
1370
- name: "treasury",
1371
- type: "address",
1372
- },
1373
- {
1374
- internalType: "int256",
1375
- name: "scalarRoot",
1376
- type: "int256",
1377
- },
1378
- {
1379
- internalType: "uint256",
1380
- name: "expiry",
1381
- type: "uint256",
1382
- },
1383
- {
1384
- internalType: "uint256",
1385
- name: "lnFeeRateRoot",
1386
- type: "uint256",
1387
- },
1388
- {
1389
- internalType: "uint256",
1390
- name: "reserveFeePercent",
1391
- type: "uint256",
1392
- },
1393
- {
1394
- internalType: "uint256",
1395
- name: "lastLnImpliedRate",
1396
- type: "uint256",
1397
- },
1398
- ],
1399
- internalType: "struct MarketState",
1400
- name: "state",
1401
- type: "tuple",
1402
- },
1403
- {
1404
- internalType: "PYIndex",
1405
- name: "index",
1406
- type: "uint256",
1407
- },
1408
- {
1409
- internalType: "uint256",
1410
- name: "blockTime",
1411
- type: "uint256",
1412
- },
1413
- ],
1414
- internalType: "struct MarketExtState",
1415
- name: "marketExt",
1416
- type: "tuple",
1417
- },
1418
- ],
1419
- stateMutability: "nonpayable",
1420
- type: "function",
1421
- },
1422
- {
1423
- inputs: [
1424
- {
1425
- components: [
1426
- {
1427
- internalType: "uint256",
1428
- name: "guessMin",
1429
- type: "uint256",
1430
- },
1431
- {
1432
- internalType: "uint256",
1433
- name: "guessMax",
1434
- type: "uint256",
1435
- },
1436
- {
1437
- internalType: "uint256",
1438
- name: "guessOffchain",
1439
- type: "uint256",
1440
- },
1441
- {
1442
- internalType: "uint256",
1443
- name: "maxIteration",
1444
- type: "uint256",
1445
- },
1446
- {
1447
- internalType: "uint256",
1448
- name: "eps",
1449
- type: "uint256",
1450
- },
1451
- ],
1452
- internalType: "struct ApproxParams",
1453
- name: "botParams",
1454
- type: "tuple",
1455
- },
1456
- {
1457
- components: [
1458
- {
1459
- internalType: "uint256",
1460
- name: "guessMin",
1461
- type: "uint256",
1462
- },
1463
- {
1464
- internalType: "uint256",
1465
- name: "guessMax",
1466
- type: "uint256",
1467
- },
1468
- {
1469
- internalType: "uint256",
1470
- name: "guessOffchain",
1471
- type: "uint256",
1472
- },
1473
- {
1474
- internalType: "uint256",
1475
- name: "maxIteration",
1476
- type: "uint256",
1477
- },
1478
- {
1479
- internalType: "uint256",
1480
- name: "eps",
1481
- type: "uint256",
1482
- },
1483
- ],
1484
- internalType: "struct ApproxParams",
1485
- name: "guessTotalPtToSwap",
1486
- type: "tuple",
1487
- },
1488
- {
1489
- internalType: "uint256",
1490
- name: "maxLpRemoved",
1491
- type: "uint256",
1492
- },
1493
- {
1494
- internalType: "uint256",
1495
- name: "minYtOut",
1496
- type: "uint256",
1497
- },
1498
- ],
1499
- name: "removeLiqToYt",
1500
- outputs: [
1501
- {
1502
- internalType: "uint256",
1503
- name: "netLpRemoved",
1504
- type: "uint256",
1505
- },
1506
- {
1507
- internalType: "uint256",
1508
- name: "netYtOut",
1509
- type: "uint256",
1510
- },
1511
- {
1512
- internalType: "uint256",
1513
- name: "totalPtToSwap",
1514
- type: "uint256",
1515
- },
1516
- ],
1517
- stateMutability: "nonpayable",
1518
- type: "function",
1519
- },
1520
- {
1521
- inputs: [
1522
- {
1523
- components: [
1524
- {
1525
- internalType: "uint256",
1526
- name: "lowerIyLimit",
1527
- type: "uint256",
1528
- },
1529
- {
1530
- internalType: "uint256",
1531
- name: "upperIyLimit",
1532
- type: "uint256",
1533
- },
1534
- {
1535
- internalType: "uint256",
1536
- name: "floatingSyRatioLimit",
1537
- type: "uint256",
1538
- },
1539
- {
1540
- internalType: "uint256",
1541
- name: "floatingSyRatioTarget",
1542
- type: "uint256",
1543
- },
1544
- {
1545
- internalType: "uint256",
1546
- name: "ytPtRatioLimit",
1547
- type: "uint256",
1548
- },
1549
- {
1550
- internalType: "uint256",
1551
- name: "ytPtRatioTarget",
1552
- type: "uint256",
1553
- },
1554
- ],
1555
- internalType: "struct LongTradingSpecs",
1556
- name: "_specs",
1557
- type: "tuple",
1558
- },
1559
- ],
1560
- name: "setSpecs",
1561
- outputs: [],
1562
- stateMutability: "nonpayable",
1563
- type: "function",
1564
- },
1565
- {
1566
- inputs: [],
1567
- name: "specs",
1568
- outputs: [
1569
- {
1570
- internalType: "uint256",
1571
- name: "lowerIyLimit",
1572
- type: "uint256",
1573
- },
1574
- {
1575
- internalType: "uint256",
1576
- name: "upperIyLimit",
1577
- type: "uint256",
1578
- },
1579
- {
1580
- internalType: "uint256",
1581
- name: "floatingSyRatioLimit",
1582
- type: "uint256",
1583
- },
1584
- {
1585
- internalType: "uint256",
1586
- name: "floatingSyRatioTarget",
1587
- type: "uint256",
1588
- },
1589
- {
1590
- internalType: "uint256",
1591
- name: "ytPtRatioLimit",
1592
- type: "uint256",
1593
- },
1594
- {
1595
- internalType: "uint256",
1596
- name: "ytPtRatioTarget",
1597
- type: "uint256",
1598
- },
1599
- ],
1600
- stateMutability: "view",
1601
- type: "function",
1602
- },
1603
- {
1604
- inputs: [
1605
- {
1606
- internalType: "int256",
1607
- name: "ptToAccount",
1608
- type: "int256",
1609
- },
1610
- {
1611
- internalType: "int256",
1612
- name: "syToAccount",
1613
- type: "int256",
1614
- },
1615
- {
1616
- internalType: "bytes",
1617
- name: "data",
1618
- type: "bytes",
1619
- },
1620
- ],
1621
- name: "swapCallback",
1622
- outputs: [],
1623
- stateMutability: "nonpayable",
1624
- type: "function",
1625
- },
1626
- {
1627
- inputs: [
1628
- {
1629
- internalType: "address",
1630
- name: "router",
1631
- type: "address",
1632
- },
1633
- {
1634
- components: [
1635
- {
1636
- internalType: "uint256",
1637
- name: "guessMin",
1638
- type: "uint256",
1639
- },
1640
- {
1641
- internalType: "uint256",
1642
- name: "guessMax",
1643
- type: "uint256",
1644
- },
1645
- {
1646
- internalType: "uint256",
1647
- name: "guessOffchain",
1648
- type: "uint256",
1649
- },
1650
- {
1651
- internalType: "uint256",
1652
- name: "maxIteration",
1653
- type: "uint256",
1654
- },
1655
- {
1656
- internalType: "uint256",
1657
- name: "eps",
1658
- type: "uint256",
1659
- },
1660
- ],
1661
- internalType: "struct ApproxParams",
1662
- name: "botParams",
1663
- type: "tuple",
1664
- },
1665
- {
1666
- internalType: "uint256",
1667
- name: "minYtOut",
1668
- type: "uint256",
1669
- },
1670
- {
1671
- internalType: "uint256",
1672
- name: "maxSyIn",
1673
- type: "uint256",
1674
- },
1675
- ],
1676
- name: "swapSyToYt",
1677
- outputs: [
1678
- {
1679
- internalType: "uint256",
1680
- name: "exactYtOut",
1681
- type: "uint256",
1682
- },
1683
- {
1684
- internalType: "uint256",
1685
- name: "netSyIn",
1686
- type: "uint256",
1687
- },
1688
- ],
1689
- stateMutability: "nonpayable",
1690
- type: "function",
1691
- },
1692
- {
1693
- inputs: [
1694
- {
1695
- internalType: "address",
1696
- name: "newOwner",
1697
- type: "address",
1698
- },
1699
- {
1700
- internalType: "bool",
1701
- name: "direct",
1702
- type: "bool",
1703
- },
1704
- {
1705
- internalType: "bool",
1706
- name: "renounce",
1707
- type: "bool",
1708
- },
1709
- ],
1710
- name: "transferOwnership",
1711
- outputs: [],
1712
- stateMutability: "nonpayable",
1713
- type: "function",
1714
- },
1715
- {
1716
- inputs: [
1717
- {
1718
- internalType: "address",
1719
- name: "newImplementation",
1720
- type: "address",
1721
- },
1722
- ],
1723
- name: "upgradeTo",
1724
- outputs: [],
1725
- stateMutability: "nonpayable",
1726
- type: "function",
1727
- },
1728
- {
1729
- inputs: [
1730
- {
1731
- internalType: "address",
1732
- name: "newImplementation",
1733
- type: "address",
1734
- },
1735
- {
1736
- internalType: "bytes",
1737
- name: "data",
1738
- type: "bytes",
1739
- },
1740
- ],
1741
- name: "upgradeToAndCall",
1742
- outputs: [],
1743
- stateMutability: "payable",
1744
- type: "function",
1745
- },
1746
- {
1747
- inputs: [
1748
- {
1749
- internalType: "address",
1750
- name: "token",
1751
- type: "address",
1752
- },
1753
- {
1754
- internalType: "uint256",
1755
- name: "amount",
1756
- type: "uint256",
1757
- },
1758
- ],
1759
- name: "withdrawFunds",
1760
- outputs: [],
1761
- stateMutability: "nonpayable",
1762
- type: "function",
1763
- },
1764
- {
1765
- stateMutability: "payable",
1766
- type: "receive",
1767
- },
1768
- ];
1769
-
1770
- const _bytecode =
1771
- "0x61016060405230610120523480156200001757600080fd5b5060405162006a9138038062006a918339810160408190526200003a91620002e2565b60015483908390600160a81b900460ff161580801562000065575060018054600160a01b900460ff16105b806200009b575062000082306200023760201b62001b1a1760201c565b1580156200009b575060018054600160a01b900460ff16145b620001045760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6001805460ff60a01b1916600160a01b179055801562000132576001805460ff60a81b1916600160a81b1790555b6000806000856001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa15801562000176573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200019c9190620002e2565b6001600160a01b03808a1660805280841660a05280831660c05280821660e05288166101005291945092509050620001d362000246565b50505080156200021e576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050506001600160a01b03166101405250620003369050565b6001600160a01b03163b151590565b600154600160a81b900460ff16620002b55760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000fb565b600080546001600160a01b03191633179055565b6001600160a01b0381168114620002df57600080fd5b50565b600080600060608486031215620002f857600080fd5b83516200030581620002c9565b60208501519093506200031881620002c9565b60408501519092506200032b81620002c9565b809150509250925092565b60805160a05160c05160e05161010051610120516101405161655c62000535600039600081816105bb01528181610bcb01528181610ea201528181610ffc01528181611312015261197f01526000818161070c0152818161074c01528181610a4301528181610a830152610afb0152600081816102e201528181610de10152610e110152600081816102a101528181610d6d015281816112ac015281816115b801528181611642015281816120290152818161247f015281816128440152818161298201528181612a4001528181612d0401528181612fa901528181612fd20152818161306001528181613081015281816130bd01526131d401526000818161052501528181612f88015261315b015260008181610471015281816109dd01528181610d3f015281816116ed01528181611777015281816120c3015281816124f20152612b2301526000818161031601528181610d14015281816112260152818161181b015281816118a501528181611a7801528181611ef80152818161215701528181612348015281816123ea0152818161251301528181612555015281816125ef015281816127ca015281816127eb0152818161281501528181612865015281816128ed01528181612a1101528181612c6f01528181612df801528181612ec7015281816130ea0152818161317c0152613201015261655c6000f3fe6080604052600436106101615760003560e01c8063078dfbe71461016d5780633659cfe61461018f57806337deed8d146101af5780634e71e0c8146101cf5780634f0364b1146101e45780634f1ef2861461020457806352d1902d146102175780635d108ef71461023f57806365b800e61461026d578063781c18db1461028f5780637cf738d2146102d057806380f55605146103045780638c236640146103385780638d0ff072146103585780638da5cb5b146103875780639f10bf44146103a7578063a7584e5e146103c7578063acdb32df146103e7578063adb7c3f714610407578063afd27bf51461045f578063aff0314d14610493578063bf950872146104c0578063c1075329146104e0578063cabe5ec714610500578063d94073d414610513578063dbeadc0714610547578063e1b50f2914610569578063e30c397814610589578063e82cee79146105a9578063fa483e72146105dd57600080fd5b3661016857005b600080fd5b34801561017957600080fd5b5061018d610188366004615336565b6105fd565b005b34801561019b57600080fd5b5061018d6101aa366004615381565b610702565b3480156101bb57600080fd5b5061018d6101ca36600461540d565b6107ca565b3480156101db57600080fd5b5061018d610903565b3480156101f057600080fd5b5061018d6101ff366004615486565b6109ae565b61018d61021236600461550e565b610a39565b34801561022357600080fd5b5061022c610aee565b6040519081526020015b60405180910390f35b34801561024b57600080fd5b5061025f61025a36600461556f565b610b9c565b6040516102369291906155b5565b34801561027957600080fd5b50610282610ceb565b60405161023691906155dc565b34801561029b57600080fd5b506102c37f000000000000000000000000000000000000000000000000000000000000000081565b60405161023691906155ea565b3480156102dc57600080fd5b506102c37f000000000000000000000000000000000000000000000000000000000000000081565b34801561031057600080fd5b506102c37f000000000000000000000000000000000000000000000000000000000000000081565b34801561034457600080fd5b5061025f610353366004615649565b610d99565b34801561036457600080fd5b506103786103733660046156a4565b610e71565b604051610236939291906156f6565b34801561039357600080fd5b506000546102c3906001600160a01b031681565b3480156103b357600080fd5b506103786103c236600461570c565b610fcb565b3480156103d357600080fd5b5061018d6103e2366004615752565b6110fb565b3480156103f357600080fd5b5061018d61040236600461576e565b61113c565b34801561041357600080fd5b5060325460335460345460355460365460375461043295949392919086565b604080519687526020870195909552938501929092526060840152608083015260a082015260c001610236565b34801561046b57600080fd5b506102c37f000000000000000000000000000000000000000000000000000000000000000081565b34801561049f57600080fd5b506104b36104ae366004615381565b611207565b604051610236919061582a565b3480156104cc57600080fd5b506103786104db366004615839565b6112e1565b3480156104ec57600080fd5b5061018d6104fb366004615880565b611445565b61018d61050e3660046158ac565b6114d6565b34801561051f57600080fd5b506102c37f000000000000000000000000000000000000000000000000000000000000000081565b34801561055357600080fd5b5061055c611587565b6040516102369190615904565b34801561057557600080fd5b5061037861058436600461570c565b61194e565b34801561059557600080fd5b506001546102c3906001600160a01b031681565b3480156105b557600080fd5b506102c37f000000000000000000000000000000000000000000000000000000000000000081565b3480156105e957600080fd5b5061018d6105f836600461595c565b611a6d565b6000546001600160a01b031633146106305760405162461bcd60e51b8152600401610627906159db565b60405180910390fd5b81156106e1576001600160a01b03831615158061064a5750805b61068e5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610627565b600080546040516001600160a01b03808716939216916000805160206164e083398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016300361074a5760405162461bcd60e51b815260040161062790615a10565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661077c611b29565b6001600160a01b0316146107a25760405162461bcd60e51b815260040161062790615a4a565b6107ab81611b45565b604080516000808252602082019092526107c791839190611b6f565b50565b600154600160a81b900460ff16158080156107f0575060018054600160a01b900460ff16105b8061081757506107ff30611b1a565b158015610817575060018054600160a01b900460ff16145b61087a5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610627565b6001805460ff60a01b1916600160a01b17905580156108a7576001805460ff60a81b1916600160a81b1790555b6108b082611cda565b6108b8611df3565b80156108ff576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001546001600160a01b031633811461095e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610627565b600080546040516001600160a01b03808516939216916000805160206164e083398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6000546001600160a01b031633146109d85760405162461bcd60e51b8152600401610627906159db565b610a037f00000000000000000000000000000000000000000000000000000000000000003383611e74565b6040518181527ffbf5b64cc7bd746fa51ff05d539d45d159c0bd41ae16d90375281f2925062bb19060200160405180910390a150565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003610a815760405162461bcd60e51b815260040161062790615a10565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610ab3611b29565b6001600160a01b031614610ad95760405162461bcd60e51b815260040161062790615a4a565b610ae282611b45565b6108ff82826001611b6f565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610b895760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b6064820152608401610627565b506000805160206164c083398151915290565b6000805481906001600160a01b03163314610bc95760405162461bcd60e51b8152600401610627906159db565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663914185af610c00610ceb565b610c0989611207565b603260008a8b6040518763ffffffff1660e01b8152600401610c3096959493929190615ade565b6040805180830381865afa158015610c4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c709190615b63565b50915083821015610c9857818460405163716d9a5760e11b81526004016106279291906155b5565b610ca3868385611edb565b90507fd93f93776ba10e6009c65ce8b6396dff457709f7f6ee344a93bb91b465c9a09a85848484604051610cda9493929190615b97565b60405180910390a194509492505050565b610d0f60405180606001604052806000815260200160008152602001600081525090565b610d387f0000000000000000000000000000000000000000000000000000000000000000611f87565b8152610d637f0000000000000000000000000000000000000000000000000000000000000000611f87565b6040820152610d917f0000000000000000000000000000000000000000000000000000000000000000611f87565b602082015290565b6000805481906001600160a01b03163314610dc65760405162461bcd60e51b8152600401610627906159db565b610dce612012565b610dda868686866121d3565b9150610e057f0000000000000000000000000000000000000000000000000000000000000000611f87565b600054909150610e40907f0000000000000000000000000000000000000000000000000000000000000000906001600160a01b031683612261565b7f9fdfc39e9c36ec108e0a3b25ecb0818f9dba6993f27c8ab183d6f707c0a0e3198282604051610cda9291906155b5565b60008054819081906001600160a01b03163314610ea05760405162461bcd60e51b8152600401610627906159db565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663914185af610ed7610ceb565b610ee08b611207565b603260018c8d6040518763ffffffff1660e01b8152600401610f0796959493929190615ade565b6040805180830381865afa158015610f23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f479190615b63565b50925085831115610f6f578286604051633f20d48560e01b81526004016106279291906155b5565b610f7b8884878761232b565b60405191935091507f2d36f7810b4d3feee3be13b214fc3df9b32d3f6199133929ba1392af47ab55d790610fb89089908990879087908790615bc1565b60405180910390a1955095509592505050565b60008054819081906001600160a01b03163314610ffa5760405162461bcd60e51b8152600401610627906159db565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663914185af611031610ceb565b61103a30611207565b603260028b8c6040518763ffffffff1660e01b815260040161106196959493929190615ade565b6040805180830381865afa15801561107d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a19190615b63565b5092506110af8386866123e3565b60405191935091507fa1d369ba11743979eb030e1c2226695ff864bfbecccac08660f69324447ce684906110ea908890879085908790615b97565b60405180910390a193509350939050565b6000546001600160a01b031633146111255760405162461bcd60e51b8152600401610627906159db565b6107c76111373683900383018361540d565b611cda565b6000546001600160a01b031633146111665760405162461bcd60e51b8152600401610627906159db565b60005b818110156106fd573683838381811061118457611184615bf3565b90506020028101906111969190615c09565b905060005b6111a58280615c29565b90508110156111fd576111f56111bb8380615c29565b838181106111cb576111cb615bf3565b90506020020160208101906111e09190615381565b6111f06040850160208601615381565b6126a1565b60010161119b565b5050600101611169565b61120f615291565b60405163794052f360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063794052f39061125b9085906004016155ea565b61012060405180830381865afa158015611279573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129d9190615c7d565b81526112d16001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001661275c565b6020820152426040820152919050565b60008054819081906001600160a01b031633146113105760405162461bcd60e51b8152600401610627906159db565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663914185af611347610ceb565b61135030611207565b603260048c8c6040518763ffffffff1660e01b815260040161137796959493929190615ade565b6040805180830381865afa158015611393573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b79190615b63565b509250848311156113df5782856040516390fe811760e01b81526004016106279291906155b5565b6113f8836113f236899003890189615cff565b866127c2565b60405191935091507f850f9001881eb9b8bb227ded2db0c27646ab4012223509a4c76e9232a4ab40b990611433908990889087908790615b97565b60405180910390a19450945094915050565b6000546001600160a01b0316331461146f5760405162461bcd60e51b8152600401610627906159db565b60001981036114845761148182611f87565b90505b61148f823383612261565b816001600160a01b03167f21901fa892c430ea8bd38b9390225ac8e67eac75ee10ffba16feefc539a288f9826040516114ca91815260200190565b60405180910390a25050565b6000546001600160a01b031633146115005760405162461bcd60e51b8152600401610627906159db565b61151b6115106020840184615381565b338460200135611e74565b61152e8361152884615e15565b83612ad9565b5061153c6020830183615381565b6001600160a01b03167f2d0c0a8842b9944ece1495eb61121621b5e36bd6af3bba0318c695f525aef79f836020013560405161157a91815260200190565b60405180910390a2505050565b6000546060906001600160a01b031633146115b45760405162461bcd60e51b8152600401610627906159db565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c4f59f9b6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611614573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261163c9190810190615ef5565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637d24da4d306001806040518463ffffffff1660e01b815260040161169193929190615f88565b6000604051808303816000875af11580156116b0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116d89190810190616011565b91506116e79050838383612bb0565b925060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c4f59f9b6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611749573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117719190810190615ef5565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ef5cfb8c306040518263ffffffff1660e01b81526004016117c191906155ea565b6000604051808303816000875af11580156117e0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611808919081019061604e565b9050611815858383612bb0565b945060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c4f59f9b6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611877573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261189f9190810190615ef5565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639262187b306040518263ffffffff1660e01b81526004016118ef91906155ea565b6000604051808303816000875af115801561190e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611936919081019061604e565b9050611943878383612bb0565b965050505050505090565b60008054819081906001600160a01b0316331461197d5760405162461bcd60e51b8152600401610627906159db565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663914185af6119b4610ceb565b6119bd30611207565b603260038b8c6040518763ffffffff1660e01b81526004016119e496959493929190615ade565b6040805180830381865afa158015611a00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a249190615b63565b509250611a32838686612c68565b60405191935091507f261d4561f2d421185a1cde2fdfdb4e7104ae819bc4feb5e6ba60ee6c286ec720906110ea908890879085908790615b97565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168114611ab9578060405163719d6b0360e01b815260040161062791906155ea565b82356003816005811115611acf57611acf615a84565b03611ae557611ae086868686612f7e565b611b12565b6004816005811115611af957611af9615a84565b03611b0a57611ae0868686866131b4565b611b12616082565b505050505050565b6001600160a01b03163b151590565b6000805160206164c0833981519152546001600160a01b031690565b6000546001600160a01b031633146107c75760405162461bcd60e51b8152600401610627906159db565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615611ba2576106fd83613295565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611bfc575060408051601f3d908101601f19168201909252611bf991810190616098565b60015b611c5f5760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610627565b6000805160206164c08339815191528114611cce5760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610627565b506106fd83838361332f565b602081015181511115611d235760405162461bcd60e51b8152602060048201526011602482015270494e56414c49445f49595f4c494d49545360781b6044820152606401610627565b806060015181604001511015611d775760405162461bcd60e51b8152602060048201526019602482015278494e56414c49445f464c4f4154494e475f53595f524154494f60381b6044820152606401610627565b8060a0015181608001511015611dc55760405162461bcd60e51b8152602060048201526013602482015272494e56414c49445f59545f50545f524154494f60681b6044820152606401610627565b8051603255602081015160335560408101516034556060810151603555608081015160365560a00151603755565b600154600160a81b900460ff16611e605760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610627565b600080546001600160a01b03191633179055565b6001600160a01b038316611ec0578034146106fd5760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610627565b80156106fd576106fd6001600160a01b038416833084613354565b604051632fc6f50d60e21b81523060048201526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116602483015260448201849052606482018390526000919085169063bf1bd4349060840160408051808303816000875af1158015611f5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f7e91906160b1565b50949350505050565b60006001600160a01b0382161561200a576040516370a0823160e01b81526001600160a01b038316906370a0823190611fc49030906004016155ea565b602060405180830381865afa158015611fe1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120059190616098565b61200c565b475b92915050565b604051637d24da4d60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690637d24da4d906120639030906001908190600401615f88565b6000604051808303816000875af1158015612082573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120aa9190810190616011565b5050604051633bd73ee360e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ef5cfb8c906120f89030906004016155ea565b6000604051808303816000875af1158015612117573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261213f919081019061604e565b50604051639262187b60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690639262187b9061218c9030906004016155ea565b6000604051808303816000875af11580156121ab573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107c7919081019061604e565b6000805b8381101561223357612217868686848181106121f5576121f5615bf3565b905060200281019061220791906160d5565b61221090615e15565b6000612ad9565b6122219083616101565b915061222c81616114565b90506121d7565b508181101561225957808260405163d294eca360e01b81526004016106279291906155b5565b949350505050565b8060000361226e57505050565b6001600160a01b038316612317576000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146122c9576040519150601f19603f3d011682016040523d82523d6000602084013e6122ce565b606091505b50509050806123115760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610627565b50505050565b6106fd6001600160a01b03841683836133ac565b604051634221c25560e11b81523060048201526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166024830152604482018590526064820184905260848201839052600091829187169063844384aa9060a40160408051808303816000875af11580156123b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123d691906160b1565b9150915094509492505050565b60008060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663794052f3306040518263ffffffff1660e01b815260040161243491906155ea565b61012060405180830381865afa158015612452573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124769190615c7d565b905060006124ac7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661275c565b905060006124bc83838a426133cb565b5050905060006124da82886124d1919061612d565b85908b42613424565b509250505080826124eb9190616101565b94506125387f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000087612261565b60408051600081526020810191829052635b709f1760e01b9091527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03811691635b709f1791612594918d9060248101616190565b60408051808303816000875af11580156125b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125d691906160b1565b5050604051630ab714fb60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063156e29f69061262890309085908e906004016161c0565b6060604051808303816000875af1158015612647573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061266b91906161e1565b50909650508786101561269557858860405163066d180b60e01b81526004016106279291906155b5565b50505050935093915050565b6001600160a01b0382166126b3575050565b6126c560026001600160601b03616225565b6001600160601b0316826001600160a01b031663dd62ed3e30846040518363ffffffff1660e01b81526004016126fc92919061624b565b602060405180830381865afa158015612719573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061273d9190616098565b10156108ff5761274f8282600061348f565b6108ff828260001961348f565b6000816001600160a01b0316631d52edc46040518163ffffffff1660e01b81526004016020604051808303816000875af115801561279e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061200c9190616098565b6000806128107f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000087612261565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f6b911bc7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000008a6040518463ffffffff1660e01b81526004016128a393929190616265565b60408051808303816000875af11580156128c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128e591906160b1565b9150915060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663794052f3306040518263ffffffff1660e01b815260040161293791906155ea565b61012060405180830381865afa158015612955573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129799190615c7d565b905060006129af7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661275c565b905060006129bd82866135a3565b905060006129d9836129cf8488616101565b869190428e6135af565b50975090506129e88282616101565b975088881015612a0f57878960405163716d9a5760e11b81526004016106279291906155b5565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166329910b117f000000000000000000000000000000000000000000000000000000000000000089612a698d6136d0565b6040518463ffffffff1660e01b8152600401612a8793929190616190565b60408051808303816000875af1158015612aa5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ac991906160b1565b5050505050505050935093915050565b6000600019836020015103612af9578251612af390611f87565b60208401525b82516001600160a01b038086169163443e6512911615612b1a576000612b20565b84602001515b307f000000000000000000000000000000000000000000000000000000000000000086886040518663ffffffff1660e01b8152600401612b639493929190616289565b60206040518083038185885af1158015612b81573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612ba69190616098565b90505b9392505050565b80518251849114612c035760405162461bcd60e51b815260206004820152601f60248201527f546f6b656e416d6f756e744c69623a206c656e677468206d69736d61746368006044820152606401610627565b60005b8351811015612c6057612c4c82858381518110612c2557612c25615bf3565b6020026020010151858481518110612c3f57612c3f615bf3565b6020026020010151613704565b915080612c5881616114565b915050612c06565b509392505050565b60008060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663794052f3306040518263ffffffff1660e01b8152600401612cb991906155ea565b61012060405180830381865afa158015612cd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cfb9190615c7d565b90506000612d317f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661275c565b90506000612d4183838a426133cb565b509091508290506000612d548284616350565b612d66670de0b6b3a76400008c616350565b612d70919061612d565b90506000612d8186600001516138c6565b83612d8f88602001516138c6565b612d999190616350565b612da39190616367565b612db590670de0b6b3a7640000616101565b90506000612dc38284616367565b9050612dcf818d61612d565b975089881115612df657878a604051636a7a7c8760e11b81526004016106279291906155b5565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635b709f17308e612e308c6138d9565b6040518463ffffffff1660e01b8152600401612e4e93929190616190565b60408051808303816000875af1158015612e6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e9091906160b1565b5060009050612e9f878a613900565b90506000612ead878361612d565b604051630ab714fb60e11b81529091506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063156e29f690612f00903090859088906004016161c0565b6060604051808303816000875af1158015612f1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f4391906161e1565b50909b50508c8b1015612f6d578a8d60405163066d180b60e01b81526004016106279291906155b5565b505050505050505050935093915050565b6020820135612fce7f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000083612261565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632f13b60c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561302e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613052919061637b565b15905080156130a6576130a67f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000084612261565b60405163bcb7ea5d60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063bcb7ea5d90613112907f0000000000000000000000000000000000000000000000000000000000000000906004016155ea565b6020604051808303816000875af1158015613131573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131559190616098565b50611b127f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000846131a58a6138c6565b6131af919061612d565b612261565b60405163db74aa1560e01b81526020830135906000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063db74aa159061322b907f000000000000000000000000000000000000000000000000000000000000000090309060040161624b565b6020604051808303816000875af115801561324a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061326e9190616098565b905081811015611b1257808260405163716d9a5760e11b81526004016106279291906155b5565b61329e81611b1a565b6133005760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610627565b6000805160206164c083398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6133388361390c565b6000825111806133455750805b156106fd57612311838361394c565b612311846323b872dd60e01b85858560405160240161337593929190616265565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152613971565b6106fd8363a9059cbb60e01b8484604051602401613375929190616398565b6000806000806000806133e88a8a6133e28b613a43565b8a613a59565b9250925092506133ff6133fa84613aec565b6138c6565b955061340a826138c6565b9450613415816138c6565b93505050509450945094915050565b60008060008060008060008061344c8c61343d8d613a43565b6134468d613a43565b8c613afa565b935093509350935061345d846138c6565b9750613468836138c6565b9650613473826138c6565b955061347e816138c6565b945050505050945094509450949050565b600080846001600160a01b031663095ea7b360e01b85856040516024016134b7929190616398565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516134f591906163b1565b6000604051808303816000865af19150503d8060008114613532576040519150601f19603f3d011682016040523d82523d6000602084013e613537565b606091505b5091509150818015613561575080511580613561575080806020019051810190613561919061637b565b61359c5760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401610627565b5050505050565b6000612ba98383613cad565b60008080806135bf898988613ccc565b905084604001516000036136015784516135d99088613dc6565b855260208501516135f3906135ee8b84613ddc565b613e58565b602086015261360185613e67565b60005b85606001518110156136ab57600061361c8783613eb2565b905060008061362d8d868e86613f1e565b509092509050600061363f8d846135a3565b9050600061364d828661612d565b90508c811161368457613665818e8d60800151613f4f565b1561367c575097509195509093506136c592505050565b848b52613695565b61368f60018661612d565b60208c01525b5050505050806136a490616114565b9050613604565b50604051637d388ed960e11b815260040160405180910390fd5b955095509592505050565b604080518181526060818101835291602082018180368337019050509050600060045b602083015250604081019190915290565b606081600003613715575082612ba9565b835160005b855181101561377357846001600160a01b031686828151811061373f5761373f615bf3565b6020026020010151600001516001600160a01b03160361376157809150613773565b8061376b81616114565b91505061371a565b5084518114613783576000613786565b60015b60ff1685516137959190616101565b6001600160401b038111156137ac576137ac61539e565b6040519080825280602002602001820160405280156137f157816020015b60408051808201909152600080825260208201528152602001906001900390816137ca5790505b50915060005b855181101561384a5785818151811061381257613812615bf3565b602002602001015183828151811061382c5761382c615bf3565b6020026020010181905250808061384290616114565b9150506137f7565b506040518060400160405280856001600160a01b0316815260200184875184146138915787848151811061388057613880615bf3565b602002602001015160200151613894565b60005b61389e9190616101565b8152508282815181106138b3576138b3615bf3565b6020026020010181905250509392505050565b6000808212156138d557600080fd5b5090565b604080518181526060818101835291602082018180368337019050509050600060036136f3565b6000612ba98383613f82565b61391581613295565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060612ba9838360405180606001604052806027815260200161650060279139613f97565b60006139c6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166140729092919063ffffffff16565b8051909150156106fd57808060200190518101906139e4919061637b565b6106fd5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610627565b60006001600160ff1b038211156138d557600080fd5b6000806000613a6c8760a0015185101590565b15613a8a5760405163b2094b5960e01b815260040160405180910390fd5b86518512613ab0578651604051632185509b60e21b8152610627919087906004016155b5565b6000613abd888887613ccc565b9050613acb88828989614081565b91955093509150613ae18882898988878b6141d5565b509450945094915050565b600061200c826000196163c3565b6000808080861580613b0a575085155b15613b28576040516325daaec360e01b815260040160405180910390fd5b60a08801518510613b4c5760405163b2094b5960e01b815260040160405180910390fd5b8760400151600003613b94576103e8613b78613b73613b6e6133fa8a8c6163c3565b614267565b613a43565b613b8291906163f3565b92506103e89350869150859050613c37565b8751604089015160009190613ba990896163c3565b613bb3919061641a565b9050600089602001518a604001518a613bcc91906163c3565b613bd6919061641a565b905080821215613c0c578194508792508960400151858b60200151613bfb91906163c3565b613c05919061641a565b9350613c34565b8094508893508960400151858b60000151613c2791906163c3565b613c31919061641a565b92505b50505b60008313613c5857604051631997ea8d60e31b815260040160405180910390fd5b8188602001818151613c6a9190616448565b905250875181908990613c7e908390616448565b905250613c8b8484616448565b88604001818151613c9c9190616448565b905250929791965094509092509050565b6000670de0b6b3a7640000613cc28484616350565b612ba99190616367565b613cf76040518060800160405280600081526020016000815260200160008152602001600081525090565b60a08401518210613d1b5760405163b2094b5960e01b815260040160405180910390fd5b6000828560a00151613d2d919061612d565b9050613d3985826142d7565b82526020850151613d4b908590614333565b602083015284511580613d6057506020820151155b15613d87578451602083015160405163b1c4aefb60e01b81526106279291906004016155b5565b613da58560000151866101000151846020015185600001518561436a565b604083015260c0850151613db990826143eb565b6060830152509392505050565b6000818311613dd55781612ba9565b5090919050565b60008060009050600060018460200151613df6919061612d565b90505b808214612c605760006002613e0e8385616101565b613e19906001616101565b613e239190616367565b90506000613e3686886000015184614424565b1215613e4e57613e4760018261612d565b9150613e52565b8092505b50613df9565b6000818310613dd55781612ba9565b602081015181511180613e855750670de0b6b3a76400008160800151115b156107c757805160208201516080830151604051632cc06bc160e21b8152610627939291906004016156f6565b600081158015613ec55750604083015115155b15613ed55750604082015161200c565b6020830151835111613f055760208301518351600291613ef491616101565b613efe9190616367565b905061200c565b604051637d388ed960e11b815260040160405180910390fd5b60008080808080613f3c8989613f338a616470565b8d929190614081565b919c909b50909950975050505050505050565b6000828411158015612ba65750613f7783613f7284670de0b6b3a764000061612d565b61451c565b909310159392505050565b600082613cc2670de0b6b3a764000084616350565b6060613fa284611b1a565b613ffd5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610627565b600080856001600160a01b03168560405161401891906163b1565b600060405180830381855af49150503d8060008114614053576040519150601f19603f3d011682016040523d82523d6000602084013e614058565b606091505b509150915061406882828661453c565b9695505050505050565b6060612ba68484600085614575565b6000806000806140a48860000151886020015189600001518a60400151896146a4565b905060006140ba6140b5878461475c565b613aec565b606089015190915060008713156141295760006140d7848361475c565b9050670de0b6b3a76400008112156141055760405163329e322960e21b815260048101829052602401610627565b61412161411a83670de0b6b3a76400006163f3565b849061478b565b915050614156565b6141538161413f81670de0b6b3a76400006163f3565b61414990856163c3565b6140b5919061641a565b90505b600060646141678c60e00151613a43565b61417190846163c3565b61417b919061641a565b9050600061418983856163f3565b9050600081126141a25761419d8a826147a9565b6141ac565b6141ac8a826147d6565b97506141b88a846147a9565b96506141c48a836147a9565b955050505050509450945094915050565b6000818860a001516141e7919061612d565b88519091506141f69086614803565b88526142106142058486616448565b60208a015190614803565b60208901819052885161423591614228908990614333565b895160408b01518561484a565b610100890181905260000361425d57604051635534d70f60e11b815260040160405180910390fd5b5050505050505050565b600060038211156142c85750806000614281600283616367565b61428c906001616101565b90505b818110156142c2579050806002816142a78186616367565b6142b19190616101565b6142bb9190616367565b905061428f565b50919050565b81156142d2575060015b919050565b60006142e282613a43565b6142f4613b736201518061016d616350565b846080015161430391906163c3565b61430d919061641a565b90506000811361200c57604051630e520c3b60e11b815260048101829052602401610627565b60008060008312614345576001614349565b6000195b9050614360613b738561435b8661489d565b613cad565b61225990826163c3565b60008061437786846143eb565b9050670de0b6b3a76400008112156143a55760405163329e322960e21b815260048101829052602401610627565b60006143bb6143b4878a616448565b899061475c565b905060006143c8826148af565b90506143d4818761475c565b6143de90846163f3565b9998505050505050505050565b6000806143fd6201518061016d616350565b6144078486616350565b6144119190616367565b905061225961441f82613a43565b614902565b60008082856020015161443791906163f3565b905060006144458585616448565b90506000821380156144575750600081135b6144985760405162461bcd60e51b81526020600482015260126024820152711a5b9d985b1a59081c1d151bd3585c9ad95d60721b6044820152606401610627565b60006144c66144a784846163c3565b60208901516144b69089616448565b6144c090886163c3565b9061475c565b905060006144dc6144d7848661475c565b614d17565b88519091506000906144f790670de0b6b3a76400009061475c565b905061450d8161450784866163f3565b9061478b565b89604001516143de91906163f3565b6000806145298385616350565b670de0b6b3a76400009004949350505050565b6060831561454b575081612ba9565b82511561455b5782518084602001fd5b8160405162461bcd60e51b8152600401610627919061648c565b6060824710156145d65760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610627565b6145df85611b1a565b61462b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610627565b600080866001600160a01b0316858760405161464791906163b1565b60006040518083038185875af1925050503d8060008114614684576040519150601f19603f3d011682016040523d82523d6000602084013e614689565b606091505b509150915061469982828661453c565b979650505050505050565b6000806146b18784614803565b905060006146c96146c2888a616448565b839061475c565b9050670d529ae9e86000008113156147005780670d529ae9e8600000604051637e34684f60e11b81526004016106279291906155b5565b600061470b826148af565b905085614718828961475c565b6147229190616448565b9350670de0b6b3a76400008412156147505760405163329e322960e21b815260048101859052602401610627565b50505095945050505050565b600080614771670de0b6b3a7640000856163c3565b90508281816147825761478261620f565b05949350505050565b60008061479883856163c3565b9050670de0b6b3a764000081614782565b600080600083126147bb5760016147bf565b6000195b9050614360613b73856147d18661489d565b613f82565b600080600083126147e85760016147ec565b6000195b9050614360613b73856147fe8661489d565b614da3565b6000818312156148405760405162461bcd60e51b81526020600482015260086024820152676e6567617469766560c01b6044820152606401610627565b612ba982846163f3565b60008061485b8787878760006146a4565b9050600061486b6133fa83614d17565b90508361487d6201518061016d616350565b6148879083616350565b6148919190616367565b98975050505050505050565b60008082136138d55761200582616470565b6000670de0b6b3a764000082036148d95760405163a9c8b14d60e01b815260040160405180910390fd5b60006148f76148f084670de0b6b3a76400006163f3565b849061475c565b9050612ba981614d17565b6000680238fd42c5cf03ffff198212158015614927575068070c1cc73b00c800008213155b6149665760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b6044820152606401610627565b600082121561499e5761497b82600003614902565b6a0c097ce7bc90715b34b9f160241b816149975761499761620f565b0592915050565b60006806f05b59d3b200000083126149dc57506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b614a12565b6803782dace9d90000008312614a0e57506803782dace9d8ffffff19909101906b1425982cf597cd205cef7380614a12565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac620000008412614a625768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d6310000008412614a9e576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b188000008412614ad857682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412614b12576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac62000008412614b4b57680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d631000008412614b845768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412614bbd576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c400008412614bf65768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b6000808213614d585760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b6044820152606401610627565b670c7d713b49da000082138015614d765750670f43fc2c04ee000082125b15614d9a57670de0b6b3a7640000614d8d83614dcf565b816149975761499761620f565b61200c82614eee565b600082600181614dbb670de0b6b3a764000086616350565b614dc59190616101565b613cc2919061612d565b670de0b6b3a7640000026000806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff1985010281614e1057614e1061620f565b05905060006a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b6000670de0b6b3a7640000821215614f2f57614f26826a0c097ce7bc90715b34b9f160241b81614f2057614f2061620f565b05614eee565b60000392915050565b6000775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b8312614f7a5772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b8312614fb1576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff00840008312614ff9576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312615034576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf850831261506b57693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e283126150a257690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d0383126150d75768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb41746121110831261510257680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d8312615137576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f1775788937937831261516c576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b28660383126151a0576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac83126151d4576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d6310000080860302816151fd576151fd61620f565b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b60405180606001604052806152f460405180610120016040528060008152602001600081526020016000815260200160006001600160a01b0316815260200160008152602001600081526020016000815260200160008152602001600081525090565b815260200160008152602001600081525090565b6001600160a01b03811681146107c757600080fd5b80356142d281615308565b80151581146107c757600080fd5b60008060006060848603121561534b57600080fd5b833561535681615308565b9250602084013561536681615328565b9150604084013561537681615328565b809150509250925092565b60006020828403121561539357600080fd5b8135612ba981615308565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b03811182821017156153d7576153d761539e565b60405290565b604051601f8201601f191681016001600160401b03811182821017156154055761540561539e565b604052919050565b600060c0828403121561541f57600080fd5b60405160c081016001600160401b03811182821017156154415761544161539e565b8060405250823581526020830135602082015260408301356040820152606083013560608201526080830135608082015260a083013560a08201528091505092915050565b60006020828403121561549857600080fd5b5035919050565b600082601f8301126154b057600080fd5b81356001600160401b038111156154c9576154c961539e565b6154dc601f8201601f19166020016153dd565b8181528460208386010111156154f157600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561552157600080fd5b823561552c81615308565b915060208301356001600160401b0381111561554757600080fd5b6155538582860161549f565b9150509250929050565b600060a082840312156142c257600080fd5b600080600080610100858703121561558657600080fd5b843561559181615308565b93506155a0866020870161555d565b939693955050505060c08201359160e0013590565b918252602082015260400190565b8051825260208082015190830152604090810151910152565b6060810161200c82846155c3565b6001600160a01b0391909116815260200190565b60008083601f84011261561057600080fd5b5081356001600160401b0381111561562757600080fd5b6020830191508360208260051b850101111561564257600080fd5b9250929050565b6000806000806060858703121561565f57600080fd5b843561566a81615308565b935060208501356001600160401b0381111561568557600080fd5b615691878288016155fe565b9598909750949560400135949350505050565b600080600080600061012086880312156156bd57600080fd5b85356156c881615308565b94506156d7876020880161555d565b949794965050505060c08301359260e081013592610100909101359150565b9283526020830191909152604082015260600190565b600080600060e0848603121561572157600080fd5b61572b858561555d565b9560a0850135955060c0909401359392505050565b600060c082840312156142c257600080fd5b600060c0828403121561576457600080fd5b612ba98383615740565b6000806020838503121561578157600080fd5b82356001600160401b0381111561579757600080fd5b6157a3858286016155fe565b90969095509350505050565b805180518352602081015160208401526040810151604084015260018060a01b0360608201511660608401526080810151608084015260a081015160a084015260c081015160c084015260e081015160e084015261010080820151818501525050602081015161012083015260408101516101408301525050565b610160810161200c82846157af565b600080600080610180858703121561585057600080fd5b61585a868661555d565b93506158698660a0870161555d565b939693955050505061014082013591610160013590565b6000806040838503121561589357600080fd5b823561589e81615308565b946020939093013593505050565b6000806000606084860312156158c157600080fd5b83356158cc81615308565b925060208401356001600160401b038111156158e757600080fd5b6158f386828701615740565b925050604084013590509250925092565b602080825282518282018190526000919060409081850190868401855b8281101561594f57815180516001600160a01b03168552860151868501529284019290850190600101615921565b5091979650505050505050565b6000806000806060858703121561597257600080fd5b843593506020850135925060408501356001600160401b038082111561599757600080fd5b818701915087601f8301126159ab57600080fd5b8135818111156159ba57600080fd5b8860208285010111156159cc57600080fd5b95989497505060200194505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c908201526000805160206164a083398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201526000805160206164a083398151915260408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b600052602160045260246000fd5b60068110615aaa57615aaa615a84565b9052565b80358252602081013560208301526040810135604083015260608101356060830152608081013560808301525050565b6103e08101615aed82896155c3565b615afa60608301886157af565b85546101c083015260018601546101e08301526002860154610200830152600386015461022083015260048601546102408301526005860154610260830152615b47610280830186615a9a565b615b556102a0830185615aae565b614699610340830184615aae565b60008060408385031215615b7657600080fd5b82519150602083015160038110615b8c57600080fd5b809150509250929050565b6101008101615ba68287615aae565b8460a08301528360c08301528260e083015295945050505050565b6101208101615bd08288615aae565b8560a08301528460c08301528360e0830152826101008301529695505050505050565b634e487b7160e01b600052603260045260246000fd5b60008235603e19833603018112615c1f57600080fd5b9190910192915050565b6000808335601e19843603018112615c4057600080fd5b8301803591506001600160401b03821115615c5a57600080fd5b6020019150600581901b360382131561564257600080fd5b80516142d281615308565b60006101208284031215615c9057600080fd5b615c986153b4565b825181526020830151602082015260408301516040820152615cbc60608401615c72565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015181830152508091505092915050565b600060a08284031215615d1157600080fd5b60405160a081016001600160401b0381118282101715615d3357615d3361539e565b806040525082358152602083013560208201526040830135604082015260608301356060820152608083013560808201528091505092915050565b600060808284031215615d8057600080fd5b604051608081016001600160401b038082118383101715615da357615da361539e565b816040528293508435915060048210615dbb57600080fd5b908252602084013590615dcd82615308565b8160208401526040850135915080821115615de757600080fd5b50615df48582860161549f565b6040830152506060830135615e0881615328565b6060919091015292915050565b600060c08236031215615e2757600080fd5b60405160c081016001600160401b038082118383101715615e4a57615e4a61539e565b8160405284359150615e5b82615308565b8183526020850135602084015260408501359150615e7882615308565b81604084015260608501359150615e8e82615308565b816060840152615ea06080860161531d565b608084015260a0850135915080821115615eb957600080fd5b50615ec636828601615d6e565b60a08301525092915050565b60006001600160401b03821115615eeb57615eeb61539e565b5060051b60200190565b60006020808385031215615f0857600080fd5b82516001600160401b03811115615f1e57600080fd5b8301601f81018513615f2f57600080fd5b8051615f42615f3d82615ed2565b6153dd565b81815260059190911b82018301908381019087831115615f6157600080fd5b928401925b82841015614699578351615f7981615308565b82529284019290840190615f66565b6001600160a01b0393909316835290151560208301521515604082015260600190565b600082601f830112615fbc57600080fd5b81516020615fcc615f3d83615ed2565b82815260059290921b84018101918181019086841115615feb57600080fd5b8286015b848110156160065780518352918301918301615fef565b509695505050505050565b6000806040838503121561602457600080fd5b825160208401519092506001600160401b0381111561604257600080fd5b61555385828601615fab565b60006020828403121561606057600080fd5b81516001600160401b0381111561607657600080fd5b61225984828501615fab565b634e487b7160e01b600052600160045260246000fd5b6000602082840312156160aa57600080fd5b5051919050565b600080604083850312156160c457600080fd5b505080516020909101519092909150565b6000823560be19833603018112615c1f57600080fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561200c5761200c6160eb565b600060018201616126576161266160eb565b5060010190565b8181038181111561200c5761200c6160eb565b60005b8381101561615b578181015183820152602001616143565b50506000910152565b6000815180845261617c816020860160208601616140565b601f01601f19169290920160200192915050565b60018060a01b03841681528260208201526060604082015260006161b76060830184616164565b95945050505050565b6001600160a01b039390931683526020830191909152604082015260600190565b6000806000606084860312156161f657600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052601260045260246000fd5b60006001600160601b038381168061623f5761623f61620f565b92169190910492915050565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600060018060a01b038087168352808616602084015284604084015260806060840152808451166080840152602084015160a08401528060408501511660c08401528060608501511660e08401528060808501511661010084015260a084015160c061012085015280516004811061630357616303615a84565b610140850152602081015190911661016084015260408101516080610180850152906163336101c0850183616164565b9150606081015115156101a0850152508091505095945050505050565b808202811582820484141761200c5761200c6160eb565b6000826163765761637661620f565b500490565b60006020828403121561638d57600080fd5b8151612ba981615328565b6001600160a01b03929092168252602082015260400190565b60008251615c1f818460208701616140565b80820260008212600160ff1b841416156163df576163df6160eb565b818105831482151761200c5761200c6160eb565b8181036000831280158383131683831282161715616413576164136160eb565b5092915050565b6000826164295761642961620f565b600160ff1b821460001984141615616443576164436160eb565b500590565b8082018281126000831280158216821582161715616468576164686160eb565b505092915050565b6000600160ff1b8201616485576164856160eb565b5060000390565b602081526000612ba9602083018461616456fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220b54e080ecd828cb3298ab4db10b13431b0f3f46c717dfced9978eddb01e6b73a64736f6c63430008110033";
1772
-
1773
- type LongYieldTradingBotConstructorParams =
1774
- | [signer?: Signer]
1775
- | ConstructorParameters<typeof ContractFactory>;
1776
-
1777
- const isSuperArgs = (
1778
- xs: LongYieldTradingBotConstructorParams
1779
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
1780
-
1781
- export class LongYieldTradingBot__factory extends ContractFactory {
1782
- constructor(...args: LongYieldTradingBotConstructorParams) {
1783
- if (isSuperArgs(args)) {
1784
- super(...args);
1785
- } else {
1786
- super(_abi, _bytecode, args[0]);
1787
- }
1788
- this.contractName = "LongYieldTradingBot";
1789
- }
1790
-
1791
- deploy(
1792
- _market: string,
1793
- _PENDLE: string,
1794
- _decisionHelper: string,
1795
- overrides?: Overrides & { from?: string | Promise<string> }
1796
- ): Promise<LongYieldTradingBot> {
1797
- return super.deploy(
1798
- _market,
1799
- _PENDLE,
1800
- _decisionHelper,
1801
- overrides || {}
1802
- ) as Promise<LongYieldTradingBot>;
1803
- }
1804
- getDeployTransaction(
1805
- _market: string,
1806
- _PENDLE: string,
1807
- _decisionHelper: string,
1808
- overrides?: Overrides & { from?: string | Promise<string> }
1809
- ): TransactionRequest {
1810
- return super.getDeployTransaction(
1811
- _market,
1812
- _PENDLE,
1813
- _decisionHelper,
1814
- overrides || {}
1815
- );
1816
- }
1817
- attach(address: string): LongYieldTradingBot {
1818
- return super.attach(address) as LongYieldTradingBot;
1819
- }
1820
- connect(signer: Signer): LongYieldTradingBot__factory {
1821
- return super.connect(signer) as LongYieldTradingBot__factory;
1822
- }
1823
- static readonly contractName: "LongYieldTradingBot";
1824
- public readonly contractName: "LongYieldTradingBot";
1825
- static readonly bytecode = _bytecode;
1826
- static readonly abi = _abi;
1827
- static createInterface(): LongYieldTradingBotInterface {
1828
- return new utils.Interface(_abi) as LongYieldTradingBotInterface;
1829
- }
1830
- static connect(
1831
- address: string,
1832
- signerOrProvider: Signer | Provider
1833
- ): LongYieldTradingBot {
1834
- return new Contract(address, _abi, signerOrProvider) as LongYieldTradingBot;
1835
- }
1836
- }