@pendle/core-v2 1.2.0-mainnet → 1.2.1-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/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.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/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/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 +3 -3
- 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/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +39 -0
- 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 +3 -3
- 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/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- 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/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/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/SYUtils.sol/SYUtils.dbg.json +1 -1
- 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/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/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/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.json +141 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.json +50 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +1163 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +974 -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/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +4 -0
- package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.json +66 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +4 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +476 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +4 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +590 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +4 -0
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +1017 -0
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/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/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +87 -2
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
- 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/{router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.json → interfaces/Balancer/IRateProvider.sol/IRateProvider.json} +5 -5
- 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/IBooster.sol/IBooster.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.json +18 -0
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.json +308 -0
- package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.json +69 -0
- package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.json +201 -0
- package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.json +45 -0
- package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.json +48 -0
- package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.json +93 -0
- package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.json +87 -0
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.json +19 -0
- package/build/artifacts/contracts/interfaces/IEulerEToken.sol/IEulerEToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IEulerMarkets.sol/IEulerMarkets.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +338 -16
- package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.json +307 -0
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.json +269 -0
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.json +1270 -0
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +105 -224
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.json +273 -0
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.json +56 -12
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/{IPActionSwapPTYT.sol/IPActionSwapPTYT.json → IPActionStorageStatic.sol/IPActionStorageStatic.json} +70 -76
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +52 -8
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +231 -8
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.json +40 -0
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +675 -241
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.json +19 -0
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.json +40 -0
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.json +55 -0
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +2332 -0
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.json +39 -0
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.json +679 -0
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISAvax.sol/ISAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.json +143 -0
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +256 -0
- 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/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/legacy/MarketMathStatic.sol/MarketMathStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/legacy/MarketMathStatic.sol/MarketMathStatic.json +259 -0
- package/build/artifacts/contracts/offchain-helpers/legacy/RouterStatic.sol/RouterStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/{RouterStatic.sol → legacy/RouterStatic.sol}/RouterStatic.json +5 -5
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +30 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/StorageLayout.sol/StorageLayout.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/StorageLayout.sol/StorageLayout.json +10 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +307 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +333 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +1407 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +310 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +228 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +93 -0
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +345 -62
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +107 -260
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +57 -18
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +54 -65
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +342 -44
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +76 -67
- package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +4 -0
- package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.json +141 -0
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.json +1 -15
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.json +160 -0
- package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.json +56 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapAggregator.sol/PendleSwapAggregator.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapAggregator.sol/PendleSwapAggregator.json +72 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol/KyberAggregationRouterHelper.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol/KyberAggregationRouterHelper.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.json +65 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.json +388 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol/IHashflow.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol/IHashflow.json +101 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.json +215 -0
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol +0 -1
- package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +9 -9
- package/contracts/core/RewardManager/RewardManager.sol +1 -1
- package/contracts/core/StandardizedYield/SYBase.sol +23 -5
- package/contracts/core/StandardizedYield/StEthHelper.sol +71 -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/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/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol +142 -0
- package/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol +224 -0
- package/contracts/core/StandardizedYield/implementations/GLP/README.md +61 -0
- package/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol +138 -0
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +10 -0
- package/contracts/core/YieldContractsV2/InterestManagerYTV2.sol +114 -0
- package/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol +63 -0
- package/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol +200 -0
- package/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol +485 -0
- package/contracts/core/libraries/ArrayLib.sol +27 -12
- package/contracts/core/libraries/Errors.sol +8 -2
- package/contracts/core/libraries/TokenHelper.sol +10 -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/GMX/IGMXVault.sol +47 -0
- package/contracts/interfaces/GMX/IGlpManager.sol +12 -0
- package/contracts/interfaces/GMX/IRewardRouterV2.sol +43 -0
- package/contracts/interfaces/GMX/IVaultPriceFeed.sol +11 -0
- package/contracts/interfaces/IAddressProvider.sol +7 -0
- package/contracts/interfaces/IDiamondCut.sol +36 -0
- package/contracts/interfaces/IDiamondLoupe.sol +38 -0
- package/contracts/interfaces/IERC4626.sol +2 -0
- package/contracts/interfaces/IPActionAddRemoveLiq.sol +36 -1
- package/contracts/interfaces/IPActionInfoStatic.sol +43 -0
- package/contracts/interfaces/IPActionMarketAuxStatic.sol +30 -0
- package/contracts/interfaces/IPActionMarketCoreStatic.sol +317 -0
- package/contracts/interfaces/IPActionMintRedeem.sol +2 -55
- package/contracts/interfaces/IPActionMintRedeemStatic.sol +60 -0
- package/contracts/interfaces/IPActionMisc.sol +18 -4
- package/contracts/interfaces/IPActionStorageStatic.sol +25 -0
- package/contracts/interfaces/IPActionSwapPT.sol +1 -1
- package/contracts/interfaces/IPActionSwapYT.sol +28 -4
- package/contracts/interfaces/IPActionVePendleStatic.sol +9 -0
- package/contracts/interfaces/IPAllAction.sol +5 -3
- package/contracts/interfaces/IPInterestManagerYTV2.sol +13 -0
- package/contracts/interfaces/IPMiniDiamond.sol +12 -0
- package/contracts/interfaces/IPMsgReceiverApp.sol +1 -1
- package/contracts/interfaces/IPRouterStatic.sol +19 -0
- package/contracts/interfaces/IPVotingController.sol +6 -0
- package/contracts/interfaces/IPYieldTokenV2.sol +66 -0
- package/contracts/interfaces/IStandardizedYield.sol +1 -1
- package/contracts/offchain-helpers/AddressProvider.sol +16 -0
- package/contracts/offchain-helpers/Broadcaster.sol +48 -0
- package/contracts/offchain-helpers/PendleMulticall.sol +26 -0
- package/contracts/offchain-helpers/{MarketMathStatic.sol → legacy/MarketMathStatic.sol} +2 -2
- package/contracts/offchain-helpers/{RouterStatic.sol → legacy/RouterStatic.sol} +7 -7
- package/contracts/offchain-helpers/router-static/PendleRouterStatic.sol +19 -0
- package/contracts/offchain-helpers/router-static/StorageLayout.sol +21 -0
- package/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol +125 -0
- package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +166 -0
- package/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol +769 -0
- package/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol +166 -0
- package/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol +75 -0
- package/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol +55 -0
- package/contracts/router/ActionAddRemoveLiq.sol +116 -6
- package/contracts/router/ActionMintRedeem.sol +12 -202
- package/contracts/router/ActionMisc.sol +45 -19
- package/contracts/router/ActionSwapPT.sol +0 -5
- package/contracts/router/ActionSwapYT.sol +103 -13
- package/contracts/router/PendleRouter.sol +211 -72
- package/contracts/router/{ActionCallback.sol → base/ActionBaseCallback.sol} +47 -47
- package/contracts/router/base/ActionBaseMintRedeem.sol +105 -60
- package/contracts/router/base/CallbackHelper.sol +137 -44
- package/contracts/router/base/MarketApproxLib.sol +227 -350
- package/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol +45 -0
- package/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol +69 -0
- package/contracts/router/swap-aggregator/IPSwapAggregator.sol +25 -0
- package/contracts/router/swap-aggregator/PendleSwapAggregator.sol +46 -0
- package/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol +214 -0
- package/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol +147 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol +17 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol +191 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol +30 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol +42 -0
- package/deployments/43113-core.json +30 -0
- package/deployments/43113-markets/APE-30-MARCH.json +10 -0
- package/deployments/43113-markets/USDC-FEB-2ND-2024.json +10 -0
- package/deployments/43113-markets/USDC-FEB-2ND.json +10 -0
- package/deployments/43113-markets/USDC-FEB-4TH.json +10 -0
- package/deployments/43113-markets/WETH-FEB-2ND.json +11 -0
- package/deployments/43113-markets/WETH-FEB-4TH.json +11 -0
- package/deployments/43113-offchain-helper.json +4 -0
- package/deployments/43113-testenv.json +22 -0
- package/deployments/80001-core.json +29 -0
- package/deployments/80001-markets/GLP-DEC-8TH.json +10 -0
- package/deployments/80001-markets/USDC-DEC-8TH.json +10 -0
- package/deployments/80001-markets/USDC-FEB-4TH.json +10 -0
- package/deployments/80001-markets/WETH-FEB-4TH.json +11 -0
- package/deployments/80001-offchain-helper.json +4 -0
- package/deployments/80001-testenv.json +22 -0
- package/package.json +9 -10
- package/typechain-types/ActionAddRemoveLiq.ts +203 -23
- package/typechain-types/ActionBaseCallback.ts +115 -0
- package/typechain-types/ActionInfoStatic.ts +310 -0
- package/typechain-types/ActionMarketAuxStatic.ts +350 -0
- package/typechain-types/ActionMarketCoreStatic.ts +1489 -0
- package/typechain-types/ActionMintRedeem.ts +29 -230
- package/typechain-types/ActionMintRedeemStatic.ts +461 -0
- package/typechain-types/ActionMisc.ts +77 -27
- package/typechain-types/ActionStorageStatic.ts +403 -0
- package/typechain-types/ActionSwapPT.ts +26 -31
- package/typechain-types/ActionSwapYT.ts +202 -21
- package/typechain-types/ActionVePendleStatic.ts +113 -0
- package/typechain-types/AddressProvider.ts +280 -0
- package/typechain-types/Broadcaster.ts +454 -0
- package/typechain-types/ComposableStablePreview.ts +217 -0
- package/typechain-types/GLPPreviewHelper.ts +121 -0
- package/typechain-types/GMXPreviewHelper.ts +121 -0
- package/typechain-types/I1inchAggregationRouterV5.ts +257 -0
- package/typechain-types/IAddressProvider.ts +123 -0
- package/typechain-types/IAggregationExecutor.ts +182 -0
- package/typechain-types/IBalancerFees.ts +89 -0
- package/typechain-types/IBalancerStablePreview.ts +217 -0
- package/typechain-types/IBasePool.ts +482 -0
- package/typechain-types/IComposableStable.ts +730 -0
- package/typechain-types/IDiamondCut.ts +152 -0
- package/typechain-types/IDiamondLoupe.ts +190 -0
- package/typechain-types/IERC4626.ts +34 -0
- package/typechain-types/IExecutorHelperEthereum1.ts +643 -0
- package/typechain-types/IGMXVault.ts +494 -0
- package/typechain-types/IGauge.ts +160 -0
- package/typechain-types/IGlpManager.ts +165 -0
- package/typechain-types/IHashflow.ts +159 -0
- package/typechain-types/IKyberSwapAggregationRouterHelper.ts +109 -0
- package/typechain-types/ILiquidityGaugeFactory.ts +99 -0
- package/typechain-types/IMetaAggregationRouter.ts +213 -0
- package/typechain-types/IMetaAggregationRouterV2.ts +221 -0
- package/typechain-types/IMetaStablePool.ts +619 -0
- package/typechain-types/IPActionAddRemoveLiq.ts +213 -14
- package/typechain-types/IPActionInfoStatic.ts +310 -0
- package/typechain-types/IPActionMarketAuxStatic.ts +350 -0
- package/typechain-types/IPActionMarketCoreStatic.ts +1489 -0
- package/typechain-types/IPActionMintRedeem.ts +29 -211
- package/typechain-types/IPActionMintRedeemStatic.ts +461 -0
- package/typechain-types/IPActionMisc.ts +77 -27
- package/typechain-types/IPActionStorageStatic.ts +326 -0
- package/typechain-types/IPActionSwapPT.ts +26 -12
- package/typechain-types/IPActionSwapYT.ts +168 -12
- package/typechain-types/IPActionVePendleStatic.ts +113 -0
- package/typechain-types/IPAllAction.ts +445 -227
- package/typechain-types/IPFeeDistributor.ts +18 -0
- package/typechain-types/IPInterestManagerYTV2.ts +117 -0
- package/typechain-types/IPMiniDiamond.ts +147 -0
- package/typechain-types/IPMsgReceiverApp.ts +5 -5
- package/typechain-types/IPRouterStatic.ts +2394 -509
- package/typechain-types/IPSwapAggregator.ts +126 -0
- package/typechain-types/IPVotingController.ts +96 -0
- package/typechain-types/IPYieldTokenV2.ts +901 -0
- package/typechain-types/IRateProvider.ts +81 -0
- package/typechain-types/IRewardRouterV2.ts +346 -0
- package/typechain-types/IRewards.ts +35 -5
- package/typechain-types/ISwapAggregator.ts +124 -0
- package/typechain-types/IVault.ts +410 -0
- package/typechain-types/IVaultPriceFeed.ts +114 -0
- package/typechain-types/InterestManagerYTV2.ts +157 -0
- package/typechain-types/MetaStableMath.ts +113 -0
- package/typechain-types/MetaStablePreview.ts +501 -0
- package/typechain-types/Multicall2.ts +437 -0
- package/typechain-types/PendleAura3EthSY.ts +1600 -0
- package/typechain-types/PendleAuraBalancerStableLPSY.ts +1523 -0
- package/typechain-types/PendleAuraCbethWstethSY.ts +1587 -0
- package/typechain-types/PendleAuraWethRethSY.ts +1549 -0
- package/typechain-types/PendleAuraWethWstethSY.ts +1523 -0
- 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/PendleGDaiSY.ts +1229 -0
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +4 -4
- package/typechain-types/PendleGlpSY.ts +1463 -0
- package/typechain-types/PendleLooksStakingSY.ts +204 -0
- package/typechain-types/PendleMsgReceiverAppUpg.ts +5 -5
- package/typechain-types/PendleMulticall.ts +110 -0
- package/typechain-types/PendlePrincipalTokenV2.ts +614 -0
- package/typechain-types/PendleQiTokenSY.ts +204 -0
- package/typechain-types/PendleRouter.ts +109 -131
- package/typechain-types/PendleRouterStatic.ts +57 -0
- package/typechain-types/PendleSwapAggregator.ts +126 -0
- package/typechain-types/PendleWstEthSY.ts +204 -0
- package/typechain-types/PendleYieldContractFactoryV2.ts +801 -0
- package/typechain-types/PendleYieldTokenV2.ts +1298 -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/StEthHelper.ts +107 -0
- package/typechain-types/StablePreviewBase.ts +217 -0
- package/typechain-types/SwapAggregator.ts +406 -0
- package/typechain-types/VotingControllerStorageUpg.ts +96 -0
- package/typechain-types/VotingEscrowPendleSidechain.ts +4 -5
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +346 -68
- package/typechain-types/factories/ActionBaseCallback__factory.ts +156 -0
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionInfoStatic__factory.ts +360 -0
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +390 -0
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1464 -0
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +367 -0
- package/typechain-types/factories/ActionMintRedeem__factory.ts +108 -266
- package/typechain-types/factories/ActionMisc__factory.ts +56 -17
- package/typechain-types/factories/ActionStorageStatic__factory.ts +281 -0
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +55 -71
- package/typechain-types/factories/ActionSwapYT__factory.ts +356 -48
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +155 -0
- package/typechain-types/factories/AddressProvider__factory.ts +196 -0
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
- package/typechain-types/factories/Broadcaster__factory.ts +311 -0
- 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/ComposableStablePreview__factory.ts +190 -0
- package/typechain-types/factories/Errors__factory.ts +86 -1
- package/typechain-types/factories/GLPPreviewHelper__factory.ts +65 -0
- package/typechain-types/factories/GMXPreviewHelper__factory.ts +65 -0
- package/typechain-types/factories/I1inchAggregationRouterV5__factory.ts +179 -0
- package/typechain-types/factories/IAddressProvider__factory.ts +63 -0
- package/typechain-types/factories/IAggregationExecutor__factory.ts +84 -0
- package/typechain-types/factories/IBalancerFees__factory.ts +36 -0
- package/typechain-types/factories/IBalancerStablePreview__factory.ts +152 -0
- package/typechain-types/factories/IBasePool__factory.ts +340 -0
- package/typechain-types/factories/IComposableStable__factory.ts +482 -0
- package/typechain-types/factories/IDiamondCut__factory.ts +105 -0
- package/typechain-types/factories/IDiamondLoupe__factory.ts +99 -0
- package/typechain-types/factories/IERC4626__factory.ts +19 -0
- package/typechain-types/factories/IExecutorHelperEthereum1__factory.ts +407 -0
- package/typechain-types/factories/IGMXVault__factory.ts +320 -0
- package/typechain-types/factories/IGauge__factory.ts +70 -0
- package/typechain-types/factories/IGlpManager__factory.ts +81 -0
- package/typechain-types/factories/IHashflow__factory.ts +113 -0
- package/typechain-types/factories/IKyberSwapAggregationRouterHelper__factory.ts +56 -0
- package/typechain-types/factories/ILiquidityGaugeFactory__factory.ts +49 -0
- package/typechain-types/factories/IMetaAggregationRouterV2__factory.ts +234 -0
- package/typechain-types/factories/IMetaAggregationRouter__factory.ts +202 -0
- package/typechain-types/factories/IMetaStablePool__factory.ts +413 -0
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +338 -16
- package/typechain-types/factories/IPActionInfoStatic__factory.ts +322 -0
- package/typechain-types/factories/IPActionMarketAuxStatic__factory.ts +288 -0
- package/typechain-types/factories/IPActionMarketCoreStatic__factory.ts +1289 -0
- package/typechain-types/factories/IPActionMintRedeemStatic__factory.ts +292 -0
- package/typechain-types/factories/IPActionMintRedeem__factory.ts +105 -224
- package/typechain-types/factories/IPActionMisc__factory.ts +55 -11
- package/typechain-types/factories/IPActionStorageStatic__factory.ts +203 -0
- package/typechain-types/factories/IPActionSwapPT__factory.ts +52 -8
- package/typechain-types/factories/IPActionSwapYT__factory.ts +231 -8
- package/typechain-types/factories/IPActionVePendleStatic__factory.ts +59 -0
- package/typechain-types/factories/IPAllAction__factory.ts +675 -241
- package/typechain-types/factories/IPFeeDistributor__factory.ts +19 -0
- package/typechain-types/factories/IPInterestManagerYTV2__factory.ts +59 -0
- package/typechain-types/factories/IPMiniDiamond__factory.ts +67 -0
- package/typechain-types/factories/IPMsgReceiverApp__factory.ts +1 -1
- package/typechain-types/factories/IPRouterStatic__factory.ts +1952 -494
- package/typechain-types/factories/IPSwapAggregator__factory.ts +71 -0
- package/typechain-types/factories/IPVotingController__factory.ts +39 -0
- package/typechain-types/factories/IPYieldTokenV2__factory.ts +694 -0
- package/typechain-types/factories/IRateProvider__factory.ts +36 -0
- package/typechain-types/factories/IRewardRouterV2__factory.ts +216 -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/IVault__factory.ts +287 -0
- package/typechain-types/factories/InterestManagerYTV2__factory.ts +81 -0
- package/typechain-types/factories/MarketMathStatic__factory.ts +1 -27
- package/typechain-types/factories/MetaStableMath__factory.ts +93 -0
- package/typechain-types/factories/MetaStablePreview__factory.ts +375 -0
- package/typechain-types/factories/Multicall2__factory.ts +372 -0
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleAura3EthSY__factory.ts +1326 -0
- package/typechain-types/factories/PendleAuraBalancerStableLPSY__factory.ts +1190 -0
- package/typechain-types/factories/PendleAuraCbethWstethSY__factory.ts +1317 -0
- package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +1291 -0
- package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +1265 -0
- 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/PendleGDaiSY__factory.ts +1035 -0
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +2 -2
- package/typechain-types/factories/PendleGlpSY__factory.ts +1249 -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/PendleMsgReceiverAppUpg__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/PendleRouterStatic__factory.ts +88 -0
- package/typechain-types/factories/PendleRouter__factory.ts +75 -74
- package/typechain-types/factories/PendleSwapAggregator__factory.ts +129 -0
- 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 +1109 -0
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/RouterStatic__factory.ts +4 -4
- 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/StEthHelper__factory.ts +62 -0
- package/typechain-types/factories/StablePreviewBase__factory.ts +148 -0
- package/typechain-types/factories/SwapAggregator__factory.ts +309 -0
- package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +39 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +2 -2
- package/typechain-types/hardhat.d.ts +511 -52
- package/typechain-types/index.ts +116 -18
- package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.json +0 -34
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +0 -285
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +0 -4
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +0 -4
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +0 -165
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +0 -4
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +0 -343
- package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +0 -224
- package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.json +0 -35
- 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/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +0 -4
- package/contracts/interfaces/IBoringOwnableUpgradeable.sol +0 -10
- package/contracts/interfaces/IPActionSwapPTYT.sol +0 -31
- package/contracts/router/ActionSwapPTYT.sol +0 -108
- package/contracts/router/kyberswap/AggregationRouterHelper.sol +0 -331
- package/contracts/router/kyberswap/IAggregatorRouterHelper.sol +0 -10
- package/contracts/router/kyberswap/IMultihopRouterEthereum.sol +0 -141
- package/contracts/router/kyberswap/KyberSwapHelper.sol +0 -79
- package/deployments/1-core.json +0 -30
- package/deployments/1-markets/APE-JUNE-29.json +0 -8
- package/deployments/1-markets/FRAXUSDC-CURVELP-MARCH30.json +0 -11
- package/deployments/1-markets/LOOKS-STAKING-MARCH30.json +0 -10
- package/deployments/1-markets/STETH-JUNE29.json +0 -10
- package/deployments/1-markets/STETH-MARCH30.json +0 -10
|
@@ -187,29 +187,29 @@
|
|
|
187
187
|
{
|
|
188
188
|
"indexed": true,
|
|
189
189
|
"internalType": "address",
|
|
190
|
-
"name": "
|
|
190
|
+
"name": "receiver",
|
|
191
191
|
"type": "address"
|
|
192
192
|
},
|
|
193
193
|
{
|
|
194
194
|
"indexed": false,
|
|
195
|
-
"internalType": "
|
|
196
|
-
"name": "
|
|
197
|
-
"type": "
|
|
195
|
+
"internalType": "uint256",
|
|
196
|
+
"name": "netSyIn",
|
|
197
|
+
"type": "uint256"
|
|
198
198
|
},
|
|
199
199
|
{
|
|
200
200
|
"indexed": false,
|
|
201
201
|
"internalType": "uint256",
|
|
202
|
-
"name": "
|
|
202
|
+
"name": "netLpOut",
|
|
203
203
|
"type": "uint256"
|
|
204
204
|
},
|
|
205
205
|
{
|
|
206
206
|
"indexed": false,
|
|
207
207
|
"internalType": "uint256",
|
|
208
|
-
"name": "
|
|
208
|
+
"name": "netYtOut",
|
|
209
209
|
"type": "uint256"
|
|
210
210
|
}
|
|
211
211
|
],
|
|
212
|
-
"name": "
|
|
212
|
+
"name": "AddLiquiditySingleSyKeepYt",
|
|
213
213
|
"type": "event"
|
|
214
214
|
},
|
|
215
215
|
{
|
|
@@ -224,29 +224,35 @@
|
|
|
224
224
|
{
|
|
225
225
|
"indexed": true,
|
|
226
226
|
"internalType": "address",
|
|
227
|
-
"name": "
|
|
227
|
+
"name": "market",
|
|
228
228
|
"type": "address"
|
|
229
229
|
},
|
|
230
230
|
{
|
|
231
231
|
"indexed": true,
|
|
232
232
|
"internalType": "address",
|
|
233
|
-
"name": "
|
|
233
|
+
"name": "token",
|
|
234
|
+
"type": "address"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"indexed": false,
|
|
238
|
+
"internalType": "address",
|
|
239
|
+
"name": "receiver",
|
|
234
240
|
"type": "address"
|
|
235
241
|
},
|
|
236
242
|
{
|
|
237
243
|
"indexed": false,
|
|
238
244
|
"internalType": "uint256",
|
|
239
|
-
"name": "
|
|
245
|
+
"name": "netTokenIn",
|
|
240
246
|
"type": "uint256"
|
|
241
247
|
},
|
|
242
248
|
{
|
|
243
249
|
"indexed": false,
|
|
244
250
|
"internalType": "uint256",
|
|
245
|
-
"name": "
|
|
251
|
+
"name": "netLpOut",
|
|
246
252
|
"type": "uint256"
|
|
247
253
|
}
|
|
248
254
|
],
|
|
249
|
-
"name": "
|
|
255
|
+
"name": "AddLiquiditySingleToken",
|
|
250
256
|
"type": "event"
|
|
251
257
|
},
|
|
252
258
|
{
|
|
@@ -261,13 +267,13 @@
|
|
|
261
267
|
{
|
|
262
268
|
"indexed": true,
|
|
263
269
|
"internalType": "address",
|
|
264
|
-
"name": "
|
|
270
|
+
"name": "market",
|
|
265
271
|
"type": "address"
|
|
266
272
|
},
|
|
267
273
|
{
|
|
268
274
|
"indexed": true,
|
|
269
275
|
"internalType": "address",
|
|
270
|
-
"name": "
|
|
276
|
+
"name": "token",
|
|
271
277
|
"type": "address"
|
|
272
278
|
},
|
|
273
279
|
{
|
|
@@ -285,11 +291,17 @@
|
|
|
285
291
|
{
|
|
286
292
|
"indexed": false,
|
|
287
293
|
"internalType": "uint256",
|
|
288
|
-
"name": "
|
|
294
|
+
"name": "netLpOut",
|
|
295
|
+
"type": "uint256"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"indexed": false,
|
|
299
|
+
"internalType": "uint256",
|
|
300
|
+
"name": "netYtOut",
|
|
289
301
|
"type": "uint256"
|
|
290
302
|
}
|
|
291
303
|
],
|
|
292
|
-
"name": "
|
|
304
|
+
"name": "AddLiquiditySingleTokenKeepYt",
|
|
293
305
|
"type": "event"
|
|
294
306
|
},
|
|
295
307
|
{
|
|
@@ -304,35 +316,29 @@
|
|
|
304
316
|
{
|
|
305
317
|
"indexed": true,
|
|
306
318
|
"internalType": "address",
|
|
307
|
-
"name": "
|
|
319
|
+
"name": "receiver",
|
|
308
320
|
"type": "address"
|
|
309
321
|
},
|
|
310
322
|
{
|
|
311
323
|
"indexed": true,
|
|
312
324
|
"internalType": "address",
|
|
313
|
-
"name": "
|
|
314
|
-
"type": "address"
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"indexed": false,
|
|
318
|
-
"internalType": "address",
|
|
319
|
-
"name": "receiver",
|
|
325
|
+
"name": "YT",
|
|
320
326
|
"type": "address"
|
|
321
327
|
},
|
|
322
328
|
{
|
|
323
329
|
"indexed": false,
|
|
324
330
|
"internalType": "uint256",
|
|
325
|
-
"name": "
|
|
331
|
+
"name": "netSyIn",
|
|
326
332
|
"type": "uint256"
|
|
327
333
|
},
|
|
328
334
|
{
|
|
329
335
|
"indexed": false,
|
|
330
336
|
"internalType": "uint256",
|
|
331
|
-
"name": "
|
|
337
|
+
"name": "netPyOut",
|
|
332
338
|
"type": "uint256"
|
|
333
339
|
}
|
|
334
340
|
],
|
|
335
|
-
"name": "
|
|
341
|
+
"name": "MintPyFromSy",
|
|
336
342
|
"type": "event"
|
|
337
343
|
},
|
|
338
344
|
{
|
|
@@ -341,53 +347,41 @@
|
|
|
341
347
|
{
|
|
342
348
|
"indexed": true,
|
|
343
349
|
"internalType": "address",
|
|
344
|
-
"name": "
|
|
350
|
+
"name": "caller",
|
|
345
351
|
"type": "address"
|
|
346
352
|
},
|
|
347
353
|
{
|
|
348
|
-
"indexed":
|
|
349
|
-
"internalType": "address
|
|
350
|
-
"name": "
|
|
351
|
-
"type": "address
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
"indexed": false,
|
|
355
|
-
"internalType": "address[]",
|
|
356
|
-
"name": "yts",
|
|
357
|
-
"type": "address[]"
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"indexed": false,
|
|
361
|
-
"internalType": "address[]",
|
|
362
|
-
"name": "markets",
|
|
363
|
-
"type": "address[]"
|
|
354
|
+
"indexed": true,
|
|
355
|
+
"internalType": "address",
|
|
356
|
+
"name": "tokenIn",
|
|
357
|
+
"type": "address"
|
|
364
358
|
},
|
|
365
359
|
{
|
|
366
|
-
"indexed":
|
|
367
|
-
"internalType": "
|
|
368
|
-
"name": "
|
|
369
|
-
"type": "
|
|
360
|
+
"indexed": true,
|
|
361
|
+
"internalType": "address",
|
|
362
|
+
"name": "YT",
|
|
363
|
+
"type": "address"
|
|
370
364
|
},
|
|
371
365
|
{
|
|
372
366
|
"indexed": false,
|
|
373
|
-
"internalType": "
|
|
374
|
-
"name": "
|
|
375
|
-
"type": "
|
|
367
|
+
"internalType": "address",
|
|
368
|
+
"name": "receiver",
|
|
369
|
+
"type": "address"
|
|
376
370
|
},
|
|
377
371
|
{
|
|
378
372
|
"indexed": false,
|
|
379
|
-
"internalType": "uint256
|
|
380
|
-
"name": "
|
|
381
|
-
"type": "uint256
|
|
373
|
+
"internalType": "uint256",
|
|
374
|
+
"name": "netTokenIn",
|
|
375
|
+
"type": "uint256"
|
|
382
376
|
},
|
|
383
377
|
{
|
|
384
378
|
"indexed": false,
|
|
385
|
-
"internalType": "uint256
|
|
386
|
-
"name": "
|
|
387
|
-
"type": "uint256
|
|
379
|
+
"internalType": "uint256",
|
|
380
|
+
"name": "netPyOut",
|
|
381
|
+
"type": "uint256"
|
|
388
382
|
}
|
|
389
383
|
],
|
|
390
|
-
"name": "
|
|
384
|
+
"name": "MintPyFromToken",
|
|
391
385
|
"type": "event"
|
|
392
386
|
},
|
|
393
387
|
{
|
|
@@ -396,41 +390,41 @@
|
|
|
396
390
|
{
|
|
397
391
|
"indexed": true,
|
|
398
392
|
"internalType": "address",
|
|
399
|
-
"name": "
|
|
393
|
+
"name": "caller",
|
|
400
394
|
"type": "address"
|
|
401
395
|
},
|
|
402
396
|
{
|
|
403
|
-
"indexed":
|
|
404
|
-
"internalType": "address
|
|
405
|
-
"name": "
|
|
406
|
-
"type": "address
|
|
397
|
+
"indexed": true,
|
|
398
|
+
"internalType": "address",
|
|
399
|
+
"name": "tokenIn",
|
|
400
|
+
"type": "address"
|
|
407
401
|
},
|
|
408
402
|
{
|
|
409
|
-
"indexed":
|
|
410
|
-
"internalType": "address
|
|
411
|
-
"name": "
|
|
412
|
-
"type": "address
|
|
403
|
+
"indexed": true,
|
|
404
|
+
"internalType": "address",
|
|
405
|
+
"name": "SY",
|
|
406
|
+
"type": "address"
|
|
413
407
|
},
|
|
414
408
|
{
|
|
415
409
|
"indexed": false,
|
|
416
|
-
"internalType": "address[]",
|
|
417
|
-
"name": "markets",
|
|
418
|
-
"type": "address[]"
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
"indexed": true,
|
|
422
410
|
"internalType": "address",
|
|
423
|
-
"name": "
|
|
411
|
+
"name": "receiver",
|
|
424
412
|
"type": "address"
|
|
425
413
|
},
|
|
426
414
|
{
|
|
427
415
|
"indexed": false,
|
|
428
416
|
"internalType": "uint256",
|
|
429
|
-
"name": "
|
|
417
|
+
"name": "netTokenIn",
|
|
418
|
+
"type": "uint256"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"indexed": false,
|
|
422
|
+
"internalType": "uint256",
|
|
423
|
+
"name": "netSyOut",
|
|
430
424
|
"type": "uint256"
|
|
431
425
|
}
|
|
432
426
|
],
|
|
433
|
-
"name": "
|
|
427
|
+
"name": "MintSyFromToken",
|
|
434
428
|
"type": "event"
|
|
435
429
|
},
|
|
436
430
|
{
|
|
@@ -1047,13 +1041,35 @@
|
|
|
1047
1041
|
},
|
|
1048
1042
|
{
|
|
1049
1043
|
"internalType": "address",
|
|
1050
|
-
"name": "
|
|
1044
|
+
"name": "pendleSwap",
|
|
1051
1045
|
"type": "address"
|
|
1052
1046
|
},
|
|
1053
1047
|
{
|
|
1054
|
-
"
|
|
1055
|
-
|
|
1056
|
-
|
|
1048
|
+
"components": [
|
|
1049
|
+
{
|
|
1050
|
+
"internalType": "enum SwapType",
|
|
1051
|
+
"name": "swapType",
|
|
1052
|
+
"type": "uint8"
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
"internalType": "address",
|
|
1056
|
+
"name": "extRouter",
|
|
1057
|
+
"type": "address"
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
"internalType": "bytes",
|
|
1061
|
+
"name": "extCalldata",
|
|
1062
|
+
"type": "bytes"
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"internalType": "bool",
|
|
1066
|
+
"name": "needScale",
|
|
1067
|
+
"type": "bool"
|
|
1068
|
+
}
|
|
1069
|
+
],
|
|
1070
|
+
"internalType": "struct SwapData",
|
|
1071
|
+
"name": "swapData",
|
|
1072
|
+
"type": "tuple"
|
|
1057
1073
|
}
|
|
1058
1074
|
],
|
|
1059
1075
|
"internalType": "struct TokenInput",
|
|
@@ -1234,6 +1250,50 @@
|
|
|
1234
1250
|
"stateMutability": "nonpayable",
|
|
1235
1251
|
"type": "function"
|
|
1236
1252
|
},
|
|
1253
|
+
{
|
|
1254
|
+
"inputs": [
|
|
1255
|
+
{
|
|
1256
|
+
"internalType": "address",
|
|
1257
|
+
"name": "receiver",
|
|
1258
|
+
"type": "address"
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
"internalType": "address",
|
|
1262
|
+
"name": "market",
|
|
1263
|
+
"type": "address"
|
|
1264
|
+
},
|
|
1265
|
+
{
|
|
1266
|
+
"internalType": "uint256",
|
|
1267
|
+
"name": "netSyIn",
|
|
1268
|
+
"type": "uint256"
|
|
1269
|
+
},
|
|
1270
|
+
{
|
|
1271
|
+
"internalType": "uint256",
|
|
1272
|
+
"name": "minLpOut",
|
|
1273
|
+
"type": "uint256"
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
"internalType": "uint256",
|
|
1277
|
+
"name": "minYtOut",
|
|
1278
|
+
"type": "uint256"
|
|
1279
|
+
}
|
|
1280
|
+
],
|
|
1281
|
+
"name": "addLiquiditySingleSyKeepYt",
|
|
1282
|
+
"outputs": [
|
|
1283
|
+
{
|
|
1284
|
+
"internalType": "uint256",
|
|
1285
|
+
"name": "netLpOut",
|
|
1286
|
+
"type": "uint256"
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
"internalType": "uint256",
|
|
1290
|
+
"name": "netYtOut",
|
|
1291
|
+
"type": "uint256"
|
|
1292
|
+
}
|
|
1293
|
+
],
|
|
1294
|
+
"stateMutability": "nonpayable",
|
|
1295
|
+
"type": "function"
|
|
1296
|
+
},
|
|
1237
1297
|
{
|
|
1238
1298
|
"inputs": [
|
|
1239
1299
|
{
|
|
@@ -1307,13 +1367,35 @@
|
|
|
1307
1367
|
},
|
|
1308
1368
|
{
|
|
1309
1369
|
"internalType": "address",
|
|
1310
|
-
"name": "
|
|
1370
|
+
"name": "pendleSwap",
|
|
1311
1371
|
"type": "address"
|
|
1312
1372
|
},
|
|
1313
1373
|
{
|
|
1314
|
-
"
|
|
1315
|
-
|
|
1316
|
-
|
|
1374
|
+
"components": [
|
|
1375
|
+
{
|
|
1376
|
+
"internalType": "enum SwapType",
|
|
1377
|
+
"name": "swapType",
|
|
1378
|
+
"type": "uint8"
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
"internalType": "address",
|
|
1382
|
+
"name": "extRouter",
|
|
1383
|
+
"type": "address"
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
"internalType": "bytes",
|
|
1387
|
+
"name": "extCalldata",
|
|
1388
|
+
"type": "bytes"
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
"internalType": "bool",
|
|
1392
|
+
"name": "needScale",
|
|
1393
|
+
"type": "bool"
|
|
1394
|
+
}
|
|
1395
|
+
],
|
|
1396
|
+
"internalType": "struct SwapData",
|
|
1397
|
+
"name": "swapData",
|
|
1398
|
+
"type": "tuple"
|
|
1317
1399
|
}
|
|
1318
1400
|
],
|
|
1319
1401
|
"internalType": "struct TokenInput",
|
|
@@ -1339,23 +1421,241 @@
|
|
|
1339
1421
|
},
|
|
1340
1422
|
{
|
|
1341
1423
|
"inputs": [
|
|
1424
|
+
{
|
|
1425
|
+
"internalType": "address",
|
|
1426
|
+
"name": "receiver",
|
|
1427
|
+
"type": "address"
|
|
1428
|
+
},
|
|
1342
1429
|
{
|
|
1343
1430
|
"internalType": "address",
|
|
1344
1431
|
"name": "market",
|
|
1345
1432
|
"type": "address"
|
|
1346
1433
|
},
|
|
1347
1434
|
{
|
|
1348
|
-
"internalType": "
|
|
1349
|
-
"name": "
|
|
1350
|
-
"type": "
|
|
1435
|
+
"internalType": "uint256",
|
|
1436
|
+
"name": "minLpOut",
|
|
1437
|
+
"type": "uint256"
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
"internalType": "uint256",
|
|
1441
|
+
"name": "minYtOut",
|
|
1442
|
+
"type": "uint256"
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
"components": [
|
|
1446
|
+
{
|
|
1447
|
+
"internalType": "address",
|
|
1448
|
+
"name": "tokenIn",
|
|
1449
|
+
"type": "address"
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
"internalType": "uint256",
|
|
1453
|
+
"name": "netTokenIn",
|
|
1454
|
+
"type": "uint256"
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
"internalType": "address",
|
|
1458
|
+
"name": "tokenMintSy",
|
|
1459
|
+
"type": "address"
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"internalType": "address",
|
|
1463
|
+
"name": "bulk",
|
|
1464
|
+
"type": "address"
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
"internalType": "address",
|
|
1468
|
+
"name": "pendleSwap",
|
|
1469
|
+
"type": "address"
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
"components": [
|
|
1473
|
+
{
|
|
1474
|
+
"internalType": "enum SwapType",
|
|
1475
|
+
"name": "swapType",
|
|
1476
|
+
"type": "uint8"
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"internalType": "address",
|
|
1480
|
+
"name": "extRouter",
|
|
1481
|
+
"type": "address"
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"internalType": "bytes",
|
|
1485
|
+
"name": "extCalldata",
|
|
1486
|
+
"type": "bytes"
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"internalType": "bool",
|
|
1490
|
+
"name": "needScale",
|
|
1491
|
+
"type": "bool"
|
|
1492
|
+
}
|
|
1493
|
+
],
|
|
1494
|
+
"internalType": "struct SwapData",
|
|
1495
|
+
"name": "swapData",
|
|
1496
|
+
"type": "tuple"
|
|
1497
|
+
}
|
|
1498
|
+
],
|
|
1499
|
+
"internalType": "struct TokenInput",
|
|
1500
|
+
"name": "input",
|
|
1501
|
+
"type": "tuple"
|
|
1351
1502
|
}
|
|
1352
1503
|
],
|
|
1353
|
-
"name": "
|
|
1504
|
+
"name": "addLiquiditySingleTokenKeepYt",
|
|
1354
1505
|
"outputs": [
|
|
1355
1506
|
{
|
|
1356
|
-
"internalType": "
|
|
1357
|
-
"name": "
|
|
1358
|
-
"type": "
|
|
1507
|
+
"internalType": "uint256",
|
|
1508
|
+
"name": "netLpOut",
|
|
1509
|
+
"type": "uint256"
|
|
1510
|
+
},
|
|
1511
|
+
{
|
|
1512
|
+
"internalType": "uint256",
|
|
1513
|
+
"name": "netYtOut",
|
|
1514
|
+
"type": "uint256"
|
|
1515
|
+
}
|
|
1516
|
+
],
|
|
1517
|
+
"stateMutability": "nonpayable",
|
|
1518
|
+
"type": "function"
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
"inputs": [
|
|
1522
|
+
{
|
|
1523
|
+
"components": [
|
|
1524
|
+
{
|
|
1525
|
+
"internalType": "address[]",
|
|
1526
|
+
"name": "tokens",
|
|
1527
|
+
"type": "address[]"
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
"internalType": "address",
|
|
1531
|
+
"name": "spender",
|
|
1532
|
+
"type": "address"
|
|
1533
|
+
}
|
|
1534
|
+
],
|
|
1535
|
+
"internalType": "struct IPActionMisc.MultiApproval[]",
|
|
1536
|
+
"name": "",
|
|
1537
|
+
"type": "tuple[]"
|
|
1538
|
+
}
|
|
1539
|
+
],
|
|
1540
|
+
"name": "approveInf",
|
|
1541
|
+
"outputs": [],
|
|
1542
|
+
"stateMutability": "nonpayable",
|
|
1543
|
+
"type": "function"
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
"inputs": [
|
|
1547
|
+
{
|
|
1548
|
+
"components": [
|
|
1549
|
+
{
|
|
1550
|
+
"internalType": "bool",
|
|
1551
|
+
"name": "allowFailure",
|
|
1552
|
+
"type": "bool"
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
"internalType": "bytes",
|
|
1556
|
+
"name": "callData",
|
|
1557
|
+
"type": "bytes"
|
|
1558
|
+
}
|
|
1559
|
+
],
|
|
1560
|
+
"internalType": "struct IPActionMisc.Call3[]",
|
|
1561
|
+
"name": "calls",
|
|
1562
|
+
"type": "tuple[]"
|
|
1563
|
+
}
|
|
1564
|
+
],
|
|
1565
|
+
"name": "batchExec",
|
|
1566
|
+
"outputs": [
|
|
1567
|
+
{
|
|
1568
|
+
"components": [
|
|
1569
|
+
{
|
|
1570
|
+
"internalType": "bool",
|
|
1571
|
+
"name": "success",
|
|
1572
|
+
"type": "bool"
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
"internalType": "bytes",
|
|
1576
|
+
"name": "returnData",
|
|
1577
|
+
"type": "bytes"
|
|
1578
|
+
}
|
|
1579
|
+
],
|
|
1580
|
+
"internalType": "struct IPActionMisc.Result[]",
|
|
1581
|
+
"name": "returnData",
|
|
1582
|
+
"type": "tuple[]"
|
|
1583
|
+
}
|
|
1584
|
+
],
|
|
1585
|
+
"stateMutability": "nonpayable",
|
|
1586
|
+
"type": "function"
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
"inputs": [
|
|
1590
|
+
{
|
|
1591
|
+
"internalType": "bytes4",
|
|
1592
|
+
"name": "_functionSelector",
|
|
1593
|
+
"type": "bytes4"
|
|
1594
|
+
}
|
|
1595
|
+
],
|
|
1596
|
+
"name": "facetAddress",
|
|
1597
|
+
"outputs": [
|
|
1598
|
+
{
|
|
1599
|
+
"internalType": "address",
|
|
1600
|
+
"name": "facetAddress_",
|
|
1601
|
+
"type": "address"
|
|
1602
|
+
}
|
|
1603
|
+
],
|
|
1604
|
+
"stateMutability": "view",
|
|
1605
|
+
"type": "function"
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
"inputs": [],
|
|
1609
|
+
"name": "facetAddresses",
|
|
1610
|
+
"outputs": [
|
|
1611
|
+
{
|
|
1612
|
+
"internalType": "address[]",
|
|
1613
|
+
"name": "facetAddresses_",
|
|
1614
|
+
"type": "address[]"
|
|
1615
|
+
}
|
|
1616
|
+
],
|
|
1617
|
+
"stateMutability": "view",
|
|
1618
|
+
"type": "function"
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
"inputs": [
|
|
1622
|
+
{
|
|
1623
|
+
"internalType": "address",
|
|
1624
|
+
"name": "_facet",
|
|
1625
|
+
"type": "address"
|
|
1626
|
+
}
|
|
1627
|
+
],
|
|
1628
|
+
"name": "facetFunctionSelectors",
|
|
1629
|
+
"outputs": [
|
|
1630
|
+
{
|
|
1631
|
+
"internalType": "bytes4[]",
|
|
1632
|
+
"name": "facetFunctionSelectors_",
|
|
1633
|
+
"type": "bytes4[]"
|
|
1634
|
+
}
|
|
1635
|
+
],
|
|
1636
|
+
"stateMutability": "view",
|
|
1637
|
+
"type": "function"
|
|
1638
|
+
},
|
|
1639
|
+
{
|
|
1640
|
+
"inputs": [],
|
|
1641
|
+
"name": "facets",
|
|
1642
|
+
"outputs": [
|
|
1643
|
+
{
|
|
1644
|
+
"components": [
|
|
1645
|
+
{
|
|
1646
|
+
"internalType": "address",
|
|
1647
|
+
"name": "facetAddress",
|
|
1648
|
+
"type": "address"
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
"internalType": "bytes4[]",
|
|
1652
|
+
"name": "functionSelectors",
|
|
1653
|
+
"type": "bytes4[]"
|
|
1654
|
+
}
|
|
1655
|
+
],
|
|
1656
|
+
"internalType": "struct IDiamondLoupe.Facet[]",
|
|
1657
|
+
"name": "facets_",
|
|
1658
|
+
"type": "tuple[]"
|
|
1359
1659
|
}
|
|
1360
1660
|
],
|
|
1361
1661
|
"stateMutability": "view",
|
|
@@ -1436,13 +1736,35 @@
|
|
|
1436
1736
|
},
|
|
1437
1737
|
{
|
|
1438
1738
|
"internalType": "address",
|
|
1439
|
-
"name": "
|
|
1739
|
+
"name": "pendleSwap",
|
|
1440
1740
|
"type": "address"
|
|
1441
1741
|
},
|
|
1442
1742
|
{
|
|
1443
|
-
"
|
|
1444
|
-
|
|
1445
|
-
|
|
1743
|
+
"components": [
|
|
1744
|
+
{
|
|
1745
|
+
"internalType": "enum SwapType",
|
|
1746
|
+
"name": "swapType",
|
|
1747
|
+
"type": "uint8"
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
"internalType": "address",
|
|
1751
|
+
"name": "extRouter",
|
|
1752
|
+
"type": "address"
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
"internalType": "bytes",
|
|
1756
|
+
"name": "extCalldata",
|
|
1757
|
+
"type": "bytes"
|
|
1758
|
+
},
|
|
1759
|
+
{
|
|
1760
|
+
"internalType": "bool",
|
|
1761
|
+
"name": "needScale",
|
|
1762
|
+
"type": "bool"
|
|
1763
|
+
}
|
|
1764
|
+
],
|
|
1765
|
+
"internalType": "struct SwapData",
|
|
1766
|
+
"name": "swapData",
|
|
1767
|
+
"type": "tuple"
|
|
1446
1768
|
}
|
|
1447
1769
|
],
|
|
1448
1770
|
"internalType": "struct TokenInput",
|
|
@@ -1502,13 +1824,35 @@
|
|
|
1502
1824
|
},
|
|
1503
1825
|
{
|
|
1504
1826
|
"internalType": "address",
|
|
1505
|
-
"name": "
|
|
1827
|
+
"name": "pendleSwap",
|
|
1506
1828
|
"type": "address"
|
|
1507
1829
|
},
|
|
1508
1830
|
{
|
|
1509
|
-
"
|
|
1510
|
-
|
|
1511
|
-
|
|
1831
|
+
"components": [
|
|
1832
|
+
{
|
|
1833
|
+
"internalType": "enum SwapType",
|
|
1834
|
+
"name": "swapType",
|
|
1835
|
+
"type": "uint8"
|
|
1836
|
+
},
|
|
1837
|
+
{
|
|
1838
|
+
"internalType": "address",
|
|
1839
|
+
"name": "extRouter",
|
|
1840
|
+
"type": "address"
|
|
1841
|
+
},
|
|
1842
|
+
{
|
|
1843
|
+
"internalType": "bytes",
|
|
1844
|
+
"name": "extCalldata",
|
|
1845
|
+
"type": "bytes"
|
|
1846
|
+
},
|
|
1847
|
+
{
|
|
1848
|
+
"internalType": "bool",
|
|
1849
|
+
"name": "needScale",
|
|
1850
|
+
"type": "bool"
|
|
1851
|
+
}
|
|
1852
|
+
],
|
|
1853
|
+
"internalType": "struct SwapData",
|
|
1854
|
+
"name": "swapData",
|
|
1855
|
+
"type": "tuple"
|
|
1512
1856
|
}
|
|
1513
1857
|
],
|
|
1514
1858
|
"internalType": "struct TokenInput",
|
|
@@ -1551,116 +1895,7 @@
|
|
|
1551
1895
|
}
|
|
1552
1896
|
],
|
|
1553
1897
|
"name": "redeemDueInterestAndRewards",
|
|
1554
|
-
"outputs": [
|
|
1555
|
-
{
|
|
1556
|
-
"internalType": "uint256[][]",
|
|
1557
|
-
"name": "syRewards",
|
|
1558
|
-
"type": "uint256[][]"
|
|
1559
|
-
},
|
|
1560
|
-
{
|
|
1561
|
-
"internalType": "uint256[]",
|
|
1562
|
-
"name": "ytInterests",
|
|
1563
|
-
"type": "uint256[]"
|
|
1564
|
-
},
|
|
1565
|
-
{
|
|
1566
|
-
"internalType": "uint256[][]",
|
|
1567
|
-
"name": "ytRewards",
|
|
1568
|
-
"type": "uint256[][]"
|
|
1569
|
-
},
|
|
1570
|
-
{
|
|
1571
|
-
"internalType": "uint256[][]",
|
|
1572
|
-
"name": "marketRewards",
|
|
1573
|
-
"type": "uint256[][]"
|
|
1574
|
-
}
|
|
1575
|
-
],
|
|
1576
|
-
"stateMutability": "nonpayable",
|
|
1577
|
-
"type": "function"
|
|
1578
|
-
},
|
|
1579
|
-
{
|
|
1580
|
-
"inputs": [
|
|
1581
|
-
{
|
|
1582
|
-
"internalType": "address[]",
|
|
1583
|
-
"name": "sys",
|
|
1584
|
-
"type": "address[]"
|
|
1585
|
-
},
|
|
1586
|
-
{
|
|
1587
|
-
"components": [
|
|
1588
|
-
{
|
|
1589
|
-
"internalType": "address[]",
|
|
1590
|
-
"name": "yts",
|
|
1591
|
-
"type": "address[]"
|
|
1592
|
-
},
|
|
1593
|
-
{
|
|
1594
|
-
"internalType": "address[]",
|
|
1595
|
-
"name": "syAddrs",
|
|
1596
|
-
"type": "address[]"
|
|
1597
|
-
},
|
|
1598
|
-
{
|
|
1599
|
-
"internalType": "address[]",
|
|
1600
|
-
"name": "tokenRedeemSys",
|
|
1601
|
-
"type": "address[]"
|
|
1602
|
-
},
|
|
1603
|
-
{
|
|
1604
|
-
"internalType": "address[]",
|
|
1605
|
-
"name": "bulks",
|
|
1606
|
-
"type": "address[]"
|
|
1607
|
-
}
|
|
1608
|
-
],
|
|
1609
|
-
"internalType": "struct IPActionMintRedeem.RouterYtRedeemStruct",
|
|
1610
|
-
"name": "dataYT",
|
|
1611
|
-
"type": "tuple"
|
|
1612
|
-
},
|
|
1613
|
-
{
|
|
1614
|
-
"internalType": "address[]",
|
|
1615
|
-
"name": "markets",
|
|
1616
|
-
"type": "address[]"
|
|
1617
|
-
},
|
|
1618
|
-
{
|
|
1619
|
-
"components": [
|
|
1620
|
-
{
|
|
1621
|
-
"internalType": "address[]",
|
|
1622
|
-
"name": "tokens",
|
|
1623
|
-
"type": "address[]"
|
|
1624
|
-
},
|
|
1625
|
-
{
|
|
1626
|
-
"internalType": "bytes[]",
|
|
1627
|
-
"name": "kybercalls",
|
|
1628
|
-
"type": "bytes[]"
|
|
1629
|
-
},
|
|
1630
|
-
{
|
|
1631
|
-
"internalType": "address",
|
|
1632
|
-
"name": "kyberRouter",
|
|
1633
|
-
"type": "address"
|
|
1634
|
-
},
|
|
1635
|
-
{
|
|
1636
|
-
"internalType": "address",
|
|
1637
|
-
"name": "outputToken",
|
|
1638
|
-
"type": "address"
|
|
1639
|
-
},
|
|
1640
|
-
{
|
|
1641
|
-
"internalType": "uint256",
|
|
1642
|
-
"name": "minTokenOut",
|
|
1643
|
-
"type": "uint256"
|
|
1644
|
-
}
|
|
1645
|
-
],
|
|
1646
|
-
"internalType": "struct IPActionMintRedeem.RouterSwapAllStruct",
|
|
1647
|
-
"name": "dataSwap",
|
|
1648
|
-
"type": "tuple"
|
|
1649
|
-
}
|
|
1650
|
-
],
|
|
1651
|
-
"name": "redeemDueInterestAndRewardsThenSwapAll",
|
|
1652
|
-
"outputs": [
|
|
1653
|
-
{
|
|
1654
|
-
"internalType": "uint256",
|
|
1655
|
-
"name": "netTokenOut",
|
|
1656
|
-
"type": "uint256"
|
|
1657
|
-
},
|
|
1658
|
-
{
|
|
1659
|
-
"internalType": "uint256[]",
|
|
1660
|
-
"name": "amountsSwapped",
|
|
1661
|
-
"type": "uint256[]"
|
|
1662
|
-
}
|
|
1663
|
-
],
|
|
1898
|
+
"outputs": [],
|
|
1664
1899
|
"stateMutability": "nonpayable",
|
|
1665
1900
|
"type": "function"
|
|
1666
1901
|
},
|
|
@@ -1739,13 +1974,35 @@
|
|
|
1739
1974
|
},
|
|
1740
1975
|
{
|
|
1741
1976
|
"internalType": "address",
|
|
1742
|
-
"name": "
|
|
1977
|
+
"name": "pendleSwap",
|
|
1743
1978
|
"type": "address"
|
|
1744
1979
|
},
|
|
1745
1980
|
{
|
|
1746
|
-
"
|
|
1747
|
-
|
|
1748
|
-
|
|
1981
|
+
"components": [
|
|
1982
|
+
{
|
|
1983
|
+
"internalType": "enum SwapType",
|
|
1984
|
+
"name": "swapType",
|
|
1985
|
+
"type": "uint8"
|
|
1986
|
+
},
|
|
1987
|
+
{
|
|
1988
|
+
"internalType": "address",
|
|
1989
|
+
"name": "extRouter",
|
|
1990
|
+
"type": "address"
|
|
1991
|
+
},
|
|
1992
|
+
{
|
|
1993
|
+
"internalType": "bytes",
|
|
1994
|
+
"name": "extCalldata",
|
|
1995
|
+
"type": "bytes"
|
|
1996
|
+
},
|
|
1997
|
+
{
|
|
1998
|
+
"internalType": "bool",
|
|
1999
|
+
"name": "needScale",
|
|
2000
|
+
"type": "bool"
|
|
2001
|
+
}
|
|
2002
|
+
],
|
|
2003
|
+
"internalType": "struct SwapData",
|
|
2004
|
+
"name": "swapData",
|
|
2005
|
+
"type": "tuple"
|
|
1749
2006
|
}
|
|
1750
2007
|
],
|
|
1751
2008
|
"internalType": "struct TokenOutput",
|
|
@@ -1805,13 +2062,35 @@
|
|
|
1805
2062
|
},
|
|
1806
2063
|
{
|
|
1807
2064
|
"internalType": "address",
|
|
1808
|
-
"name": "
|
|
2065
|
+
"name": "pendleSwap",
|
|
1809
2066
|
"type": "address"
|
|
1810
2067
|
},
|
|
1811
2068
|
{
|
|
1812
|
-
"
|
|
1813
|
-
|
|
1814
|
-
|
|
2069
|
+
"components": [
|
|
2070
|
+
{
|
|
2071
|
+
"internalType": "enum SwapType",
|
|
2072
|
+
"name": "swapType",
|
|
2073
|
+
"type": "uint8"
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
"internalType": "address",
|
|
2077
|
+
"name": "extRouter",
|
|
2078
|
+
"type": "address"
|
|
2079
|
+
},
|
|
2080
|
+
{
|
|
2081
|
+
"internalType": "bytes",
|
|
2082
|
+
"name": "extCalldata",
|
|
2083
|
+
"type": "bytes"
|
|
2084
|
+
},
|
|
2085
|
+
{
|
|
2086
|
+
"internalType": "bool",
|
|
2087
|
+
"name": "needScale",
|
|
2088
|
+
"type": "bool"
|
|
2089
|
+
}
|
|
2090
|
+
],
|
|
2091
|
+
"internalType": "struct SwapData",
|
|
2092
|
+
"name": "swapData",
|
|
2093
|
+
"type": "tuple"
|
|
1815
2094
|
}
|
|
1816
2095
|
],
|
|
1817
2096
|
"internalType": "struct TokenOutput",
|
|
@@ -1915,13 +2194,35 @@
|
|
|
1915
2194
|
},
|
|
1916
2195
|
{
|
|
1917
2196
|
"internalType": "address",
|
|
1918
|
-
"name": "
|
|
2197
|
+
"name": "pendleSwap",
|
|
1919
2198
|
"type": "address"
|
|
1920
2199
|
},
|
|
1921
2200
|
{
|
|
1922
|
-
"
|
|
1923
|
-
|
|
1924
|
-
|
|
2201
|
+
"components": [
|
|
2202
|
+
{
|
|
2203
|
+
"internalType": "enum SwapType",
|
|
2204
|
+
"name": "swapType",
|
|
2205
|
+
"type": "uint8"
|
|
2206
|
+
},
|
|
2207
|
+
{
|
|
2208
|
+
"internalType": "address",
|
|
2209
|
+
"name": "extRouter",
|
|
2210
|
+
"type": "address"
|
|
2211
|
+
},
|
|
2212
|
+
{
|
|
2213
|
+
"internalType": "bytes",
|
|
2214
|
+
"name": "extCalldata",
|
|
2215
|
+
"type": "bytes"
|
|
2216
|
+
},
|
|
2217
|
+
{
|
|
2218
|
+
"internalType": "bool",
|
|
2219
|
+
"name": "needScale",
|
|
2220
|
+
"type": "bool"
|
|
2221
|
+
}
|
|
2222
|
+
],
|
|
2223
|
+
"internalType": "struct SwapData",
|
|
2224
|
+
"name": "swapData",
|
|
2225
|
+
"type": "tuple"
|
|
1925
2226
|
}
|
|
1926
2227
|
],
|
|
1927
2228
|
"internalType": "struct TokenOutput",
|
|
@@ -2101,13 +2402,35 @@
|
|
|
2101
2402
|
},
|
|
2102
2403
|
{
|
|
2103
2404
|
"internalType": "address",
|
|
2104
|
-
"name": "
|
|
2405
|
+
"name": "pendleSwap",
|
|
2105
2406
|
"type": "address"
|
|
2106
2407
|
},
|
|
2107
2408
|
{
|
|
2108
|
-
"
|
|
2109
|
-
|
|
2110
|
-
|
|
2409
|
+
"components": [
|
|
2410
|
+
{
|
|
2411
|
+
"internalType": "enum SwapType",
|
|
2412
|
+
"name": "swapType",
|
|
2413
|
+
"type": "uint8"
|
|
2414
|
+
},
|
|
2415
|
+
{
|
|
2416
|
+
"internalType": "address",
|
|
2417
|
+
"name": "extRouter",
|
|
2418
|
+
"type": "address"
|
|
2419
|
+
},
|
|
2420
|
+
{
|
|
2421
|
+
"internalType": "bytes",
|
|
2422
|
+
"name": "extCalldata",
|
|
2423
|
+
"type": "bytes"
|
|
2424
|
+
},
|
|
2425
|
+
{
|
|
2426
|
+
"internalType": "bool",
|
|
2427
|
+
"name": "needScale",
|
|
2428
|
+
"type": "bool"
|
|
2429
|
+
}
|
|
2430
|
+
],
|
|
2431
|
+
"internalType": "struct SwapData",
|
|
2432
|
+
"name": "swapData",
|
|
2433
|
+
"type": "tuple"
|
|
2111
2434
|
}
|
|
2112
2435
|
],
|
|
2113
2436
|
"internalType": "struct TokenOutput",
|
|
@@ -2131,6 +2454,29 @@
|
|
|
2131
2454
|
"stateMutability": "nonpayable",
|
|
2132
2455
|
"type": "function"
|
|
2133
2456
|
},
|
|
2457
|
+
{
|
|
2458
|
+
"inputs": [
|
|
2459
|
+
{
|
|
2460
|
+
"internalType": "int256",
|
|
2461
|
+
"name": "ptToAccount",
|
|
2462
|
+
"type": "int256"
|
|
2463
|
+
},
|
|
2464
|
+
{
|
|
2465
|
+
"internalType": "int256",
|
|
2466
|
+
"name": "syToAccount",
|
|
2467
|
+
"type": "int256"
|
|
2468
|
+
},
|
|
2469
|
+
{
|
|
2470
|
+
"internalType": "bytes",
|
|
2471
|
+
"name": "data",
|
|
2472
|
+
"type": "bytes"
|
|
2473
|
+
}
|
|
2474
|
+
],
|
|
2475
|
+
"name": "swapCallback",
|
|
2476
|
+
"outputs": [],
|
|
2477
|
+
"stateMutability": "nonpayable",
|
|
2478
|
+
"type": "function"
|
|
2479
|
+
},
|
|
2134
2480
|
{
|
|
2135
2481
|
"inputs": [
|
|
2136
2482
|
{
|
|
@@ -2211,13 +2557,35 @@
|
|
|
2211
2557
|
},
|
|
2212
2558
|
{
|
|
2213
2559
|
"internalType": "address",
|
|
2214
|
-
"name": "
|
|
2560
|
+
"name": "pendleSwap",
|
|
2215
2561
|
"type": "address"
|
|
2216
2562
|
},
|
|
2217
2563
|
{
|
|
2218
|
-
"
|
|
2219
|
-
|
|
2220
|
-
|
|
2564
|
+
"components": [
|
|
2565
|
+
{
|
|
2566
|
+
"internalType": "enum SwapType",
|
|
2567
|
+
"name": "swapType",
|
|
2568
|
+
"type": "uint8"
|
|
2569
|
+
},
|
|
2570
|
+
{
|
|
2571
|
+
"internalType": "address",
|
|
2572
|
+
"name": "extRouter",
|
|
2573
|
+
"type": "address"
|
|
2574
|
+
},
|
|
2575
|
+
{
|
|
2576
|
+
"internalType": "bytes",
|
|
2577
|
+
"name": "extCalldata",
|
|
2578
|
+
"type": "bytes"
|
|
2579
|
+
},
|
|
2580
|
+
{
|
|
2581
|
+
"internalType": "bool",
|
|
2582
|
+
"name": "needScale",
|
|
2583
|
+
"type": "bool"
|
|
2584
|
+
}
|
|
2585
|
+
],
|
|
2586
|
+
"internalType": "struct SwapData",
|
|
2587
|
+
"name": "swapData",
|
|
2588
|
+
"type": "tuple"
|
|
2221
2589
|
}
|
|
2222
2590
|
],
|
|
2223
2591
|
"internalType": "struct TokenOutput",
|
|
@@ -2527,13 +2895,35 @@
|
|
|
2527
2895
|
},
|
|
2528
2896
|
{
|
|
2529
2897
|
"internalType": "address",
|
|
2530
|
-
"name": "
|
|
2898
|
+
"name": "pendleSwap",
|
|
2531
2899
|
"type": "address"
|
|
2532
2900
|
},
|
|
2533
2901
|
{
|
|
2534
|
-
"
|
|
2535
|
-
|
|
2536
|
-
|
|
2902
|
+
"components": [
|
|
2903
|
+
{
|
|
2904
|
+
"internalType": "enum SwapType",
|
|
2905
|
+
"name": "swapType",
|
|
2906
|
+
"type": "uint8"
|
|
2907
|
+
},
|
|
2908
|
+
{
|
|
2909
|
+
"internalType": "address",
|
|
2910
|
+
"name": "extRouter",
|
|
2911
|
+
"type": "address"
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"internalType": "bytes",
|
|
2915
|
+
"name": "extCalldata",
|
|
2916
|
+
"type": "bytes"
|
|
2917
|
+
},
|
|
2918
|
+
{
|
|
2919
|
+
"internalType": "bool",
|
|
2920
|
+
"name": "needScale",
|
|
2921
|
+
"type": "bool"
|
|
2922
|
+
}
|
|
2923
|
+
],
|
|
2924
|
+
"internalType": "struct SwapData",
|
|
2925
|
+
"name": "swapData",
|
|
2926
|
+
"type": "tuple"
|
|
2537
2927
|
}
|
|
2538
2928
|
],
|
|
2539
2929
|
"internalType": "struct TokenInput",
|
|
@@ -2630,13 +3020,35 @@
|
|
|
2630
3020
|
},
|
|
2631
3021
|
{
|
|
2632
3022
|
"internalType": "address",
|
|
2633
|
-
"name": "
|
|
3023
|
+
"name": "pendleSwap",
|
|
2634
3024
|
"type": "address"
|
|
2635
3025
|
},
|
|
2636
3026
|
{
|
|
2637
|
-
"
|
|
2638
|
-
|
|
2639
|
-
|
|
3027
|
+
"components": [
|
|
3028
|
+
{
|
|
3029
|
+
"internalType": "enum SwapType",
|
|
3030
|
+
"name": "swapType",
|
|
3031
|
+
"type": "uint8"
|
|
3032
|
+
},
|
|
3033
|
+
{
|
|
3034
|
+
"internalType": "address",
|
|
3035
|
+
"name": "extRouter",
|
|
3036
|
+
"type": "address"
|
|
3037
|
+
},
|
|
3038
|
+
{
|
|
3039
|
+
"internalType": "bytes",
|
|
3040
|
+
"name": "extCalldata",
|
|
3041
|
+
"type": "bytes"
|
|
3042
|
+
},
|
|
3043
|
+
{
|
|
3044
|
+
"internalType": "bool",
|
|
3045
|
+
"name": "needScale",
|
|
3046
|
+
"type": "bool"
|
|
3047
|
+
}
|
|
3048
|
+
],
|
|
3049
|
+
"internalType": "struct SwapData",
|
|
3050
|
+
"name": "swapData",
|
|
3051
|
+
"type": "tuple"
|
|
2640
3052
|
}
|
|
2641
3053
|
],
|
|
2642
3054
|
"internalType": "struct TokenInput",
|
|
@@ -2811,13 +3223,35 @@
|
|
|
2811
3223
|
},
|
|
2812
3224
|
{
|
|
2813
3225
|
"internalType": "address",
|
|
2814
|
-
"name": "
|
|
3226
|
+
"name": "pendleSwap",
|
|
2815
3227
|
"type": "address"
|
|
2816
3228
|
},
|
|
2817
3229
|
{
|
|
2818
|
-
"
|
|
2819
|
-
|
|
2820
|
-
|
|
3230
|
+
"components": [
|
|
3231
|
+
{
|
|
3232
|
+
"internalType": "enum SwapType",
|
|
3233
|
+
"name": "swapType",
|
|
3234
|
+
"type": "uint8"
|
|
3235
|
+
},
|
|
3236
|
+
{
|
|
3237
|
+
"internalType": "address",
|
|
3238
|
+
"name": "extRouter",
|
|
3239
|
+
"type": "address"
|
|
3240
|
+
},
|
|
3241
|
+
{
|
|
3242
|
+
"internalType": "bytes",
|
|
3243
|
+
"name": "extCalldata",
|
|
3244
|
+
"type": "bytes"
|
|
3245
|
+
},
|
|
3246
|
+
{
|
|
3247
|
+
"internalType": "bool",
|
|
3248
|
+
"name": "needScale",
|
|
3249
|
+
"type": "bool"
|
|
3250
|
+
}
|
|
3251
|
+
],
|
|
3252
|
+
"internalType": "struct SwapData",
|
|
3253
|
+
"name": "swapData",
|
|
3254
|
+
"type": "tuple"
|
|
2821
3255
|
}
|
|
2822
3256
|
],
|
|
2823
3257
|
"internalType": "struct TokenOutput",
|