@pendle/core-v2 0.20.1-testnet → 0.21.0-testnet
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/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
- 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 +34 -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/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/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/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.json +141 -0
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.json +141 -0
- package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.json +10 -0
- 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 +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.json +1257 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.json +1244 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.json +1218 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +1192 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.json +133 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.json +40 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.json +322 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.json +1171 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.json +133 -0
- 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 +143 -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 +143 -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 +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.json +141 -0
- 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 +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +143 -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/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.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 +39 -2
- package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.json +10 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.json +24 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.json +133 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.json +328 -0
- package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.json +467 -0
- package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.json +61 -0
- package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.json +30 -0
- package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.json +398 -0
- package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.json +24 -0
- package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.json +278 -0
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.json +18 -0
- package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.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/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.json +19 -0
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.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/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/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.json +322 -0
- package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.json +47 -0
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +2 -2
- 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/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.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/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.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/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.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/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/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +2 -2
- package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.dbg.json +4 -0
- package/build/artifacts/contracts/router/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.json +10 -0
- package/build/artifacts/contracts/router/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +4 -0
- package/build/artifacts/contracts/router/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.json +65 -0
- package/build/artifacts/contracts/router/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +4 -0
- package/build/artifacts/contracts/router/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.json +388 -0
- package/build/artifacts/contracts/router/kyberswap/interfaces/IHashflow.sol/IHashflow.dbg.json +4 -0
- package/build/artifacts/contracts/router/kyberswap/interfaces/IHashflow.sol/IHashflow.json +101 -0
- package/build/artifacts/contracts/router/kyberswap/interfaces/IMetaAggregationRouter.sol/IMetaAggregationRouter.dbg.json +4 -0
- package/build/artifacts/contracts/router/kyberswap/interfaces/IMetaAggregationRouter.sol/IMetaAggregationRouter.json +183 -0
- package/build/artifacts/contracts/router/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +4 -0
- package/build/artifacts/contracts/router/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.json +215 -0
- package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +7 -9
- package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol +10 -0
- package/contracts/core/StandardizedYield/SYBase.sol +23 -5
- package/contracts/core/StandardizedYield/StEthHelper.sol +71 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol +170 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol +162 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol +134 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol +154 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol +289 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol +618 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol +68 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol +322 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol +390 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol +329 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol +30 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol +189 -0
- package/contracts/core/libraries/ArrayLib.sol +6 -3
- package/contracts/core/libraries/Errors.sol +4 -0
- package/contracts/interfaces/Balancer/IAsset.sol +4 -0
- package/contracts/interfaces/Balancer/IBalancerFees.sol +6 -0
- package/contracts/interfaces/Balancer/IBalancerStablePreview.sol +22 -0
- package/contracts/interfaces/Balancer/IBasePool.sol +30 -0
- package/contracts/interfaces/Balancer/IComposableStable.sol +39 -0
- package/contracts/interfaces/Balancer/IGauge.sol +10 -0
- package/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol +6 -0
- package/contracts/interfaces/Balancer/IMetaStablePool.sol +31 -0
- package/contracts/interfaces/Balancer/IRateProvider.sol +6 -0
- package/contracts/interfaces/Balancer/IVault.sol +78 -0
- package/contracts/interfaces/ConvexCurve/IRewards.sol +5 -0
- package/contracts/interfaces/IApeStaking.sol +1 -1
- package/contracts/interfaces/IPFeeDistributor.sol +2 -0
- package/contracts/offchain-helpers/Multicall2.sol +103 -0
- package/contracts/offchain-helpers/PendleMulticall.sol +26 -0
- package/contracts/router/kyberswap/AggregationRouterHelper.sol +193 -205
- package/contracts/router/kyberswap/ScaleDataHelperEthereum1.sol +147 -0
- package/contracts/router/kyberswap/interfaces/IAggregationExecutor.sol +17 -0
- package/contracts/router/kyberswap/interfaces/IExecutorHelperEthereum1.sol +191 -0
- package/contracts/router/kyberswap/interfaces/IHashflow.sol +30 -0
- package/contracts/router/kyberswap/interfaces/IMetaAggregationRouter.sol +33 -0
- package/contracts/router/kyberswap/interfaces/IMetaAggregationRouterV2.sol +42 -0
- package/deployments/43113-helper.json +2 -1
- package/deployments/80001-helper.json +2 -1
- package/deployments/80001-markets/USDC-DEC-8TH.json +10 -0
- package/package.json +6 -6
- package/typechain-types/GMXPreviewHelper.ts +134 -0
- package/typechain-types/I1inchAggregationRouterV5.ts +257 -0
- package/typechain-types/IAggregationExecutor.ts +182 -0
- package/typechain-types/IExecutorHelperEthereum1.ts +643 -0
- package/typechain-types/IGMXVault.ts +494 -0
- package/typechain-types/IGlpManager.ts +115 -0
- package/typechain-types/IHashflow.ts +159 -0
- package/typechain-types/IKyberSwapAggregationRouterHelper.ts +109 -0
- package/typechain-types/IMetaAggregationRouter.ts +213 -0
- package/typechain-types/IMetaAggregationRouterV2.ts +221 -0
- package/typechain-types/IPFeeDistributor.ts +18 -0
- package/typechain-types/IPYieldTokenV2.ts +915 -0
- package/typechain-types/IRewardRouterV2.ts +303 -0
- package/typechain-types/IRewards.ts +35 -5
- package/typechain-types/ISwapAggregator.ts +124 -0
- package/typechain-types/IVaultPriceFeed.ts +114 -0
- package/typechain-types/InterestManagerYTV2.ts +124 -0
- package/typechain-types/PendleAura3EthSY.ts +0 -39
- package/typechain-types/PendleAuraCbethWstethSY.ts +0 -39
- package/typechain-types/PendleAuraWethWstethSY.ts +0 -39
- package/typechain-types/PendleConvexLPSY.ts +204 -0
- package/typechain-types/PendleCurveFraxUsdcSY.ts +204 -0
- package/typechain-types/PendleCurveUsdd3CrvSY.ts +204 -0
- package/typechain-types/PendleFeeDistributor.ts +37 -0
- package/typechain-types/PendleGlpSY.ts +1449 -0
- package/typechain-types/PendleLooksStakingSY.ts +204 -0
- package/typechain-types/PendleMulticall.ts +110 -0
- package/typechain-types/PendlePrincipalTokenV2.ts +614 -0
- package/typechain-types/PendleQiTokenSY.ts +204 -0
- package/typechain-types/PendleWstEthSY.ts +204 -0
- package/typechain-types/PendleYieldContractFactoryV2.ts +801 -0
- package/typechain-types/PendleYieldTokenV2.ts +1304 -0
- package/typechain-types/SAPE.ts +204 -0
- package/typechain-types/SYBase.ts +204 -0
- package/typechain-types/SYBaseWithRewards.ts +204 -0
- package/typechain-types/SwapAggregator.ts +406 -0
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTYT__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/AggregationRouterHelper__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 +38 -1
- package/typechain-types/factories/GMXPreviewHelper__factory.ts +78 -0
- package/typechain-types/factories/I1inchAggregationRouterV5__factory.ts +179 -0
- package/typechain-types/factories/IAggregationExecutor__factory.ts +84 -0
- package/typechain-types/factories/IExecutorHelperEthereum1__factory.ts +407 -0
- package/typechain-types/factories/IGMXVault__factory.ts +320 -0
- package/typechain-types/factories/IGlpManager__factory.ts +55 -0
- package/typechain-types/factories/IHashflow__factory.ts +113 -0
- package/typechain-types/factories/IKyberSwapAggregationRouterHelper__factory.ts +56 -0
- package/typechain-types/factories/IMetaAggregationRouterV2__factory.ts +234 -0
- package/typechain-types/factories/IMetaAggregationRouter__factory.ts +202 -0
- package/typechain-types/factories/IPFeeDistributor__factory.ts +19 -0
- package/typechain-types/factories/IPYieldTokenV2__factory.ts +702 -0
- package/typechain-types/factories/IRewardRouterV2__factory.ts +180 -0
- package/typechain-types/factories/IRewards__factory.ts +18 -0
- package/typechain-types/factories/ISwapAggregator__factory.ts +66 -0
- package/typechain-types/factories/IVaultPriceFeed__factory.ts +60 -0
- package/typechain-types/factories/InterestManagerYTV2__factory.ts +63 -0
- package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleAura3EthSY__factory.ts +1 -40
- package/typechain-types/factories/PendleAuraCbethWstethSY__factory.ts +1 -40
- package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +1 -40
- package/typechain-types/factories/PendleConvexLPSY__factory.ts +141 -0
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +142 -1
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +142 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +33 -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 +1255 -0
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +142 -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/PendleMulticall__factory.ts +100 -0
- package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +564 -0
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +142 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +142 -1
- package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +674 -0
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1122 -0
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/RouterStatic__factory.ts +1 -1
- package/typechain-types/factories/SAPE__factory.ts +142 -1
- package/typechain-types/factories/SYBaseWithRewards__factory.ts +141 -0
- package/typechain-types/factories/SYBase__factory.ts +141 -0
- package/typechain-types/factories/SwapAggregator__factory.ts +309 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +103 -13
- package/typechain-types/index.ts +24 -4
- package/build/artifacts/contracts/router/kyberswap/IMultihopRouterEthereum.sol/IMultihopRouterEthereum.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/IMultihopRouterEthereum.sol/IMultihopRouterEthereum.json +0 -136
- package/contracts/router/kyberswap/IMultihopRouterEthereum.sol +0 -141
|
@@ -220,6 +220,14 @@ declare module "hardhat/types/runtime" {
|
|
|
220
220
|
name: "PendleCurveUsdd3CrvSY",
|
|
221
221
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
222
222
|
): Promise<Contracts.PendleCurveUsdd3CrvSY__factory>;
|
|
223
|
+
getContractFactory(
|
|
224
|
+
name: "GMXPreviewHelper",
|
|
225
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
226
|
+
): Promise<Contracts.GMXPreviewHelper__factory>;
|
|
227
|
+
getContractFactory(
|
|
228
|
+
name: "PendleGlpSY",
|
|
229
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
230
|
+
): Promise<Contracts.PendleGlpSY__factory>;
|
|
223
231
|
getContractFactory(
|
|
224
232
|
name: "PendleLooksStakingSY",
|
|
225
233
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -228,10 +236,6 @@ declare module "hardhat/types/runtime" {
|
|
|
228
236
|
name: "PendleWstEthSY",
|
|
229
237
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
230
238
|
): Promise<Contracts.PendleWstEthSY__factory>;
|
|
231
|
-
getContractFactory(
|
|
232
|
-
name: "StEthHelper",
|
|
233
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
234
|
-
): Promise<Contracts.StEthHelper__factory>;
|
|
235
239
|
getContractFactory(
|
|
236
240
|
name: "SYBase",
|
|
237
241
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -316,6 +320,22 @@ declare module "hardhat/types/runtime" {
|
|
|
316
320
|
name: "ITriCrvPool",
|
|
317
321
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
318
322
|
): Promise<Contracts.ITriCrvPool__factory>;
|
|
323
|
+
getContractFactory(
|
|
324
|
+
name: "IGlpManager",
|
|
325
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
326
|
+
): Promise<Contracts.IGlpManager__factory>;
|
|
327
|
+
getContractFactory(
|
|
328
|
+
name: "IGMXVault",
|
|
329
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
330
|
+
): Promise<Contracts.IGMXVault__factory>;
|
|
331
|
+
getContractFactory(
|
|
332
|
+
name: "IRewardRouterV2",
|
|
333
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
334
|
+
): Promise<Contracts.IRewardRouterV2__factory>;
|
|
335
|
+
getContractFactory(
|
|
336
|
+
name: "IVaultPriceFeed",
|
|
337
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
338
|
+
): Promise<Contracts.IVaultPriceFeed__factory>;
|
|
319
339
|
getContractFactory(
|
|
320
340
|
name: "IAavePool",
|
|
321
341
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -620,6 +640,10 @@ declare module "hardhat/types/runtime" {
|
|
|
620
640
|
name: "Multicall2",
|
|
621
641
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
622
642
|
): Promise<Contracts.Multicall2__factory>;
|
|
643
|
+
getContractFactory(
|
|
644
|
+
name: "PendleMulticall",
|
|
645
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
646
|
+
): Promise<Contracts.PendleMulticall__factory>;
|
|
623
647
|
getContractFactory(
|
|
624
648
|
name: "RouterStatic",
|
|
625
649
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -665,9 +689,25 @@ declare module "hardhat/types/runtime" {
|
|
|
665
689
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
666
690
|
): Promise<Contracts.IAggregationRouterHelper__factory>;
|
|
667
691
|
getContractFactory(
|
|
668
|
-
name: "
|
|
692
|
+
name: "IAggregationExecutor",
|
|
693
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
694
|
+
): Promise<Contracts.IAggregationExecutor__factory>;
|
|
695
|
+
getContractFactory(
|
|
696
|
+
name: "IExecutorHelperEthereum1",
|
|
697
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
698
|
+
): Promise<Contracts.IExecutorHelperEthereum1__factory>;
|
|
699
|
+
getContractFactory(
|
|
700
|
+
name: "IHashflow",
|
|
701
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
702
|
+
): Promise<Contracts.IHashflow__factory>;
|
|
703
|
+
getContractFactory(
|
|
704
|
+
name: "IMetaAggregationRouter",
|
|
669
705
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
670
|
-
): Promise<Contracts.
|
|
706
|
+
): Promise<Contracts.IMetaAggregationRouter__factory>;
|
|
707
|
+
getContractFactory(
|
|
708
|
+
name: "IMetaAggregationRouterV2",
|
|
709
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
710
|
+
): Promise<Contracts.IMetaAggregationRouterV2__factory>;
|
|
671
711
|
getContractFactory(
|
|
672
712
|
name: "KyberSwapHelper",
|
|
673
713
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -937,6 +977,16 @@ declare module "hardhat/types/runtime" {
|
|
|
937
977
|
address: string,
|
|
938
978
|
signer?: ethers.Signer
|
|
939
979
|
): Promise<Contracts.PendleCurveUsdd3CrvSY>;
|
|
980
|
+
getContractAt(
|
|
981
|
+
name: "GMXPreviewHelper",
|
|
982
|
+
address: string,
|
|
983
|
+
signer?: ethers.Signer
|
|
984
|
+
): Promise<Contracts.GMXPreviewHelper>;
|
|
985
|
+
getContractAt(
|
|
986
|
+
name: "PendleGlpSY",
|
|
987
|
+
address: string,
|
|
988
|
+
signer?: ethers.Signer
|
|
989
|
+
): Promise<Contracts.PendleGlpSY>;
|
|
940
990
|
getContractAt(
|
|
941
991
|
name: "PendleLooksStakingSY",
|
|
942
992
|
address: string,
|
|
@@ -947,11 +997,6 @@ declare module "hardhat/types/runtime" {
|
|
|
947
997
|
address: string,
|
|
948
998
|
signer?: ethers.Signer
|
|
949
999
|
): Promise<Contracts.PendleWstEthSY>;
|
|
950
|
-
getContractAt(
|
|
951
|
-
name: "StEthHelper",
|
|
952
|
-
address: string,
|
|
953
|
-
signer?: ethers.Signer
|
|
954
|
-
): Promise<Contracts.StEthHelper>;
|
|
955
1000
|
getContractAt(
|
|
956
1001
|
name: "SYBase",
|
|
957
1002
|
address: string,
|
|
@@ -1057,6 +1102,26 @@ declare module "hardhat/types/runtime" {
|
|
|
1057
1102
|
address: string,
|
|
1058
1103
|
signer?: ethers.Signer
|
|
1059
1104
|
): Promise<Contracts.ITriCrvPool>;
|
|
1105
|
+
getContractAt(
|
|
1106
|
+
name: "IGlpManager",
|
|
1107
|
+
address: string,
|
|
1108
|
+
signer?: ethers.Signer
|
|
1109
|
+
): Promise<Contracts.IGlpManager>;
|
|
1110
|
+
getContractAt(
|
|
1111
|
+
name: "IGMXVault",
|
|
1112
|
+
address: string,
|
|
1113
|
+
signer?: ethers.Signer
|
|
1114
|
+
): Promise<Contracts.IGMXVault>;
|
|
1115
|
+
getContractAt(
|
|
1116
|
+
name: "IRewardRouterV2",
|
|
1117
|
+
address: string,
|
|
1118
|
+
signer?: ethers.Signer
|
|
1119
|
+
): Promise<Contracts.IRewardRouterV2>;
|
|
1120
|
+
getContractAt(
|
|
1121
|
+
name: "IVaultPriceFeed",
|
|
1122
|
+
address: string,
|
|
1123
|
+
signer?: ethers.Signer
|
|
1124
|
+
): Promise<Contracts.IVaultPriceFeed>;
|
|
1060
1125
|
getContractAt(
|
|
1061
1126
|
name: "IAavePool",
|
|
1062
1127
|
address: string,
|
|
@@ -1437,6 +1502,11 @@ declare module "hardhat/types/runtime" {
|
|
|
1437
1502
|
address: string,
|
|
1438
1503
|
signer?: ethers.Signer
|
|
1439
1504
|
): Promise<Contracts.Multicall2>;
|
|
1505
|
+
getContractAt(
|
|
1506
|
+
name: "PendleMulticall",
|
|
1507
|
+
address: string,
|
|
1508
|
+
signer?: ethers.Signer
|
|
1509
|
+
): Promise<Contracts.PendleMulticall>;
|
|
1440
1510
|
getContractAt(
|
|
1441
1511
|
name: "RouterStatic",
|
|
1442
1512
|
address: string,
|
|
@@ -1493,10 +1563,30 @@ declare module "hardhat/types/runtime" {
|
|
|
1493
1563
|
signer?: ethers.Signer
|
|
1494
1564
|
): Promise<Contracts.IAggregationRouterHelper>;
|
|
1495
1565
|
getContractAt(
|
|
1496
|
-
name: "
|
|
1566
|
+
name: "IAggregationExecutor",
|
|
1567
|
+
address: string,
|
|
1568
|
+
signer?: ethers.Signer
|
|
1569
|
+
): Promise<Contracts.IAggregationExecutor>;
|
|
1570
|
+
getContractAt(
|
|
1571
|
+
name: "IExecutorHelperEthereum1",
|
|
1572
|
+
address: string,
|
|
1573
|
+
signer?: ethers.Signer
|
|
1574
|
+
): Promise<Contracts.IExecutorHelperEthereum1>;
|
|
1575
|
+
getContractAt(
|
|
1576
|
+
name: "IHashflow",
|
|
1577
|
+
address: string,
|
|
1578
|
+
signer?: ethers.Signer
|
|
1579
|
+
): Promise<Contracts.IHashflow>;
|
|
1580
|
+
getContractAt(
|
|
1581
|
+
name: "IMetaAggregationRouter",
|
|
1582
|
+
address: string,
|
|
1583
|
+
signer?: ethers.Signer
|
|
1584
|
+
): Promise<Contracts.IMetaAggregationRouter>;
|
|
1585
|
+
getContractAt(
|
|
1586
|
+
name: "IMetaAggregationRouterV2",
|
|
1497
1587
|
address: string,
|
|
1498
1588
|
signer?: ethers.Signer
|
|
1499
|
-
): Promise<Contracts.
|
|
1589
|
+
): Promise<Contracts.IMetaAggregationRouterV2>;
|
|
1500
1590
|
getContractAt(
|
|
1501
1591
|
name: "KyberSwapHelper",
|
|
1502
1592
|
address: string,
|
package/typechain-types/index.ts
CHANGED
|
@@ -52,9 +52,10 @@ export type { PendleQiTokenSY } from "./PendleQiTokenSY";
|
|
|
52
52
|
export type { PendleConvexLPSY } from "./PendleConvexLPSY";
|
|
53
53
|
export type { PendleCurveFraxUsdcSY } from "./PendleCurveFraxUsdcSY";
|
|
54
54
|
export type { PendleCurveUsdd3CrvSY } from "./PendleCurveUsdd3CrvSY";
|
|
55
|
+
export type { GMXPreviewHelper } from "./GMXPreviewHelper";
|
|
56
|
+
export type { PendleGlpSY } from "./PendleGlpSY";
|
|
55
57
|
export type { PendleLooksStakingSY } from "./PendleLooksStakingSY";
|
|
56
58
|
export type { PendleWstEthSY } from "./PendleWstEthSY";
|
|
57
|
-
export type { StEthHelper } from "./StEthHelper";
|
|
58
59
|
export type { SYBase } from "./SYBase";
|
|
59
60
|
export type { SYBaseWithRewards } from "./SYBaseWithRewards";
|
|
60
61
|
export type { InterestManagerYT } from "./InterestManagerYT";
|
|
@@ -76,6 +77,10 @@ export type { ICvxCrv } from "./ICvxCrv";
|
|
|
76
77
|
export type { IRewards } from "./IRewards";
|
|
77
78
|
export type { ICrvPool } from "./ICrvPool";
|
|
78
79
|
export type { ITriCrvPool } from "./ITriCrvPool";
|
|
80
|
+
export type { IGlpManager } from "./IGlpManager";
|
|
81
|
+
export type { IGMXVault } from "./IGMXVault";
|
|
82
|
+
export type { IRewardRouterV2 } from "./IRewardRouterV2";
|
|
83
|
+
export type { IVaultPriceFeed } from "./IVaultPriceFeed";
|
|
79
84
|
export type { IAavePool } from "./IAavePool";
|
|
80
85
|
export type { IAaveRewardsController } from "./IAaveRewardsController";
|
|
81
86
|
export type { IApeStaking } from "./IApeStaking";
|
|
@@ -152,6 +157,7 @@ export type { BaseSplitCodeFactoryContract } from "./BaseSplitCodeFactoryContrac
|
|
|
152
157
|
export type { BulkSellerOffchain } from "./BulkSellerOffchain";
|
|
153
158
|
export type { MarketMathStatic } from "./MarketMathStatic";
|
|
154
159
|
export type { Multicall2 } from "./Multicall2";
|
|
160
|
+
export type { PendleMulticall } from "./PendleMulticall";
|
|
155
161
|
export type { RouterStatic } from "./RouterStatic";
|
|
156
162
|
export type { ActionAddRemoveLiq } from "./ActionAddRemoveLiq";
|
|
157
163
|
export type { ActionCallback } from "./ActionCallback";
|
|
@@ -163,7 +169,11 @@ export type { ActionSwapYT } from "./ActionSwapYT";
|
|
|
163
169
|
export type { ActionBaseMintRedeem } from "./ActionBaseMintRedeem";
|
|
164
170
|
export type { AggregationRouterHelper } from "./AggregationRouterHelper";
|
|
165
171
|
export type { IAggregationRouterHelper } from "./IAggregationRouterHelper";
|
|
166
|
-
export type {
|
|
172
|
+
export type { IAggregationExecutor } from "./IAggregationExecutor";
|
|
173
|
+
export type { IExecutorHelperEthereum1 } from "./IExecutorHelperEthereum1";
|
|
174
|
+
export type { IHashflow } from "./IHashflow";
|
|
175
|
+
export type { IMetaAggregationRouter } from "./IMetaAggregationRouter";
|
|
176
|
+
export type { IMetaAggregationRouterV2 } from "./IMetaAggregationRouterV2";
|
|
167
177
|
export type { KyberSwapHelper } from "./KyberSwapHelper";
|
|
168
178
|
export type { PendleRouter } from "./PendleRouter";
|
|
169
179
|
|
|
@@ -218,9 +228,10 @@ export { PendleQiTokenSY__factory } from "./factories/PendleQiTokenSY__factory";
|
|
|
218
228
|
export { PendleConvexLPSY__factory } from "./factories/PendleConvexLPSY__factory";
|
|
219
229
|
export { PendleCurveFraxUsdcSY__factory } from "./factories/PendleCurveFraxUsdcSY__factory";
|
|
220
230
|
export { PendleCurveUsdd3CrvSY__factory } from "./factories/PendleCurveUsdd3CrvSY__factory";
|
|
231
|
+
export { GMXPreviewHelper__factory } from "./factories/GMXPreviewHelper__factory";
|
|
232
|
+
export { PendleGlpSY__factory } from "./factories/PendleGlpSY__factory";
|
|
221
233
|
export { PendleLooksStakingSY__factory } from "./factories/PendleLooksStakingSY__factory";
|
|
222
234
|
export { PendleWstEthSY__factory } from "./factories/PendleWstEthSY__factory";
|
|
223
|
-
export { StEthHelper__factory } from "./factories/StEthHelper__factory";
|
|
224
235
|
export { SYBase__factory } from "./factories/SYBase__factory";
|
|
225
236
|
export { SYBaseWithRewards__factory } from "./factories/SYBaseWithRewards__factory";
|
|
226
237
|
export { InterestManagerYT__factory } from "./factories/InterestManagerYT__factory";
|
|
@@ -242,6 +253,10 @@ export { ICvxCrv__factory } from "./factories/ICvxCrv__factory";
|
|
|
242
253
|
export { IRewards__factory } from "./factories/IRewards__factory";
|
|
243
254
|
export { ICrvPool__factory } from "./factories/ICrvPool__factory";
|
|
244
255
|
export { ITriCrvPool__factory } from "./factories/ITriCrvPool__factory";
|
|
256
|
+
export { IGlpManager__factory } from "./factories/IGlpManager__factory";
|
|
257
|
+
export { IGMXVault__factory } from "./factories/IGMXVault__factory";
|
|
258
|
+
export { IRewardRouterV2__factory } from "./factories/IRewardRouterV2__factory";
|
|
259
|
+
export { IVaultPriceFeed__factory } from "./factories/IVaultPriceFeed__factory";
|
|
245
260
|
export { IAavePool__factory } from "./factories/IAavePool__factory";
|
|
246
261
|
export { IAaveRewardsController__factory } from "./factories/IAaveRewardsController__factory";
|
|
247
262
|
export { IApeStaking__factory } from "./factories/IApeStaking__factory";
|
|
@@ -318,6 +333,7 @@ export { BaseSplitCodeFactoryContract__factory } from "./factories/BaseSplitCode
|
|
|
318
333
|
export { BulkSellerOffchain__factory } from "./factories/BulkSellerOffchain__factory";
|
|
319
334
|
export { MarketMathStatic__factory } from "./factories/MarketMathStatic__factory";
|
|
320
335
|
export { Multicall2__factory } from "./factories/Multicall2__factory";
|
|
336
|
+
export { PendleMulticall__factory } from "./factories/PendleMulticall__factory";
|
|
321
337
|
export { RouterStatic__factory } from "./factories/RouterStatic__factory";
|
|
322
338
|
export { ActionAddRemoveLiq__factory } from "./factories/ActionAddRemoveLiq__factory";
|
|
323
339
|
export { ActionCallback__factory } from "./factories/ActionCallback__factory";
|
|
@@ -329,6 +345,10 @@ export { ActionSwapYT__factory } from "./factories/ActionSwapYT__factory";
|
|
|
329
345
|
export { ActionBaseMintRedeem__factory } from "./factories/ActionBaseMintRedeem__factory";
|
|
330
346
|
export { AggregationRouterHelper__factory } from "./factories/AggregationRouterHelper__factory";
|
|
331
347
|
export { IAggregationRouterHelper__factory } from "./factories/IAggregationRouterHelper__factory";
|
|
332
|
-
export {
|
|
348
|
+
export { IAggregationExecutor__factory } from "./factories/IAggregationExecutor__factory";
|
|
349
|
+
export { IExecutorHelperEthereum1__factory } from "./factories/IExecutorHelperEthereum1__factory";
|
|
350
|
+
export { IHashflow__factory } from "./factories/IHashflow__factory";
|
|
351
|
+
export { IMetaAggregationRouter__factory } from "./factories/IMetaAggregationRouter__factory";
|
|
352
|
+
export { IMetaAggregationRouterV2__factory } from "./factories/IMetaAggregationRouterV2__factory";
|
|
333
353
|
export { KyberSwapHelper__factory } from "./factories/KyberSwapHelper__factory";
|
|
334
354
|
export { PendleRouter__factory } from "./factories/PendleRouter__factory";
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "IMultihopRouterEthereum",
|
|
4
|
-
"sourceName": "contracts/router/kyberswap/IMultihopRouterEthereum.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"anonymous": false,
|
|
8
|
-
"inputs": [
|
|
9
|
-
{
|
|
10
|
-
"indexed": false,
|
|
11
|
-
"internalType": "address",
|
|
12
|
-
"name": "pair",
|
|
13
|
-
"type": "address"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"indexed": false,
|
|
17
|
-
"internalType": "uint256",
|
|
18
|
-
"name": "amountOut",
|
|
19
|
-
"type": "uint256"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"indexed": false,
|
|
23
|
-
"internalType": "address",
|
|
24
|
-
"name": "output",
|
|
25
|
-
"type": "address"
|
|
26
|
-
}
|
|
27
|
-
],
|
|
28
|
-
"name": "Exchange",
|
|
29
|
-
"type": "event"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"inputs": [],
|
|
33
|
-
"name": "WETH",
|
|
34
|
-
"outputs": [
|
|
35
|
-
{
|
|
36
|
-
"internalType": "address",
|
|
37
|
-
"name": "",
|
|
38
|
-
"type": "address"
|
|
39
|
-
}
|
|
40
|
-
],
|
|
41
|
-
"stateMutability": "view",
|
|
42
|
-
"type": "function"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"inputs": [],
|
|
46
|
-
"name": "factory",
|
|
47
|
-
"outputs": [
|
|
48
|
-
{
|
|
49
|
-
"internalType": "address",
|
|
50
|
-
"name": "",
|
|
51
|
-
"type": "address"
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
"stateMutability": "view",
|
|
55
|
-
"type": "function"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"inputs": [],
|
|
59
|
-
"name": "formula",
|
|
60
|
-
"outputs": [
|
|
61
|
-
{
|
|
62
|
-
"internalType": "address",
|
|
63
|
-
"name": "",
|
|
64
|
-
"type": "address"
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
"stateMutability": "view",
|
|
68
|
-
"type": "function"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"inputs": [
|
|
72
|
-
{
|
|
73
|
-
"components": [
|
|
74
|
-
{
|
|
75
|
-
"internalType": "bytes",
|
|
76
|
-
"name": "data",
|
|
77
|
-
"type": "bytes"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"internalType": "uint16",
|
|
81
|
-
"name": "dexOption",
|
|
82
|
-
"type": "uint16"
|
|
83
|
-
}
|
|
84
|
-
],
|
|
85
|
-
"internalType": "struct IMultihopRouterEthereum.Swap[][]",
|
|
86
|
-
"name": "swapSequences",
|
|
87
|
-
"type": "tuple[][]"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"internalType": "address",
|
|
91
|
-
"name": "tokenIn",
|
|
92
|
-
"type": "address"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"internalType": "address",
|
|
96
|
-
"name": "tokenOut",
|
|
97
|
-
"type": "address"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"internalType": "uint256",
|
|
101
|
-
"name": "minTotalAmountOut",
|
|
102
|
-
"type": "uint256"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"internalType": "address",
|
|
106
|
-
"name": "to",
|
|
107
|
-
"type": "address"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"internalType": "uint256",
|
|
111
|
-
"name": "deadline",
|
|
112
|
-
"type": "uint256"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"internalType": "bytes",
|
|
116
|
-
"name": "destTokenFeeData",
|
|
117
|
-
"type": "bytes"
|
|
118
|
-
}
|
|
119
|
-
],
|
|
120
|
-
"name": "multihopBatchSwapExactIn",
|
|
121
|
-
"outputs": [
|
|
122
|
-
{
|
|
123
|
-
"internalType": "uint256",
|
|
124
|
-
"name": "totalAmountOut",
|
|
125
|
-
"type": "uint256"
|
|
126
|
-
}
|
|
127
|
-
],
|
|
128
|
-
"stateMutability": "payable",
|
|
129
|
-
"type": "function"
|
|
130
|
-
}
|
|
131
|
-
],
|
|
132
|
-
"bytecode": "0x",
|
|
133
|
-
"deployedBytecode": "0x",
|
|
134
|
-
"linkReferences": {},
|
|
135
|
-
"deployedLinkReferences": {}
|
|
136
|
-
}
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
// SPDX-License-Identifier: MIT
|
|
2
|
-
|
|
3
|
-
pragma solidity 0.8.17;
|
|
4
|
-
|
|
5
|
-
interface IMultihopRouterEthereum {
|
|
6
|
-
enum DexType {
|
|
7
|
-
UNI,
|
|
8
|
-
STABLESWAP,
|
|
9
|
-
CURVE,
|
|
10
|
-
KYBERDMM,
|
|
11
|
-
SADDLE,
|
|
12
|
-
UNIV3PROMM,
|
|
13
|
-
BALANCERV2,
|
|
14
|
-
KYBERRFQ,
|
|
15
|
-
DODO,
|
|
16
|
-
WSTETH
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
event Exchange(address pair, uint256 amountOut, address output);
|
|
20
|
-
struct Swap {
|
|
21
|
-
bytes data;
|
|
22
|
-
//dexType:
|
|
23
|
-
// 0: uni
|
|
24
|
-
// 1: stable swap
|
|
25
|
-
// 2: curve
|
|
26
|
-
// 3: kyber dmm
|
|
27
|
-
// 4: saddle
|
|
28
|
-
// 5: univ3 or kyber ProMM
|
|
29
|
-
// 6: balancerv2
|
|
30
|
-
// 7: kyber RFQ
|
|
31
|
-
// 8: dodo
|
|
32
|
-
// 9: wstETH: Lido wrapped stETH
|
|
33
|
-
//dexId:
|
|
34
|
-
// 0: firebird
|
|
35
|
-
uint16 dexOption; //dexType(8bit) + dexId(8bit)
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
struct WSTETH {
|
|
39
|
-
address pool;
|
|
40
|
-
uint256 amount;
|
|
41
|
-
bool isWrapping;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
struct UniSwap {
|
|
45
|
-
address pool;
|
|
46
|
-
address tokenIn;
|
|
47
|
-
address tokenOut;
|
|
48
|
-
address recipient;
|
|
49
|
-
uint256 collectAmount; // amount that should be transferred to the pool
|
|
50
|
-
uint256 limitReturnAmount;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
struct StableSwap {
|
|
54
|
-
address pool;
|
|
55
|
-
address tokenFrom;
|
|
56
|
-
address tokenTo;
|
|
57
|
-
uint8 tokenIndexFrom;
|
|
58
|
-
uint8 tokenIndexTo;
|
|
59
|
-
uint256 dx;
|
|
60
|
-
uint256 minDy;
|
|
61
|
-
uint256 poolLength;
|
|
62
|
-
address poolLp;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
struct CurveSwap {
|
|
66
|
-
address pool;
|
|
67
|
-
address tokenFrom;
|
|
68
|
-
address tokenTo;
|
|
69
|
-
int128 tokenIndexFrom;
|
|
70
|
-
int128 tokenIndexTo;
|
|
71
|
-
uint256 dx;
|
|
72
|
-
uint256 minDy;
|
|
73
|
-
bool usePoolUnderlying;
|
|
74
|
-
bool useTriCrypto;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
struct UniSwapV3ProMM {
|
|
78
|
-
address recipient;
|
|
79
|
-
address pool;
|
|
80
|
-
address tokenIn;
|
|
81
|
-
address tokenOut;
|
|
82
|
-
uint256 swapAmount;
|
|
83
|
-
uint256 limitReturnAmount;
|
|
84
|
-
uint160 sqrtPriceLimitX96;
|
|
85
|
-
bool isUniV3; // true = UniV3, false = ProMM
|
|
86
|
-
}
|
|
87
|
-
struct SwapCallbackData {
|
|
88
|
-
bytes path;
|
|
89
|
-
address payer;
|
|
90
|
-
}
|
|
91
|
-
struct SwapCallbackDataPath {
|
|
92
|
-
address pool;
|
|
93
|
-
address tokenIn;
|
|
94
|
-
address tokenOut;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
struct BalancerV2 {
|
|
98
|
-
address vault;
|
|
99
|
-
bytes32 poolId;
|
|
100
|
-
address assetIn;
|
|
101
|
-
address assetOut;
|
|
102
|
-
uint256 amount;
|
|
103
|
-
uint256 limit;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
struct KyberRFQ {
|
|
107
|
-
address rfq;
|
|
108
|
-
bytes order;
|
|
109
|
-
bytes signature;
|
|
110
|
-
uint256 amount;
|
|
111
|
-
address payable target;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
struct DODO {
|
|
115
|
-
address recipient;
|
|
116
|
-
address pool;
|
|
117
|
-
address tokenFrom;
|
|
118
|
-
address tokenTo;
|
|
119
|
-
uint256 amount;
|
|
120
|
-
uint256 minReceiveQuote;
|
|
121
|
-
address sellHelper;
|
|
122
|
-
bool isSellBase;
|
|
123
|
-
bool isVersion2;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
function factory() external view returns (address);
|
|
127
|
-
|
|
128
|
-
function formula() external view returns (address);
|
|
129
|
-
|
|
130
|
-
function WETH() external view returns (address);
|
|
131
|
-
|
|
132
|
-
function multihopBatchSwapExactIn(
|
|
133
|
-
Swap[][] memory swapSequences,
|
|
134
|
-
address tokenIn,
|
|
135
|
-
address tokenOut,
|
|
136
|
-
uint256 minTotalAmountOut,
|
|
137
|
-
address to,
|
|
138
|
-
uint256 deadline,
|
|
139
|
-
bytes memory destTokenFeeData
|
|
140
|
-
) external payable returns (uint256 totalAmountOut);
|
|
141
|
-
}
|