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