@pendle/core-v2 4.2.0 → 4.2.2
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/Ethena/PendleUSDESY.sol/PendleUSDESY.json +3 -3
- 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/PendleERC20SY.sol/PendleERC20SY.json +3 -3
- 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/PendleEzETHSY.sol/PendleEzETHSY.dbg.json +1 -1
- 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/ThenaLpHelper.sol/ThenaLpHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/IThenaSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/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/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/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/IPendlePreviewHelper.sol/IPendlePreviewHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/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/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/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/PendleERC20SY.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/interfaces/Bedrock/IBedrockStaking.sol +10 -0
- package/contracts/interfaces/IRedstonePriceFeed.sol +15 -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 +10 -1
- 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/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/{IPMorphoVaultSY.ts → ActionVePendleStaticLe1.ts} +36 -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/{IEigenpieStaking.ts → IPActionVePendleStaticLe1.ts} +36 -43
- package/typechain-types/{AutomationCompatible.ts → IPMiniDiamondLe1.ts} +48 -41
- package/typechain-types/IPOrderMixin.ts +349 -0
- package/typechain-types/IPRouterStaticLe1.ts +3462 -0
- package/typechain-types/PendleERC20SY.ts +3 -1
- package/typechain-types/{PendleStUSDESY.ts → PendleERC4626SYUpg.ts} +5 -5
- 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/{AutomationBase.ts → PendleRouterStaticLe1.ts} +5 -5
- package/typechain-types/PendleSUSDESY.ts +62 -0
- package/typechain-types/PendleUSDESY.ts +3 -1
- 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/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/IPRouterStaticLe1__factory.ts +2451 -0
- package/typechain-types/factories/PendleAuraWethVethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20SY__factory.ts +2 -2
- 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/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/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/PendleUSDESY__factory.ts +2 -2
- package/typechain-types/factories/PtAndLpToAsset__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +108 -54
- package/typechain-types/index.ts +20 -12
- 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/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/AlgebraMathHelper.ts +0 -442
- 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/LongYieldActionLib.ts +0 -57
- 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/PendleEigenpieMstETHSY.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/IPirexETH__factory.ts +0 -126
- 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/IStellaLendingProxy__factory.ts +0 -74
- 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
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
+
pragma solidity ^0.8.0;
|
|
3
|
+
|
|
4
|
+
import "../../interfaces/IStETH.sol";
|
|
5
|
+
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
|
|
6
|
+
|
|
7
|
+
library StETHNativeLib {
|
|
8
|
+
address internal constant STETH = 0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84;
|
|
9
|
+
|
|
10
|
+
function _depositStETH(uint256 amountNative) internal returns (uint256 amountStETHOut) {
|
|
11
|
+
uint256 preBal = IERC20(STETH).balanceOf(address(this));
|
|
12
|
+
IStETH(STETH).submit{value: amountNative}(address(0));
|
|
13
|
+
return IERC20(STETH).balanceOf(address(this)) - preBal;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
+
pragma solidity ^0.8.17;
|
|
3
|
+
|
|
4
|
+
import "../../SYBase.sol";
|
|
5
|
+
import "../../../../interfaces/Bedrock/IBedrockStaking.sol";
|
|
6
|
+
|
|
7
|
+
contract PendleUniETHSY is SYBase {
|
|
8
|
+
using PMath for uint256;
|
|
9
|
+
|
|
10
|
+
address public immutable bedrockStaking;
|
|
11
|
+
address public immutable uniETH;
|
|
12
|
+
|
|
13
|
+
constructor(address _bedrockStaking, address _uniETH) SYBase("SY Bedrock UniETH", "SY-uniETH", _uniETH) {
|
|
14
|
+
bedrockStaking = _bedrockStaking;
|
|
15
|
+
uniETH = _uniETH;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/*///////////////////////////////////////////////////////////////
|
|
19
|
+
DEPOSIT/REDEEM USING BASE TOKENS
|
|
20
|
+
//////////////////////////////////////////////////////////////*/
|
|
21
|
+
|
|
22
|
+
function _deposit(address tokenIn, uint256 amountDeposited) internal override returns (uint256 amountSharesOut) {
|
|
23
|
+
if (tokenIn == NATIVE) {
|
|
24
|
+
amountSharesOut = IBedrockStaking(bedrockStaking).mint{value: amountDeposited}(0, type(uint256).max);
|
|
25
|
+
} else {
|
|
26
|
+
amountSharesOut = amountDeposited;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function _redeem(
|
|
31
|
+
address receiver,
|
|
32
|
+
address /*tokenOut*/,
|
|
33
|
+
uint256 amountSharesToRedeem
|
|
34
|
+
) internal override returns (uint256) {
|
|
35
|
+
_transferOut(uniETH, receiver, amountSharesToRedeem);
|
|
36
|
+
return amountSharesToRedeem;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/*///////////////////////////////////////////////////////////////
|
|
40
|
+
EXCHANGE-RATE
|
|
41
|
+
//////////////////////////////////////////////////////////////*/
|
|
42
|
+
|
|
43
|
+
function exchangeRate() public view override returns (uint256) {
|
|
44
|
+
return IBedrockStaking(bedrockStaking).exchangeRatio();
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/*///////////////////////////////////////////////////////////////
|
|
48
|
+
MISC FUNCTIONS FOR METADATA
|
|
49
|
+
//////////////////////////////////////////////////////////////*/
|
|
50
|
+
|
|
51
|
+
function _previewDeposit(address tokenIn, uint256 amountTokenToDeposit) internal view override returns (uint256) {
|
|
52
|
+
if (tokenIn == NATIVE) {
|
|
53
|
+
uint256 reserve = IBedrockStaking(bedrockStaking).currentReserve();
|
|
54
|
+
uint256 supply = IERC20(uniETH).totalSupply();
|
|
55
|
+
return (amountTokenToDeposit * supply) / reserve;
|
|
56
|
+
}
|
|
57
|
+
return amountTokenToDeposit;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
function _previewRedeem(
|
|
61
|
+
address /*tokenOut*/,
|
|
62
|
+
uint256 amountSharesToRedeem
|
|
63
|
+
) internal pure override returns (uint256) {
|
|
64
|
+
return amountSharesToRedeem;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
function getTokensIn() public view override returns (address[] memory res) {
|
|
68
|
+
return ArrayLib.create(uniETH, NATIVE);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
function getTokensOut() public view override returns (address[] memory res) {
|
|
72
|
+
return ArrayLib.create(uniETH);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
function isValidTokenIn(address token) public view override returns (bool) {
|
|
76
|
+
return token == NATIVE || token == uniETH;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
function isValidTokenOut(address token) public view override returns (bool) {
|
|
80
|
+
return token == uniETH;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
function assetInfo() external pure override returns (AssetType, address, uint8) {
|
|
84
|
+
return (AssetType.TOKEN, NATIVE, 18);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -4,7 +4,65 @@ pragma solidity ^0.8.17;
|
|
|
4
4
|
import "../PendleERC4626SY.sol";
|
|
5
5
|
|
|
6
6
|
contract PendleSUSDESY is PendleERC4626SY {
|
|
7
|
-
|
|
7
|
+
uint256 public supplyCap;
|
|
8
|
+
|
|
9
|
+
event SupplyCapUpdated(uint256 newSupplyCap);
|
|
10
|
+
|
|
11
|
+
error SupplyCapExceeded(uint256 totalSupply, uint256 supplyCap);
|
|
12
|
+
|
|
13
|
+
constructor(address _susde, uint256 _initialSupplyCap) PendleERC4626SY("SY Ethena sUSDE", "SY-sUSDE", _susde) {
|
|
14
|
+
_updateSupplyCap(_initialSupplyCap);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/*///////////////////////////////////////////////////////////////
|
|
18
|
+
SUPPLY CAP UPDATE
|
|
19
|
+
//////////////////////////////////////////////////////////////*/
|
|
20
|
+
|
|
21
|
+
function updateSupplyCap(uint256 newSupplyCap) external onlyOwner {
|
|
22
|
+
_updateSupplyCap(newSupplyCap);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
function _updateSupplyCap(uint256 newSupplyCap) internal {
|
|
26
|
+
supplyCap = newSupplyCap;
|
|
27
|
+
emit SupplyCapUpdated(newSupplyCap);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/*///////////////////////////////////////////////////////////////
|
|
31
|
+
SUPPLY CAP LOGIC
|
|
32
|
+
//////////////////////////////////////////////////////////////*/
|
|
33
|
+
|
|
34
|
+
function _previewDeposit(
|
|
35
|
+
address tokenIn,
|
|
36
|
+
uint256 amountTokenToDeposit
|
|
37
|
+
) internal view override returns (uint256 amountSharesOut) {
|
|
38
|
+
amountSharesOut = super._previewDeposit(tokenIn, amountTokenToDeposit);
|
|
39
|
+
uint256 _newSupply = totalSupply() + amountSharesOut;
|
|
40
|
+
uint256 _supplyCap = supplyCap;
|
|
41
|
+
|
|
42
|
+
if (_newSupply > _supplyCap) {
|
|
43
|
+
revert SupplyCapExceeded(_newSupply, _supplyCap);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// @dev: whenNotPaused not needed as it has already been added to beforeTransfer
|
|
48
|
+
function _afterTokenTransfer(address from, address, uint256) internal virtual override {
|
|
49
|
+
// only check for minting case
|
|
50
|
+
// saving gas on user->user transfers
|
|
51
|
+
// skip supply cap checking on burn to allow lowering supply cap
|
|
52
|
+
if (from != address(0)) {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
uint256 _supply = totalSupply();
|
|
57
|
+
uint256 _supplyCap = supplyCap;
|
|
58
|
+
if (_supply > _supplyCap) {
|
|
59
|
+
revert SupplyCapExceeded(_supply, _supplyCap);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/*///////////////////////////////////////////////////////////////
|
|
64
|
+
OVERRIDEN 4626 TO GET YIELD TOKEN ONLY
|
|
65
|
+
//////////////////////////////////////////////////////////////*/
|
|
8
66
|
|
|
9
67
|
function getTokensOut() public view override returns (address[] memory res) {
|
|
10
68
|
return ArrayLib.create(yieldToken);
|
|
@@ -46,7 +46,7 @@ contract PendleERC4626SY is SYBase {
|
|
|
46
46
|
function _previewDeposit(
|
|
47
47
|
address tokenIn,
|
|
48
48
|
uint256 amountTokenToDeposit
|
|
49
|
-
) internal view override returns (uint256 /*amountSharesOut*/) {
|
|
49
|
+
) internal view virtual override returns (uint256 /*amountSharesOut*/) {
|
|
50
50
|
if (tokenIn == yieldToken) return amountTokenToDeposit;
|
|
51
51
|
else return IERC4626(yieldToken).previewDeposit(amountTokenToDeposit);
|
|
52
52
|
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
+
pragma solidity ^0.8.17;
|
|
3
|
+
|
|
4
|
+
import "../SYBaseUpg.sol";
|
|
5
|
+
import "../../../interfaces/IERC4626.sol";
|
|
6
|
+
|
|
7
|
+
contract PendleERC4626SYUpg is SYBaseUpg {
|
|
8
|
+
using PMath for uint256;
|
|
9
|
+
address public immutable asset;
|
|
10
|
+
|
|
11
|
+
constructor(address _erc4626) SYBaseUpg(_erc4626) {
|
|
12
|
+
asset = IERC4626(_erc4626).asset();
|
|
13
|
+
_safeApproveInf(asset, _erc4626);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function _deposit(
|
|
17
|
+
address tokenIn,
|
|
18
|
+
uint256 amountDeposited
|
|
19
|
+
) internal virtual override returns (uint256 /*amountSharesOut*/) {
|
|
20
|
+
if (tokenIn == yieldToken) {
|
|
21
|
+
return amountDeposited;
|
|
22
|
+
} else {
|
|
23
|
+
return IERC4626(yieldToken).deposit(amountDeposited, address(this));
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function _redeem(
|
|
28
|
+
address receiver,
|
|
29
|
+
address tokenOut,
|
|
30
|
+
uint256 amountSharesToRedeem
|
|
31
|
+
) internal override returns (uint256 amountTokenOut) {
|
|
32
|
+
if (tokenOut == yieldToken) {
|
|
33
|
+
amountTokenOut = amountSharesToRedeem;
|
|
34
|
+
_transferOut(yieldToken, receiver, amountTokenOut);
|
|
35
|
+
} else {
|
|
36
|
+
amountTokenOut = IERC4626(yieldToken).redeem(amountSharesToRedeem, receiver, address(this));
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function exchangeRate() public view virtual override returns (uint256) {
|
|
41
|
+
uint256 totalAssets = IERC4626(yieldToken).totalAssets();
|
|
42
|
+
uint256 totalSupply = IERC4626(yieldToken).totalSupply();
|
|
43
|
+
return totalAssets.divDown(totalSupply);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
function _previewDeposit(
|
|
47
|
+
address tokenIn,
|
|
48
|
+
uint256 amountTokenToDeposit
|
|
49
|
+
) internal view override returns (uint256 /*amountSharesOut*/) {
|
|
50
|
+
if (tokenIn == yieldToken) return amountTokenToDeposit;
|
|
51
|
+
else return IERC4626(yieldToken).previewDeposit(amountTokenToDeposit);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function _previewRedeem(
|
|
55
|
+
address tokenOut,
|
|
56
|
+
uint256 amountSharesToRedeem
|
|
57
|
+
) internal view override returns (uint256 /*amountTokenOut*/) {
|
|
58
|
+
if (tokenOut == yieldToken) return amountSharesToRedeem;
|
|
59
|
+
else return IERC4626(yieldToken).previewRedeem(amountSharesToRedeem);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
function getTokensIn() public view override returns (address[] memory res) {
|
|
63
|
+
res = new address[](2);
|
|
64
|
+
res[0] = asset;
|
|
65
|
+
res[1] = yieldToken;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
function getTokensOut() public view override returns (address[] memory res) {
|
|
69
|
+
res = new address[](2);
|
|
70
|
+
res[0] = asset;
|
|
71
|
+
res[1] = yieldToken;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
function isValidTokenIn(address token) public view override returns (bool) {
|
|
75
|
+
return token == yieldToken || token == asset;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
function isValidTokenOut(address token) public view override returns (bool) {
|
|
79
|
+
return token == yieldToken || token == asset;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
function assetInfo() external view returns (AssetType assetType, address assetAddress, uint8 assetDecimals) {
|
|
83
|
+
return (AssetType.TOKEN, asset, IERC20Metadata(asset).decimals());
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
+
pragma solidity ^0.8.17;
|
|
3
|
+
|
|
4
|
+
import "../../SYBaseUpg.sol";
|
|
5
|
+
import "../../StEthNativeLib.sol";
|
|
6
|
+
import "../../../../interfaces/IERC4626.sol";
|
|
7
|
+
|
|
8
|
+
contract PendlePufStETHSY is SYBaseUpg {
|
|
9
|
+
using PMath for uint256;
|
|
10
|
+
address public immutable asset;
|
|
11
|
+
|
|
12
|
+
constructor(address _erc4626) SYBaseUpg(_erc4626) {
|
|
13
|
+
asset = IERC4626(_erc4626).asset();
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function initialize() external initializer {
|
|
17
|
+
__SYBaseUpg_init("SY Puffer ETH", "SY pufETH");
|
|
18
|
+
approveAssetForDeposit();
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function approveAssetForDeposit() public {
|
|
22
|
+
_safeApproveInf(asset, yieldToken);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
function _deposit(
|
|
26
|
+
address tokenIn,
|
|
27
|
+
uint256 amountDeposited
|
|
28
|
+
) internal virtual override returns (uint256 /*amountSharesOut*/) {
|
|
29
|
+
if (tokenIn == yieldToken) {
|
|
30
|
+
return amountDeposited;
|
|
31
|
+
} else {
|
|
32
|
+
if (tokenIn == NATIVE) {
|
|
33
|
+
amountDeposited = StETHNativeLib._depositStETH(amountDeposited);
|
|
34
|
+
}
|
|
35
|
+
return IERC4626(yieldToken).deposit(amountDeposited, address(this));
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function _redeem(
|
|
40
|
+
address receiver,
|
|
41
|
+
address /*tokenOut*/,
|
|
42
|
+
uint256 amountSharesToRedeem
|
|
43
|
+
) internal override returns (uint256) {
|
|
44
|
+
_transferOut(yieldToken, receiver, amountSharesToRedeem);
|
|
45
|
+
return amountSharesToRedeem;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function exchangeRate() public view virtual override returns (uint256) {
|
|
49
|
+
uint256 totalAssets = IERC4626(yieldToken).totalAssets();
|
|
50
|
+
uint256 totalSupply = IERC4626(yieldToken).totalSupply();
|
|
51
|
+
return totalAssets.divDown(totalSupply);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function _previewDeposit(
|
|
55
|
+
address tokenIn,
|
|
56
|
+
uint256 amountTokenToDeposit
|
|
57
|
+
) internal view override returns (uint256 /*amountSharesOut*/) {
|
|
58
|
+
if (tokenIn == yieldToken) return amountTokenToDeposit;
|
|
59
|
+
// tokenIn is either NATIVE or stETH, we treat 1 NATIVE == 1 stETH
|
|
60
|
+
else return IERC4626(yieldToken).previewDeposit(amountTokenToDeposit);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function _previewRedeem(
|
|
64
|
+
address /*tokenOut*/,
|
|
65
|
+
uint256 amountSharesToRedeem
|
|
66
|
+
) internal pure override returns (uint256 /*amountTokenOut*/) {
|
|
67
|
+
return amountSharesToRedeem;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
function getTokensIn() public view override returns (address[] memory res) {
|
|
71
|
+
return ArrayLib.create(yieldToken, asset, NATIVE);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
function getTokensOut() public view override returns (address[] memory res) {
|
|
75
|
+
return ArrayLib.create(yieldToken);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
function isValidTokenIn(address token) public view override returns (bool) {
|
|
79
|
+
return token == yieldToken || token == asset || token == NATIVE;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
function isValidTokenOut(address token) public view override returns (bool) {
|
|
83
|
+
return token == yieldToken;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
function assetInfo() external pure returns (AssetType assetType, address assetAddress, uint8 assetDecimals) {
|
|
87
|
+
// Puffer team clarified that their 4626 will be changed to WETH when they are fully launched
|
|
88
|
+
return (AssetType.TOKEN, NATIVE, 18);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
+
pragma solidity ^0.8.17;
|
|
3
|
+
|
|
4
|
+
import "../../SYBaseUpg.sol";
|
|
5
|
+
import "../../StEthNativeLib.sol";
|
|
6
|
+
import "../../../../interfaces/IERC4626.sol";
|
|
7
|
+
|
|
8
|
+
// Still keeping StETHNativeLib dependency for consistency
|
|
9
|
+
contract PendlePufWETHSY is SYBaseUpg {
|
|
10
|
+
using PMath for uint256;
|
|
11
|
+
address public immutable asset;
|
|
12
|
+
|
|
13
|
+
constructor(address _erc4626) SYBaseUpg(_erc4626) {
|
|
14
|
+
asset = IERC4626(_erc4626).asset();
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function initialize() external initializer {
|
|
18
|
+
__SYBaseUpg_init("SY Puffer ETH", "SY pufETH");
|
|
19
|
+
approveAssetForDeposit();
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
function approveAssetForDeposit() public {
|
|
23
|
+
_safeApproveInf(asset, yieldToken);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function _deposit(
|
|
27
|
+
address tokenIn,
|
|
28
|
+
uint256 amountDeposited
|
|
29
|
+
) internal virtual override returns (uint256 /*amountSharesOut*/) {
|
|
30
|
+
if (tokenIn == yieldToken) {
|
|
31
|
+
return amountDeposited;
|
|
32
|
+
} else {
|
|
33
|
+
return IERC4626(yieldToken).deposit(amountDeposited, address(this));
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function _redeem(
|
|
38
|
+
address receiver,
|
|
39
|
+
address /*tokenOut*/,
|
|
40
|
+
uint256 amountSharesToRedeem
|
|
41
|
+
) internal override returns (uint256) {
|
|
42
|
+
_transferOut(yieldToken, receiver, amountSharesToRedeem);
|
|
43
|
+
return amountSharesToRedeem;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
function exchangeRate() public view virtual override returns (uint256) {
|
|
47
|
+
uint256 totalAssets = IERC4626(yieldToken).totalAssets();
|
|
48
|
+
uint256 totalSupply = IERC4626(yieldToken).totalSupply();
|
|
49
|
+
return totalAssets.divDown(totalSupply);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function _previewDeposit(
|
|
53
|
+
address tokenIn,
|
|
54
|
+
uint256 amountTokenToDeposit
|
|
55
|
+
) internal view override returns (uint256 /*amountSharesOut*/) {
|
|
56
|
+
if (tokenIn == yieldToken) return amountTokenToDeposit;
|
|
57
|
+
else return IERC4626(yieldToken).previewDeposit(amountTokenToDeposit);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
function _previewRedeem(
|
|
61
|
+
address /*tokenOut*/,
|
|
62
|
+
uint256 amountSharesToRedeem
|
|
63
|
+
) internal pure override returns (uint256 /*amountTokenOut*/) {
|
|
64
|
+
return amountSharesToRedeem;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
function getTokensIn() public view override returns (address[] memory res) {
|
|
68
|
+
return ArrayLib.create(yieldToken, asset);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
function getTokensOut() public view override returns (address[] memory res) {
|
|
72
|
+
return ArrayLib.create(yieldToken);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
function isValidTokenIn(address token) public view override returns (bool) {
|
|
76
|
+
return token == yieldToken || token == asset;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
function isValidTokenOut(address token) public view override returns (bool) {
|
|
80
|
+
return token == yieldToken;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
function assetInfo() external pure returns (AssetType assetType, address assetAddress, uint8 assetDecimals) {
|
|
84
|
+
return (AssetType.TOKEN, NATIVE, 18);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// SPDX-License-Identifier: MIT
|
|
2
|
+
pragma solidity ^0.8.0;
|
|
3
|
+
|
|
4
|
+
interface IBedrockStaking {
|
|
5
|
+
function mint(uint256 minToMint, uint256 deadline) external payable returns (uint256 minted);
|
|
6
|
+
|
|
7
|
+
function exchangeRatio() external view returns (uint256);
|
|
8
|
+
|
|
9
|
+
function currentReserve() external view returns (uint256);
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {AggregatorV3Interface} from "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol";
|
|
2
|
+
|
|
3
|
+
interface IRedstonePriceFeed is AggregatorV3Interface {
|
|
4
|
+
/**
|
|
5
|
+
* @notice Old Chainlink function for getting the number of latest round
|
|
6
|
+
* @return latestRound The number of the latest update round
|
|
7
|
+
*/
|
|
8
|
+
function latestRound() external view returns (uint80);
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @notice Old Chainlink function for getting the latest successfully reported value
|
|
12
|
+
* @return latestAnswer The latest successfully reported value
|
|
13
|
+
*/
|
|
14
|
+
function latestAnswer() external view returns (int256);
|
|
15
|
+
}
|
|
@@ -3,21 +3,23 @@ pragma solidity ^0.8.17;
|
|
|
3
3
|
|
|
4
4
|
import "../core/libraries/math/PMath.sol";
|
|
5
5
|
import "../interfaces/IPExchangeRateOracle.sol";
|
|
6
|
-
import
|
|
6
|
+
import "../interfaces/IRedstonePriceFeed.sol";
|
|
7
7
|
|
|
8
8
|
contract PendleRedStoneRateOracleAdapter is IPExchangeRateOracle {
|
|
9
9
|
using PMath for int256;
|
|
10
10
|
|
|
11
11
|
address public immutable oracle;
|
|
12
12
|
uint8 public immutable decimals;
|
|
13
|
+
uint8 public immutable rawDecimals;
|
|
13
14
|
|
|
14
15
|
constructor(address _redStoneOracle, uint8 _decimals) {
|
|
15
16
|
oracle = _redStoneOracle;
|
|
16
17
|
decimals = _decimals;
|
|
18
|
+
rawDecimals = IRedstonePriceFeed(_redStoneOracle).decimals();
|
|
17
19
|
}
|
|
18
20
|
|
|
19
21
|
function getExchangeRate() external view returns (uint256) {
|
|
20
|
-
|
|
21
|
-
return (answer.Uint() * 10 ** decimals) / 10 **
|
|
22
|
+
int256 answer = IRedstonePriceFeed(oracle).latestAnswer();
|
|
23
|
+
return (answer.Uint() * 10 ** decimals) / 10 ** rawDecimals;
|
|
22
24
|
}
|
|
23
25
|
}
|
|
@@ -275,6 +275,48 @@ interface IExecutorHelper {
|
|
|
275
275
|
uint8 settleFlags;
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
+
struct UniV1 {
|
|
279
|
+
address pool;
|
|
280
|
+
uint256 amount;
|
|
281
|
+
address tokenIn;
|
|
282
|
+
address tokenOut;
|
|
283
|
+
address recipient;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
struct LighterV2 {
|
|
287
|
+
address orderBook;
|
|
288
|
+
uint256 amount;
|
|
289
|
+
bool isAsk; // isAsk = orderBook.isAskOrder(orderId);
|
|
290
|
+
address tokenIn;
|
|
291
|
+
address tokenOut;
|
|
292
|
+
address recipient;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
struct EtherFiWeETH {
|
|
296
|
+
uint256 amount;
|
|
297
|
+
bool isWrapping;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
struct Kelp {
|
|
301
|
+
uint256 amount;
|
|
302
|
+
address tokenIn;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
struct EthenaSusde {
|
|
306
|
+
uint256 amount;
|
|
307
|
+
address recipient;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
struct RocketPool {
|
|
311
|
+
address pool;
|
|
312
|
+
uint256 isDepositAndAmount; // 1 isDeposit + 127 empty + 128 amount token in
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
struct MakersDAI {
|
|
316
|
+
uint256 isRedeemAndAmount; // 1 isRedeem + 127 empty + 128 amount token in
|
|
317
|
+
address recipient;
|
|
318
|
+
}
|
|
319
|
+
|
|
278
320
|
function executeUniswap(bytes memory data, uint256 flagsAndPrevAmountOut) external payable returns (uint256);
|
|
279
321
|
|
|
280
322
|
function executeStableSwap(bytes memory data, uint256 flagsAndPrevAmountOut) external payable returns (uint256);
|
|
@@ -368,4 +410,24 @@ interface IExecutorHelper {
|
|
|
368
410
|
function executeBancorV3(bytes memory data, uint256 flagsAndPrevAmountOut) external payable returns (uint256);
|
|
369
411
|
|
|
370
412
|
function executeAmbient(bytes memory data, uint256 flagsAndPrevAmountOut) external payable returns (uint256);
|
|
413
|
+
|
|
414
|
+
function executeUniV1(bytes memory data, uint256 flagsAndPrevAmountOut) external payable returns (uint256);
|
|
415
|
+
|
|
416
|
+
function executeNative(bytes memory data, uint256 flagsAndPrevAmountOut) external payable returns (uint256);
|
|
417
|
+
|
|
418
|
+
function executeBebop(bytes memory data, uint256 flagsAndPrevAmountOut) external payable returns (uint256);
|
|
419
|
+
|
|
420
|
+
function executeLighterV2(bytes memory data, uint256 flagsAndPrevAmountOut) external payable returns (uint256);
|
|
421
|
+
|
|
422
|
+
function executeEtherFieETH(bytes memory data, uint256 flagsAndPrevAmountOut) external payable returns (uint256);
|
|
423
|
+
|
|
424
|
+
function executeEtherFiWeETH(bytes memory data, uint256 flagsAndPrevAmountOut) external payable returns (uint256);
|
|
425
|
+
|
|
426
|
+
function executeKelp(bytes memory data, uint256 flagsAndPrevAmountOut) external payable returns (uint256);
|
|
427
|
+
|
|
428
|
+
function executeRocketPool(bytes memory data, uint256 flagsAndPrevAmountOut) external payable returns (uint256);
|
|
429
|
+
|
|
430
|
+
function executeEthenaSusde(bytes memory data, uint256 flagsAndPrevAmountOut) external payable returns (uint256);
|
|
431
|
+
|
|
432
|
+
function executeMakersDAI(bytes memory data, uint256 flagsAndPrevAmountOut) external payable returns (uint256);
|
|
371
433
|
}
|
|
@@ -295,6 +295,15 @@ interface IExecutorHelperL2 {
|
|
|
295
295
|
uint8 settleFlags;
|
|
296
296
|
}
|
|
297
297
|
|
|
298
|
+
struct LighterV2 {
|
|
299
|
+
address orderBook;
|
|
300
|
+
uint256 amount;
|
|
301
|
+
bool isAsk; // isAsk = orderBook.isAskOrder(orderId);
|
|
302
|
+
address tokenIn;
|
|
303
|
+
address tokenOut;
|
|
304
|
+
address recipient;
|
|
305
|
+
}
|
|
306
|
+
|
|
298
307
|
function executeUniswap(
|
|
299
308
|
uint256 index,
|
|
300
309
|
bytes memory data,
|
|
@@ -663,4 +672,22 @@ interface IExecutorHelperL2 {
|
|
|
663
672
|
bool getPoolOnly,
|
|
664
673
|
address nextPool
|
|
665
674
|
) external payable returns (address tokenOut, uint256 tokenAmountOut, address pool);
|
|
675
|
+
|
|
676
|
+
function executeNative(
|
|
677
|
+
uint256 index,
|
|
678
|
+
bytes memory data,
|
|
679
|
+
uint256 previousAmountOut,
|
|
680
|
+
address tokenIn,
|
|
681
|
+
bool getPoolOnly,
|
|
682
|
+
address nextPool
|
|
683
|
+
) external payable returns (address tokenOut, uint256 tokenAmountOut, address pool);
|
|
684
|
+
|
|
685
|
+
function executeLighterV2(
|
|
686
|
+
uint256 index,
|
|
687
|
+
bytes memory data,
|
|
688
|
+
uint256 previousAmountOut,
|
|
689
|
+
address tokenIn,
|
|
690
|
+
bool getPoolOnly,
|
|
691
|
+
address nextPool
|
|
692
|
+
) external payable returns (address tokenOut, uint256 tokenAmountOut, address pool);
|
|
666
693
|
}
|
|
@@ -262,6 +262,26 @@ library InputScalingHelper {
|
|
|
262
262
|
swap.data = ScalingDataLib.newMantis(swap.data, oldAmount, newAmount); // @dev using Mantis struct because Bancor V3 and Mantis have same fields
|
|
263
263
|
} else if (functionSelector == IExecutorHelper.executeAmbient.selector) {
|
|
264
264
|
swap.data = ScalingDataLib.newAmbient(swap.data, oldAmount, newAmount);
|
|
265
|
+
} else if (functionSelector == IExecutorHelper.executeNative.selector) {
|
|
266
|
+
revert("InputScalingHelper: Can not scale Native swap");
|
|
267
|
+
} else if (functionSelector == IExecutorHelper.executeLighterV2.selector) {
|
|
268
|
+
swap.data = ScalingDataLib.newLighterV2(swap.data, oldAmount, newAmount);
|
|
269
|
+
} else if (functionSelector == IExecutorHelper.executeBebop.selector) {
|
|
270
|
+
revert("InputScalingHelper: Can not scale Bebop swap");
|
|
271
|
+
} else if (functionSelector == IExecutorHelper.executeUniV1.selector) {
|
|
272
|
+
swap.data = ScalingDataLib.newUniV1(swap.data, oldAmount, newAmount);
|
|
273
|
+
} else if (functionSelector == IExecutorHelper.executeEtherFieETH.selector) {
|
|
274
|
+
swap.data = ScalingDataLib.newEtherFieETH(swap.data, oldAmount, newAmount);
|
|
275
|
+
} else if (functionSelector == IExecutorHelper.executeEtherFiWeETH.selector) {
|
|
276
|
+
swap.data = ScalingDataLib.newEtherFiWeETH(swap.data, oldAmount, newAmount);
|
|
277
|
+
} else if (functionSelector == IExecutorHelper.executeKelp.selector) {
|
|
278
|
+
swap.data = ScalingDataLib.newKelp(swap.data, oldAmount, newAmount);
|
|
279
|
+
} else if (functionSelector == IExecutorHelper.executeEthenaSusde.selector) {
|
|
280
|
+
swap.data = ScalingDataLib.newEthenaSusde(swap.data, oldAmount, newAmount);
|
|
281
|
+
} else if (functionSelector == IExecutorHelper.executeRocketPool.selector) {
|
|
282
|
+
swap.data = ScalingDataLib.newRocketPool(swap.data, oldAmount, newAmount);
|
|
283
|
+
} else if (functionSelector == IExecutorHelper.executeMakersDAI.selector) {
|
|
284
|
+
swap.data = ScalingDataLib.newMakersDAI(swap.data, oldAmount, newAmount);
|
|
265
285
|
} else {
|
|
266
286
|
revert("AggregationExecutor: Dex type not supported");
|
|
267
287
|
}
|