@pendle/core-v2 2.18.0 → 2.19.0-tradingbot
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/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- 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/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
- 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/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
- 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/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- 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/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.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/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
- 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/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
- 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/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/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/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/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/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/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- 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/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/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/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/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
- 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/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
- package/build/artifacts/contracts/core/TradingBot/LongYield/LongYieldDecisionHelper.sol/LongYieldDecisionHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/TradingBot/LongYield/LongYieldDecisionHelper.sol/LongYieldDecisionHelper.json +1215 -0
- package/build/artifacts/contracts/core/TradingBot/LongYield/LongYieldTradingBot.sol/LongYieldTradingBot.dbg.json +4 -0
- package/build/artifacts/contracts/core/TradingBot/LongYield/LongYieldTradingBot.sol/LongYieldTradingBot.json +1681 -0
- package/build/artifacts/contracts/core/TradingBot/ShortYield/ShortYieldDecisionHelper.sol/ShortYieldDecisionHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/TradingBot/ShortYield/ShortYieldDecisionHelper.sol/ShortYieldDecisionHelper.json +1215 -0
- package/build/artifacts/contracts/core/TradingBot/ShortYield/ShortYieldTradingBot.sol/ShortYieldTradingBot.dbg.json +4 -0
- package/build/artifacts/contracts/core/TradingBot/ShortYield/ShortYieldTradingBot.sol/ShortYieldTradingBot.json +1535 -0
- package/build/artifacts/contracts/core/TradingBot/base/BotActionCallback.sol/BotActionCallback.dbg.json +4 -0
- package/build/artifacts/contracts/core/TradingBot/base/BotActionCallback.sol/BotActionCallback.json +932 -0
- package/build/artifacts/contracts/core/TradingBot/base/BotActionHelper.sol/BotActionHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/TradingBot/base/BotActionHelper.sol/BotActionHelper.json +932 -0
- package/build/artifacts/contracts/core/TradingBot/base/BotDecisionHelperBase.sol/BotDecisionHelperBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/TradingBot/base/BotDecisionHelperBase.sol/BotDecisionHelperBase.json +789 -0
- package/build/artifacts/contracts/core/TradingBot/base/TradingBotBase.sol/TradingBotBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/TradingBot/base/TradingBotBase.sol/TradingBotBase.json +882 -0
- package/build/artifacts/contracts/core/TradingBot/libraries/BotSimulationLib.sol/BotSimulationLib.dbg.json +4 -0
- package/build/artifacts/contracts/core/TradingBot/libraries/BotSimulationLib.sol/BotSimulationLib.json +10 -0
- package/build/artifacts/contracts/core/TradingBot/libraries/MarketExtLib.sol/MarketExtLib.dbg.json +4 -0
- package/build/artifacts/contracts/core/TradingBot/libraries/MarketExtLib.sol/MarketExtLib.json +24 -0
- package/build/artifacts/contracts/core/TradingBot/libraries/SpecSegmentLib.sol/SpecSegmentLib.dbg.json +4 -0
- package/build/artifacts/contracts/core/TradingBot/libraries/SpecSegmentLib.sol/SpecSegmentLib.json +10 -0
- 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/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
- 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/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +2 -2
- 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/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +151 -2
- package/build/artifacts/contracts/core/libraries/TokenAmountLib.sol/TokenAmountLib.dbg.json +4 -0
- package/build/artifacts/contracts/core/libraries/TokenAmountLib.sol/TokenAmountLib.json +10 -0
- package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IERC4626LinearPool.sol/IERC4626LinearPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.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/ICamelotPair.sol/ICamelotPair.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/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/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.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/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/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/TradingBot/IBotDecisionHelper.sol/IBotDecisionHelper.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/TradingBot/IBotDecisionHelper.sol/IBotDecisionHelper.json +652 -0
- package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldDecisionHelper.sol/ILongYieldDecisionHelper.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldDecisionHelper.sol/ILongYieldDecisionHelper.json +671 -0
- package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldTradingBot.sol/ILongYieldTradingBot.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/TradingBot/ILongYieldTradingBot.sol/ILongYieldTradingBot.json +1094 -0
- package/build/artifacts/contracts/interfaces/TradingBot/IShortYieldDecisionHelper.sol/IShortYieldDecisionHelper.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/TradingBot/IShortYieldDecisionHelper.sol/IShortYieldDecisionHelper.json +652 -0
- package/build/artifacts/contracts/interfaces/TradingBot/IShortYieldTradingBot.sol/IShortYieldTradingBot.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/TradingBot/IShortYieldTradingBot.sol/IShortYieldTradingBot.json +1075 -0
- package/build/artifacts/contracts/interfaces/TradingBot/ITradingBotBase.sol/ITradingBotBase.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/TradingBot/ITradingBotBase.sol/ITradingBotBase.json +632 -0
- package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.json +10 -0
- 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/Broadcaster.sol/Broadcaster.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
- 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/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
- 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/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- 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/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
- 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/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
- 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/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
- 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/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
- 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/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.json +166 -0
- package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.json +2 -2
- 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/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +2 -2
- 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/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- 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/IHashflow.sol/IHashflow.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/contracts/core/TradingBot/LongYield/LongYieldDecisionHelper.sol +216 -0
- package/contracts/core/TradingBot/LongYield/LongYieldTradingBot.sol +97 -0
- package/contracts/core/TradingBot/README.md +153 -0
- package/contracts/core/TradingBot/ShortYield/ShortYieldDecisionHelper.sol +198 -0
- package/contracts/core/TradingBot/ShortYield/ShortYieldTradingBot.sol +101 -0
- package/contracts/core/TradingBot/base/BotActionCallback.sol +112 -0
- package/contracts/core/TradingBot/base/BotActionHelper.sol +178 -0
- package/contracts/core/TradingBot/base/BotDecisionHelperBase.sol +235 -0
- package/contracts/core/TradingBot/base/TradingBotBase.sol +184 -0
- package/contracts/core/TradingBot/libraries/BotSimulationLib.sol +155 -0
- package/contracts/core/TradingBot/libraries/MarketExtLib.sol +310 -0
- package/contracts/core/TradingBot/libraries/SpecSegmentLib.sol +62 -0
- package/contracts/core/libraries/Errors.sol +12 -0
- package/contracts/core/libraries/TokenAmountLib.sol +47 -0
- package/contracts/interfaces/TradingBot/IBotDecisionHelper.sol +57 -0
- package/contracts/interfaces/TradingBot/ILongYieldDecisionHelper.sol +8 -0
- package/contracts/interfaces/TradingBot/ILongYieldTradingBot.sol +51 -0
- package/contracts/interfaces/TradingBot/IShortYieldDecisionHelper.sol +7 -0
- package/contracts/interfaces/TradingBot/IShortYieldTradingBot.sol +27 -0
- package/contracts/interfaces/TradingBot/ITradingBotBase.sol +67 -0
- package/contracts/offchain-helpers/BoringLpSeller.sol +47 -0
- package/contracts/oracles/samples/PendleLpGlpOracle.sol +49 -0
- package/package.json +1 -1
- package/typechain-types/BotActionCallback.ts +950 -0
- package/typechain-types/BotActionHelper.ts +950 -0
- package/typechain-types/BotDecisionHelper.ts +561 -0
- package/typechain-types/BotDecisionHelperBase.ts +484 -0
- package/typechain-types/BotDecisionLib.ts +335 -0
- package/typechain-types/CamelotV1LpHelper.ts +203 -0
- package/typechain-types/CamelotV1Preview.ts +431 -0
- package/typechain-types/I1inchAggregationRouterV5.ts +257 -0
- package/typechain-types/IAnkrBNB.ts +150 -0
- package/typechain-types/IAnkrLiquidStaking.ts +253 -0
- package/typechain-types/IBotDecisionHelper.ts +452 -0
- package/typechain-types/ICamelotSY.ts +100 -0
- package/typechain-types/IExecutorHelper1.ts +643 -0
- package/typechain-types/IExecutorHelper2.ts +115 -0
- package/typechain-types/IExecutorHelperEthereum1.ts +643 -0
- package/typechain-types/ILongYieldDecisionHelper.ts +486 -0
- package/typechain-types/ILongYieldTradingBot.ts +928 -0
- package/typechain-types/IPExternalRewardDistributor.ts +192 -0
- package/typechain-types/IPMarketFactoryV2.ts +253 -0
- package/typechain-types/IPendlePreviewHelper.ts +147 -0
- package/typechain-types/IShortYieldDecisionHelper.ts +452 -0
- package/typechain-types/IShortYieldTradingBot.ts +820 -0
- package/typechain-types/ISwETH.ts +123 -0
- package/typechain-types/IThenaFactory.ts +245 -0
- package/typechain-types/IThenaGaugeV2.ts +206 -0
- package/typechain-types/IThenaPair.ts +579 -0
- package/typechain-types/IThenaRouter.ts +313 -0
- package/typechain-types/IThenaSY.ts +81 -0
- package/typechain-types/ITradingBotBase.ts +619 -0
- package/typechain-types/IWBETH.ts +128 -0
- package/typechain-types/LongYieldDecisionHelper.ts +601 -0
- package/typechain-types/LongYieldTradingBot.ts +1414 -0
- package/typechain-types/MarketExtLib.ts +81 -0
- package/typechain-types/PendleAnkrBNBSY.ts +1235 -0
- package/typechain-types/PendleAuraWstethAnkreth.ts +1511 -0
- package/typechain-types/PendleBinanceEth.ts +1229 -0
- package/typechain-types/PendleCamelotV1SY.ts +1961 -0
- package/typechain-types/PendleExternalRewardDistributor.ts +546 -0
- package/typechain-types/PendleGaugeV2.ts +225 -0
- package/typechain-types/PendleLpGlpOracle.ts +145 -0
- package/typechain-types/PendleMarketFactoryV2.ts +930 -0
- package/typechain-types/PendleMarketV2.ts +1311 -0
- package/typechain-types/PendleSwETH.ts +1216 -0
- package/typechain-types/PendleSwapArbitrum.ts +126 -0
- package/typechain-types/PendleSwapEthereum.ts +126 -0
- package/typechain-types/PendleThenaSY.ts +1598 -0
- package/typechain-types/PendleWbEthSY.ts +1229 -0
- package/typechain-types/PtAndLpToAsset.ts +136 -0
- package/typechain-types/ShortYieldDecisionHelper.ts +601 -0
- package/typechain-types/ShortYieldTradingBot.ts +1306 -0
- package/typechain-types/ThenaLpHelper.ts +191 -0
- package/typechain-types/ThenaMath.ts +87 -0
- package/typechain-types/ThenaPreview.ts +450 -0
- package/typechain-types/TradingBotBase.ts +906 -0
- package/typechain-types/TradingBotOffchain.ts +568 -0
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/BotActionCallback__factory.ts +947 -0
- package/typechain-types/factories/BotActionHelper__factory.ts +947 -0
- package/typechain-types/factories/BotDecisionHelperBase__factory.ts +808 -0
- package/typechain-types/factories/BotDecisionHelper__factory.ts +1192 -0
- package/typechain-types/factories/BotDecisionLib__factory.ts +642 -0
- package/typechain-types/factories/Broadcaster__factory.ts +1 -1
- package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
- package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
- package/typechain-types/factories/BulkSeller__factory.ts +1 -1
- package/typechain-types/factories/CamelotV1LpHelper__factory.ts +143 -0
- package/typechain-types/factories/CamelotV1Preview__factory.ts +309 -0
- package/typechain-types/factories/Errors__factory.ts +150 -1
- package/typechain-types/factories/I1inchAggregationRouterV5__factory.ts +179 -0
- package/typechain-types/factories/IAnkrBNB__factory.ts +74 -0
- package/typechain-types/factories/IAnkrLiquidStaking__factory.ts +123 -0
- package/typechain-types/factories/IBotDecisionHelper__factory.ts +667 -0
- package/typechain-types/factories/ICamelotSY__factory.ts +49 -0
- package/typechain-types/factories/IExecutorHelper1__factory.ts +403 -0
- package/typechain-types/factories/IExecutorHelper2__factory.ts +55 -0
- package/typechain-types/factories/IExecutorHelperEthereum1__factory.ts +407 -0
- package/typechain-types/factories/ILongYieldDecisionHelper__factory.ts +690 -0
- package/typechain-types/factories/ILongYieldTradingBot__factory.ts +1113 -0
- package/typechain-types/factories/IPExternalRewardDistributor__factory.ts +128 -0
- package/typechain-types/factories/IPMarketFactoryV2__factory.ts +181 -0
- package/typechain-types/factories/IPendlePreviewHelper__factory.ts +78 -0
- package/typechain-types/factories/IShortYieldDecisionHelper__factory.ts +671 -0
- package/typechain-types/factories/IShortYieldTradingBot__factory.ts +1094 -0
- package/typechain-types/factories/ISwETH__factory.ts +53 -0
- package/typechain-types/factories/IThenaFactory__factory.ts +164 -0
- package/typechain-types/factories/IThenaGaugeV2__factory.ts +83 -0
- package/typechain-types/factories/IThenaPair__factory.ts +421 -0
- package/typechain-types/factories/IThenaRouter__factory.ts +200 -0
- package/typechain-types/factories/IThenaSY__factory.ts +36 -0
- package/typechain-types/factories/ITradingBotBase__factory.ts +647 -0
- package/typechain-types/factories/IWBETH__factory.ts +51 -0
- package/typechain-types/factories/LongYieldDecisionHelper__factory.ts +1272 -0
- package/typechain-types/factories/LongYieldTradingBot__factory.ts +1754 -0
- package/typechain-types/factories/MarketExtLib__factory.ts +74 -0
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleAnkrBNBSY__factory.ts +1100 -0
- package/typechain-types/factories/PendleArbitrumStakedEthSY__factory.ts +27 -2
- 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/PendleAuraWethWstethSYV2__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWstethAnkreth__factory.ts +1244 -0
- package/typechain-types/factories/PendleBinanceEth__factory.ts +1052 -0
- package/typechain-types/factories/PendleCamelotV1SY__factory.ts +1595 -0
- package/typechain-types/factories/PendleCamelotV1VolatileSY__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/PendleExternalRewardDistributor__factory.ts +414 -0
- package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeV2__factory.ts +140 -0
- package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
- package/typechain-types/factories/PendleLpGlpOracle__factory.ts +246 -0
- package/typechain-types/factories/PendleMarketFactoryV2__factory.ts +770 -0
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketV2__factory.ts +1290 -0
- 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/PendlePrincipalTokenV2__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendlePtGlpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendlePtOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__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/PendleSwETH__factory.ts +1022 -0
- package/typechain-types/factories/PendleSwapArbitrum__factory.ts +129 -0
- package/typechain-types/factories/PendleSwapEthereum__factory.ts +129 -0
- package/typechain-types/factories/PendleThenaSY__factory.ts +1352 -0
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWbEthSY__factory.ts +1049 -0
- package/typechain-types/factories/PendleWstEthSY__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/PtAndLpToAsset__factory.ts +150 -0
- package/typechain-types/factories/SAPE__factory.ts +1 -1
- package/typechain-types/factories/ShortYieldDecisionHelper__factory.ts +1272 -0
- package/typechain-types/factories/ShortYieldTradingBot__factory.ts +1612 -0
- package/typechain-types/factories/ThenaLpHelper__factory.ts +140 -0
- package/typechain-types/factories/ThenaMath__factory.ts +36 -0
- package/typechain-types/factories/ThenaPreview__factory.ts +319 -0
- package/typechain-types/factories/TradingBotBase__factory.ts +897 -0
- package/typechain-types/factories/TradingBotOffchain__factory.ts +1133 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +144 -9
- package/typechain-types/index.ts +32 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.json +0 -966
- package/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol +0 -114
- package/deployments/42161-markets/RETH-ARBITRUM-JUNE2024.json +0 -10
- package/deployments/42161-markets/WSTETH-ARBITRUM-JUNE2024.json +0 -10
|
@@ -0,0 +1,1535 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "ShortYieldTradingBot",
|
|
4
|
+
"sourceName": "contracts/core/TradingBot/ShortYield/ShortYieldTradingBot.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "_market",
|
|
11
|
+
"type": "address"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "address",
|
|
15
|
+
"name": "_router",
|
|
16
|
+
"type": "address"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"internalType": "address",
|
|
20
|
+
"name": "_PENDLE",
|
|
21
|
+
"type": "address"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"internalType": "address",
|
|
25
|
+
"name": "_decisionHelper",
|
|
26
|
+
"type": "address"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"stateMutability": "nonpayable",
|
|
30
|
+
"type": "constructor"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"inputs": [
|
|
34
|
+
{
|
|
35
|
+
"internalType": "address",
|
|
36
|
+
"name": "caller",
|
|
37
|
+
"type": "address"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"name": "BotCallbackNotMarket",
|
|
41
|
+
"type": "error"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"inputs": [
|
|
45
|
+
{
|
|
46
|
+
"internalType": "uint256",
|
|
47
|
+
"name": "actualSyOut",
|
|
48
|
+
"type": "uint256"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"internalType": "uint256",
|
|
52
|
+
"name": "requiredSyOut",
|
|
53
|
+
"type": "uint256"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"name": "BotInsufficientSyOut",
|
|
57
|
+
"type": "error"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"inputs": [
|
|
61
|
+
{
|
|
62
|
+
"internalType": "uint256",
|
|
63
|
+
"name": "actualYtOut",
|
|
64
|
+
"type": "uint256"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"internalType": "uint256",
|
|
68
|
+
"name": "requiredYtOut",
|
|
69
|
+
"type": "uint256"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"name": "BotInsufficientYtOut",
|
|
73
|
+
"type": "error"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"anonymous": false,
|
|
77
|
+
"inputs": [
|
|
78
|
+
{
|
|
79
|
+
"indexed": false,
|
|
80
|
+
"internalType": "address",
|
|
81
|
+
"name": "previousAdmin",
|
|
82
|
+
"type": "address"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"indexed": false,
|
|
86
|
+
"internalType": "address",
|
|
87
|
+
"name": "newAdmin",
|
|
88
|
+
"type": "address"
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"name": "AdminChanged",
|
|
92
|
+
"type": "event"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"anonymous": false,
|
|
96
|
+
"inputs": [
|
|
97
|
+
{
|
|
98
|
+
"indexed": true,
|
|
99
|
+
"internalType": "address",
|
|
100
|
+
"name": "beacon",
|
|
101
|
+
"type": "address"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"name": "BeaconUpgraded",
|
|
105
|
+
"type": "event"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"anonymous": false,
|
|
109
|
+
"inputs": [
|
|
110
|
+
{
|
|
111
|
+
"indexed": false,
|
|
112
|
+
"internalType": "uint256",
|
|
113
|
+
"name": "netSyOut",
|
|
114
|
+
"type": "uint256"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"indexed": false,
|
|
118
|
+
"internalType": "uint256",
|
|
119
|
+
"name": "netPendleOut",
|
|
120
|
+
"type": "uint256"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"name": "ClaimAndCompound",
|
|
124
|
+
"type": "event"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"anonymous": false,
|
|
128
|
+
"inputs": [
|
|
129
|
+
{
|
|
130
|
+
"indexed": false,
|
|
131
|
+
"internalType": "uint256",
|
|
132
|
+
"name": "netSyIn",
|
|
133
|
+
"type": "uint256"
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"name": "DepositSy",
|
|
137
|
+
"type": "event"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"anonymous": false,
|
|
141
|
+
"inputs": [
|
|
142
|
+
{
|
|
143
|
+
"indexed": true,
|
|
144
|
+
"internalType": "address",
|
|
145
|
+
"name": "token",
|
|
146
|
+
"type": "address"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"indexed": false,
|
|
150
|
+
"internalType": "uint256",
|
|
151
|
+
"name": "netTokenIn",
|
|
152
|
+
"type": "uint256"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"name": "DepositToken",
|
|
156
|
+
"type": "event"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"anonymous": false,
|
|
160
|
+
"inputs": [
|
|
161
|
+
{
|
|
162
|
+
"indexed": false,
|
|
163
|
+
"internalType": "uint8",
|
|
164
|
+
"name": "version",
|
|
165
|
+
"type": "uint8"
|
|
166
|
+
}
|
|
167
|
+
],
|
|
168
|
+
"name": "Initialized",
|
|
169
|
+
"type": "event"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"anonymous": false,
|
|
173
|
+
"inputs": [
|
|
174
|
+
{
|
|
175
|
+
"indexed": false,
|
|
176
|
+
"internalType": "uint256",
|
|
177
|
+
"name": "netSyIn",
|
|
178
|
+
"type": "uint256"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"indexed": false,
|
|
182
|
+
"internalType": "uint256",
|
|
183
|
+
"name": "netPyOut",
|
|
184
|
+
"type": "uint256"
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"name": "MintPy",
|
|
188
|
+
"type": "event"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"anonymous": false,
|
|
192
|
+
"inputs": [
|
|
193
|
+
{
|
|
194
|
+
"indexed": true,
|
|
195
|
+
"internalType": "address",
|
|
196
|
+
"name": "previousOwner",
|
|
197
|
+
"type": "address"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"indexed": true,
|
|
201
|
+
"internalType": "address",
|
|
202
|
+
"name": "newOwner",
|
|
203
|
+
"type": "address"
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"name": "OwnershipTransferred",
|
|
207
|
+
"type": "event"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"anonymous": false,
|
|
211
|
+
"inputs": [
|
|
212
|
+
{
|
|
213
|
+
"components": [
|
|
214
|
+
{
|
|
215
|
+
"components": [
|
|
216
|
+
{
|
|
217
|
+
"internalType": "uint256",
|
|
218
|
+
"name": "guessMin",
|
|
219
|
+
"type": "uint256"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"internalType": "uint256",
|
|
223
|
+
"name": "guessMax",
|
|
224
|
+
"type": "uint256"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"internalType": "uint256",
|
|
228
|
+
"name": "guessOffchain",
|
|
229
|
+
"type": "uint256"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"internalType": "uint256",
|
|
233
|
+
"name": "maxIteration",
|
|
234
|
+
"type": "uint256"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"internalType": "uint256",
|
|
238
|
+
"name": "eps",
|
|
239
|
+
"type": "uint256"
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
"internalType": "struct ApproxParams",
|
|
243
|
+
"name": "botParams",
|
|
244
|
+
"type": "tuple"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"components": [
|
|
248
|
+
{
|
|
249
|
+
"internalType": "uint256",
|
|
250
|
+
"name": "guessMin",
|
|
251
|
+
"type": "uint256"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"internalType": "uint256",
|
|
255
|
+
"name": "guessMax",
|
|
256
|
+
"type": "uint256"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"internalType": "uint256",
|
|
260
|
+
"name": "guessOffchain",
|
|
261
|
+
"type": "uint256"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"internalType": "uint256",
|
|
265
|
+
"name": "maxIteration",
|
|
266
|
+
"type": "uint256"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"internalType": "uint256",
|
|
270
|
+
"name": "eps",
|
|
271
|
+
"type": "uint256"
|
|
272
|
+
}
|
|
273
|
+
],
|
|
274
|
+
"internalType": "struct ApproxParams",
|
|
275
|
+
"name": "guessTotalPtToSwap",
|
|
276
|
+
"type": "tuple"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"internalType": "uint256",
|
|
280
|
+
"name": "minYtOut",
|
|
281
|
+
"type": "uint256"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"internalType": "uint256",
|
|
285
|
+
"name": "targetIy",
|
|
286
|
+
"type": "uint256"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"internalType": "int256",
|
|
290
|
+
"name": "currentBin",
|
|
291
|
+
"type": "int256"
|
|
292
|
+
}
|
|
293
|
+
],
|
|
294
|
+
"indexed": false,
|
|
295
|
+
"internalType": "struct IShortYieldTradingBot.SwapInput",
|
|
296
|
+
"name": "inputParams",
|
|
297
|
+
"type": "tuple"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"indexed": false,
|
|
301
|
+
"internalType": "uint256",
|
|
302
|
+
"name": "netYtOut",
|
|
303
|
+
"type": "uint256"
|
|
304
|
+
}
|
|
305
|
+
],
|
|
306
|
+
"name": "SwapPtForYt",
|
|
307
|
+
"type": "event"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"anonymous": false,
|
|
311
|
+
"inputs": [
|
|
312
|
+
{
|
|
313
|
+
"components": [
|
|
314
|
+
{
|
|
315
|
+
"components": [
|
|
316
|
+
{
|
|
317
|
+
"internalType": "uint256",
|
|
318
|
+
"name": "guessMin",
|
|
319
|
+
"type": "uint256"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"internalType": "uint256",
|
|
323
|
+
"name": "guessMax",
|
|
324
|
+
"type": "uint256"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"internalType": "uint256",
|
|
328
|
+
"name": "guessOffchain",
|
|
329
|
+
"type": "uint256"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"internalType": "uint256",
|
|
333
|
+
"name": "maxIteration",
|
|
334
|
+
"type": "uint256"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"internalType": "uint256",
|
|
338
|
+
"name": "eps",
|
|
339
|
+
"type": "uint256"
|
|
340
|
+
}
|
|
341
|
+
],
|
|
342
|
+
"internalType": "struct ApproxParams",
|
|
343
|
+
"name": "botParams",
|
|
344
|
+
"type": "tuple"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"components": [
|
|
348
|
+
{
|
|
349
|
+
"internalType": "uint256",
|
|
350
|
+
"name": "guessMin",
|
|
351
|
+
"type": "uint256"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"internalType": "uint256",
|
|
355
|
+
"name": "guessMax",
|
|
356
|
+
"type": "uint256"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"internalType": "uint256",
|
|
360
|
+
"name": "guessOffchain",
|
|
361
|
+
"type": "uint256"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"internalType": "uint256",
|
|
365
|
+
"name": "maxIteration",
|
|
366
|
+
"type": "uint256"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"internalType": "uint256",
|
|
370
|
+
"name": "eps",
|
|
371
|
+
"type": "uint256"
|
|
372
|
+
}
|
|
373
|
+
],
|
|
374
|
+
"internalType": "struct ApproxParams",
|
|
375
|
+
"name": "guessTotalPtToSwap",
|
|
376
|
+
"type": "tuple"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"internalType": "uint256",
|
|
380
|
+
"name": "minYtOut",
|
|
381
|
+
"type": "uint256"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"internalType": "uint256",
|
|
385
|
+
"name": "targetIy",
|
|
386
|
+
"type": "uint256"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"internalType": "int256",
|
|
390
|
+
"name": "currentBin",
|
|
391
|
+
"type": "int256"
|
|
392
|
+
}
|
|
393
|
+
],
|
|
394
|
+
"indexed": false,
|
|
395
|
+
"internalType": "struct IShortYieldTradingBot.SwapInput",
|
|
396
|
+
"name": "inputParams",
|
|
397
|
+
"type": "tuple"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"indexed": false,
|
|
401
|
+
"internalType": "uint256",
|
|
402
|
+
"name": "netPtOut",
|
|
403
|
+
"type": "uint256"
|
|
404
|
+
}
|
|
405
|
+
],
|
|
406
|
+
"name": "SwapYtForPt",
|
|
407
|
+
"type": "event"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"anonymous": false,
|
|
411
|
+
"inputs": [
|
|
412
|
+
{
|
|
413
|
+
"indexed": true,
|
|
414
|
+
"internalType": "address",
|
|
415
|
+
"name": "implementation",
|
|
416
|
+
"type": "address"
|
|
417
|
+
}
|
|
418
|
+
],
|
|
419
|
+
"name": "Upgraded",
|
|
420
|
+
"type": "event"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"anonymous": false,
|
|
424
|
+
"inputs": [
|
|
425
|
+
{
|
|
426
|
+
"indexed": true,
|
|
427
|
+
"internalType": "address",
|
|
428
|
+
"name": "token",
|
|
429
|
+
"type": "address"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"indexed": false,
|
|
433
|
+
"internalType": "uint256",
|
|
434
|
+
"name": "amount",
|
|
435
|
+
"type": "uint256"
|
|
436
|
+
}
|
|
437
|
+
],
|
|
438
|
+
"name": "WithdrawFunds",
|
|
439
|
+
"type": "event"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"inputs": [],
|
|
443
|
+
"name": "PENDLE",
|
|
444
|
+
"outputs": [
|
|
445
|
+
{
|
|
446
|
+
"internalType": "address",
|
|
447
|
+
"name": "",
|
|
448
|
+
"type": "address"
|
|
449
|
+
}
|
|
450
|
+
],
|
|
451
|
+
"stateMutability": "view",
|
|
452
|
+
"type": "function"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"inputs": [],
|
|
456
|
+
"name": "PT",
|
|
457
|
+
"outputs": [
|
|
458
|
+
{
|
|
459
|
+
"internalType": "address",
|
|
460
|
+
"name": "",
|
|
461
|
+
"type": "address"
|
|
462
|
+
}
|
|
463
|
+
],
|
|
464
|
+
"stateMutability": "view",
|
|
465
|
+
"type": "function"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"inputs": [],
|
|
469
|
+
"name": "SY",
|
|
470
|
+
"outputs": [
|
|
471
|
+
{
|
|
472
|
+
"internalType": "address",
|
|
473
|
+
"name": "",
|
|
474
|
+
"type": "address"
|
|
475
|
+
}
|
|
476
|
+
],
|
|
477
|
+
"stateMutability": "view",
|
|
478
|
+
"type": "function"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"inputs": [],
|
|
482
|
+
"name": "YT",
|
|
483
|
+
"outputs": [
|
|
484
|
+
{
|
|
485
|
+
"internalType": "address",
|
|
486
|
+
"name": "",
|
|
487
|
+
"type": "address"
|
|
488
|
+
}
|
|
489
|
+
],
|
|
490
|
+
"stateMutability": "view",
|
|
491
|
+
"type": "function"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"inputs": [
|
|
495
|
+
{
|
|
496
|
+
"components": [
|
|
497
|
+
{
|
|
498
|
+
"internalType": "address[]",
|
|
499
|
+
"name": "tokens",
|
|
500
|
+
"type": "address[]"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"internalType": "address",
|
|
504
|
+
"name": "spender",
|
|
505
|
+
"type": "address"
|
|
506
|
+
}
|
|
507
|
+
],
|
|
508
|
+
"internalType": "struct ITradingBotBase.MultiApproval[]",
|
|
509
|
+
"name": "arr",
|
|
510
|
+
"type": "tuple[]"
|
|
511
|
+
}
|
|
512
|
+
],
|
|
513
|
+
"name": "approveInf",
|
|
514
|
+
"outputs": [],
|
|
515
|
+
"stateMutability": "nonpayable",
|
|
516
|
+
"type": "function"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"inputs": [],
|
|
520
|
+
"name": "buyBins",
|
|
521
|
+
"outputs": [
|
|
522
|
+
{
|
|
523
|
+
"internalType": "uint256",
|
|
524
|
+
"name": "",
|
|
525
|
+
"type": "uint256"
|
|
526
|
+
}
|
|
527
|
+
],
|
|
528
|
+
"stateMutability": "view",
|
|
529
|
+
"type": "function"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"inputs": [
|
|
533
|
+
{
|
|
534
|
+
"components": [
|
|
535
|
+
{
|
|
536
|
+
"internalType": "address",
|
|
537
|
+
"name": "tokenIn",
|
|
538
|
+
"type": "address"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"internalType": "uint256",
|
|
542
|
+
"name": "netTokenIn",
|
|
543
|
+
"type": "uint256"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"internalType": "address",
|
|
547
|
+
"name": "tokenMintSy",
|
|
548
|
+
"type": "address"
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"internalType": "address",
|
|
552
|
+
"name": "bulk",
|
|
553
|
+
"type": "address"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"internalType": "address",
|
|
557
|
+
"name": "pendleSwap",
|
|
558
|
+
"type": "address"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"components": [
|
|
562
|
+
{
|
|
563
|
+
"internalType": "enum SwapType",
|
|
564
|
+
"name": "swapType",
|
|
565
|
+
"type": "uint8"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"internalType": "address",
|
|
569
|
+
"name": "extRouter",
|
|
570
|
+
"type": "address"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"internalType": "bytes",
|
|
574
|
+
"name": "extCalldata",
|
|
575
|
+
"type": "bytes"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"internalType": "bool",
|
|
579
|
+
"name": "needScale",
|
|
580
|
+
"type": "bool"
|
|
581
|
+
}
|
|
582
|
+
],
|
|
583
|
+
"internalType": "struct SwapData",
|
|
584
|
+
"name": "swapData",
|
|
585
|
+
"type": "tuple"
|
|
586
|
+
}
|
|
587
|
+
],
|
|
588
|
+
"internalType": "struct TokenInput[]",
|
|
589
|
+
"name": "inps",
|
|
590
|
+
"type": "tuple[]"
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"internalType": "uint256",
|
|
594
|
+
"name": "minSyOut",
|
|
595
|
+
"type": "uint256"
|
|
596
|
+
}
|
|
597
|
+
],
|
|
598
|
+
"name": "claimAndCompound",
|
|
599
|
+
"outputs": [
|
|
600
|
+
{
|
|
601
|
+
"internalType": "uint256",
|
|
602
|
+
"name": "netSyOut",
|
|
603
|
+
"type": "uint256"
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"internalType": "uint256",
|
|
607
|
+
"name": "netPendleOut",
|
|
608
|
+
"type": "uint256"
|
|
609
|
+
}
|
|
610
|
+
],
|
|
611
|
+
"stateMutability": "nonpayable",
|
|
612
|
+
"type": "function"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"inputs": [],
|
|
616
|
+
"name": "claimOwnership",
|
|
617
|
+
"outputs": [],
|
|
618
|
+
"stateMutability": "nonpayable",
|
|
619
|
+
"type": "function"
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"inputs": [],
|
|
623
|
+
"name": "claimWithoutCompound",
|
|
624
|
+
"outputs": [
|
|
625
|
+
{
|
|
626
|
+
"components": [
|
|
627
|
+
{
|
|
628
|
+
"internalType": "address",
|
|
629
|
+
"name": "token",
|
|
630
|
+
"type": "address"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"internalType": "uint256",
|
|
634
|
+
"name": "amount",
|
|
635
|
+
"type": "uint256"
|
|
636
|
+
}
|
|
637
|
+
],
|
|
638
|
+
"internalType": "struct TokenAmount[]",
|
|
639
|
+
"name": "rewards",
|
|
640
|
+
"type": "tuple[]"
|
|
641
|
+
}
|
|
642
|
+
],
|
|
643
|
+
"stateMutability": "nonpayable",
|
|
644
|
+
"type": "function"
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"inputs": [],
|
|
648
|
+
"name": "decisionHelper",
|
|
649
|
+
"outputs": [
|
|
650
|
+
{
|
|
651
|
+
"internalType": "contract IBotDecisionHelper",
|
|
652
|
+
"name": "",
|
|
653
|
+
"type": "address"
|
|
654
|
+
}
|
|
655
|
+
],
|
|
656
|
+
"stateMutability": "view",
|
|
657
|
+
"type": "function"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"inputs": [
|
|
661
|
+
{
|
|
662
|
+
"internalType": "uint256",
|
|
663
|
+
"name": "netSyIn",
|
|
664
|
+
"type": "uint256"
|
|
665
|
+
}
|
|
666
|
+
],
|
|
667
|
+
"name": "depositSy",
|
|
668
|
+
"outputs": [],
|
|
669
|
+
"stateMutability": "nonpayable",
|
|
670
|
+
"type": "function"
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"inputs": [
|
|
674
|
+
{
|
|
675
|
+
"components": [
|
|
676
|
+
{
|
|
677
|
+
"internalType": "address",
|
|
678
|
+
"name": "tokenIn",
|
|
679
|
+
"type": "address"
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"internalType": "uint256",
|
|
683
|
+
"name": "netTokenIn",
|
|
684
|
+
"type": "uint256"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"internalType": "address",
|
|
688
|
+
"name": "tokenMintSy",
|
|
689
|
+
"type": "address"
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"internalType": "address",
|
|
693
|
+
"name": "bulk",
|
|
694
|
+
"type": "address"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"internalType": "address",
|
|
698
|
+
"name": "pendleSwap",
|
|
699
|
+
"type": "address"
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"components": [
|
|
703
|
+
{
|
|
704
|
+
"internalType": "enum SwapType",
|
|
705
|
+
"name": "swapType",
|
|
706
|
+
"type": "uint8"
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"internalType": "address",
|
|
710
|
+
"name": "extRouter",
|
|
711
|
+
"type": "address"
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"internalType": "bytes",
|
|
715
|
+
"name": "extCalldata",
|
|
716
|
+
"type": "bytes"
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"internalType": "bool",
|
|
720
|
+
"name": "needScale",
|
|
721
|
+
"type": "bool"
|
|
722
|
+
}
|
|
723
|
+
],
|
|
724
|
+
"internalType": "struct SwapData",
|
|
725
|
+
"name": "swapData",
|
|
726
|
+
"type": "tuple"
|
|
727
|
+
}
|
|
728
|
+
],
|
|
729
|
+
"internalType": "struct TokenInput",
|
|
730
|
+
"name": "inp",
|
|
731
|
+
"type": "tuple"
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"internalType": "uint256",
|
|
735
|
+
"name": "minSyOut",
|
|
736
|
+
"type": "uint256"
|
|
737
|
+
}
|
|
738
|
+
],
|
|
739
|
+
"name": "depositToken",
|
|
740
|
+
"outputs": [],
|
|
741
|
+
"stateMutability": "payable",
|
|
742
|
+
"type": "function"
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"inputs": [
|
|
746
|
+
{
|
|
747
|
+
"components": [
|
|
748
|
+
{
|
|
749
|
+
"internalType": "uint256",
|
|
750
|
+
"name": "buyYtIy",
|
|
751
|
+
"type": "uint256"
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
"internalType": "uint256",
|
|
755
|
+
"name": "sellYtIy",
|
|
756
|
+
"type": "uint256"
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"internalType": "uint256",
|
|
760
|
+
"name": "targetSyRatio",
|
|
761
|
+
"type": "uint256"
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
"internalType": "uint256",
|
|
765
|
+
"name": "maxSyRatio",
|
|
766
|
+
"type": "uint256"
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"internalType": "uint256",
|
|
770
|
+
"name": "targetYtPtRatio",
|
|
771
|
+
"type": "uint256"
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"internalType": "uint256",
|
|
775
|
+
"name": "numOfBins",
|
|
776
|
+
"type": "uint256"
|
|
777
|
+
}
|
|
778
|
+
],
|
|
779
|
+
"internalType": "struct TradingSpecs",
|
|
780
|
+
"name": "_specs",
|
|
781
|
+
"type": "tuple"
|
|
782
|
+
}
|
|
783
|
+
],
|
|
784
|
+
"name": "initialize",
|
|
785
|
+
"outputs": [],
|
|
786
|
+
"stateMutability": "nonpayable",
|
|
787
|
+
"type": "function"
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
"inputs": [],
|
|
791
|
+
"name": "market",
|
|
792
|
+
"outputs": [
|
|
793
|
+
{
|
|
794
|
+
"internalType": "address",
|
|
795
|
+
"name": "",
|
|
796
|
+
"type": "address"
|
|
797
|
+
}
|
|
798
|
+
],
|
|
799
|
+
"stateMutability": "view",
|
|
800
|
+
"type": "function"
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"inputs": [
|
|
804
|
+
{
|
|
805
|
+
"internalType": "uint256",
|
|
806
|
+
"name": "netSyIn",
|
|
807
|
+
"type": "uint256"
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
"internalType": "uint256",
|
|
811
|
+
"name": "minPyOut",
|
|
812
|
+
"type": "uint256"
|
|
813
|
+
}
|
|
814
|
+
],
|
|
815
|
+
"name": "mintPY",
|
|
816
|
+
"outputs": [
|
|
817
|
+
{
|
|
818
|
+
"internalType": "uint256",
|
|
819
|
+
"name": "netPyOut",
|
|
820
|
+
"type": "uint256"
|
|
821
|
+
}
|
|
822
|
+
],
|
|
823
|
+
"stateMutability": "nonpayable",
|
|
824
|
+
"type": "function"
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"inputs": [],
|
|
828
|
+
"name": "owner",
|
|
829
|
+
"outputs": [
|
|
830
|
+
{
|
|
831
|
+
"internalType": "address",
|
|
832
|
+
"name": "",
|
|
833
|
+
"type": "address"
|
|
834
|
+
}
|
|
835
|
+
],
|
|
836
|
+
"stateMutability": "view",
|
|
837
|
+
"type": "function"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"inputs": [],
|
|
841
|
+
"name": "pendingOwner",
|
|
842
|
+
"outputs": [
|
|
843
|
+
{
|
|
844
|
+
"internalType": "address",
|
|
845
|
+
"name": "",
|
|
846
|
+
"type": "address"
|
|
847
|
+
}
|
|
848
|
+
],
|
|
849
|
+
"stateMutability": "view",
|
|
850
|
+
"type": "function"
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"inputs": [],
|
|
854
|
+
"name": "proxiableUUID",
|
|
855
|
+
"outputs": [
|
|
856
|
+
{
|
|
857
|
+
"internalType": "bytes32",
|
|
858
|
+
"name": "",
|
|
859
|
+
"type": "bytes32"
|
|
860
|
+
}
|
|
861
|
+
],
|
|
862
|
+
"stateMutability": "view",
|
|
863
|
+
"type": "function"
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
"inputs": [],
|
|
867
|
+
"name": "readBotState",
|
|
868
|
+
"outputs": [
|
|
869
|
+
{
|
|
870
|
+
"components": [
|
|
871
|
+
{
|
|
872
|
+
"internalType": "uint256",
|
|
873
|
+
"name": "lpBalance",
|
|
874
|
+
"type": "uint256"
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
"internalType": "uint256",
|
|
878
|
+
"name": "ytBalance",
|
|
879
|
+
"type": "uint256"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"internalType": "uint256",
|
|
883
|
+
"name": "ptBalance",
|
|
884
|
+
"type": "uint256"
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"internalType": "uint256",
|
|
888
|
+
"name": "syBalance",
|
|
889
|
+
"type": "uint256"
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
"internalType": "uint256",
|
|
893
|
+
"name": "buyBins",
|
|
894
|
+
"type": "uint256"
|
|
895
|
+
}
|
|
896
|
+
],
|
|
897
|
+
"internalType": "struct BotState",
|
|
898
|
+
"name": "botState",
|
|
899
|
+
"type": "tuple"
|
|
900
|
+
}
|
|
901
|
+
],
|
|
902
|
+
"stateMutability": "view",
|
|
903
|
+
"type": "function"
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
"inputs": [],
|
|
907
|
+
"name": "readMarketExtState",
|
|
908
|
+
"outputs": [
|
|
909
|
+
{
|
|
910
|
+
"components": [
|
|
911
|
+
{
|
|
912
|
+
"components": [
|
|
913
|
+
{
|
|
914
|
+
"internalType": "int256",
|
|
915
|
+
"name": "totalPt",
|
|
916
|
+
"type": "int256"
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"internalType": "int256",
|
|
920
|
+
"name": "totalSy",
|
|
921
|
+
"type": "int256"
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"internalType": "int256",
|
|
925
|
+
"name": "totalLp",
|
|
926
|
+
"type": "int256"
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
"internalType": "address",
|
|
930
|
+
"name": "treasury",
|
|
931
|
+
"type": "address"
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"internalType": "int256",
|
|
935
|
+
"name": "scalarRoot",
|
|
936
|
+
"type": "int256"
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"internalType": "uint256",
|
|
940
|
+
"name": "expiry",
|
|
941
|
+
"type": "uint256"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"internalType": "uint256",
|
|
945
|
+
"name": "lnFeeRateRoot",
|
|
946
|
+
"type": "uint256"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"internalType": "uint256",
|
|
950
|
+
"name": "reserveFeePercent",
|
|
951
|
+
"type": "uint256"
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"internalType": "uint256",
|
|
955
|
+
"name": "lastLnImpliedRate",
|
|
956
|
+
"type": "uint256"
|
|
957
|
+
}
|
|
958
|
+
],
|
|
959
|
+
"internalType": "struct MarketState",
|
|
960
|
+
"name": "state",
|
|
961
|
+
"type": "tuple"
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
"internalType": "PYIndex",
|
|
965
|
+
"name": "index",
|
|
966
|
+
"type": "uint256"
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
"internalType": "uint256",
|
|
970
|
+
"name": "blockTime",
|
|
971
|
+
"type": "uint256"
|
|
972
|
+
}
|
|
973
|
+
],
|
|
974
|
+
"internalType": "struct MarketExtState",
|
|
975
|
+
"name": "marketExt",
|
|
976
|
+
"type": "tuple"
|
|
977
|
+
}
|
|
978
|
+
],
|
|
979
|
+
"stateMutability": "nonpayable",
|
|
980
|
+
"type": "function"
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"inputs": [],
|
|
984
|
+
"name": "readStrategyData",
|
|
985
|
+
"outputs": [
|
|
986
|
+
{
|
|
987
|
+
"components": [
|
|
988
|
+
{
|
|
989
|
+
"components": [
|
|
990
|
+
{
|
|
991
|
+
"internalType": "uint256",
|
|
992
|
+
"name": "lpBalance",
|
|
993
|
+
"type": "uint256"
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"internalType": "uint256",
|
|
997
|
+
"name": "ytBalance",
|
|
998
|
+
"type": "uint256"
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
"internalType": "uint256",
|
|
1002
|
+
"name": "ptBalance",
|
|
1003
|
+
"type": "uint256"
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
"internalType": "uint256",
|
|
1007
|
+
"name": "syBalance",
|
|
1008
|
+
"type": "uint256"
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"internalType": "uint256",
|
|
1012
|
+
"name": "buyBins",
|
|
1013
|
+
"type": "uint256"
|
|
1014
|
+
}
|
|
1015
|
+
],
|
|
1016
|
+
"internalType": "struct BotState",
|
|
1017
|
+
"name": "botState",
|
|
1018
|
+
"type": "tuple"
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
"components": [
|
|
1022
|
+
{
|
|
1023
|
+
"components": [
|
|
1024
|
+
{
|
|
1025
|
+
"internalType": "int256",
|
|
1026
|
+
"name": "totalPt",
|
|
1027
|
+
"type": "int256"
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
"internalType": "int256",
|
|
1031
|
+
"name": "totalSy",
|
|
1032
|
+
"type": "int256"
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"internalType": "int256",
|
|
1036
|
+
"name": "totalLp",
|
|
1037
|
+
"type": "int256"
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
"internalType": "address",
|
|
1041
|
+
"name": "treasury",
|
|
1042
|
+
"type": "address"
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"internalType": "int256",
|
|
1046
|
+
"name": "scalarRoot",
|
|
1047
|
+
"type": "int256"
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"internalType": "uint256",
|
|
1051
|
+
"name": "expiry",
|
|
1052
|
+
"type": "uint256"
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
"internalType": "uint256",
|
|
1056
|
+
"name": "lnFeeRateRoot",
|
|
1057
|
+
"type": "uint256"
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
"internalType": "uint256",
|
|
1061
|
+
"name": "reserveFeePercent",
|
|
1062
|
+
"type": "uint256"
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"internalType": "uint256",
|
|
1066
|
+
"name": "lastLnImpliedRate",
|
|
1067
|
+
"type": "uint256"
|
|
1068
|
+
}
|
|
1069
|
+
],
|
|
1070
|
+
"internalType": "struct MarketState",
|
|
1071
|
+
"name": "state",
|
|
1072
|
+
"type": "tuple"
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"internalType": "PYIndex",
|
|
1076
|
+
"name": "index",
|
|
1077
|
+
"type": "uint256"
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
"internalType": "uint256",
|
|
1081
|
+
"name": "blockTime",
|
|
1082
|
+
"type": "uint256"
|
|
1083
|
+
}
|
|
1084
|
+
],
|
|
1085
|
+
"internalType": "struct MarketExtState",
|
|
1086
|
+
"name": "marketExt",
|
|
1087
|
+
"type": "tuple"
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"components": [
|
|
1091
|
+
{
|
|
1092
|
+
"internalType": "uint256",
|
|
1093
|
+
"name": "buyYtIy",
|
|
1094
|
+
"type": "uint256"
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"internalType": "uint256",
|
|
1098
|
+
"name": "sellYtIy",
|
|
1099
|
+
"type": "uint256"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"internalType": "uint256",
|
|
1103
|
+
"name": "targetSyRatio",
|
|
1104
|
+
"type": "uint256"
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
"internalType": "uint256",
|
|
1108
|
+
"name": "maxSyRatio",
|
|
1109
|
+
"type": "uint256"
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
"internalType": "uint256",
|
|
1113
|
+
"name": "targetYtPtRatio",
|
|
1114
|
+
"type": "uint256"
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
"internalType": "uint256",
|
|
1118
|
+
"name": "numOfBins",
|
|
1119
|
+
"type": "uint256"
|
|
1120
|
+
}
|
|
1121
|
+
],
|
|
1122
|
+
"internalType": "struct TradingSpecs",
|
|
1123
|
+
"name": "specs",
|
|
1124
|
+
"type": "tuple"
|
|
1125
|
+
}
|
|
1126
|
+
],
|
|
1127
|
+
"internalType": "struct StrategyData",
|
|
1128
|
+
"name": "strategyData",
|
|
1129
|
+
"type": "tuple"
|
|
1130
|
+
}
|
|
1131
|
+
],
|
|
1132
|
+
"stateMutability": "nonpayable",
|
|
1133
|
+
"type": "function"
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
"inputs": [],
|
|
1137
|
+
"name": "router",
|
|
1138
|
+
"outputs": [
|
|
1139
|
+
{
|
|
1140
|
+
"internalType": "address",
|
|
1141
|
+
"name": "",
|
|
1142
|
+
"type": "address"
|
|
1143
|
+
}
|
|
1144
|
+
],
|
|
1145
|
+
"stateMutability": "view",
|
|
1146
|
+
"type": "function"
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"inputs": [
|
|
1150
|
+
{
|
|
1151
|
+
"components": [
|
|
1152
|
+
{
|
|
1153
|
+
"internalType": "uint256",
|
|
1154
|
+
"name": "buyYtIy",
|
|
1155
|
+
"type": "uint256"
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"internalType": "uint256",
|
|
1159
|
+
"name": "sellYtIy",
|
|
1160
|
+
"type": "uint256"
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
"internalType": "uint256",
|
|
1164
|
+
"name": "targetSyRatio",
|
|
1165
|
+
"type": "uint256"
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
"internalType": "uint256",
|
|
1169
|
+
"name": "maxSyRatio",
|
|
1170
|
+
"type": "uint256"
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
"internalType": "uint256",
|
|
1174
|
+
"name": "targetYtPtRatio",
|
|
1175
|
+
"type": "uint256"
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
"internalType": "uint256",
|
|
1179
|
+
"name": "numOfBins",
|
|
1180
|
+
"type": "uint256"
|
|
1181
|
+
}
|
|
1182
|
+
],
|
|
1183
|
+
"internalType": "struct TradingSpecs",
|
|
1184
|
+
"name": "_specs",
|
|
1185
|
+
"type": "tuple"
|
|
1186
|
+
}
|
|
1187
|
+
],
|
|
1188
|
+
"name": "setSpecs",
|
|
1189
|
+
"outputs": [],
|
|
1190
|
+
"stateMutability": "nonpayable",
|
|
1191
|
+
"type": "function"
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"inputs": [],
|
|
1195
|
+
"name": "specs",
|
|
1196
|
+
"outputs": [
|
|
1197
|
+
{
|
|
1198
|
+
"internalType": "uint256",
|
|
1199
|
+
"name": "buyYtIy",
|
|
1200
|
+
"type": "uint256"
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
"internalType": "uint256",
|
|
1204
|
+
"name": "sellYtIy",
|
|
1205
|
+
"type": "uint256"
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
"internalType": "uint256",
|
|
1209
|
+
"name": "targetSyRatio",
|
|
1210
|
+
"type": "uint256"
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
"internalType": "uint256",
|
|
1214
|
+
"name": "maxSyRatio",
|
|
1215
|
+
"type": "uint256"
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
"internalType": "uint256",
|
|
1219
|
+
"name": "targetYtPtRatio",
|
|
1220
|
+
"type": "uint256"
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
"internalType": "uint256",
|
|
1224
|
+
"name": "numOfBins",
|
|
1225
|
+
"type": "uint256"
|
|
1226
|
+
}
|
|
1227
|
+
],
|
|
1228
|
+
"stateMutability": "view",
|
|
1229
|
+
"type": "function"
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
"inputs": [
|
|
1233
|
+
{
|
|
1234
|
+
"internalType": "int256",
|
|
1235
|
+
"name": "ptToAccount",
|
|
1236
|
+
"type": "int256"
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
"internalType": "int256",
|
|
1240
|
+
"name": "syToAccount",
|
|
1241
|
+
"type": "int256"
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
"internalType": "bytes",
|
|
1245
|
+
"name": "data",
|
|
1246
|
+
"type": "bytes"
|
|
1247
|
+
}
|
|
1248
|
+
],
|
|
1249
|
+
"name": "swapCallback",
|
|
1250
|
+
"outputs": [],
|
|
1251
|
+
"stateMutability": "nonpayable",
|
|
1252
|
+
"type": "function"
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
"inputs": [
|
|
1256
|
+
{
|
|
1257
|
+
"components": [
|
|
1258
|
+
{
|
|
1259
|
+
"components": [
|
|
1260
|
+
{
|
|
1261
|
+
"internalType": "uint256",
|
|
1262
|
+
"name": "guessMin",
|
|
1263
|
+
"type": "uint256"
|
|
1264
|
+
},
|
|
1265
|
+
{
|
|
1266
|
+
"internalType": "uint256",
|
|
1267
|
+
"name": "guessMax",
|
|
1268
|
+
"type": "uint256"
|
|
1269
|
+
},
|
|
1270
|
+
{
|
|
1271
|
+
"internalType": "uint256",
|
|
1272
|
+
"name": "guessOffchain",
|
|
1273
|
+
"type": "uint256"
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
"internalType": "uint256",
|
|
1277
|
+
"name": "maxIteration",
|
|
1278
|
+
"type": "uint256"
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"internalType": "uint256",
|
|
1282
|
+
"name": "eps",
|
|
1283
|
+
"type": "uint256"
|
|
1284
|
+
}
|
|
1285
|
+
],
|
|
1286
|
+
"internalType": "struct ApproxParams",
|
|
1287
|
+
"name": "botParams",
|
|
1288
|
+
"type": "tuple"
|
|
1289
|
+
},
|
|
1290
|
+
{
|
|
1291
|
+
"components": [
|
|
1292
|
+
{
|
|
1293
|
+
"internalType": "uint256",
|
|
1294
|
+
"name": "guessMin",
|
|
1295
|
+
"type": "uint256"
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
"internalType": "uint256",
|
|
1299
|
+
"name": "guessMax",
|
|
1300
|
+
"type": "uint256"
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
"internalType": "uint256",
|
|
1304
|
+
"name": "guessOffchain",
|
|
1305
|
+
"type": "uint256"
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
"internalType": "uint256",
|
|
1309
|
+
"name": "maxIteration",
|
|
1310
|
+
"type": "uint256"
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
"internalType": "uint256",
|
|
1314
|
+
"name": "eps",
|
|
1315
|
+
"type": "uint256"
|
|
1316
|
+
}
|
|
1317
|
+
],
|
|
1318
|
+
"internalType": "struct ApproxParams",
|
|
1319
|
+
"name": "guessTotalPtToSwap",
|
|
1320
|
+
"type": "tuple"
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
"internalType": "uint256",
|
|
1324
|
+
"name": "minYtOut",
|
|
1325
|
+
"type": "uint256"
|
|
1326
|
+
},
|
|
1327
|
+
{
|
|
1328
|
+
"internalType": "uint256",
|
|
1329
|
+
"name": "targetIy",
|
|
1330
|
+
"type": "uint256"
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"internalType": "int256",
|
|
1334
|
+
"name": "currentBin",
|
|
1335
|
+
"type": "int256"
|
|
1336
|
+
}
|
|
1337
|
+
],
|
|
1338
|
+
"internalType": "struct IShortYieldTradingBot.SwapInput",
|
|
1339
|
+
"name": "inputParams",
|
|
1340
|
+
"type": "tuple"
|
|
1341
|
+
}
|
|
1342
|
+
],
|
|
1343
|
+
"name": "swapPtForYt",
|
|
1344
|
+
"outputs": [
|
|
1345
|
+
{
|
|
1346
|
+
"internalType": "uint256",
|
|
1347
|
+
"name": "netYtOut",
|
|
1348
|
+
"type": "uint256"
|
|
1349
|
+
}
|
|
1350
|
+
],
|
|
1351
|
+
"stateMutability": "nonpayable",
|
|
1352
|
+
"type": "function"
|
|
1353
|
+
},
|
|
1354
|
+
{
|
|
1355
|
+
"inputs": [
|
|
1356
|
+
{
|
|
1357
|
+
"components": [
|
|
1358
|
+
{
|
|
1359
|
+
"components": [
|
|
1360
|
+
{
|
|
1361
|
+
"internalType": "uint256",
|
|
1362
|
+
"name": "guessMin",
|
|
1363
|
+
"type": "uint256"
|
|
1364
|
+
},
|
|
1365
|
+
{
|
|
1366
|
+
"internalType": "uint256",
|
|
1367
|
+
"name": "guessMax",
|
|
1368
|
+
"type": "uint256"
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
"internalType": "uint256",
|
|
1372
|
+
"name": "guessOffchain",
|
|
1373
|
+
"type": "uint256"
|
|
1374
|
+
},
|
|
1375
|
+
{
|
|
1376
|
+
"internalType": "uint256",
|
|
1377
|
+
"name": "maxIteration",
|
|
1378
|
+
"type": "uint256"
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
"internalType": "uint256",
|
|
1382
|
+
"name": "eps",
|
|
1383
|
+
"type": "uint256"
|
|
1384
|
+
}
|
|
1385
|
+
],
|
|
1386
|
+
"internalType": "struct ApproxParams",
|
|
1387
|
+
"name": "botParams",
|
|
1388
|
+
"type": "tuple"
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
"components": [
|
|
1392
|
+
{
|
|
1393
|
+
"internalType": "uint256",
|
|
1394
|
+
"name": "guessMin",
|
|
1395
|
+
"type": "uint256"
|
|
1396
|
+
},
|
|
1397
|
+
{
|
|
1398
|
+
"internalType": "uint256",
|
|
1399
|
+
"name": "guessMax",
|
|
1400
|
+
"type": "uint256"
|
|
1401
|
+
},
|
|
1402
|
+
{
|
|
1403
|
+
"internalType": "uint256",
|
|
1404
|
+
"name": "guessOffchain",
|
|
1405
|
+
"type": "uint256"
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
"internalType": "uint256",
|
|
1409
|
+
"name": "maxIteration",
|
|
1410
|
+
"type": "uint256"
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
"internalType": "uint256",
|
|
1414
|
+
"name": "eps",
|
|
1415
|
+
"type": "uint256"
|
|
1416
|
+
}
|
|
1417
|
+
],
|
|
1418
|
+
"internalType": "struct ApproxParams",
|
|
1419
|
+
"name": "guessTotalPtToSwap",
|
|
1420
|
+
"type": "tuple"
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
"internalType": "uint256",
|
|
1424
|
+
"name": "minYtOut",
|
|
1425
|
+
"type": "uint256"
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
"internalType": "uint256",
|
|
1429
|
+
"name": "targetIy",
|
|
1430
|
+
"type": "uint256"
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
"internalType": "int256",
|
|
1434
|
+
"name": "currentBin",
|
|
1435
|
+
"type": "int256"
|
|
1436
|
+
}
|
|
1437
|
+
],
|
|
1438
|
+
"internalType": "struct IShortYieldTradingBot.SwapInput",
|
|
1439
|
+
"name": "inputParams",
|
|
1440
|
+
"type": "tuple"
|
|
1441
|
+
}
|
|
1442
|
+
],
|
|
1443
|
+
"name": "swapYtForPt",
|
|
1444
|
+
"outputs": [
|
|
1445
|
+
{
|
|
1446
|
+
"internalType": "uint256",
|
|
1447
|
+
"name": "netPtOut",
|
|
1448
|
+
"type": "uint256"
|
|
1449
|
+
}
|
|
1450
|
+
],
|
|
1451
|
+
"stateMutability": "nonpayable",
|
|
1452
|
+
"type": "function"
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
"inputs": [
|
|
1456
|
+
{
|
|
1457
|
+
"internalType": "address",
|
|
1458
|
+
"name": "newOwner",
|
|
1459
|
+
"type": "address"
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"internalType": "bool",
|
|
1463
|
+
"name": "direct",
|
|
1464
|
+
"type": "bool"
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
"internalType": "bool",
|
|
1468
|
+
"name": "renounce",
|
|
1469
|
+
"type": "bool"
|
|
1470
|
+
}
|
|
1471
|
+
],
|
|
1472
|
+
"name": "transferOwnership",
|
|
1473
|
+
"outputs": [],
|
|
1474
|
+
"stateMutability": "nonpayable",
|
|
1475
|
+
"type": "function"
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
"inputs": [
|
|
1479
|
+
{
|
|
1480
|
+
"internalType": "address",
|
|
1481
|
+
"name": "newImplementation",
|
|
1482
|
+
"type": "address"
|
|
1483
|
+
}
|
|
1484
|
+
],
|
|
1485
|
+
"name": "upgradeTo",
|
|
1486
|
+
"outputs": [],
|
|
1487
|
+
"stateMutability": "nonpayable",
|
|
1488
|
+
"type": "function"
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
"inputs": [
|
|
1492
|
+
{
|
|
1493
|
+
"internalType": "address",
|
|
1494
|
+
"name": "newImplementation",
|
|
1495
|
+
"type": "address"
|
|
1496
|
+
},
|
|
1497
|
+
{
|
|
1498
|
+
"internalType": "bytes",
|
|
1499
|
+
"name": "data",
|
|
1500
|
+
"type": "bytes"
|
|
1501
|
+
}
|
|
1502
|
+
],
|
|
1503
|
+
"name": "upgradeToAndCall",
|
|
1504
|
+
"outputs": [],
|
|
1505
|
+
"stateMutability": "payable",
|
|
1506
|
+
"type": "function"
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
"inputs": [
|
|
1510
|
+
{
|
|
1511
|
+
"internalType": "address",
|
|
1512
|
+
"name": "token",
|
|
1513
|
+
"type": "address"
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
"internalType": "uint256",
|
|
1517
|
+
"name": "amount",
|
|
1518
|
+
"type": "uint256"
|
|
1519
|
+
}
|
|
1520
|
+
],
|
|
1521
|
+
"name": "withdrawFunds",
|
|
1522
|
+
"outputs": [],
|
|
1523
|
+
"stateMutability": "nonpayable",
|
|
1524
|
+
"type": "function"
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
"stateMutability": "payable",
|
|
1528
|
+
"type": "receive"
|
|
1529
|
+
}
|
|
1530
|
+
],
|
|
1531
|
+
"bytecode": "0x61018060405230610160523480156200001757600080fd5b506040516200474a3803806200474a8339810160408190526200003a91620002ea565b6001548490849084908490600160a81b900460ff161580801562000069575060018054600160a01b900460ff16105b806200009f575062000086306200023f60201b620019cf1760201c565b1580156200009f575060018054600160a01b900460ff16145b620001085760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6001805460ff60a01b1916600160a01b179055801562000136576001805460ff60a81b1916600160a81b1790555b6000806000876001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156200017a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a0919062000352565b6001600160a01b03808c1660a0528a811660c05280841660e052808316610100528082166101205289811661014052881660805291945092509050620001e56200024e565b505050801562000230576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050505050620003a6565b6001600160a01b03163b151590565b600154600160a81b900460ff16620002bd5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000ff565b600080546001600160a01b03191633179055565b6001600160a01b0381168114620002e757600080fd5b50565b600080600080608085870312156200030157600080fd5b84516200030e81620002d1565b60208601519094506200032181620002d1565b60408601519093506200033481620002d1565b60608601519092506200034781620002d1565b939692955090935050565b6000806000606084860312156200036857600080fd5b83516200037581620002d1565b60208501519093506200038881620002d1565b60408501519092506200039b81620002d1565b809150509250925092565b60805160a05160c05160e051610100516101205161014051610160516141ee6200055c6000396000818161072d0152818161076d01528181610b4b01528181610b8b0152610c030152600081816103330152818161096b015261099b0152600081816102f201528181610d0a015281816110280152818161152b015281816115b501528181611c5a0152818161224f015281816125f901528181612622015281816126b0015281816126d10152818161270d01526128240152600081816104fa01528181610d38015281816125d801526127ab01526000818161047301528181610ae501528181610cdc01528181611660015281816116ea01528181611cf4015261241c0152600081816105dc01528181610faf0152818161206601528181612288015281816123de01526124b901526000818161036701528181610cb101528181610f820152818161178e015281816118180152818161192d01528181611d8801528181612095015281816124e80152818161273a015281816127cc015261285101526000818161058601528181610dab01528181610e6c0152818161135001528181611411015261211201526141ee6000f3fe60806040526004361061016c5760003560e01c8063078dfbe7146101785780633659cfe61461019a57806337deed8d146101ba57806343833bd6146101da5780634e71e0c8146102115780634f0364b1146102265780634f1ef2861461024657806352d1902d1461025957806365b800e61461027c578063673729e21461029e5780636f8d6197146102be578063781c18db146102e05780637cf738d21461032157806380f55605146103555780638da5cb5b14610389578063961434ba146103a9578063a7584e5e146103c9578063acdb32df146103e9578063adb7c3f714610409578063afd27bf514610461578063c09aa0d214610495578063c1075329146104a8578063c23b340a146104c8578063d94073d4146104e8578063dbeadc071461051c578063e138b2ee1461053e578063e30c397814610554578063e82cee7914610574578063eb983ce5146105a8578063f887ea40146105ca578063fa483e72146105fe57600080fd5b3661017357005b600080fd5b34801561018457600080fd5b506101986101933660046131fe565b61061e565b005b3480156101a657600080fd5b506101986101b5366004613249565b610723565b3480156101c657600080fd5b506101986101d53660046132d5565b6107eb565b3480156101e657600080fd5b506101fa6101f5366004613399565b610924565b6040516102089291906133e4565b60405180910390f35b34801561021d57600080fd5b50610198610a0b565b34801561023257600080fd5b506101986102413660046133f2565b610ab6565b61019861025436600461347a565b610b41565b34801561026557600080fd5b5061026e610bf6565b604051908152602001610208565b34801561028857600080fd5b50610291610ca4565b60405161020891906134f9565b3480156102aa57600080fd5b5061026e6102b9366004613507565b610d6c565b3480156102ca57600080fd5b506102d3610f63565b604051610208919061359b565b3480156102ec57600080fd5b506103147f000000000000000000000000000000000000000000000000000000000000000081565b60405161020891906135aa565b34801561032d57600080fd5b506103147f000000000000000000000000000000000000000000000000000000000000000081565b34801561036157600080fd5b506103147f000000000000000000000000000000000000000000000000000000000000000081565b34801561039557600080fd5b50600054610314906001600160a01b031681565b3480156103b557600080fd5b5061026e6103c43660046135be565b61105b565b3480156103d557600080fd5b506101986103e43660046135f2565b6110d1565b3480156103f557600080fd5b5061019861040436600461360e565b611112565b34801561041557600080fd5b5060325460335460345460355460365460375461043495949392919086565b604080519687526020870195909552938501929092526060840152608083015260a082015260c001610208565b34801561046d57600080fd5b506103147f000000000000000000000000000000000000000000000000000000000000000081565b6101986104a336600461364f565b6111dd565b3480156104b457600080fd5b506101986104c3366004613693565b61128c565b3480156104d457600080fd5b5061026e6104e3366004613507565b611311565b3480156104f457600080fd5b506103147f000000000000000000000000000000000000000000000000000000000000000081565b34801561052857600080fd5b506105316114fa565b60405161020891906136bf565b34801561054a57600080fd5b5061026e60385481565b34801561056057600080fd5b50600154610314906001600160a01b031681565b34801561058057600080fd5b506103147f000000000000000000000000000000000000000000000000000000000000000081565b3480156105b457600080fd5b506105bd6118c1565b604051610208919061377b565b3480156105d657600080fd5b506103147f000000000000000000000000000000000000000000000000000000000000000081565b34801561060a57600080fd5b5061019861061936600461378a565b611922565b6000546001600160a01b031633146106515760405162461bcd60e51b815260040161064890613809565b60405180910390fd5b8115610702576001600160a01b03831615158061066b5750805b6106af5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610648565b600080546040516001600160a01b038087169392169160008051602061417283398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016300361076b5760405162461bcd60e51b81526004016106489061383e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661079d6119de565b6001600160a01b0316146107c35760405162461bcd60e51b815260040161064890613878565b6107cc816119fa565b604080516000808252602082019092526107e891839190611a24565b50565b600154600160a81b900460ff1615808015610811575060018054600160a01b900460ff16105b806108385750610820306119cf565b158015610838575060018054600160a01b900460ff16145b61089b5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610648565b6001805460ff60a01b1916600160a01b17905580156108c8576001805460ff60a81b1916600160a81b1790555b6108d182611b8f565b6108d9611bc2565b8015610920576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6000805481906001600160a01b031633146109515760405162461bcd60e51b815260040161064890613809565b610959611c43565b610964858585611e04565b915061098f7f0000000000000000000000000000000000000000000000000000000000000000611e90565b6000549091506109ca907f0000000000000000000000000000000000000000000000000000000000000000906001600160a01b031683611f1b565b7f9fdfc39e9c36ec108e0a3b25ecb0818f9dba6993f27c8ab183d6f707c0a0e31982826040516109fb9291906133e4565b60405180910390a1935093915050565b6001546001600160a01b0316338114610a665760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610648565b600080546040516001600160a01b038085169392169160008051602061417283398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6000546001600160a01b03163314610ae05760405162461bcd60e51b815260040161064890613809565b610b0b7f00000000000000000000000000000000000000000000000000000000000000003383611fe5565b6040518181527ffbf5b64cc7bd746fa51ff05d539d45d159c0bd41ae16d90375281f2925062bb19060200160405180910390a150565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003610b895760405162461bcd60e51b81526004016106489061383e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610bbb6119de565b6001600160a01b031614610be15760405162461bcd60e51b815260040161064890613878565b610bea826119fa565b61092082826001611a24565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610c915760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b6064820152608401610648565b5060008051602061415283398151915290565b610cac6130c2565b610cd57f0000000000000000000000000000000000000000000000000000000000000000611e90565b8152610d007f0000000000000000000000000000000000000000000000000000000000000000611e90565b6060820152610d2e7f0000000000000000000000000000000000000000000000000000000000000000611e90565b6020820152610d5c7f0000000000000000000000000000000000000000000000000000000000000000611e90565b6040820152603854608082015290565b600080546001600160a01b03163314610d975760405162461bcd60e51b815260040161064890613809565b6000610da16118c1565b90508261018001357f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a76541e5836040518263ffffffff1660e01b8152600401610df5919061377b565b602060405180830381865afa158015610e12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3691906138b2565b14610e535760405162461bcd60e51b8152600401610648906138cb565b60405162c9c2bd60e21b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906303270af490610eb59085906004906101608a013590600019908b9060a08201908501613946565b602060405180830381865afa158015610ed2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef691906138b2565b9050610f1981610f0e36879003870160a08801613996565b86610140013561204c565b9250610f2361210e565b7f93b9ea2ceafb33c3d178543b6174dad16bc3758c8efc2f1b3af0e23c7b2aaabc8484604051610f54929190613a05565b60405180910390a15050919050565b610f6b6130f1565b60405163794052f360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063794052f390610fd7907f0000000000000000000000000000000000000000000000000000000000000000906004016135aa565b61012060405180830381865afa158015610ff5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110199190613a5b565b815261104d6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166121cc565b602082015242604082015290565b600080546001600160a01b031633146110865760405162461bcd60e51b815260040161064890613809565b6110908383612232565b90507f20f588a986f4abfc6a3938b2ed65876aa1e6c664928cf2f3acad472e3bd69f6983836040516110c39291906133e4565b60405180910390a192915050565b6000546001600160a01b031633146110fb5760405162461bcd60e51b815260040161064890613809565b6107e861110d368390038301836132d5565b611b8f565b6000546001600160a01b0316331461113c5760405162461bcd60e51b815260040161064890613809565b60005b8181101561071e573683838381811061115a5761115a613add565b905060200281019061116c9190613af3565b905060005b61117b8280613b13565b90508110156111d3576111cb6111918380613b13565b838181106111a1576111a1613add565b90506020020160208101906111b69190613249565b6111c66040850160208601613249565b6122f7565b600101611171565b505060010161113f565b6000546001600160a01b031633146112075760405162461bcd60e51b815260040161064890613809565b6112226112176020840184613249565b338460200135611fe5565b61123461122e83613c03565b826123b2565b506112426020830183613249565b6001600160a01b03167f2d0c0a8842b9944ece1495eb61121621b5e36bd6af3bba0318c695f525aef79f836020013560405161128091815260200190565b60405180910390a25050565b6000546001600160a01b031633146112b65760405162461bcd60e51b815260040161064890613809565b60001981036112cb576112c882611e90565b90505b6112d6823383611f1b565b816001600160a01b03167f21901fa892c430ea8bd38b9390225ac8e67eac75ee10ffba16feefc539a288f98260405161128091815260200190565b600080546001600160a01b0316331461133c5760405162461bcd60e51b815260040161064890613809565b60006113466118c1565b90508261018001357f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a76541e5836040518263ffffffff1660e01b815260040161139a919061377b565b602060405180830381865afa1580156113b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113db91906138b2565b146113f85760405162461bcd60e51b8152600401610648906138cb565b60405162c9c2bd60e21b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906303270af49061145b9085906003906101608a013590600019908b9060a0820190600401613946565b602060405180830381865afa158015611478573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149c91906138b2565b90506114bf816114b436879003870160a08801613996565b86610140013561249f565b92506114c961210e565b7f68a0fb08793b691b39b922d846dbd4052d7ff0873d1ff07e08afaeb8046654cc8484604051610f54929190613a05565b6000546060906001600160a01b031633146115275760405162461bcd60e51b815260040161064890613809565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c4f59f9b6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611587573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115af9190810190613ce3565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637d24da4d306001806040518463ffffffff1660e01b815260040161160493929190613d76565b6000604051808303816000875af1158015611623573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261164b9190810190613dff565b915061165a9050838383612516565b925060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c4f59f9b6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156116bc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116e49190810190613ce3565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ef5cfb8c306040518263ffffffff1660e01b815260040161173491906135aa565b6000604051808303816000875af1158015611753573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261177b9190810190613e3c565b9050611788858383612516565b945060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c4f59f9b6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156117ea573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118129190810190613ce3565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639262187b306040518263ffffffff1660e01b815260040161186291906135aa565b6000604051808303816000875af1158015611881573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118a99190810190613e3c565b90506118b6878383612516565b965050505050505090565b6118c9613168565b6118d1610ca4565b81526118db610f63565b6020808301919091526040805160c081018252603254815260335492810192909252603454828201526035546060830152603654608083015260375460a083015282015290565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016811461196e578060405163719d6b0360e01b815260040161064891906135aa565b8235600181600481111561198457611984613900565b0361199a57611995868686866125ce565b6119c7565b60028160048111156119ae576119ae613900565b036119bf5761199586868686612804565b6119c7613e70565b505050505050565b6001600160a01b03163b151590565b600080516020614152833981519152546001600160a01b031690565b6000546001600160a01b031633146107e85760405162461bcd60e51b815260040161064890613809565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615611a575761071e836128e5565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611ab1575060408051601f3d908101601f19168201909252611aae918101906138b2565b60015b611b145760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610648565b6000805160206141528339815191528114611b835760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610648565b5061071e83838361297f565b8051603255602081015160335560408101516034556060810151603555608081015160365560a001516037819055603855565b600154600160a81b900460ff16611c2f5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610648565b600080546001600160a01b03191633179055565b604051637d24da4d60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690637d24da4d90611c949030906001908190600401613d76565b6000604051808303816000875af1158015611cb3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611cdb9190810190613dff565b5050604051633bd73ee360e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ef5cfb8c90611d299030906004016135aa565b6000604051808303816000875af1158015611d48573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d709190810190613e3c565b50604051639262187b60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690639262187b90611dbd9030906004016135aa565b6000604051808303816000875af1158015611ddc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107e89190810190613e3c565b6000805b83811015611e6357611e47858583818110611e2557611e25613add565b9050602002810190611e379190613e86565b611e4090613c03565b60006123b2565b611e519083613eb2565b9150611e5c81613ec5565b9050611e08565b5081811015611e8957808260405163d294eca360e01b81526004016106489291906133e4565b9392505050565b60006001600160a01b03821615611f13576040516370a0823160e01b81526001600160a01b038316906370a0823190611ecd9030906004016135aa565b602060405180830381865afa158015611eea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f0e91906138b2565b611f15565b475b92915050565b80600003611f2857505050565b6001600160a01b038316611fd1576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611f83576040519150601f19603f3d011682016040523d82523d6000602084013e611f88565b606091505b5050905080611fcb5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610648565b50505050565b61071e6001600160a01b03841683836129a4565b6001600160a01b0383166120315780341461071e5760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610648565b801561071e5761071e6001600160a01b0384168330846129fa565b60405163448b9b9560e01b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063448b9b95906120c39030907f000000000000000000000000000000000000000000000000000000000000000090899088908a90600401613ede565b60408051808303816000875af11580156120e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121059190613f12565b50949350505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a76541e56121476118c1565b6040518263ffffffff1660e01b8152600401612163919061377b565b602060405180830381865afa158015612180573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a491906138b2565b90506107e86121c7826121b8603854612a32565b6121c29190613f36565b612a4c565b603855565b6000816001600160a01b0316631d52edc46040518163ffffffff1660e01b81526004016020604051808303816000875af115801561220e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1591906138b2565b604051630d4318d960e11b81523060048201526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116602483015260448201849052606482018390526000917f000000000000000000000000000000000000000000000000000000000000000090911690631a8631b2906084016020604051808303816000875af11580156122d3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e8991906138b2565b6001600160a01b038216612309575050565b61231b60026001600160601b03613f5e565b6001600160601b0316826001600160a01b031663dd62ed3e30846040518363ffffffff1660e01b8152600401612352929190613f92565b602060405180830381865afa15801561236f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061239391906138b2565b1015610920576123a582826000612a5b565b6109208282600019612a5b565b60006000198360200151036123d25782516123cc90611e90565b60208401525b82516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169163443e6512911615612413576000612419565b84602001515b307f000000000000000000000000000000000000000000000000000000000000000086886040518663ffffffff1660e01b815260040161245c9493929190613ffc565b60206040518083038185885af115801561247a573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611e8991906138b2565b60405163190c351360e31b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c861a898906120c39030907f000000000000000000000000000000000000000000000000000000000000000090899088908a90600401613ede565b805182518491146125695760405162461bcd60e51b815260206004820152601f60248201527f546f6b656e416d6f756e744c69623a206c656e677468206d69736d61746368006044820152606401610648565b60005b83518110156125c6576125b28285838151811061258b5761258b613add565b60200260200101518584815181106125a5576125a5613add565b6020026020010151612b6f565b9150806125be81613ec5565b91505061256c565b509392505050565b602082013561261e7f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000083611f1b565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632f13b60c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561267e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126a291906140c3565b15905080156126f6576126f67f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000084611f1b565b60405163bcb7ea5d60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063bcb7ea5d90612762907f0000000000000000000000000000000000000000000000000000000000000000906004016135aa565b6020604051808303816000875af1158015612781573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127a591906138b2565b506119c77f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000846127f58a612a4c565b6127ff91906140e0565b611f1b565b60405163db74aa1560e01b81526020830135906000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063db74aa159061287b907f0000000000000000000000000000000000000000000000000000000000000000903090600401613f92565b6020604051808303816000875af115801561289a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128be91906138b2565b9050818110156119c757808260405163716d9a5760e11b81526004016106489291906133e4565b6128ee816119cf565b6129505760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610648565b60008051602061415283398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61298883612d31565b6000825111806129955750805b1561071e57611fcb8383612d71565b61071e8363a9059cbb60e01b84846040516024016129c39291906140f3565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612d96565b6040516001600160a01b0380851660248301528316604482015260648101829052611fcb9085906323b872dd60e01b906084016129c3565b60006001600160ff1b03821115612a4857600080fd5b5090565b600080821215612a4857600080fd5b600080846001600160a01b031663095ea7b360e01b8585604051602401612a839291906140f3565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051612ac1919061410c565b6000604051808303816000865af19150503d8060008114612afe576040519150601f19603f3d011682016040523d82523d6000602084013e612b03565b606091505b5091509150818015612b2d575080511580612b2d575080806020019051810190612b2d91906140c3565b612b685760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401610648565b5050505050565b606081600003612b80575082611e89565b835160005b8551811015612bde57846001600160a01b0316868281518110612baa57612baa613add565b6020026020010151600001516001600160a01b031603612bcc57809150612bde565b80612bd681613ec5565b915050612b85565b5084518114612bee576000612bf1565b60015b60ff168551612c009190613eb2565b6001600160401b03811115612c1757612c17613266565b604051908082528060200260200182016040528015612c5c57816020015b6040805180820190915260008082526020820152815260200190600190039081612c355790505b50915060005b8551811015612cb557858181518110612c7d57612c7d613add565b6020026020010151838281518110612c9757612c97613add565b60200260200101819052508080612cad90613ec5565b915050612c62565b506040518060400160405280856001600160a01b031681526020018487518414612cfc57878481518110612ceb57612ceb613add565b602002602001015160200151612cff565b60005b612d099190613eb2565b815250828281518110612d1e57612d1e613add565b6020026020010181905250509392505050565b612d3a816128e5565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060611e89838360405180606001604052806027815260200161419260279139612e68565b6000612deb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612f439092919063ffffffff16565b80519091501561071e5780806020019051810190612e0991906140c3565b61071e5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610648565b6060612e73846119cf565b612ece5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610648565b600080856001600160a01b031685604051612ee9919061410c565b600060405180830381855af49150503d8060008114612f24576040519150601f19603f3d011682016040523d82523d6000602084013e612f29565b606091505b5091509150612f39828286612f5a565b9695505050505050565b6060612f528484600085612f93565b949350505050565b60608315612f69575081611e89565b825115612f795782518084602001fd5b8160405162461bcd60e51b8152600401610648919061411e565b606082471015612ff45760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610648565b612ffd856119cf565b6130495760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610648565b600080866001600160a01b03168587604051613065919061410c565b60006040518083038185875af1925050503d80600081146130a2576040519150601f19603f3d011682016040523d82523d6000602084013e6130a7565b606091505b50915091506130b7828286612f5a565b979650505050505050565b6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b604051806060016040528061315460405180610120016040528060008152602001600081526020016000815260200160006001600160a01b0316815260200160008152602001600081526020016000815260200160008152602001600081525090565b815260200160008152602001600081525090565b604051806060016040528061317b6130c2565b81526020016131886130f1565b81526020016131c66040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b905290565b6001600160a01b03811681146107e857600080fd5b80356131eb816131cb565b919050565b80151581146107e857600080fd5b60008060006060848603121561321357600080fd5b833561321e816131cb565b9250602084013561322e816131f0565b9150604084013561323e816131f0565b809150509250925092565b60006020828403121561325b57600080fd5b8135611e89816131cb565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b038111828210171561329f5761329f613266565b60405290565b604051601f8201601f191681016001600160401b03811182821017156132cd576132cd613266565b604052919050565b600060c082840312156132e757600080fd5b60405160c081016001600160401b038111828210171561330957613309613266565b8060405250823581526020830135602082015260408301356040820152606083013560608201526080830135608082015260a083013560a08201528091505092915050565b60008083601f84011261336057600080fd5b5081356001600160401b0381111561337757600080fd5b6020830191508360208260051b850101111561339257600080fd5b9250929050565b6000806000604084860312156133ae57600080fd5b83356001600160401b038111156133c457600080fd5b6133d08682870161334e565b909790965060209590950135949350505050565b918252602082015260400190565b60006020828403121561340457600080fd5b5035919050565b600082601f83011261341c57600080fd5b81356001600160401b0381111561343557613435613266565b613448601f8201601f19166020016132a5565b81815284602083860101111561345d57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561348d57600080fd5b8235613498816131cb565b915060208301356001600160401b038111156134b357600080fd5b6134bf8582860161340b565b9150509250929050565b80518252602081015160208301526040810151604083015260608101516060830152608081015160808301525050565b60a08101611f1582846134c9565b60006101a0828403121561351a57600080fd5b50919050565b805180518352602081015160208401526040810151604084015260018060a01b0360608201511660608401526080810151608084015260a081015160a084015260c081015160c084015260e081015160e084015261010080820151818501525050602081015161012083015260408101516101408301525050565b6101608101611f158284613520565b6001600160a01b0391909116815260200190565b600080604083850312156135d157600080fd5b50508035926020909101359150565b600060c0828403121561351a57600080fd5b600060c0828403121561360457600080fd5b611e8983836135e0565b6000806020838503121561362157600080fd5b82356001600160401b0381111561363757600080fd5b6136438582860161334e565b90969095509350505050565b6000806040838503121561366257600080fd5b82356001600160401b0381111561367857600080fd5b613684858286016135e0565b95602094909401359450505050565b600080604083850312156136a657600080fd5b82356136b1816131cb565b946020939093013593505050565b602080825282518282018190526000919060409081850190868401855b8281101561370a57815180516001600160a01b031685528601518685015292840192908501906001016136dc565b5091979650505050505050565b6137228282516134c9565b602081015161373460a0840182613520565b5060409081015180516102008401526020810151610220840152908101516102408301526060810151610260830152608081015161028083015260a001516102a090910152565b6102c08101611f158284613717565b600080600080606085870312156137a057600080fd5b843593506020850135925060408501356001600160401b03808211156137c557600080fd5b818701915087601f8301126137d957600080fd5b8135818111156137e857600080fd5b8860208285010111156137fa57600080fd5b95989497505060200194505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c9082015260008051602061413283398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c9082015260008051602061413283398151915260408201526b6163746976652070726f787960a01b606082015260800190565b6000602082840312156138c457600080fd5b5051919050565b6020808252818101527f72656d6f76654c6971546f59743a2062696e2073746174652065787069726564604082015260600190565b634e487b7160e01b600052602160045260246000fd5b80358252602081013560208301526040810135604083015260608101356060830152608081013560808301525050565b61046081016139558289613717565b6005871061396557613965613900565b866102c0830152856102e083015284610300830152613988610320830185613916565b6130b76103c0830184613916565b600060a082840312156139a857600080fd5b60405160a081016001600160401b03811182821017156139ca576139ca613266565b806040525082358152602083013560208201526040830135604082015260608301356060820152608083013560808201528091505092915050565b6101c08101613a148285613916565b613a2460a0830160a08601613916565b6101408481013590830152610160808501359083015261018093840135938201939093526101a0015290565b80516131eb816131cb565b60006101208284031215613a6e57600080fd5b613a7661327c565b825181526020830151602082015260408301516040820152613a9a60608401613a50565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015181830152508091505092915050565b634e487b7160e01b600052603260045260246000fd5b60008235603e19833603018112613b0957600080fd5b9190910192915050565b6000808335601e19843603018112613b2a57600080fd5b8301803591506001600160401b03821115613b4457600080fd5b6020019150600581901b360382131561339257600080fd5b600060808284031215613b6e57600080fd5b604051608081016001600160401b038082118383101715613b9157613b91613266565b816040528293508435915060048210613ba957600080fd5b908252602084013590613bbb826131cb565b8160208401526040850135915080821115613bd557600080fd5b50613be28582860161340b565b6040830152506060830135613bf6816131f0565b6060919091015292915050565b600060c08236031215613c1557600080fd5b60405160c081016001600160401b038082118383101715613c3857613c38613266565b8160405284359150613c49826131cb565b8183526020850135602084015260408501359150613c66826131cb565b81604084015260608501359150613c7c826131cb565b816060840152613c8e608086016131e0565b608084015260a0850135915080821115613ca757600080fd5b50613cb436828601613b5c565b60a08301525092915050565b60006001600160401b03821115613cd957613cd9613266565b5060051b60200190565b60006020808385031215613cf657600080fd5b82516001600160401b03811115613d0c57600080fd5b8301601f81018513613d1d57600080fd5b8051613d30613d2b82613cc0565b6132a5565b81815260059190911b82018301908381019087831115613d4f57600080fd5b928401925b828410156130b7578351613d67816131cb565b82529284019290840190613d54565b6001600160a01b0393909316835290151560208301521515604082015260600190565b600082601f830112613daa57600080fd5b81516020613dba613d2b83613cc0565b82815260059290921b84018101918181019086841115613dd957600080fd5b8286015b84811015613df45780518352918301918301613ddd565b509695505050505050565b60008060408385031215613e1257600080fd5b825160208401519092506001600160401b03811115613e3057600080fd5b6134bf85828601613d99565b600060208284031215613e4e57600080fd5b81516001600160401b03811115613e6457600080fd5b612f5284828501613d99565b634e487b7160e01b600052600160045260246000fd5b6000823560be19833603018112613b0957600080fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115611f1557611f15613e9c565b600060018201613ed757613ed7613e9c565b5060010190565b6001600160a01b0386811682528516602082015260408101849052606081018390526101208101612f3960808301846134c9565b60008060408385031215613f2557600080fd5b505080516020909101519092909150565b8082018281126000831280158216821582161715613f5657613f56613e9c565b505092915050565b60006001600160601b0383811680613f8657634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b6001600160a01b0392831681529116602082015260400190565b60005b83811015613fc7578181015183820152602001613faf565b50506000910152565b60008151808452613fe8816020860160208601613fac565b601f01601f19169290920160200192915050565b600060018060a01b038087168352808616602084015284604084015260806060840152808451166080840152602084015160a08401528060408501511660c08401528060608501511660e08401528060808501511661010084015260a084015160c061012085015280516004811061407657614076613900565b610140850152602081015190911661016084015260408101516080610180850152906140a66101c0850183613fd0565b9150606081015115156101a0850152508091505095945050505050565b6000602082840312156140d557600080fd5b8151611e89816131f0565b81810381811115611f1557611f15613e9c565b6001600160a01b03929092168252602082015260400190565b60008251613b09818460208701613fac565b602081526000611e896020830184613fd056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122081bb433580cd56764832410d8e74c6e83d65c776771acfe1da92fecd66ad237064736f6c63430008110033",
|
|
1532
|
+
"deployedBytecode": "0x60806040526004361061016c5760003560e01c8063078dfbe7146101785780633659cfe61461019a57806337deed8d146101ba57806343833bd6146101da5780634e71e0c8146102115780634f0364b1146102265780634f1ef2861461024657806352d1902d1461025957806365b800e61461027c578063673729e21461029e5780636f8d6197146102be578063781c18db146102e05780637cf738d21461032157806380f55605146103555780638da5cb5b14610389578063961434ba146103a9578063a7584e5e146103c9578063acdb32df146103e9578063adb7c3f714610409578063afd27bf514610461578063c09aa0d214610495578063c1075329146104a8578063c23b340a146104c8578063d94073d4146104e8578063dbeadc071461051c578063e138b2ee1461053e578063e30c397814610554578063e82cee7914610574578063eb983ce5146105a8578063f887ea40146105ca578063fa483e72146105fe57600080fd5b3661017357005b600080fd5b34801561018457600080fd5b506101986101933660046131fe565b61061e565b005b3480156101a657600080fd5b506101986101b5366004613249565b610723565b3480156101c657600080fd5b506101986101d53660046132d5565b6107eb565b3480156101e657600080fd5b506101fa6101f5366004613399565b610924565b6040516102089291906133e4565b60405180910390f35b34801561021d57600080fd5b50610198610a0b565b34801561023257600080fd5b506101986102413660046133f2565b610ab6565b61019861025436600461347a565b610b41565b34801561026557600080fd5b5061026e610bf6565b604051908152602001610208565b34801561028857600080fd5b50610291610ca4565b60405161020891906134f9565b3480156102aa57600080fd5b5061026e6102b9366004613507565b610d6c565b3480156102ca57600080fd5b506102d3610f63565b604051610208919061359b565b3480156102ec57600080fd5b506103147f000000000000000000000000000000000000000000000000000000000000000081565b60405161020891906135aa565b34801561032d57600080fd5b506103147f000000000000000000000000000000000000000000000000000000000000000081565b34801561036157600080fd5b506103147f000000000000000000000000000000000000000000000000000000000000000081565b34801561039557600080fd5b50600054610314906001600160a01b031681565b3480156103b557600080fd5b5061026e6103c43660046135be565b61105b565b3480156103d557600080fd5b506101986103e43660046135f2565b6110d1565b3480156103f557600080fd5b5061019861040436600461360e565b611112565b34801561041557600080fd5b5060325460335460345460355460365460375461043495949392919086565b604080519687526020870195909552938501929092526060840152608083015260a082015260c001610208565b34801561046d57600080fd5b506103147f000000000000000000000000000000000000000000000000000000000000000081565b6101986104a336600461364f565b6111dd565b3480156104b457600080fd5b506101986104c3366004613693565b61128c565b3480156104d457600080fd5b5061026e6104e3366004613507565b611311565b3480156104f457600080fd5b506103147f000000000000000000000000000000000000000000000000000000000000000081565b34801561052857600080fd5b506105316114fa565b60405161020891906136bf565b34801561054a57600080fd5b5061026e60385481565b34801561056057600080fd5b50600154610314906001600160a01b031681565b34801561058057600080fd5b506103147f000000000000000000000000000000000000000000000000000000000000000081565b3480156105b457600080fd5b506105bd6118c1565b604051610208919061377b565b3480156105d657600080fd5b506103147f000000000000000000000000000000000000000000000000000000000000000081565b34801561060a57600080fd5b5061019861061936600461378a565b611922565b6000546001600160a01b031633146106515760405162461bcd60e51b815260040161064890613809565b60405180910390fd5b8115610702576001600160a01b03831615158061066b5750805b6106af5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610648565b600080546040516001600160a01b038087169392169160008051602061417283398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016300361076b5760405162461bcd60e51b81526004016106489061383e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661079d6119de565b6001600160a01b0316146107c35760405162461bcd60e51b815260040161064890613878565b6107cc816119fa565b604080516000808252602082019092526107e891839190611a24565b50565b600154600160a81b900460ff1615808015610811575060018054600160a01b900460ff16105b806108385750610820306119cf565b158015610838575060018054600160a01b900460ff16145b61089b5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610648565b6001805460ff60a01b1916600160a01b17905580156108c8576001805460ff60a81b1916600160a81b1790555b6108d182611b8f565b6108d9611bc2565b8015610920576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6000805481906001600160a01b031633146109515760405162461bcd60e51b815260040161064890613809565b610959611c43565b610964858585611e04565b915061098f7f0000000000000000000000000000000000000000000000000000000000000000611e90565b6000549091506109ca907f0000000000000000000000000000000000000000000000000000000000000000906001600160a01b031683611f1b565b7f9fdfc39e9c36ec108e0a3b25ecb0818f9dba6993f27c8ab183d6f707c0a0e31982826040516109fb9291906133e4565b60405180910390a1935093915050565b6001546001600160a01b0316338114610a665760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610648565b600080546040516001600160a01b038085169392169160008051602061417283398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6000546001600160a01b03163314610ae05760405162461bcd60e51b815260040161064890613809565b610b0b7f00000000000000000000000000000000000000000000000000000000000000003383611fe5565b6040518181527ffbf5b64cc7bd746fa51ff05d539d45d159c0bd41ae16d90375281f2925062bb19060200160405180910390a150565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003610b895760405162461bcd60e51b81526004016106489061383e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610bbb6119de565b6001600160a01b031614610be15760405162461bcd60e51b815260040161064890613878565b610bea826119fa565b61092082826001611a24565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610c915760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b6064820152608401610648565b5060008051602061415283398151915290565b610cac6130c2565b610cd57f0000000000000000000000000000000000000000000000000000000000000000611e90565b8152610d007f0000000000000000000000000000000000000000000000000000000000000000611e90565b6060820152610d2e7f0000000000000000000000000000000000000000000000000000000000000000611e90565b6020820152610d5c7f0000000000000000000000000000000000000000000000000000000000000000611e90565b6040820152603854608082015290565b600080546001600160a01b03163314610d975760405162461bcd60e51b815260040161064890613809565b6000610da16118c1565b90508261018001357f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a76541e5836040518263ffffffff1660e01b8152600401610df5919061377b565b602060405180830381865afa158015610e12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3691906138b2565b14610e535760405162461bcd60e51b8152600401610648906138cb565b60405162c9c2bd60e21b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906303270af490610eb59085906004906101608a013590600019908b9060a08201908501613946565b602060405180830381865afa158015610ed2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef691906138b2565b9050610f1981610f0e36879003870160a08801613996565b86610140013561204c565b9250610f2361210e565b7f93b9ea2ceafb33c3d178543b6174dad16bc3758c8efc2f1b3af0e23c7b2aaabc8484604051610f54929190613a05565b60405180910390a15050919050565b610f6b6130f1565b60405163794052f360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063794052f390610fd7907f0000000000000000000000000000000000000000000000000000000000000000906004016135aa565b61012060405180830381865afa158015610ff5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110199190613a5b565b815261104d6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166121cc565b602082015242604082015290565b600080546001600160a01b031633146110865760405162461bcd60e51b815260040161064890613809565b6110908383612232565b90507f20f588a986f4abfc6a3938b2ed65876aa1e6c664928cf2f3acad472e3bd69f6983836040516110c39291906133e4565b60405180910390a192915050565b6000546001600160a01b031633146110fb5760405162461bcd60e51b815260040161064890613809565b6107e861110d368390038301836132d5565b611b8f565b6000546001600160a01b0316331461113c5760405162461bcd60e51b815260040161064890613809565b60005b8181101561071e573683838381811061115a5761115a613add565b905060200281019061116c9190613af3565b905060005b61117b8280613b13565b90508110156111d3576111cb6111918380613b13565b838181106111a1576111a1613add565b90506020020160208101906111b69190613249565b6111c66040850160208601613249565b6122f7565b600101611171565b505060010161113f565b6000546001600160a01b031633146112075760405162461bcd60e51b815260040161064890613809565b6112226112176020840184613249565b338460200135611fe5565b61123461122e83613c03565b826123b2565b506112426020830183613249565b6001600160a01b03167f2d0c0a8842b9944ece1495eb61121621b5e36bd6af3bba0318c695f525aef79f836020013560405161128091815260200190565b60405180910390a25050565b6000546001600160a01b031633146112b65760405162461bcd60e51b815260040161064890613809565b60001981036112cb576112c882611e90565b90505b6112d6823383611f1b565b816001600160a01b03167f21901fa892c430ea8bd38b9390225ac8e67eac75ee10ffba16feefc539a288f98260405161128091815260200190565b600080546001600160a01b0316331461133c5760405162461bcd60e51b815260040161064890613809565b60006113466118c1565b90508261018001357f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a76541e5836040518263ffffffff1660e01b815260040161139a919061377b565b602060405180830381865afa1580156113b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113db91906138b2565b146113f85760405162461bcd60e51b8152600401610648906138cb565b60405162c9c2bd60e21b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906303270af49061145b9085906003906101608a013590600019908b9060a0820190600401613946565b602060405180830381865afa158015611478573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149c91906138b2565b90506114bf816114b436879003870160a08801613996565b86610140013561249f565b92506114c961210e565b7f68a0fb08793b691b39b922d846dbd4052d7ff0873d1ff07e08afaeb8046654cc8484604051610f54929190613a05565b6000546060906001600160a01b031633146115275760405162461bcd60e51b815260040161064890613809565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c4f59f9b6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611587573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115af9190810190613ce3565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637d24da4d306001806040518463ffffffff1660e01b815260040161160493929190613d76565b6000604051808303816000875af1158015611623573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261164b9190810190613dff565b915061165a9050838383612516565b925060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c4f59f9b6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156116bc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116e49190810190613ce3565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ef5cfb8c306040518263ffffffff1660e01b815260040161173491906135aa565b6000604051808303816000875af1158015611753573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261177b9190810190613e3c565b9050611788858383612516565b945060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c4f59f9b6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156117ea573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118129190810190613ce3565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639262187b306040518263ffffffff1660e01b815260040161186291906135aa565b6000604051808303816000875af1158015611881573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118a99190810190613e3c565b90506118b6878383612516565b965050505050505090565b6118c9613168565b6118d1610ca4565b81526118db610f63565b6020808301919091526040805160c081018252603254815260335492810192909252603454828201526035546060830152603654608083015260375460a083015282015290565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016811461196e578060405163719d6b0360e01b815260040161064891906135aa565b8235600181600481111561198457611984613900565b0361199a57611995868686866125ce565b6119c7565b60028160048111156119ae576119ae613900565b036119bf5761199586868686612804565b6119c7613e70565b505050505050565b6001600160a01b03163b151590565b600080516020614152833981519152546001600160a01b031690565b6000546001600160a01b031633146107e85760405162461bcd60e51b815260040161064890613809565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615611a575761071e836128e5565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611ab1575060408051601f3d908101601f19168201909252611aae918101906138b2565b60015b611b145760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610648565b6000805160206141528339815191528114611b835760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610648565b5061071e83838361297f565b8051603255602081015160335560408101516034556060810151603555608081015160365560a001516037819055603855565b600154600160a81b900460ff16611c2f5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610648565b600080546001600160a01b03191633179055565b604051637d24da4d60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690637d24da4d90611c949030906001908190600401613d76565b6000604051808303816000875af1158015611cb3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611cdb9190810190613dff565b5050604051633bd73ee360e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ef5cfb8c90611d299030906004016135aa565b6000604051808303816000875af1158015611d48573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d709190810190613e3c565b50604051639262187b60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690639262187b90611dbd9030906004016135aa565b6000604051808303816000875af1158015611ddc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107e89190810190613e3c565b6000805b83811015611e6357611e47858583818110611e2557611e25613add565b9050602002810190611e379190613e86565b611e4090613c03565b60006123b2565b611e519083613eb2565b9150611e5c81613ec5565b9050611e08565b5081811015611e8957808260405163d294eca360e01b81526004016106489291906133e4565b9392505050565b60006001600160a01b03821615611f13576040516370a0823160e01b81526001600160a01b038316906370a0823190611ecd9030906004016135aa565b602060405180830381865afa158015611eea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f0e91906138b2565b611f15565b475b92915050565b80600003611f2857505050565b6001600160a01b038316611fd1576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611f83576040519150601f19603f3d011682016040523d82523d6000602084013e611f88565b606091505b5050905080611fcb5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610648565b50505050565b61071e6001600160a01b03841683836129a4565b6001600160a01b0383166120315780341461071e5760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610648565b801561071e5761071e6001600160a01b0384168330846129fa565b60405163448b9b9560e01b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063448b9b95906120c39030907f000000000000000000000000000000000000000000000000000000000000000090899088908a90600401613ede565b60408051808303816000875af11580156120e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121059190613f12565b50949350505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a76541e56121476118c1565b6040518263ffffffff1660e01b8152600401612163919061377b565b602060405180830381865afa158015612180573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a491906138b2565b90506107e86121c7826121b8603854612a32565b6121c29190613f36565b612a4c565b603855565b6000816001600160a01b0316631d52edc46040518163ffffffff1660e01b81526004016020604051808303816000875af115801561220e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1591906138b2565b604051630d4318d960e11b81523060048201526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116602483015260448201849052606482018390526000917f000000000000000000000000000000000000000000000000000000000000000090911690631a8631b2906084016020604051808303816000875af11580156122d3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e8991906138b2565b6001600160a01b038216612309575050565b61231b60026001600160601b03613f5e565b6001600160601b0316826001600160a01b031663dd62ed3e30846040518363ffffffff1660e01b8152600401612352929190613f92565b602060405180830381865afa15801561236f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061239391906138b2565b1015610920576123a582826000612a5b565b6109208282600019612a5b565b60006000198360200151036123d25782516123cc90611e90565b60208401525b82516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169163443e6512911615612413576000612419565b84602001515b307f000000000000000000000000000000000000000000000000000000000000000086886040518663ffffffff1660e01b815260040161245c9493929190613ffc565b60206040518083038185885af115801561247a573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611e8991906138b2565b60405163190c351360e31b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c861a898906120c39030907f000000000000000000000000000000000000000000000000000000000000000090899088908a90600401613ede565b805182518491146125695760405162461bcd60e51b815260206004820152601f60248201527f546f6b656e416d6f756e744c69623a206c656e677468206d69736d61746368006044820152606401610648565b60005b83518110156125c6576125b28285838151811061258b5761258b613add565b60200260200101518584815181106125a5576125a5613add565b6020026020010151612b6f565b9150806125be81613ec5565b91505061256c565b509392505050565b602082013561261e7f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000083611f1b565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632f13b60c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561267e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126a291906140c3565b15905080156126f6576126f67f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000084611f1b565b60405163bcb7ea5d60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063bcb7ea5d90612762907f0000000000000000000000000000000000000000000000000000000000000000906004016135aa565b6020604051808303816000875af1158015612781573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127a591906138b2565b506119c77f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000846127f58a612a4c565b6127ff91906140e0565b611f1b565b60405163db74aa1560e01b81526020830135906000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063db74aa159061287b907f0000000000000000000000000000000000000000000000000000000000000000903090600401613f92565b6020604051808303816000875af115801561289a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128be91906138b2565b9050818110156119c757808260405163716d9a5760e11b81526004016106489291906133e4565b6128ee816119cf565b6129505760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610648565b60008051602061415283398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61298883612d31565b6000825111806129955750805b1561071e57611fcb8383612d71565b61071e8363a9059cbb60e01b84846040516024016129c39291906140f3565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612d96565b6040516001600160a01b0380851660248301528316604482015260648101829052611fcb9085906323b872dd60e01b906084016129c3565b60006001600160ff1b03821115612a4857600080fd5b5090565b600080821215612a4857600080fd5b600080846001600160a01b031663095ea7b360e01b8585604051602401612a839291906140f3565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051612ac1919061410c565b6000604051808303816000865af19150503d8060008114612afe576040519150601f19603f3d011682016040523d82523d6000602084013e612b03565b606091505b5091509150818015612b2d575080511580612b2d575080806020019051810190612b2d91906140c3565b612b685760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401610648565b5050505050565b606081600003612b80575082611e89565b835160005b8551811015612bde57846001600160a01b0316868281518110612baa57612baa613add565b6020026020010151600001516001600160a01b031603612bcc57809150612bde565b80612bd681613ec5565b915050612b85565b5084518114612bee576000612bf1565b60015b60ff168551612c009190613eb2565b6001600160401b03811115612c1757612c17613266565b604051908082528060200260200182016040528015612c5c57816020015b6040805180820190915260008082526020820152815260200190600190039081612c355790505b50915060005b8551811015612cb557858181518110612c7d57612c7d613add565b6020026020010151838281518110612c9757612c97613add565b60200260200101819052508080612cad90613ec5565b915050612c62565b506040518060400160405280856001600160a01b031681526020018487518414612cfc57878481518110612ceb57612ceb613add565b602002602001015160200151612cff565b60005b612d099190613eb2565b815250828281518110612d1e57612d1e613add565b6020026020010181905250509392505050565b612d3a816128e5565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060611e89838360405180606001604052806027815260200161419260279139612e68565b6000612deb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612f439092919063ffffffff16565b80519091501561071e5780806020019051810190612e0991906140c3565b61071e5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610648565b6060612e73846119cf565b612ece5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610648565b600080856001600160a01b031685604051612ee9919061410c565b600060405180830381855af49150503d8060008114612f24576040519150601f19603f3d011682016040523d82523d6000602084013e612f29565b606091505b5091509150612f39828286612f5a565b9695505050505050565b6060612f528484600085612f93565b949350505050565b60608315612f69575081611e89565b825115612f795782518084602001fd5b8160405162461bcd60e51b8152600401610648919061411e565b606082471015612ff45760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610648565b612ffd856119cf565b6130495760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610648565b600080866001600160a01b03168587604051613065919061410c565b60006040518083038185875af1925050503d80600081146130a2576040519150601f19603f3d011682016040523d82523d6000602084013e6130a7565b606091505b50915091506130b7828286612f5a565b979650505050505050565b6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b604051806060016040528061315460405180610120016040528060008152602001600081526020016000815260200160006001600160a01b0316815260200160008152602001600081526020016000815260200160008152602001600081525090565b815260200160008152602001600081525090565b604051806060016040528061317b6130c2565b81526020016131886130f1565b81526020016131c66040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b905290565b6001600160a01b03811681146107e857600080fd5b80356131eb816131cb565b919050565b80151581146107e857600080fd5b60008060006060848603121561321357600080fd5b833561321e816131cb565b9250602084013561322e816131f0565b9150604084013561323e816131f0565b809150509250925092565b60006020828403121561325b57600080fd5b8135611e89816131cb565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b038111828210171561329f5761329f613266565b60405290565b604051601f8201601f191681016001600160401b03811182821017156132cd576132cd613266565b604052919050565b600060c082840312156132e757600080fd5b60405160c081016001600160401b038111828210171561330957613309613266565b8060405250823581526020830135602082015260408301356040820152606083013560608201526080830135608082015260a083013560a08201528091505092915050565b60008083601f84011261336057600080fd5b5081356001600160401b0381111561337757600080fd5b6020830191508360208260051b850101111561339257600080fd5b9250929050565b6000806000604084860312156133ae57600080fd5b83356001600160401b038111156133c457600080fd5b6133d08682870161334e565b909790965060209590950135949350505050565b918252602082015260400190565b60006020828403121561340457600080fd5b5035919050565b600082601f83011261341c57600080fd5b81356001600160401b0381111561343557613435613266565b613448601f8201601f19166020016132a5565b81815284602083860101111561345d57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561348d57600080fd5b8235613498816131cb565b915060208301356001600160401b038111156134b357600080fd5b6134bf8582860161340b565b9150509250929050565b80518252602081015160208301526040810151604083015260608101516060830152608081015160808301525050565b60a08101611f1582846134c9565b60006101a0828403121561351a57600080fd5b50919050565b805180518352602081015160208401526040810151604084015260018060a01b0360608201511660608401526080810151608084015260a081015160a084015260c081015160c084015260e081015160e084015261010080820151818501525050602081015161012083015260408101516101408301525050565b6101608101611f158284613520565b6001600160a01b0391909116815260200190565b600080604083850312156135d157600080fd5b50508035926020909101359150565b600060c0828403121561351a57600080fd5b600060c0828403121561360457600080fd5b611e8983836135e0565b6000806020838503121561362157600080fd5b82356001600160401b0381111561363757600080fd5b6136438582860161334e565b90969095509350505050565b6000806040838503121561366257600080fd5b82356001600160401b0381111561367857600080fd5b613684858286016135e0565b95602094909401359450505050565b600080604083850312156136a657600080fd5b82356136b1816131cb565b946020939093013593505050565b602080825282518282018190526000919060409081850190868401855b8281101561370a57815180516001600160a01b031685528601518685015292840192908501906001016136dc565b5091979650505050505050565b6137228282516134c9565b602081015161373460a0840182613520565b5060409081015180516102008401526020810151610220840152908101516102408301526060810151610260830152608081015161028083015260a001516102a090910152565b6102c08101611f158284613717565b600080600080606085870312156137a057600080fd5b843593506020850135925060408501356001600160401b03808211156137c557600080fd5b818701915087601f8301126137d957600080fd5b8135818111156137e857600080fd5b8860208285010111156137fa57600080fd5b95989497505060200194505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602c9082015260008051602061413283398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c9082015260008051602061413283398151915260408201526b6163746976652070726f787960a01b606082015260800190565b6000602082840312156138c457600080fd5b5051919050565b6020808252818101527f72656d6f76654c6971546f59743a2062696e2073746174652065787069726564604082015260600190565b634e487b7160e01b600052602160045260246000fd5b80358252602081013560208301526040810135604083015260608101356060830152608081013560808301525050565b61046081016139558289613717565b6005871061396557613965613900565b866102c0830152856102e083015284610300830152613988610320830185613916565b6130b76103c0830184613916565b600060a082840312156139a857600080fd5b60405160a081016001600160401b03811182821017156139ca576139ca613266565b806040525082358152602083013560208201526040830135604082015260608301356060820152608083013560808201528091505092915050565b6101c08101613a148285613916565b613a2460a0830160a08601613916565b6101408481013590830152610160808501359083015261018093840135938201939093526101a0015290565b80516131eb816131cb565b60006101208284031215613a6e57600080fd5b613a7661327c565b825181526020830151602082015260408301516040820152613a9a60608401613a50565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015181830152508091505092915050565b634e487b7160e01b600052603260045260246000fd5b60008235603e19833603018112613b0957600080fd5b9190910192915050565b6000808335601e19843603018112613b2a57600080fd5b8301803591506001600160401b03821115613b4457600080fd5b6020019150600581901b360382131561339257600080fd5b600060808284031215613b6e57600080fd5b604051608081016001600160401b038082118383101715613b9157613b91613266565b816040528293508435915060048210613ba957600080fd5b908252602084013590613bbb826131cb565b8160208401526040850135915080821115613bd557600080fd5b50613be28582860161340b565b6040830152506060830135613bf6816131f0565b6060919091015292915050565b600060c08236031215613c1557600080fd5b60405160c081016001600160401b038082118383101715613c3857613c38613266565b8160405284359150613c49826131cb565b8183526020850135602084015260408501359150613c66826131cb565b81604084015260608501359150613c7c826131cb565b816060840152613c8e608086016131e0565b608084015260a0850135915080821115613ca757600080fd5b50613cb436828601613b5c565b60a08301525092915050565b60006001600160401b03821115613cd957613cd9613266565b5060051b60200190565b60006020808385031215613cf657600080fd5b82516001600160401b03811115613d0c57600080fd5b8301601f81018513613d1d57600080fd5b8051613d30613d2b82613cc0565b6132a5565b81815260059190911b82018301908381019087831115613d4f57600080fd5b928401925b828410156130b7578351613d67816131cb565b82529284019290840190613d54565b6001600160a01b0393909316835290151560208301521515604082015260600190565b600082601f830112613daa57600080fd5b81516020613dba613d2b83613cc0565b82815260059290921b84018101918181019086841115613dd957600080fd5b8286015b84811015613df45780518352918301918301613ddd565b509695505050505050565b60008060408385031215613e1257600080fd5b825160208401519092506001600160401b03811115613e3057600080fd5b6134bf85828601613d99565b600060208284031215613e4e57600080fd5b81516001600160401b03811115613e6457600080fd5b612f5284828501613d99565b634e487b7160e01b600052600160045260246000fd5b6000823560be19833603018112613b0957600080fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115611f1557611f15613e9c565b600060018201613ed757613ed7613e9c565b5060010190565b6001600160a01b0386811682528516602082015260408101849052606081018390526101208101612f3960808301846134c9565b60008060408385031215613f2557600080fd5b505080516020909101519092909150565b8082018281126000831280158216821582161715613f5657613f56613e9c565b505092915050565b60006001600160601b0383811680613f8657634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b6001600160a01b0392831681529116602082015260400190565b60005b83811015613fc7578181015183820152602001613faf565b50506000910152565b60008151808452613fe8816020860160208601613fac565b601f01601f19169290920160200192915050565b600060018060a01b038087168352808616602084015284604084015260806060840152808451166080840152602084015160a08401528060408501511660c08401528060608501511660e08401528060808501511661010084015260a084015160c061012085015280516004811061407657614076613900565b610140850152602081015190911661016084015260408101516080610180850152906140a66101c0850183613fd0565b9150606081015115156101a0850152508091505095945050505050565b6000602082840312156140d557600080fd5b8151611e89816131f0565b81810381811115611f1557611f15613e9c565b6001600160a01b03929092168252602082015260400190565b60008251613b09818460208701613fac565b602081526000611e896020830184613fd056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122081bb433580cd56764832410d8e74c6e83d65c776771acfe1da92fecd66ad237064736f6c63430008110033",
|
|
1533
|
+
"linkReferences": {},
|
|
1534
|
+
"deployedLinkReferences": {}
|
|
1535
|
+
}
|