@pendle/core-v2 4.1.0 → 4.2.0
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/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v2/PendleGaugeV2.sol/PendleGaugeV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v2/PendleMarketFactoryV2.sol/PendleMarketFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v2/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/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/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/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 +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol/PendleSUSDESY.json +1016 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDESY.sol/PendleUSDESY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDESY.sol/PendleUSDESY.json +1063 -0
- 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/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/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 +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20SY.sol/PendleERC20SY.json +1013 -0
- 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/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/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/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/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/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.json +18 -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/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/{PendleRedStoneRateOracle.sol/PendleRedStoneRateOracle.json → PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json} +4 -4
- package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/samples/{PendleLpGlpOracle.sol/PendleLpGlpOracle.json → BoringLpGlpOracle.sol/BoringLpGlpOracle.json} +4 -4
- package/build/artifacts/contracts/oracles/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +4 -0
- package/build/artifacts/contracts/{offchain-helpers → oracles/samples}/BoringLpSeller.sol/BoringLpSeller.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +4 -0
- package/build/artifacts/contracts/{offchain-helpers → oracles/samples}/BoringPtSeller.sol/BoringPtSeller.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.json +157 -0
- 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/PendleSwapL2.dbg.json +1 -1
- 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/IExecutorHelperL2.sol/IExecutorHelperL2.dbg.json +1 -1
- 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/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
- 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/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/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/ScalingDataL2Lib.sol/ScalingDataL2Lib.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/oneinch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/oneinch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
- package/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol +16 -0
- package/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDESY.sol +55 -0
- package/contracts/core/StandardizedYield/implementations/PendleERC20SY.sol +64 -0
- package/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol +4 -4
- package/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol +1 -0
- package/contracts/oracles/PendlePtOracle.sol +3 -0
- package/contracts/oracles/PendlePtOracleLib.sol +2 -0
- package/contracts/oracles/{PendleRedStoneRateOracle.sol → PendleRedStoneRateOracleAdapter.sol} +1 -1
- package/contracts/oracles/samples/{PendleLpGlpOracle.sol → BoringLpGlpOracle.sol} +1 -1
- package/contracts/{offchain-helpers → oracles/samples}/BoringLpSeller.sol +1 -1
- package/contracts/{offchain-helpers → oracles/samples}/BoringPtSeller.sol +1 -1
- package/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol +78 -0
- package/deployments/1-markets/RSWETH-JUNE2024.json +11 -0
- package/deployments/1-markets/USDE-APR2024.json +11 -0
- package/deployments/42161-markets/SILO-WSTETH-ETH-DEC2024.json +11 -0
- package/deployments/core.ts +29 -0
- package/deployments/index.ts +4 -0
- package/deployments/markets/ape-june-29-2023.ts +3 -0
- package/deployments/markets/balancer-reth-dec-28-2023.ts +3 -0
- package/deployments/markets/balancer-wsteth-jun-27-2024.ts +3 -0
- package/deployments/markets/curve-fraxusdc-march-30-2023.ts +3 -0
- package/deployments/markets/index.ts +17 -0
- package/deployments/markets/looks-march-30-2023.ts +3 -0
- package/deployments/markets/steth-june-29-2023.ts +3 -0
- package/deployments/markets/steth-march-30-2023.ts +3 -0
- package/deployments/markets/types.ts +9 -0
- package/deployments/misc.ts +23 -0
- package/package.json +1 -1
- package/typechain-types/AlgebraMathHelper.ts +442 -0
- package/typechain-types/AutomationBase.ts +57 -0
- package/typechain-types/AutomationCompatible.ts +140 -0
- package/typechain-types/AutomationCompatibleInterface.ts +141 -0
- package/typechain-types/BoringLpGlpOracle.ts +145 -0
- package/typechain-types/BoringPtUsdChainlinkOracle.ts +202 -0
- package/typechain-types/BotDecisionHelperBase.ts +508 -0
- package/typechain-types/ChainlinkRelayerAutomation.ts +305 -0
- package/typechain-types/IAlgebraPool.ts +171 -0
- package/typechain-types/IBedrockStaking.ts +145 -0
- package/typechain-types/IBotDecisionHelper.ts +476 -0
- package/typechain-types/IEigenpieLRT.ts +106 -0
- package/typechain-types/IEigenpieStaking.ts +120 -0
- package/typechain-types/IHashflow.ts +159 -0
- package/typechain-types/IInterestUSTP.ts +156 -0
- package/typechain-types/ILongYieldDecisionHelper.ts +512 -0
- package/typechain-types/ILongYieldTradingBot.ts +703 -0
- package/typechain-types/IPMorphoRewardDistributor.ts +218 -0
- package/typechain-types/IPMorphoVaultSY.ts +115 -0
- package/typechain-types/IPPausingInterface.ts +112 -0
- package/typechain-types/IPVirtualGovernance.ts +142 -0
- package/typechain-types/IPWrappedStellaToken.ts +135 -0
- package/typechain-types/IPirexETH.ts +202 -0
- package/typechain-types/IRebasingUSTP.ts +133 -0
- package/typechain-types/IRedstonePriceFeed.ts +259 -0
- package/typechain-types/IShortYieldDecisionHelper.ts +476 -0
- package/typechain-types/IShortYieldTradingBot.ts +574 -0
- package/typechain-types/IStellaLendingPool.ts +100 -0
- package/typechain-types/IStellaLendingProxy.ts +144 -0
- package/typechain-types/ITradingBotBase.ts +373 -0
- package/typechain-types/IUSTP.ts +127 -0
- package/typechain-types/IVectorStakedVETH.ts +137 -0
- package/typechain-types/KyberNftManagerBase.ts +364 -0
- package/typechain-types/LongYieldActionLib.ts +57 -0
- package/typechain-types/LongYieldDecisionHelper.ts +682 -0
- package/typechain-types/LongYieldTradingBot.ts +2299 -0
- package/typechain-types/MarketExtLib.ts +81 -0
- package/typechain-types/PendleApxETHSY.ts +1326 -0
- package/typechain-types/PendleERC20SY.ts +1268 -0
- package/typechain-types/PendleEigenpieLRTSY.ts +1326 -0
- package/typechain-types/PendleEigenpieMstETHSY.ts +1326 -0
- package/typechain-types/PendleGaugeControllerSidechain2MF.ts +690 -0
- package/typechain-types/PendleHyperStellaETH.ts +1248 -0
- package/typechain-types/PendleIUSTPSY.ts +1255 -0
- package/typechain-types/PendleKyberElasticSY.ts +1803 -0
- package/typechain-types/PendleMorphoRewardDistributor.ts +579 -0
- package/typechain-types/PendleMorphoVaultSY.ts +1344 -0
- package/typechain-types/PendleRedStoneRateOracleAdapter.ts +114 -0
- package/typechain-types/PendleSUSDESY.ts +1281 -0
- package/typechain-types/PendleStUSDESY.ts +1281 -0
- package/typechain-types/PendleStellaHyperETH.ts +1235 -0
- package/typechain-types/PendleUSDESY.ts +1330 -0
- package/typechain-types/PendleUniETHSY.ts +1276 -0
- package/typechain-types/PendleVectorStakedVETHSY.ts +1290 -0
- package/typechain-types/PendleVirtualGovernance.ts +603 -0
- package/typechain-types/PendleWrappedStellaToken.ts +577 -0
- package/typechain-types/SYBaseWithDecimals.ts +1205 -0
- package/typechain-types/TradingBotBase.ts +1861 -0
- package/typechain-types/TvlLib.ts +215 -0
- package/typechain-types/factories/AlgebraMathHelper__factory.ts +316 -0
- package/typechain-types/factories/AutomationBase__factory.ts +69 -0
- package/typechain-types/factories/AutomationCompatibleInterface__factory.ts +67 -0
- package/typechain-types/factories/AutomationCompatible__factory.ts +72 -0
- package/typechain-types/factories/BoringLpGlpOracle__factory.ts +246 -0
- package/typechain-types/factories/BoringPtUsdChainlinkOracle__factory.ts +241 -0
- package/typechain-types/factories/BotDecisionHelperBase__factory.ts +835 -0
- package/typechain-types/factories/ChainlinkRelayerAutomation__factory.ts +238 -0
- package/typechain-types/factories/ChainlinkRelayerGelato__factory.ts +1 -1
- package/typechain-types/factories/IAlgebraPool__factory.ts +119 -0
- package/typechain-types/factories/IBedrockStaking__factory.ts +76 -0
- package/typechain-types/factories/IBotDecisionHelper__factory.ts +694 -0
- package/typechain-types/factories/IEigenpieLRT__factory.ts +49 -0
- package/typechain-types/factories/IEigenpieStaking__factory.ts +54 -0
- package/typechain-types/factories/IHashflow__factory.ts +113 -0
- package/typechain-types/factories/IInterestUSTP__factory.ts +75 -0
- package/typechain-types/factories/ILongYieldDecisionHelper__factory.ts +717 -0
- package/typechain-types/factories/ILongYieldTradingBot__factory.ts +764 -0
- package/typechain-types/factories/IPMorphoRewardDistributor__factory.ts +159 -0
- package/typechain-types/factories/IPMorphoVaultSY__factory.ts +49 -0
- package/typechain-types/factories/IPPausingInterface__factory.ts +40 -0
- package/typechain-types/factories/IPVirtualGovernance__factory.ts +69 -0
- package/typechain-types/factories/IPWrappedStellaToken__factory.ts +73 -0
- package/typechain-types/factories/IPirexETH__factory.ts +126 -0
- package/typechain-types/factories/IRebasingUSTP__factory.ts +49 -0
- package/typechain-types/factories/IRedstonePriceFeed__factory.ts +163 -0
- package/typechain-types/factories/IShortYieldDecisionHelper__factory.ts +698 -0
- package/typechain-types/factories/IShortYieldTradingBot__factory.ts +813 -0
- package/typechain-types/factories/IStellaLendingPool__factory.ts +52 -0
- package/typechain-types/factories/IStellaLendingProxy__factory.ts +74 -0
- package/typechain-types/factories/ITradingBotBase__factory.ts +366 -0
- package/typechain-types/factories/IUSTP__factory.ts +46 -0
- package/typechain-types/factories/IVectorStakedVETH__factory.ts +65 -0
- package/typechain-types/factories/KyberNftManagerBase__factory.ts +279 -0
- package/typechain-types/factories/LongYieldActionLib__factory.ts +207 -0
- package/typechain-types/factories/LongYieldDecisionHelper__factory.ts +1481 -0
- package/typechain-types/factories/LongYieldTradingBot__factory.ts +2159 -0
- package/typechain-types/factories/MarketExtLib__factory.ts +74 -0
- package/typechain-types/factories/PendleApxETHSY__factory.ts +1110 -0
- package/typechain-types/factories/PendleAuraWethVethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20SY__factory.ts +1074 -0
- package/typechain-types/factories/PendleERC4626SY__factory.ts +1 -1
- package/typechain-types/factories/PendleEigenpieLRTSY__factory.ts +1059 -0
- package/typechain-types/factories/PendleEigenpieMstETHSY__factory.ts +1125 -0
- package/typechain-types/factories/PendleGaugeControllerSidechain2MF__factory.ts +547 -0
- package/typechain-types/factories/PendleHyperStellaETH__factory.ts +1060 -0
- package/typechain-types/factories/PendleIUSTPSY__factory.ts +1061 -0
- package/typechain-types/factories/PendleKyberElasticSY__factory.ts +1505 -0
- package/typechain-types/factories/PendleMorphoRewardDistributor__factory.ts +441 -0
- package/typechain-types/factories/PendleMorphoVaultSY__factory.ts +1140 -0
- package/typechain-types/factories/PendlePtOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +144 -0
- package/typechain-types/factories/PendleSUSDESY__factory.ts +1068 -0
- package/typechain-types/factories/PendleStUSDESY__factory.ts +1071 -0
- package/typechain-types/factories/PendleStellaHyperETH__factory.ts +1034 -0
- package/typechain-types/factories/PendleSwap__factory.ts +1 -1
- package/typechain-types/factories/PendleUSDESY__factory.ts +1132 -0
- package/typechain-types/factories/PendleUniETHSY__factory.ts +1099 -0
- package/typechain-types/factories/PendleVectorStakedVETHSY__factory.ts +1091 -0
- package/typechain-types/factories/PendleVirtualGovernance__factory.ts +452 -0
- package/typechain-types/factories/PendleWrappedStellaToken__factory.ts +522 -0
- package/typechain-types/factories/PtAndLpToAsset__factory.ts +1 -1
- package/typechain-types/factories/SDKErrorsDirectory__factory.ts +17 -1
- package/typechain-types/factories/SYBaseWithDecimals__factory.ts +942 -0
- package/typechain-types/factories/TradingBotBase__factory.ts +1663 -0
- package/typechain-types/factories/TvlLib__factory.ts +309 -0
- package/typechain-types/hardhat.d.ts +93 -30
- package/typechain-types/index.ts +26 -12
- package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PendleRedStoneRateOracle.sol/PendleRedStoneRateOracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.json +0 -118
- package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.json +0 -144
- package/contracts/oracles/samples/PendlePtGlpOracle.sol +0 -49
- package/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol +0 -54
- package/typechain-types/ILimitOrderCallee.ts +0 -179
- package/typechain-types/IPOrderMixin.ts +0 -349
- package/typechain-types/PendleOrderMixin.ts +0 -888
- package/typechain-types/factories/ILimitOrderCallee__factory.ts +0 -92
- package/typechain-types/factories/IPOrderMixin__factory.ts +0 -450
- package/typechain-types/factories/PendleOrderMixin__factory.ts +0 -794
package/typechain-types/index.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
|
+
export type { AutomationBase } from "./AutomationBase";
|
|
5
|
+
export type { AutomationCompatible } from "./AutomationCompatible";
|
|
6
|
+
export type { AutomationCompatibleInterface } from "./AutomationCompatibleInterface";
|
|
4
7
|
export type { AggregatorInterface } from "./AggregatorInterface";
|
|
5
8
|
export type { AggregatorV2V3Interface } from "./AggregatorV2V3Interface";
|
|
6
9
|
export type { AggregatorV3Interface } from "./AggregatorV3Interface";
|
|
@@ -8,6 +11,7 @@ export type { AccessControlUpgradeable } from "./AccessControlUpgradeable";
|
|
|
8
11
|
export type { IAccessControlUpgradeable } from "./IAccessControlUpgradeable";
|
|
9
12
|
export type { IERC5267Upgradeable } from "./IERC5267Upgradeable";
|
|
10
13
|
export type { Initializable } from "./Initializable";
|
|
14
|
+
export type { ReentrancyGuardUpgradeable } from "./ReentrancyGuardUpgradeable";
|
|
11
15
|
export type { ContextUpgradeable } from "./ContextUpgradeable";
|
|
12
16
|
export type { EIP712Upgradeable } from "./EIP712Upgradeable";
|
|
13
17
|
export type { ERC165Upgradeable } from "./ERC165Upgradeable";
|
|
@@ -16,15 +20,16 @@ export type { IERC1822Proxiable } from "./IERC1822Proxiable";
|
|
|
16
20
|
export type { IERC1271 } from "./IERC1271";
|
|
17
21
|
export type { IERC1967 } from "./IERC1967";
|
|
18
22
|
export type { IERC5267 } from "./IERC5267";
|
|
23
|
+
export type { BeaconProxy } from "./BeaconProxy";
|
|
19
24
|
export type { IBeacon } from "./IBeacon";
|
|
20
25
|
export type { ERC1967Upgrade } from "./ERC1967Upgrade";
|
|
21
26
|
export type { Proxy } from "./Proxy";
|
|
22
27
|
export type { UUPSUpgradeable } from "./UUPSUpgradeable";
|
|
23
28
|
export type { Pausable } from "./Pausable";
|
|
24
29
|
export type { ERC20 } from "./ERC20";
|
|
30
|
+
export type { IERC20Permit } from "./IERC20Permit";
|
|
25
31
|
export type { ERC20Permit } from "./ERC20Permit";
|
|
26
32
|
export type { IERC20Metadata } from "./IERC20Metadata";
|
|
27
|
-
export type { IERC20Permit } from "./IERC20Permit";
|
|
28
33
|
export type { IERC20 } from "./IERC20";
|
|
29
34
|
export type { IERC721 } from "./IERC721";
|
|
30
35
|
export type { IERC721Receiver } from "./IERC721Receiver";
|
|
@@ -86,6 +91,8 @@ export type { PendleChainlinkRelayer } from "./PendleChainlinkRelayer";
|
|
|
86
91
|
export type { PendleConvexLPSY } from "./PendleConvexLPSY";
|
|
87
92
|
export type { PendleCurveFraxUsdcSY } from "./PendleCurveFraxUsdcSY";
|
|
88
93
|
export type { PendleCurveUsdd3CrvSY } from "./PendleCurveUsdd3CrvSY";
|
|
94
|
+
export type { PendleSUSDESY } from "./PendleSUSDESY";
|
|
95
|
+
export type { PendleUSDESY } from "./PendleUSDESY";
|
|
89
96
|
export type { PendleWEEthSY } from "./PendleWEEthSY";
|
|
90
97
|
export type { PendleFluxLendingSY } from "./PendleFluxLendingSY";
|
|
91
98
|
export type { GLPPreviewHelper } from "./GLPPreviewHelper";
|
|
@@ -107,6 +114,7 @@ export type { MlpPricingHelper } from "./MlpPricingHelper";
|
|
|
107
114
|
export type { PendleMlpSY } from "./PendleMlpSY";
|
|
108
115
|
export type { PendleArbitrumStakedEthSY } from "./PendleArbitrumStakedEthSY";
|
|
109
116
|
export type { PendleBridgedLSDSY } from "./PendleBridgedLSDSY";
|
|
117
|
+
export type { PendleERC20SY } from "./PendleERC20SY";
|
|
110
118
|
export type { PendleERC4626SY } from "./PendleERC4626SY";
|
|
111
119
|
export type { PendleEUSDSY } from "./PendleEUSDSY";
|
|
112
120
|
export type { PendleGDaiSY } from "./PendleGDaiSY";
|
|
@@ -258,7 +266,6 @@ export type { IStargateLP } from "./IStargateLP";
|
|
|
258
266
|
export type { IStargateRouter } from "./IStargateRouter";
|
|
259
267
|
export type { IStargateStaking } from "./IStargateStaking";
|
|
260
268
|
export type { IStETH } from "./IStETH";
|
|
261
|
-
export type { ISwETH } from "./ISwETH";
|
|
262
269
|
export type { IWETH } from "./IWETH";
|
|
263
270
|
export type { IWstETH } from "./IWstETH";
|
|
264
271
|
export type { IKelpDepositPool } from "./IKelpDepositPool";
|
|
@@ -278,6 +285,7 @@ export type { ISiloIncentiveController } from "./ISiloIncentiveController";
|
|
|
278
285
|
export type { ISiloLens } from "./ISiloLens";
|
|
279
286
|
export type { IStaderStakeManager } from "./IStaderStakeManager";
|
|
280
287
|
export type { IRswETH } from "./IRswETH";
|
|
288
|
+
export type { ISwETH } from "./ISwETH";
|
|
281
289
|
export type { IThenaFactory } from "./IThenaFactory";
|
|
282
290
|
export type { IThenaGaugeV2 } from "./IThenaGaugeV2";
|
|
283
291
|
export type { IThenaPair } from "./IThenaPair";
|
|
@@ -326,10 +334,9 @@ export type { ActionVePendleStatic } from "./ActionVePendleStatic";
|
|
|
326
334
|
export type { PendleRouterStatic } from "./PendleRouterStatic";
|
|
327
335
|
export type { SimulateHelper } from "./SimulateHelper";
|
|
328
336
|
export type { PendlePtOracle } from "./PendlePtOracle";
|
|
329
|
-
export type {
|
|
330
|
-
export type {
|
|
331
|
-
export type {
|
|
332
|
-
export type { PendlePtUsdChainlinkOracle } from "./PendlePtUsdChainlinkOracle";
|
|
337
|
+
export type { PendleRedStoneRateOracleAdapter } from "./PendleRedStoneRateOracleAdapter";
|
|
338
|
+
export type { BoringLpGlpOracle } from "./BoringLpGlpOracle";
|
|
339
|
+
export type { BoringPtUsdChainlinkOracle } from "./BoringPtUsdChainlinkOracle";
|
|
333
340
|
export type { ActionAddRemoveLiqV3 } from "./ActionAddRemoveLiqV3";
|
|
334
341
|
export type { ActionCallbackV3 } from "./ActionCallbackV3";
|
|
335
342
|
export type { ActionMiscV3 } from "./ActionMiscV3";
|
|
@@ -349,6 +356,9 @@ export type { PendleSwapBase } from "./PendleSwapBase";
|
|
|
349
356
|
export type { PendleSwapL1 } from "./PendleSwapL1";
|
|
350
357
|
export type { PendleSwapL2 } from "./PendleSwapL2";
|
|
351
358
|
|
|
359
|
+
export { AutomationBase__factory } from "./factories/AutomationBase__factory";
|
|
360
|
+
export { AutomationCompatible__factory } from "./factories/AutomationCompatible__factory";
|
|
361
|
+
export { AutomationCompatibleInterface__factory } from "./factories/AutomationCompatibleInterface__factory";
|
|
352
362
|
export { AggregatorInterface__factory } from "./factories/AggregatorInterface__factory";
|
|
353
363
|
export { AggregatorV2V3Interface__factory } from "./factories/AggregatorV2V3Interface__factory";
|
|
354
364
|
export { AggregatorV3Interface__factory } from "./factories/AggregatorV3Interface__factory";
|
|
@@ -356,6 +366,7 @@ export { AccessControlUpgradeable__factory } from "./factories/AccessControlUpgr
|
|
|
356
366
|
export { IAccessControlUpgradeable__factory } from "./factories/IAccessControlUpgradeable__factory";
|
|
357
367
|
export { IERC5267Upgradeable__factory } from "./factories/IERC5267Upgradeable__factory";
|
|
358
368
|
export { Initializable__factory } from "./factories/Initializable__factory";
|
|
369
|
+
export { ReentrancyGuardUpgradeable__factory } from "./factories/ReentrancyGuardUpgradeable__factory";
|
|
359
370
|
export { ContextUpgradeable__factory } from "./factories/ContextUpgradeable__factory";
|
|
360
371
|
export { EIP712Upgradeable__factory } from "./factories/EIP712Upgradeable__factory";
|
|
361
372
|
export { ERC165Upgradeable__factory } from "./factories/ERC165Upgradeable__factory";
|
|
@@ -364,15 +375,16 @@ export { IERC1822Proxiable__factory } from "./factories/IERC1822Proxiable__facto
|
|
|
364
375
|
export { IERC1271__factory } from "./factories/IERC1271__factory";
|
|
365
376
|
export { IERC1967__factory } from "./factories/IERC1967__factory";
|
|
366
377
|
export { IERC5267__factory } from "./factories/IERC5267__factory";
|
|
378
|
+
export { BeaconProxy__factory } from "./factories/BeaconProxy__factory";
|
|
367
379
|
export { IBeacon__factory } from "./factories/IBeacon__factory";
|
|
368
380
|
export { ERC1967Upgrade__factory } from "./factories/ERC1967Upgrade__factory";
|
|
369
381
|
export { Proxy__factory } from "./factories/Proxy__factory";
|
|
370
382
|
export { UUPSUpgradeable__factory } from "./factories/UUPSUpgradeable__factory";
|
|
371
383
|
export { Pausable__factory } from "./factories/Pausable__factory";
|
|
372
384
|
export { ERC20__factory } from "./factories/ERC20__factory";
|
|
385
|
+
export { IERC20Permit__factory } from "./factories/IERC20Permit__factory";
|
|
373
386
|
export { ERC20Permit__factory } from "./factories/ERC20Permit__factory";
|
|
374
387
|
export { IERC20Metadata__factory } from "./factories/IERC20Metadata__factory";
|
|
375
|
-
export { IERC20Permit__factory } from "./factories/IERC20Permit__factory";
|
|
376
388
|
export { IERC20__factory } from "./factories/IERC20__factory";
|
|
377
389
|
export { IERC721__factory } from "./factories/IERC721__factory";
|
|
378
390
|
export { IERC721Receiver__factory } from "./factories/IERC721Receiver__factory";
|
|
@@ -434,6 +446,8 @@ export { PendleChainlinkRelayer__factory } from "./factories/PendleChainlinkRela
|
|
|
434
446
|
export { PendleConvexLPSY__factory } from "./factories/PendleConvexLPSY__factory";
|
|
435
447
|
export { PendleCurveFraxUsdcSY__factory } from "./factories/PendleCurveFraxUsdcSY__factory";
|
|
436
448
|
export { PendleCurveUsdd3CrvSY__factory } from "./factories/PendleCurveUsdd3CrvSY__factory";
|
|
449
|
+
export { PendleSUSDESY__factory } from "./factories/PendleSUSDESY__factory";
|
|
450
|
+
export { PendleUSDESY__factory } from "./factories/PendleUSDESY__factory";
|
|
437
451
|
export { PendleWEEthSY__factory } from "./factories/PendleWEEthSY__factory";
|
|
438
452
|
export { PendleFluxLendingSY__factory } from "./factories/PendleFluxLendingSY__factory";
|
|
439
453
|
export { GLPPreviewHelper__factory } from "./factories/GLPPreviewHelper__factory";
|
|
@@ -455,6 +469,7 @@ export { MlpPricingHelper__factory } from "./factories/MlpPricingHelper__factory
|
|
|
455
469
|
export { PendleMlpSY__factory } from "./factories/PendleMlpSY__factory";
|
|
456
470
|
export { PendleArbitrumStakedEthSY__factory } from "./factories/PendleArbitrumStakedEthSY__factory";
|
|
457
471
|
export { PendleBridgedLSDSY__factory } from "./factories/PendleBridgedLSDSY__factory";
|
|
472
|
+
export { PendleERC20SY__factory } from "./factories/PendleERC20SY__factory";
|
|
458
473
|
export { PendleERC4626SY__factory } from "./factories/PendleERC4626SY__factory";
|
|
459
474
|
export { PendleEUSDSY__factory } from "./factories/PendleEUSDSY__factory";
|
|
460
475
|
export { PendleGDaiSY__factory } from "./factories/PendleGDaiSY__factory";
|
|
@@ -606,7 +621,6 @@ export { IStargateLP__factory } from "./factories/IStargateLP__factory";
|
|
|
606
621
|
export { IStargateRouter__factory } from "./factories/IStargateRouter__factory";
|
|
607
622
|
export { IStargateStaking__factory } from "./factories/IStargateStaking__factory";
|
|
608
623
|
export { IStETH__factory } from "./factories/IStETH__factory";
|
|
609
|
-
export { ISwETH__factory } from "./factories/ISwETH__factory";
|
|
610
624
|
export { IWETH__factory } from "./factories/IWETH__factory";
|
|
611
625
|
export { IWstETH__factory } from "./factories/IWstETH__factory";
|
|
612
626
|
export { IKelpDepositPool__factory } from "./factories/IKelpDepositPool__factory";
|
|
@@ -626,6 +640,7 @@ export { ISiloIncentiveController__factory } from "./factories/ISiloIncentiveCon
|
|
|
626
640
|
export { ISiloLens__factory } from "./factories/ISiloLens__factory";
|
|
627
641
|
export { IStaderStakeManager__factory } from "./factories/IStaderStakeManager__factory";
|
|
628
642
|
export { IRswETH__factory } from "./factories/IRswETH__factory";
|
|
643
|
+
export { ISwETH__factory } from "./factories/ISwETH__factory";
|
|
629
644
|
export { IThenaFactory__factory } from "./factories/IThenaFactory__factory";
|
|
630
645
|
export { IThenaGaugeV2__factory } from "./factories/IThenaGaugeV2__factory";
|
|
631
646
|
export { IThenaPair__factory } from "./factories/IThenaPair__factory";
|
|
@@ -674,10 +689,9 @@ export { ActionVePendleStatic__factory } from "./factories/ActionVePendleStatic_
|
|
|
674
689
|
export { PendleRouterStatic__factory } from "./factories/PendleRouterStatic__factory";
|
|
675
690
|
export { SimulateHelper__factory } from "./factories/SimulateHelper__factory";
|
|
676
691
|
export { PendlePtOracle__factory } from "./factories/PendlePtOracle__factory";
|
|
677
|
-
export {
|
|
678
|
-
export {
|
|
679
|
-
export {
|
|
680
|
-
export { PendlePtUsdChainlinkOracle__factory } from "./factories/PendlePtUsdChainlinkOracle__factory";
|
|
692
|
+
export { PendleRedStoneRateOracleAdapter__factory } from "./factories/PendleRedStoneRateOracleAdapter__factory";
|
|
693
|
+
export { BoringLpGlpOracle__factory } from "./factories/BoringLpGlpOracle__factory";
|
|
694
|
+
export { BoringPtUsdChainlinkOracle__factory } from "./factories/BoringPtUsdChainlinkOracle__factory";
|
|
681
695
|
export { ActionAddRemoveLiqV3__factory } from "./factories/ActionAddRemoveLiqV3__factory";
|
|
682
696
|
export { ActionCallbackV3__factory } from "./factories/ActionCallbackV3__factory";
|
|
683
697
|
export { ActionMiscV3__factory } from "./factories/ActionMiscV3__factory";
|
package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.json
DELETED
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "PendlePtGlpOracle",
|
|
4
|
-
"sourceName": "contracts/oracles/samples/PendlePtGlpOracle.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"inputs": [
|
|
8
|
-
{
|
|
9
|
-
"internalType": "address",
|
|
10
|
-
"name": "_ptOracle",
|
|
11
|
-
"type": "address"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"internalType": "uint32",
|
|
15
|
-
"name": "_twapDuration",
|
|
16
|
-
"type": "uint32"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"internalType": "address",
|
|
20
|
-
"name": "_market",
|
|
21
|
-
"type": "address"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"internalType": "address",
|
|
25
|
-
"name": "_glpManager",
|
|
26
|
-
"type": "address"
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
"stateMutability": "nonpayable",
|
|
30
|
-
"type": "constructor"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"inputs": [
|
|
34
|
-
{
|
|
35
|
-
"internalType": "bool",
|
|
36
|
-
"name": "increaseCardinalityRequired",
|
|
37
|
-
"type": "bool"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"internalType": "bool",
|
|
41
|
-
"name": "oldestObservationSatisfied",
|
|
42
|
-
"type": "bool"
|
|
43
|
-
}
|
|
44
|
-
],
|
|
45
|
-
"name": "OracleNotReady",
|
|
46
|
-
"type": "error"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"inputs": [],
|
|
50
|
-
"name": "decimals",
|
|
51
|
-
"outputs": [
|
|
52
|
-
{
|
|
53
|
-
"internalType": "uint8",
|
|
54
|
-
"name": "",
|
|
55
|
-
"type": "uint8"
|
|
56
|
-
}
|
|
57
|
-
],
|
|
58
|
-
"stateMutability": "pure",
|
|
59
|
-
"type": "function"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"inputs": [],
|
|
63
|
-
"name": "getPtPrice",
|
|
64
|
-
"outputs": [
|
|
65
|
-
{
|
|
66
|
-
"internalType": "uint256",
|
|
67
|
-
"name": "",
|
|
68
|
-
"type": "uint256"
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
"stateMutability": "view",
|
|
72
|
-
"type": "function"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"inputs": [],
|
|
76
|
-
"name": "glpManager",
|
|
77
|
-
"outputs": [
|
|
78
|
-
{
|
|
79
|
-
"internalType": "address",
|
|
80
|
-
"name": "",
|
|
81
|
-
"type": "address"
|
|
82
|
-
}
|
|
83
|
-
],
|
|
84
|
-
"stateMutability": "view",
|
|
85
|
-
"type": "function"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"inputs": [],
|
|
89
|
-
"name": "market",
|
|
90
|
-
"outputs": [
|
|
91
|
-
{
|
|
92
|
-
"internalType": "address",
|
|
93
|
-
"name": "",
|
|
94
|
-
"type": "address"
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
|
-
"stateMutability": "view",
|
|
98
|
-
"type": "function"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"inputs": [],
|
|
102
|
-
"name": "twapDuration",
|
|
103
|
-
"outputs": [
|
|
104
|
-
{
|
|
105
|
-
"internalType": "uint32",
|
|
106
|
-
"name": "",
|
|
107
|
-
"type": "uint32"
|
|
108
|
-
}
|
|
109
|
-
],
|
|
110
|
-
"stateMutability": "view",
|
|
111
|
-
"type": "function"
|
|
112
|
-
}
|
|
113
|
-
],
|
|
114
|
-
"bytecode": "0x60e06040523480156200001157600080fd5b50604051620010c0380380620010c083398101604081905262000034916200012f565b63ffffffff831660808190526001600160a01b0383811660a081905283821660c05260405162439f4b60e91b815260048101919091526024810192909252600091829187169063873e960090604401606060405180830381865afa158015620000a1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000c79190620001a7565b92505091508180620000d7575080155b15620001065760405163685ddbe760e11b81528215156004820152811515602482015260440160405180910390fd5b505050505050620001f9565b80516001600160a01b03811681146200012a57600080fd5b919050565b600080600080608085870312156200014657600080fd5b620001518562000112565b9350602085015163ffffffff811681146200016b57600080fd5b92506200017b6040860162000112565b91506200018b6060860162000112565b905092959194509250565b805180151581146200012a57600080fd5b600080600060608486031215620001bd57600080fd5b620001c88462000196565b9250602084015161ffff81168114620001e057600080fd5b9150620001f06040850162000196565b90509250925092565b60805160a05160c051610e846200023c6000396000818161010601526101a201526000818160b101526101380152600081816061015261015a0152610e846000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c806326d895451461005c578063313ce5671461009d57806380f55605146100ac578063bc3ff1dc146100eb578063fa6db1bc14610101575b600080fd5b6100837f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff90911681526020015b60405180910390f35b60405160128152602001610094565b6100d37f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610094565b6100f3610128565b604051908152602001610094565b6100d37f000000000000000000000000000000000000000000000000000000000000000081565b60008061017e6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000610237565b60405163e245b5af60e01b8152600160048201529091506000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063e245b5af90602401602060405180830381865afa1580156101e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061020d9190610b7f565b905068327cb2734119d3b7a9601e1b6102268383610bae565b6102309190610bdb565b9250505090565b600080600061024585610289565b915091508082106102635761025a85856104b9565b92505050610283565b808261026f87876104b9565b6102799190610bae565b61025a9190610bdb565b92915050565b600080600080846001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156102cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102f19190610c07565b9250509150816001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610334573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103589190610b7f565b93506000816001600160a01b031663d2a3584e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561039a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103be9190610b7f565b9050816001600160a01b031663516399df6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104229190610c54565b8015610497575043826001600160a01b03166360e0a9e16040518163ffffffff1660e01b8152600401602060405180830381865afa158015610468573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061048c9190610c76565b6001600160801b0316145b156104a4578093506104b1565b6104ae858261058e565b93505b505050915091565b600080836001600160a01b031663e184c9be6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e9190610b7f565b905042811161053857670de0b6b3a7640000915050610283565b600061054485856105a6565b905060006105524284610c9f565b9050600061056861056384846106cd565b61070e565b905061057c670de0b6b3a764000082610721565b945050505050610283565b5092915050565b600081831161059d578161059f565b825b9392505050565b6040805160028082526060820183526000928392919060208301908036833701905050905082816000815181106105df576105df610cc8565b63ffffffff9092166020928302919091019091015260405163883bdbfd60e01b81526000906001600160a01b0386169063883bdbfd90610623908590600401610cde565b600060405180830381865afa158015610640573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106689190810190610d44565b90508363ffffffff168160008151811061068457610684610cc8565b60200260200101518260018151811061069f5761069f610cc8565b60200260200101516106b19190610e08565b6106bb9190610e28565b6001600160d81b031695945050505050565b6000806106df6201518061016d610bae565b6106e98486610bae565b6106f39190610bdb565b905061070661070182610750565b610766565b949350505050565b60008082121561071d57600080fd5b5090565b600080610736670de0b6b3a764000085610bae565b905082818161074757610747610bc5565b04949350505050565b60006001600160ff1b0382111561071d57600080fd5b6000680238fd42c5cf03ffff19821215801561078b575068070c1cc73b00c800008213155b6107ce5760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b604482015260640160405180910390fd5b6000821215610806576107e382600003610766565b6a0c097ce7bc90715b34b9f160241b816107ff576107ff610bc5565b0592915050565b60006806f05b59d3b2000000831261084457506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b61087a565b6803782dace9d9000000831261087657506803782dace9d8ffffff19909101906b1425982cf597cd205cef738061087a565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac6200000084126108ca5768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d6310000008412610906576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b18800000841261094057682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c400000841261097a576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac620000084126109b357680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d6310000084126109ec5768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412610a25576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c400008412610a5e5768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b600060208284031215610b9157600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761028357610283610b98565b634e487b7160e01b600052601260045260246000fd5b600082610bea57610bea610bc5565b500490565b6001600160a01b0381168114610c0457600080fd5b50565b600080600060608486031215610c1c57600080fd5b8351610c2781610bef565b6020850151909350610c3881610bef565b6040850151909250610c4981610bef565b809150509250925092565b600060208284031215610c6657600080fd5b8151801515811461059f57600080fd5b600060208284031215610c8857600080fd5b81516001600160801b038116811461059f57600080fd5b8181038181111561028357610283610b98565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b81811015610d1c57835163ffffffff1683529284019291840191600101610cfa565b50909695505050505050565b80516001600160d81b0381168114610d3f57600080fd5b919050565b60006020808385031215610d5757600080fd5b82516001600160401b0380821115610d6e57600080fd5b818501915085601f830112610d8257600080fd5b815181811115610d9457610d94610cb2565b8060051b604051601f19603f83011681018181108582111715610db957610db9610cb2565b604052918252848201925083810185019188831115610dd757600080fd5b938501935b82851015610dfc57610ded85610d28565b84529385019392850192610ddc565b98975050505050505050565b6001600160d81b0382811682821603908082111561058757610587610b98565b60006001600160d81b0383811680610e4257610e42610bc5565b9216919091049291505056fea26469706673582212200486246353a1eb5a8df2bdbe5229f521dbbadc9f311ee6bf38a91746dfda877464736f6c63430008170033",
|
|
115
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c806326d895451461005c578063313ce5671461009d57806380f55605146100ac578063bc3ff1dc146100eb578063fa6db1bc14610101575b600080fd5b6100837f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff90911681526020015b60405180910390f35b60405160128152602001610094565b6100d37f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610094565b6100f3610128565b604051908152602001610094565b6100d37f000000000000000000000000000000000000000000000000000000000000000081565b60008061017e6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000610237565b60405163e245b5af60e01b8152600160048201529091506000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063e245b5af90602401602060405180830381865afa1580156101e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061020d9190610b7f565b905068327cb2734119d3b7a9601e1b6102268383610bae565b6102309190610bdb565b9250505090565b600080600061024585610289565b915091508082106102635761025a85856104b9565b92505050610283565b808261026f87876104b9565b6102799190610bae565b61025a9190610bdb565b92915050565b600080600080846001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156102cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102f19190610c07565b9250509150816001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610334573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103589190610b7f565b93506000816001600160a01b031663d2a3584e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561039a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103be9190610b7f565b9050816001600160a01b031663516399df6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104229190610c54565b8015610497575043826001600160a01b03166360e0a9e16040518163ffffffff1660e01b8152600401602060405180830381865afa158015610468573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061048c9190610c76565b6001600160801b0316145b156104a4578093506104b1565b6104ae858261058e565b93505b505050915091565b600080836001600160a01b031663e184c9be6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e9190610b7f565b905042811161053857670de0b6b3a7640000915050610283565b600061054485856105a6565b905060006105524284610c9f565b9050600061056861056384846106cd565b61070e565b905061057c670de0b6b3a764000082610721565b945050505050610283565b5092915050565b600081831161059d578161059f565b825b9392505050565b6040805160028082526060820183526000928392919060208301908036833701905050905082816000815181106105df576105df610cc8565b63ffffffff9092166020928302919091019091015260405163883bdbfd60e01b81526000906001600160a01b0386169063883bdbfd90610623908590600401610cde565b600060405180830381865afa158015610640573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106689190810190610d44565b90508363ffffffff168160008151811061068457610684610cc8565b60200260200101518260018151811061069f5761069f610cc8565b60200260200101516106b19190610e08565b6106bb9190610e28565b6001600160d81b031695945050505050565b6000806106df6201518061016d610bae565b6106e98486610bae565b6106f39190610bdb565b905061070661070182610750565b610766565b949350505050565b60008082121561071d57600080fd5b5090565b600080610736670de0b6b3a764000085610bae565b905082818161074757610747610bc5565b04949350505050565b60006001600160ff1b0382111561071d57600080fd5b6000680238fd42c5cf03ffff19821215801561078b575068070c1cc73b00c800008213155b6107ce5760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b604482015260640160405180910390fd5b6000821215610806576107e382600003610766565b6a0c097ce7bc90715b34b9f160241b816107ff576107ff610bc5565b0592915050565b60006806f05b59d3b2000000831261084457506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b61087a565b6803782dace9d9000000831261087657506803782dace9d8ffffff19909101906b1425982cf597cd205cef738061087a565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac6200000084126108ca5768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d6310000008412610906576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b18800000841261094057682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c400000841261097a576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac620000084126109b357680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d6310000084126109ec5768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412610a25576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c400008412610a5e5768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b600060208284031215610b9157600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761028357610283610b98565b634e487b7160e01b600052601260045260246000fd5b600082610bea57610bea610bc5565b500490565b6001600160a01b0381168114610c0457600080fd5b50565b600080600060608486031215610c1c57600080fd5b8351610c2781610bef565b6020850151909350610c3881610bef565b6040850151909250610c4981610bef565b809150509250925092565b600060208284031215610c6657600080fd5b8151801515811461059f57600080fd5b600060208284031215610c8857600080fd5b81516001600160801b038116811461059f57600080fd5b8181038181111561028357610283610b98565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b81811015610d1c57835163ffffffff1683529284019291840191600101610cfa565b50909695505050505050565b80516001600160d81b0381168114610d3f57600080fd5b919050565b60006020808385031215610d5757600080fd5b82516001600160401b0380821115610d6e57600080fd5b818501915085601f830112610d8257600080fd5b815181811115610d9457610d94610cb2565b8060051b604051601f19603f83011681018181108582111715610db957610db9610cb2565b604052918252848201925083810185019188831115610dd757600080fd5b938501935b82851015610dfc57610ded85610d28565b84529385019392850192610ddc565b98975050505050505050565b6001600160d81b0382811682821603908082111561058757610587610b98565b60006001600160d81b0383811680610e4257610e42610bc5565b9216919091049291505056fea26469706673582212200486246353a1eb5a8df2bdbe5229f521dbbadc9f311ee6bf38a91746dfda877464736f6c63430008170033",
|
|
116
|
-
"linkReferences": {},
|
|
117
|
-
"deployedLinkReferences": {}
|
|
118
|
-
}
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "PendlePtUsdChainlinkOracle",
|
|
4
|
-
"sourceName": "contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"inputs": [
|
|
8
|
-
{
|
|
9
|
-
"internalType": "address",
|
|
10
|
-
"name": "_ptOracle",
|
|
11
|
-
"type": "address"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"internalType": "uint32",
|
|
15
|
-
"name": "_twapDuration",
|
|
16
|
-
"type": "uint32"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"internalType": "address",
|
|
20
|
-
"name": "_market",
|
|
21
|
-
"type": "address"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"internalType": "address",
|
|
25
|
-
"name": "_feed",
|
|
26
|
-
"type": "address"
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
"stateMutability": "nonpayable",
|
|
30
|
-
"type": "constructor"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"inputs": [
|
|
34
|
-
{
|
|
35
|
-
"internalType": "bool",
|
|
36
|
-
"name": "increaseCardinalityRequired",
|
|
37
|
-
"type": "bool"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"internalType": "bool",
|
|
41
|
-
"name": "oldestObservationSatisfied",
|
|
42
|
-
"type": "bool"
|
|
43
|
-
}
|
|
44
|
-
],
|
|
45
|
-
"name": "OracleNotReady",
|
|
46
|
-
"type": "error"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"inputs": [],
|
|
50
|
-
"name": "decimals",
|
|
51
|
-
"outputs": [
|
|
52
|
-
{
|
|
53
|
-
"internalType": "uint8",
|
|
54
|
-
"name": "",
|
|
55
|
-
"type": "uint8"
|
|
56
|
-
}
|
|
57
|
-
],
|
|
58
|
-
"stateMutability": "pure",
|
|
59
|
-
"type": "function"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"inputs": [],
|
|
63
|
-
"name": "feed",
|
|
64
|
-
"outputs": [
|
|
65
|
-
{
|
|
66
|
-
"internalType": "address",
|
|
67
|
-
"name": "",
|
|
68
|
-
"type": "address"
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
"stateMutability": "view",
|
|
72
|
-
"type": "function"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"inputs": [],
|
|
76
|
-
"name": "feedDecimals",
|
|
77
|
-
"outputs": [
|
|
78
|
-
{
|
|
79
|
-
"internalType": "uint8",
|
|
80
|
-
"name": "",
|
|
81
|
-
"type": "uint8"
|
|
82
|
-
}
|
|
83
|
-
],
|
|
84
|
-
"stateMutability": "view",
|
|
85
|
-
"type": "function"
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"inputs": [],
|
|
89
|
-
"name": "getPtPrice",
|
|
90
|
-
"outputs": [
|
|
91
|
-
{
|
|
92
|
-
"internalType": "uint256",
|
|
93
|
-
"name": "",
|
|
94
|
-
"type": "uint256"
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
|
-
"stateMutability": "view",
|
|
98
|
-
"type": "function"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"inputs": [],
|
|
102
|
-
"name": "market",
|
|
103
|
-
"outputs": [
|
|
104
|
-
{
|
|
105
|
-
"internalType": "address",
|
|
106
|
-
"name": "",
|
|
107
|
-
"type": "address"
|
|
108
|
-
}
|
|
109
|
-
],
|
|
110
|
-
"stateMutability": "view",
|
|
111
|
-
"type": "function"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"inputs": [],
|
|
115
|
-
"name": "ptOracle",
|
|
116
|
-
"outputs": [
|
|
117
|
-
{
|
|
118
|
-
"internalType": "address",
|
|
119
|
-
"name": "",
|
|
120
|
-
"type": "address"
|
|
121
|
-
}
|
|
122
|
-
],
|
|
123
|
-
"stateMutability": "view",
|
|
124
|
-
"type": "function"
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"inputs": [],
|
|
128
|
-
"name": "twapDuration",
|
|
129
|
-
"outputs": [
|
|
130
|
-
{
|
|
131
|
-
"internalType": "uint32",
|
|
132
|
-
"name": "",
|
|
133
|
-
"type": "uint32"
|
|
134
|
-
}
|
|
135
|
-
],
|
|
136
|
-
"stateMutability": "view",
|
|
137
|
-
"type": "function"
|
|
138
|
-
}
|
|
139
|
-
],
|
|
140
|
-
"bytecode": "0x61012060405234801561001157600080fd5b5060405161088c38038061088c833981016040819052610030916101a1565b6001600160a01b0380851660805263ffffffff841660a05282811660c052811660e08190526040805163313ce56760e01b8152905163313ce567916004808201926020929091908290030181865afa158015610090573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100b49190610200565b60ff166101005260c05160a05160405162439f4b60e91b81526001600160a01b03928316600482015263ffffffff909116602482015260009182919087169063873e960090604401606060405180830381865afa158015610119573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061013d919061023a565b9250509150818061014c575080155b1561017a5760405163685ddbe760e11b81528215156004820152811515602482015260440160405180910390fd5b505050505050610286565b80516001600160a01b038116811461019c57600080fd5b919050565b600080600080608085870312156101b757600080fd5b6101c085610185565b9350602085015163ffffffff811681146101d957600080fd5b92506101e760408601610185565b91506101f560608601610185565b905092959194509250565b60006020828403121561021257600080fd5b815160ff8116811461022357600080fd5b9392505050565b8051801515811461019c57600080fd5b60008060006060848603121561024f57600080fd5b6102588461022a565b9250602084015161ffff8116811461026f57600080fd5b915061027d6040850161022a565b90509250925092565b60805160a05160c05160e051610100516105936102f9600039600081816101700152818161032a01528181610358015261039b01526000818161010c01526102a401526000818161013301526101a901526000818160bb01526101d10152600081816077015261020201526105936000f3fe608060405234801561001057600080fd5b506004361061006d5760003560e01c806305d7b9a21461007257806326d89545146100b6578063313ce567146100f257806337a7b7d81461010757806380f556051461012e578063bc3ff1dc14610155578063c23953d01461016b575b600080fd5b6100997f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100dd7f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff90911681526020016100ad565b60125b60405160ff90911681526020016100ad565b6100997f000000000000000000000000000000000000000000000000000000000000000081565b6100997f000000000000000000000000000000000000000000000000000000000000000081565b61015d610192565b6040519081526020016100ad565b6100f57f000000000000000000000000000000000000000000000000000000000000000081565b60405163abca0eab60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301527f000000000000000000000000000000000000000000000000000000000000000063ffffffff16602483015260009182917f0000000000000000000000000000000000000000000000000000000000000000169063abca0eab90604401602060405180830381865afa158015610249573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061026d91906103dc565b9050600061027961029f565b9050670de0b6b3a764000061028e838361040b565b6102989190610428565b9250505090565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166350d25bcd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610300573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032491906103dc565b905060127f000000000000000000000000000000000000000000000000000000000000000060ff16106103965761037c60127f000000000000000000000000000000000000000000000000000000000000000061044a565b61038790600a610547565b6103919082610428565b6103d6565b6103c17f0000000000000000000000000000000000000000000000000000000000000000601261044a565b6103cc90600a610547565b6103d6908261040b565b91505090565b6000602082840312156103ee57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610422576104226103f5565b92915050565b60008261044557634e487b7160e01b600052601260045260246000fd5b500490565b60ff8281168282160390811115610422576104226103f5565b600181815b8085111561049e578160001904821115610484576104846103f5565b8085161561049157918102915b93841c9390800290610468565b509250929050565b6000826104b557506001610422565b816104c257506000610422565b81600181146104d857600281146104e2576104fe565b6001915050610422565b60ff8411156104f3576104f36103f5565b50506001821b610422565b5060208310610133831016604e8410600b8410161715610521575081810a610422565b61052b8383610463565b806000190482111561053f5761053f6103f5565b029392505050565b600061055660ff8416836104a6565b939250505056fea2646970667358221220c3757e8231dc5e64f0ddd1e7aba2886cdb8f1ba6100b436ed23db3ca6abc003c64736f6c63430008170033",
|
|
141
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061006d5760003560e01c806305d7b9a21461007257806326d89545146100b6578063313ce567146100f257806337a7b7d81461010757806380f556051461012e578063bc3ff1dc14610155578063c23953d01461016b575b600080fd5b6100997f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100dd7f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff90911681526020016100ad565b60125b60405160ff90911681526020016100ad565b6100997f000000000000000000000000000000000000000000000000000000000000000081565b6100997f000000000000000000000000000000000000000000000000000000000000000081565b61015d610192565b6040519081526020016100ad565b6100f57f000000000000000000000000000000000000000000000000000000000000000081565b60405163abca0eab60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301527f000000000000000000000000000000000000000000000000000000000000000063ffffffff16602483015260009182917f0000000000000000000000000000000000000000000000000000000000000000169063abca0eab90604401602060405180830381865afa158015610249573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061026d91906103dc565b9050600061027961029f565b9050670de0b6b3a764000061028e838361040b565b6102989190610428565b9250505090565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166350d25bcd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610300573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032491906103dc565b905060127f000000000000000000000000000000000000000000000000000000000000000060ff16106103965761037c60127f000000000000000000000000000000000000000000000000000000000000000061044a565b61038790600a610547565b6103919082610428565b6103d6565b6103c17f0000000000000000000000000000000000000000000000000000000000000000601261044a565b6103cc90600a610547565b6103d6908261040b565b91505090565b6000602082840312156103ee57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610422576104226103f5565b92915050565b60008261044557634e487b7160e01b600052601260045260246000fd5b500490565b60ff8281168282160390811115610422576104226103f5565b600181815b8085111561049e578160001904821115610484576104846103f5565b8085161561049157918102915b93841c9390800290610468565b509250929050565b6000826104b557506001610422565b816104c257506000610422565b81600181146104d857600281146104e2576104fe565b6001915050610422565b60ff8411156104f3576104f36103f5565b50506001821b610422565b5060208310610133831016604e8410600b8410161715610521575081810a610422565b61052b8383610463565b806000190482111561053f5761053f6103f5565b029392505050565b600061055660ff8416836104a6565b939250505056fea2646970667358221220c3757e8231dc5e64f0ddd1e7aba2886cdb8f1ba6100b436ed23db3ca6abc003c64736f6c63430008170033",
|
|
142
|
-
"linkReferences": {},
|
|
143
|
-
"deployedLinkReferences": {}
|
|
144
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
-
pragma solidity ^0.8.17;
|
|
3
|
-
|
|
4
|
-
import "../PendlePtOracleLib.sol";
|
|
5
|
-
import "../../interfaces/IPPtOracle.sol";
|
|
6
|
-
import "../../interfaces/GMX/IGlpManager.sol";
|
|
7
|
-
import "../../core/libraries/math/PMath.sol";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @notice The returned price from this contract is multiply with the USD price of GLP read from
|
|
11
|
-
* GLPManager contract
|
|
12
|
-
*
|
|
13
|
-
* @dev This contract uses the PendlePtOracleLibrary to get the price instead of calling PendlePtOracle contract
|
|
14
|
-
* to save 1 external call gas consumption
|
|
15
|
-
*/
|
|
16
|
-
contract PendlePtGlpOracle {
|
|
17
|
-
using PendlePtOracleLib for IPMarket;
|
|
18
|
-
|
|
19
|
-
uint32 public immutable twapDuration;
|
|
20
|
-
address public immutable market;
|
|
21
|
-
address public immutable glpManager;
|
|
22
|
-
error OracleNotReady(bool increaseCardinalityRequired, bool oldestObservationSatisfied);
|
|
23
|
-
|
|
24
|
-
constructor(address _ptOracle, uint32 _twapDuration, address _market, address _glpManager) {
|
|
25
|
-
twapDuration = _twapDuration;
|
|
26
|
-
market = _market;
|
|
27
|
-
glpManager = _glpManager;
|
|
28
|
-
|
|
29
|
-
(bool increaseCardinalityRequired, , bool oldestObservationSatisfied) = IPPtOracle(_ptOracle).getOracleState(
|
|
30
|
-
market,
|
|
31
|
-
twapDuration
|
|
32
|
-
);
|
|
33
|
-
|
|
34
|
-
if (increaseCardinalityRequired || !oldestObservationSatisfied) {
|
|
35
|
-
revert OracleNotReady(increaseCardinalityRequired, oldestObservationSatisfied);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
function getPtPrice() external view virtual returns (uint256) {
|
|
40
|
-
// using library directly to save 1 external call (gas optimization)
|
|
41
|
-
uint256 ptRate = IPMarket(market).getPtToAssetRate(twapDuration);
|
|
42
|
-
uint256 assetPrice = IGlpManager(glpManager).getPrice(true);
|
|
43
|
-
return (assetPrice * ptRate) / (10 ** 30);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
function decimals() external pure virtual returns (uint8) {
|
|
47
|
-
return 18;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
-
pragma solidity ^0.8.17;
|
|
3
|
-
|
|
4
|
-
import "../../interfaces/IPPtOracle.sol";
|
|
5
|
-
import "../../core/libraries/math/PMath.sol";
|
|
6
|
-
import {AggregatorV2V3Interface as IChainlinkAggregator} from "@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface.sol";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @notice The returned price from this contract is multiply with the default USD price of asset
|
|
10
|
-
* read from Chainlink Oracles
|
|
11
|
-
*
|
|
12
|
-
* @dev The ptRate is fetched from PendlePtOracle contract
|
|
13
|
-
*/
|
|
14
|
-
contract PendlePtUsdChainlinkOracle {
|
|
15
|
-
address public immutable ptOracle;
|
|
16
|
-
uint32 public immutable twapDuration;
|
|
17
|
-
address public immutable market;
|
|
18
|
-
address public immutable feed;
|
|
19
|
-
uint8 public immutable feedDecimals;
|
|
20
|
-
|
|
21
|
-
error OracleNotReady(bool increaseCardinalityRequired, bool oldestObservationSatisfied);
|
|
22
|
-
|
|
23
|
-
constructor(address _ptOracle, uint32 _twapDuration, address _market, address _feed) {
|
|
24
|
-
ptOracle = _ptOracle;
|
|
25
|
-
twapDuration = _twapDuration;
|
|
26
|
-
market = _market;
|
|
27
|
-
feed = _feed;
|
|
28
|
-
feedDecimals = IChainlinkAggregator(feed).decimals();
|
|
29
|
-
|
|
30
|
-
(bool increaseCardinalityRequired, , bool oldestObservationSatisfied) = IPPtOracle(_ptOracle).getOracleState(
|
|
31
|
-
market,
|
|
32
|
-
twapDuration
|
|
33
|
-
);
|
|
34
|
-
|
|
35
|
-
if (increaseCardinalityRequired || !oldestObservationSatisfied) {
|
|
36
|
-
revert OracleNotReady(increaseCardinalityRequired, oldestObservationSatisfied);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
function getPtPrice() external view virtual returns (uint256) {
|
|
41
|
-
uint256 ptRate = IPPtOracle(ptOracle).getPtToAssetRate(market, twapDuration);
|
|
42
|
-
uint256 assetPrice = _getUnderlyingAssetPrice();
|
|
43
|
-
return (assetPrice * ptRate) / PMath.ONE;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
function _getUnderlyingAssetPrice() internal view virtual returns (uint256) {
|
|
47
|
-
uint256 rawPrice = uint256(IChainlinkAggregator(feed).latestAnswer());
|
|
48
|
-
return feedDecimals < 18 ? rawPrice * 10 ** (18 - feedDecimals) : rawPrice / 10 ** (feedDecimals - 18);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
function decimals() external pure virtual returns (uint8) {
|
|
52
|
-
return 18;
|
|
53
|
-
}
|
|
54
|
-
}
|