@pendle/core-v2 2.4.0-mainnet → 2.5.0-mainnet
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/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/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.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/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.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/Ape/sAPE.sol/sAPE.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.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/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/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/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.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/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/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.json +1157 -0
- 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/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/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 +18 -2
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.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/IStargateLP.sol/IStargateLP.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IStargatePool.sol/IStargatePool.json → IStargateLP.sol/IStargateLP.json} +68 -3
- package/build/artifacts/contracts/interfaces/IStargateStaking.sol/IStargateStaking.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IStargateLPStaking.sol/IStargateLPStaking.json → IStargateStaking.sol/IStargateStaking.json} +20 -27
- 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/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -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/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.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/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapArbitrum.sol/PendleSwapArbitrum.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapArbitrum.sol/PendleSwapArbitrum.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapEthereum.sol/PendleSwapEthereum.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapEthereum.sol/PendleSwapEthereum.json +2 -2
- package/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol +222 -0
- package/contracts/core/libraries/Errors.sol +2 -0
- package/contracts/interfaces/{IStargatePool.sol → IStargateLP.sol} +14 -1
- package/contracts/interfaces/{IStargateLPStaking.sol → IStargateStaking.sol} +2 -2
- package/deployments/1-core.json +2 -1
- package/deployments/42161-core.json +2 -1
- package/package.json +1 -1
- package/typechain-types/IPRouterHelper.ts +638 -0
- package/typechain-types/ISiloPriceProvider.ts +150 -0
- package/typechain-types/PendlePtOracleBase.ts +26 -0
- package/typechain-types/PendleRouterHelper.ts +270 -171
- package/typechain-types/PendleStargateLPSY.ts +1442 -0
- package/typechain-types/PtFraxUsdcOracle.ts +26 -0
- package/typechain-types/PtStETHOracle.ts +26 -0
- package/typechain-types/factories/ActionAddRemoveLiq__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/ActionMintRedeem__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/Broadcaster__factory.ts +1 -1
- package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
- package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
- package/typechain-types/factories/BulkSeller__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +17 -1
- package/typechain-types/factories/IPRouterHelper__factory.ts +763 -0
- package/typechain-types/factories/ISiloPriceProvider__factory.ts +90 -0
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethAnkrethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethWstethSY__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/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleGDaiSY__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 +1 -1
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendlePtOracleBase__factory.ts +26 -0
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterHelper__factory.ts +159 -47
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleStargateLPSY__factory.ts +1241 -0
- package/typechain-types/factories/PendleSwapArbitrum__factory.ts +1 -1
- package/typechain-types/factories/PendleSwapEthereum__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__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/PtFraxUsdcOracle__factory.ts +27 -1
- package/typechain-types/factories/PtStETHOracle__factory.ts +27 -1
- package/typechain-types/factories/SAPE__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 +36 -0
- package/typechain-types/index.ts +8 -0
- package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +0 -4
|
@@ -391,7 +391,7 @@ const _abi = [
|
|
|
391
391
|
];
|
|
392
392
|
|
|
393
393
|
const _bytecode =
|
|
394
|
-
"
|
|
394
|
+
"0x60a060405234801561001057600080fd5b5060405162000f3238038062000f3283398101604081905261003191610214565b6001600160a01b038116608052606754600160a81b900460ff161580801561006657506067546001600160a01b90910460ff16105b80610098575061007f3061018460201b6105af1760201c565b1580156100985750606754600160a01b900460ff166001145b6101005760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6067805460ff60a01b1916600160a01b179055801561012d576067805460ff60a81b1916600160a81b1790555b610135610193565b801561017d576067805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050610244565b6001600160a01b03163b151590565b606754600160a81b900460ff166102005760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016100f7565b606680546001600160a01b03191633179055565b60006020828403121561022657600080fd5b81516001600160a01b038116811461023d57600080fd5b9392505050565b608051610ccb620002676000396000818161017c01526104dc0152610ccb6000f3fe608060405234801561001057600080fd5b50600436106100d05760003560e01c8063078dfbe7146100d557806330d981af146100ea5780633ff03207146101085780634e71e0c81461011257806370a082311461011a578063769b1ebc1461012d5780638da5cb5b14610140578063aafcbe7614610160578063af5a8f7b14610177578063cb6b4f3c1461019e578063e0299bf5146101f2578063e268b3a414610205578063e30c397814610218578063ef1c243a1461022b578063f4359ce514610108578063fa78668f14610233575b600080fd5b6100e86100e336600461088e565b61023e565b005b6100f2610345565b6040516100ff91906108d3565b60405180910390f35b6100f262093a8081565b6100e8610354565b6100f26101283660046108e7565b610400565b6100e861013b366004610904565b61043b565b606654610153906001600160a01b031681565b6040516100ff919061093d565b61016960985481565b6040519081526020016100ff565b6101537f000000000000000000000000000000000000000000000000000000000000000081565b6101d26101ac3660046108e7565b6001602052600090815260409020546001600160801b0380821691600160801b90041682565b604080516001600160801b039384168152929091166020830152016100ff565b6100e8610200366004610951565b6104d1565b6101d26102133660046108e7565b61055f565b606754610153906001600160a01b031681565b6100f261057c565b6100f26303bfc40081565b6066546001600160a01b031633146102715760405162461bcd60e51b8152600401610268906109c2565b60405180910390fd5b8115610323576001600160a01b03831615158061028b5750805b6102cf5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610268565b6066546040516001600160a01b03808616921690600080516020610c7683398151915290600090a3606680546001600160a01b0385166001600160a01b031991821617909155606780549091169055505050565b606780546001600160a01b0385166001600160a01b0319909116179055505050565b600061034f61057c565b905090565b6067546001600160a01b03163381146103af5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610268565b6066546040516001600160a01b03808416921690600080516020610c7683398151915290600090a3606680546001600160a01b039092166001600160a01b0319928316179055606780549091169055565b6001600160a01b03808216600090815260996020526040812054909116806104325761042b836105be565b9392505050565b61042b816105be565b6066546001600160a01b031633146104655760405162461bcd60e51b8152600401610268906109c2565b6001600160a01b0382811660008181526099602090815260409182902080546001600160a01b031916948616948517905581519384528301919091527f8d268954369e04c7941c3a7876f40c618eb97919add31202c9a235e75e84cf1b91015b60405180910390a15050565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461051c5733604051632b5c157560e11b8152600401610268919061093d565b61055b82828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061061792505050565b5050565b60008061056a610345565b61057384610400565b91509150915091565b60408051808201909152600080546001600160801b038082168452600160801b9091041660208301529061034f90610656565b6001600160a01b03163b151590565b6001600160a01b03811660009081526001602090815260408083208151808301909252546001600160801b038082168352600160801b90910416918101919091526106119061060c90610678565b610656565b92915050565b6000806000838060200190518101906106309190610ab1565b92509250925061064083836106ca565b805115610650576106508161074b565b50505050565b6000610661826107dd565b1561066e57506000919050565b610611824261080e565b6040805180820190915260008082526020820152815161069d906303bfc40090610b95565b6001600160801b031660208083018290528301516106ba91610bc9565b6001600160801b03168152919050565b609854826001600160801b031610156106f857816040516367379c8f60e11b815260040161026891906108d3565b6001600160801b03808316609855815160208301518216600160801b029116176000556040517f460b96294ff8de4eea3be3fb4fac9f978cffe83c7cc3140a4bfe0bedba26b92f906104c5908390610bf4565b600080828060200190518101906107629190610c18565b6001600160a01b0382166000908152600160209081526040918290208351918401516001600160801b03908116600160801b0292169190911790555191935091507f776960a80ccfa09c52229b183bf0ef49b26a5d15f9ae2c1c0f780a450d3b2a9f906107d0908390610bf4565b60405180910390a1505050565b600081600001516001600160801b03164283602001516107fd9190610bc9565b6001600160801b0316101592915050565b600082600001516001600160801b031682846020015161082e9190610bc9565b6001600160801b0316111561084557506000610611565b8183602001516108559190610bc9565b835161042b9190610c4e565b6001600160a01b038116811461087657600080fd5b50565b8035801515811461088957600080fd5b919050565b6000806000606084860312156108a357600080fd5b83356108ae81610861565b92506108bc60208501610879565b91506108ca60408501610879565b90509250925092565b6001600160801b0391909116815260200190565b6000602082840312156108f957600080fd5b813561042b81610861565b6000806040838503121561091757600080fd5b823561092281610861565b9150602083013561093281610861565b809150509250929050565b6001600160a01b0391909116815260200190565b6000806020838503121561096457600080fd5b82356001600160401b038082111561097b57600080fd5b818501915085601f83011261098f57600080fd5b81358181111561099e57600080fd5b8660208285010111156109b057600080fd5b60209290920196919550909350505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b80516001600160801b038116811461088957600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715610a4c57610a4c610a0e565b604052919050565b600060408284031215610a6657600080fd5b604080519081016001600160401b0381118282101715610a8857610a88610a0e565b604052905080610a97836109f7565b8152610aa5602084016109f7565b60208201525092915050565b600080600060808486031215610ac657600080fd5b610acf846109f7565b92506020610adf86828701610a54565b60608601519093506001600160401b0380821115610afc57600080fd5b818701915087601f830112610b1057600080fd5b815181811115610b2257610b22610a0e565b610b34601f8201601f19168501610a24565b91508082528884828501011115610b4a57600080fd5b60005b81811015610b68578381018501518382018601528401610b4d565b506000848284010152508093505050509250925092565b634e487b7160e01b600052601160045260246000fd5b60006001600160801b0383811680610bbd57634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b6001600160801b03818116838216028082169190828114610bec57610bec610b7f565b505092915050565b60408101610611828480516001600160801b03908116835260209182015116910152565b60008060608385031215610c2b57600080fd5b8251610c3681610861565b9150610c458460208501610a54565b90509250929050565b6001600160801b03828116828216039080821115610c6e57610c6e610b7f565b509291505056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a26469706673582212205142b01893bc258061028b1ed37f88ef6a9605bed1c3a5e8b8521aaf7621b30e64736f6c63430008110033";
|
|
395
395
|
|
|
396
396
|
type VotingEscrowPendleSidechainConstructorParams =
|
|
397
397
|
| [signer?: Signer]
|
|
@@ -228,6 +228,10 @@ declare module "hardhat/types/runtime" {
|
|
|
228
228
|
name: "PendleLooksStakingSY",
|
|
229
229
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
230
230
|
): Promise<Contracts.PendleLooksStakingSY__factory>;
|
|
231
|
+
getContractFactory(
|
|
232
|
+
name: "PendleStargateLPSY",
|
|
233
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
234
|
+
): Promise<Contracts.PendleStargateLPSY__factory>;
|
|
231
235
|
getContractFactory(
|
|
232
236
|
name: "PendleWstEthSY",
|
|
233
237
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -508,6 +512,10 @@ declare module "hardhat/types/runtime" {
|
|
|
508
512
|
name: "IPPrincipalToken",
|
|
509
513
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
510
514
|
): Promise<Contracts.IPPrincipalToken__factory>;
|
|
515
|
+
getContractFactory(
|
|
516
|
+
name: "IPRouterHelper",
|
|
517
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
518
|
+
): Promise<Contracts.IPRouterHelper__factory>;
|
|
511
519
|
getContractFactory(
|
|
512
520
|
name: "IPRouterStatic",
|
|
513
521
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -556,6 +564,10 @@ declare module "hardhat/types/runtime" {
|
|
|
556
564
|
name: "IStandardizedYield",
|
|
557
565
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
558
566
|
): Promise<Contracts.IStandardizedYield__factory>;
|
|
567
|
+
getContractFactory(
|
|
568
|
+
name: "IStargateLP",
|
|
569
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
570
|
+
): Promise<Contracts.IStargateLP__factory>;
|
|
559
571
|
getContractFactory(
|
|
560
572
|
name: "IStargateLPStaking",
|
|
561
573
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -568,6 +580,10 @@ declare module "hardhat/types/runtime" {
|
|
|
568
580
|
name: "IStargateRouter",
|
|
569
581
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
570
582
|
): Promise<Contracts.IStargateRouter__factory>;
|
|
583
|
+
getContractFactory(
|
|
584
|
+
name: "IStargateStaking",
|
|
585
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
586
|
+
): Promise<Contracts.IStargateStaking__factory>;
|
|
571
587
|
getContractFactory(
|
|
572
588
|
name: "IStETH",
|
|
573
589
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -1039,6 +1055,11 @@ declare module "hardhat/types/runtime" {
|
|
|
1039
1055
|
address: string,
|
|
1040
1056
|
signer?: ethers.Signer
|
|
1041
1057
|
): Promise<Contracts.PendleLooksStakingSY>;
|
|
1058
|
+
getContractAt(
|
|
1059
|
+
name: "PendleStargateLPSY",
|
|
1060
|
+
address: string,
|
|
1061
|
+
signer?: ethers.Signer
|
|
1062
|
+
): Promise<Contracts.PendleStargateLPSY>;
|
|
1042
1063
|
getContractAt(
|
|
1043
1064
|
name: "PendleWstEthSY",
|
|
1044
1065
|
address: string,
|
|
@@ -1389,6 +1410,11 @@ declare module "hardhat/types/runtime" {
|
|
|
1389
1410
|
address: string,
|
|
1390
1411
|
signer?: ethers.Signer
|
|
1391
1412
|
): Promise<Contracts.IPPrincipalToken>;
|
|
1413
|
+
getContractAt(
|
|
1414
|
+
name: "IPRouterHelper",
|
|
1415
|
+
address: string,
|
|
1416
|
+
signer?: ethers.Signer
|
|
1417
|
+
): Promise<Contracts.IPRouterHelper>;
|
|
1392
1418
|
getContractAt(
|
|
1393
1419
|
name: "IPRouterStatic",
|
|
1394
1420
|
address: string,
|
|
@@ -1449,6 +1475,11 @@ declare module "hardhat/types/runtime" {
|
|
|
1449
1475
|
address: string,
|
|
1450
1476
|
signer?: ethers.Signer
|
|
1451
1477
|
): Promise<Contracts.IStandardizedYield>;
|
|
1478
|
+
getContractAt(
|
|
1479
|
+
name: "IStargateLP",
|
|
1480
|
+
address: string,
|
|
1481
|
+
signer?: ethers.Signer
|
|
1482
|
+
): Promise<Contracts.IStargateLP>;
|
|
1452
1483
|
getContractAt(
|
|
1453
1484
|
name: "IStargateLPStaking",
|
|
1454
1485
|
address: string,
|
|
@@ -1464,6 +1495,11 @@ declare module "hardhat/types/runtime" {
|
|
|
1464
1495
|
address: string,
|
|
1465
1496
|
signer?: ethers.Signer
|
|
1466
1497
|
): Promise<Contracts.IStargateRouter>;
|
|
1498
|
+
getContractAt(
|
|
1499
|
+
name: "IStargateStaking",
|
|
1500
|
+
address: string,
|
|
1501
|
+
signer?: ethers.Signer
|
|
1502
|
+
): Promise<Contracts.IStargateStaking>;
|
|
1467
1503
|
getContractAt(
|
|
1468
1504
|
name: "IStETH",
|
|
1469
1505
|
address: string,
|
package/typechain-types/index.ts
CHANGED
|
@@ -54,6 +54,7 @@ export type { GLPPreviewHelper } from "./GLPPreviewHelper";
|
|
|
54
54
|
export type { PendleGlpSY } from "./PendleGlpSY";
|
|
55
55
|
export type { PendleGDaiSY } from "./PendleGDaiSY";
|
|
56
56
|
export type { PendleLooksStakingSY } from "./PendleLooksStakingSY";
|
|
57
|
+
export type { PendleStargateLPSY } from "./PendleStargateLPSY";
|
|
57
58
|
export type { PendleWstEthSY } from "./PendleWstEthSY";
|
|
58
59
|
export type { SYBase } from "./SYBase";
|
|
59
60
|
export type { SYBaseWithRewards } from "./SYBaseWithRewards";
|
|
@@ -124,6 +125,7 @@ export type { IPMiniDiamond } from "./IPMiniDiamond";
|
|
|
124
125
|
export type { IPMsgReceiverApp } from "./IPMsgReceiverApp";
|
|
125
126
|
export type { IPMsgSendEndpoint } from "./IPMsgSendEndpoint";
|
|
126
127
|
export type { IPPrincipalToken } from "./IPPrincipalToken";
|
|
128
|
+
export type { IPRouterHelper } from "./IPRouterHelper";
|
|
127
129
|
export type { IPRouterStatic } from "./IPRouterStatic";
|
|
128
130
|
export type { IPVeToken } from "./IPVeToken";
|
|
129
131
|
export type { IPVotingController } from "./IPVotingController";
|
|
@@ -136,9 +138,11 @@ export type { IQiErc20 } from "./IQiErc20";
|
|
|
136
138
|
export type { IQiToken } from "./IQiToken";
|
|
137
139
|
export type { IRewardManager } from "./IRewardManager";
|
|
138
140
|
export type { IStandardizedYield } from "./IStandardizedYield";
|
|
141
|
+
export type { IStargateLP } from "./IStargateLP";
|
|
139
142
|
export type { IStargateLPStaking } from "./IStargateLPStaking";
|
|
140
143
|
export type { IStargatePool } from "./IStargatePool";
|
|
141
144
|
export type { IStargateRouter } from "./IStargateRouter";
|
|
145
|
+
export type { IStargateStaking } from "./IStargateStaking";
|
|
142
146
|
export type { IStETH } from "./IStETH";
|
|
143
147
|
export type { IWETH } from "./IWETH";
|
|
144
148
|
export type { IWstETH } from "./IWstETH";
|
|
@@ -240,6 +244,7 @@ export { GLPPreviewHelper__factory } from "./factories/GLPPreviewHelper__factory
|
|
|
240
244
|
export { PendleGlpSY__factory } from "./factories/PendleGlpSY__factory";
|
|
241
245
|
export { PendleGDaiSY__factory } from "./factories/PendleGDaiSY__factory";
|
|
242
246
|
export { PendleLooksStakingSY__factory } from "./factories/PendleLooksStakingSY__factory";
|
|
247
|
+
export { PendleStargateLPSY__factory } from "./factories/PendleStargateLPSY__factory";
|
|
243
248
|
export { PendleWstEthSY__factory } from "./factories/PendleWstEthSY__factory";
|
|
244
249
|
export { SYBase__factory } from "./factories/SYBase__factory";
|
|
245
250
|
export { SYBaseWithRewards__factory } from "./factories/SYBaseWithRewards__factory";
|
|
@@ -310,6 +315,7 @@ export { IPMiniDiamond__factory } from "./factories/IPMiniDiamond__factory";
|
|
|
310
315
|
export { IPMsgReceiverApp__factory } from "./factories/IPMsgReceiverApp__factory";
|
|
311
316
|
export { IPMsgSendEndpoint__factory } from "./factories/IPMsgSendEndpoint__factory";
|
|
312
317
|
export { IPPrincipalToken__factory } from "./factories/IPPrincipalToken__factory";
|
|
318
|
+
export { IPRouterHelper__factory } from "./factories/IPRouterHelper__factory";
|
|
313
319
|
export { IPRouterStatic__factory } from "./factories/IPRouterStatic__factory";
|
|
314
320
|
export { IPVeToken__factory } from "./factories/IPVeToken__factory";
|
|
315
321
|
export { IPVotingController__factory } from "./factories/IPVotingController__factory";
|
|
@@ -322,9 +328,11 @@ export { IQiErc20__factory } from "./factories/IQiErc20__factory";
|
|
|
322
328
|
export { IQiToken__factory } from "./factories/IQiToken__factory";
|
|
323
329
|
export { IRewardManager__factory } from "./factories/IRewardManager__factory";
|
|
324
330
|
export { IStandardizedYield__factory } from "./factories/IStandardizedYield__factory";
|
|
331
|
+
export { IStargateLP__factory } from "./factories/IStargateLP__factory";
|
|
325
332
|
export { IStargateLPStaking__factory } from "./factories/IStargateLPStaking__factory";
|
|
326
333
|
export { IStargatePool__factory } from "./factories/IStargatePool__factory";
|
|
327
334
|
export { IStargateRouter__factory } from "./factories/IStargateRouter__factory";
|
|
335
|
+
export { IStargateStaking__factory } from "./factories/IStargateStaking__factory";
|
|
328
336
|
export { IStETH__factory } from "./factories/IStETH__factory";
|
|
329
337
|
export { IWETH__factory } from "./factories/IWETH__factory";
|
|
330
338
|
export { IWstETH__factory } from "./factories/IWstETH__factory";
|