@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,1656 @@
|
|
|
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
|
+
TradingBotBase,
|
|
8
|
+
TradingBotBaseInterface,
|
|
9
|
+
} from "../TradingBotBase";
|
|
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
|
+
indexed: true,
|
|
107
|
+
internalType: "address",
|
|
108
|
+
name: "owner",
|
|
109
|
+
type: "address",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
indexed: true,
|
|
113
|
+
internalType: "address",
|
|
114
|
+
name: "spender",
|
|
115
|
+
type: "address",
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
indexed: false,
|
|
119
|
+
internalType: "uint256",
|
|
120
|
+
name: "value",
|
|
121
|
+
type: "uint256",
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
name: "Approval",
|
|
125
|
+
type: "event",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
anonymous: false,
|
|
129
|
+
inputs: [
|
|
130
|
+
{
|
|
131
|
+
indexed: false,
|
|
132
|
+
internalType: "uint256",
|
|
133
|
+
name: "netSyOut",
|
|
134
|
+
type: "uint256",
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
name: "ClaimAndCompound",
|
|
138
|
+
type: "event",
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
anonymous: false,
|
|
142
|
+
inputs: [
|
|
143
|
+
{
|
|
144
|
+
indexed: true,
|
|
145
|
+
internalType: "address",
|
|
146
|
+
name: "user",
|
|
147
|
+
type: "address",
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
indexed: false,
|
|
151
|
+
internalType: "address[]",
|
|
152
|
+
name: "rewardTokens",
|
|
153
|
+
type: "address[]",
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
indexed: false,
|
|
157
|
+
internalType: "uint256[]",
|
|
158
|
+
name: "rewardAmounts",
|
|
159
|
+
type: "uint256[]",
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
name: "ClaimRewards",
|
|
163
|
+
type: "event",
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
anonymous: false,
|
|
167
|
+
inputs: [
|
|
168
|
+
{
|
|
169
|
+
indexed: true,
|
|
170
|
+
internalType: "address",
|
|
171
|
+
name: "caller",
|
|
172
|
+
type: "address",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
indexed: true,
|
|
176
|
+
internalType: "address",
|
|
177
|
+
name: "receiver",
|
|
178
|
+
type: "address",
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
indexed: true,
|
|
182
|
+
internalType: "address",
|
|
183
|
+
name: "tokenIn",
|
|
184
|
+
type: "address",
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
indexed: false,
|
|
188
|
+
internalType: "uint256",
|
|
189
|
+
name: "amountDeposited",
|
|
190
|
+
type: "uint256",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
indexed: false,
|
|
194
|
+
internalType: "uint256",
|
|
195
|
+
name: "amountSyOut",
|
|
196
|
+
type: "uint256",
|
|
197
|
+
},
|
|
198
|
+
],
|
|
199
|
+
name: "Deposit",
|
|
200
|
+
type: "event",
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
anonymous: false,
|
|
204
|
+
inputs: [
|
|
205
|
+
{
|
|
206
|
+
indexed: false,
|
|
207
|
+
internalType: "uint256",
|
|
208
|
+
name: "netSyIn",
|
|
209
|
+
type: "uint256",
|
|
210
|
+
},
|
|
211
|
+
],
|
|
212
|
+
name: "DepositSy",
|
|
213
|
+
type: "event",
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
anonymous: false,
|
|
217
|
+
inputs: [
|
|
218
|
+
{
|
|
219
|
+
indexed: true,
|
|
220
|
+
internalType: "address",
|
|
221
|
+
name: "token",
|
|
222
|
+
type: "address",
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
indexed: false,
|
|
226
|
+
internalType: "uint256",
|
|
227
|
+
name: "netTokenIn",
|
|
228
|
+
type: "uint256",
|
|
229
|
+
},
|
|
230
|
+
],
|
|
231
|
+
name: "DepositToken",
|
|
232
|
+
type: "event",
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
anonymous: false,
|
|
236
|
+
inputs: [
|
|
237
|
+
{
|
|
238
|
+
indexed: false,
|
|
239
|
+
internalType: "uint8",
|
|
240
|
+
name: "version",
|
|
241
|
+
type: "uint8",
|
|
242
|
+
},
|
|
243
|
+
],
|
|
244
|
+
name: "Initialized",
|
|
245
|
+
type: "event",
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
anonymous: false,
|
|
249
|
+
inputs: [
|
|
250
|
+
{
|
|
251
|
+
indexed: true,
|
|
252
|
+
internalType: "address",
|
|
253
|
+
name: "previousOwner",
|
|
254
|
+
type: "address",
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
indexed: true,
|
|
258
|
+
internalType: "address",
|
|
259
|
+
name: "newOwner",
|
|
260
|
+
type: "address",
|
|
261
|
+
},
|
|
262
|
+
],
|
|
263
|
+
name: "OwnershipTransferred",
|
|
264
|
+
type: "event",
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
anonymous: false,
|
|
268
|
+
inputs: [
|
|
269
|
+
{
|
|
270
|
+
indexed: false,
|
|
271
|
+
internalType: "address",
|
|
272
|
+
name: "account",
|
|
273
|
+
type: "address",
|
|
274
|
+
},
|
|
275
|
+
],
|
|
276
|
+
name: "Paused",
|
|
277
|
+
type: "event",
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
anonymous: false,
|
|
281
|
+
inputs: [
|
|
282
|
+
{
|
|
283
|
+
indexed: true,
|
|
284
|
+
internalType: "address",
|
|
285
|
+
name: "caller",
|
|
286
|
+
type: "address",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
indexed: true,
|
|
290
|
+
internalType: "address",
|
|
291
|
+
name: "receiver",
|
|
292
|
+
type: "address",
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
indexed: true,
|
|
296
|
+
internalType: "address",
|
|
297
|
+
name: "tokenOut",
|
|
298
|
+
type: "address",
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
indexed: false,
|
|
302
|
+
internalType: "uint256",
|
|
303
|
+
name: "amountSyToRedeem",
|
|
304
|
+
type: "uint256",
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
indexed: false,
|
|
308
|
+
internalType: "uint256",
|
|
309
|
+
name: "amountTokenOut",
|
|
310
|
+
type: "uint256",
|
|
311
|
+
},
|
|
312
|
+
],
|
|
313
|
+
name: "Redeem",
|
|
314
|
+
type: "event",
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
anonymous: false,
|
|
318
|
+
inputs: [
|
|
319
|
+
{
|
|
320
|
+
indexed: true,
|
|
321
|
+
internalType: "address",
|
|
322
|
+
name: "from",
|
|
323
|
+
type: "address",
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
indexed: true,
|
|
327
|
+
internalType: "address",
|
|
328
|
+
name: "to",
|
|
329
|
+
type: "address",
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
indexed: false,
|
|
333
|
+
internalType: "uint256",
|
|
334
|
+
name: "value",
|
|
335
|
+
type: "uint256",
|
|
336
|
+
},
|
|
337
|
+
],
|
|
338
|
+
name: "Transfer",
|
|
339
|
+
type: "event",
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
anonymous: false,
|
|
343
|
+
inputs: [
|
|
344
|
+
{
|
|
345
|
+
indexed: false,
|
|
346
|
+
internalType: "address",
|
|
347
|
+
name: "account",
|
|
348
|
+
type: "address",
|
|
349
|
+
},
|
|
350
|
+
],
|
|
351
|
+
name: "Unpaused",
|
|
352
|
+
type: "event",
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
anonymous: false,
|
|
356
|
+
inputs: [
|
|
357
|
+
{
|
|
358
|
+
indexed: true,
|
|
359
|
+
internalType: "address",
|
|
360
|
+
name: "token",
|
|
361
|
+
type: "address",
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
indexed: false,
|
|
365
|
+
internalType: "uint256",
|
|
366
|
+
name: "amount",
|
|
367
|
+
type: "uint256",
|
|
368
|
+
},
|
|
369
|
+
],
|
|
370
|
+
name: "WithdrawFunds",
|
|
371
|
+
type: "event",
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
inputs: [],
|
|
375
|
+
name: "DOMAIN_SEPARATOR",
|
|
376
|
+
outputs: [
|
|
377
|
+
{
|
|
378
|
+
internalType: "bytes32",
|
|
379
|
+
name: "",
|
|
380
|
+
type: "bytes32",
|
|
381
|
+
},
|
|
382
|
+
],
|
|
383
|
+
stateMutability: "view",
|
|
384
|
+
type: "function",
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
inputs: [],
|
|
388
|
+
name: "PENDLE",
|
|
389
|
+
outputs: [
|
|
390
|
+
{
|
|
391
|
+
internalType: "address",
|
|
392
|
+
name: "",
|
|
393
|
+
type: "address",
|
|
394
|
+
},
|
|
395
|
+
],
|
|
396
|
+
stateMutability: "view",
|
|
397
|
+
type: "function",
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
inputs: [],
|
|
401
|
+
name: "PT",
|
|
402
|
+
outputs: [
|
|
403
|
+
{
|
|
404
|
+
internalType: "address",
|
|
405
|
+
name: "",
|
|
406
|
+
type: "address",
|
|
407
|
+
},
|
|
408
|
+
],
|
|
409
|
+
stateMutability: "view",
|
|
410
|
+
type: "function",
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
inputs: [],
|
|
414
|
+
name: "SY",
|
|
415
|
+
outputs: [
|
|
416
|
+
{
|
|
417
|
+
internalType: "address",
|
|
418
|
+
name: "",
|
|
419
|
+
type: "address",
|
|
420
|
+
},
|
|
421
|
+
],
|
|
422
|
+
stateMutability: "view",
|
|
423
|
+
type: "function",
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
inputs: [],
|
|
427
|
+
name: "YT",
|
|
428
|
+
outputs: [
|
|
429
|
+
{
|
|
430
|
+
internalType: "address",
|
|
431
|
+
name: "",
|
|
432
|
+
type: "address",
|
|
433
|
+
},
|
|
434
|
+
],
|
|
435
|
+
stateMutability: "view",
|
|
436
|
+
type: "function",
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
inputs: [
|
|
440
|
+
{
|
|
441
|
+
internalType: "address",
|
|
442
|
+
name: "user",
|
|
443
|
+
type: "address",
|
|
444
|
+
},
|
|
445
|
+
],
|
|
446
|
+
name: "accruedRewards",
|
|
447
|
+
outputs: [
|
|
448
|
+
{
|
|
449
|
+
internalType: "uint256[]",
|
|
450
|
+
name: "rewardAmounts",
|
|
451
|
+
type: "uint256[]",
|
|
452
|
+
},
|
|
453
|
+
],
|
|
454
|
+
stateMutability: "view",
|
|
455
|
+
type: "function",
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
inputs: [
|
|
459
|
+
{
|
|
460
|
+
internalType: "address",
|
|
461
|
+
name: "owner",
|
|
462
|
+
type: "address",
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
internalType: "address",
|
|
466
|
+
name: "spender",
|
|
467
|
+
type: "address",
|
|
468
|
+
},
|
|
469
|
+
],
|
|
470
|
+
name: "allowance",
|
|
471
|
+
outputs: [
|
|
472
|
+
{
|
|
473
|
+
internalType: "uint256",
|
|
474
|
+
name: "",
|
|
475
|
+
type: "uint256",
|
|
476
|
+
},
|
|
477
|
+
],
|
|
478
|
+
stateMutability: "view",
|
|
479
|
+
type: "function",
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
inputs: [
|
|
483
|
+
{
|
|
484
|
+
internalType: "address",
|
|
485
|
+
name: "spender",
|
|
486
|
+
type: "address",
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
internalType: "uint256",
|
|
490
|
+
name: "amount",
|
|
491
|
+
type: "uint256",
|
|
492
|
+
},
|
|
493
|
+
],
|
|
494
|
+
name: "approve",
|
|
495
|
+
outputs: [
|
|
496
|
+
{
|
|
497
|
+
internalType: "bool",
|
|
498
|
+
name: "",
|
|
499
|
+
type: "bool",
|
|
500
|
+
},
|
|
501
|
+
],
|
|
502
|
+
stateMutability: "nonpayable",
|
|
503
|
+
type: "function",
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
inputs: [
|
|
507
|
+
{
|
|
508
|
+
internalType: "address",
|
|
509
|
+
name: "token",
|
|
510
|
+
type: "address",
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
internalType: "address",
|
|
514
|
+
name: "to",
|
|
515
|
+
type: "address",
|
|
516
|
+
},
|
|
517
|
+
],
|
|
518
|
+
name: "approveInf",
|
|
519
|
+
outputs: [],
|
|
520
|
+
stateMutability: "nonpayable",
|
|
521
|
+
type: "function",
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
inputs: [],
|
|
525
|
+
name: "assetInfo",
|
|
526
|
+
outputs: [
|
|
527
|
+
{
|
|
528
|
+
internalType: "enum IStandardizedYield.AssetType",
|
|
529
|
+
name: "assetType",
|
|
530
|
+
type: "uint8",
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
internalType: "address",
|
|
534
|
+
name: "assetAddress",
|
|
535
|
+
type: "address",
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
internalType: "uint8",
|
|
539
|
+
name: "assetDecimals",
|
|
540
|
+
type: "uint8",
|
|
541
|
+
},
|
|
542
|
+
],
|
|
543
|
+
stateMutability: "view",
|
|
544
|
+
type: "function",
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
inputs: [
|
|
548
|
+
{
|
|
549
|
+
internalType: "address",
|
|
550
|
+
name: "account",
|
|
551
|
+
type: "address",
|
|
552
|
+
},
|
|
553
|
+
],
|
|
554
|
+
name: "balanceOf",
|
|
555
|
+
outputs: [
|
|
556
|
+
{
|
|
557
|
+
internalType: "uint256",
|
|
558
|
+
name: "",
|
|
559
|
+
type: "uint256",
|
|
560
|
+
},
|
|
561
|
+
],
|
|
562
|
+
stateMutability: "view",
|
|
563
|
+
type: "function",
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
inputs: [],
|
|
567
|
+
name: "buyBins",
|
|
568
|
+
outputs: [
|
|
569
|
+
{
|
|
570
|
+
internalType: "uint256",
|
|
571
|
+
name: "",
|
|
572
|
+
type: "uint256",
|
|
573
|
+
},
|
|
574
|
+
],
|
|
575
|
+
stateMutability: "view",
|
|
576
|
+
type: "function",
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
inputs: [],
|
|
580
|
+
name: "claimOwnership",
|
|
581
|
+
outputs: [],
|
|
582
|
+
stateMutability: "nonpayable",
|
|
583
|
+
type: "function",
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
inputs: [
|
|
587
|
+
{
|
|
588
|
+
internalType: "address",
|
|
589
|
+
name: "user",
|
|
590
|
+
type: "address",
|
|
591
|
+
},
|
|
592
|
+
],
|
|
593
|
+
name: "claimRewards",
|
|
594
|
+
outputs: [
|
|
595
|
+
{
|
|
596
|
+
internalType: "uint256[]",
|
|
597
|
+
name: "rewardAmounts",
|
|
598
|
+
type: "uint256[]",
|
|
599
|
+
},
|
|
600
|
+
],
|
|
601
|
+
stateMutability: "nonpayable",
|
|
602
|
+
type: "function",
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
inputs: [
|
|
606
|
+
{
|
|
607
|
+
components: [
|
|
608
|
+
{
|
|
609
|
+
internalType: "address",
|
|
610
|
+
name: "tokenIn",
|
|
611
|
+
type: "address",
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
internalType: "uint256",
|
|
615
|
+
name: "netTokenIn",
|
|
616
|
+
type: "uint256",
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
internalType: "address",
|
|
620
|
+
name: "tokenMintSy",
|
|
621
|
+
type: "address",
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
internalType: "address",
|
|
625
|
+
name: "bulk",
|
|
626
|
+
type: "address",
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
internalType: "address",
|
|
630
|
+
name: "pendleSwap",
|
|
631
|
+
type: "address",
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
components: [
|
|
635
|
+
{
|
|
636
|
+
internalType: "enum SwapType",
|
|
637
|
+
name: "swapType",
|
|
638
|
+
type: "uint8",
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
internalType: "address",
|
|
642
|
+
name: "extRouter",
|
|
643
|
+
type: "address",
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
internalType: "bytes",
|
|
647
|
+
name: "extCalldata",
|
|
648
|
+
type: "bytes",
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
internalType: "bool",
|
|
652
|
+
name: "needScale",
|
|
653
|
+
type: "bool",
|
|
654
|
+
},
|
|
655
|
+
],
|
|
656
|
+
internalType: "struct SwapData",
|
|
657
|
+
name: "swapData",
|
|
658
|
+
type: "tuple",
|
|
659
|
+
},
|
|
660
|
+
],
|
|
661
|
+
internalType: "struct TokenInput",
|
|
662
|
+
name: "inp",
|
|
663
|
+
type: "tuple",
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
internalType: "uint256",
|
|
667
|
+
name: "minSyOut",
|
|
668
|
+
type: "uint256",
|
|
669
|
+
},
|
|
670
|
+
],
|
|
671
|
+
name: "compound",
|
|
672
|
+
outputs: [
|
|
673
|
+
{
|
|
674
|
+
internalType: "uint256",
|
|
675
|
+
name: "netSyOut",
|
|
676
|
+
type: "uint256",
|
|
677
|
+
},
|
|
678
|
+
],
|
|
679
|
+
stateMutability: "nonpayable",
|
|
680
|
+
type: "function",
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
inputs: [],
|
|
684
|
+
name: "decimals",
|
|
685
|
+
outputs: [
|
|
686
|
+
{
|
|
687
|
+
internalType: "uint8",
|
|
688
|
+
name: "",
|
|
689
|
+
type: "uint8",
|
|
690
|
+
},
|
|
691
|
+
],
|
|
692
|
+
stateMutability: "view",
|
|
693
|
+
type: "function",
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
inputs: [],
|
|
697
|
+
name: "decisionHelper",
|
|
698
|
+
outputs: [
|
|
699
|
+
{
|
|
700
|
+
internalType: "contract IBotDecisionHelper",
|
|
701
|
+
name: "",
|
|
702
|
+
type: "address",
|
|
703
|
+
},
|
|
704
|
+
],
|
|
705
|
+
stateMutability: "view",
|
|
706
|
+
type: "function",
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
inputs: [
|
|
710
|
+
{
|
|
711
|
+
internalType: "address",
|
|
712
|
+
name: "receiver",
|
|
713
|
+
type: "address",
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
internalType: "address",
|
|
717
|
+
name: "tokenIn",
|
|
718
|
+
type: "address",
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
internalType: "uint256",
|
|
722
|
+
name: "amountTokenToDeposit",
|
|
723
|
+
type: "uint256",
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
internalType: "uint256",
|
|
727
|
+
name: "minSharesOut",
|
|
728
|
+
type: "uint256",
|
|
729
|
+
},
|
|
730
|
+
],
|
|
731
|
+
name: "deposit",
|
|
732
|
+
outputs: [
|
|
733
|
+
{
|
|
734
|
+
internalType: "uint256",
|
|
735
|
+
name: "amountSharesOut",
|
|
736
|
+
type: "uint256",
|
|
737
|
+
},
|
|
738
|
+
],
|
|
739
|
+
stateMutability: "payable",
|
|
740
|
+
type: "function",
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
inputs: [],
|
|
744
|
+
name: "exchangeRate",
|
|
745
|
+
outputs: [
|
|
746
|
+
{
|
|
747
|
+
internalType: "uint256",
|
|
748
|
+
name: "",
|
|
749
|
+
type: "uint256",
|
|
750
|
+
},
|
|
751
|
+
],
|
|
752
|
+
stateMutability: "view",
|
|
753
|
+
type: "function",
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
inputs: [],
|
|
757
|
+
name: "getMaxAmountSharesToRedeem",
|
|
758
|
+
outputs: [
|
|
759
|
+
{
|
|
760
|
+
internalType: "uint256",
|
|
761
|
+
name: "",
|
|
762
|
+
type: "uint256",
|
|
763
|
+
},
|
|
764
|
+
],
|
|
765
|
+
stateMutability: "view",
|
|
766
|
+
type: "function",
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
inputs: [],
|
|
770
|
+
name: "getRewardTokens",
|
|
771
|
+
outputs: [
|
|
772
|
+
{
|
|
773
|
+
internalType: "address[]",
|
|
774
|
+
name: "rewardTokens",
|
|
775
|
+
type: "address[]",
|
|
776
|
+
},
|
|
777
|
+
],
|
|
778
|
+
stateMutability: "view",
|
|
779
|
+
type: "function",
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
inputs: [],
|
|
783
|
+
name: "getTokensIn",
|
|
784
|
+
outputs: [
|
|
785
|
+
{
|
|
786
|
+
internalType: "address[]",
|
|
787
|
+
name: "res",
|
|
788
|
+
type: "address[]",
|
|
789
|
+
},
|
|
790
|
+
],
|
|
791
|
+
stateMutability: "view",
|
|
792
|
+
type: "function",
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
inputs: [],
|
|
796
|
+
name: "getTokensOut",
|
|
797
|
+
outputs: [
|
|
798
|
+
{
|
|
799
|
+
internalType: "address[]",
|
|
800
|
+
name: "res",
|
|
801
|
+
type: "address[]",
|
|
802
|
+
},
|
|
803
|
+
],
|
|
804
|
+
stateMutability: "view",
|
|
805
|
+
type: "function",
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
inputs: [
|
|
809
|
+
{
|
|
810
|
+
internalType: "bool",
|
|
811
|
+
name: "isLiquidateTvl",
|
|
812
|
+
type: "bool",
|
|
813
|
+
},
|
|
814
|
+
],
|
|
815
|
+
name: "getTvl",
|
|
816
|
+
outputs: [
|
|
817
|
+
{
|
|
818
|
+
internalType: "uint256",
|
|
819
|
+
name: "",
|
|
820
|
+
type: "uint256",
|
|
821
|
+
},
|
|
822
|
+
],
|
|
823
|
+
stateMutability: "view",
|
|
824
|
+
type: "function",
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
inputs: [
|
|
828
|
+
{
|
|
829
|
+
internalType: "address",
|
|
830
|
+
name: "token",
|
|
831
|
+
type: "address",
|
|
832
|
+
},
|
|
833
|
+
],
|
|
834
|
+
name: "isValidTokenIn",
|
|
835
|
+
outputs: [
|
|
836
|
+
{
|
|
837
|
+
internalType: "bool",
|
|
838
|
+
name: "",
|
|
839
|
+
type: "bool",
|
|
840
|
+
},
|
|
841
|
+
],
|
|
842
|
+
stateMutability: "view",
|
|
843
|
+
type: "function",
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
inputs: [
|
|
847
|
+
{
|
|
848
|
+
internalType: "address",
|
|
849
|
+
name: "token",
|
|
850
|
+
type: "address",
|
|
851
|
+
},
|
|
852
|
+
],
|
|
853
|
+
name: "isValidTokenOut",
|
|
854
|
+
outputs: [
|
|
855
|
+
{
|
|
856
|
+
internalType: "bool",
|
|
857
|
+
name: "",
|
|
858
|
+
type: "bool",
|
|
859
|
+
},
|
|
860
|
+
],
|
|
861
|
+
stateMutability: "view",
|
|
862
|
+
type: "function",
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
inputs: [],
|
|
866
|
+
name: "lastRewardBlock",
|
|
867
|
+
outputs: [
|
|
868
|
+
{
|
|
869
|
+
internalType: "uint256",
|
|
870
|
+
name: "",
|
|
871
|
+
type: "uint256",
|
|
872
|
+
},
|
|
873
|
+
],
|
|
874
|
+
stateMutability: "view",
|
|
875
|
+
type: "function",
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
inputs: [],
|
|
879
|
+
name: "market",
|
|
880
|
+
outputs: [
|
|
881
|
+
{
|
|
882
|
+
internalType: "address",
|
|
883
|
+
name: "",
|
|
884
|
+
type: "address",
|
|
885
|
+
},
|
|
886
|
+
],
|
|
887
|
+
stateMutability: "view",
|
|
888
|
+
type: "function",
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
inputs: [],
|
|
892
|
+
name: "name",
|
|
893
|
+
outputs: [
|
|
894
|
+
{
|
|
895
|
+
internalType: "string",
|
|
896
|
+
name: "",
|
|
897
|
+
type: "string",
|
|
898
|
+
},
|
|
899
|
+
],
|
|
900
|
+
stateMutability: "view",
|
|
901
|
+
type: "function",
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
inputs: [
|
|
905
|
+
{
|
|
906
|
+
internalType: "address",
|
|
907
|
+
name: "owner",
|
|
908
|
+
type: "address",
|
|
909
|
+
},
|
|
910
|
+
],
|
|
911
|
+
name: "nonces",
|
|
912
|
+
outputs: [
|
|
913
|
+
{
|
|
914
|
+
internalType: "uint256",
|
|
915
|
+
name: "",
|
|
916
|
+
type: "uint256",
|
|
917
|
+
},
|
|
918
|
+
],
|
|
919
|
+
stateMutability: "view",
|
|
920
|
+
type: "function",
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
inputs: [],
|
|
924
|
+
name: "owner",
|
|
925
|
+
outputs: [
|
|
926
|
+
{
|
|
927
|
+
internalType: "address",
|
|
928
|
+
name: "",
|
|
929
|
+
type: "address",
|
|
930
|
+
},
|
|
931
|
+
],
|
|
932
|
+
stateMutability: "view",
|
|
933
|
+
type: "function",
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
inputs: [],
|
|
937
|
+
name: "pause",
|
|
938
|
+
outputs: [],
|
|
939
|
+
stateMutability: "nonpayable",
|
|
940
|
+
type: "function",
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
inputs: [],
|
|
944
|
+
name: "paused",
|
|
945
|
+
outputs: [
|
|
946
|
+
{
|
|
947
|
+
internalType: "bool",
|
|
948
|
+
name: "",
|
|
949
|
+
type: "bool",
|
|
950
|
+
},
|
|
951
|
+
],
|
|
952
|
+
stateMutability: "view",
|
|
953
|
+
type: "function",
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
inputs: [],
|
|
957
|
+
name: "pendingOwner",
|
|
958
|
+
outputs: [
|
|
959
|
+
{
|
|
960
|
+
internalType: "address",
|
|
961
|
+
name: "",
|
|
962
|
+
type: "address",
|
|
963
|
+
},
|
|
964
|
+
],
|
|
965
|
+
stateMutability: "view",
|
|
966
|
+
type: "function",
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
inputs: [
|
|
970
|
+
{
|
|
971
|
+
internalType: "address",
|
|
972
|
+
name: "owner",
|
|
973
|
+
type: "address",
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
internalType: "address",
|
|
977
|
+
name: "spender",
|
|
978
|
+
type: "address",
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
internalType: "uint256",
|
|
982
|
+
name: "value",
|
|
983
|
+
type: "uint256",
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
internalType: "uint256",
|
|
987
|
+
name: "deadline",
|
|
988
|
+
type: "uint256",
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
internalType: "uint8",
|
|
992
|
+
name: "v",
|
|
993
|
+
type: "uint8",
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
internalType: "bytes32",
|
|
997
|
+
name: "r",
|
|
998
|
+
type: "bytes32",
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
internalType: "bytes32",
|
|
1002
|
+
name: "s",
|
|
1003
|
+
type: "bytes32",
|
|
1004
|
+
},
|
|
1005
|
+
],
|
|
1006
|
+
name: "permit",
|
|
1007
|
+
outputs: [],
|
|
1008
|
+
stateMutability: "nonpayable",
|
|
1009
|
+
type: "function",
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
inputs: [
|
|
1013
|
+
{
|
|
1014
|
+
internalType: "address",
|
|
1015
|
+
name: "tokenIn",
|
|
1016
|
+
type: "address",
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
internalType: "uint256",
|
|
1020
|
+
name: "amountTokenToDeposit",
|
|
1021
|
+
type: "uint256",
|
|
1022
|
+
},
|
|
1023
|
+
],
|
|
1024
|
+
name: "previewDeposit",
|
|
1025
|
+
outputs: [
|
|
1026
|
+
{
|
|
1027
|
+
internalType: "uint256",
|
|
1028
|
+
name: "amountSharesOut",
|
|
1029
|
+
type: "uint256",
|
|
1030
|
+
},
|
|
1031
|
+
],
|
|
1032
|
+
stateMutability: "view",
|
|
1033
|
+
type: "function",
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
inputs: [
|
|
1037
|
+
{
|
|
1038
|
+
internalType: "address",
|
|
1039
|
+
name: "tokenOut",
|
|
1040
|
+
type: "address",
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
internalType: "uint256",
|
|
1044
|
+
name: "amountSharesToRedeem",
|
|
1045
|
+
type: "uint256",
|
|
1046
|
+
},
|
|
1047
|
+
],
|
|
1048
|
+
name: "previewRedeem",
|
|
1049
|
+
outputs: [
|
|
1050
|
+
{
|
|
1051
|
+
internalType: "uint256",
|
|
1052
|
+
name: "amountTokenOut",
|
|
1053
|
+
type: "uint256",
|
|
1054
|
+
},
|
|
1055
|
+
],
|
|
1056
|
+
stateMutability: "view",
|
|
1057
|
+
type: "function",
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
inputs: [],
|
|
1061
|
+
name: "readStrategyData",
|
|
1062
|
+
outputs: [
|
|
1063
|
+
{
|
|
1064
|
+
components: [
|
|
1065
|
+
{
|
|
1066
|
+
components: [
|
|
1067
|
+
{
|
|
1068
|
+
internalType: "uint256",
|
|
1069
|
+
name: "lpBalance",
|
|
1070
|
+
type: "uint256",
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
internalType: "uint256",
|
|
1074
|
+
name: "ytBalance",
|
|
1075
|
+
type: "uint256",
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
internalType: "uint256",
|
|
1079
|
+
name: "ptBalance",
|
|
1080
|
+
type: "uint256",
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
internalType: "uint256",
|
|
1084
|
+
name: "syBalance",
|
|
1085
|
+
type: "uint256",
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
internalType: "uint256",
|
|
1089
|
+
name: "buyBins",
|
|
1090
|
+
type: "uint256",
|
|
1091
|
+
},
|
|
1092
|
+
],
|
|
1093
|
+
internalType: "struct BotState",
|
|
1094
|
+
name: "botState",
|
|
1095
|
+
type: "tuple",
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
components: [
|
|
1099
|
+
{
|
|
1100
|
+
components: [
|
|
1101
|
+
{
|
|
1102
|
+
internalType: "int256",
|
|
1103
|
+
name: "totalPt",
|
|
1104
|
+
type: "int256",
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
internalType: "int256",
|
|
1108
|
+
name: "totalSy",
|
|
1109
|
+
type: "int256",
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
internalType: "int256",
|
|
1113
|
+
name: "totalLp",
|
|
1114
|
+
type: "int256",
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
internalType: "address",
|
|
1118
|
+
name: "treasury",
|
|
1119
|
+
type: "address",
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
internalType: "int256",
|
|
1123
|
+
name: "scalarRoot",
|
|
1124
|
+
type: "int256",
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
internalType: "uint256",
|
|
1128
|
+
name: "expiry",
|
|
1129
|
+
type: "uint256",
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
internalType: "uint256",
|
|
1133
|
+
name: "lnFeeRateRoot",
|
|
1134
|
+
type: "uint256",
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
internalType: "uint256",
|
|
1138
|
+
name: "reserveFeePercent",
|
|
1139
|
+
type: "uint256",
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
internalType: "uint256",
|
|
1143
|
+
name: "lastLnImpliedRate",
|
|
1144
|
+
type: "uint256",
|
|
1145
|
+
},
|
|
1146
|
+
],
|
|
1147
|
+
internalType: "struct MarketState",
|
|
1148
|
+
name: "state",
|
|
1149
|
+
type: "tuple",
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
internalType: "PYIndex",
|
|
1153
|
+
name: "index",
|
|
1154
|
+
type: "uint256",
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
internalType: "uint256",
|
|
1158
|
+
name: "blockTime",
|
|
1159
|
+
type: "uint256",
|
|
1160
|
+
},
|
|
1161
|
+
],
|
|
1162
|
+
internalType: "struct MarketExtState",
|
|
1163
|
+
name: "marketExt",
|
|
1164
|
+
type: "tuple",
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
components: [
|
|
1168
|
+
{
|
|
1169
|
+
internalType: "uint256",
|
|
1170
|
+
name: "buyYtIy",
|
|
1171
|
+
type: "uint256",
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
internalType: "uint256",
|
|
1175
|
+
name: "sellYtIy",
|
|
1176
|
+
type: "uint256",
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
internalType: "uint256",
|
|
1180
|
+
name: "targetSyRatio",
|
|
1181
|
+
type: "uint256",
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
internalType: "uint256",
|
|
1185
|
+
name: "bufferSyRatio",
|
|
1186
|
+
type: "uint256",
|
|
1187
|
+
},
|
|
1188
|
+
{
|
|
1189
|
+
internalType: "uint256",
|
|
1190
|
+
name: "targetYtPtRatio",
|
|
1191
|
+
type: "uint256",
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
internalType: "uint256",
|
|
1195
|
+
name: "numOfBins",
|
|
1196
|
+
type: "uint256",
|
|
1197
|
+
},
|
|
1198
|
+
],
|
|
1199
|
+
internalType: "struct TradingSpecs",
|
|
1200
|
+
name: "specs",
|
|
1201
|
+
type: "tuple",
|
|
1202
|
+
},
|
|
1203
|
+
],
|
|
1204
|
+
internalType: "struct StrategyData",
|
|
1205
|
+
name: "strategyData",
|
|
1206
|
+
type: "tuple",
|
|
1207
|
+
},
|
|
1208
|
+
],
|
|
1209
|
+
stateMutability: "view",
|
|
1210
|
+
type: "function",
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
inputs: [
|
|
1214
|
+
{
|
|
1215
|
+
internalType: "address",
|
|
1216
|
+
name: "receiver",
|
|
1217
|
+
type: "address",
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
internalType: "uint256",
|
|
1221
|
+
name: "amountSharesToRedeem",
|
|
1222
|
+
type: "uint256",
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
internalType: "address",
|
|
1226
|
+
name: "tokenOut",
|
|
1227
|
+
type: "address",
|
|
1228
|
+
},
|
|
1229
|
+
{
|
|
1230
|
+
internalType: "uint256",
|
|
1231
|
+
name: "minTokenOut",
|
|
1232
|
+
type: "uint256",
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
internalType: "bool",
|
|
1236
|
+
name: "burnFromInternalBalance",
|
|
1237
|
+
type: "bool",
|
|
1238
|
+
},
|
|
1239
|
+
],
|
|
1240
|
+
name: "redeem",
|
|
1241
|
+
outputs: [
|
|
1242
|
+
{
|
|
1243
|
+
internalType: "uint256",
|
|
1244
|
+
name: "amountTokenOut",
|
|
1245
|
+
type: "uint256",
|
|
1246
|
+
},
|
|
1247
|
+
],
|
|
1248
|
+
stateMutability: "nonpayable",
|
|
1249
|
+
type: "function",
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
inputs: [],
|
|
1253
|
+
name: "rewardIndexesCurrent",
|
|
1254
|
+
outputs: [
|
|
1255
|
+
{
|
|
1256
|
+
internalType: "uint256[]",
|
|
1257
|
+
name: "indexes",
|
|
1258
|
+
type: "uint256[]",
|
|
1259
|
+
},
|
|
1260
|
+
],
|
|
1261
|
+
stateMutability: "nonpayable",
|
|
1262
|
+
type: "function",
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
inputs: [],
|
|
1266
|
+
name: "rewardIndexesStored",
|
|
1267
|
+
outputs: [
|
|
1268
|
+
{
|
|
1269
|
+
internalType: "uint256[]",
|
|
1270
|
+
name: "indexes",
|
|
1271
|
+
type: "uint256[]",
|
|
1272
|
+
},
|
|
1273
|
+
],
|
|
1274
|
+
stateMutability: "view",
|
|
1275
|
+
type: "function",
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
inputs: [
|
|
1279
|
+
{
|
|
1280
|
+
internalType: "address",
|
|
1281
|
+
name: "",
|
|
1282
|
+
type: "address",
|
|
1283
|
+
},
|
|
1284
|
+
],
|
|
1285
|
+
name: "rewardState",
|
|
1286
|
+
outputs: [
|
|
1287
|
+
{
|
|
1288
|
+
internalType: "uint128",
|
|
1289
|
+
name: "index",
|
|
1290
|
+
type: "uint128",
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
internalType: "uint128",
|
|
1294
|
+
name: "lastBalance",
|
|
1295
|
+
type: "uint128",
|
|
1296
|
+
},
|
|
1297
|
+
],
|
|
1298
|
+
stateMutability: "view",
|
|
1299
|
+
type: "function",
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
inputs: [],
|
|
1303
|
+
name: "router",
|
|
1304
|
+
outputs: [
|
|
1305
|
+
{
|
|
1306
|
+
internalType: "address",
|
|
1307
|
+
name: "",
|
|
1308
|
+
type: "address",
|
|
1309
|
+
},
|
|
1310
|
+
],
|
|
1311
|
+
stateMutability: "view",
|
|
1312
|
+
type: "function",
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
inputs: [
|
|
1316
|
+
{
|
|
1317
|
+
components: [
|
|
1318
|
+
{
|
|
1319
|
+
internalType: "uint256",
|
|
1320
|
+
name: "buyYtIy",
|
|
1321
|
+
type: "uint256",
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
internalType: "uint256",
|
|
1325
|
+
name: "sellYtIy",
|
|
1326
|
+
type: "uint256",
|
|
1327
|
+
},
|
|
1328
|
+
{
|
|
1329
|
+
internalType: "uint256",
|
|
1330
|
+
name: "targetSyRatio",
|
|
1331
|
+
type: "uint256",
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
internalType: "uint256",
|
|
1335
|
+
name: "bufferSyRatio",
|
|
1336
|
+
type: "uint256",
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
internalType: "uint256",
|
|
1340
|
+
name: "targetYtPtRatio",
|
|
1341
|
+
type: "uint256",
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
internalType: "uint256",
|
|
1345
|
+
name: "numOfBins",
|
|
1346
|
+
type: "uint256",
|
|
1347
|
+
},
|
|
1348
|
+
],
|
|
1349
|
+
internalType: "struct TradingSpecs",
|
|
1350
|
+
name: "_specs",
|
|
1351
|
+
type: "tuple",
|
|
1352
|
+
},
|
|
1353
|
+
],
|
|
1354
|
+
name: "setSpecs",
|
|
1355
|
+
outputs: [],
|
|
1356
|
+
stateMutability: "nonpayable",
|
|
1357
|
+
type: "function",
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
inputs: [],
|
|
1361
|
+
name: "specs",
|
|
1362
|
+
outputs: [
|
|
1363
|
+
{
|
|
1364
|
+
internalType: "uint256",
|
|
1365
|
+
name: "buyYtIy",
|
|
1366
|
+
type: "uint256",
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
internalType: "uint256",
|
|
1370
|
+
name: "sellYtIy",
|
|
1371
|
+
type: "uint256",
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
internalType: "uint256",
|
|
1375
|
+
name: "targetSyRatio",
|
|
1376
|
+
type: "uint256",
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
internalType: "uint256",
|
|
1380
|
+
name: "bufferSyRatio",
|
|
1381
|
+
type: "uint256",
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
internalType: "uint256",
|
|
1385
|
+
name: "targetYtPtRatio",
|
|
1386
|
+
type: "uint256",
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
internalType: "uint256",
|
|
1390
|
+
name: "numOfBins",
|
|
1391
|
+
type: "uint256",
|
|
1392
|
+
},
|
|
1393
|
+
],
|
|
1394
|
+
stateMutability: "view",
|
|
1395
|
+
type: "function",
|
|
1396
|
+
},
|
|
1397
|
+
{
|
|
1398
|
+
inputs: [],
|
|
1399
|
+
name: "symbol",
|
|
1400
|
+
outputs: [
|
|
1401
|
+
{
|
|
1402
|
+
internalType: "string",
|
|
1403
|
+
name: "",
|
|
1404
|
+
type: "string",
|
|
1405
|
+
},
|
|
1406
|
+
],
|
|
1407
|
+
stateMutability: "view",
|
|
1408
|
+
type: "function",
|
|
1409
|
+
},
|
|
1410
|
+
{
|
|
1411
|
+
inputs: [],
|
|
1412
|
+
name: "totalSupply",
|
|
1413
|
+
outputs: [
|
|
1414
|
+
{
|
|
1415
|
+
internalType: "uint256",
|
|
1416
|
+
name: "",
|
|
1417
|
+
type: "uint256",
|
|
1418
|
+
},
|
|
1419
|
+
],
|
|
1420
|
+
stateMutability: "view",
|
|
1421
|
+
type: "function",
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
inputs: [
|
|
1425
|
+
{
|
|
1426
|
+
internalType: "address",
|
|
1427
|
+
name: "to",
|
|
1428
|
+
type: "address",
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
internalType: "uint256",
|
|
1432
|
+
name: "amount",
|
|
1433
|
+
type: "uint256",
|
|
1434
|
+
},
|
|
1435
|
+
],
|
|
1436
|
+
name: "transfer",
|
|
1437
|
+
outputs: [
|
|
1438
|
+
{
|
|
1439
|
+
internalType: "bool",
|
|
1440
|
+
name: "",
|
|
1441
|
+
type: "bool",
|
|
1442
|
+
},
|
|
1443
|
+
],
|
|
1444
|
+
stateMutability: "nonpayable",
|
|
1445
|
+
type: "function",
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
inputs: [
|
|
1449
|
+
{
|
|
1450
|
+
internalType: "address",
|
|
1451
|
+
name: "from",
|
|
1452
|
+
type: "address",
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
internalType: "address",
|
|
1456
|
+
name: "to",
|
|
1457
|
+
type: "address",
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
internalType: "uint256",
|
|
1461
|
+
name: "amount",
|
|
1462
|
+
type: "uint256",
|
|
1463
|
+
},
|
|
1464
|
+
],
|
|
1465
|
+
name: "transferFrom",
|
|
1466
|
+
outputs: [
|
|
1467
|
+
{
|
|
1468
|
+
internalType: "bool",
|
|
1469
|
+
name: "",
|
|
1470
|
+
type: "bool",
|
|
1471
|
+
},
|
|
1472
|
+
],
|
|
1473
|
+
stateMutability: "nonpayable",
|
|
1474
|
+
type: "function",
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
inputs: [
|
|
1478
|
+
{
|
|
1479
|
+
internalType: "address",
|
|
1480
|
+
name: "newOwner",
|
|
1481
|
+
type: "address",
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
internalType: "bool",
|
|
1485
|
+
name: "direct",
|
|
1486
|
+
type: "bool",
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
internalType: "bool",
|
|
1490
|
+
name: "renounce",
|
|
1491
|
+
type: "bool",
|
|
1492
|
+
},
|
|
1493
|
+
],
|
|
1494
|
+
name: "transferOwnership",
|
|
1495
|
+
outputs: [],
|
|
1496
|
+
stateMutability: "nonpayable",
|
|
1497
|
+
type: "function",
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
inputs: [],
|
|
1501
|
+
name: "unpause",
|
|
1502
|
+
outputs: [],
|
|
1503
|
+
stateMutability: "nonpayable",
|
|
1504
|
+
type: "function",
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
inputs: [
|
|
1508
|
+
{
|
|
1509
|
+
internalType: "address",
|
|
1510
|
+
name: "",
|
|
1511
|
+
type: "address",
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
internalType: "address",
|
|
1515
|
+
name: "",
|
|
1516
|
+
type: "address",
|
|
1517
|
+
},
|
|
1518
|
+
],
|
|
1519
|
+
name: "userReward",
|
|
1520
|
+
outputs: [
|
|
1521
|
+
{
|
|
1522
|
+
internalType: "uint128",
|
|
1523
|
+
name: "index",
|
|
1524
|
+
type: "uint128",
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
internalType: "uint128",
|
|
1528
|
+
name: "accrued",
|
|
1529
|
+
type: "uint128",
|
|
1530
|
+
},
|
|
1531
|
+
],
|
|
1532
|
+
stateMutability: "view",
|
|
1533
|
+
type: "function",
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
inputs: [],
|
|
1537
|
+
name: "yieldToken",
|
|
1538
|
+
outputs: [
|
|
1539
|
+
{
|
|
1540
|
+
internalType: "address",
|
|
1541
|
+
name: "",
|
|
1542
|
+
type: "address",
|
|
1543
|
+
},
|
|
1544
|
+
],
|
|
1545
|
+
stateMutability: "view",
|
|
1546
|
+
type: "function",
|
|
1547
|
+
},
|
|
1548
|
+
{
|
|
1549
|
+
stateMutability: "payable",
|
|
1550
|
+
type: "receive",
|
|
1551
|
+
},
|
|
1552
|
+
];
|
|
1553
|
+
|
|
1554
|
+
const _bytecode =
|
|
1555
|
+
"0x6102606040523480156200001257600080fd5b50604051620058f0380380620058f083398101604081905262000035916200052d565b6040518060400160405280600e81526020016d119bdc9d1adb9bde0815985d5b1d60921b8152506040518060400160405280600e81526020016d119bdc9d1adb9bde0815985d5b1d60921b81525062000094866200041060201b60201c565b8282828282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000d8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000fe919062000595565b6040805180820190915260018152603160f81b60208201528390818484600362000129848262000666565b50600462000138838262000666565b5060ff166080525050600280546001600160f81b0316600160f81b17905581516020808401919091208251918301919091206101008290526101208190524660c0527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620001eb8184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b60a0523060e0526101405250506038805460ff191690555050600754600160a81b900460ff161592508291505080156200023257506007546001600160a01b90910460ff16105b806200026957506200024f306200048260201b62001ab91760201c565b158015620002695750600754600160a01b900460ff166001145b620002d25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6007805460ff60a01b1916600160a01b179055801562000300576007805460ff60a81b1916600160a81b1790555b6001600160a01b038216610160526200031862000491565b801562000361576007805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050506000806000866001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015620003ac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003d2919062000732565b6001600160a01b03998a166101a0529789166101c0529088166101e05287166102005250505091831661022052821661024052166101805262000786565b600080826001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa15801562000452573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000478919062000732565b5090949350505050565b6001600160a01b03163b151590565b600754600160a81b900460ff16620005005760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620002c9565b600680546001600160a01b03191633179055565b6001600160a01b03811681146200052a57600080fd5b50565b600080600080608085870312156200054457600080fd5b8451620005518162000514565b6020860151909450620005648162000514565b6040860151909350620005778162000514565b60608601519092506200058a8162000514565b939692955090935050565b600060208284031215620005a857600080fd5b815160ff81168114620005ba57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005ec57607f821691505b6020821081036200060d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200066157600081815260208120601f850160051c810160208610156200063c5750805b601f850160051c820191505b818110156200065d5782815560010162000648565b5050505b505050565b81516001600160401b03811115620006825762000682620005c1565b6200069a81620006938454620005d7565b8462000613565b602080601f831160018114620006d25760008415620006b95750858301515b600019600386901b1c1916600185901b1785556200065d565b600085815260208120601f198616915b828110156200070357888601518255948401946001909101908401620006e2565b5085821015620007225787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000806000606084860312156200074857600080fd5b8351620007558162000514565b6020850151909350620007688162000514565b60408501519092506200077b8162000514565b809150509250925092565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e05161020051610220516102405161500f620008e160003960008181610621015281816112550152611e5b0152600081816105cd01528181611c5301528181611d7a0152613a8b0152600081816108590152611c810152600081816107b001528181610a0a01528181610c1a01528181611437015281816114bf015281816114e001528181611c25015281816126fb01528181612a760152613bb10152600081816109af01528181611d0101526126bd01526000818161067501528181610fe60152818161106701528181611bfa01528181611cd401528181611f4d01528181612b380152613b1d015260006108f80152600061058c015260006124b901526000612508015260006124e30152600061243c0152600061246601526000612490015260006103ee015261500f6000f3fe60806040526004361061025e5760003560e01c806306fdde031461026a578063071bc3c9146102b0578063078dfbe7146102d2578063095ea7b3146102f4578063105f402914610324578063128fced11461034757806318160ddd1461037457806320e8c56514610389578063213cae63146102b057806323b872dd1461039c5780632b4cb4b7146103bc578063313ce567146103dc5780633644e515146104225780633ba0b9a9146104375780633f4ba83a1461044c5780634c6e8f81146104615780634e71e0c8146104815780635c975abb146104965780635cbadbe4146104ae5780636925c6051461051a57806370a082311461053a578063769f8e5d1461055a57806376d5de851461057a578063781c18db146105bb578063784367d6146105ef5780637cf738d21461060f5780637ecebe001461064357806380f55605146106635780638456cb59146106975780638da5cb5b146106ac57806395d89b411461026a578063a40bee50146106cc578063a7584e5e146106f0578063a9059cbb14610710578063a9f8d18114610730578063adb7c3f714610746578063afd27bf51461079e578063b8f82b26146107d2578063c4f59f9b146107f2578063cbe52ae314610807578063d505accf14610827578063d94073d414610847578063da88ecb41461087b578063dd62ed3e14610890578063e138b2ee146108b0578063e30c3978146108c6578063e82cee79146108e6578063ea64a8201461091a578063eb983ce51461095b578063ef5cfb8c1461097d578063f887ea401461099d578063f8b2f991146109d1578063fa5a4f06146105ef57600080fd5b3661026557005b600080fd5b34801561027657600080fd5b50604080518082018252600e81526d119bdc9d1adb9bde0815985d5b1d60921b602082015290516102a79190614261565b60405180910390f35b3480156102bc57600080fd5b506102c56109e6565b6040516102a791906142b8565b3480156102de57600080fd5b506102f26102ed366004614304565b610a5f565b005b34801561030057600080fd5b5061031461030f36600461434f565b610b65565b60405190151581526020016102a7565b34801561033057600080fd5b50610339610b7f565b6040519081526020016102a7565b34801561035357600080fd5b5061036761036236600461437b565b610c58565b6040516102a791906143c8565b34801561038057600080fd5b50610339610d64565b6103396103973660046143db565b610d73565b3480156103a857600080fd5b506103146103b7366004614421565b610ebc565b3480156103c857600080fd5b506103396103d7366004614462565b610f3a565b3480156103e857600080fd5b506104107f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016102a7565b34801561042e57600080fd5b5061033961102f565b34801561044357600080fd5b5061033961103e565b34801561045857600080fd5b506102f26110f2565b34801561046d57600080fd5b506102f261047c36600461447f565b611126565b34801561048d57600080fd5b506102f261115e565b3480156104a257600080fd5b5060385460ff16610314565b3480156104ba57600080fd5b506104fa6104c936600461447f565b60396020908152600092835260408084209091529082529020546001600160801b0380821691600160801b90041682565b604080516001600160801b039384168152929091166020830152016102a7565b34801561052657600080fd5b506103396105353660046144ca565b61120a565b34801561054657600080fd5b5061033961055536600461437b565b6112c5565b34801561056657600080fd5b5061033961057536600461450e565b6112e0565b34801561058657600080fd5b506105ae7f000000000000000000000000000000000000000000000000000000000000000081565b6040516102a7919061456d565b3480156105c757600080fd5b506105ae7f000000000000000000000000000000000000000000000000000000000000000081565b3480156105fb57600080fd5b5061031461060a36600461437b565b611435565b34801561061b57600080fd5b506105ae7f000000000000000000000000000000000000000000000000000000000000000081565b34801561064f57600080fd5b5061033961065e36600461437b565b611467565b34801561066f57600080fd5b506105ae7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106a357600080fd5b506102f2611485565b3480156106b857600080fd5b506006546105ae906001600160a01b031681565b3480156106d857600080fd5b506106e16114b7565b6040516102a793929190614597565b3480156106fc57600080fd5b506102f261070b3660046145cb565b61156b565b34801561071c57600080fd5b5061031461072b36600461434f565b6115dd565b34801561073c57600080fd5b50610339603a5481565b34801561075257600080fd5b50603c54603d54603e54603f5460405460415461077195949392919086565b604080519687526020870195909552938501929092526060840152608083015260a082015260c0016102a7565b3480156107aa57600080fd5b506105ae7f000000000000000000000000000000000000000000000000000000000000000081565b3480156107de57600080fd5b506103396107ed36600461434f565b61164f565b3480156107fe57600080fd5b506102c561168a565b34801561081357600080fd5b5061033961082236600461434f565b611694565b34801561083357600080fd5b506102f26108423660046145f6565b6116c8565b34801561085357600080fd5b506105ae7f000000000000000000000000000000000000000000000000000000000000000081565b34801561088757600080fd5b5061036761182c565b34801561089c57600080fd5b506103396108ab36600461447f565b6118fd565b3480156108bc57600080fd5b5061033960425481565b3480156108d257600080fd5b506007546105ae906001600160a01b031681565b3480156108f257600080fd5b506105ae7f000000000000000000000000000000000000000000000000000000000000000081565b34801561092657600080fd5b506104fa61093536600461437b565b603b602052600090815260409020546001600160801b0380821691600160801b90041682565b34801561096757600080fd5b50610970611928565b6040516102a791906146f6565b34801561098957600080fd5b5061036761099836600461437b565b611988565b3480156109a957600080fd5b506105ae7f000000000000000000000000000000000000000000000000000000000000000081565b3480156109dd57600080fd5b50610367611a47565b604080516001808252818301909252606091602080830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110610a3c57610a3c614790565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b6006546001600160a01b03163314610a925760405162461bcd60e51b8152600401610a89906147a6565b60405180910390fd5b8115610b44576001600160a01b038316151580610aac5750805b610af05760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610a89565b6006546040516001600160a01b03808616921690600080516020614f9a83398151915290600090a3600680546001600160a01b0385166001600160a01b031991821617909155600780549091169055505050565b600780546001600160a01b0319166001600160a01b0385161790555b505050565b600033610b73818585611ac8565b60019150505b92915050565b60008073__$a7098bf20e819a81ac73f4e6e6693165f6$__63b1ef9e50610ba4611bed565b610bac611cb5565b6040518363ffffffff1660e01b8152600401610bc99291906147db565b602060405180830381865af4158015610be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0a9190614815565b905080610c15610d64565b610c3e7f0000000000000000000000000000000000000000000000000000000000000000611dad565b610c489190614844565b610c529190614871565b91505090565b60606000610c64611e37565b905080516001600160401b03811115610c7f57610c7f61477a565b604051908082528060200260200182016040528015610ca8578160200160208202803683370190505b50915060005b8151811015610d5d5760396000838381518110610ccd57610ccd614790565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000856001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b0316838281518110610d4a57610d4a614790565b6020908102919091010152600101610cae565b5050919050565b6002546001600160f81b031690565b600254600090600119600160f81b90910460ff1601610da45760405162461bcd60e51b8152600401610a8990614885565b600280546001600160f81b0316600160f91b179055610dc284611435565b610de157836040516315d57ce360e31b8152600401610a89919061456d565b82600003610e0257604051630a907f2f60e41b815260040160405180910390fd5b610e0d843385611e8d565b610e178484611ef4565b905081811015610e3e578082604051635e38f95d60e11b8152600401610a899291906148bc565b610e48858261207d565b836001600160a01b0316856001600160a01b0316336001600160a01b03167f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d598685604051610e979291906148bc565b60405180910390a4600280546001600160f81b0316600160f81b179055949350505050565b600254600090600119600160f81b90910460ff1601610eed5760405162461bcd60e51b8152600401610a8990614885565b600280546001600160f81b0316600160f91b17905533610f0e858285612193565b610f1985858561220d565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b60008115610fca5773__$a7098bf20e819a81ac73f4e6e6693165f6$__63b1ef9e50610f64611bed565b610f6c611cb5565b6040518363ffffffff1660e01b8152600401610f899291906147db565b602060405180830381865af4158015610fa6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b799190614815565b73__$a7098bf20e819a81ac73f4e6e6693165f6$__63e2102e677f000000000000000000000000000000000000000000000000000000000000000061100d611bed565b6040518363ffffffff1660e01b8152600401610f899291906148ca565b919050565b600061103961242f565b905090565b600061103961104b610d64565b73__$a7098bf20e819a81ac73f4e6e6693165f6$__63e2102e677f000000000000000000000000000000000000000000000000000000000000000061108e611bed565b6040518363ffffffff1660e01b81526004016110ab9291906148ca565b602060405180830381865af41580156110c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ec9190614815565b90612556565b6006546001600160a01b0316331461111c5760405162461bcd60e51b8152600401610a89906147a6565b611124612585565b565b6006546001600160a01b031633146111505760405162461bcd60e51b8152600401610a89906147a6565b61115a82826125d1565b5050565b6007546001600160a01b03163381146111b95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610a89565b6006546040516001600160a01b03808416921690600080516020614f9a83398151915290600090a3600680546001600160a01b039092166001600160a01b0319928316179055600780549091169055565b6006546000906001600160a01b031633146112375760405162461bcd60e51b8152600401610a89906147a6565b61124961124384614a3b565b83612691565b60065490915061128c907f0000000000000000000000000000000000000000000000000000000000000000906001600160a01b031661128782611dad565b61277e565b6040518181527f52709ca3666ff5bd61f9d9d26f0dbdadd947fdadf265f3141227189da7d484639060200160405180910390a192915050565b6001600160a01b031660009081526020819052604090205490565b600254600090600119600160f81b90910460ff16016113115760405162461bcd60e51b8152600401610a8990614885565b600280546001600160f81b0316600160f91b17905561132f84611435565b61134e57836040516388a5056160e01b8152600401610a89919061456d565b8460000361136f5760405163c3d83b0760e01b815260040160405180910390fd5b81156113845761137f3086612842565b61138e565b61138e3386612842565b6113998685876129bb565b9050828110156113c05780836040516305ff726560e51b8152600401610a899291906148bc565b836001600160a01b0316866001600160a01b0316336001600160a01b03167faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c888560405161140f9291906148bc565b60405180910390a4600280546001600160f81b0316600160f81b17905595945050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0390811691161490565b6001600160a01b038116600090815260056020526040812054610b79565b6006546001600160a01b031633146114af5760405162461bcd60e51b8152600401610a89906147a6565b611124612aa4565b6000806000807f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561153c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115609190614af8565b925092509250909192565b6006546001600160a01b031633146115955760405162461bcd60e51b8152600401610a89906147a6565b6115da6115a736839003830183614b15565b8051603c556020810151603d55604080820151603e556060820151603f556080820151905560a001516041819055604255565b50565b600254600090600119600160f81b90910460ff160161160e5760405162461bcd60e51b8152600401610a8990614885565b600280546001600160f81b0316600160f91b1790553361162f81858561220d565b6001915050600280546001600160f81b0316600160f81b17905592915050565b600061165a83611435565b61167957826040516315d57ce360e31b8152600401610a89919061456d565b6116838383612ae1565b9392505050565b6060611039611e37565b600061169f83611435565b6116be57826040516388a5056160e01b8152600401610a89919061456d565b6116838383612bfc565b834211156117185760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610a89565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886117478c612cad565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006117a282612cd5565b905060006117b282878787612d23565b9050896001600160a01b0316816001600160a01b0316146118155760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610a89565b6118208a8a8a611ac8565b50505050505050505050565b60606000611838611e37565b905080516001600160401b038111156118535761185361477a565b60405190808252806020026020018201604052801561187c578160200160208202803683370190505b50915060005b81518110156118f857603b60008383815181106118a1576118a1614790565b6020908102919091018101516001600160a01b031682528101919091526040016000205483516001600160801b03909116908490839081106118e5576118e5614790565b6020908102919091010152600101611882565b505090565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b611930614108565b611938611bed565b8152611942611cb5565b6020808301919091526040805160c081018252603c548152603d5492810192909252603e5482820152603f5460608301528054608083015260415460a083015282015290565b600254606090600119600160f81b90910460ff16016119b95760405162461bcd60e51b8152600401610a8990614885565b600280546001600160f81b0316600160f91b1790556119d782612d4b565b6119e18283612d56565b9050816001600160a01b03167f2193aa20a3717f5f4ac79482f4f553e5f0afe8f4e6ec3e3d1aa2e138adc4763f611a16611e37565b83604051611a25929190614b8e565b60405180910390a2600280546001600160f81b0316600160f81b179055919050565b600254606090600119600160f81b90910460ff1601611a785760405162461bcd60e51b8152600401610a8990614885565b600280546001600160f81b0316600160f91b179055611a95612ffe565b5050611a9f61182c565b9050600280546001600160f81b0316600160f81b17905590565b6001600160a01b03163b151590565b6001600160a01b038316611b2a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a89565b6001600160a01b038216611b8b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a89565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b611bf561416b565b611c1e7f0000000000000000000000000000000000000000000000000000000000000000611dad565b8152611c497f0000000000000000000000000000000000000000000000000000000000000000611dad565b6060820152611c777f0000000000000000000000000000000000000000000000000000000000000000611dad565b6020820152611ca57f0000000000000000000000000000000000000000000000000000000000000000611dad565b6040820152604254608082015290565b611cbd61419a565b60405163794052f360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063794052f390611d29907f00000000000000000000000000000000000000000000000000000000000000009060040161456d565b61012060405180830381865afa158015611d47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d6b9190614bc7565b8152611d9f6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016613299565b602082015242604082015290565b60006001600160a01b03821615611e30576040516370a0823160e01b81526001600160a01b038316906370a0823190611dea90309060040161456d565b602060405180830381865afa158015611e07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e2b9190614815565b610b79565b4792915050565b604080516001808252818301909252606091602080830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110610a3c57610a3c614790565b6001600160a01b038316611ed957803414610b605760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610a89565b8015610b6057610b606001600160a01b0384168330846134c5565b600080611eff611bed565b90506000611f0b611cb5565b90506000611f17610d64565b905080600003611f2c57849350505050610b79565b600061204a73__$a7098bf20e819a81ac73f4e6e6693165f6$__63e2102e677f0000000000000000000000000000000000000000000000000000000000000000876040518363ffffffff1660e01b8152600401611f8a9291906148ca565b602060405180830381865af4158015611fa7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fcb9190614815565b604051630b1ef9e560e41b815273__$a7098bf20e819a81ac73f4e6e6693165f6$__9063b1ef9e509061200490899089906004016147db565b602060405180830381865af4158015612021573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120459190614815565b613530565b90506120568682614c49565b61205e610d64565b6120689088614844565b6120729190614871565b979650505050505050565b6001600160a01b0382166120d35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610a89565b6120df60008383613546565b6120e881613558565b600280546000906121039084906001600160f81b0316614c5c565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b03168152602001908152602001600020600082825461215b9190614c83565b90915550506040518181526001600160a01b03831690600090600080516020614fba8339815191529060200160405180910390a35050565b600061219f84846118fd565b9050600019811461220757818110156121fa5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a89565b6122078484848403611ac8565b50505050565b6001600160a01b0383166122715760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a89565b6001600160a01b0382166122d35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a89565b816001600160a01b0316836001600160a01b03160361232e5760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b6044820152606401610a89565b612339838383613546565b6001600160a01b038316600090815260208190526040902054818110156123b15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a89565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906123e8908490614c83565b92505081905550826001600160a01b0316846001600160a01b0316600080516020614fba8339815191528460405161242291815260200190565b60405180910390a3612207565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561248857507f000000000000000000000000000000000000000000000000000000000000000046145b156124b257507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b60008061256b670de0b6b3a764000085614844565b905082818161257c5761257c61485b565b04949350505050565b61258d613572565b6038805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516125c7919061456d565b60405180910390a1565b6001600160a01b0382166125e3575050565b6125f560026001600160601b03614c96565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa15801561264e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126729190614815565b101561115a57612684828260006135bb565b61115a82826000196135bb565b60006000198360200151036126b15782516126ab90611dad565b60208401525b82516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169163443e65129116156126f25760006126f8565b84602001515b307f000000000000000000000000000000000000000000000000000000000000000086886040518663ffffffff1660e01b815260040161273b9493929190614cbc565b60206040518083038185885af1158015612759573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906116839190614815565b8060000361278b57505050565b6001600160a01b03831661282e576000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146127e6576040519150601f19603f3d011682016040523d82523d6000602084013e6127eb565b606091505b50509050806122075760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610a89565b610b606001600160a01b03841683836136cf565b6001600160a01b0382166128a25760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610a89565b6128ae82600083613546565b6001600160a01b038216600090815260208190526040902054818110156129225760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610a89565b6001600160a01b0383166000908152602081905260409020828203905561294882613558565b600280546000906129639084906001600160f81b0316614d83565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b0316600080516020614fba83398151915284604051611be091815260200190565b60008073__$a7098bf20e819a81ac73f4e6e6693165f6$__63b1ef9e506129e0611bed565b6129e8611cb5565b6040518363ffffffff1660e01b8152600401612a059291906147db565b602060405180830381865af4158015612a22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a469190614815565b905082612a51610d64565b612a5b9190614c83565b612a658483614844565b612a6f9190614871565b9150612a9c7f0000000000000000000000000000000000000000000000000000000000000000868461277e565b509392505050565b612aac6136ee565b6038805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125ba3390565b600080612aec610d64565b905080600003612aff5782915050610b79565b6000612b09611bed565b90506000612b15611cb5565b90506000612bef73__$a7098bf20e819a81ac73f4e6e6693165f6$__63e2102e677f0000000000000000000000000000000000000000000000000000000000000000866040518363ffffffff1660e01b8152600401612b759291906148ca565b602060405180830381865af4158015612b92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bb69190614815565b604051630b1ef9e560e41b815273__$a7098bf20e819a81ac73f4e6e6693165f6$__9063b1ef9e509061200490889088906004016147db565b9050806120688588614844565b60008073__$a7098bf20e819a81ac73f4e6e6693165f6$__63b1ef9e50612c21611bed565b612c29611cb5565b6040518363ffffffff1660e01b8152600401612c469291906147db565b602060405180830381865af4158015612c63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c879190614815565b9050612c91610d64565b612c9b8483614844565b612ca59190614871565b949350505050565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b6000610b79612ce261242f565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000612d3487878787613734565b91509150612d4181613817565b5095945050505050565b6115da8160006139c8565b60606000612d62611e37565b905080516001600160401b03811115612d7d57612d7d61477a565b604051908082528060200260200182016040528015612da6578160200160208202803683370190505b50915060005b8151811015612ff65760396000838381518110612dcb57612dcb614790565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000866001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b0316838281518110612e4857612e48614790565b602002602001018181525050828181518110612e6657612e66614790565b6020026020010151600014612fe457600060396000848481518110612e8d57612e8d614790565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000876001600160a01b03166001600160a01b0316815260200190815260200160002060000160106101000a8154816001600160801b0302191690836001600160801b03160217905550612f21838281518110612f1457612f14614790565b6020026020010151613a48565b603b6000848481518110612f3757612f37614790565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160108282829054906101000a90046001600160801b0316612f839190614da3565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550612fe4828281518110612fbc57612fbc614790565b602002602001015185858481518110612fd757612fd7614790565b602002602001015161277e565b80612fee81614dc3565b915050612dac565b505092915050565b606080613009611e37565b915081516001600160401b038111156130245761302461477a565b60405190808252806020026020018201604052801561304d578160200160208202803683370190505b509050815160000361305d579091565b43603a54146132115743603a556000613074613a5e565b905061307e613a68565b60005b835181101561320e57600084828151811061309e5761309e614790565b6020908102919091018101516001600160a01b0381166000908152603b90925260408220548751919350600160801b90046001600160801b0316906130fc908890869081106130ef576130ef614790565b6020026020010151611dad565b6131069190614c49565b6001600160a01b0383166000908152603b60205260408120549192506001600160801b0390911690819003613139575060015b8415613156576131498286612556565b6131539082614c83565b90505b61315f81613a48565b6001600160a01b0384166000908152603b6020526040902080546001600160801b0319166001600160801b039290921691909117905561319e82613a48565b6001600160a01b0384166000908152603b6020526040902080546010906131d6908490600160801b90046001600160801b0316614ddc565b92506101000a8154816001600160801b0302191690836001600160801b031602179055505050508061320790614dc3565b9050613081565b50505b60005b825181101561329457603b600084838151811061323357613233614790565b6020908102919091018101516001600160a01b031682528101919091526040016000205482516001600160801b039091169083908390811061327757613277614790565b60209081029190910101528061328c81614dc3565b915050613214565b509091565b600080826001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132fe9190614dfc565b90506000836001600160a01b031663d2a3584e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613340573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133649190614815565b90506000846001600160a01b031663516399df6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156133a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133ca9190614e19565b801561343f575043856001600160a01b03166360e0a9e16040518163ffffffff1660e01b8152600401602060405180830381865afa158015613410573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134349190614e36565b6001600160801b0316145b1561344b575080612ca5565b6000836001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa15801561348b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134af9190614815565b90506134bb8184613530565b9695505050505050565b6040516001600160a01b03808516602483015283166044820152606481018290526122079085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152613c2d565b600081831161353f5781611683565b5090919050565b61354e6136ee565b610b6083836139c8565b60006001600160f81b0382111561356e57600080fd5b5090565b60385460ff166111245760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a89565b600080846001600160a01b031663095ea7b360e01b85856040516024016135e3929190614e5f565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516136219190614e78565b6000604051808303816000865af19150503d806000811461365e576040519150601f19603f3d011682016040523d82523d6000602084013e613663565b606091505b509150915081801561368d57508051158061368d57508080602001905181019061368d9190614e19565b6136c85760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401610a89565b5050505050565b610b608363a9059cbb60e01b84846040516024016134f9929190614e5f565b60385460ff16156111245760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a89565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115613761575060009050600361380e565b8460ff16601b1415801561377957508460ff16601c14155b1561378a575060009050600461380e565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156137de573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166138075760006001925092505061380e565b9150600090505b94509492505050565b600081600481111561382b5761382b614581565b036138335750565b600181600481111561384757613847614581565b0361388f5760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610a89565b60028160048111156138a3576138a3614581565b036138f05760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a89565b600381600481111561390457613904614581565b0361395c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610a89565b600481600481111561397057613970614581565b036115da5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610a89565b6000806139d3612ffe565b9150915081516000036139e65750505050565b6001600160a01b03841615801590613a0757506001600160a01b0384163014155b15613a1757613a17848383613cff565b6001600160a01b03831615801590613a3857506001600160a01b0383163014155b1561220757612207838383613cff565b60006001600160801b0382111561356e57600080fd5b6000611039610d64565b604051637d24da4d60e01b815230600482015260016024820181905260448201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690637d24da4d906064016000604051808303816000875af1158015613adc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613b049190810190614f08565b5050604051639262187b60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690639262187b90613b5290309060040161456d565b6000604051808303816000875af1158015613b71573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613b999190810190614f4f565b50604051633bd73ee360e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ef5cfb8c90613be690309060040161456d565b6000604051808303816000875af1158015613c05573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115da9190810190614f4f565b6000613c82826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613f789092919063ffffffff16565b805190915015610b605780806020019051810190613ca09190614e19565b610b605760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a89565b6001600160a01b03831615801590613d2057506001600160a01b0383163014155b613d2c57613d2c614f83565b6000613d3784613f87565b905060005b83518110156136c8576000848281518110613d5957613d59614790565b602002602001015190506000848381518110613d7757613d77614790565b6020908102919091018101516001600160a01b038085166000908152603984526040808220928c168252919093528220549092506001600160801b031690819003613e1357613dc582613a48565b6001600160a01b039384166000908152603960209081526040808320968c1683529590529390932080546001600160801b0319166001600160801b039094169390931790925550613f689050565b818103613e2257505050613f68565b6000613e2e8284614c49565b90506000613e3c8783613f92565b6001600160a01b038681166000908152603960209081526040808320938f1683529290529081205491925090613e83908390600160801b90046001600160801b0316614c83565b90506040518060400160405280613e9987613a48565b6001600160801b03168152602001613eb083613a48565b6001600160801b031681525060396000886001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055509050505050505050505b613f7181614dc3565b9050613d3c565b6060612ca58484600085613fb0565b6000610b79826112c5565b600080613f9f8385614844565b9050670de0b6b3a76400008161257c565b6060824710156140115760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610a89565b61401a85611ab9565b6140665760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a89565b600080866001600160a01b031685876040516140829190614e78565b60006040518083038185875af1925050503d80600081146140bf576040519150601f19603f3d011682016040523d82523d6000602084013e6140c4565b606091505b5091509150612072828286606083156140de575081611683565b8251156140ee5782518084602001fd5b8160405162461bcd60e51b8152600401610a899190614261565b604051806060016040528061411b61416b565b815260200161412861419a565b81526020016141666040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b905290565b6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b60405180606001604052806141fd60405180610120016040528060008152602001600081526020016000815260200160006001600160a01b0316815260200160008152602001600081526020016000815260200160008152602001600081525090565b815260200160008152602001600081525090565b60005b8381101561422c578181015183820152602001614214565b50506000910152565b6000815180845261424d816020860160208601614211565b601f01601f19169290920160200192915050565b6020815260006116836020830184614235565b600081518084526020808501945080840160005b838110156142ad5781516001600160a01b031687529582019590820190600101614288565b509495945050505050565b6020815260006116836020830184614274565b6001600160a01b03811681146115da57600080fd5b803561102a816142cb565b80151581146115da57600080fd5b803561102a816142eb565b60008060006060848603121561431957600080fd5b8335614324816142cb565b92506020840135614334816142eb565b91506040840135614344816142eb565b809150509250925092565b6000806040838503121561436257600080fd5b823561436d816142cb565b946020939093013593505050565b60006020828403121561438d57600080fd5b8135611683816142cb565b600081518084526020808501945080840160005b838110156142ad578151875295820195908201906001016143ac565b6020815260006116836020830184614398565b600080600080608085870312156143f157600080fd5b84356143fc816142cb565b9350602085013561440c816142cb565b93969395505050506040820135916060013590565b60008060006060848603121561443657600080fd5b8335614441816142cb565b92506020840135614451816142cb565b929592945050506040919091013590565b60006020828403121561447457600080fd5b8135611683816142eb565b6000806040838503121561449257600080fd5b823561449d816142cb565b915060208301356144ad816142cb565b809150509250929050565b600060c08284031215612ccf57600080fd5b600080604083850312156144dd57600080fd5b82356001600160401b038111156144f357600080fd5b6144ff858286016144b8565b95602094909401359450505050565b600080600080600060a0868803121561452657600080fd5b8535614531816142cb565b9450602086013593506040860135614548816142cb565b925060608601359150608086013561455f816142eb565b809150509295509295909350565b6001600160a01b0391909116815260200190565b634e487b7160e01b600052602160045260246000fd5b60608101600285106145ab576145ab614581565b9381526001600160a01b0392909216602083015260ff1660409091015290565b600060c082840312156145dd57600080fd5b61168383836144b8565b60ff811681146115da57600080fd5b600080600080600080600060e0888a03121561461157600080fd5b873561461c816142cb565b9650602088013561462c816142cb565b95506040880135945060608801359350608088013561464a816145e7565b9699959850939692959460a0840135945060c09093013592915050565b80518252602081015160208301526040810151604083015260608101516060830152608081015160808301525050565b8051825260208082015190830152604080820151908301526060808201516001600160a01b0316908301526080808201519083015260a0808201519083015260c0808201519083015260e0808201519083015261010090810151910152565b60006102c08201905061470a828451614667565b602083015161471d60a084018251614697565b6020818101516101c08501526040918201516101e0850152938101518051610200850152938401516102208401528301516102408301526060830151610260830152608083015161028083015260a0909201516102a09091015290565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b61020081016147ea8285614667565b6147f860a083018451614697565b60208301516101c083015260408301516101e08301529392505050565b60006020828403121561482757600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610b7957610b7961482e565b634e487b7160e01b600052601260045260246000fd5b6000826148805761488061485b565b500490565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b918252602082015260400190565b6001600160a01b038316815260c081016116836020830184614667565b604051608081016001600160401b03811182821017156149095761490961477a565b60405290565b60405161012081016001600160401b03811182821017156149095761490961477a565b604051601f8201601f191681016001600160401b038111828210171561495a5761495a61477a565b604052919050565b60006080828403121561497457600080fd5b61497c6148e7565b905081356004811061498d57600080fd5b815260208281013561499e816142cb565b8282015260408301356001600160401b03808211156149bc57600080fd5b818501915085601f8301126149d057600080fd5b8135818111156149e2576149e261477a565b6149f4601f8201601f19168501614932565b91508082528684828501011115614a0a57600080fd5b8084840185840137600084828401015250806040850152505050614a30606083016142f9565b606082015292915050565b600060c08236031215614a4d57600080fd5b60405160c081016001600160401b038082118383101715614a7057614a7061477a565b8160405284359150614a81826142cb565b8183526020850135602084015260408501359150614a9e826142cb565b81604084015260608501359150614ab4826142cb565b816060840152614ac6608086016142e0565b608084015260a0850135915080821115614adf57600080fd5b50614aec36828601614962565b60a08301525092915050565b600060208284031215614b0a57600080fd5b8151611683816145e7565b600060c08284031215614b2757600080fd5b60405160c081016001600160401b0381118282101715614b4957614b4961477a565b8060405250823581526020830135602082015260408301356040820152606083013560608201526080830135608082015260a083013560a08201528091505092915050565b604081526000614ba16040830185614274565b8281036020840152614bb38185614398565b95945050505050565b805161102a816142cb565b60006101208284031215614bda57600080fd5b614be261490f565b825181526020830151602082015260408301516040820152614c0660608401614bbc565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015181830152508091505092915050565b81810381811115610b7957610b7961482e565b6001600160f81b03818116838216019080821115614c7c57614c7c61482e565b5092915050565b80820180821115610b7957610b7961482e565b60006001600160601b0383811680614cb057614cb061485b565b92169190910492915050565b600060018060a01b038087168352808616602084015284604084015260806060840152808451166080840152602084015160a08401528060408501511660c08401528060608501511660e08401528060808501511661010084015260a084015160c0610120850152805160048110614d3657614d36614581565b61014085015260208101519091166101608401526040810151608061018085015290614d666101c0850183614235565b9150606081015115156101a0850152508091505095945050505050565b6001600160f81b03828116828216039080821115614c7c57614c7c61482e565b6001600160801b03828116828216039080821115614c7c57614c7c61482e565b600060018201614dd557614dd561482e565b5060010190565b6001600160801b03818116838216019080821115614c7c57614c7c61482e565b600060208284031215614e0e57600080fd5b8151611683816142cb565b600060208284031215614e2b57600080fd5b8151611683816142eb565b600060208284031215614e4857600080fd5b81516001600160801b038116811461168357600080fd5b6001600160a01b03929092168252602082015260400190565b60008251614e8a818460208701614211565b9190910192915050565b600082601f830112614ea557600080fd5b815160206001600160401b03821115614ec057614ec061477a565b8160051b614ecf828201614932565b9283528481018201928281019087851115614ee957600080fd5b83870192505b8483101561207257825182529183019190830190614eef565b60008060408385031215614f1b57600080fd5b825160208401519092506001600160401b03811115614f3957600080fd5b614f4585828601614e94565b9150509250929050565b600060208284031215614f6157600080fd5b81516001600160401b03811115614f7757600080fd5b612ca584828501614e94565b634e487b7160e01b600052600160045260246000fdfe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212209f331cd95b453a9a1dfe61489818dce9f3288deb1cd3dbf20962f30b52aa4dfc64736f6c63430008110033";
|
|
1556
|
+
|
|
1557
|
+
type TradingBotBaseConstructorParams =
|
|
1558
|
+
| [linkLibraryAddresses: TradingBotBaseLibraryAddresses, signer?: Signer]
|
|
1559
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
1560
|
+
|
|
1561
|
+
const isSuperArgs = (
|
|
1562
|
+
xs: TradingBotBaseConstructorParams
|
|
1563
|
+
): xs is ConstructorParameters<typeof ContractFactory> => {
|
|
1564
|
+
return (
|
|
1565
|
+
typeof xs[0] === "string" ||
|
|
1566
|
+
(Array.isArray as (arg: any) => arg is readonly any[])(xs[0]) ||
|
|
1567
|
+
"_isInterface" in xs[0]
|
|
1568
|
+
);
|
|
1569
|
+
};
|
|
1570
|
+
|
|
1571
|
+
export class TradingBotBase__factory extends ContractFactory {
|
|
1572
|
+
constructor(...args: TradingBotBaseConstructorParams) {
|
|
1573
|
+
if (isSuperArgs(args)) {
|
|
1574
|
+
super(...args);
|
|
1575
|
+
} else {
|
|
1576
|
+
const [linkLibraryAddresses, signer] = args;
|
|
1577
|
+
super(
|
|
1578
|
+
_abi,
|
|
1579
|
+
TradingBotBase__factory.linkBytecode(linkLibraryAddresses),
|
|
1580
|
+
signer
|
|
1581
|
+
);
|
|
1582
|
+
}
|
|
1583
|
+
this.contractName = "TradingBotBase";
|
|
1584
|
+
}
|
|
1585
|
+
|
|
1586
|
+
static linkBytecode(
|
|
1587
|
+
linkLibraryAddresses: TradingBotBaseLibraryAddresses
|
|
1588
|
+
): string {
|
|
1589
|
+
let linkedBytecode = _bytecode;
|
|
1590
|
+
|
|
1591
|
+
linkedBytecode = linkedBytecode.replace(
|
|
1592
|
+
new RegExp("__\\$a7098bf20e819a81ac73f4e6e6693165f6\\$__", "g"),
|
|
1593
|
+
linkLibraryAddresses[
|
|
1594
|
+
"contracts/core/TradingBot/libraries/TvlLib.sol:TvlLib"
|
|
1595
|
+
]
|
|
1596
|
+
.replace(/^0x/, "")
|
|
1597
|
+
.toLowerCase()
|
|
1598
|
+
);
|
|
1599
|
+
|
|
1600
|
+
return linkedBytecode;
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
deploy(
|
|
1604
|
+
_market: string,
|
|
1605
|
+
_router: string,
|
|
1606
|
+
_PENDLE: string,
|
|
1607
|
+
_decisionHelper: string,
|
|
1608
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1609
|
+
): Promise<TradingBotBase> {
|
|
1610
|
+
return super.deploy(
|
|
1611
|
+
_market,
|
|
1612
|
+
_router,
|
|
1613
|
+
_PENDLE,
|
|
1614
|
+
_decisionHelper,
|
|
1615
|
+
overrides || {}
|
|
1616
|
+
) as Promise<TradingBotBase>;
|
|
1617
|
+
}
|
|
1618
|
+
getDeployTransaction(
|
|
1619
|
+
_market: string,
|
|
1620
|
+
_router: string,
|
|
1621
|
+
_PENDLE: string,
|
|
1622
|
+
_decisionHelper: string,
|
|
1623
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1624
|
+
): TransactionRequest {
|
|
1625
|
+
return super.getDeployTransaction(
|
|
1626
|
+
_market,
|
|
1627
|
+
_router,
|
|
1628
|
+
_PENDLE,
|
|
1629
|
+
_decisionHelper,
|
|
1630
|
+
overrides || {}
|
|
1631
|
+
);
|
|
1632
|
+
}
|
|
1633
|
+
attach(address: string): TradingBotBase {
|
|
1634
|
+
return super.attach(address) as TradingBotBase;
|
|
1635
|
+
}
|
|
1636
|
+
connect(signer: Signer): TradingBotBase__factory {
|
|
1637
|
+
return super.connect(signer) as TradingBotBase__factory;
|
|
1638
|
+
}
|
|
1639
|
+
static readonly contractName: "TradingBotBase";
|
|
1640
|
+
public readonly contractName: "TradingBotBase";
|
|
1641
|
+
static readonly bytecode = _bytecode;
|
|
1642
|
+
static readonly abi = _abi;
|
|
1643
|
+
static createInterface(): TradingBotBaseInterface {
|
|
1644
|
+
return new utils.Interface(_abi) as TradingBotBaseInterface;
|
|
1645
|
+
}
|
|
1646
|
+
static connect(
|
|
1647
|
+
address: string,
|
|
1648
|
+
signerOrProvider: Signer | Provider
|
|
1649
|
+
): TradingBotBase {
|
|
1650
|
+
return new Contract(address, _abi, signerOrProvider) as TradingBotBase;
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
export interface TradingBotBaseLibraryAddresses {
|
|
1655
|
+
["contracts/core/TradingBot/libraries/TvlLib.sol:TvlLib"]: string;
|
|
1656
|
+
}
|