@pendle/core-v2 5.1.1-beta-2 → 5.1.2-beta-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +67 -23
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +19 -6
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithoutPermitUpg.sol/SYBaseWithoutPermitUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithoutPermitUpg.sol/{SYBaseUpg.json → SYBaseWithoutPermitUpg.json} +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleStkGHOSY.sol/PendleStkGHOSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleStkGHOSY.sol/PendleStkGHOSY.json +1160 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDEMantleSY.sol/PendleSUSDEMantleSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDEMantleSY.sol/PendleSUSDEMantleSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDEL2SY.sol/PendleUSDEL2SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDEL2SY.sol/PendleUSDEL2SY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleEBTCSY.sol/PendleEBTCSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleEBTCSY.sol/PendleEBTCSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleEEigenSYUpg.sol/PendleEEigenSYUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleEEigenSYUpg.sol/PendleEEigenSYUpg.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthkSY.sol/PendleWEEthkSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthkSY.sol/PendleWEEthkSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthsSY.sol/PendleWEEthsSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthsSY.sol/PendleWEEthsSY.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 +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Mantle/PendleCMETHSY.sol/PendleCMETHSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Mantle/PendleCMETHSY.sol/PendleCMETHSY.json +1049 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20SYUpg.sol/PendleERC20SYUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20SYUpg.sol/PendleERC20SYUpg.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveNonBorrowableSY.sol/PendleSiloWithIncentiveNonBorrowableSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveNonBorrowableSY.sol/PendleSiloWithIncentiveNonBorrowableSY.json +1222 -0
- package/build/artifacts/contracts/interfaces/AaveV3/IAaveStkGHO.sol/IAaveStkGHO.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/AaveV3/IAaveStkGHO.sol/IAaveStkGHO.json +116 -0
- package/build/artifacts/contracts/interfaces/Angle/IAngleDistributor.sol/IAngleDistributor.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Angle/IAngleDistributor.sol/IAngleDistributor.json +39 -0
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.json +196 -0
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.json +66 -0
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +196 -78
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.json +196 -0
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.json +196 -0
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.json +196 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapLimitV3.sol/IPActionSwapLimitV3.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapLimitV3.sol/IPActionSwapLimitV3.json +2638 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.json +196 -0
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.json +196 -0
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +1220 -48
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapLimitV3Events.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapLimitV3Events.json +207 -0
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.json +196 -0
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +262 -0
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.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 +27 -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 +68 -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 +198 -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/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +198 -2
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +198 -80
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +198 -2
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +198 -2
- package/build/artifacts/contracts/router/ActionSwapLimitV3.sol/ActionSwapLimitV3.dbg.json +4 -0
- package/build/artifacts/contracts/router/ActionSwapLimitV3.sol/ActionSwapLimitV3.json +2638 -0
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +198 -2
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +198 -2
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
- package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +27 -6
- package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +3 -2
- package/contracts/core/StandardizedYield/SYBaseWithoutPermitUpg.sol +1 -1
- package/contracts/core/StandardizedYield/implementations/AaveV3/PendleStkGHOSY.sol +130 -0
- package/contracts/core/StandardizedYield/implementations/EtherFi/PendleEEigenSYUpg.sol +6 -2
- package/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol +1 -2
- package/contracts/core/StandardizedYield/implementations/Mantle/PendleCMETHSY.sol +82 -0
- package/contracts/core/StandardizedYield/implementations/PendleERC20SYUpg.sol +6 -1
- package/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveNonBorrowableSY.sol +154 -0
- package/contracts/interfaces/AaveV3/IAaveStkGHO.sol +17 -0
- package/contracts/interfaces/Angle/IAngleDistributor.sol +12 -0
- package/contracts/interfaces/IPActionAddRemoveLiqV3.sol +6 -6
- package/contracts/interfaces/IPActionMarketCoreStatic.sol +4 -0
- package/contracts/interfaces/IPActionMiscV3.sol +2 -8
- package/contracts/interfaces/IPActionSwapLimitV3.sol +42 -0
- package/contracts/interfaces/IPActionSwapPTV3.sol +4 -4
- package/contracts/interfaces/IPActionSwapYTV3.sol +4 -4
- package/contracts/interfaces/IPAllActionTypeV3.sol +4 -0
- package/contracts/interfaces/IPAllActionV3.sol +3 -1
- package/contracts/interfaces/IPAllEventsV3.sol +44 -1
- package/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol +5 -0
- package/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol +1 -1
- package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +1 -1
- package/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol +10 -4
- package/contracts/router/ActionAddRemoveLiqV3.sol +9 -9
- package/contracts/router/ActionMiscV3.sol +3 -17
- package/contracts/router/ActionSwapLimitV3.sol +126 -0
- package/contracts/router/ActionSwapPTV3.sol +4 -4
- package/contracts/router/ActionSwapYTV3.sol +4 -4
- package/contracts/router/base/ActionBase.sol +35 -12
- package/contracts/router/base/ActionDelegateBase.sol +1 -1
- package/contracts/router/swap-aggregator/IPSwapAggregator.sol +1 -1
- package/contracts/router/swap-aggregator/PendleSwap.sol +0 -43
- package/deployments/1-core.json +1 -1
- package/deployments/1-markets/RSETH-MAINNET-JUN2025.json +14 -0
- package/deployments/1-markets/STKGHO-MAINNET-APR2025.json +14 -0
- package/deployments/1-markets/WEETH-MAINNET-JUN2025.json +14 -0
- package/deployments/10-core.json +1 -1
- package/deployments/42161-core.json +1 -1
- package/deployments/42161-markets/DOLOMITE-USDC-ARBITRUM-JUN2025.json +14 -0
- package/deployments/42161-markets/DOLOMITE-WBTC-ARBITRUM-JUN2025.json +14 -0
- package/deployments/42161-markets/RSETH-ARBITRUM-JUN2025.json +14 -0
- package/deployments/42161-markets/SPSILO-ARBITRUM-MAR2025.json +14 -0
- package/deployments/42161-markets/WEETH-ARBITRUM-JUN2025.json +14 -0
- package/deployments/5000-core.json +1 -1
- package/deployments/5000-markets/CMETH-MANTLE-FEB2025.json +14 -0
- package/deployments/56-core.json +2 -2
- package/deployments/56-markets/VENUS-BNB-BSC-JUN2025.json +14 -0
- package/package.json +1 -1
- package/typechain-types/ActionAddRemoveLiqV3.ts +148 -0
- package/typechain-types/ActionMarketCoreStatic.ts +68 -0
- package/typechain-types/ActionMiscV3.ts +148 -44
- package/typechain-types/ActionSimple.ts +148 -0
- package/typechain-types/ActionStorageStatic.ts +148 -0
- package/typechain-types/ActionStorageV4.ts +148 -0
- package/typechain-types/ActionSwapLimitV3.ts +1667 -0
- package/typechain-types/ActionSwapPTV3.ts +148 -0
- package/typechain-types/ActionSwapYTV3.ts +148 -0
- package/typechain-types/IAaveStkGHO.ts +269 -0
- package/typechain-types/IAngleDistributor.ts +117 -0
- package/typechain-types/IPActionAddRemoveLiqV3.ts +148 -0
- package/typechain-types/IPActionMarketCoreStatic.ts +68 -0
- package/typechain-types/IPActionMiscV3.ts +148 -44
- package/typechain-types/IPActionSimple.ts +148 -0
- package/typechain-types/IPActionStorageStatic.ts +148 -0
- package/typechain-types/IPActionStorageV4.ts +148 -0
- package/typechain-types/IPActionSwapLimitV3.ts +1667 -0
- package/typechain-types/IPActionSwapLimitV3Events.ts +207 -0
- package/typechain-types/IPActionSwapPTV3.ts +148 -0
- package/typechain-types/IPActionSwapYTV3.ts +148 -0
- package/typechain-types/IPAllActionV3.ts +390 -20
- package/typechain-types/IPAllEventsV3.ts +148 -0
- package/typechain-types/IPChainlinkOracle.ts +221 -0
- package/typechain-types/IPChainlinkOracleFactory.ts +123 -0
- package/typechain-types/IPChainlinkOracleWithQuote.ts +404 -0
- package/typechain-types/IPRouterStatic.ts +182 -0
- package/typechain-types/PendleCMETHSY.ts +1349 -0
- package/typechain-types/PendleChainlinkOracle.ts +299 -0
- package/typechain-types/PendleChainlinkOracleBase.ts +299 -0
- package/typechain-types/PendleChainlinkOracleFactory.ts +389 -0
- package/typechain-types/PendleChainlinkOracleWithQuote.ts +335 -0
- package/typechain-types/PendleSiloWithIncentiveNonBorrowableSY.ts +1543 -0
- package/typechain-types/PendleStkGHOSY.ts +1522 -0
- package/typechain-types/PendleVotingControllerUpg.ts +135 -43
- package/typechain-types/SYBaseWithoutPermitUpg.ts +1101 -0
- package/typechain-types/VotingControllerStorageUpg.ts +34 -15
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +197 -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 +67 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +197 -79
- package/typechain-types/factories/ActionSimple__factory.ts +197 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +197 -1
- package/typechain-types/factories/ActionStorageV4__factory.ts +197 -1
- package/typechain-types/factories/ActionSwapLimitV3__factory.ts +2691 -0
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +197 -1
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +197 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/IAaveStkGHO__factory.ts +128 -0
- package/typechain-types/factories/IAngleDistributor__factory.ts +54 -0
- package/typechain-types/factories/IPActionAddRemoveLiqV3__factory.ts +196 -0
- package/typechain-types/factories/IPActionMarketCoreStatic__factory.ts +66 -0
- package/typechain-types/factories/IPActionMiscV3__factory.ts +196 -78
- package/typechain-types/factories/IPActionSimple__factory.ts +196 -0
- package/typechain-types/factories/IPActionStorageStatic__factory.ts +196 -0
- package/typechain-types/factories/IPActionStorageV4__factory.ts +196 -0
- package/typechain-types/factories/IPActionSwapLimitV3Events__factory.ts +226 -0
- package/typechain-types/factories/IPActionSwapLimitV3__factory.ts +2653 -0
- package/typechain-types/factories/IPActionSwapPTV3__factory.ts +196 -0
- package/typechain-types/factories/IPActionSwapYTV3__factory.ts +196 -0
- package/typechain-types/factories/IPAllActionV3__factory.ts +1220 -48
- package/typechain-types/factories/IPAllEventsV3__factory.ts +196 -0
- package/typechain-types/factories/IPChainlinkOracleFactory__factory.ts +110 -0
- package/typechain-types/factories/IPChainlinkOracleWithQuote__factory.ts +281 -0
- package/typechain-types/factories/IPChainlinkOracle__factory.ts +137 -0
- package/typechain-types/factories/IPRouterStatic__factory.ts +262 -0
- package/typechain-types/factories/PendleCMETHSY__factory.ts +1099 -0
- package/typechain-types/factories/PendleChainlinkOracleBase__factory.ts +272 -0
- package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +362 -0
- package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +394 -0
- package/typechain-types/factories/PendleChainlinkOracle__factory.ts +354 -0
- package/typechain-types/factories/PendleEBTCSY__factory.ts +1 -1
- package/typechain-types/factories/PendleEEigenSYUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleERC20SYUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
- package/typechain-types/factories/PendleSUSDEMantleSY__factory.ts +1 -1
- package/typechain-types/factories/PendleSiloWithIncentiveNonBorrowableSY__factory.ts +1317 -0
- package/typechain-types/factories/PendleStkGHOSY__factory.ts +1213 -0
- package/typechain-types/factories/PendleSwap__factory.ts +1 -1
- package/typechain-types/factories/PendleUSDEL2SY__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +66 -22
- package/typechain-types/factories/PendleWEEthkSY__factory.ts +1 -1
- package/typechain-types/factories/PendleWEEthsSY__factory.ts +1 -1
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/factories/SDKErrorsDirectory__factory.ts +26 -1
- package/typechain-types/factories/SYBaseWithoutPermitUpg__factory.ts +871 -0
- package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +19 -6
- package/typechain-types/hardhat.d.ts +76 -13
- package/typechain-types/index.ts +18 -2
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithoutPermitUpg.sol/SYBaseUpg.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.json +0 -10
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +0 -4
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.json +0 -82
- package/contracts/offchain-helpers/MarketExchangeRateLib.sol +0 -32
|
@@ -215,6 +215,19 @@ const _abi = [
|
|
|
215
215
|
stateMutability: "view",
|
|
216
216
|
type: "function",
|
|
217
217
|
},
|
|
218
|
+
{
|
|
219
|
+
inputs: [],
|
|
220
|
+
name: "addPoolHelper",
|
|
221
|
+
outputs: [
|
|
222
|
+
{
|
|
223
|
+
internalType: "address",
|
|
224
|
+
name: "",
|
|
225
|
+
type: "address",
|
|
226
|
+
},
|
|
227
|
+
],
|
|
228
|
+
stateMutability: "view",
|
|
229
|
+
type: "function",
|
|
230
|
+
},
|
|
218
231
|
{
|
|
219
232
|
inputs: [
|
|
220
233
|
{
|
|
@@ -630,12 +643,12 @@ const _abi = [
|
|
|
630
643
|
},
|
|
631
644
|
{
|
|
632
645
|
inputs: [],
|
|
633
|
-
name: "
|
|
646
|
+
name: "pendlePerSec",
|
|
634
647
|
outputs: [
|
|
635
648
|
{
|
|
636
|
-
internalType: "
|
|
649
|
+
internalType: "uint128",
|
|
637
650
|
name: "",
|
|
638
|
-
type: "
|
|
651
|
+
type: "uint128",
|
|
639
652
|
},
|
|
640
653
|
],
|
|
641
654
|
stateMutability: "view",
|
|
@@ -643,12 +656,12 @@ const _abi = [
|
|
|
643
656
|
},
|
|
644
657
|
{
|
|
645
658
|
inputs: [],
|
|
646
|
-
name: "
|
|
659
|
+
name: "removePoolHelper",
|
|
647
660
|
outputs: [
|
|
648
661
|
{
|
|
649
|
-
internalType: "
|
|
662
|
+
internalType: "address",
|
|
650
663
|
name: "",
|
|
651
|
-
type: "
|
|
664
|
+
type: "address",
|
|
652
665
|
},
|
|
653
666
|
],
|
|
654
667
|
stateMutability: "view",
|
|
@@ -204,6 +204,10 @@ declare module "hardhat/types/runtime" {
|
|
|
204
204
|
name: "PendleAaveV3WithRewardsSY",
|
|
205
205
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
206
206
|
): Promise<Contracts.PendleAaveV3WithRewardsSY__factory>;
|
|
207
|
+
getContractFactory(
|
|
208
|
+
name: "PendleStkGHOSY",
|
|
209
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
210
|
+
): Promise<Contracts.PendleStkGHOSY__factory>;
|
|
207
211
|
getContractFactory(
|
|
208
212
|
name: "PendleAnkrBNBSY",
|
|
209
213
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -524,6 +528,10 @@ declare module "hardhat/types/runtime" {
|
|
|
524
528
|
name: "PendleLBTCSY",
|
|
525
529
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
526
530
|
): Promise<Contracts.PendleLBTCSY__factory>;
|
|
531
|
+
getContractFactory(
|
|
532
|
+
name: "PendleCMETHSY",
|
|
533
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
534
|
+
): Promise<Contracts.PendleCMETHSY__factory>;
|
|
527
535
|
getContractFactory(
|
|
528
536
|
name: "PendleMETHSY",
|
|
529
537
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -656,6 +664,10 @@ declare module "hardhat/types/runtime" {
|
|
|
656
664
|
name: "PendleREZtakeSY",
|
|
657
665
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
658
666
|
): Promise<Contracts.PendleREZtakeSY__factory>;
|
|
667
|
+
getContractFactory(
|
|
668
|
+
name: "PendleSiloWithIncentiveNonBorrowableSY",
|
|
669
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
670
|
+
): Promise<Contracts.PendleSiloWithIncentiveNonBorrowableSY__factory>;
|
|
659
671
|
getContractFactory(
|
|
660
672
|
name: "PendleSiloWithIncentiveSY",
|
|
661
673
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -781,9 +793,9 @@ declare module "hardhat/types/runtime" {
|
|
|
781
793
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
782
794
|
): Promise<Contracts.SYBaseUpg__factory>;
|
|
783
795
|
getContractFactory(
|
|
784
|
-
name: "
|
|
796
|
+
name: "SYBaseWithoutPermitUpg",
|
|
785
797
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
786
|
-
): Promise<Contracts.
|
|
798
|
+
): Promise<Contracts.SYBaseWithoutPermitUpg__factory>;
|
|
787
799
|
getContractFactory(
|
|
788
800
|
name: "SYBaseWithRewards",
|
|
789
801
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -808,6 +820,10 @@ declare module "hardhat/types/runtime" {
|
|
|
808
820
|
name: "PendleYieldToken",
|
|
809
821
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
810
822
|
): Promise<Contracts.PendleYieldToken__factory>;
|
|
823
|
+
getContractFactory(
|
|
824
|
+
name: "IAaveStkGHO",
|
|
825
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
826
|
+
): Promise<Contracts.IAaveStkGHO__factory>;
|
|
811
827
|
getContractFactory(
|
|
812
828
|
name: "IAaveV3AToken",
|
|
813
829
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -820,6 +836,10 @@ declare module "hardhat/types/runtime" {
|
|
|
820
836
|
name: "IAaveV3Pool",
|
|
821
837
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
822
838
|
): Promise<Contracts.IAaveV3Pool__factory>;
|
|
839
|
+
getContractFactory(
|
|
840
|
+
name: "IAngleDistributor",
|
|
841
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
842
|
+
): Promise<Contracts.IAngleDistributor__factory>;
|
|
823
843
|
getContractFactory(
|
|
824
844
|
name: "IAnkrBNB",
|
|
825
845
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -1124,6 +1144,10 @@ declare module "hardhat/types/runtime" {
|
|
|
1124
1144
|
name: "IPActionStorageV4",
|
|
1125
1145
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
1126
1146
|
): Promise<Contracts.IPActionStorageV4__factory>;
|
|
1147
|
+
getContractFactory(
|
|
1148
|
+
name: "IPActionSwapLimitV3",
|
|
1149
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
1150
|
+
): Promise<Contracts.IPActionSwapLimitV3__factory>;
|
|
1127
1151
|
getContractFactory(
|
|
1128
1152
|
name: "IPActionSwapPTV3",
|
|
1129
1153
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -1152,6 +1176,10 @@ declare module "hardhat/types/runtime" {
|
|
|
1152
1176
|
name: "IPActionStorageEvents",
|
|
1153
1177
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
1154
1178
|
): Promise<Contracts.IPActionStorageEvents__factory>;
|
|
1179
|
+
getContractFactory(
|
|
1180
|
+
name: "IPActionSwapLimitV3Events",
|
|
1181
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
1182
|
+
): Promise<Contracts.IPActionSwapLimitV3Events__factory>;
|
|
1155
1183
|
getContractFactory(
|
|
1156
1184
|
name: "IPActionSwapPTV3Events",
|
|
1157
1185
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -1816,6 +1844,10 @@ declare module "hardhat/types/runtime" {
|
|
|
1816
1844
|
name: "ActionStorageV4",
|
|
1817
1845
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
1818
1846
|
): Promise<Contracts.ActionStorageV4__factory>;
|
|
1847
|
+
getContractFactory(
|
|
1848
|
+
name: "ActionSwapLimitV3",
|
|
1849
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
1850
|
+
): Promise<Contracts.ActionSwapLimitV3__factory>;
|
|
1819
1851
|
getContractFactory(
|
|
1820
1852
|
name: "ActionSwapPTV3",
|
|
1821
1853
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -1860,10 +1892,6 @@ declare module "hardhat/types/runtime" {
|
|
|
1860
1892
|
name: "IKyberScalingHelper",
|
|
1861
1893
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
1862
1894
|
): Promise<Contracts.IKyberScalingHelper__factory>;
|
|
1863
|
-
getContractFactory(
|
|
1864
|
-
name: "IOdosRouterV2",
|
|
1865
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
1866
|
-
): Promise<Contracts.IOdosRouterV2__factory>;
|
|
1867
1895
|
getContractFactory(
|
|
1868
1896
|
name: "PendleSwap",
|
|
1869
1897
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -2109,6 +2137,11 @@ declare module "hardhat/types/runtime" {
|
|
|
2109
2137
|
address: string,
|
|
2110
2138
|
signer?: ethers.Signer
|
|
2111
2139
|
): Promise<Contracts.PendleAaveV3WithRewardsSY>;
|
|
2140
|
+
getContractAt(
|
|
2141
|
+
name: "PendleStkGHOSY",
|
|
2142
|
+
address: string,
|
|
2143
|
+
signer?: ethers.Signer
|
|
2144
|
+
): Promise<Contracts.PendleStkGHOSY>;
|
|
2112
2145
|
getContractAt(
|
|
2113
2146
|
name: "PendleAnkrBNBSY",
|
|
2114
2147
|
address: string,
|
|
@@ -2509,6 +2542,11 @@ declare module "hardhat/types/runtime" {
|
|
|
2509
2542
|
address: string,
|
|
2510
2543
|
signer?: ethers.Signer
|
|
2511
2544
|
): Promise<Contracts.PendleLBTCSY>;
|
|
2545
|
+
getContractAt(
|
|
2546
|
+
name: "PendleCMETHSY",
|
|
2547
|
+
address: string,
|
|
2548
|
+
signer?: ethers.Signer
|
|
2549
|
+
): Promise<Contracts.PendleCMETHSY>;
|
|
2512
2550
|
getContractAt(
|
|
2513
2551
|
name: "PendleMETHSY",
|
|
2514
2552
|
address: string,
|
|
@@ -2674,6 +2712,11 @@ declare module "hardhat/types/runtime" {
|
|
|
2674
2712
|
address: string,
|
|
2675
2713
|
signer?: ethers.Signer
|
|
2676
2714
|
): Promise<Contracts.PendleREZtakeSY>;
|
|
2715
|
+
getContractAt(
|
|
2716
|
+
name: "PendleSiloWithIncentiveNonBorrowableSY",
|
|
2717
|
+
address: string,
|
|
2718
|
+
signer?: ethers.Signer
|
|
2719
|
+
): Promise<Contracts.PendleSiloWithIncentiveNonBorrowableSY>;
|
|
2677
2720
|
getContractAt(
|
|
2678
2721
|
name: "PendleSiloWithIncentiveSY",
|
|
2679
2722
|
address: string,
|
|
@@ -2830,10 +2873,10 @@ declare module "hardhat/types/runtime" {
|
|
|
2830
2873
|
signer?: ethers.Signer
|
|
2831
2874
|
): Promise<Contracts.SYBaseUpg>;
|
|
2832
2875
|
getContractAt(
|
|
2833
|
-
name: "
|
|
2876
|
+
name: "SYBaseWithoutPermitUpg",
|
|
2834
2877
|
address: string,
|
|
2835
2878
|
signer?: ethers.Signer
|
|
2836
|
-
): Promise<Contracts.
|
|
2879
|
+
): Promise<Contracts.SYBaseWithoutPermitUpg>;
|
|
2837
2880
|
getContractAt(
|
|
2838
2881
|
name: "SYBaseWithRewards",
|
|
2839
2882
|
address: string,
|
|
@@ -2864,6 +2907,11 @@ declare module "hardhat/types/runtime" {
|
|
|
2864
2907
|
address: string,
|
|
2865
2908
|
signer?: ethers.Signer
|
|
2866
2909
|
): Promise<Contracts.PendleYieldToken>;
|
|
2910
|
+
getContractAt(
|
|
2911
|
+
name: "IAaveStkGHO",
|
|
2912
|
+
address: string,
|
|
2913
|
+
signer?: ethers.Signer
|
|
2914
|
+
): Promise<Contracts.IAaveStkGHO>;
|
|
2867
2915
|
getContractAt(
|
|
2868
2916
|
name: "IAaveV3AToken",
|
|
2869
2917
|
address: string,
|
|
@@ -2879,6 +2927,11 @@ declare module "hardhat/types/runtime" {
|
|
|
2879
2927
|
address: string,
|
|
2880
2928
|
signer?: ethers.Signer
|
|
2881
2929
|
): Promise<Contracts.IAaveV3Pool>;
|
|
2930
|
+
getContractAt(
|
|
2931
|
+
name: "IAngleDistributor",
|
|
2932
|
+
address: string,
|
|
2933
|
+
signer?: ethers.Signer
|
|
2934
|
+
): Promise<Contracts.IAngleDistributor>;
|
|
2882
2935
|
getContractAt(
|
|
2883
2936
|
name: "IAnkrBNB",
|
|
2884
2937
|
address: string,
|
|
@@ -3259,6 +3312,11 @@ declare module "hardhat/types/runtime" {
|
|
|
3259
3312
|
address: string,
|
|
3260
3313
|
signer?: ethers.Signer
|
|
3261
3314
|
): Promise<Contracts.IPActionStorageV4>;
|
|
3315
|
+
getContractAt(
|
|
3316
|
+
name: "IPActionSwapLimitV3",
|
|
3317
|
+
address: string,
|
|
3318
|
+
signer?: ethers.Signer
|
|
3319
|
+
): Promise<Contracts.IPActionSwapLimitV3>;
|
|
3262
3320
|
getContractAt(
|
|
3263
3321
|
name: "IPActionSwapPTV3",
|
|
3264
3322
|
address: string,
|
|
@@ -3294,6 +3352,11 @@ declare module "hardhat/types/runtime" {
|
|
|
3294
3352
|
address: string,
|
|
3295
3353
|
signer?: ethers.Signer
|
|
3296
3354
|
): Promise<Contracts.IPActionStorageEvents>;
|
|
3355
|
+
getContractAt(
|
|
3356
|
+
name: "IPActionSwapLimitV3Events",
|
|
3357
|
+
address: string,
|
|
3358
|
+
signer?: ethers.Signer
|
|
3359
|
+
): Promise<Contracts.IPActionSwapLimitV3Events>;
|
|
3297
3360
|
getContractAt(
|
|
3298
3361
|
name: "IPActionSwapPTV3Events",
|
|
3299
3362
|
address: string,
|
|
@@ -4124,6 +4187,11 @@ declare module "hardhat/types/runtime" {
|
|
|
4124
4187
|
address: string,
|
|
4125
4188
|
signer?: ethers.Signer
|
|
4126
4189
|
): Promise<Contracts.ActionStorageV4>;
|
|
4190
|
+
getContractAt(
|
|
4191
|
+
name: "ActionSwapLimitV3",
|
|
4192
|
+
address: string,
|
|
4193
|
+
signer?: ethers.Signer
|
|
4194
|
+
): Promise<Contracts.ActionSwapLimitV3>;
|
|
4127
4195
|
getContractAt(
|
|
4128
4196
|
name: "ActionSwapPTV3",
|
|
4129
4197
|
address: string,
|
|
@@ -4179,11 +4247,6 @@ declare module "hardhat/types/runtime" {
|
|
|
4179
4247
|
address: string,
|
|
4180
4248
|
signer?: ethers.Signer
|
|
4181
4249
|
): Promise<Contracts.IKyberScalingHelper>;
|
|
4182
|
-
getContractAt(
|
|
4183
|
-
name: "IOdosRouterV2",
|
|
4184
|
-
address: string,
|
|
4185
|
-
signer?: ethers.Signer
|
|
4186
|
-
): Promise<Contracts.IOdosRouterV2>;
|
|
4187
4250
|
getContractAt(
|
|
4188
4251
|
name: "PendleSwap",
|
|
4189
4252
|
address: string,
|
package/typechain-types/index.ts
CHANGED
|
@@ -48,6 +48,7 @@ export type { RewardManager } from "./RewardManager";
|
|
|
48
48
|
export type { RewardManagerAbstract } from "./RewardManagerAbstract";
|
|
49
49
|
export type { PendleAaveV3SY } from "./PendleAaveV3SY";
|
|
50
50
|
export type { PendleAaveV3WithRewardsSY } from "./PendleAaveV3WithRewardsSY";
|
|
51
|
+
export type { PendleStkGHOSY } from "./PendleStkGHOSY";
|
|
51
52
|
export type { PendleAnkrBNBSY } from "./PendleAnkrBNBSY";
|
|
52
53
|
export type { SAPE } from "./SAPE";
|
|
53
54
|
export type { AuraEthxBbAWethSY } from "./AuraEthxBbAWethSY";
|
|
@@ -128,6 +129,7 @@ export type { KyberMathHelper } from "./KyberMathHelper";
|
|
|
128
129
|
export type { KyberNftManagerBaseUpg } from "./KyberNftManagerBaseUpg";
|
|
129
130
|
export type { PendleKyberElasticSYUpg } from "./PendleKyberElasticSYUpg";
|
|
130
131
|
export type { PendleLBTCSY } from "./PendleLBTCSY";
|
|
132
|
+
export type { PendleCMETHSY } from "./PendleCMETHSY";
|
|
131
133
|
export type { PendleMETHSY } from "./PendleMETHSY";
|
|
132
134
|
export type { PendleMantleStakedEthSY } from "./PendleMantleStakedEthSY";
|
|
133
135
|
export type { PendleOracleForSyProxy } from "./PendleOracleForSyProxy";
|
|
@@ -161,6 +163,7 @@ export type { PendleEzETHL2SY } from "./PendleEzETHL2SY";
|
|
|
161
163
|
export type { PendleEzETHSY } from "./PendleEzETHSY";
|
|
162
164
|
export type { PendleRenzoPreviewHelper } from "./PendleRenzoPreviewHelper";
|
|
163
165
|
export type { PendleREZtakeSY } from "./PendleREZtakeSY";
|
|
166
|
+
export type { PendleSiloWithIncentiveNonBorrowableSY } from "./PendleSiloWithIncentiveNonBorrowableSY";
|
|
164
167
|
export type { PendleSiloWithIncentiveSY } from "./PendleSiloWithIncentiveSY";
|
|
165
168
|
export type { PendleStakingUSDSSY } from "./PendleStakingUSDSSY";
|
|
166
169
|
export type { PendleSUSDSSY } from "./PendleSUSDSSY";
|
|
@@ -192,15 +195,18 @@ export type { PendleZtakeUSDESY } from "./PendleZtakeUSDESY";
|
|
|
192
195
|
export type { PendleZtakeWeETHSY } from "./PendleZtakeWeETHSY";
|
|
193
196
|
export type { SYBase } from "./SYBase";
|
|
194
197
|
export type { SYBaseUpg } from "./SYBaseUpg";
|
|
198
|
+
export type { SYBaseWithoutPermitUpg } from "./SYBaseWithoutPermitUpg";
|
|
195
199
|
export type { SYBaseWithRewards } from "./SYBaseWithRewards";
|
|
196
200
|
export type { SYBaseWithRewardsUpg } from "./SYBaseWithRewardsUpg";
|
|
197
201
|
export type { InterestManagerYT } from "./InterestManagerYT";
|
|
198
202
|
export type { PendlePrincipalToken } from "./PendlePrincipalToken";
|
|
199
203
|
export type { PendleYieldContractFactory } from "./PendleYieldContractFactory";
|
|
200
204
|
export type { PendleYieldToken } from "./PendleYieldToken";
|
|
205
|
+
export type { IAaveStkGHO } from "./IAaveStkGHO";
|
|
201
206
|
export type { IAaveV3AToken } from "./IAaveV3AToken";
|
|
202
207
|
export type { IAaveV3IncentiveController } from "./IAaveV3IncentiveController";
|
|
203
208
|
export type { IAaveV3Pool } from "./IAaveV3Pool";
|
|
209
|
+
export type { IAngleDistributor } from "./IAngleDistributor";
|
|
204
210
|
export type { IAnkrBNB } from "./IAnkrBNB";
|
|
205
211
|
export type { IAnkrLiquidStaking } from "./IAnkrLiquidStaking";
|
|
206
212
|
export type { IBalancerFees } from "./IBalancerFees";
|
|
@@ -277,6 +283,7 @@ export type { IPActionMiscV3 } from "./IPActionMiscV3";
|
|
|
277
283
|
export type { IPActionSimple } from "./IPActionSimple";
|
|
278
284
|
export type { IPActionStorageStatic } from "./IPActionStorageStatic";
|
|
279
285
|
export type { IPActionStorageV4 } from "./IPActionStorageV4";
|
|
286
|
+
export type { IPActionSwapLimitV3 } from "./IPActionSwapLimitV3";
|
|
280
287
|
export type { IPActionSwapPTV3 } from "./IPActionSwapPTV3";
|
|
281
288
|
export type { IPActionSwapYTV3 } from "./IPActionSwapYTV3";
|
|
282
289
|
export type { IPActionVePendleStatic } from "./IPActionVePendleStatic";
|
|
@@ -284,6 +291,7 @@ export type { IPAllActionV3 } from "./IPAllActionV3";
|
|
|
284
291
|
export type { IPActionAddRemoveLiqV3Events } from "./IPActionAddRemoveLiqV3Events";
|
|
285
292
|
export type { IPActionMiscV3Events } from "./IPActionMiscV3Events";
|
|
286
293
|
export type { IPActionStorageEvents } from "./IPActionStorageEvents";
|
|
294
|
+
export type { IPActionSwapLimitV3Events } from "./IPActionSwapLimitV3Events";
|
|
287
295
|
export type { IPActionSwapPTV3Events } from "./IPActionSwapPTV3Events";
|
|
288
296
|
export type { IPActionSwapYTV3Events } from "./IPActionSwapYTV3Events";
|
|
289
297
|
export type { IPAllEventsV3 } from "./IPAllEventsV3";
|
|
@@ -450,6 +458,7 @@ export type { ActionCallbackV3 } from "./ActionCallbackV3";
|
|
|
450
458
|
export type { ActionMiscV3 } from "./ActionMiscV3";
|
|
451
459
|
export type { ActionSimple } from "./ActionSimple";
|
|
452
460
|
export type { ActionStorageV4 } from "./ActionStorageV4";
|
|
461
|
+
export type { ActionSwapLimitV3 } from "./ActionSwapLimitV3";
|
|
453
462
|
export type { ActionSwapPTV3 } from "./ActionSwapPTV3";
|
|
454
463
|
export type { ActionSwapYTV3 } from "./ActionSwapYTV3";
|
|
455
464
|
export type { PendleRouterV4 } from "./PendleRouterV4";
|
|
@@ -461,7 +470,6 @@ export type { IExecutorHelper } from "./IExecutorHelper";
|
|
|
461
470
|
export type { IExecutorHelperL2 } from "./IExecutorHelperL2";
|
|
462
471
|
export type { IMetaAggregationRouterV2 } from "./IMetaAggregationRouterV2";
|
|
463
472
|
export type { IKyberScalingHelper } from "./IKyberScalingHelper";
|
|
464
|
-
export type { IOdosRouterV2 } from "./IOdosRouterV2";
|
|
465
473
|
export type { PendleSwap } from "./PendleSwap";
|
|
466
474
|
|
|
467
475
|
export { AggregatorInterface__factory } from "./factories/AggregatorInterface__factory";
|
|
@@ -511,6 +519,7 @@ export { RewardManager__factory } from "./factories/RewardManager__factory";
|
|
|
511
519
|
export { RewardManagerAbstract__factory } from "./factories/RewardManagerAbstract__factory";
|
|
512
520
|
export { PendleAaveV3SY__factory } from "./factories/PendleAaveV3SY__factory";
|
|
513
521
|
export { PendleAaveV3WithRewardsSY__factory } from "./factories/PendleAaveV3WithRewardsSY__factory";
|
|
522
|
+
export { PendleStkGHOSY__factory } from "./factories/PendleStkGHOSY__factory";
|
|
514
523
|
export { PendleAnkrBNBSY__factory } from "./factories/PendleAnkrBNBSY__factory";
|
|
515
524
|
export { SAPE__factory } from "./factories/SAPE__factory";
|
|
516
525
|
export { AuraEthxBbAWethSY__factory } from "./factories/AuraEthxBbAWethSY__factory";
|
|
@@ -591,6 +600,7 @@ export { KyberMathHelper__factory } from "./factories/KyberMathHelper__factory";
|
|
|
591
600
|
export { KyberNftManagerBaseUpg__factory } from "./factories/KyberNftManagerBaseUpg__factory";
|
|
592
601
|
export { PendleKyberElasticSYUpg__factory } from "./factories/PendleKyberElasticSYUpg__factory";
|
|
593
602
|
export { PendleLBTCSY__factory } from "./factories/PendleLBTCSY__factory";
|
|
603
|
+
export { PendleCMETHSY__factory } from "./factories/PendleCMETHSY__factory";
|
|
594
604
|
export { PendleMETHSY__factory } from "./factories/PendleMETHSY__factory";
|
|
595
605
|
export { PendleMantleStakedEthSY__factory } from "./factories/PendleMantleStakedEthSY__factory";
|
|
596
606
|
export { PendleOracleForSyProxy__factory } from "./factories/PendleOracleForSyProxy__factory";
|
|
@@ -624,6 +634,7 @@ export { PendleEzETHL2SY__factory } from "./factories/PendleEzETHL2SY__factory";
|
|
|
624
634
|
export { PendleEzETHSY__factory } from "./factories/PendleEzETHSY__factory";
|
|
625
635
|
export { PendleRenzoPreviewHelper__factory } from "./factories/PendleRenzoPreviewHelper__factory";
|
|
626
636
|
export { PendleREZtakeSY__factory } from "./factories/PendleREZtakeSY__factory";
|
|
637
|
+
export { PendleSiloWithIncentiveNonBorrowableSY__factory } from "./factories/PendleSiloWithIncentiveNonBorrowableSY__factory";
|
|
627
638
|
export { PendleSiloWithIncentiveSY__factory } from "./factories/PendleSiloWithIncentiveSY__factory";
|
|
628
639
|
export { PendleStakingUSDSSY__factory } from "./factories/PendleStakingUSDSSY__factory";
|
|
629
640
|
export { PendleSUSDSSY__factory } from "./factories/PendleSUSDSSY__factory";
|
|
@@ -655,15 +666,18 @@ export { PendleZtakeUSDESY__factory } from "./factories/PendleZtakeUSDESY__facto
|
|
|
655
666
|
export { PendleZtakeWeETHSY__factory } from "./factories/PendleZtakeWeETHSY__factory";
|
|
656
667
|
export { SYBase__factory } from "./factories/SYBase__factory";
|
|
657
668
|
export { SYBaseUpg__factory } from "./factories/SYBaseUpg__factory";
|
|
669
|
+
export { SYBaseWithoutPermitUpg__factory } from "./factories/SYBaseWithoutPermitUpg__factory";
|
|
658
670
|
export { SYBaseWithRewards__factory } from "./factories/SYBaseWithRewards__factory";
|
|
659
671
|
export { SYBaseWithRewardsUpg__factory } from "./factories/SYBaseWithRewardsUpg__factory";
|
|
660
672
|
export { InterestManagerYT__factory } from "./factories/InterestManagerYT__factory";
|
|
661
673
|
export { PendlePrincipalToken__factory } from "./factories/PendlePrincipalToken__factory";
|
|
662
674
|
export { PendleYieldContractFactory__factory } from "./factories/PendleYieldContractFactory__factory";
|
|
663
675
|
export { PendleYieldToken__factory } from "./factories/PendleYieldToken__factory";
|
|
676
|
+
export { IAaveStkGHO__factory } from "./factories/IAaveStkGHO__factory";
|
|
664
677
|
export { IAaveV3AToken__factory } from "./factories/IAaveV3AToken__factory";
|
|
665
678
|
export { IAaveV3IncentiveController__factory } from "./factories/IAaveV3IncentiveController__factory";
|
|
666
679
|
export { IAaveV3Pool__factory } from "./factories/IAaveV3Pool__factory";
|
|
680
|
+
export { IAngleDistributor__factory } from "./factories/IAngleDistributor__factory";
|
|
667
681
|
export { IAnkrBNB__factory } from "./factories/IAnkrBNB__factory";
|
|
668
682
|
export { IAnkrLiquidStaking__factory } from "./factories/IAnkrLiquidStaking__factory";
|
|
669
683
|
export { IBalancerFees__factory } from "./factories/IBalancerFees__factory";
|
|
@@ -740,6 +754,7 @@ export { IPActionMiscV3__factory } from "./factories/IPActionMiscV3__factory";
|
|
|
740
754
|
export { IPActionSimple__factory } from "./factories/IPActionSimple__factory";
|
|
741
755
|
export { IPActionStorageStatic__factory } from "./factories/IPActionStorageStatic__factory";
|
|
742
756
|
export { IPActionStorageV4__factory } from "./factories/IPActionStorageV4__factory";
|
|
757
|
+
export { IPActionSwapLimitV3__factory } from "./factories/IPActionSwapLimitV3__factory";
|
|
743
758
|
export { IPActionSwapPTV3__factory } from "./factories/IPActionSwapPTV3__factory";
|
|
744
759
|
export { IPActionSwapYTV3__factory } from "./factories/IPActionSwapYTV3__factory";
|
|
745
760
|
export { IPActionVePendleStatic__factory } from "./factories/IPActionVePendleStatic__factory";
|
|
@@ -747,6 +762,7 @@ export { IPAllActionV3__factory } from "./factories/IPAllActionV3__factory";
|
|
|
747
762
|
export { IPActionAddRemoveLiqV3Events__factory } from "./factories/IPActionAddRemoveLiqV3Events__factory";
|
|
748
763
|
export { IPActionMiscV3Events__factory } from "./factories/IPActionMiscV3Events__factory";
|
|
749
764
|
export { IPActionStorageEvents__factory } from "./factories/IPActionStorageEvents__factory";
|
|
765
|
+
export { IPActionSwapLimitV3Events__factory } from "./factories/IPActionSwapLimitV3Events__factory";
|
|
750
766
|
export { IPActionSwapPTV3Events__factory } from "./factories/IPActionSwapPTV3Events__factory";
|
|
751
767
|
export { IPActionSwapYTV3Events__factory } from "./factories/IPActionSwapYTV3Events__factory";
|
|
752
768
|
export { IPAllEventsV3__factory } from "./factories/IPAllEventsV3__factory";
|
|
@@ -913,6 +929,7 @@ export { ActionCallbackV3__factory } from "./factories/ActionCallbackV3__factory
|
|
|
913
929
|
export { ActionMiscV3__factory } from "./factories/ActionMiscV3__factory";
|
|
914
930
|
export { ActionSimple__factory } from "./factories/ActionSimple__factory";
|
|
915
931
|
export { ActionStorageV4__factory } from "./factories/ActionStorageV4__factory";
|
|
932
|
+
export { ActionSwapLimitV3__factory } from "./factories/ActionSwapLimitV3__factory";
|
|
916
933
|
export { ActionSwapPTV3__factory } from "./factories/ActionSwapPTV3__factory";
|
|
917
934
|
export { ActionSwapYTV3__factory } from "./factories/ActionSwapYTV3__factory";
|
|
918
935
|
export { PendleRouterV4__factory } from "./factories/PendleRouterV4__factory";
|
|
@@ -924,5 +941,4 @@ export { IExecutorHelper__factory } from "./factories/IExecutorHelper__factory";
|
|
|
924
941
|
export { IExecutorHelperL2__factory } from "./factories/IExecutorHelperL2__factory";
|
|
925
942
|
export { IMetaAggregationRouterV2__factory } from "./factories/IMetaAggregationRouterV2__factory";
|
|
926
943
|
export { IKyberScalingHelper__factory } from "./factories/IKyberScalingHelper__factory";
|
|
927
|
-
export { IOdosRouterV2__factory } from "./factories/IOdosRouterV2__factory";
|
|
928
944
|
export { PendleSwap__factory } from "./factories/PendleSwap__factory";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "MarketExchangeRateLib",
|
|
4
|
-
"sourceName": "contracts/offchain-helpers/MarketExchangeRateLib.sol",
|
|
5
|
-
"abi": [],
|
|
6
|
-
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220e0f0def0e175d73cdfd7ffec5cc769ae8f7a85ef52548db78e8145c71a8c0d0e64736f6c63430008170033",
|
|
7
|
-
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220e0f0def0e175d73cdfd7ffec5cc769ae8f7a85ef52548db78e8145c71a8c0d0e64736f6c63430008170033",
|
|
8
|
-
"linkReferences": {},
|
|
9
|
-
"deployedLinkReferences": {}
|
|
10
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "IOdosRouterV2",
|
|
4
|
-
"sourceName": "contracts/router/swap-aggregator/PendleSwap.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"inputs": [
|
|
8
|
-
{
|
|
9
|
-
"components": [
|
|
10
|
-
{
|
|
11
|
-
"internalType": "address",
|
|
12
|
-
"name": "inputToken",
|
|
13
|
-
"type": "address"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"internalType": "uint256",
|
|
17
|
-
"name": "inputAmount",
|
|
18
|
-
"type": "uint256"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"internalType": "address",
|
|
22
|
-
"name": "inputReceiver",
|
|
23
|
-
"type": "address"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"internalType": "address",
|
|
27
|
-
"name": "outputToken",
|
|
28
|
-
"type": "address"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"internalType": "uint256",
|
|
32
|
-
"name": "outputQuote",
|
|
33
|
-
"type": "uint256"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"internalType": "uint256",
|
|
37
|
-
"name": "outputMin",
|
|
38
|
-
"type": "uint256"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"internalType": "address",
|
|
42
|
-
"name": "outputReceiver",
|
|
43
|
-
"type": "address"
|
|
44
|
-
}
|
|
45
|
-
],
|
|
46
|
-
"internalType": "struct IOdosRouterV2.swapTokenInfo",
|
|
47
|
-
"name": "tokenInfo",
|
|
48
|
-
"type": "tuple"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"internalType": "bytes",
|
|
52
|
-
"name": "pathDefinition",
|
|
53
|
-
"type": "bytes"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"internalType": "address",
|
|
57
|
-
"name": "executor",
|
|
58
|
-
"type": "address"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"internalType": "uint32",
|
|
62
|
-
"name": "referralCode",
|
|
63
|
-
"type": "uint32"
|
|
64
|
-
}
|
|
65
|
-
],
|
|
66
|
-
"name": "swap",
|
|
67
|
-
"outputs": [
|
|
68
|
-
{
|
|
69
|
-
"internalType": "uint256",
|
|
70
|
-
"name": "amountOut",
|
|
71
|
-
"type": "uint256"
|
|
72
|
-
}
|
|
73
|
-
],
|
|
74
|
-
"stateMutability": "payable",
|
|
75
|
-
"type": "function"
|
|
76
|
-
}
|
|
77
|
-
],
|
|
78
|
-
"bytecode": "0x",
|
|
79
|
-
"deployedBytecode": "0x",
|
|
80
|
-
"linkReferences": {},
|
|
81
|
-
"deployedLinkReferences": {}
|
|
82
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
-
pragma solidity ^0.8.0;
|
|
3
|
-
|
|
4
|
-
import "../core/Market/MarketMathCore.sol";
|
|
5
|
-
import "../interfaces/IPMarket.sol";
|
|
6
|
-
|
|
7
|
-
library MarketExchangeRateLib {
|
|
8
|
-
using PMath for int256;
|
|
9
|
-
using MarketMathCore for MarketState;
|
|
10
|
-
using MarketMathCore for MarketPreCompute;
|
|
11
|
-
|
|
12
|
-
function getMarketExchangeRate(address market) internal view returns (uint256) {
|
|
13
|
-
MarketState memory state = IPMarket(market).readState(address(0));
|
|
14
|
-
MarketPreCompute memory comp = state.getMarketPreCompute(_getPYIndexCurrent(market), block.timestamp);
|
|
15
|
-
|
|
16
|
-
return
|
|
17
|
-
MarketMathCore._getExchangeRate(state.totalPt, comp.totalAsset, comp.rateScalar, comp.rateAnchor, 0).Uint();
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function _getPYIndexCurrent(address market) private view returns (PYIndex) {
|
|
21
|
-
(IStandardizedYield SY, , IPYieldToken YT) = IPMarket(market).readTokens();
|
|
22
|
-
uint256 ytIndex = YT.pyIndexStored();
|
|
23
|
-
uint256 pyIndexCurrent;
|
|
24
|
-
if (YT.doCacheIndexSameBlock() && YT.pyIndexLastUpdatedBlock() == block.number) {
|
|
25
|
-
pyIndexCurrent = ytIndex;
|
|
26
|
-
} else {
|
|
27
|
-
uint256 syIndex = SY.exchangeRate();
|
|
28
|
-
pyIndexCurrent = PMath.max(syIndex, ytIndex);
|
|
29
|
-
}
|
|
30
|
-
return PYIndex.wrap(pyIndexCurrent);
|
|
31
|
-
}
|
|
32
|
-
}
|