@pendle/core-v2 4.2.1 → 4.2.3
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/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/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/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/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- 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/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/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.dbg.json +4 -0
- package/build/artifacts/contracts/core/Market/{PendleMarket.sol → v1/PendleMarket.sol}/PendleMarket.json +3 -3
- package/build/artifacts/contracts/core/Market/v1/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +4 -0
- package/build/artifacts/contracts/core/Market/{PendleMarketFactory.sol → v1/PendleMarketFactory.sol}/PendleMarketFactory.json +3 -3
- package/build/artifacts/contracts/core/Market/v2/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.dbg.json +4 -0
- package/build/artifacts/contracts/core/Market/{PendleExternalRewardDistributor.sol → v2/PendleExternalRewardDistributor.sol}/PendleExternalRewardDistributor.json +3 -3
- 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/PendleMarketV2.sol/PendleMarketV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/PendleLinearDistributor.sol/PendleLinearDistributor.dbg.json +1 -1
- 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/SYBaseUpg.sol/SYBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewardsUpg.sol/SYBaseWithRewardsUpg.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/StEthNativeLib.sol/StETHNativeLib.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/StEthNativeLib.sol/StETHNativeLib.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3SY.sol/PendleAaveV3SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/libraries/AaveAdapterLib.sol/AaveAdapterLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/libraries/WadRayMath.sol/WadRayMath.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/AuraSwEthBbAWethSYV2.sol/AuraSwEthBbAWethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraWethVethSYUpg.sol/AuraWethVethSYUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraWethVethSYUpg.sol/AuraWethVethSYUpg.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.dbg.json +1 -1
- 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/ComposableStablePreviewV5.sol/ComposableStablePreviewV5.dbg.json +1 -1
- 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/PendleAuraBalancerStableLPSYV3Upg.sol/PendleAuraBalancerStableLPSYV3Upg.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/BedRock/PendleUniETHSY.sol/PendleUniETHSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BedRock/PendleUniETHSY.sol/PendleUniETHSY.json +1034 -0
- 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/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/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkRelayer.sol/PendleChainlinkRelayer.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
- 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/Ethena/PendleSUSDESY.sol/PendleSUSDESY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol/PendleSUSDESY.json +62 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDESY.sol/PendleUSDESY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthSY.sol/PendleWEEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/FluxTokenLib.sol/FluxTokenLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/PendleFluxLendingSY.sol/PendleFluxLendingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/GMTokenPricingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/IGMXV2DataStore.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/IGMXV2Oracle.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/IGMXV2Reader.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGMV2TokenSY.sol/PendleGMV2TokenSY.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/HMX/HLPPricingHelper.sol/HLPPricingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/PendleHlpSY.sol/PendleHlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/KelpDAO/PendleRsETHSY.sol/PendleRsETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/KelpDAO/PendleRsETHSY.sol/PendleRsETHSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/KyberMathHelper.sol/KyberMathHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/KyberNftManagerBaseUpg.sol/KyberNftManagerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/PendleKyberElasticSYUpg.sol/PendleKyberElasticSYUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/PendleKyberElasticSYUpg.sol/PendleKyberElasticSYUpg.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/FullMath.sol/FullMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/LiqDeltaMath.sol/LiqDeltaMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/LiquidityMath.sol/LiquidityMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/MathConstants.sol/MathConstants.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/QtyDeltaMath.sol/QtyDeltaMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/QuadMath.sol/QuadMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/ReinvestmentMath.sol/ReinvestmentMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/SafeCast.sol/SafeCast.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/SwapMath.sol/SwapMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/TickMath.sol/TickMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MUX/MlpPricingHelper.sol/MlpPricingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MUX/PendleMlpSY.sol/PendleMlpSY.dbg.json +1 -1
- 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 +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20SY.sol/PendleERC20SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSY.sol/PendleERC4626SYUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSY.sol/PendleERC4626SYUpg.json +1000 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleEUSDSY.sol/PendleEUSDSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleL2LRTSY.sol/PendleL2LRTSY.dbg.json +1 -1
- 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/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
- 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/Puffer/PendlePufStETHSY.sol/PendlePufStETHSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufStETHSY.sol/PendlePufStETHSY.json +1014 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufWETHSY.sol/PendlePufWETHSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufWETHSY.sol/PendlePufWETHSY.json +1014 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHL2SY.sol/PendleEzETHL2SY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHL2SY.sol/PendleEzETHL2SY.json +1114 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHSY.sol/PendleEzETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleRenzoPreviewHelper.sol/PendleRenzoPreviewHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleRenzoPreviewHelper.sol/PendleRenzoPreviewHelper.json +347 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveSY.sol/PendleSiloWithIncentiveSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Stader/PendleETHXSY.sol/PendleETHXSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleRswETHSY.sol/PendleRswETHSY.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 +4 -4
- 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/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.json +2 -2
- 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/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- 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/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
- 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/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- 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/PMath.sol/PMath.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/AaveV3/IAaveV3AToken.sol/IAaveV3AToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/AaveV3/IAaveV3Pool.sol/IAaveV3Pool.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/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/Bedrock/IBedrockStaking.sol/IBedrockStaking.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Bedrock/IBedrockStaking.sol/IBedrockStaking.json +61 -0
- 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/Connext/IConnext.sol/IConnext.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Connext/IConnext.sol/IConnext.json +45 -0
- 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/EtherFi/IEtherFiLiquidityPool.sol/IEtherFiLiquidityPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/EtherFi/IEtherFiWEEth.sol/IEtherFiWEEth.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Flux/IFluxErc20.sol/IFluxErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Flux/IFluxInterestRateModel.sol/IFluxInterestRateModel.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Frax/IFrxEthMinter.sol/IFrxEthMinter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IGMXPriceHelper.sol/IGMXPriceHelper.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/HMX/IHLPStaking.sol/IHLPStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/HMX/IHMXCalculator.sol/IHMXCalculator.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/HMX/IHMXCompounder.sol/IHMXCompounder.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/HMX/IHMXStaking.sol/IHMXStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/HMX/IHMXVester.sol/IHMXVester.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/IDailLikePermit.sol/IDaiLikePermit.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/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/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.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/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.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/IPExchangeRateOracle.sol/IPExchangeRateOracle.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/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLinearDistributor.sol/IPLinearDistributor.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/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.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/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPreviewHelper.sol/IPPreviewHelper.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPendlePreviewHelper.sol/IPendlePreviewHelper.json → IPPreviewHelper.sol/IPPreviewHelper.json} +2 -2
- package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.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/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/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.json +148 -0
- 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/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/KelpDAO/IKelpDepositPool.sol/IKelpDepositPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/KelpDAO/IKelpLRTConfig.sol/IKelpLRTConfig.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Kyber/IKyberElasticFactory.sol/IKyberElasticFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Kyber/IKyberElasticPool.sol/IKyberElasticPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Kyber/IKyberElasticRouter.sol/IKyberElasticRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Kyber/IKyberLiquidityMining.sol/IKyberLiquidityMining.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Kyber/IKyberMathHelper.sol/IKyberMathHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Kyber/IKyberPositionManager.sol/IKyberPositionManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Lybra/IEUSD.sol/IEUSD.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/MUX/IMUXRewardRouter.sol/IMUXRewardRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Renzo/IRenzoDepositL2.sol/IRenzoDepositL2.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Renzo/IRenzoDepositL2.sol/IRenzoDepositL2.json +105 -0
- package/build/artifacts/contracts/interfaces/Renzo/IRenzoOracle.sol/IRenzoOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Renzo/IRenzoRestakeManager.sol/IRenzoRestakeManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Silo/ISilo.sol/ISilo.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Silo/ISiloIncentiveController.sol/ISiloIncentiveController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Silo/ISiloLens.sol/ISiloLens.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Stader/IStaderStakeManager.sol/IStaderStakeManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Swell/IRswETH.sol/IRswETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Swell/ISwETH.sol/ISwETH.dbg.json +1 -1
- 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/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.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 +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
- 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/LimitBackendHelper.sol/LimitBackendHelper.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/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.json +12 -2
- 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/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json +15 -2
- package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/RouterV2InterfaceForRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.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/PendleSwapBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL1.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL1.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL2.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutorOptimistic.sol/IAggregationExecutorOptimistic.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol/IExecutorHelper.json +240 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol/IExecutorHelperL2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol/IExecutorHelperL2.json +108 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol/InputScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol/InputScalingHelper.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol/ScalingDataLib.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/BytesHelper.sol/BytesHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol/CalldataReader.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol/CalldataWriter.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol/CalldataWriter.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol/Common.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol/DexScaler.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol/DexScaler.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol/ExecutorReader.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol/ScalingDataL2Lib.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol/ScalingDataL2Lib.json +2 -2
- 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/Market/{PendleMarket.sol → v1/PendleMarket.sol} +6 -6
- package/contracts/core/Market/{PendleMarketFactory.sol → v1/PendleMarketFactory.sol} +6 -6
- package/contracts/core/Market/{PendleExternalRewardDistributor.sol → v2/PendleExternalRewardDistributor.sol} +7 -7
- package/contracts/core/StandardizedYield/SYBaseUpg.sol +1 -0
- package/contracts/core/StandardizedYield/StEthNativeLib.sol +15 -0
- package/contracts/core/StandardizedYield/implementations/BedRock/PendleUniETHSY.sol +86 -0
- package/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol +59 -1
- package/contracts/core/StandardizedYield/implementations/KelpDAO/PendleRsETHSY.sol +1 -1
- package/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol +1 -1
- package/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSY.sol +85 -0
- package/contracts/core/StandardizedYield/implementations/Puffer/PendlePufStETHSY.sol +90 -0
- package/contracts/core/StandardizedYield/implementations/Puffer/PendlePufWETHSY.sol +86 -0
- package/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHL2SY.sol +110 -0
- package/contracts/core/StandardizedYield/implementations/Renzo/PendleRenzoPreviewHelper.sol +69 -0
- package/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol +3 -3
- package/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol +2 -2
- package/contracts/interfaces/Bedrock/IBedrockStaking.sol +10 -0
- package/contracts/interfaces/Connext/IConnext.sol +12 -0
- package/contracts/interfaces/{IPendlePreviewHelper.sol → IPPreviewHelper.sol} +1 -1
- package/contracts/interfaces/IRedstonePriceFeed.sol +15 -0
- package/contracts/interfaces/Renzo/IRenzoDepositL2.sol +16 -0
- package/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol +2 -0
- package/contracts/oracles/PendleRedStoneRateOracleAdapter.sol +5 -3
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol +62 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol +27 -0
- package/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol +20 -0
- package/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol +74 -0
- package/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol +14 -0
- package/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol +12 -3
- package/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol +8 -0
- package/deployments/1-core.json +1 -1
- package/deployments/1-markets/PUFETH-JUNE2024.json +11 -0
- package/deployments/1-markets/SUSDE-APR2024.json +11 -0
- package/deployments/1-markets/UNIETH-JUNE2024.json +11 -0
- package/deployments/1-markets/USDE-APR2024-NEW.json +11 -0
- package/deployments/10-core.json +1 -1
- package/deployments/42161-core.json +1 -1
- package/deployments/42161-markets/EZETH-JUNE2024.json +11 -0
- package/deployments/42161-markets/SILO-PTEETH-ETH-DEC2024.json +11 -0
- package/deployments/56-core.json +1 -1
- package/deployments/merkle-distribution/2024-02-29.json +12125 -0
- package/package.json +1 -1
- package/typechain-types/ActionInfoStaticLe1.ts +310 -0
- package/typechain-types/ActionMarketAuxStaticLe1.ts +503 -0
- package/typechain-types/ActionMarketCoreStaticLe1.ts +1951 -0
- package/typechain-types/ActionMintRedeemStaticLe1.ts +527 -0
- package/typechain-types/ActionStorageStaticLe1.ts +405 -0
- package/typechain-types/{IEigenpieStaking.ts → ActionVePendleStaticLe1.ts} +36 -43
- package/typechain-types/{IPMorphoVaultSY.ts → IConnext.ts} +41 -38
- package/typechain-types/IExecutorHelper.ts +390 -0
- package/typechain-types/IExecutorHelperL2.ts +130 -0
- package/typechain-types/ILimitOrderCallee.ts +179 -0
- package/typechain-types/IPActionInfoStaticLe1.ts +310 -0
- package/typechain-types/IPActionMarketAuxStaticLe1.ts +503 -0
- package/typechain-types/IPActionMarketCoreStaticLe1.ts +1951 -0
- package/typechain-types/IPActionMintRedeemStaticLe1.ts +527 -0
- package/typechain-types/{ChainlinkRelayerAutomation.ts → IPActionStorageStaticLe1.ts} +125 -102
- package/typechain-types/IPActionVePendleStaticLe1.ts +113 -0
- package/typechain-types/{AutomationCompatible.ts → IPMiniDiamondLe1.ts} +48 -41
- package/typechain-types/IPOrderMixin.ts +349 -0
- package/typechain-types/IPPreviewHelper.ts +147 -0
- package/typechain-types/IPRouterStaticLe1.ts +3462 -0
- package/typechain-types/IRenzoDepositL2.ts +191 -0
- package/typechain-types/{PendleStUSDESY.ts → PendleERC4626SYUpg.ts} +5 -5
- package/typechain-types/{PendleEigenpieMstETHSY.ts → PendleEzETHL2SY.ts} +138 -64
- package/typechain-types/PendleOrderMixin.ts +888 -0
- package/typechain-types/{PendleMorphoVaultSY.ts → PendlePufStETHSY.ts} +56 -68
- package/typechain-types/{PendleApxETHSY.ts → PendlePufWETHSY.ts} +64 -58
- package/typechain-types/PendleRedStoneRateOracleAdapter.ts +19 -0
- package/typechain-types/{AlgebraMathHelper.ts → PendleRenzoPreviewHelper.ts} +156 -71
- package/typechain-types/{LongYieldActionLib.ts → PendleRouterStaticLe1.ts} +5 -5
- package/typechain-types/PendleSUSDESY.ts +62 -0
- package/typechain-types/factories/ActionInfoStaticLe1__factory.ts +360 -0
- package/typechain-types/factories/ActionMarketAuxStaticLe1__factory.ts +466 -0
- package/typechain-types/factories/ActionMarketCoreStaticLe1__factory.ts +1454 -0
- package/typechain-types/factories/ActionMintRedeemStaticLe1__factory.ts +405 -0
- package/typechain-types/factories/ActionStorageStaticLe1__factory.ts +285 -0
- package/typechain-types/factories/ActionVePendleStaticLe1__factory.ts +155 -0
- package/typechain-types/factories/AuraWethVethSYUpg__factory.ts +1 -1
- package/typechain-types/factories/ChainlinkRelayerGelato__factory.ts +1 -1
- package/typechain-types/factories/IConnext__factory.ts +57 -0
- package/typechain-types/factories/IExecutorHelperL2__factory.ts +108 -0
- package/typechain-types/factories/IExecutorHelper__factory.ts +240 -0
- package/typechain-types/factories/ILimitOrderCallee__factory.ts +92 -0
- package/typechain-types/factories/IPActionInfoStaticLe1__factory.ts +326 -0
- package/typechain-types/factories/IPActionMarketAuxStaticLe1__factory.ts +364 -0
- package/typechain-types/factories/IPActionMarketCoreStaticLe1__factory.ts +1279 -0
- package/typechain-types/factories/IPActionMintRedeemStaticLe1__factory.ts +330 -0
- package/typechain-types/factories/IPActionStorageStaticLe1__factory.ts +203 -0
- package/typechain-types/factories/IPActionVePendleStaticLe1__factory.ts +59 -0
- package/typechain-types/factories/IPMiniDiamondLe1__factory.ts +70 -0
- package/typechain-types/factories/IPOrderMixin__factory.ts +450 -0
- package/typechain-types/factories/{IStellaLendingProxy__factory.ts → IPPreviewHelper__factory.ts} +18 -18
- package/typechain-types/factories/IPRouterStaticLe1__factory.ts +2451 -0
- package/typechain-types/factories/{IPirexETH__factory.ts → IRenzoDepositL2__factory.ts} +45 -51
- package/typechain-types/factories/PendleAuraWethVethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleERC4626SYUpg__factory.ts +1058 -0
- package/typechain-types/factories/PendleERC4626SY__factory.ts +1 -1
- package/typechain-types/factories/PendleExternalRewardDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleEzETHL2SY__factory.ts +1191 -0
- package/typechain-types/factories/PendleKyberElasticSYUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleOrderMixin__factory.ts +794 -0
- package/typechain-types/factories/PendlePufStETHSY__factory.ts +1069 -0
- package/typechain-types/factories/PendlePufWETHSY__factory.ts +1069 -0
- package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +14 -1
- package/typechain-types/factories/PendleRenzoPreviewHelper__factory.ts +431 -0
- package/typechain-types/factories/PendleRouterStaticLe1__factory.ts +92 -0
- package/typechain-types/factories/PendleRsETHSY__factory.ts +1 -1
- package/typechain-types/factories/PendleSUSDESY__factory.ts +81 -4
- package/typechain-types/factories/PendleSwapL1__factory.ts +1 -1
- package/typechain-types/factories/PendleSwapL2__factory.ts +1 -1
- package/typechain-types/factories/PendleSwap__factory.ts +1 -1
- package/typechain-types/factories/PendleThenaSY__factory.ts +3 -3
- package/typechain-types/factories/PtAndLpToAsset__factory.ts +1 -1
- package/typechain-types/factories/SDKErrorsDirectory__factory.ts +11 -1
- package/typechain-types/factories/ThenaPreview__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +108 -63
- package/typechain-types/index.ts +26 -14
- package/build/artifacts/contracts/core/Market/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.dbg.json +0 -4
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +0 -4
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.dbg.json +0 -4
- package/deployments/core.ts +0 -29
- package/deployments/index.ts +0 -4
- package/deployments/markets/ape-june-29-2023.ts +0 -3
- package/deployments/markets/balancer-reth-dec-28-2023.ts +0 -3
- package/deployments/markets/balancer-wsteth-jun-27-2024.ts +0 -3
- package/deployments/markets/curve-fraxusdc-march-30-2023.ts +0 -3
- package/deployments/markets/index.ts +0 -17
- package/deployments/markets/looks-march-30-2023.ts +0 -3
- package/deployments/markets/steth-june-29-2023.ts +0 -3
- package/deployments/markets/steth-march-30-2023.ts +0 -3
- package/deployments/markets/types.ts +0 -9
- package/deployments/misc.ts +0 -23
- package/typechain-types/AutomationBase.ts +0 -57
- package/typechain-types/AutomationCompatibleInterface.ts +0 -141
- package/typechain-types/BotDecisionHelperBase.ts +0 -508
- package/typechain-types/IAlgebraPool.ts +0 -171
- package/typechain-types/IBotDecisionHelper.ts +0 -476
- package/typechain-types/IEigenpieLRT.ts +0 -106
- package/typechain-types/IHashflow.ts +0 -159
- package/typechain-types/IInterestUSTP.ts +0 -156
- package/typechain-types/ILongYieldDecisionHelper.ts +0 -512
- package/typechain-types/ILongYieldTradingBot.ts +0 -703
- package/typechain-types/IPMorphoRewardDistributor.ts +0 -218
- package/typechain-types/IPPausingInterface.ts +0 -112
- package/typechain-types/IPVirtualGovernance.ts +0 -142
- package/typechain-types/IPWrappedStellaToken.ts +0 -135
- package/typechain-types/IPirexETH.ts +0 -202
- package/typechain-types/IRebasingUSTP.ts +0 -133
- package/typechain-types/IShortYieldDecisionHelper.ts +0 -476
- package/typechain-types/IShortYieldTradingBot.ts +0 -574
- package/typechain-types/IStellaLendingPool.ts +0 -100
- package/typechain-types/IStellaLendingProxy.ts +0 -144
- package/typechain-types/ITradingBotBase.ts +0 -373
- package/typechain-types/IUSTP.ts +0 -127
- package/typechain-types/IVectorStakedVETH.ts +0 -137
- package/typechain-types/KyberNftManagerBase.ts +0 -364
- package/typechain-types/LongYieldDecisionHelper.ts +0 -682
- package/typechain-types/LongYieldTradingBot.ts +0 -2299
- package/typechain-types/MarketExtLib.ts +0 -81
- package/typechain-types/PendleEigenpieLRTSY.ts +0 -1326
- package/typechain-types/PendleGaugeControllerSidechain2MF.ts +0 -690
- package/typechain-types/PendleHyperStellaETH.ts +0 -1248
- package/typechain-types/PendleIUSTPSY.ts +0 -1255
- package/typechain-types/PendleKyberElasticSY.ts +0 -1803
- package/typechain-types/PendleMorphoRewardDistributor.ts +0 -579
- package/typechain-types/PendleStellaHyperETH.ts +0 -1235
- package/typechain-types/PendleVectorStakedVETHSY.ts +0 -1290
- package/typechain-types/PendleVirtualGovernance.ts +0 -603
- package/typechain-types/PendleWrappedStellaToken.ts +0 -577
- package/typechain-types/SYBaseWithDecimals.ts +0 -1205
- package/typechain-types/TradingBotBase.ts +0 -1861
- package/typechain-types/TvlLib.ts +0 -215
- package/typechain-types/factories/AlgebraMathHelper__factory.ts +0 -316
- package/typechain-types/factories/AutomationBase__factory.ts +0 -69
- package/typechain-types/factories/AutomationCompatibleInterface__factory.ts +0 -67
- package/typechain-types/factories/AutomationCompatible__factory.ts +0 -72
- package/typechain-types/factories/BotDecisionHelperBase__factory.ts +0 -835
- package/typechain-types/factories/ChainlinkRelayerAutomation__factory.ts +0 -238
- package/typechain-types/factories/IAlgebraPool__factory.ts +0 -119
- package/typechain-types/factories/IBotDecisionHelper__factory.ts +0 -694
- package/typechain-types/factories/IEigenpieLRT__factory.ts +0 -49
- package/typechain-types/factories/IEigenpieStaking__factory.ts +0 -54
- package/typechain-types/factories/IHashflow__factory.ts +0 -113
- package/typechain-types/factories/IInterestUSTP__factory.ts +0 -75
- package/typechain-types/factories/ILongYieldDecisionHelper__factory.ts +0 -717
- package/typechain-types/factories/ILongYieldTradingBot__factory.ts +0 -764
- package/typechain-types/factories/IPMorphoRewardDistributor__factory.ts +0 -159
- package/typechain-types/factories/IPMorphoVaultSY__factory.ts +0 -49
- package/typechain-types/factories/IPPausingInterface__factory.ts +0 -40
- package/typechain-types/factories/IPVirtualGovernance__factory.ts +0 -69
- package/typechain-types/factories/IPWrappedStellaToken__factory.ts +0 -73
- package/typechain-types/factories/IRebasingUSTP__factory.ts +0 -49
- package/typechain-types/factories/IShortYieldDecisionHelper__factory.ts +0 -698
- package/typechain-types/factories/IShortYieldTradingBot__factory.ts +0 -813
- package/typechain-types/factories/IStellaLendingPool__factory.ts +0 -52
- package/typechain-types/factories/ITradingBotBase__factory.ts +0 -366
- package/typechain-types/factories/IUSTP__factory.ts +0 -46
- package/typechain-types/factories/IVectorStakedVETH__factory.ts +0 -65
- package/typechain-types/factories/KyberNftManagerBase__factory.ts +0 -279
- package/typechain-types/factories/LongYieldActionLib__factory.ts +0 -207
- package/typechain-types/factories/LongYieldDecisionHelper__factory.ts +0 -1481
- package/typechain-types/factories/LongYieldTradingBot__factory.ts +0 -2159
- package/typechain-types/factories/MarketExtLib__factory.ts +0 -74
- package/typechain-types/factories/PendleApxETHSY__factory.ts +0 -1110
- package/typechain-types/factories/PendleEigenpieLRTSY__factory.ts +0 -1059
- package/typechain-types/factories/PendleEigenpieMstETHSY__factory.ts +0 -1125
- package/typechain-types/factories/PendleGaugeControllerSidechain2MF__factory.ts +0 -547
- package/typechain-types/factories/PendleHyperStellaETH__factory.ts +0 -1060
- package/typechain-types/factories/PendleIUSTPSY__factory.ts +0 -1061
- package/typechain-types/factories/PendleKyberElasticSY__factory.ts +0 -1505
- package/typechain-types/factories/PendleMorphoRewardDistributor__factory.ts +0 -441
- package/typechain-types/factories/PendleMorphoVaultSY__factory.ts +0 -1140
- package/typechain-types/factories/PendleStUSDESY__factory.ts +0 -1071
- package/typechain-types/factories/PendleStellaHyperETH__factory.ts +0 -1034
- package/typechain-types/factories/PendleVectorStakedVETHSY__factory.ts +0 -1091
- package/typechain-types/factories/PendleVirtualGovernance__factory.ts +0 -452
- package/typechain-types/factories/PendleWrappedStellaToken__factory.ts +0 -522
- package/typechain-types/factories/SYBaseWithDecimals__factory.ts +0 -942
- package/typechain-types/factories/TradingBotBase__factory.ts +0 -1663
- package/typechain-types/factories/TvlLib__factory.ts +0 -309
|
@@ -1,1663 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
-
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
-
import type {
|
|
7
|
-
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
|
-
name: "initialize",
|
|
829
|
-
outputs: [],
|
|
830
|
-
stateMutability: "nonpayable",
|
|
831
|
-
type: "function",
|
|
832
|
-
},
|
|
833
|
-
{
|
|
834
|
-
inputs: [
|
|
835
|
-
{
|
|
836
|
-
internalType: "address",
|
|
837
|
-
name: "token",
|
|
838
|
-
type: "address",
|
|
839
|
-
},
|
|
840
|
-
],
|
|
841
|
-
name: "isValidTokenIn",
|
|
842
|
-
outputs: [
|
|
843
|
-
{
|
|
844
|
-
internalType: "bool",
|
|
845
|
-
name: "",
|
|
846
|
-
type: "bool",
|
|
847
|
-
},
|
|
848
|
-
],
|
|
849
|
-
stateMutability: "view",
|
|
850
|
-
type: "function",
|
|
851
|
-
},
|
|
852
|
-
{
|
|
853
|
-
inputs: [
|
|
854
|
-
{
|
|
855
|
-
internalType: "address",
|
|
856
|
-
name: "token",
|
|
857
|
-
type: "address",
|
|
858
|
-
},
|
|
859
|
-
],
|
|
860
|
-
name: "isValidTokenOut",
|
|
861
|
-
outputs: [
|
|
862
|
-
{
|
|
863
|
-
internalType: "bool",
|
|
864
|
-
name: "",
|
|
865
|
-
type: "bool",
|
|
866
|
-
},
|
|
867
|
-
],
|
|
868
|
-
stateMutability: "view",
|
|
869
|
-
type: "function",
|
|
870
|
-
},
|
|
871
|
-
{
|
|
872
|
-
inputs: [],
|
|
873
|
-
name: "lastRewardBlock",
|
|
874
|
-
outputs: [
|
|
875
|
-
{
|
|
876
|
-
internalType: "uint256",
|
|
877
|
-
name: "",
|
|
878
|
-
type: "uint256",
|
|
879
|
-
},
|
|
880
|
-
],
|
|
881
|
-
stateMutability: "view",
|
|
882
|
-
type: "function",
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
inputs: [],
|
|
886
|
-
name: "market",
|
|
887
|
-
outputs: [
|
|
888
|
-
{
|
|
889
|
-
internalType: "address",
|
|
890
|
-
name: "",
|
|
891
|
-
type: "address",
|
|
892
|
-
},
|
|
893
|
-
],
|
|
894
|
-
stateMutability: "view",
|
|
895
|
-
type: "function",
|
|
896
|
-
},
|
|
897
|
-
{
|
|
898
|
-
inputs: [],
|
|
899
|
-
name: "name",
|
|
900
|
-
outputs: [
|
|
901
|
-
{
|
|
902
|
-
internalType: "string",
|
|
903
|
-
name: "",
|
|
904
|
-
type: "string",
|
|
905
|
-
},
|
|
906
|
-
],
|
|
907
|
-
stateMutability: "view",
|
|
908
|
-
type: "function",
|
|
909
|
-
},
|
|
910
|
-
{
|
|
911
|
-
inputs: [
|
|
912
|
-
{
|
|
913
|
-
internalType: "address",
|
|
914
|
-
name: "owner",
|
|
915
|
-
type: "address",
|
|
916
|
-
},
|
|
917
|
-
],
|
|
918
|
-
name: "nonces",
|
|
919
|
-
outputs: [
|
|
920
|
-
{
|
|
921
|
-
internalType: "uint256",
|
|
922
|
-
name: "",
|
|
923
|
-
type: "uint256",
|
|
924
|
-
},
|
|
925
|
-
],
|
|
926
|
-
stateMutability: "view",
|
|
927
|
-
type: "function",
|
|
928
|
-
},
|
|
929
|
-
{
|
|
930
|
-
inputs: [],
|
|
931
|
-
name: "owner",
|
|
932
|
-
outputs: [
|
|
933
|
-
{
|
|
934
|
-
internalType: "address",
|
|
935
|
-
name: "",
|
|
936
|
-
type: "address",
|
|
937
|
-
},
|
|
938
|
-
],
|
|
939
|
-
stateMutability: "view",
|
|
940
|
-
type: "function",
|
|
941
|
-
},
|
|
942
|
-
{
|
|
943
|
-
inputs: [],
|
|
944
|
-
name: "pause",
|
|
945
|
-
outputs: [],
|
|
946
|
-
stateMutability: "nonpayable",
|
|
947
|
-
type: "function",
|
|
948
|
-
},
|
|
949
|
-
{
|
|
950
|
-
inputs: [],
|
|
951
|
-
name: "paused",
|
|
952
|
-
outputs: [
|
|
953
|
-
{
|
|
954
|
-
internalType: "bool",
|
|
955
|
-
name: "",
|
|
956
|
-
type: "bool",
|
|
957
|
-
},
|
|
958
|
-
],
|
|
959
|
-
stateMutability: "view",
|
|
960
|
-
type: "function",
|
|
961
|
-
},
|
|
962
|
-
{
|
|
963
|
-
inputs: [],
|
|
964
|
-
name: "pendingOwner",
|
|
965
|
-
outputs: [
|
|
966
|
-
{
|
|
967
|
-
internalType: "address",
|
|
968
|
-
name: "",
|
|
969
|
-
type: "address",
|
|
970
|
-
},
|
|
971
|
-
],
|
|
972
|
-
stateMutability: "view",
|
|
973
|
-
type: "function",
|
|
974
|
-
},
|
|
975
|
-
{
|
|
976
|
-
inputs: [
|
|
977
|
-
{
|
|
978
|
-
internalType: "address",
|
|
979
|
-
name: "owner",
|
|
980
|
-
type: "address",
|
|
981
|
-
},
|
|
982
|
-
{
|
|
983
|
-
internalType: "address",
|
|
984
|
-
name: "spender",
|
|
985
|
-
type: "address",
|
|
986
|
-
},
|
|
987
|
-
{
|
|
988
|
-
internalType: "uint256",
|
|
989
|
-
name: "value",
|
|
990
|
-
type: "uint256",
|
|
991
|
-
},
|
|
992
|
-
{
|
|
993
|
-
internalType: "uint256",
|
|
994
|
-
name: "deadline",
|
|
995
|
-
type: "uint256",
|
|
996
|
-
},
|
|
997
|
-
{
|
|
998
|
-
internalType: "uint8",
|
|
999
|
-
name: "v",
|
|
1000
|
-
type: "uint8",
|
|
1001
|
-
},
|
|
1002
|
-
{
|
|
1003
|
-
internalType: "bytes32",
|
|
1004
|
-
name: "r",
|
|
1005
|
-
type: "bytes32",
|
|
1006
|
-
},
|
|
1007
|
-
{
|
|
1008
|
-
internalType: "bytes32",
|
|
1009
|
-
name: "s",
|
|
1010
|
-
type: "bytes32",
|
|
1011
|
-
},
|
|
1012
|
-
],
|
|
1013
|
-
name: "permit",
|
|
1014
|
-
outputs: [],
|
|
1015
|
-
stateMutability: "nonpayable",
|
|
1016
|
-
type: "function",
|
|
1017
|
-
},
|
|
1018
|
-
{
|
|
1019
|
-
inputs: [
|
|
1020
|
-
{
|
|
1021
|
-
internalType: "address",
|
|
1022
|
-
name: "tokenIn",
|
|
1023
|
-
type: "address",
|
|
1024
|
-
},
|
|
1025
|
-
{
|
|
1026
|
-
internalType: "uint256",
|
|
1027
|
-
name: "amountTokenToDeposit",
|
|
1028
|
-
type: "uint256",
|
|
1029
|
-
},
|
|
1030
|
-
],
|
|
1031
|
-
name: "previewDeposit",
|
|
1032
|
-
outputs: [
|
|
1033
|
-
{
|
|
1034
|
-
internalType: "uint256",
|
|
1035
|
-
name: "amountSharesOut",
|
|
1036
|
-
type: "uint256",
|
|
1037
|
-
},
|
|
1038
|
-
],
|
|
1039
|
-
stateMutability: "view",
|
|
1040
|
-
type: "function",
|
|
1041
|
-
},
|
|
1042
|
-
{
|
|
1043
|
-
inputs: [
|
|
1044
|
-
{
|
|
1045
|
-
internalType: "address",
|
|
1046
|
-
name: "tokenOut",
|
|
1047
|
-
type: "address",
|
|
1048
|
-
},
|
|
1049
|
-
{
|
|
1050
|
-
internalType: "uint256",
|
|
1051
|
-
name: "amountSharesToRedeem",
|
|
1052
|
-
type: "uint256",
|
|
1053
|
-
},
|
|
1054
|
-
],
|
|
1055
|
-
name: "previewRedeem",
|
|
1056
|
-
outputs: [
|
|
1057
|
-
{
|
|
1058
|
-
internalType: "uint256",
|
|
1059
|
-
name: "amountTokenOut",
|
|
1060
|
-
type: "uint256",
|
|
1061
|
-
},
|
|
1062
|
-
],
|
|
1063
|
-
stateMutability: "view",
|
|
1064
|
-
type: "function",
|
|
1065
|
-
},
|
|
1066
|
-
{
|
|
1067
|
-
inputs: [],
|
|
1068
|
-
name: "readStrategyData",
|
|
1069
|
-
outputs: [
|
|
1070
|
-
{
|
|
1071
|
-
components: [
|
|
1072
|
-
{
|
|
1073
|
-
components: [
|
|
1074
|
-
{
|
|
1075
|
-
internalType: "uint256",
|
|
1076
|
-
name: "lpBalance",
|
|
1077
|
-
type: "uint256",
|
|
1078
|
-
},
|
|
1079
|
-
{
|
|
1080
|
-
internalType: "uint256",
|
|
1081
|
-
name: "ytBalance",
|
|
1082
|
-
type: "uint256",
|
|
1083
|
-
},
|
|
1084
|
-
{
|
|
1085
|
-
internalType: "uint256",
|
|
1086
|
-
name: "ptBalance",
|
|
1087
|
-
type: "uint256",
|
|
1088
|
-
},
|
|
1089
|
-
{
|
|
1090
|
-
internalType: "uint256",
|
|
1091
|
-
name: "syBalance",
|
|
1092
|
-
type: "uint256",
|
|
1093
|
-
},
|
|
1094
|
-
{
|
|
1095
|
-
internalType: "uint256",
|
|
1096
|
-
name: "buyBins",
|
|
1097
|
-
type: "uint256",
|
|
1098
|
-
},
|
|
1099
|
-
],
|
|
1100
|
-
internalType: "struct BotState",
|
|
1101
|
-
name: "botState",
|
|
1102
|
-
type: "tuple",
|
|
1103
|
-
},
|
|
1104
|
-
{
|
|
1105
|
-
components: [
|
|
1106
|
-
{
|
|
1107
|
-
components: [
|
|
1108
|
-
{
|
|
1109
|
-
internalType: "int256",
|
|
1110
|
-
name: "totalPt",
|
|
1111
|
-
type: "int256",
|
|
1112
|
-
},
|
|
1113
|
-
{
|
|
1114
|
-
internalType: "int256",
|
|
1115
|
-
name: "totalSy",
|
|
1116
|
-
type: "int256",
|
|
1117
|
-
},
|
|
1118
|
-
{
|
|
1119
|
-
internalType: "int256",
|
|
1120
|
-
name: "totalLp",
|
|
1121
|
-
type: "int256",
|
|
1122
|
-
},
|
|
1123
|
-
{
|
|
1124
|
-
internalType: "address",
|
|
1125
|
-
name: "treasury",
|
|
1126
|
-
type: "address",
|
|
1127
|
-
},
|
|
1128
|
-
{
|
|
1129
|
-
internalType: "int256",
|
|
1130
|
-
name: "scalarRoot",
|
|
1131
|
-
type: "int256",
|
|
1132
|
-
},
|
|
1133
|
-
{
|
|
1134
|
-
internalType: "uint256",
|
|
1135
|
-
name: "expiry",
|
|
1136
|
-
type: "uint256",
|
|
1137
|
-
},
|
|
1138
|
-
{
|
|
1139
|
-
internalType: "uint256",
|
|
1140
|
-
name: "lnFeeRateRoot",
|
|
1141
|
-
type: "uint256",
|
|
1142
|
-
},
|
|
1143
|
-
{
|
|
1144
|
-
internalType: "uint256",
|
|
1145
|
-
name: "reserveFeePercent",
|
|
1146
|
-
type: "uint256",
|
|
1147
|
-
},
|
|
1148
|
-
{
|
|
1149
|
-
internalType: "uint256",
|
|
1150
|
-
name: "lastLnImpliedRate",
|
|
1151
|
-
type: "uint256",
|
|
1152
|
-
},
|
|
1153
|
-
],
|
|
1154
|
-
internalType: "struct MarketState",
|
|
1155
|
-
name: "state",
|
|
1156
|
-
type: "tuple",
|
|
1157
|
-
},
|
|
1158
|
-
{
|
|
1159
|
-
internalType: "PYIndex",
|
|
1160
|
-
name: "index",
|
|
1161
|
-
type: "uint256",
|
|
1162
|
-
},
|
|
1163
|
-
{
|
|
1164
|
-
internalType: "uint256",
|
|
1165
|
-
name: "blockTime",
|
|
1166
|
-
type: "uint256",
|
|
1167
|
-
},
|
|
1168
|
-
],
|
|
1169
|
-
internalType: "struct MarketExtState",
|
|
1170
|
-
name: "marketExt",
|
|
1171
|
-
type: "tuple",
|
|
1172
|
-
},
|
|
1173
|
-
{
|
|
1174
|
-
components: [
|
|
1175
|
-
{
|
|
1176
|
-
internalType: "uint256",
|
|
1177
|
-
name: "buyYtIy",
|
|
1178
|
-
type: "uint256",
|
|
1179
|
-
},
|
|
1180
|
-
{
|
|
1181
|
-
internalType: "uint256",
|
|
1182
|
-
name: "sellYtIy",
|
|
1183
|
-
type: "uint256",
|
|
1184
|
-
},
|
|
1185
|
-
{
|
|
1186
|
-
internalType: "uint256",
|
|
1187
|
-
name: "targetSyRatio",
|
|
1188
|
-
type: "uint256",
|
|
1189
|
-
},
|
|
1190
|
-
{
|
|
1191
|
-
internalType: "uint256",
|
|
1192
|
-
name: "bufferSyRatio",
|
|
1193
|
-
type: "uint256",
|
|
1194
|
-
},
|
|
1195
|
-
{
|
|
1196
|
-
internalType: "uint256",
|
|
1197
|
-
name: "minYtPtRatio",
|
|
1198
|
-
type: "uint256",
|
|
1199
|
-
},
|
|
1200
|
-
{
|
|
1201
|
-
internalType: "uint256",
|
|
1202
|
-
name: "numOfBins",
|
|
1203
|
-
type: "uint256",
|
|
1204
|
-
},
|
|
1205
|
-
],
|
|
1206
|
-
internalType: "struct TradingSpecs",
|
|
1207
|
-
name: "specs",
|
|
1208
|
-
type: "tuple",
|
|
1209
|
-
},
|
|
1210
|
-
],
|
|
1211
|
-
internalType: "struct StrategyData",
|
|
1212
|
-
name: "strategyData",
|
|
1213
|
-
type: "tuple",
|
|
1214
|
-
},
|
|
1215
|
-
],
|
|
1216
|
-
stateMutability: "view",
|
|
1217
|
-
type: "function",
|
|
1218
|
-
},
|
|
1219
|
-
{
|
|
1220
|
-
inputs: [
|
|
1221
|
-
{
|
|
1222
|
-
internalType: "address",
|
|
1223
|
-
name: "receiver",
|
|
1224
|
-
type: "address",
|
|
1225
|
-
},
|
|
1226
|
-
{
|
|
1227
|
-
internalType: "uint256",
|
|
1228
|
-
name: "amountSharesToRedeem",
|
|
1229
|
-
type: "uint256",
|
|
1230
|
-
},
|
|
1231
|
-
{
|
|
1232
|
-
internalType: "address",
|
|
1233
|
-
name: "tokenOut",
|
|
1234
|
-
type: "address",
|
|
1235
|
-
},
|
|
1236
|
-
{
|
|
1237
|
-
internalType: "uint256",
|
|
1238
|
-
name: "minTokenOut",
|
|
1239
|
-
type: "uint256",
|
|
1240
|
-
},
|
|
1241
|
-
{
|
|
1242
|
-
internalType: "bool",
|
|
1243
|
-
name: "burnFromInternalBalance",
|
|
1244
|
-
type: "bool",
|
|
1245
|
-
},
|
|
1246
|
-
],
|
|
1247
|
-
name: "redeem",
|
|
1248
|
-
outputs: [
|
|
1249
|
-
{
|
|
1250
|
-
internalType: "uint256",
|
|
1251
|
-
name: "amountTokenOut",
|
|
1252
|
-
type: "uint256",
|
|
1253
|
-
},
|
|
1254
|
-
],
|
|
1255
|
-
stateMutability: "nonpayable",
|
|
1256
|
-
type: "function",
|
|
1257
|
-
},
|
|
1258
|
-
{
|
|
1259
|
-
inputs: [],
|
|
1260
|
-
name: "rewardIndexesCurrent",
|
|
1261
|
-
outputs: [
|
|
1262
|
-
{
|
|
1263
|
-
internalType: "uint256[]",
|
|
1264
|
-
name: "indexes",
|
|
1265
|
-
type: "uint256[]",
|
|
1266
|
-
},
|
|
1267
|
-
],
|
|
1268
|
-
stateMutability: "nonpayable",
|
|
1269
|
-
type: "function",
|
|
1270
|
-
},
|
|
1271
|
-
{
|
|
1272
|
-
inputs: [],
|
|
1273
|
-
name: "rewardIndexesStored",
|
|
1274
|
-
outputs: [
|
|
1275
|
-
{
|
|
1276
|
-
internalType: "uint256[]",
|
|
1277
|
-
name: "indexes",
|
|
1278
|
-
type: "uint256[]",
|
|
1279
|
-
},
|
|
1280
|
-
],
|
|
1281
|
-
stateMutability: "view",
|
|
1282
|
-
type: "function",
|
|
1283
|
-
},
|
|
1284
|
-
{
|
|
1285
|
-
inputs: [
|
|
1286
|
-
{
|
|
1287
|
-
internalType: "address",
|
|
1288
|
-
name: "",
|
|
1289
|
-
type: "address",
|
|
1290
|
-
},
|
|
1291
|
-
],
|
|
1292
|
-
name: "rewardState",
|
|
1293
|
-
outputs: [
|
|
1294
|
-
{
|
|
1295
|
-
internalType: "uint128",
|
|
1296
|
-
name: "index",
|
|
1297
|
-
type: "uint128",
|
|
1298
|
-
},
|
|
1299
|
-
{
|
|
1300
|
-
internalType: "uint128",
|
|
1301
|
-
name: "lastBalance",
|
|
1302
|
-
type: "uint128",
|
|
1303
|
-
},
|
|
1304
|
-
],
|
|
1305
|
-
stateMutability: "view",
|
|
1306
|
-
type: "function",
|
|
1307
|
-
},
|
|
1308
|
-
{
|
|
1309
|
-
inputs: [],
|
|
1310
|
-
name: "router",
|
|
1311
|
-
outputs: [
|
|
1312
|
-
{
|
|
1313
|
-
internalType: "address",
|
|
1314
|
-
name: "",
|
|
1315
|
-
type: "address",
|
|
1316
|
-
},
|
|
1317
|
-
],
|
|
1318
|
-
stateMutability: "view",
|
|
1319
|
-
type: "function",
|
|
1320
|
-
},
|
|
1321
|
-
{
|
|
1322
|
-
inputs: [
|
|
1323
|
-
{
|
|
1324
|
-
components: [
|
|
1325
|
-
{
|
|
1326
|
-
internalType: "uint256",
|
|
1327
|
-
name: "buyYtIy",
|
|
1328
|
-
type: "uint256",
|
|
1329
|
-
},
|
|
1330
|
-
{
|
|
1331
|
-
internalType: "uint256",
|
|
1332
|
-
name: "sellYtIy",
|
|
1333
|
-
type: "uint256",
|
|
1334
|
-
},
|
|
1335
|
-
{
|
|
1336
|
-
internalType: "uint256",
|
|
1337
|
-
name: "targetSyRatio",
|
|
1338
|
-
type: "uint256",
|
|
1339
|
-
},
|
|
1340
|
-
{
|
|
1341
|
-
internalType: "uint256",
|
|
1342
|
-
name: "bufferSyRatio",
|
|
1343
|
-
type: "uint256",
|
|
1344
|
-
},
|
|
1345
|
-
{
|
|
1346
|
-
internalType: "uint256",
|
|
1347
|
-
name: "minYtPtRatio",
|
|
1348
|
-
type: "uint256",
|
|
1349
|
-
},
|
|
1350
|
-
{
|
|
1351
|
-
internalType: "uint256",
|
|
1352
|
-
name: "numOfBins",
|
|
1353
|
-
type: "uint256",
|
|
1354
|
-
},
|
|
1355
|
-
],
|
|
1356
|
-
internalType: "struct TradingSpecs",
|
|
1357
|
-
name: "_specs",
|
|
1358
|
-
type: "tuple",
|
|
1359
|
-
},
|
|
1360
|
-
],
|
|
1361
|
-
name: "setSpecs",
|
|
1362
|
-
outputs: [],
|
|
1363
|
-
stateMutability: "nonpayable",
|
|
1364
|
-
type: "function",
|
|
1365
|
-
},
|
|
1366
|
-
{
|
|
1367
|
-
inputs: [],
|
|
1368
|
-
name: "specs",
|
|
1369
|
-
outputs: [
|
|
1370
|
-
{
|
|
1371
|
-
internalType: "uint256",
|
|
1372
|
-
name: "buyYtIy",
|
|
1373
|
-
type: "uint256",
|
|
1374
|
-
},
|
|
1375
|
-
{
|
|
1376
|
-
internalType: "uint256",
|
|
1377
|
-
name: "sellYtIy",
|
|
1378
|
-
type: "uint256",
|
|
1379
|
-
},
|
|
1380
|
-
{
|
|
1381
|
-
internalType: "uint256",
|
|
1382
|
-
name: "targetSyRatio",
|
|
1383
|
-
type: "uint256",
|
|
1384
|
-
},
|
|
1385
|
-
{
|
|
1386
|
-
internalType: "uint256",
|
|
1387
|
-
name: "bufferSyRatio",
|
|
1388
|
-
type: "uint256",
|
|
1389
|
-
},
|
|
1390
|
-
{
|
|
1391
|
-
internalType: "uint256",
|
|
1392
|
-
name: "minYtPtRatio",
|
|
1393
|
-
type: "uint256",
|
|
1394
|
-
},
|
|
1395
|
-
{
|
|
1396
|
-
internalType: "uint256",
|
|
1397
|
-
name: "numOfBins",
|
|
1398
|
-
type: "uint256",
|
|
1399
|
-
},
|
|
1400
|
-
],
|
|
1401
|
-
stateMutability: "view",
|
|
1402
|
-
type: "function",
|
|
1403
|
-
},
|
|
1404
|
-
{
|
|
1405
|
-
inputs: [],
|
|
1406
|
-
name: "symbol",
|
|
1407
|
-
outputs: [
|
|
1408
|
-
{
|
|
1409
|
-
internalType: "string",
|
|
1410
|
-
name: "",
|
|
1411
|
-
type: "string",
|
|
1412
|
-
},
|
|
1413
|
-
],
|
|
1414
|
-
stateMutability: "view",
|
|
1415
|
-
type: "function",
|
|
1416
|
-
},
|
|
1417
|
-
{
|
|
1418
|
-
inputs: [],
|
|
1419
|
-
name: "totalSupply",
|
|
1420
|
-
outputs: [
|
|
1421
|
-
{
|
|
1422
|
-
internalType: "uint256",
|
|
1423
|
-
name: "",
|
|
1424
|
-
type: "uint256",
|
|
1425
|
-
},
|
|
1426
|
-
],
|
|
1427
|
-
stateMutability: "view",
|
|
1428
|
-
type: "function",
|
|
1429
|
-
},
|
|
1430
|
-
{
|
|
1431
|
-
inputs: [
|
|
1432
|
-
{
|
|
1433
|
-
internalType: "address",
|
|
1434
|
-
name: "to",
|
|
1435
|
-
type: "address",
|
|
1436
|
-
},
|
|
1437
|
-
{
|
|
1438
|
-
internalType: "uint256",
|
|
1439
|
-
name: "amount",
|
|
1440
|
-
type: "uint256",
|
|
1441
|
-
},
|
|
1442
|
-
],
|
|
1443
|
-
name: "transfer",
|
|
1444
|
-
outputs: [
|
|
1445
|
-
{
|
|
1446
|
-
internalType: "bool",
|
|
1447
|
-
name: "",
|
|
1448
|
-
type: "bool",
|
|
1449
|
-
},
|
|
1450
|
-
],
|
|
1451
|
-
stateMutability: "nonpayable",
|
|
1452
|
-
type: "function",
|
|
1453
|
-
},
|
|
1454
|
-
{
|
|
1455
|
-
inputs: [
|
|
1456
|
-
{
|
|
1457
|
-
internalType: "address",
|
|
1458
|
-
name: "from",
|
|
1459
|
-
type: "address",
|
|
1460
|
-
},
|
|
1461
|
-
{
|
|
1462
|
-
internalType: "address",
|
|
1463
|
-
name: "to",
|
|
1464
|
-
type: "address",
|
|
1465
|
-
},
|
|
1466
|
-
{
|
|
1467
|
-
internalType: "uint256",
|
|
1468
|
-
name: "amount",
|
|
1469
|
-
type: "uint256",
|
|
1470
|
-
},
|
|
1471
|
-
],
|
|
1472
|
-
name: "transferFrom",
|
|
1473
|
-
outputs: [
|
|
1474
|
-
{
|
|
1475
|
-
internalType: "bool",
|
|
1476
|
-
name: "",
|
|
1477
|
-
type: "bool",
|
|
1478
|
-
},
|
|
1479
|
-
],
|
|
1480
|
-
stateMutability: "nonpayable",
|
|
1481
|
-
type: "function",
|
|
1482
|
-
},
|
|
1483
|
-
{
|
|
1484
|
-
inputs: [
|
|
1485
|
-
{
|
|
1486
|
-
internalType: "address",
|
|
1487
|
-
name: "newOwner",
|
|
1488
|
-
type: "address",
|
|
1489
|
-
},
|
|
1490
|
-
{
|
|
1491
|
-
internalType: "bool",
|
|
1492
|
-
name: "direct",
|
|
1493
|
-
type: "bool",
|
|
1494
|
-
},
|
|
1495
|
-
{
|
|
1496
|
-
internalType: "bool",
|
|
1497
|
-
name: "renounce",
|
|
1498
|
-
type: "bool",
|
|
1499
|
-
},
|
|
1500
|
-
],
|
|
1501
|
-
name: "transferOwnership",
|
|
1502
|
-
outputs: [],
|
|
1503
|
-
stateMutability: "nonpayable",
|
|
1504
|
-
type: "function",
|
|
1505
|
-
},
|
|
1506
|
-
{
|
|
1507
|
-
inputs: [],
|
|
1508
|
-
name: "unpause",
|
|
1509
|
-
outputs: [],
|
|
1510
|
-
stateMutability: "nonpayable",
|
|
1511
|
-
type: "function",
|
|
1512
|
-
},
|
|
1513
|
-
{
|
|
1514
|
-
inputs: [
|
|
1515
|
-
{
|
|
1516
|
-
internalType: "address",
|
|
1517
|
-
name: "",
|
|
1518
|
-
type: "address",
|
|
1519
|
-
},
|
|
1520
|
-
{
|
|
1521
|
-
internalType: "address",
|
|
1522
|
-
name: "",
|
|
1523
|
-
type: "address",
|
|
1524
|
-
},
|
|
1525
|
-
],
|
|
1526
|
-
name: "userReward",
|
|
1527
|
-
outputs: [
|
|
1528
|
-
{
|
|
1529
|
-
internalType: "uint128",
|
|
1530
|
-
name: "index",
|
|
1531
|
-
type: "uint128",
|
|
1532
|
-
},
|
|
1533
|
-
{
|
|
1534
|
-
internalType: "uint128",
|
|
1535
|
-
name: "accrued",
|
|
1536
|
-
type: "uint128",
|
|
1537
|
-
},
|
|
1538
|
-
],
|
|
1539
|
-
stateMutability: "view",
|
|
1540
|
-
type: "function",
|
|
1541
|
-
},
|
|
1542
|
-
{
|
|
1543
|
-
inputs: [],
|
|
1544
|
-
name: "yieldToken",
|
|
1545
|
-
outputs: [
|
|
1546
|
-
{
|
|
1547
|
-
internalType: "address",
|
|
1548
|
-
name: "",
|
|
1549
|
-
type: "address",
|
|
1550
|
-
},
|
|
1551
|
-
],
|
|
1552
|
-
stateMutability: "view",
|
|
1553
|
-
type: "function",
|
|
1554
|
-
},
|
|
1555
|
-
{
|
|
1556
|
-
stateMutability: "payable",
|
|
1557
|
-
type: "receive",
|
|
1558
|
-
},
|
|
1559
|
-
];
|
|
1560
|
-
|
|
1561
|
-
const _bytecode =
|
|
1562
|
-
"0x6101a06040523480156200001257600080fd5b506040516200589a3803806200589a8339810160408190526200003591620001f8565b62000040846200016d565b806001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200007f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000a5919062000260565b60ff16608052610134805460ff191690556001600160a01b0390811660a05260408051630b2339af60e21b815290516000928392839291891691632c8ce6bc916004808201926060929091908290030181865afa1580156200010b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200013191906200028c565b6001600160a01b03998a1660e0529789166101005290881661012052871661014052505050918316610160528216610180521660c052620002e0565b600080826001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015620001af573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d591906200028c565b5090949350505050565b6001600160a01b0381168114620001f557600080fd5b50565b600080600080608085870312156200020f57600080fd5b84516200021c81620001df565b60208601519094506200022f81620001df565b60408601519093506200024281620001df565b60608601519092506200025581620001df565b939692955090935050565b6000602082840312156200027357600080fd5b815160ff811681146200028557600080fd5b9392505050565b600080600060608486031215620002a257600080fd5b8351620002af81620001df565b6020850151909350620002c281620001df565b6040850151909250620002d581620001df565b809150509250925092565b60805160a05160c05160e05161010051610120516101405161016051610180516154a1620003f96000396000818161061301528181611309015261208d0152600081816105bf01528181611e8401528181611fac0152613cfd01526000818161087c0152611eb20152600081816107d301528181610ac101528181610cd0015281816114eb015281816116f30152818161171401528181611e560152818161288301528181612bfe0152613e230152600081816109d401528181611f3301526128450152600081816106670152818161109d0152818161111e01528181611e2b01528181611f060152818161217f01528181612d0b0152613d8f0152600061091c0152600061057e015260006103de01526154a16000f3fe6080604052600436106102695760003560e01c806306fdde0314610275578063071bc3c9146102a0578063078dfbe7146102c2578063095ea7b3146102e4578063105f402914610314578063128fced11461033757806318160ddd1461036457806320e8c56514610379578063213cae63146102a057806323b872dd1461038c5780632b4cb4b7146103ac578063313ce567146103cc5780633644e515146104125780633ba0b9a9146104275780633f4ba83a1461043c5780634c6e8f81146104515780634e71e0c8146104715780635c975abb146104865780635cbadbe41461049f5780636925c6051461050c57806370a082311461052c578063769f8e5d1461054c57806376d5de851461056c578063781c18db146105ad578063784367d6146105e15780637cf738d2146106015780637ecebe001461063557806380f55605146106555780638129fc1c146106895780638456cb591461069e5780638da5cb5b146106b357806395d89b41146106d3578063a40bee50146106e8578063a7584e5e1461070c578063a9059cbb1461072c578063a9f8d1811461074c578063adb7c3f714610763578063afd27bf5146107c1578063b8f82b26146107f5578063c4f59f9b14610815578063cbe52ae31461082a578063d505accf1461084a578063d94073d41461086a578063da88ecb41461089e578063dd62ed3e146108b3578063e138b2ee146108d3578063e30c3978146108ea578063e82cee791461090a578063ea64a8201461093e578063eb983ce514610980578063ef5cfb8c146109a2578063f887ea40146109c2578063f8b2f991146109f6578063fa5a4f06146105e157600080fd5b3661027057005b600080fd5b34801561028157600080fd5b5061028a610a0b565b6040516102979190614567565b60405180910390f35b3480156102ac57600080fd5b506102b5610a9d565b60405161029791906145be565b3480156102ce57600080fd5b506102e26102dd36600461460a565b610b16565b005b3480156102f057600080fd5b506103046102ff366004614655565b610c1b565b6040519015158152602001610297565b34801561032057600080fd5b50610329610c35565b604051908152602001610297565b34801561034357600080fd5b50610357610352366004614681565b610d0e565b60405161029791906146ce565b34801561037057600080fd5b50610329610e1b565b6103296103873660046146e1565b610e2a565b34801561039857600080fd5b506103046103a7366004614727565b610f73565b3480156103b857600080fd5b506103296103c7366004614768565b610ff1565b3480156103d857600080fd5b506104007f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610297565b34801561041e57600080fd5b506103296110e6565b34801561043357600080fd5b506103296110f5565b34801561044857600080fd5b506102e26111a9565b34801561045d57600080fd5b506102e261046c366004614785565b6111dd565b34801561047d57600080fd5b506102e2611215565b34801561049257600080fd5b506101345460ff16610304565b3480156104ab57600080fd5b506104ec6104ba366004614785565b6101996020908152600092835260408084209091529082529020546001600160801b0380821691600160801b90041682565b604080516001600160801b03938416815292909116602083015201610297565b34801561051857600080fd5b506103296105273660046147d0565b6112c0565b34801561053857600080fd5b50610329610547366004614681565b611379565b34801561055857600080fd5b50610329610567366004614814565b611394565b34801561057857600080fd5b506105a07f000000000000000000000000000000000000000000000000000000000000000081565b6040516102979190614873565b3480156105b957600080fd5b506105a07f000000000000000000000000000000000000000000000000000000000000000081565b3480156105ed57600080fd5b506103046105fc366004614681565b6114e9565b34801561060d57600080fd5b506105a07f000000000000000000000000000000000000000000000000000000000000000081565b34801561064157600080fd5b50610329610650366004614681565b61151b565b34801561066157600080fd5b506105a07f000000000000000000000000000000000000000000000000000000000000000081565b34801561069557600080fd5b506102e2611539565b3480156106aa57600080fd5b506102e26116aa565b3480156106bf57600080fd5b506000546105a0906001600160a01b031681565b3480156106df57600080fd5b5061028a6116dc565b3480156106f457600080fd5b506106fd6116eb565b6040516102979392919061489d565b34801561071857600080fd5b506102e26107273660046148d1565b61179f565b34801561073857600080fd5b50610304610747366004614655565b611815565b34801561075857600080fd5b5061032961019a5481565b34801561076f57600080fd5b5061020054610201546102025461020354610204546102055461079495949392919086565b604080519687526020870195909552938501929092526060840152608083015260a082015260c001610297565b3480156107cd57600080fd5b506105a07f000000000000000000000000000000000000000000000000000000000000000081565b34801561080157600080fd5b50610329610810366004614655565b611887565b34801561082157600080fd5b506102b56118c2565b34801561083657600080fd5b50610329610845366004614655565b6118cc565b34801561085657600080fd5b506102e26108653660046148fc565b611900565b34801561087657600080fd5b506105a07f000000000000000000000000000000000000000000000000000000000000000081565b3480156108aa57600080fd5b50610357611a64565b3480156108bf57600080fd5b506103296108ce366004614785565b611b36565b3480156108df57600080fd5b506103296102065481565b3480156108f657600080fd5b506001546105a0906001600160a01b031681565b34801561091657600080fd5b506105a07f000000000000000000000000000000000000000000000000000000000000000081565b34801561094a57600080fd5b506104ec610959366004614681565b61019b602052600090815260409020546001600160801b0380821691600160801b90041682565b34801561098c57600080fd5b50610995611b61565b60405161029791906149fc565b3480156109ae57600080fd5b506103576109bd366004614681565b611bc8565b3480156109ce57600080fd5b506105a07f000000000000000000000000000000000000000000000000000000000000000081565b348015610a0257600080fd5b50610357611c87565b606060058054610a1a90614a80565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4690614a80565b8015610a935780601f10610a6857610100808354040283529160200191610a93565b820191906000526020600020905b815481529060010190602001808311610a7657829003601f168201915b5050505050905090565b604080516001808252818301909252606091602080830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110610af357610af3614aca565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b6000546001600160a01b03163314610b495760405162461bcd60e51b8152600401610b4090614ae0565b60405180910390fd5b8115610bfa576001600160a01b038316151580610b635750805b610ba75760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610b40565b600080546040516001600160a01b038087169392169160008051602061542c83398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b600033610c29818585611cf9565b60019150505b92915050565b60008073__$a7098bf20e819a81ac73f4e6e6693165f6$__63b1ef9e50610c5a611e1e565b610c62611ee7565b6040518363ffffffff1660e01b8152600401610c7f929190614b15565b602060405180830381865af4158015610c9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc09190614b4f565b905080610ccb610e1b565b610cf47f0000000000000000000000000000000000000000000000000000000000000000611fdf565b610cfe9190614b7e565b610d089190614bab565b91505090565b60606000610d1a612069565b905080516001600160401b03811115610d3557610d35614ab4565b604051908082528060200260200182016040528015610d5e578160200160208202803683370190505b50915060005b8151811015610e14576101996000838381518110610d8457610d84614aca565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000856001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b0316838281518110610e0157610e01614aca565b6020908102919091010152600101610d64565b5050919050565b6004546001600160f81b031690565b600454600090600119600160f81b90910460ff1601610e5b5760405162461bcd60e51b8152600401610b4090614bbf565b600480546001600160f81b0316600160f91b179055610e79846114e9565b610e9857836040516315d57ce360e31b8152600401610b409190614873565b82600003610eb957604051630a907f2f60e41b815260040160405180910390fd5b610ec48433856120bf565b610ece8484612126565b905081811015610ef5578082604051635e38f95d60e11b8152600401610b40929190614bf6565b610eff85826122af565b836001600160a01b0316856001600160a01b0316336001600160a01b03167f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d598685604051610f4e929190614bf6565b60405180910390a4600480546001600160f81b0316600160f81b179055949350505050565b600454600090600119600160f81b90910460ff1601610fa45760405162461bcd60e51b8152600401610b4090614bbf565b600480546001600160f81b0316600160f91b17905533610fc58582856123c6565b610fd0858585612440565b6001915050600480546001600160f81b0316600160f81b1790559392505050565b600081156110815773__$a7098bf20e819a81ac73f4e6e6693165f6$__63b1ef9e5061101b611e1e565b611023611ee7565b6040518363ffffffff1660e01b8152600401611040929190614b15565b602060405180830381865af415801561105d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2f9190614b4f565b73__$a7098bf20e819a81ac73f4e6e6693165f6$__63e2102e677f00000000000000000000000000000000000000000000000000000000000000006110c4611e1e565b6040518363ffffffff1660e01b8152600401611040929190614c04565b919050565b60006110f0612662565b905090565b60006110f0611102610e1b565b73__$a7098bf20e819a81ac73f4e6e6693165f6$__63e2102e677f0000000000000000000000000000000000000000000000000000000000000000611145611e1e565b6040518363ffffffff1660e01b8152600401611162929190614c04565b602060405180830381865af415801561117f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a39190614b4f565b906126dd565b6000546001600160a01b031633146111d35760405162461bcd60e51b8152600401610b4090614ae0565b6111db61270c565b565b6000546001600160a01b031633146112075760405162461bcd60e51b8152600401610b4090614ae0565b6112118282612759565b5050565b6001546001600160a01b03163381146112705760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610b40565b600080546040516001600160a01b038085169392169160008051602061542c83398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b600080546001600160a01b031633146112eb5760405162461bcd60e51b8152600401610b4090614ae0565b6112fd6112f784614d75565b83612819565b600054909150611340907f0000000000000000000000000000000000000000000000000000000000000000906001600160a01b031661133b82611fdf565b612906565b6040518181527f52709ca3666ff5bd61f9d9d26f0dbdadd947fdadf265f3141227189da7d484639060200160405180910390a192915050565b6001600160a01b031660009081526002602052604090205490565b600454600090600119600160f81b90910460ff16016113c55760405162461bcd60e51b8152600401610b4090614bbf565b600480546001600160f81b0316600160f91b1790556113e3846114e9565b61140257836040516388a5056160e01b8152600401610b409190614873565b846000036114235760405163c3d83b0760e01b815260040160405180910390fd5b81156114385761143330866129ca565b611442565b61144233866129ca565b61144d868587612b43565b9050828110156114745780836040516305ff726560e51b8152600401610b40929190614bf6565b836001600160a01b0316866001600160a01b0316336001600160a01b03167faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c88856040516114c3929190614bf6565b60405180910390a4600480546001600160f81b0316600160f81b17905595945050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0390811691161490565b6001600160a01b0381166000908152609f6020526040812054610c2f565b600154600160a81b900460ff161580801561155f575060018054600160a01b900460ff16105b80611586575061156e30612c2c565b158015611586575060018054600160a01b900460ff16145b6115e95760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610b40565b6001805460ff60a01b1916600160a01b1790558015611616576001805460ff60a81b1916600160a81b1790555b6116606040518060400160405280600e81526020016d119bdc9d1adb9bde0815985d5b1d60921b81525060405180604001604052806002815260200161232b60f11b815250612c3b565b80156116a7576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50565b6000546001600160a01b031633146116d45760405162461bcd60e51b8152600401610b4090614ae0565b6111db612c76565b606060068054610a1a90614a80565b6000806000807f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015611770573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117949190614e32565b925092509250909192565b6000546001600160a01b031633146117c95760405162461bcd60e51b8152600401610b4090614ae0565b6116a76117db36839003830183614e4f565b80516102005560208101516102015560408101516102025560608101516102035560808101516102045560a0015161020581905561020655565b600454600090600119600160f81b90910460ff16016118465760405162461bcd60e51b8152600401610b4090614bbf565b600480546001600160f81b0316600160f91b17905533611867818585612440565b6001915050600480546001600160f81b0316600160f81b17905592915050565b6000611892836114e9565b6118b157826040516315d57ce360e31b8152600401610b409190614873565b6118bb8383612cb4565b9392505050565b60606110f0612069565b60006118d7836114e9565b6118f657826040516388a5056160e01b8152600401610b409190614873565b6118bb8383612dcf565b834211156119505760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610b40565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c988888861197f8c612e80565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006119da82612ea8565b905060006119ea82878787612ef6565b9050896001600160a01b0316816001600160a01b031614611a4d5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610b40565b611a588a8a8a611cf9565b50505050505050505050565b60606000611a70612069565b905080516001600160401b03811115611a8b57611a8b614ab4565b604051908082528060200260200182016040528015611ab4578160200160208202803683370190505b50915060005b8151811015611b315761019b6000838381518110611ada57611ada614aca565b6020908102919091018101516001600160a01b031682528101919091526040016000205483516001600160801b0390911690849083908110611b1e57611b1e614aca565b6020908102919091010152600101611aba565b505090565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b611b6961440e565b611b71611e1e565b8152611b7b611ee7565b6020808301919091526040805160c081018252610200548152610201549281019290925261020254828201526102035460608301526102045460808301526102055460a083015282015290565b600454606090600119600160f81b90910460ff1601611bf95760405162461bcd60e51b8152600401610b4090614bbf565b600480546001600160f81b0316600160f91b179055611c1782612f1e565b611c218283612f29565b9050816001600160a01b03167f2193aa20a3717f5f4ac79482f4f553e5f0afe8f4e6ec3e3d1aa2e138adc4763f611c56612069565b83604051611c65929190614ec8565b60405180910390a2600480546001600160f81b0316600160f81b179055919050565b600454606090600119600160f81b90910460ff1601611cb85760405162461bcd60e51b8152600401610b4090614bbf565b600480546001600160f81b0316600160f91b179055611cd56131d4565b5050611cdf611a64565b9050600480546001600160f81b0316600160f81b17905590565b6001600160a01b038316611d5b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b40565b6001600160a01b038216611dbc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b40565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b611e26614471565b611e4f7f0000000000000000000000000000000000000000000000000000000000000000611fdf565b8152611e7a7f0000000000000000000000000000000000000000000000000000000000000000611fdf565b6060820152611ea87f0000000000000000000000000000000000000000000000000000000000000000611fdf565b6020820152611ed67f0000000000000000000000000000000000000000000000000000000000000000611fdf565b604082015261020654608082015290565b611eef6144a0565b60405163794052f360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063794052f390611f5b907f000000000000000000000000000000000000000000000000000000000000000090600401614873565b61012060405180830381865afa158015611f79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f9d9190614f01565b8152611fd16001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016613476565b602082015242604082015290565b60006001600160a01b03821615612062576040516370a0823160e01b81526001600160a01b038316906370a082319061201c903090600401614873565b602060405180830381865afa158015612039573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061205d9190614b4f565b610c2f565b4792915050565b604080516001808252818301909252606091602080830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110610af357610af3614aca565b6001600160a01b03831661210b57803414610c165760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610b40565b8015610c1657610c166001600160a01b0384168330846136a2565b600080612131611e1e565b9050600061213d611ee7565b90506000612149610e1b565b90508060000361215e57849350505050610c2f565b600061227c73__$a7098bf20e819a81ac73f4e6e6693165f6$__63e2102e677f0000000000000000000000000000000000000000000000000000000000000000876040518363ffffffff1660e01b81526004016121bc929190614c04565b602060405180830381865af41580156121d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121fd9190614b4f565b604051630b1ef9e560e41b815273__$a7098bf20e819a81ac73f4e6e6693165f6$__9063b1ef9e50906122369089908990600401614b15565b602060405180830381865af4158015612253573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122779190614b4f565b61370d565b90506122888682614f83565b612290610e1b565b61229a9088614b7e565b6122a49190614bab565b979650505050505050565b6001600160a01b0382166123055760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610b40565b61231160008383613723565b61231a81613735565b600480546000906123359084906001600160f81b0316614f96565b92506101000a8154816001600160f81b0302191690836001600160f81b031602179055508060026000846001600160a01b03166001600160a01b03168152602001908152602001600020600082825461238e9190614fbd565b90915550506040518181526001600160a01b0383169060009060008051602061544c8339815191529060200160405180910390a35050565b60006123d28484611b36565b9050600019811461243a578181101561242d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b40565b61243a8484848403611cf9565b50505050565b6001600160a01b0383166124a45760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b40565b6001600160a01b0382166125065760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b40565b816001600160a01b0316836001600160a01b0316036125615760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b6044820152606401610b40565b61256c838383613723565b6001600160a01b038316600090815260026020526040902054818110156125e45760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b40565b6001600160a01b0380851660009081526002602052604080822085850390559185168152908120805484929061261b908490614fbd565b92505081905550826001600160a01b0316846001600160a01b031660008051602061544c8339815191528460405161265591815260200190565b60405180910390a361243a565b60006110f07f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f612691606b5490565b606c546040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b6000806126f2670de0b6b3a764000085614b7e565b905082818161270357612703614b95565b04949350505050565b61271461374f565b610134805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405161274f9190614873565b60405180910390a1565b6001600160a01b03821661276b575050565b61277d60026001600160601b03614fd0565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa1580156127d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127fa9190614b4f565b10156112115761280c82826000613799565b6112118282600019613799565b600060001983602001510361283957825161283390611fdf565b60208401525b82516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169163443e651291161561287a576000612880565b84602001515b307f000000000000000000000000000000000000000000000000000000000000000086886040518663ffffffff1660e01b81526004016128c39493929190614ff6565b60206040518083038185885af11580156128e1573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906118bb9190614b4f565b8060000361291357505050565b6001600160a01b0383166129b6576000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461296e576040519150601f19603f3d011682016040523d82523d6000602084013e612973565b606091505b505090508061243a5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610b40565b610c166001600160a01b03841683836138ad565b6001600160a01b038216612a2a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610b40565b612a3682600083613723565b6001600160a01b03821660009081526002602052604090205481811015612aaa5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610b40565b6001600160a01b03831660009081526002602052604090208282039055612ad082613735565b60048054600090612aeb9084906001600160f81b03166150bd565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b031660008051602061544c83398151915284604051611e1191815260200190565b60008073__$a7098bf20e819a81ac73f4e6e6693165f6$__63b1ef9e50612b68611e1e565b612b70611ee7565b6040518363ffffffff1660e01b8152600401612b8d929190614b15565b602060405180830381865af4158015612baa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bce9190614b4f565b905082612bd9610e1b565b612be39190614fbd565b612bed8483614b7e565b612bf79190614bab565b9150612c247f00000000000000000000000000000000000000000000000000000000000000008684612906565b509392505050565b6001600160a01b03163b151590565b600154600160a81b900460ff16612c645760405162461bcd60e51b8152600401610b40906150dd565b612c6e82826138cc565b611211613922565b612c7e61395f565b610134805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586127423390565b600080612cbf610e1b565b905080600003612cd25782915050610c2f565b6000612cdc611e1e565b90506000612ce8611ee7565b90506000612dc273__$a7098bf20e819a81ac73f4e6e6693165f6$__63e2102e677f0000000000000000000000000000000000000000000000000000000000000000866040518363ffffffff1660e01b8152600401612d48929190614c04565b602060405180830381865af4158015612d65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d899190614b4f565b604051630b1ef9e560e41b815273__$a7098bf20e819a81ac73f4e6e6693165f6$__9063b1ef9e50906122369088908890600401614b15565b90508061229a8588614b7e565b60008073__$a7098bf20e819a81ac73f4e6e6693165f6$__63b1ef9e50612df4611e1e565b612dfc611ee7565b6040518363ffffffff1660e01b8152600401612e19929190614b15565b602060405180830381865af4158015612e36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e5a9190614b4f565b9050612e64610e1b565b612e6e8483614b7e565b612e789190614bab565b949350505050565b6001600160a01b0381166000908152609f602052604090208054600181018255905b50919050565b6000610c2f612eb5612662565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000612f07878787876139a6565b91509150612f1481613a89565b5095945050505050565b6116a7816000613c3a565b60606000612f35612069565b905080516001600160401b03811115612f5057612f50614ab4565b604051908082528060200260200182016040528015612f79578160200160208202803683370190505b50915060005b81518110156131cc576101996000838381518110612f9f57612f9f614aca565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000866001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b031683828151811061301c5761301c614aca565b60200260200101818152505082818151811061303a5761303a614aca565b60200260200101516000146131ba576000610199600084848151811061306257613062614aca565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000876001600160a01b03166001600160a01b0316815260200190815260200160002060000160106101000a8154816001600160801b0302191690836001600160801b031602179055506130f68382815181106130e9576130e9614aca565b6020026020010151613cba565b61019b600084848151811061310d5761310d614aca565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160108282829054906101000a90046001600160801b03166131599190615128565b92506101000a8154816001600160801b0302191690836001600160801b031602179055506131ba82828151811061319257613192614aca565b6020026020010151858584815181106131ad576131ad614aca565b6020026020010151612906565b806131c481615148565b915050612f7f565b505092915050565b6060806131df612069565b915081516001600160401b038111156131fa576131fa614ab4565b604051908082528060200260200182016040528015613223578160200160208202803683370190505b5090508151600003613233579091565b4361019a54146133ed574361019a55600061324c613cd0565b9050613256613cda565b60005b83518110156133ea57600084828151811061327657613276614aca565b6020908102919091018101516001600160a01b038116600090815261019b90925260408220548751919350600160801b90046001600160801b0316906132d5908890869081106132c8576132c8614aca565b6020026020010151611fdf565b6132df9190614f83565b6001600160a01b038316600090815261019b60205260408120549192506001600160801b0390911690819003613313575060015b84156133305761332382866126dd565b61332d9082614fbd565b90505b61333981613cba565b6001600160a01b038416600090815261019b6020526040902080546001600160801b0319166001600160801b039290921691909117905561337982613cba565b6001600160a01b038416600090815261019b6020526040902080546010906133b2908490600160801b90046001600160801b0316615161565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550505050806133e390615148565b9050613259565b50505b60005b82518110156134715761019b600084838151811061341057613410614aca565b6020908102919091018101516001600160a01b031682528101919091526040016000205482516001600160801b039091169083908390811061345457613454614aca565b60209081029190910101528061346981615148565b9150506133f0565b509091565b600080826001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa1580156134b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134db9190615181565b90506000836001600160a01b031663d2a3584e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561351d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135419190614b4f565b90506000846001600160a01b031663516399df6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613583573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135a7919061519e565b801561361c575043856001600160a01b03166360e0a9e16040518163ffffffff1660e01b8152600401602060405180830381865afa1580156135ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061361191906151bb565b6001600160801b0316145b15613628575080612e78565b6000836001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa158015613668573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061368c9190614b4f565b9050613698818461370d565b9695505050505050565b6040516001600160a01b038085166024830152831660448201526064810182905261243a9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152613e9f565b600081831161371c57816118bb565b5090919050565b61372b61395f565b610c168383613c3a565b60006001600160f81b0382111561374b57600080fd5b5090565b6101345460ff166111db5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610b40565b600080846001600160a01b031663095ea7b360e01b85856040516024016137c19291906151e4565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516137ff91906151fd565b6000604051808303816000865af19150503d806000811461383c576040519150601f19603f3d011682016040523d82523d6000602084013e613841565b606091505b509150915081801561386b57508051158061386b57508080602001905181019061386b919061519e565b6138a65760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401610b40565b5050505050565b610c168363a9059cbb60e01b84846040516024016136d69291906151e4565b600154600160a81b900460ff166138f55760405162461bcd60e51b8152600401610b40906150dd565b6138ff8282613f71565b61121182604051806040016040528060018152602001603160f81b815250613fcd565b600154600160a81b900460ff1661394b5760405162461bcd60e51b8152600401610b40906150dd565b600080546001600160a01b03191633179055565b6101345460ff16156111db5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610b40565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b038311156139d35750600090506003613a80565b8460ff16601b141580156139eb57508460ff16601c14155b156139fc5750600090506004613a80565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613a50573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613a7957600060019250925050613a80565b9150600090505b94509492505050565b6000816004811115613a9d57613a9d614887565b03613aa55750565b6001816004811115613ab957613ab9614887565b03613b015760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610b40565b6002816004811115613b1557613b15614887565b03613b625760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610b40565b6003816004811115613b7657613b76614887565b03613bce5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610b40565b6004816004811115613be257613be2614887565b036116a75760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610b40565b600080613c456131d4565b915091508151600003613c585750505050565b6001600160a01b03841615801590613c7957506001600160a01b0384163014155b15613c8957613c89848383614000565b6001600160a01b03831615801590613caa57506001600160a01b0383163014155b1561243a5761243a838383614000565b60006001600160801b0382111561374b57600080fd5b60006110f0610e1b565b604051637d24da4d60e01b815230600482015260016024820181905260448201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690637d24da4d906064016000604051808303816000875af1158015613d4e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613d76919081019061528d565b5050604051639262187b60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690639262187b90613dc4903090600401614873565b6000604051808303816000875af1158015613de3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613e0b91908101906152d4565b50604051633bd73ee360e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ef5cfb8c90613e58903090600401614873565b6000604051808303816000875af1158015613e77573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116a791908101906152d4565b6000613ef4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661423b9092919063ffffffff16565b805190915015610c165780806020019051810190613f12919061519e565b610c165760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610b40565b600154600160a81b900460ff16613f9a5760405162461bcd60e51b8152600401610b40906150dd565b6005613fa68382615356565b506006613fb38282615356565b5050600480546001600160f81b0316600160f81b17905550565b600154600160a81b900460ff16613ff65760405162461bcd60e51b8152600401610b40906150dd565b611211828261424a565b6001600160a01b0383161580159061402157506001600160a01b0383163014155b61402d5761402d615415565b60006140388461428d565b905060005b83518110156138a657600084828151811061405a5761405a614aca565b60200260200101519050600084838151811061407857614078614aca565b6020908102919091018101516001600160a01b03808516600090815261019984526040808220928c168252919093528220549092506001600160801b0316908190036140d4576140c86001613cba565b6001600160801b031690505b8181036140e35750505061422b565b60006140ef8284614f83565b905060006140fd8783614298565b6001600160a01b03868116600090815261019960209081526040808320938f1683529290529081205491925090614145908390600160801b90046001600160801b0316614fbd565b9050604051806040016040528061415b87613cba565b6001600160801b0316815260200161417283613cba565b6001600160801b03168152506101996000886001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055509050505050505050505b61423481615148565b905061403d565b6060612e7884846000856142b6565b600154600160a81b900460ff166142735760405162461bcd60e51b8152600401610b40906150dd565b815160209283012081519190920120606b91909155606c55565b6000610c2f82611379565b6000806142a58385614b7e565b9050670de0b6b3a764000081612703565b6060824710156143175760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610b40565b61432085612c2c565b61436c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610b40565b600080866001600160a01b0316858760405161438891906151fd565b60006040518083038185875af1925050503d80600081146143c5576040519150601f19603f3d011682016040523d82523d6000602084013e6143ca565b606091505b50915091506122a4828286606083156143e45750816118bb565b8251156143f45782518084602001fd5b8160405162461bcd60e51b8152600401610b409190614567565b6040518060600160405280614421614471565b815260200161442e6144a0565b815260200161446c6040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b905290565b6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b604051806060016040528061450360405180610120016040528060008152602001600081526020016000815260200160006001600160a01b0316815260200160008152602001600081526020016000815260200160008152602001600081525090565b815260200160008152602001600081525090565b60005b8381101561453257818101518382015260200161451a565b50506000910152565b60008151808452614553816020860160208601614517565b601f01601f19169290920160200192915050565b6020815260006118bb602083018461453b565b600081518084526020808501945080840160005b838110156145b35781516001600160a01b03168752958201959082019060010161458e565b509495945050505050565b6020815260006118bb602083018461457a565b6001600160a01b03811681146116a757600080fd5b80356110e1816145d1565b80151581146116a757600080fd5b80356110e1816145f1565b60008060006060848603121561461f57600080fd5b833561462a816145d1565b9250602084013561463a816145f1565b9150604084013561464a816145f1565b809150509250925092565b6000806040838503121561466857600080fd5b8235614673816145d1565b946020939093013593505050565b60006020828403121561469357600080fd5b81356118bb816145d1565b600081518084526020808501945080840160005b838110156145b3578151875295820195908201906001016146b2565b6020815260006118bb602083018461469e565b600080600080608085870312156146f757600080fd5b8435614702816145d1565b93506020850135614712816145d1565b93969395505050506040820135916060013590565b60008060006060848603121561473c57600080fd5b8335614747816145d1565b92506020840135614757816145d1565b929592945050506040919091013590565b60006020828403121561477a57600080fd5b81356118bb816145f1565b6000806040838503121561479857600080fd5b82356147a3816145d1565b915060208301356147b3816145d1565b809150509250929050565b600060c08284031215612ea257600080fd5b600080604083850312156147e357600080fd5b82356001600160401b038111156147f957600080fd5b614805858286016147be565b95602094909401359450505050565b600080600080600060a0868803121561482c57600080fd5b8535614837816145d1565b945060208601359350604086013561484e816145d1565b9250606086013591506080860135614865816145f1565b809150509295509295909350565b6001600160a01b0391909116815260200190565b634e487b7160e01b600052602160045260246000fd5b60608101600285106148b1576148b1614887565b9381526001600160a01b0392909216602083015260ff1660409091015290565b600060c082840312156148e357600080fd5b6118bb83836147be565b60ff811681146116a757600080fd5b600080600080600080600060e0888a03121561491757600080fd5b8735614922816145d1565b96506020880135614932816145d1565b955060408801359450606088013593506080880135614950816148ed565b9699959850939692959460a0840135945060c09093013592915050565b80518252602081015160208301526040810151604083015260608101516060830152608081015160808301525050565b8051825260208082015190830152604080820151908301526060808201516001600160a01b0316908301526080808201519083015260a0808201519083015260c0808201519083015260e0808201519083015261010090810151910152565b60006102c082019050614a1082845161496d565b6020830151614a2360a08401825161499d565b6020818101516101c08501526040918201516101e0850152938101518051610200850152938401516102208401528301516102408301526060830151610260830152608083015161028083015260a0909201516102a09091015290565b600181811c90821680614a9457607f821691505b602082108103612ea257634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6102008101614b24828561496d565b614b3260a08301845161499d565b60208301516101c083015260408301516101e08301529392505050565b600060208284031215614b6157600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610c2f57610c2f614b68565b634e487b7160e01b600052601260045260246000fd5b600082614bba57614bba614b95565b500490565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b918252602082015260400190565b6001600160a01b038316815260c081016118bb602083018461496d565b604051608081016001600160401b0381118282101715614c4357614c43614ab4565b60405290565b60405161012081016001600160401b0381118282101715614c4357614c43614ab4565b604051601f8201601f191681016001600160401b0381118282101715614c9457614c94614ab4565b604052919050565b600060808284031215614cae57600080fd5b614cb6614c21565b9050813560048110614cc757600080fd5b8152602082810135614cd8816145d1565b8282015260408301356001600160401b0380821115614cf657600080fd5b818501915085601f830112614d0a57600080fd5b813581811115614d1c57614d1c614ab4565b614d2e601f8201601f19168501614c6c565b91508082528684828501011115614d4457600080fd5b8084840185840137600084828401015250806040850152505050614d6a606083016145ff565b606082015292915050565b600060c08236031215614d8757600080fd5b60405160c081016001600160401b038082118383101715614daa57614daa614ab4565b8160405284359150614dbb826145d1565b8183526020850135602084015260408501359150614dd8826145d1565b81604084015260608501359150614dee826145d1565b816060840152614e00608086016145e6565b608084015260a0850135915080821115614e1957600080fd5b50614e2636828601614c9c565b60a08301525092915050565b600060208284031215614e4457600080fd5b81516118bb816148ed565b600060c08284031215614e6157600080fd5b60405160c081016001600160401b0381118282101715614e8357614e83614ab4565b8060405250823581526020830135602082015260408301356040820152606083013560608201526080830135608082015260a083013560a08201528091505092915050565b604081526000614edb604083018561457a565b8281036020840152614eed818561469e565b95945050505050565b80516110e1816145d1565b60006101208284031215614f1457600080fd5b614f1c614c49565b825181526020830151602082015260408301516040820152614f4060608401614ef6565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015181830152508091505092915050565b81810381811115610c2f57610c2f614b68565b6001600160f81b03818116838216019080821115614fb657614fb6614b68565b5092915050565b80820180821115610c2f57610c2f614b68565b60006001600160601b0383811680614fea57614fea614b95565b92169190910492915050565b600060018060a01b038087168352808616602084015284604084015260806060840152808451166080840152602084015160a08401528060408501511660c08401528060608501511660e08401528060808501511661010084015260a084015160c061012085015280516004811061507057615070614887565b610140850152602081015190911661016084015260408101516080610180850152906150a06101c085018361453b565b9150606081015115156101a0850152508091505095945050505050565b6001600160f81b03828116828216039080821115614fb657614fb6614b68565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6001600160801b03828116828216039080821115614fb657614fb6614b68565b60006001820161515a5761515a614b68565b5060010190565b6001600160801b03818116838216019080821115614fb657614fb6614b68565b60006020828403121561519357600080fd5b81516118bb816145d1565b6000602082840312156151b057600080fd5b81516118bb816145f1565b6000602082840312156151cd57600080fd5b81516001600160801b03811681146118bb57600080fd5b6001600160a01b03929092168252602082015260400190565b6000825161520f818460208701614517565b9190910192915050565b600082601f83011261522a57600080fd5b815160206001600160401b0382111561524557615245614ab4565b8160051b615254828201614c6c565b928352848101820192828101908785111561526e57600080fd5b83870192505b848310156122a457825182529183019190830190615274565b600080604083850312156152a057600080fd5b825160208401519092506001600160401b038111156152be57600080fd5b6152ca85828601615219565b9150509250929050565b6000602082840312156152e657600080fd5b81516001600160401b038111156152fc57600080fd5b612e7884828501615219565b601f821115610c1657600081815260208120601f850160051c8101602086101561532f5750805b601f850160051c820191505b8181101561534e5782815560010161533b565b505050505050565b81516001600160401b0381111561536f5761536f614ab4565b6153838161537d8454614a80565b84615308565b602080601f8311600181146153b857600084156153a05750858301515b600019600386901b1c1916600185901b17855561534e565b600085815260208120601f198616915b828110156153e7578886015182559484019460019091019084016153c8565b50858210156154055787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052600160045260246000fdfe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220afaeb6b45c57c2ecbfb7542a9ef6e1d93acfca5a09f7bb609d49f54e16e2ba5164736f6c63430008110033";
|
|
1563
|
-
|
|
1564
|
-
type TradingBotBaseConstructorParams =
|
|
1565
|
-
| [linkLibraryAddresses: TradingBotBaseLibraryAddresses, signer?: Signer]
|
|
1566
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
1567
|
-
|
|
1568
|
-
const isSuperArgs = (
|
|
1569
|
-
xs: TradingBotBaseConstructorParams
|
|
1570
|
-
): xs is ConstructorParameters<typeof ContractFactory> => {
|
|
1571
|
-
return (
|
|
1572
|
-
typeof xs[0] === "string" ||
|
|
1573
|
-
(Array.isArray as (arg: any) => arg is readonly any[])(xs[0]) ||
|
|
1574
|
-
"_isInterface" in xs[0]
|
|
1575
|
-
);
|
|
1576
|
-
};
|
|
1577
|
-
|
|
1578
|
-
export class TradingBotBase__factory extends ContractFactory {
|
|
1579
|
-
constructor(...args: TradingBotBaseConstructorParams) {
|
|
1580
|
-
if (isSuperArgs(args)) {
|
|
1581
|
-
super(...args);
|
|
1582
|
-
} else {
|
|
1583
|
-
const [linkLibraryAddresses, signer] = args;
|
|
1584
|
-
super(
|
|
1585
|
-
_abi,
|
|
1586
|
-
TradingBotBase__factory.linkBytecode(linkLibraryAddresses),
|
|
1587
|
-
signer
|
|
1588
|
-
);
|
|
1589
|
-
}
|
|
1590
|
-
this.contractName = "TradingBotBase";
|
|
1591
|
-
}
|
|
1592
|
-
|
|
1593
|
-
static linkBytecode(
|
|
1594
|
-
linkLibraryAddresses: TradingBotBaseLibraryAddresses
|
|
1595
|
-
): string {
|
|
1596
|
-
let linkedBytecode = _bytecode;
|
|
1597
|
-
|
|
1598
|
-
linkedBytecode = linkedBytecode.replace(
|
|
1599
|
-
new RegExp("__\\$a7098bf20e819a81ac73f4e6e6693165f6\\$__", "g"),
|
|
1600
|
-
linkLibraryAddresses[
|
|
1601
|
-
"contracts/core/TradingBot/libraries/TvlLib.sol:TvlLib"
|
|
1602
|
-
]
|
|
1603
|
-
.replace(/^0x/, "")
|
|
1604
|
-
.toLowerCase()
|
|
1605
|
-
);
|
|
1606
|
-
|
|
1607
|
-
return linkedBytecode;
|
|
1608
|
-
}
|
|
1609
|
-
|
|
1610
|
-
deploy(
|
|
1611
|
-
_market: string,
|
|
1612
|
-
_router: string,
|
|
1613
|
-
_PENDLE: string,
|
|
1614
|
-
_decisionHelper: string,
|
|
1615
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1616
|
-
): Promise<TradingBotBase> {
|
|
1617
|
-
return super.deploy(
|
|
1618
|
-
_market,
|
|
1619
|
-
_router,
|
|
1620
|
-
_PENDLE,
|
|
1621
|
-
_decisionHelper,
|
|
1622
|
-
overrides || {}
|
|
1623
|
-
) as Promise<TradingBotBase>;
|
|
1624
|
-
}
|
|
1625
|
-
getDeployTransaction(
|
|
1626
|
-
_market: string,
|
|
1627
|
-
_router: string,
|
|
1628
|
-
_PENDLE: string,
|
|
1629
|
-
_decisionHelper: string,
|
|
1630
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1631
|
-
): TransactionRequest {
|
|
1632
|
-
return super.getDeployTransaction(
|
|
1633
|
-
_market,
|
|
1634
|
-
_router,
|
|
1635
|
-
_PENDLE,
|
|
1636
|
-
_decisionHelper,
|
|
1637
|
-
overrides || {}
|
|
1638
|
-
);
|
|
1639
|
-
}
|
|
1640
|
-
attach(address: string): TradingBotBase {
|
|
1641
|
-
return super.attach(address) as TradingBotBase;
|
|
1642
|
-
}
|
|
1643
|
-
connect(signer: Signer): TradingBotBase__factory {
|
|
1644
|
-
return super.connect(signer) as TradingBotBase__factory;
|
|
1645
|
-
}
|
|
1646
|
-
static readonly contractName: "TradingBotBase";
|
|
1647
|
-
public readonly contractName: "TradingBotBase";
|
|
1648
|
-
static readonly bytecode = _bytecode;
|
|
1649
|
-
static readonly abi = _abi;
|
|
1650
|
-
static createInterface(): TradingBotBaseInterface {
|
|
1651
|
-
return new utils.Interface(_abi) as TradingBotBaseInterface;
|
|
1652
|
-
}
|
|
1653
|
-
static connect(
|
|
1654
|
-
address: string,
|
|
1655
|
-
signerOrProvider: Signer | Provider
|
|
1656
|
-
): TradingBotBase {
|
|
1657
|
-
return new Contract(address, _abi, signerOrProvider) as TradingBotBase;
|
|
1658
|
-
}
|
|
1659
|
-
}
|
|
1660
|
-
|
|
1661
|
-
export interface TradingBotBaseLibraryAddresses {
|
|
1662
|
-
["contracts/core/TradingBot/libraries/TvlLib.sol:TvlLib"]: string;
|
|
1663
|
-
}
|