@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
|
@@ -7,14 +7,14 @@ import "./ThenaMath.sol";
|
|
|
7
7
|
import "@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol";
|
|
8
8
|
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
|
|
9
9
|
import "../../../libraries/BoringOwnableUpgradeable.sol";
|
|
10
|
-
import "../../../../interfaces/
|
|
10
|
+
import "../../../../interfaces/IPPreviewHelper.sol";
|
|
11
11
|
import "../../../../interfaces/Thena/IThenaFactory.sol";
|
|
12
12
|
|
|
13
13
|
interface IThenaSY {
|
|
14
14
|
function pair() external view returns (address);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
contract ThenaPreview is
|
|
17
|
+
contract ThenaPreview is IPPreviewHelper, ThenaMath, BoringOwnableUpgradeable, UUPSUpgradeable {
|
|
18
18
|
using PMath for uint256;
|
|
19
19
|
|
|
20
20
|
address internal immutable factory;
|
|
@@ -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,12 @@
|
|
|
1
|
+
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
+
pragma solidity ^0.8.0;
|
|
3
|
+
|
|
4
|
+
interface IConnext {
|
|
5
|
+
// Used by the UI to calculate slippage
|
|
6
|
+
function calculateSwap(
|
|
7
|
+
bytes32 canonicalId,
|
|
8
|
+
uint8 tokenIndexFrom,
|
|
9
|
+
uint8 tokenIndexTo,
|
|
10
|
+
uint256 dx
|
|
11
|
+
) external view returns (uint256);
|
|
12
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
2
|
pragma solidity ^0.8.0;
|
|
3
3
|
|
|
4
|
-
interface
|
|
4
|
+
interface IPPreviewHelper {
|
|
5
5
|
function previewDeposit(address tokenIn, uint256 amountTokenIn) external view returns (uint256 amountSharesOut);
|
|
6
6
|
|
|
7
7
|
function previewRedeem(address tokenOut, uint256 amountSharesToBurn) external view returns (uint256 amountTokenOut);
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
+
pragma solidity ^0.8.0;
|
|
3
|
+
|
|
4
|
+
interface IRenzoDepositL2 {
|
|
5
|
+
function connext() external view returns (address);
|
|
6
|
+
|
|
7
|
+
function swapKey() external view returns (bytes32);
|
|
8
|
+
|
|
9
|
+
function collateralToken() external view returns (address);
|
|
10
|
+
|
|
11
|
+
function deposit(uint256 _amountIn, uint256 _minOut, uint256 _deadline) external returns (uint256);
|
|
12
|
+
|
|
13
|
+
function lastPrice() external view returns (uint256);
|
|
14
|
+
|
|
15
|
+
function bridgeRouterFeeBps() external view returns (uint256);
|
|
16
|
+
}
|
|
@@ -177,4 +177,6 @@ library SDKErrorsDirectory {
|
|
|
177
177
|
error YieldContractInsufficientSy(uint256 actualSy, uint256 requiredSy);
|
|
178
178
|
error ZeroAddress();
|
|
179
179
|
error SupplyCapExceeded(uint256 totalSupply, uint256 supplyCap);
|
|
180
|
+
error ShareTransferNotAllowed();
|
|
181
|
+
error SenderNotSolventAfterTransfer();
|
|
180
182
|
}
|
|
@@ -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
|
}
|
|
@@ -273,4 +273,78 @@ library ScalingDataLib {
|
|
|
273
273
|
ambient.qty = uint128((uint256(ambient.qty) * newAmount) / oldAmount);
|
|
274
274
|
return abi.encode(ambient);
|
|
275
275
|
}
|
|
276
|
+
|
|
277
|
+
function newLighterV2(
|
|
278
|
+
bytes memory data,
|
|
279
|
+
uint256 oldAmount,
|
|
280
|
+
uint256 newAmount
|
|
281
|
+
) internal pure returns (bytes memory) {
|
|
282
|
+
IExecutorHelper.LighterV2 memory structData = abi.decode(data, (IExecutorHelper.LighterV2));
|
|
283
|
+
structData.amount = uint128((uint256(structData.amount) * newAmount) / oldAmount);
|
|
284
|
+
return abi.encode(structData);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
function newUniV1(bytes memory data, uint256 oldAmount, uint256 newAmount) internal pure returns (bytes memory) {
|
|
288
|
+
IExecutorHelper.UniV1 memory structData = abi.decode(data, (IExecutorHelper.UniV1));
|
|
289
|
+
structData.amount = uint128((uint256(structData.amount) * newAmount) / oldAmount);
|
|
290
|
+
return abi.encode(structData);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
function newEtherFieETH(
|
|
294
|
+
bytes memory data,
|
|
295
|
+
uint256 oldAmount,
|
|
296
|
+
uint256 newAmount
|
|
297
|
+
) internal pure returns (bytes memory) {
|
|
298
|
+
uint256 depositAmount = abi.decode(data, (uint256));
|
|
299
|
+
depositAmount = uint128((depositAmount * newAmount) / oldAmount);
|
|
300
|
+
return abi.encode(depositAmount);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
function newEtherFiWeETH(
|
|
304
|
+
bytes memory data,
|
|
305
|
+
uint256 oldAmount,
|
|
306
|
+
uint256 newAmount
|
|
307
|
+
) internal pure returns (bytes memory) {
|
|
308
|
+
IExecutorHelper.EtherFiWeETH memory structData = abi.decode(data, (IExecutorHelper.EtherFiWeETH));
|
|
309
|
+
structData.amount = uint128((uint256(structData.amount) * newAmount) / oldAmount);
|
|
310
|
+
return abi.encode(structData);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
function newKelp(bytes memory data, uint256 oldAmount, uint256 newAmount) internal pure returns (bytes memory) {
|
|
314
|
+
IExecutorHelper.Kelp memory structData = abi.decode(data, (IExecutorHelper.Kelp));
|
|
315
|
+
structData.amount = uint128((uint256(structData.amount) * newAmount) / oldAmount);
|
|
316
|
+
return abi.encode(structData);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
function newEthenaSusde(
|
|
320
|
+
bytes memory data,
|
|
321
|
+
uint256 oldAmount,
|
|
322
|
+
uint256 newAmount
|
|
323
|
+
) internal pure returns (bytes memory) {
|
|
324
|
+
IExecutorHelper.EthenaSusde memory structData = abi.decode(data, (IExecutorHelper.EthenaSusde));
|
|
325
|
+
structData.amount = uint128((uint256(structData.amount) * newAmount) / oldAmount);
|
|
326
|
+
return abi.encode(structData);
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
function newRocketPool(
|
|
330
|
+
bytes memory data,
|
|
331
|
+
uint256 oldAmount,
|
|
332
|
+
uint256 newAmount
|
|
333
|
+
) internal pure returns (bytes memory) {
|
|
334
|
+
IExecutorHelper.RocketPool memory structData = abi.decode(data, (IExecutorHelper.RocketPool));
|
|
335
|
+
uint128 _amount = uint128((uint256(uint128(structData.isDepositAndAmount)) * newAmount) / oldAmount);
|
|
336
|
+
structData.isDepositAndAmount |= uint256(_amount);
|
|
337
|
+
return abi.encode(structData);
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
function newMakersDAI(
|
|
341
|
+
bytes memory data,
|
|
342
|
+
uint256 oldAmount,
|
|
343
|
+
uint256 newAmount
|
|
344
|
+
) internal pure returns (bytes memory) {
|
|
345
|
+
IExecutorHelper.MakersDAI memory structData = abi.decode(data, (IExecutorHelper.MakersDAI));
|
|
346
|
+
uint128 _amount = uint128((uint256(uint128(structData.isRedeemAndAmount)) * newAmount) / oldAmount);
|
|
347
|
+
structData.isRedeemAndAmount |= uint256(_amount);
|
|
348
|
+
return abi.encode(structData);
|
|
349
|
+
}
|
|
276
350
|
}
|
|
@@ -436,4 +436,18 @@ library DexScaler {
|
|
|
436
436
|
|
|
437
437
|
return data.write16Bytes(startByte, oldAmount == 0 ? 0 : (qty * newAmount) / oldAmount, "scaleAmbient");
|
|
438
438
|
}
|
|
439
|
+
|
|
440
|
+
function scaleLighterV2(
|
|
441
|
+
bytes memory data,
|
|
442
|
+
uint256 oldAmount,
|
|
443
|
+
uint256 newAmount
|
|
444
|
+
) internal pure returns (bytes memory) {
|
|
445
|
+
uint256 startByte;
|
|
446
|
+
|
|
447
|
+
(, startByte) = data._readPool(startByte); // orderbook
|
|
448
|
+
|
|
449
|
+
(uint128 amount, ) = data._readUint128(startByte); // amount
|
|
450
|
+
|
|
451
|
+
return data.write16Bytes(startByte, oldAmount == 0 ? 0 : (amount * newAmount) / oldAmount, "scaleLighterV2");
|
|
452
|
+
}
|
|
439
453
|
}
|
|
@@ -51,9 +51,9 @@ library InputScalingHelperL2 {
|
|
|
51
51
|
BalancerBatch,
|
|
52
52
|
Mantis,
|
|
53
53
|
Wombat,
|
|
54
|
+
WooFiV2,
|
|
54
55
|
iZiSwap,
|
|
55
56
|
TraderJoeV2,
|
|
56
|
-
WooFiV2,
|
|
57
57
|
KyberDSLO,
|
|
58
58
|
LevelFiV2,
|
|
59
59
|
GMXGLP,
|
|
@@ -67,9 +67,12 @@ library InputScalingHelperL2 {
|
|
|
67
67
|
SwaapV2,
|
|
68
68
|
NomiswapStable,
|
|
69
69
|
ArbswapStable,
|
|
70
|
-
BancorV2,
|
|
71
70
|
BancorV3,
|
|
72
|
-
|
|
71
|
+
BancorV2,
|
|
72
|
+
Ambient,
|
|
73
|
+
Native,
|
|
74
|
+
LighterV2,
|
|
75
|
+
Bebop
|
|
73
76
|
}
|
|
74
77
|
|
|
75
78
|
function _getScaledInputData(bytes calldata inputData, uint256 newAmount) internal pure returns (bytes memory) {
|
|
@@ -338,6 +341,12 @@ library InputScalingHelperL2 {
|
|
|
338
341
|
swap.data = swap.data.newMantis(oldAmount, newAmount); // @dev use identical calldata structure as Mantis
|
|
339
342
|
} else if (DexIndex(functionSelectorIndex) == DexIndex.Ambient) {
|
|
340
343
|
swap.data = swap.data.newAmbient(oldAmount, newAmount);
|
|
344
|
+
} else if (DexIndex(functionSelectorIndex) == DexIndex.Native) {
|
|
345
|
+
revert("InputScalingHelper: Can not scale Native swap");
|
|
346
|
+
} else if (DexIndex(functionSelectorIndex) == DexIndex.LighterV2) {
|
|
347
|
+
swap.data = swap.data.newLighterV2(oldAmount, newAmount);
|
|
348
|
+
} else if (DexIndex(functionSelectorIndex) == DexIndex.Bebop) {
|
|
349
|
+
revert("InputScalingHelper: Can not scale Bebop swap");
|
|
341
350
|
} else {
|
|
342
351
|
revert("InputScaleHelper: Dex type not supported");
|
|
343
352
|
}
|
|
@@ -194,4 +194,12 @@ library ScalingDataL2Lib {
|
|
|
194
194
|
function newAmbient(bytes memory data, uint256 oldAmount, uint256 newAmount) internal pure returns (bytes memory) {
|
|
195
195
|
return data.scaleAmbient(oldAmount, newAmount);
|
|
196
196
|
}
|
|
197
|
+
|
|
198
|
+
function newLighterV2(
|
|
199
|
+
bytes memory data,
|
|
200
|
+
uint256 oldAmount,
|
|
201
|
+
uint256 newAmount
|
|
202
|
+
) internal pure returns (bytes memory) {
|
|
203
|
+
return data.scaleLighterV2(oldAmount, newAmount);
|
|
204
|
+
}
|
|
197
205
|
}
|
package/deployments/1-core.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"bulkSellerOffchain": "0x9ACc60F915dFcd190D270fc92567aE71776bd320",
|
|
25
25
|
"router": "0x00000000005BBB0EF59571E58418F9a4357b68A0",
|
|
26
26
|
"routerStatic": "0x263833d47eA3fA4a30f269323aba6a107f9eB14C",
|
|
27
|
-
"pendleSwap": "
|
|
27
|
+
"pendleSwap": "0x694ba57ee63614b8448b465c39f505ade5e594ad",
|
|
28
28
|
"routerHelper": "0x462206b11d185ef6F64B41D344325401C37EC335",
|
|
29
29
|
"ptOracle": "0xbbd487268A295531d299c125F3e5f749884A3e30",
|
|
30
30
|
"yieldContractFactoryV3": "0xdF3601014686674e53d1Fa52F7602525483F9122",
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "SY pufETH",
|
|
3
|
+
"SY": "0x253008ba4aE2f3E6488DC998a5321D4EB1a0c905",
|
|
4
|
+
"YT": "0x391B570e81e354a85a496952b66ADc831715f54f",
|
|
5
|
+
"PT": "0xC58aa33Ce619c7f7Ac4929DF357D0Ef762edbD23",
|
|
6
|
+
"market": "0x17BE998a578fD97687b24E83954FEc86Dc20c979",
|
|
7
|
+
"expiry": 1719446400,
|
|
8
|
+
"scalarRoot": "9721159133000000000",
|
|
9
|
+
"initAnchor": "1082044530000000000",
|
|
10
|
+
"lnFeeRateRoot": "999500333000000"
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "SY sUSDe",
|
|
3
|
+
"SY": "0x215a61dead7e1303b8571bb429491aeac5f2061e",
|
|
4
|
+
"YT": "0x20c8Cf9714339fd018898cB5De84c089e48d1c87",
|
|
5
|
+
"PT": "0xA0e3D7418A34057016403197064b70c127E01e19",
|
|
6
|
+
"market": "0x8f7627bD46B30E296Aa3AAbe1dF9Bfac10920B6E",
|
|
7
|
+
"expiry": 1714003200,
|
|
8
|
+
"scalarRoot": "5592798767000000000",
|
|
9
|
+
"initAnchor": "1064735782000000000",
|
|
10
|
+
"lnFeeRateRoot": "2995508979000000"
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "SY uniETH",
|
|
3
|
+
"SY": "0xc430dB19339A3051192233B4c49f9aB3DC6D16b7",
|
|
4
|
+
"YT": "0x5Ae176BbcB9A4461aEEeb97c90C2a80c2078006a",
|
|
5
|
+
"PT": "0xf2ce61699660f0f5800bA7D962741bA582d7346B",
|
|
6
|
+
"market": "0xbCE250b572955c044C0C4E75B2Fa8016c12cABF9",
|
|
7
|
+
"expiry": 1719446400,
|
|
8
|
+
"scalarRoot": "11678187760000000000",
|
|
9
|
+
"initAnchor": "1071033710000000000",
|
|
10
|
+
"lnFeeRateRoot": "999500333000000"
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "SY USDe",
|
|
3
|
+
"SY": "0x248d83f7Ac03CEbCC06d5C1A52c9B5d0EbB9936e",
|
|
4
|
+
"YT": "0xa99a4329c49369fb41e6cb6852535bbf3d4f749b",
|
|
5
|
+
"PT": "0x0869055C098Fe927E1816CAAfb16E9133e5258FE",
|
|
6
|
+
"market": "0xb4460e76D99eCaD95030204D3C25fb33C4833997",
|
|
7
|
+
"expiry": 1712188800,
|
|
8
|
+
"scalarRoot": "12474388716000000000",
|
|
9
|
+
"initAnchor": "1027315794000000000",
|
|
10
|
+
"lnFeeRateRoot": "999500333000000"
|
|
11
|
+
}
|
package/deployments/10-core.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"marketFactory": "0x17F100fB4bE2707675c6439468d38249DD993d58",
|
|
22
22
|
"router": "0x00000000005BBB0EF59571E58418F9a4357b68A0",
|
|
23
23
|
"routerStatic": "0x704478Dd72FD7F9B83d1F1e0fc18C14B54F034d0",
|
|
24
|
-
"pendleSwap": "
|
|
24
|
+
"pendleSwap": "0xD85d2F484DF4329746325e7398f3fC3E1915a173",
|
|
25
25
|
"routerHelper": "0x462206b11d185ef6F64B41D344325401C37EC335",
|
|
26
26
|
"ptOracle": "0x0b692f06CA82e3075dC537224450885Fd138e655",
|
|
27
27
|
"externalRewardDistributor": "0x1fBaCedf510dAA79dfD9B41227A7ba192d5D548D",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"marketFactory": "0xf5a7De2D276dbda3EEf1b62A9E718EFf4d29dDC8",
|
|
22
22
|
"router": "0x00000000005BBB0EF59571E58418F9a4357b68A0",
|
|
23
23
|
"routerStatic": "0xAdB09F65bd90d19e3148D9ccb693F3161C6DB3E8",
|
|
24
|
-
"pendleSwap": "
|
|
24
|
+
"pendleSwap": "0xCad581ee99a06BfcA69D8880df96BcC2d0DE3F2E",
|
|
25
25
|
"routerHelper": "0x462206b11d185ef6F64B41D344325401C37EC335",
|
|
26
26
|
"ptOracle": "0x7e16e4253CE4a1C96422a9567B23b4b5Ebc207F1",
|
|
27
27
|
"yieldContractFactoryV3": "0xEb38531db128EcA928aea1B1CE9E5609B15ba146",
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "SY ezETH",
|
|
3
|
+
"SY": "0x0dE802e3D6Cc9145A150bBDc8da9F988a98c5202",
|
|
4
|
+
"YT": "0x05735B65686635F5C87AA9D2dae494Fb2E838f38",
|
|
5
|
+
"PT": "0x8EA5040d423410f1fdc363379Af88e1DB5eA1C34",
|
|
6
|
+
"market": "0x60712e3C9136CF411C561b4E948d4d26637561e7",
|
|
7
|
+
"expiry": 1719446400,
|
|
8
|
+
"scalarRoot": "9777589131000000000",
|
|
9
|
+
"initAnchor": "1075550413000000000",
|
|
10
|
+
"lnFeeRateRoot": "999500333000000"
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "SY sETH-pteETHSilo",
|
|
3
|
+
"SY": "0x0ed2954AB05E59Ea63338e2a0c08C8316F245466",
|
|
4
|
+
"YT": "0x11C603EdBF3bA83D81B91069978dd5Ac57334c65",
|
|
5
|
+
"PT": "0xAa2c552279a394c9b0F4b668C288691c5B296182",
|
|
6
|
+
"market": "0x99e9028e274FEAFA2E1D8787E1eE6DE39C6F7724",
|
|
7
|
+
"expiry": 1714003200,
|
|
8
|
+
"scalarRoot": "18425612519000000000",
|
|
9
|
+
"initAnchor": "1026121050000000000",
|
|
10
|
+
"lnFeeRateRoot": "499875041000000"
|
|
11
|
+
}
|
package/deployments/56-core.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"marketFactory": "0x2bEa6BfD8fbFF45aA2a893EB3B6d85D10EFcC70E",
|
|
22
22
|
"router": "0x00000000005BBB0EF59571E58418F9a4357b68A0",
|
|
23
23
|
"routerStatic": "0x2700ADB035F82a11899ce1D3f1BF8451c296eABb",
|
|
24
|
-
"pendleSwap": "
|
|
24
|
+
"pendleSwap": "0xc7565d2282198b4b50ec29dee7b942e2b9bbc203",
|
|
25
25
|
"routerHelper": "0x09D65812dCD0f276e052583d41885cA5C7Dd0086",
|
|
26
26
|
"ptOracle": "0x70ee0A6DB4F5a2Dc4d9c0b57bE97B9987e75BAFD",
|
|
27
27
|
"yieldContractFactoryV3": "0x40Ae6da2d92aa3DCb7f8d7a7209FD12BDfcb7C85",
|