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