@pendle/core-v2 4.2.3 → 4.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/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/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
- 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/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- 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/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
- package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.json +2 -2
- package/build/artifacts/contracts/core/Market/v1/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v1/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
- package/build/artifacts/contracts/core/Market/v2/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v2/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.json +2 -2
- package/build/artifacts/contracts/core/Market/v2/PendleMarketFactoryV2.sol/PendleMarketFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v2/PendleMarketFactoryV2.sol/PendleMarketFactoryV2.json +2 -2
- package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.json +2 -2
- package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.json +2 -2
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.json +2 -2
- 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/implementations/AaveV3/PendleAaveV3SY.sol/PendleAaveV3SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3SY.sol/PendleAaveV3SY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraSwEthBbAWethSYV2.sol/AuraSwEthBbAWethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraSwEthBbAWethSYV2.sol/AuraSwEthBbAWethSYV2.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraWethVethSYUpg.sol/AuraWethVethSYUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraWethVethSYUpg.sol/AuraWethVethSYUpg.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/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/BedRock/PendleUniETHSY.sol/PendleUniETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BedRock/PendleUniETHSY.sol/PendleUniETHSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol/PendleSUSDESY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol/PendleSUSDESY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDESY.sol/PendleUSDESY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDESY.sol/PendleUSDESY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthSY.sol/PendleWEEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthSY.sol/PendleWEEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/FluxTokenLib.sol/FluxTokenLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/FluxTokenLib.sol/FluxTokenLib.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/PendleFluxLendingSY.sol/PendleFluxLendingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/PendleFluxLendingSY.sol/PendleFluxLendingSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGMV2TokenSY.sol/PendleGMV2TokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGMV2TokenSY.sol/PendleGMV2TokenSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +9 -28
- package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/PendleHlpSY.sol/PendleHlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/PendleHlpSY.sol/PendleHlpSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/KelpDAO/PendleRsETHSY.sol/PendleRsETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/KelpDAO/PendleRsETHSY.sol/PendleRsETHSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/PendleKyberElasticSYUpg.sol/PendleKyberElasticSYUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/PendleKyberElasticSYUpg.sol/PendleKyberElasticSYUpg.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MUX/PendleMlpSY.sol/PendleMlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MUX/PendleMlpSY.sol/PendleMlpSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleMantleStakedEthSY.sol/PendleMantleStakedEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleMantleStakedEthSY.sol/PendleMantleStakedEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleOracleForSyProxy.sol/PendleOracleForSyProxy.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleOracleForSyProxy.sol/PendleOracleForSyProxy.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleBridgedLSDSY.sol/PendleBridgedLSDSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleBridgedLSDSY.sol/PendleBridgedLSDSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20SY.sol/PendleERC20SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20SY.sol/PendleERC20SY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSY.sol/PendleERC4626SYUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSY.sol/PendleERC4626SYUpg.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleEUSDSY.sol/PendleEUSDSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleEUSDSY.sol/PendleEUSDSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleL2LRTSY.sol/PendleL2LRTSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleL2LRTSY.sol/PendleL2LRTSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PirexETH/PendleApxETHSY.sol/PendleApxETHSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PirexETH/PendleApxETHSY.sol/PendleApxETHSY.json +1060 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufStETHSY.sol/PendlePufStETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufStETHSY.sol/PendlePufStETHSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufWETHSY.sol/PendlePufWETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufWETHSY.sol/PendlePufWETHSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHL2SY.sol/PendleEzETHL2SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHL2SY.sol/PendleEzETHL2SY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHSY.sol/PendleEzETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHSY.sol/PendleEzETHSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveSY.sol/PendleSiloWithIncentiveSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveSY.sol/PendleSiloWithIncentiveSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Stader/PendleETHXSY.sol/PendleETHXSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Stader/PendleETHXSY.sol/PendleETHXSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleRswETHSY.sol/PendleRswETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleRswETHSY.sol/PendleRswETHSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeEzETHSY.sol/PendleZtakeEzETHSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeEzETHSY.sol/PendleZtakeEzETHSY.json +1105 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeWeETHSY.sol/PendleZtakeWeETHSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeWeETHSY.sol/PendleZtakeWeETHSY.json +1069 -0
- 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/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +2 -2
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -2
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +7 -2
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.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/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.json +34 -0
- package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.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/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/IPYieldContractFactory.sol/IPYieldContractFactory.json +34 -0
- package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/PirexETH/IPirexETH.sol/IPirexETH.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/PirexETH/IPirexETH.sol/IPirexETH.json +127 -0
- package/build/artifacts/contracts/interfaces/Zircuit/IZircuitZtaking.sol/IZircuitZtaking.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Zircuit/IZircuitZtaking.sol/IZircuitZtaking.json +52 -0
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +210 -0
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.json +2 -2
- 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 +49 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
- 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/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
- 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/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- 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/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
- 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/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
- 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/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
- 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/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
- 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/PendlePtLpOracle.sol/PendlePtLpOracle.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/PendlePtLpOracle.sol/PendlePtLpOracle.json +367 -0
- 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 +1 -1
- package/build/artifacts/contracts/oracles/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json +2 -2
- package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.json +2 -2
- package/build/artifacts/contracts/oracles/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.json +2 -2
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +2 -2
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/RouterV2InterfaceForRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV3.sol/PendleRouterV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV3.sol/PendleRouterV3.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.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/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL1.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL1.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL2.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/oneinch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
- package/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol +1 -1
- package/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol +7 -5
- package/contracts/core/StandardizedYield/implementations/MUX/PendleMlpSY.sol +9 -13
- package/contracts/core/StandardizedYield/implementations/PirexETH/PendleApxETHSY.sol +130 -0
- package/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeEzETHSY.sol +129 -0
- package/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeWeETHSY.sol +111 -0
- package/contracts/core/libraries/Errors.sol +2 -0
- package/contracts/interfaces/IPActionAddRemoveLiqV3.sol +11 -0
- package/contracts/interfaces/IPActionMiscV3.sol +11 -0
- package/contracts/interfaces/IPActionSwapPTV3.sol +11 -0
- package/contracts/interfaces/IPActionSwapYTV3.sol +11 -0
- package/contracts/interfaces/IPAllActionTypeV3.sol +15 -4
- package/contracts/interfaces/IPMarketFactoryV3.sol +7 -0
- package/contracts/interfaces/IPYieldContractFactory.sol +6 -0
- package/contracts/interfaces/IRedstonePriceFeed.sol +2 -0
- package/contracts/interfaces/PirexETH/IPirexETH.sol +27 -0
- package/contracts/interfaces/Zircuit/IZircuitZtaking.sol +8 -0
- package/contracts/offchain-helpers/PendlePoolDeployHelper.sol +111 -0
- package/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol +3 -0
- package/contracts/oracles/PendleLpOracleLib.sol +16 -0
- package/contracts/oracles/{PendlePtOracle.sol → PendlePtLpOracle.sol} +18 -9
- package/contracts/oracles/PendlePtOracleLib.sol +11 -0
- package/deployments/1-core.json +6 -8
- package/deployments/1-markets/AAVE-USDT-SEP2024.json +11 -0
- package/deployments/1-markets/SDAI-26SEP2024-NEW.json +8 -0
- package/deployments/1-markets/ZIRCUIT-EZETH-JUNE2024.json +11 -0
- package/deployments/10-core.json +6 -7
- package/deployments/42161-core.json +6 -7
- package/deployments/42161-markets/AAVE-USDC-JUNE2024-NEW.json +11 -0
- package/deployments/42161-markets/GDAI-SEP2024.json +11 -0
- package/deployments/42161-markets/GLP-SEP2024.json +11 -0
- package/deployments/56-core.json +6 -6
- package/package.json +1 -1
- package/typechain-types/IPMarketFactoryV3.ts +52 -0
- package/typechain-types/IPYieldContractFactory.ts +46 -0
- package/typechain-types/IPirexETH.ts +215 -0
- package/typechain-types/IZircuitZtaking.ts +148 -0
- package/typechain-types/PendleApxETHSY.ts +1326 -0
- package/typechain-types/PendleGlpSY.ts +24 -0
- package/typechain-types/PendlePoolDeployHelper.ts +243 -0
- package/typechain-types/PendlePtLpOracle.ts +510 -0
- package/typechain-types/PendleZtakeEzETHSY.ts +1416 -0
- package/typechain-types/PendleZtakeWeETHSY.ts +1345 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
- package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/AuraEthxBbAWethSY__factory.ts +1 -1
- package/typechain-types/factories/AuraSwEthBbAWethSYV2__factory.ts +1 -1
- package/typechain-types/factories/AuraWethVethSYUpg__factory.ts +1 -1
- package/typechain-types/factories/BoringLpGlpOracle__factory.ts +1 -1
- package/typechain-types/factories/BoringPtUsdChainlinkOracle__factory.ts +1 -1
- package/typechain-types/factories/Broadcaster__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +6 -1
- package/typechain-types/factories/IPMarketFactoryV3__factory.ts +34 -0
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +34 -0
- package/typechain-types/factories/IPirexETH__factory.ts +139 -0
- package/typechain-types/factories/IZircuitZtaking__factory.ts +67 -0
- package/typechain-types/factories/LimitBackendHelper__factory.ts +1 -1
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleAaveV3SY__factory.ts +1 -1
- package/typechain-types/factories/PendleAnkrBNBSY__factory.ts +1 -1
- package/typechain-types/factories/PendleApxETHSY__factory.ts +1115 -0
- package/typechain-types/factories/PendleArbitrumStakedEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraBbAWethSwethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethAnkrethSYV2__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethRocketEthSYV2__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethStafiEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethWstethSYV2__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWstethAnkreth__factory.ts +1 -1
- package/typechain-types/factories/PendleBridgedLSDSY__factory.ts +1 -1
- package/typechain-types/factories/PendleCamelotV1VolatileSY__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkReceiver__factory.ts +1 -1
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20SY__factory.ts +1 -1
- package/typechain-types/factories/PendleERC4626SYUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleERC4626SY__factory.ts +1 -1
- package/typechain-types/factories/PendleETHXSY__factory.ts +1 -1
- package/typechain-types/factories/PendleEUSDSY__factory.ts +1 -1
- package/typechain-types/factories/PendleExternalRewardDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleEzETHL2SY__factory.ts +1 -1
- package/typechain-types/factories/PendleEzETHSY__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleFluxLendingSY__factory.ts +1 -1
- package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
- package/typechain-types/factories/PendleGMV2TokenSY__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGlpSY__factory.ts +8 -35
- package/typechain-types/factories/PendleHlpSY__factory.ts +1 -1
- package/typechain-types/factories/PendleKyberElasticSYUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleL2LRTSY__factory.ts +1 -1
- package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
- package/typechain-types/factories/PendleMantleStakedEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactoryV2__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketV2__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketV3__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleMlpSY__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleOracleForSyProxy__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +283 -0
- package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendlePtLpOracle__factory.ts +432 -0
- package/typechain-types/factories/PendlePufStETHSY__factory.ts +1 -1
- package/typechain-types/factories/PendlePufWETHSY__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
- package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterV3__factory.ts +1 -1
- package/typechain-types/factories/PendleRsETHSY__factory.ts +1 -1
- package/typechain-types/factories/PendleRswETHSY__factory.ts +1 -1
- package/typechain-types/factories/PendleSUSDESY__factory.ts +1 -1
- package/typechain-types/factories/PendleSfrxEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleSiloWithIncentiveSY__factory.ts +1 -1
- package/typechain-types/factories/PendleStargateLPSY__factory.ts +1 -1
- package/typechain-types/factories/PendleSwapL1__factory.ts +1 -1
- package/typechain-types/factories/PendleSwapL2__factory.ts +1 -1
- package/typechain-types/factories/PendleThenaSY__factory.ts +1 -1
- package/typechain-types/factories/PendleUSDESY__factory.ts +1 -1
- package/typechain-types/factories/PendleUniETHSY__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWEEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleWbEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/PendleZtakeEzETHSY__factory.ts +1189 -0
- package/typechain-types/factories/PendleZtakeWeETHSY__factory.ts +1138 -0
- package/typechain-types/factories/SAPE__factory.ts +1 -1
- package/typechain-types/factories/SDKErrorsDirectory__factory.ts +48 -1
- package/typechain-types/factories/SimulateHelper__factory.ts +1 -1
- package/typechain-types/factories/SwETHSY__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +63 -9
- package/typechain-types/index.ts +14 -2
- package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +0 -4
- package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.json +0 -247
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
// SPDX-License-Identifier: MIT
|
|
2
|
+
pragma solidity ^0.8.17;
|
|
3
|
+
|
|
4
|
+
import "../interfaces/IPAllActionV3.sol";
|
|
5
|
+
import "../interfaces/IPMarketFactoryV3.sol";
|
|
6
|
+
import "../interfaces/IPYieldContractFactory.sol";
|
|
7
|
+
import "../interfaces/IPMarketV3.sol";
|
|
8
|
+
// import "../core/StandardizedYield/implementations/PendleERC4626SY.sol";
|
|
9
|
+
import "../core/libraries/TokenHelper.sol";
|
|
10
|
+
|
|
11
|
+
contract PendlePoolDeployHelper is TokenHelper {
|
|
12
|
+
address public immutable router;
|
|
13
|
+
address public immutable yieldContractFactory;
|
|
14
|
+
address public immutable marketFactory;
|
|
15
|
+
|
|
16
|
+
struct PoolDeploymentParams {
|
|
17
|
+
uint32 expiry;
|
|
18
|
+
uint80 lnFeeRateRoot;
|
|
19
|
+
int256 scalarRoot;
|
|
20
|
+
int256 initialRateAnchor;
|
|
21
|
+
bool doCacheIndexSameBlock;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
event MarketDeployment(address indexed market, address SY, address PT, address YT, PoolDeploymentParams params);
|
|
25
|
+
|
|
26
|
+
constructor(address _router, address _yieldContractFactory, address _marketFactory) {
|
|
27
|
+
router = _router;
|
|
28
|
+
yieldContractFactory = _yieldContractFactory;
|
|
29
|
+
marketFactory = _marketFactory;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function deploy5115MarketAndSeedLiquidity(
|
|
33
|
+
address SY,
|
|
34
|
+
PoolDeploymentParams memory params,
|
|
35
|
+
address tokenToSeedLiqudity,
|
|
36
|
+
uint256 amountToSeed
|
|
37
|
+
) external payable returns (address PT, address YT, address market) {
|
|
38
|
+
(PT, YT, market) = _deployPYAndMarket(SY, params);
|
|
39
|
+
_seedLiquidity(market, SY, PT, YT, tokenToSeedLiqudity, amountToSeed);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function _deployPYAndMarket(
|
|
43
|
+
address SY,
|
|
44
|
+
PoolDeploymentParams memory params
|
|
45
|
+
) internal returns (address PT, address YT, address market) {
|
|
46
|
+
(PT, YT) = IPYieldContractFactory(yieldContractFactory).createYieldContract(
|
|
47
|
+
SY,
|
|
48
|
+
params.expiry,
|
|
49
|
+
params.doCacheIndexSameBlock
|
|
50
|
+
);
|
|
51
|
+
market = IPMarketFactoryV3(marketFactory).createNewMarket(
|
|
52
|
+
PT,
|
|
53
|
+
params.scalarRoot,
|
|
54
|
+
params.initialRateAnchor,
|
|
55
|
+
params.lnFeeRateRoot
|
|
56
|
+
);
|
|
57
|
+
emit MarketDeployment(market, SY, PT, YT, params);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
function _seedLiquidity(
|
|
61
|
+
address market,
|
|
62
|
+
address SY,
|
|
63
|
+
address PT,
|
|
64
|
+
address YT,
|
|
65
|
+
address token,
|
|
66
|
+
uint256 amountToSeed
|
|
67
|
+
) internal {
|
|
68
|
+
_transferIn(token, msg.sender, amountToSeed);
|
|
69
|
+
|
|
70
|
+
// Approval
|
|
71
|
+
_safeApproveInf(token, router);
|
|
72
|
+
if (token != SY) {
|
|
73
|
+
_safeApproveInf(SY, router);
|
|
74
|
+
}
|
|
75
|
+
_safeApproveInf(PT, router);
|
|
76
|
+
|
|
77
|
+
// Mint SY
|
|
78
|
+
uint256 amountSY;
|
|
79
|
+
if (token != SY) {
|
|
80
|
+
uint256 netNative = (token == NATIVE ? amountToSeed : 0);
|
|
81
|
+
amountSY = IPAllActionV3(router).mintSyFromToken{value: netNative}(
|
|
82
|
+
address(this),
|
|
83
|
+
SY,
|
|
84
|
+
0,
|
|
85
|
+
TokenInput({
|
|
86
|
+
tokenIn: token,
|
|
87
|
+
netTokenIn: amountToSeed,
|
|
88
|
+
tokenMintSy: token,
|
|
89
|
+
pendleSwap: address(0),
|
|
90
|
+
swapData: SwapData({
|
|
91
|
+
swapType: SwapType.NONE,
|
|
92
|
+
extRouter: address(0),
|
|
93
|
+
extCalldata: abi.encode(),
|
|
94
|
+
needScale: false
|
|
95
|
+
})
|
|
96
|
+
})
|
|
97
|
+
);
|
|
98
|
+
} else {
|
|
99
|
+
amountSY = amountToSeed;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// mint PY
|
|
103
|
+
uint256 amountPY = IPAllActionV3(router).mintPyFromSy(address(this), YT, amountSY / 2, 0);
|
|
104
|
+
|
|
105
|
+
// mint LP
|
|
106
|
+
IPAllActionV3(router).addLiquidityDualSyAndPt(msg.sender, market, amountSY / 2, amountPY, 0);
|
|
107
|
+
_transferOut(YT, msg.sender, amountPY);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
receive() external payable {}
|
|
111
|
+
}
|
|
@@ -179,4 +179,7 @@ library SDKErrorsDirectory {
|
|
|
179
179
|
error SupplyCapExceeded(uint256 totalSupply, uint256 supplyCap);
|
|
180
180
|
error ShareTransferNotAllowed();
|
|
181
181
|
error SenderNotSolventAfterTransfer();
|
|
182
|
+
error ERC20InsufficientAllowance(address, uint256, uint256);
|
|
183
|
+
error ERC20InsufficientBalance(address, uint256, uint256);
|
|
184
|
+
error IXERC20_NotHighEnoughLimits();
|
|
182
185
|
}
|
|
@@ -25,6 +25,22 @@ library PendleLpOracleLib {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
/**
|
|
29
|
+
* This function returns the approximated twap rate LP/asset on market, but take into account the current rate of SY
|
|
30
|
+
This is to account for special cases where underlying asset becomes insolvent and has decreasing exchangeRate
|
|
31
|
+
* @param market market to get rate from
|
|
32
|
+
* @param duration twap duration
|
|
33
|
+
*/
|
|
34
|
+
function getLpToSyRate(IPMarket market, uint32 duration) internal view returns (uint256) {
|
|
35
|
+
(uint256 syIndex, uint256 pyIndex) = PendlePtOracleLib.getSYandPYIndexCurrent(market);
|
|
36
|
+
uint256 lpToAssetRateRaw = _getLpToAssetRateRaw(market, duration, pyIndex);
|
|
37
|
+
if (syIndex >= pyIndex) {
|
|
38
|
+
return lpToAssetRateRaw.divDown(syIndex);
|
|
39
|
+
} else {
|
|
40
|
+
return lpToAssetRateRaw.divDown(pyIndex);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
28
44
|
function _getLpToAssetRateRaw(
|
|
29
45
|
IPMarket market,
|
|
30
46
|
uint32 duration,
|
|
@@ -2,14 +2,16 @@
|
|
|
2
2
|
pragma solidity ^0.8.17;
|
|
3
3
|
|
|
4
4
|
import "./PendlePtOracleLib.sol";
|
|
5
|
+
import "./PendleLpOracleLib.sol";
|
|
5
6
|
import "../interfaces/IPPtOracle.sol";
|
|
6
7
|
import "../core/libraries/BoringOwnableUpgradeable.sol";
|
|
7
8
|
|
|
8
|
-
// This is a pre-deployed version of PendlePtOracleLib with additional utility functions.
|
|
9
|
+
// This is a pre-deployed version of PendlePtOracleLib & PendleLpOracleLib with additional utility functions.
|
|
9
10
|
// Use of this contract rather than direct library integration resulting in a smaller bytecode size and simpler structure
|
|
10
11
|
// but slightly higher gas usage (~ 4000 gas, 2 external calls & 1 cold code load)
|
|
11
|
-
contract
|
|
12
|
+
contract PendlePtLpOracle is BoringOwnableUpgradeable, IPPtOracle {
|
|
12
13
|
using PendlePtOracleLib for IPMarket;
|
|
14
|
+
using PendleLpOracleLib for IPMarket;
|
|
13
15
|
|
|
14
16
|
error InvalidBlockRate(uint256 blockCycleNumerator);
|
|
15
17
|
error TwapDurationTooLarge(uint32 duration, uint32 cardinalityRequired);
|
|
@@ -38,13 +40,20 @@ contract PendlePtOracle is BoringOwnableUpgradeable, IPPtOracle {
|
|
|
38
40
|
emit SetBlockCycleNumerator(newBlockCycleNumerator);
|
|
39
41
|
}
|
|
40
42
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
function getPtToAssetRate(address market, uint32 duration) external view returns (uint256) {
|
|
44
|
+
return IPMarket(market).getPtToAssetRate(duration);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
function getLpToAssetRate(address market, uint32 duration) external view returns (uint256) {
|
|
48
|
+
return IPMarket(market).getLpToAssetRate(duration);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
function getPtToSyRate(address market, uint32 duration) external view returns (uint256) {
|
|
52
|
+
return IPMarket(market).getPtToSyRate(duration);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
function getLpToSyRate(address market, uint32 duration) external view returns (uint256) {
|
|
56
|
+
return IPMarket(market).getLpToSyRate(duration);
|
|
48
57
|
}
|
|
49
58
|
|
|
50
59
|
/**
|
|
@@ -25,6 +25,17 @@ library PendlePtOracleLib {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
/// @notice Similar to getPtToAsset but returns the rate in SY instead
|
|
29
|
+
function getPtToSyRate(IPMarket market, uint32 duration) internal view returns (uint256) {
|
|
30
|
+
(uint256 syIndex, uint256 pyIndex) = getSYandPYIndexCurrent(market);
|
|
31
|
+
if (syIndex >= pyIndex) {
|
|
32
|
+
return getPtToAssetRateRaw(market, duration).divDown(syIndex);
|
|
33
|
+
} else {
|
|
34
|
+
return getPtToAssetRateRaw(market, duration).divDown(pyIndex);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/// @notice returns the raw rate without taking into account whether SY is solvent
|
|
28
39
|
function getPtToAssetRateRaw(IPMarket market, uint32 duration) internal view returns (uint256) {
|
|
29
40
|
uint256 expiry = market.expiry();
|
|
30
41
|
|
package/deployments/1-core.json
CHANGED
|
@@ -14,28 +14,26 @@
|
|
|
14
14
|
"initialReserveFeePercent": "80",
|
|
15
15
|
"initialPendlePerSec": "826719576719576719",
|
|
16
16
|
"safeWaitTime": 15000,
|
|
17
|
-
"sySwapper": "
|
|
17
|
+
"sySwapper": "0x987d9E19D79AFb5508201B50Ac920F119688e8E5"
|
|
18
18
|
},
|
|
19
19
|
"baseCodeSplitter": "0x35878C2Cff38cC4032E85283183428170BA618A2",
|
|
20
20
|
"PENDLE": "0x808507121b80c02388fad14726482e061b8da827",
|
|
21
21
|
"yieldContractFactory": "0x70ee0A6DB4F5a2Dc4d9c0b57bE97B9987e75BAFD",
|
|
22
22
|
"marketFactory": "0x27b1dAcd74688aF24a64BD3C9C1B143118740784",
|
|
23
|
-
"bulkSellerFactory": "0x4B1da107B50529d53e5C906a79eaEcDCbC0E1dE3",
|
|
24
|
-
"bulkSellerOffchain": "0x9ACc60F915dFcd190D270fc92567aE71776bd320",
|
|
25
23
|
"router": "0x00000000005BBB0EF59571E58418F9a4357b68A0",
|
|
26
24
|
"routerStatic": "0x263833d47eA3fA4a30f269323aba6a107f9eB14C",
|
|
27
25
|
"pendleSwap": "0x694ba57ee63614b8448b465c39f505ade5e594ad",
|
|
28
26
|
"routerHelper": "0x462206b11d185ef6F64B41D344325401C37EC335",
|
|
29
|
-
"ptOracle": "
|
|
27
|
+
"ptOracle": "0x66a1096C6366b2529274dF4f5D8247827fe4CEA8",
|
|
30
28
|
"yieldContractFactoryV3": "0xdF3601014686674e53d1Fa52F7602525483F9122",
|
|
31
29
|
"marketFactoryV3": "0x1A6fCc85557BC4fB7B534ed835a03EF056552D52",
|
|
32
|
-
"
|
|
30
|
+
"poolDeployHelper": "0x1E4c3DE54DecbD51F1F9a6b4eaFd265FAc04e831",
|
|
31
|
+
"limitRouter": "0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321",
|
|
32
|
+
"proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64",
|
|
33
33
|
"vePendle": "0x4f30A9D41B80ecC5B94306AB4364951AE3170210",
|
|
34
34
|
"senderEndpoint": "0x07b1014c88f14C9E910092526db57A20052E989F",
|
|
35
35
|
"votingController": "0x44087E105137a5095c008AaB6a6530182821F2F0",
|
|
36
36
|
"gaugeController": "0x47D74516B33eD5D70ddE7119A40839f6Fcc24e57",
|
|
37
37
|
"feeDistributor": "0xd7b34a6fDCb2A7ceD2115FF7f5fdD72aa6aA4dE2",
|
|
38
|
-
"feeDistributorV2": "0x8C237520a8E14D658170A633D96F8e80764433b9"
|
|
39
|
-
"limitRouter": "0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321",
|
|
40
|
-
"proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64"
|
|
38
|
+
"feeDistributorV2": "0x8C237520a8E14D658170A633D96F8e80764433b9"
|
|
41
39
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "SY aUSDT",
|
|
3
|
+
"SY": "0x8c28D28bAd669afadC37b034A8070D6d7B9dFB74",
|
|
4
|
+
"YT": "0x0a3d962946c81096f1529f79dd66a987F2929De2",
|
|
5
|
+
"PT": "0x3850Cb4591C7A9E6dEF5d4952205704C48Be27EE",
|
|
6
|
+
"market": "0x9dF2beAF84c24212a495CC8b4aCeeacd2DB8585b",
|
|
7
|
+
"expiry": 1735171200,
|
|
8
|
+
"scalarRoot": "9800852549000000000",
|
|
9
|
+
"initAnchor": "1201611142000000000",
|
|
10
|
+
"lnFeeRateRoot": "499875041000000"
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "SY sDAI",
|
|
3
|
+
"SY": "0x90f1935f733Dd8826DcA2Bd01ccFc600F20E978E",
|
|
4
|
+
"YT": "0xa2D5eb975E20205AcCC3C1a1EFAb43e99070de1A",
|
|
5
|
+
"PT": "0x988B6914866e2ad9Dc9b034387636D2641f79AA3",
|
|
6
|
+
"market": "0x93a82F3873e5b4fF81902663C43286d662F6721C",
|
|
7
|
+
"expiry": 1727308800
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "SY ezETH",
|
|
3
|
+
"SY": "0x7a493be5c2ce014cd049bf178a1ac0db1b434744",
|
|
4
|
+
"YT": "0x98601E27d41ccff643da9d981dc708cf9eF1F150",
|
|
5
|
+
"PT": "0xDDFD5e912C1949B4bDb12579002c44B7A83F9E88",
|
|
6
|
+
"market": "0xd7E0809998693fD87E81D51dE1619fd0EE658031",
|
|
7
|
+
"expiry": 1719446400,
|
|
8
|
+
"scalarRoot": "7032730698000000000",
|
|
9
|
+
"initAnchor": "1105737473000000000",
|
|
10
|
+
"lnFeeRateRoot": "999500333000000"
|
|
11
|
+
}
|
package/deployments/10-core.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"initialFeeRateRoot": "999500333083533",
|
|
14
14
|
"initialReserveFeePercent": "80",
|
|
15
15
|
"safeWaitTime": 15000,
|
|
16
|
-
"sySwapper": "
|
|
16
|
+
"sySwapper": "0x05320f5FF1748BC792C42Ed7eeA2906bA6d9D335"
|
|
17
17
|
},
|
|
18
18
|
"baseCodeSplitter": "0x9a5aF6A35bb56443C577d57c303CDA39F56Dd173",
|
|
19
19
|
"PENDLE": "0xBC7B1Ff1c6989f006a1185318eD4E7b5796e66E1",
|
|
@@ -23,14 +23,13 @@
|
|
|
23
23
|
"routerStatic": "0x704478Dd72FD7F9B83d1F1e0fc18C14B54F034d0",
|
|
24
24
|
"pendleSwap": "0xD85d2F484DF4329746325e7398f3fC3E1915a173",
|
|
25
25
|
"routerHelper": "0x462206b11d185ef6F64B41D344325401C37EC335",
|
|
26
|
-
"ptOracle": "
|
|
27
|
-
"externalRewardDistributor": "0x1fBaCedf510dAA79dfD9B41227A7ba192d5D548D",
|
|
26
|
+
"ptOracle": "0x15Aab5C1ab800A9e457d9f4335e8A2Dc9f6Ad707",
|
|
28
27
|
"yieldContractFactoryV3": "0xfa6B22FC4c3Ad88B68c16b3061a16b1714F6Bd57",
|
|
29
28
|
"marketFactoryV3": "0x4A2B38b9cBd83c86F261a4d64c243795D4d44aBC",
|
|
30
|
-
"
|
|
29
|
+
"poolDeployHelper": "0xc4A9d8b486f388CC0E4168d2904277e8C8372FA3",
|
|
30
|
+
"limitRouter": "0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321",
|
|
31
|
+
"proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64",
|
|
31
32
|
"receiverEndpoint": "0xED18de5442297a4Ec1ce59C7c7d9427Adc2A012b",
|
|
32
33
|
"vePendle": "0xd5C47D2383Fddc19596489280C0A33AC42b2bB18",
|
|
33
|
-
"gaugeController": "0x6875e4A945E498FE1B90BbB13CFbAF0b68658C9C"
|
|
34
|
-
"limitRouter": "0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321",
|
|
35
|
-
"proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64"
|
|
34
|
+
"gaugeController": "0x6875e4A945E498FE1B90BbB13CFbAF0b68658C9C"
|
|
36
35
|
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"initialFeeRateRoot": "999500333083533",
|
|
14
14
|
"initialReserveFeePercent": "80",
|
|
15
15
|
"safeWaitTime": 15000,
|
|
16
|
-
"sySwapper": "
|
|
16
|
+
"sySwapper": "0x943A65956eaA2CcB154D4ab6B4e28a9CFBB824eA"
|
|
17
17
|
},
|
|
18
18
|
"baseCodeSplitter": "0x29deaEE5413a07C933C15B37d7deB6Eb744Ba9C8",
|
|
19
19
|
"PENDLE": "0x0c880f6761F1af8d9Aa9C466984b80DAb9a8c9e8",
|
|
@@ -23,16 +23,15 @@
|
|
|
23
23
|
"routerStatic": "0xAdB09F65bd90d19e3148D9ccb693F3161C6DB3E8",
|
|
24
24
|
"pendleSwap": "0xCad581ee99a06BfcA69D8880df96BcC2d0DE3F2E",
|
|
25
25
|
"routerHelper": "0x462206b11d185ef6F64B41D344325401C37EC335",
|
|
26
|
-
"ptOracle": "
|
|
26
|
+
"ptOracle": "0x1Fd95db7B7C0067De8D45C0cb35D59796adfD187",
|
|
27
27
|
"yieldContractFactoryV3": "0xEb38531db128EcA928aea1B1CE9E5609B15ba146",
|
|
28
28
|
"marketFactoryV3": "0x2FCb47B58350cD377f94d3821e7373Df60bD9Ced",
|
|
29
|
-
"
|
|
29
|
+
"poolDeployHelper": "0x644f83C584E9B109518726d5bEa3FF615548f88b",
|
|
30
|
+
"limitRouter": "0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321",
|
|
31
|
+
"proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64",
|
|
30
32
|
"receiverEndpoint": "0xC9215ae9EC67385F38C755D862C8eE3702B5793A",
|
|
31
33
|
"vePendle": "0x3209E9412cca80B18338f2a56ADA59c484c39644",
|
|
32
34
|
"gaugeController": "0x1e56299ebc8a1010cec26005d12e3e5c5cc2db00",
|
|
33
35
|
"arbMerkleDistribution": "0x23a102e78D1FF1645a3666691495174764a5FCAF",
|
|
34
|
-
"linearDistributor": "0x83d85AEDD308261d847C3eb8d7146457bD8F38E8"
|
|
35
|
-
"limitBackendHelper": "0xa3b3442D8f9ceb45D87b5f32115d94e9b7FcB114",
|
|
36
|
-
"limitRouter": "0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321",
|
|
37
|
-
"proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64"
|
|
36
|
+
"linearDistributor": "0x83d85AEDD308261d847C3eb8d7146457bD8F38E8"
|
|
38
37
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "SY aUSDC",
|
|
3
|
+
"SY": "0x50288c30c37FA1Ec6167a31E575EA8632645dE20",
|
|
4
|
+
"YT": "0xA1c32EF8d3c4c30cB596bAb8647e11daF0FA5C94",
|
|
5
|
+
"PT": "0xb72b988CAF33f3d8A6d816974fE8cAA199E5E86c",
|
|
6
|
+
"market": "0xBa4A858d664Ddb052158168DB04AFA3cFF5CFCC8",
|
|
7
|
+
"expiry": 1719446400,
|
|
8
|
+
"scalarRoot": "9371191541000000000",
|
|
9
|
+
"initAnchor": "1077941987000000000",
|
|
10
|
+
"lnFeeRateRoot": "499875041000000"
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "SY gDAI",
|
|
3
|
+
"SY": "0xAF699fb0D9F12Bf7B14474aE5c9Bea688888DF73",
|
|
4
|
+
"YT": "0x5A4956D9d4C362C6df3Ae442f87AC0AFcba468dA",
|
|
5
|
+
"PT": "0x4439FE47139be8B9b13635C142569c3e60D71259",
|
|
6
|
+
"market": "0x99Ed4F0Ab6524d26B31D0aEa087eBe20D5949e0f",
|
|
7
|
+
"expiry": 1727308800,
|
|
8
|
+
"scalarRoot": "12175613256000000000",
|
|
9
|
+
"initAnchor": "1120873386000000000",
|
|
10
|
+
"lnFeeRateRoot": "999500333000000"
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "SY GMX GLP",
|
|
3
|
+
"SY": "0xd1F7d5fec6EB532847e552269c905Ac489992Ef6",
|
|
4
|
+
"YT": "0xf875f32648BE14d04e0Df4a977Afd4290DD92713",
|
|
5
|
+
"PT": "0x89cD713a6607787F93d6743E67777Be9Ad73c54b",
|
|
6
|
+
"market": "0x551c423c441db0B691b5630F04d2080Caee25963",
|
|
7
|
+
"expiry": 1727308800,
|
|
8
|
+
"scalarRoot": "12183327342000000000",
|
|
9
|
+
"initAnchor": "1120133704000000000",
|
|
10
|
+
"lnFeeRateRoot": "999500333000000"
|
|
11
|
+
}
|
package/deployments/56-core.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"initialFeeRateRoot": "999500333083533",
|
|
14
14
|
"initialReserveFeePercent": "80",
|
|
15
15
|
"safeWaitTime": 15000,
|
|
16
|
-
"sySwapper": "
|
|
16
|
+
"sySwapper": "0x35C16314D6Ee4753289E5cC15A5C5E1Dd4eaD345"
|
|
17
17
|
},
|
|
18
18
|
"baseCodeSplitter": "0x0E669e08bd717d7F9c9DE158636BD8561295fbB5",
|
|
19
19
|
"PENDLE": "0xb3Ed0A426155B79B898849803E3B36552f7ED507",
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"routerStatic": "0x2700ADB035F82a11899ce1D3f1BF8451c296eABb",
|
|
24
24
|
"pendleSwap": "0xc7565d2282198b4b50ec29dee7b942e2b9bbc203",
|
|
25
25
|
"routerHelper": "0x09D65812dCD0f276e052583d41885cA5C7Dd0086",
|
|
26
|
-
"ptOracle": "
|
|
26
|
+
"ptOracle": "0x30c6d4e892871220B5Ab66c10db577da96Fb974b",
|
|
27
27
|
"yieldContractFactoryV3": "0x40Ae6da2d92aa3DCb7f8d7a7209FD12BDfcb7C85",
|
|
28
28
|
"marketFactoryV3": "0xC40fEbF5A33b8C92B187d9be0fD3fe0ac2E4B07c",
|
|
29
|
-
"
|
|
29
|
+
"poolDeployHelper": "0x73Be47237F12F36203823BAc9A4d80dC798B7015",
|
|
30
|
+
"limitRouter": "0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321",
|
|
31
|
+
"proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64",
|
|
30
32
|
"receiverEndpoint": "0x998CF52b2585e05494BF9F2bF502351a9C7FdA8f",
|
|
31
33
|
"vePendle": "0x8A09574b0401A856d89d1b583eE22E8cb0C5530B",
|
|
32
|
-
"gaugeController": "0x704478Dd72FD7F9B83d1F1e0fc18C14B54F034d0"
|
|
33
|
-
"limitRouter": "0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321",
|
|
34
|
-
"proxyAdmin": "0xA28c08f165116587D4F3E708743B4dEe155c5E64"
|
|
34
|
+
"gaugeController": "0x704478Dd72FD7F9B83d1F1e0fc18C14B54F034d0"
|
|
35
35
|
}
|
package/package.json
CHANGED
|
@@ -4,8 +4,11 @@
|
|
|
4
4
|
import {
|
|
5
5
|
BaseContract,
|
|
6
6
|
BigNumber,
|
|
7
|
+
BigNumberish,
|
|
7
8
|
BytesLike,
|
|
8
9
|
CallOverrides,
|
|
10
|
+
ContractTransaction,
|
|
11
|
+
Overrides,
|
|
9
12
|
PopulatedTransaction,
|
|
10
13
|
Signer,
|
|
11
14
|
utils,
|
|
@@ -22,10 +25,15 @@ import type {
|
|
|
22
25
|
export interface IPMarketFactoryV3Interface extends utils.Interface {
|
|
23
26
|
contractName: "IPMarketFactoryV3";
|
|
24
27
|
functions: {
|
|
28
|
+
"createNewMarket(address,int256,int256,uint80)": FunctionFragment;
|
|
25
29
|
"getMarketConfig(address,address)": FunctionFragment;
|
|
26
30
|
"isValidMarket(address)": FunctionFragment;
|
|
27
31
|
};
|
|
28
32
|
|
|
33
|
+
encodeFunctionData(
|
|
34
|
+
functionFragment: "createNewMarket",
|
|
35
|
+
values: [string, BigNumberish, BigNumberish, BigNumberish]
|
|
36
|
+
): string;
|
|
29
37
|
encodeFunctionData(
|
|
30
38
|
functionFragment: "getMarketConfig",
|
|
31
39
|
values: [string, string]
|
|
@@ -35,6 +43,10 @@ export interface IPMarketFactoryV3Interface extends utils.Interface {
|
|
|
35
43
|
values: [string]
|
|
36
44
|
): string;
|
|
37
45
|
|
|
46
|
+
decodeFunctionResult(
|
|
47
|
+
functionFragment: "createNewMarket",
|
|
48
|
+
data: BytesLike
|
|
49
|
+
): Result;
|
|
38
50
|
decodeFunctionResult(
|
|
39
51
|
functionFragment: "getMarketConfig",
|
|
40
52
|
data: BytesLike
|
|
@@ -112,6 +124,14 @@ export interface IPMarketFactoryV3 extends BaseContract {
|
|
|
112
124
|
removeListener: OnEvent<this>;
|
|
113
125
|
|
|
114
126
|
functions: {
|
|
127
|
+
createNewMarket(
|
|
128
|
+
PT: string,
|
|
129
|
+
scalarRoot: BigNumberish,
|
|
130
|
+
initialAnchor: BigNumberish,
|
|
131
|
+
lnFeeRateRoot: BigNumberish,
|
|
132
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
133
|
+
): Promise<ContractTransaction>;
|
|
134
|
+
|
|
115
135
|
getMarketConfig(
|
|
116
136
|
market: string,
|
|
117
137
|
router: string,
|
|
@@ -130,6 +150,14 @@ export interface IPMarketFactoryV3 extends BaseContract {
|
|
|
130
150
|
): Promise<[boolean]>;
|
|
131
151
|
};
|
|
132
152
|
|
|
153
|
+
createNewMarket(
|
|
154
|
+
PT: string,
|
|
155
|
+
scalarRoot: BigNumberish,
|
|
156
|
+
initialAnchor: BigNumberish,
|
|
157
|
+
lnFeeRateRoot: BigNumberish,
|
|
158
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
159
|
+
): Promise<ContractTransaction>;
|
|
160
|
+
|
|
133
161
|
getMarketConfig(
|
|
134
162
|
market: string,
|
|
135
163
|
router: string,
|
|
@@ -145,6 +173,14 @@ export interface IPMarketFactoryV3 extends BaseContract {
|
|
|
145
173
|
isValidMarket(market: string, overrides?: CallOverrides): Promise<boolean>;
|
|
146
174
|
|
|
147
175
|
callStatic: {
|
|
176
|
+
createNewMarket(
|
|
177
|
+
PT: string,
|
|
178
|
+
scalarRoot: BigNumberish,
|
|
179
|
+
initialAnchor: BigNumberish,
|
|
180
|
+
lnFeeRateRoot: BigNumberish,
|
|
181
|
+
overrides?: CallOverrides
|
|
182
|
+
): Promise<string>;
|
|
183
|
+
|
|
148
184
|
getMarketConfig(
|
|
149
185
|
market: string,
|
|
150
186
|
router: string,
|
|
@@ -198,6 +234,14 @@ export interface IPMarketFactoryV3 extends BaseContract {
|
|
|
198
234
|
};
|
|
199
235
|
|
|
200
236
|
estimateGas: {
|
|
237
|
+
createNewMarket(
|
|
238
|
+
PT: string,
|
|
239
|
+
scalarRoot: BigNumberish,
|
|
240
|
+
initialAnchor: BigNumberish,
|
|
241
|
+
lnFeeRateRoot: BigNumberish,
|
|
242
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
243
|
+
): Promise<BigNumber>;
|
|
244
|
+
|
|
201
245
|
getMarketConfig(
|
|
202
246
|
market: string,
|
|
203
247
|
router: string,
|
|
@@ -211,6 +255,14 @@ export interface IPMarketFactoryV3 extends BaseContract {
|
|
|
211
255
|
};
|
|
212
256
|
|
|
213
257
|
populateTransaction: {
|
|
258
|
+
createNewMarket(
|
|
259
|
+
PT: string,
|
|
260
|
+
scalarRoot: BigNumberish,
|
|
261
|
+
initialAnchor: BigNumberish,
|
|
262
|
+
lnFeeRateRoot: BigNumberish,
|
|
263
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
264
|
+
): Promise<PopulatedTransaction>;
|
|
265
|
+
|
|
214
266
|
getMarketConfig(
|
|
215
267
|
market: string,
|
|
216
268
|
router: string,
|
|
@@ -7,6 +7,8 @@ import {
|
|
|
7
7
|
BigNumberish,
|
|
8
8
|
BytesLike,
|
|
9
9
|
CallOverrides,
|
|
10
|
+
ContractTransaction,
|
|
11
|
+
Overrides,
|
|
10
12
|
PopulatedTransaction,
|
|
11
13
|
Signer,
|
|
12
14
|
utils,
|
|
@@ -23,6 +25,7 @@ import type {
|
|
|
23
25
|
export interface IPYieldContractFactoryInterface extends utils.Interface {
|
|
24
26
|
contractName: "IPYieldContractFactory";
|
|
25
27
|
functions: {
|
|
28
|
+
"createYieldContract(address,uint32,bool)": FunctionFragment;
|
|
26
29
|
"expiryDivisor()": FunctionFragment;
|
|
27
30
|
"getPT(address,uint256)": FunctionFragment;
|
|
28
31
|
"getYT(address,uint256)": FunctionFragment;
|
|
@@ -33,6 +36,10 @@ export interface IPYieldContractFactoryInterface extends utils.Interface {
|
|
|
33
36
|
"treasury()": FunctionFragment;
|
|
34
37
|
};
|
|
35
38
|
|
|
39
|
+
encodeFunctionData(
|
|
40
|
+
functionFragment: "createYieldContract",
|
|
41
|
+
values: [string, BigNumberish, boolean]
|
|
42
|
+
): string;
|
|
36
43
|
encodeFunctionData(
|
|
37
44
|
functionFragment: "expiryDivisor",
|
|
38
45
|
values?: undefined
|
|
@@ -57,6 +64,10 @@ export interface IPYieldContractFactoryInterface extends utils.Interface {
|
|
|
57
64
|
): string;
|
|
58
65
|
encodeFunctionData(functionFragment: "treasury", values?: undefined): string;
|
|
59
66
|
|
|
67
|
+
decodeFunctionResult(
|
|
68
|
+
functionFragment: "createYieldContract",
|
|
69
|
+
data: BytesLike
|
|
70
|
+
): Result;
|
|
60
71
|
decodeFunctionResult(
|
|
61
72
|
functionFragment: "expiryDivisor",
|
|
62
73
|
data: BytesLike
|
|
@@ -154,6 +165,13 @@ export interface IPYieldContractFactory extends BaseContract {
|
|
|
154
165
|
removeListener: OnEvent<this>;
|
|
155
166
|
|
|
156
167
|
functions: {
|
|
168
|
+
createYieldContract(
|
|
169
|
+
SY: string,
|
|
170
|
+
expiry: BigNumberish,
|
|
171
|
+
doCacheIndexSameBlock: boolean,
|
|
172
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
173
|
+
): Promise<ContractTransaction>;
|
|
174
|
+
|
|
157
175
|
expiryDivisor(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
158
176
|
|
|
159
177
|
getPT(
|
|
@@ -179,6 +197,13 @@ export interface IPYieldContractFactory extends BaseContract {
|
|
|
179
197
|
treasury(overrides?: CallOverrides): Promise<[string]>;
|
|
180
198
|
};
|
|
181
199
|
|
|
200
|
+
createYieldContract(
|
|
201
|
+
SY: string,
|
|
202
|
+
expiry: BigNumberish,
|
|
203
|
+
doCacheIndexSameBlock: boolean,
|
|
204
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
205
|
+
): Promise<ContractTransaction>;
|
|
206
|
+
|
|
182
207
|
expiryDivisor(overrides?: CallOverrides): Promise<BigNumber>;
|
|
183
208
|
|
|
184
209
|
getPT(
|
|
@@ -204,6 +229,13 @@ export interface IPYieldContractFactory extends BaseContract {
|
|
|
204
229
|
treasury(overrides?: CallOverrides): Promise<string>;
|
|
205
230
|
|
|
206
231
|
callStatic: {
|
|
232
|
+
createYieldContract(
|
|
233
|
+
SY: string,
|
|
234
|
+
expiry: BigNumberish,
|
|
235
|
+
doCacheIndexSameBlock: boolean,
|
|
236
|
+
overrides?: CallOverrides
|
|
237
|
+
): Promise<[string, string] & { PT: string; YT: string }>;
|
|
238
|
+
|
|
207
239
|
expiryDivisor(overrides?: CallOverrides): Promise<BigNumber>;
|
|
208
240
|
|
|
209
241
|
getPT(
|
|
@@ -265,6 +297,13 @@ export interface IPYieldContractFactory extends BaseContract {
|
|
|
265
297
|
};
|
|
266
298
|
|
|
267
299
|
estimateGas: {
|
|
300
|
+
createYieldContract(
|
|
301
|
+
SY: string,
|
|
302
|
+
expiry: BigNumberish,
|
|
303
|
+
doCacheIndexSameBlock: boolean,
|
|
304
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
305
|
+
): Promise<BigNumber>;
|
|
306
|
+
|
|
268
307
|
expiryDivisor(overrides?: CallOverrides): Promise<BigNumber>;
|
|
269
308
|
|
|
270
309
|
getPT(
|
|
@@ -291,6 +330,13 @@ export interface IPYieldContractFactory extends BaseContract {
|
|
|
291
330
|
};
|
|
292
331
|
|
|
293
332
|
populateTransaction: {
|
|
333
|
+
createYieldContract(
|
|
334
|
+
SY: string,
|
|
335
|
+
expiry: BigNumberish,
|
|
336
|
+
doCacheIndexSameBlock: boolean,
|
|
337
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
338
|
+
): Promise<PopulatedTransaction>;
|
|
339
|
+
|
|
294
340
|
expiryDivisor(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
295
341
|
|
|
296
342
|
getPT(
|