@pendle/core-v2 1.2.0-mainnet → 1.2.0-testnet
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/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/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/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 +43 -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/IBoringOwnableUpgradeable.sol/IBoringOwnableUpgradeable.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/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/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +105 -224
- 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/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/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/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/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/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/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -28
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.json +322 -0
- package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.json +47 -0
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +144 -60
- 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/ActionMintRedeem.ts +29 -230
- package/typechain-types/ActionMisc.ts +77 -27
- package/typechain-types/ActionSwapPT.ts +26 -31
- package/typechain-types/ActionSwapYT.ts +202 -21
- package/typechain-types/AddressProvider.ts +280 -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/IExecutorHelperEthereum1.ts +643 -0
- package/typechain-types/IGMXVault.ts +494 -0
- package/typechain-types/IGauge.ts +160 -0
- package/typechain-types/IGlpManager.ts +115 -0
- package/typechain-types/IHashflow.ts +159 -0
- package/typechain-types/IKyberSwapAggregationRouterHelper.ts +109 -0
- package/typechain-types/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/IPActionMintRedeem.ts +29 -211
- package/typechain-types/IPActionMisc.ts +77 -27
- package/typechain-types/IPActionSwapPT.ts +26 -12
- package/typechain-types/IPActionSwapYT.ts +168 -12
- package/typechain-types/IPAllAction.ts +445 -227
- package/typechain-types/IPFeeDistributor.ts +18 -0
- package/typechain-types/IPInterestManagerYTV2.ts +117 -0
- package/typechain-types/IPMsgReceiverApp.ts +5 -5
- package/typechain-types/IPSwapAggregator.ts +126 -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/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/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/RouterStatic.ts +92 -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/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/ActionMintRedeem__factory.ts +108 -266
- package/typechain-types/factories/ActionMisc__factory.ts +56 -17
- 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/AddressProvider__factory.ts +196 -0
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
- package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
- package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
- package/typechain-types/factories/BulkSeller__factory.ts +1 -1
- package/typechain-types/factories/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/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 +55 -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/IPActionMintRedeem__factory.ts +105 -224
- package/typechain-types/factories/IPActionMisc__factory.ts +55 -11
- package/typechain-types/factories/IPActionSwapPT__factory.ts +52 -8
- package/typechain-types/factories/IPActionSwapYT__factory.ts +231 -8
- 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/IPMsgReceiverApp__factory.ts +1 -1
- package/typechain-types/factories/IPSwapAggregator__factory.ts +71 -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/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/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 +69 -1
- package/typechain-types/factories/SAPE__factory.ts +142 -1
- package/typechain-types/factories/SYBaseWithRewards__factory.ts +141 -0
- package/typechain-types/factories/SYBase__factory.ts +141 -0
- package/typechain-types/factories/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/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +2 -2
- package/typechain-types/hardhat.d.ts +369 -54
- package/typechain-types/index.ts +88 -18
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.json +0 -190
- 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
|
@@ -191,29 +191,29 @@ const _abi = [
|
|
|
191
191
|
{
|
|
192
192
|
indexed: true,
|
|
193
193
|
internalType: "address",
|
|
194
|
-
name: "
|
|
194
|
+
name: "receiver",
|
|
195
195
|
type: "address",
|
|
196
196
|
},
|
|
197
197
|
{
|
|
198
198
|
indexed: false,
|
|
199
|
-
internalType: "
|
|
200
|
-
name: "
|
|
201
|
-
type: "
|
|
199
|
+
internalType: "uint256",
|
|
200
|
+
name: "netSyIn",
|
|
201
|
+
type: "uint256",
|
|
202
202
|
},
|
|
203
203
|
{
|
|
204
204
|
indexed: false,
|
|
205
205
|
internalType: "uint256",
|
|
206
|
-
name: "
|
|
206
|
+
name: "netLpOut",
|
|
207
207
|
type: "uint256",
|
|
208
208
|
},
|
|
209
209
|
{
|
|
210
210
|
indexed: false,
|
|
211
211
|
internalType: "uint256",
|
|
212
|
-
name: "
|
|
212
|
+
name: "netYtOut",
|
|
213
213
|
type: "uint256",
|
|
214
214
|
},
|
|
215
215
|
],
|
|
216
|
-
name: "
|
|
216
|
+
name: "AddLiquiditySingleSyKeepYt",
|
|
217
217
|
type: "event",
|
|
218
218
|
},
|
|
219
219
|
{
|
|
@@ -228,29 +228,35 @@ const _abi = [
|
|
|
228
228
|
{
|
|
229
229
|
indexed: true,
|
|
230
230
|
internalType: "address",
|
|
231
|
-
name: "
|
|
231
|
+
name: "market",
|
|
232
232
|
type: "address",
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
235
|
indexed: true,
|
|
236
236
|
internalType: "address",
|
|
237
|
-
name: "
|
|
237
|
+
name: "token",
|
|
238
|
+
type: "address",
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
indexed: false,
|
|
242
|
+
internalType: "address",
|
|
243
|
+
name: "receiver",
|
|
238
244
|
type: "address",
|
|
239
245
|
},
|
|
240
246
|
{
|
|
241
247
|
indexed: false,
|
|
242
248
|
internalType: "uint256",
|
|
243
|
-
name: "
|
|
249
|
+
name: "netTokenIn",
|
|
244
250
|
type: "uint256",
|
|
245
251
|
},
|
|
246
252
|
{
|
|
247
253
|
indexed: false,
|
|
248
254
|
internalType: "uint256",
|
|
249
|
-
name: "
|
|
255
|
+
name: "netLpOut",
|
|
250
256
|
type: "uint256",
|
|
251
257
|
},
|
|
252
258
|
],
|
|
253
|
-
name: "
|
|
259
|
+
name: "AddLiquiditySingleToken",
|
|
254
260
|
type: "event",
|
|
255
261
|
},
|
|
256
262
|
{
|
|
@@ -265,13 +271,13 @@ const _abi = [
|
|
|
265
271
|
{
|
|
266
272
|
indexed: true,
|
|
267
273
|
internalType: "address",
|
|
268
|
-
name: "
|
|
274
|
+
name: "market",
|
|
269
275
|
type: "address",
|
|
270
276
|
},
|
|
271
277
|
{
|
|
272
278
|
indexed: true,
|
|
273
279
|
internalType: "address",
|
|
274
|
-
name: "
|
|
280
|
+
name: "token",
|
|
275
281
|
type: "address",
|
|
276
282
|
},
|
|
277
283
|
{
|
|
@@ -289,11 +295,17 @@ const _abi = [
|
|
|
289
295
|
{
|
|
290
296
|
indexed: false,
|
|
291
297
|
internalType: "uint256",
|
|
292
|
-
name: "
|
|
298
|
+
name: "netLpOut",
|
|
299
|
+
type: "uint256",
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
indexed: false,
|
|
303
|
+
internalType: "uint256",
|
|
304
|
+
name: "netYtOut",
|
|
293
305
|
type: "uint256",
|
|
294
306
|
},
|
|
295
307
|
],
|
|
296
|
-
name: "
|
|
308
|
+
name: "AddLiquiditySingleTokenKeepYt",
|
|
297
309
|
type: "event",
|
|
298
310
|
},
|
|
299
311
|
{
|
|
@@ -308,35 +320,29 @@ const _abi = [
|
|
|
308
320
|
{
|
|
309
321
|
indexed: true,
|
|
310
322
|
internalType: "address",
|
|
311
|
-
name: "
|
|
323
|
+
name: "receiver",
|
|
312
324
|
type: "address",
|
|
313
325
|
},
|
|
314
326
|
{
|
|
315
327
|
indexed: true,
|
|
316
328
|
internalType: "address",
|
|
317
|
-
name: "
|
|
318
|
-
type: "address",
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
indexed: false,
|
|
322
|
-
internalType: "address",
|
|
323
|
-
name: "receiver",
|
|
329
|
+
name: "YT",
|
|
324
330
|
type: "address",
|
|
325
331
|
},
|
|
326
332
|
{
|
|
327
333
|
indexed: false,
|
|
328
334
|
internalType: "uint256",
|
|
329
|
-
name: "
|
|
335
|
+
name: "netSyIn",
|
|
330
336
|
type: "uint256",
|
|
331
337
|
},
|
|
332
338
|
{
|
|
333
339
|
indexed: false,
|
|
334
340
|
internalType: "uint256",
|
|
335
|
-
name: "
|
|
341
|
+
name: "netPyOut",
|
|
336
342
|
type: "uint256",
|
|
337
343
|
},
|
|
338
344
|
],
|
|
339
|
-
name: "
|
|
345
|
+
name: "MintPyFromSy",
|
|
340
346
|
type: "event",
|
|
341
347
|
},
|
|
342
348
|
{
|
|
@@ -345,53 +351,41 @@ const _abi = [
|
|
|
345
351
|
{
|
|
346
352
|
indexed: true,
|
|
347
353
|
internalType: "address",
|
|
348
|
-
name: "
|
|
354
|
+
name: "caller",
|
|
349
355
|
type: "address",
|
|
350
356
|
},
|
|
351
357
|
{
|
|
352
|
-
indexed:
|
|
353
|
-
internalType: "address
|
|
354
|
-
name: "
|
|
355
|
-
type: "address
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
indexed: false,
|
|
359
|
-
internalType: "address[]",
|
|
360
|
-
name: "yts",
|
|
361
|
-
type: "address[]",
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
indexed: false,
|
|
365
|
-
internalType: "address[]",
|
|
366
|
-
name: "markets",
|
|
367
|
-
type: "address[]",
|
|
358
|
+
indexed: true,
|
|
359
|
+
internalType: "address",
|
|
360
|
+
name: "tokenIn",
|
|
361
|
+
type: "address",
|
|
368
362
|
},
|
|
369
363
|
{
|
|
370
|
-
indexed:
|
|
371
|
-
internalType: "
|
|
372
|
-
name: "
|
|
373
|
-
type: "
|
|
364
|
+
indexed: true,
|
|
365
|
+
internalType: "address",
|
|
366
|
+
name: "YT",
|
|
367
|
+
type: "address",
|
|
374
368
|
},
|
|
375
369
|
{
|
|
376
370
|
indexed: false,
|
|
377
|
-
internalType: "
|
|
378
|
-
name: "
|
|
379
|
-
type: "
|
|
371
|
+
internalType: "address",
|
|
372
|
+
name: "receiver",
|
|
373
|
+
type: "address",
|
|
380
374
|
},
|
|
381
375
|
{
|
|
382
376
|
indexed: false,
|
|
383
|
-
internalType: "uint256
|
|
384
|
-
name: "
|
|
385
|
-
type: "uint256
|
|
377
|
+
internalType: "uint256",
|
|
378
|
+
name: "netTokenIn",
|
|
379
|
+
type: "uint256",
|
|
386
380
|
},
|
|
387
381
|
{
|
|
388
382
|
indexed: false,
|
|
389
|
-
internalType: "uint256
|
|
390
|
-
name: "
|
|
391
|
-
type: "uint256
|
|
383
|
+
internalType: "uint256",
|
|
384
|
+
name: "netPyOut",
|
|
385
|
+
type: "uint256",
|
|
392
386
|
},
|
|
393
387
|
],
|
|
394
|
-
name: "
|
|
388
|
+
name: "MintPyFromToken",
|
|
395
389
|
type: "event",
|
|
396
390
|
},
|
|
397
391
|
{
|
|
@@ -400,41 +394,41 @@ const _abi = [
|
|
|
400
394
|
{
|
|
401
395
|
indexed: true,
|
|
402
396
|
internalType: "address",
|
|
403
|
-
name: "
|
|
397
|
+
name: "caller",
|
|
404
398
|
type: "address",
|
|
405
399
|
},
|
|
406
400
|
{
|
|
407
|
-
indexed:
|
|
408
|
-
internalType: "address
|
|
409
|
-
name: "
|
|
410
|
-
type: "address
|
|
401
|
+
indexed: true,
|
|
402
|
+
internalType: "address",
|
|
403
|
+
name: "tokenIn",
|
|
404
|
+
type: "address",
|
|
411
405
|
},
|
|
412
406
|
{
|
|
413
|
-
indexed:
|
|
414
|
-
internalType: "address
|
|
415
|
-
name: "
|
|
416
|
-
type: "address
|
|
407
|
+
indexed: true,
|
|
408
|
+
internalType: "address",
|
|
409
|
+
name: "SY",
|
|
410
|
+
type: "address",
|
|
417
411
|
},
|
|
418
412
|
{
|
|
419
413
|
indexed: false,
|
|
420
|
-
internalType: "address[]",
|
|
421
|
-
name: "markets",
|
|
422
|
-
type: "address[]",
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
indexed: true,
|
|
426
414
|
internalType: "address",
|
|
427
|
-
name: "
|
|
415
|
+
name: "receiver",
|
|
428
416
|
type: "address",
|
|
429
417
|
},
|
|
430
418
|
{
|
|
431
419
|
indexed: false,
|
|
432
420
|
internalType: "uint256",
|
|
433
|
-
name: "
|
|
421
|
+
name: "netTokenIn",
|
|
422
|
+
type: "uint256",
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
indexed: false,
|
|
426
|
+
internalType: "uint256",
|
|
427
|
+
name: "netSyOut",
|
|
434
428
|
type: "uint256",
|
|
435
429
|
},
|
|
436
430
|
],
|
|
437
|
-
name: "
|
|
431
|
+
name: "MintSyFromToken",
|
|
438
432
|
type: "event",
|
|
439
433
|
},
|
|
440
434
|
{
|
|
@@ -1051,13 +1045,35 @@ const _abi = [
|
|
|
1051
1045
|
},
|
|
1052
1046
|
{
|
|
1053
1047
|
internalType: "address",
|
|
1054
|
-
name: "
|
|
1048
|
+
name: "pendleSwap",
|
|
1055
1049
|
type: "address",
|
|
1056
1050
|
},
|
|
1057
1051
|
{
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1052
|
+
components: [
|
|
1053
|
+
{
|
|
1054
|
+
internalType: "enum SwapType",
|
|
1055
|
+
name: "swapType",
|
|
1056
|
+
type: "uint8",
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
internalType: "address",
|
|
1060
|
+
name: "extRouter",
|
|
1061
|
+
type: "address",
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
internalType: "bytes",
|
|
1065
|
+
name: "extCalldata",
|
|
1066
|
+
type: "bytes",
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
internalType: "bool",
|
|
1070
|
+
name: "needScale",
|
|
1071
|
+
type: "bool",
|
|
1072
|
+
},
|
|
1073
|
+
],
|
|
1074
|
+
internalType: "struct SwapData",
|
|
1075
|
+
name: "swapData",
|
|
1076
|
+
type: "tuple",
|
|
1061
1077
|
},
|
|
1062
1078
|
],
|
|
1063
1079
|
internalType: "struct TokenInput",
|
|
@@ -1238,6 +1254,50 @@ const _abi = [
|
|
|
1238
1254
|
stateMutability: "nonpayable",
|
|
1239
1255
|
type: "function",
|
|
1240
1256
|
},
|
|
1257
|
+
{
|
|
1258
|
+
inputs: [
|
|
1259
|
+
{
|
|
1260
|
+
internalType: "address",
|
|
1261
|
+
name: "receiver",
|
|
1262
|
+
type: "address",
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
internalType: "address",
|
|
1266
|
+
name: "market",
|
|
1267
|
+
type: "address",
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
internalType: "uint256",
|
|
1271
|
+
name: "netSyIn",
|
|
1272
|
+
type: "uint256",
|
|
1273
|
+
},
|
|
1274
|
+
{
|
|
1275
|
+
internalType: "uint256",
|
|
1276
|
+
name: "minLpOut",
|
|
1277
|
+
type: "uint256",
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
internalType: "uint256",
|
|
1281
|
+
name: "minYtOut",
|
|
1282
|
+
type: "uint256",
|
|
1283
|
+
},
|
|
1284
|
+
],
|
|
1285
|
+
name: "addLiquiditySingleSyKeepYt",
|
|
1286
|
+
outputs: [
|
|
1287
|
+
{
|
|
1288
|
+
internalType: "uint256",
|
|
1289
|
+
name: "netLpOut",
|
|
1290
|
+
type: "uint256",
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
internalType: "uint256",
|
|
1294
|
+
name: "netYtOut",
|
|
1295
|
+
type: "uint256",
|
|
1296
|
+
},
|
|
1297
|
+
],
|
|
1298
|
+
stateMutability: "nonpayable",
|
|
1299
|
+
type: "function",
|
|
1300
|
+
},
|
|
1241
1301
|
{
|
|
1242
1302
|
inputs: [
|
|
1243
1303
|
{
|
|
@@ -1311,13 +1371,35 @@ const _abi = [
|
|
|
1311
1371
|
},
|
|
1312
1372
|
{
|
|
1313
1373
|
internalType: "address",
|
|
1314
|
-
name: "
|
|
1374
|
+
name: "pendleSwap",
|
|
1315
1375
|
type: "address",
|
|
1316
1376
|
},
|
|
1317
1377
|
{
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1378
|
+
components: [
|
|
1379
|
+
{
|
|
1380
|
+
internalType: "enum SwapType",
|
|
1381
|
+
name: "swapType",
|
|
1382
|
+
type: "uint8",
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
internalType: "address",
|
|
1386
|
+
name: "extRouter",
|
|
1387
|
+
type: "address",
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
internalType: "bytes",
|
|
1391
|
+
name: "extCalldata",
|
|
1392
|
+
type: "bytes",
|
|
1393
|
+
},
|
|
1394
|
+
{
|
|
1395
|
+
internalType: "bool",
|
|
1396
|
+
name: "needScale",
|
|
1397
|
+
type: "bool",
|
|
1398
|
+
},
|
|
1399
|
+
],
|
|
1400
|
+
internalType: "struct SwapData",
|
|
1401
|
+
name: "swapData",
|
|
1402
|
+
type: "tuple",
|
|
1321
1403
|
},
|
|
1322
1404
|
],
|
|
1323
1405
|
internalType: "struct TokenInput",
|
|
@@ -1343,23 +1425,241 @@ const _abi = [
|
|
|
1343
1425
|
},
|
|
1344
1426
|
{
|
|
1345
1427
|
inputs: [
|
|
1428
|
+
{
|
|
1429
|
+
internalType: "address",
|
|
1430
|
+
name: "receiver",
|
|
1431
|
+
type: "address",
|
|
1432
|
+
},
|
|
1346
1433
|
{
|
|
1347
1434
|
internalType: "address",
|
|
1348
1435
|
name: "market",
|
|
1349
1436
|
type: "address",
|
|
1350
1437
|
},
|
|
1351
1438
|
{
|
|
1352
|
-
internalType: "
|
|
1353
|
-
name: "
|
|
1354
|
-
type: "
|
|
1439
|
+
internalType: "uint256",
|
|
1440
|
+
name: "minLpOut",
|
|
1441
|
+
type: "uint256",
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
internalType: "uint256",
|
|
1445
|
+
name: "minYtOut",
|
|
1446
|
+
type: "uint256",
|
|
1447
|
+
},
|
|
1448
|
+
{
|
|
1449
|
+
components: [
|
|
1450
|
+
{
|
|
1451
|
+
internalType: "address",
|
|
1452
|
+
name: "tokenIn",
|
|
1453
|
+
type: "address",
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
internalType: "uint256",
|
|
1457
|
+
name: "netTokenIn",
|
|
1458
|
+
type: "uint256",
|
|
1459
|
+
},
|
|
1460
|
+
{
|
|
1461
|
+
internalType: "address",
|
|
1462
|
+
name: "tokenMintSy",
|
|
1463
|
+
type: "address",
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
internalType: "address",
|
|
1467
|
+
name: "bulk",
|
|
1468
|
+
type: "address",
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
internalType: "address",
|
|
1472
|
+
name: "pendleSwap",
|
|
1473
|
+
type: "address",
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
components: [
|
|
1477
|
+
{
|
|
1478
|
+
internalType: "enum SwapType",
|
|
1479
|
+
name: "swapType",
|
|
1480
|
+
type: "uint8",
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
internalType: "address",
|
|
1484
|
+
name: "extRouter",
|
|
1485
|
+
type: "address",
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
internalType: "bytes",
|
|
1489
|
+
name: "extCalldata",
|
|
1490
|
+
type: "bytes",
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
internalType: "bool",
|
|
1494
|
+
name: "needScale",
|
|
1495
|
+
type: "bool",
|
|
1496
|
+
},
|
|
1497
|
+
],
|
|
1498
|
+
internalType: "struct SwapData",
|
|
1499
|
+
name: "swapData",
|
|
1500
|
+
type: "tuple",
|
|
1501
|
+
},
|
|
1502
|
+
],
|
|
1503
|
+
internalType: "struct TokenInput",
|
|
1504
|
+
name: "input",
|
|
1505
|
+
type: "tuple",
|
|
1355
1506
|
},
|
|
1356
1507
|
],
|
|
1357
|
-
name: "
|
|
1508
|
+
name: "addLiquiditySingleTokenKeepYt",
|
|
1358
1509
|
outputs: [
|
|
1359
1510
|
{
|
|
1360
|
-
internalType: "
|
|
1361
|
-
name: "
|
|
1362
|
-
type: "
|
|
1511
|
+
internalType: "uint256",
|
|
1512
|
+
name: "netLpOut",
|
|
1513
|
+
type: "uint256",
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
internalType: "uint256",
|
|
1517
|
+
name: "netYtOut",
|
|
1518
|
+
type: "uint256",
|
|
1519
|
+
},
|
|
1520
|
+
],
|
|
1521
|
+
stateMutability: "nonpayable",
|
|
1522
|
+
type: "function",
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
inputs: [
|
|
1526
|
+
{
|
|
1527
|
+
components: [
|
|
1528
|
+
{
|
|
1529
|
+
internalType: "address[]",
|
|
1530
|
+
name: "tokens",
|
|
1531
|
+
type: "address[]",
|
|
1532
|
+
},
|
|
1533
|
+
{
|
|
1534
|
+
internalType: "address",
|
|
1535
|
+
name: "spender",
|
|
1536
|
+
type: "address",
|
|
1537
|
+
},
|
|
1538
|
+
],
|
|
1539
|
+
internalType: "struct IPActionMisc.MultiApproval[]",
|
|
1540
|
+
name: "",
|
|
1541
|
+
type: "tuple[]",
|
|
1542
|
+
},
|
|
1543
|
+
],
|
|
1544
|
+
name: "approveInf",
|
|
1545
|
+
outputs: [],
|
|
1546
|
+
stateMutability: "nonpayable",
|
|
1547
|
+
type: "function",
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
inputs: [
|
|
1551
|
+
{
|
|
1552
|
+
components: [
|
|
1553
|
+
{
|
|
1554
|
+
internalType: "bool",
|
|
1555
|
+
name: "allowFailure",
|
|
1556
|
+
type: "bool",
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
internalType: "bytes",
|
|
1560
|
+
name: "callData",
|
|
1561
|
+
type: "bytes",
|
|
1562
|
+
},
|
|
1563
|
+
],
|
|
1564
|
+
internalType: "struct IPActionMisc.Call3[]",
|
|
1565
|
+
name: "calls",
|
|
1566
|
+
type: "tuple[]",
|
|
1567
|
+
},
|
|
1568
|
+
],
|
|
1569
|
+
name: "batchExec",
|
|
1570
|
+
outputs: [
|
|
1571
|
+
{
|
|
1572
|
+
components: [
|
|
1573
|
+
{
|
|
1574
|
+
internalType: "bool",
|
|
1575
|
+
name: "success",
|
|
1576
|
+
type: "bool",
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
internalType: "bytes",
|
|
1580
|
+
name: "returnData",
|
|
1581
|
+
type: "bytes",
|
|
1582
|
+
},
|
|
1583
|
+
],
|
|
1584
|
+
internalType: "struct IPActionMisc.Result[]",
|
|
1585
|
+
name: "returnData",
|
|
1586
|
+
type: "tuple[]",
|
|
1587
|
+
},
|
|
1588
|
+
],
|
|
1589
|
+
stateMutability: "nonpayable",
|
|
1590
|
+
type: "function",
|
|
1591
|
+
},
|
|
1592
|
+
{
|
|
1593
|
+
inputs: [
|
|
1594
|
+
{
|
|
1595
|
+
internalType: "bytes4",
|
|
1596
|
+
name: "_functionSelector",
|
|
1597
|
+
type: "bytes4",
|
|
1598
|
+
},
|
|
1599
|
+
],
|
|
1600
|
+
name: "facetAddress",
|
|
1601
|
+
outputs: [
|
|
1602
|
+
{
|
|
1603
|
+
internalType: "address",
|
|
1604
|
+
name: "facetAddress_",
|
|
1605
|
+
type: "address",
|
|
1606
|
+
},
|
|
1607
|
+
],
|
|
1608
|
+
stateMutability: "view",
|
|
1609
|
+
type: "function",
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
inputs: [],
|
|
1613
|
+
name: "facetAddresses",
|
|
1614
|
+
outputs: [
|
|
1615
|
+
{
|
|
1616
|
+
internalType: "address[]",
|
|
1617
|
+
name: "facetAddresses_",
|
|
1618
|
+
type: "address[]",
|
|
1619
|
+
},
|
|
1620
|
+
],
|
|
1621
|
+
stateMutability: "view",
|
|
1622
|
+
type: "function",
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
inputs: [
|
|
1626
|
+
{
|
|
1627
|
+
internalType: "address",
|
|
1628
|
+
name: "_facet",
|
|
1629
|
+
type: "address",
|
|
1630
|
+
},
|
|
1631
|
+
],
|
|
1632
|
+
name: "facetFunctionSelectors",
|
|
1633
|
+
outputs: [
|
|
1634
|
+
{
|
|
1635
|
+
internalType: "bytes4[]",
|
|
1636
|
+
name: "facetFunctionSelectors_",
|
|
1637
|
+
type: "bytes4[]",
|
|
1638
|
+
},
|
|
1639
|
+
],
|
|
1640
|
+
stateMutability: "view",
|
|
1641
|
+
type: "function",
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
inputs: [],
|
|
1645
|
+
name: "facets",
|
|
1646
|
+
outputs: [
|
|
1647
|
+
{
|
|
1648
|
+
components: [
|
|
1649
|
+
{
|
|
1650
|
+
internalType: "address",
|
|
1651
|
+
name: "facetAddress",
|
|
1652
|
+
type: "address",
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
internalType: "bytes4[]",
|
|
1656
|
+
name: "functionSelectors",
|
|
1657
|
+
type: "bytes4[]",
|
|
1658
|
+
},
|
|
1659
|
+
],
|
|
1660
|
+
internalType: "struct IDiamondLoupe.Facet[]",
|
|
1661
|
+
name: "facets_",
|
|
1662
|
+
type: "tuple[]",
|
|
1363
1663
|
},
|
|
1364
1664
|
],
|
|
1365
1665
|
stateMutability: "view",
|
|
@@ -1440,13 +1740,35 @@ const _abi = [
|
|
|
1440
1740
|
},
|
|
1441
1741
|
{
|
|
1442
1742
|
internalType: "address",
|
|
1443
|
-
name: "
|
|
1743
|
+
name: "pendleSwap",
|
|
1444
1744
|
type: "address",
|
|
1445
1745
|
},
|
|
1446
1746
|
{
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1747
|
+
components: [
|
|
1748
|
+
{
|
|
1749
|
+
internalType: "enum SwapType",
|
|
1750
|
+
name: "swapType",
|
|
1751
|
+
type: "uint8",
|
|
1752
|
+
},
|
|
1753
|
+
{
|
|
1754
|
+
internalType: "address",
|
|
1755
|
+
name: "extRouter",
|
|
1756
|
+
type: "address",
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
internalType: "bytes",
|
|
1760
|
+
name: "extCalldata",
|
|
1761
|
+
type: "bytes",
|
|
1762
|
+
},
|
|
1763
|
+
{
|
|
1764
|
+
internalType: "bool",
|
|
1765
|
+
name: "needScale",
|
|
1766
|
+
type: "bool",
|
|
1767
|
+
},
|
|
1768
|
+
],
|
|
1769
|
+
internalType: "struct SwapData",
|
|
1770
|
+
name: "swapData",
|
|
1771
|
+
type: "tuple",
|
|
1450
1772
|
},
|
|
1451
1773
|
],
|
|
1452
1774
|
internalType: "struct TokenInput",
|
|
@@ -1506,13 +1828,35 @@ const _abi = [
|
|
|
1506
1828
|
},
|
|
1507
1829
|
{
|
|
1508
1830
|
internalType: "address",
|
|
1509
|
-
name: "
|
|
1831
|
+
name: "pendleSwap",
|
|
1510
1832
|
type: "address",
|
|
1511
1833
|
},
|
|
1512
1834
|
{
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1835
|
+
components: [
|
|
1836
|
+
{
|
|
1837
|
+
internalType: "enum SwapType",
|
|
1838
|
+
name: "swapType",
|
|
1839
|
+
type: "uint8",
|
|
1840
|
+
},
|
|
1841
|
+
{
|
|
1842
|
+
internalType: "address",
|
|
1843
|
+
name: "extRouter",
|
|
1844
|
+
type: "address",
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
internalType: "bytes",
|
|
1848
|
+
name: "extCalldata",
|
|
1849
|
+
type: "bytes",
|
|
1850
|
+
},
|
|
1851
|
+
{
|
|
1852
|
+
internalType: "bool",
|
|
1853
|
+
name: "needScale",
|
|
1854
|
+
type: "bool",
|
|
1855
|
+
},
|
|
1856
|
+
],
|
|
1857
|
+
internalType: "struct SwapData",
|
|
1858
|
+
name: "swapData",
|
|
1859
|
+
type: "tuple",
|
|
1516
1860
|
},
|
|
1517
1861
|
],
|
|
1518
1862
|
internalType: "struct TokenInput",
|
|
@@ -1555,116 +1899,7 @@ const _abi = [
|
|
|
1555
1899
|
},
|
|
1556
1900
|
],
|
|
1557
1901
|
name: "redeemDueInterestAndRewards",
|
|
1558
|
-
outputs: [
|
|
1559
|
-
{
|
|
1560
|
-
internalType: "uint256[][]",
|
|
1561
|
-
name: "syRewards",
|
|
1562
|
-
type: "uint256[][]",
|
|
1563
|
-
},
|
|
1564
|
-
{
|
|
1565
|
-
internalType: "uint256[]",
|
|
1566
|
-
name: "ytInterests",
|
|
1567
|
-
type: "uint256[]",
|
|
1568
|
-
},
|
|
1569
|
-
{
|
|
1570
|
-
internalType: "uint256[][]",
|
|
1571
|
-
name: "ytRewards",
|
|
1572
|
-
type: "uint256[][]",
|
|
1573
|
-
},
|
|
1574
|
-
{
|
|
1575
|
-
internalType: "uint256[][]",
|
|
1576
|
-
name: "marketRewards",
|
|
1577
|
-
type: "uint256[][]",
|
|
1578
|
-
},
|
|
1579
|
-
],
|
|
1580
|
-
stateMutability: "nonpayable",
|
|
1581
|
-
type: "function",
|
|
1582
|
-
},
|
|
1583
|
-
{
|
|
1584
|
-
inputs: [
|
|
1585
|
-
{
|
|
1586
|
-
internalType: "address[]",
|
|
1587
|
-
name: "sys",
|
|
1588
|
-
type: "address[]",
|
|
1589
|
-
},
|
|
1590
|
-
{
|
|
1591
|
-
components: [
|
|
1592
|
-
{
|
|
1593
|
-
internalType: "address[]",
|
|
1594
|
-
name: "yts",
|
|
1595
|
-
type: "address[]",
|
|
1596
|
-
},
|
|
1597
|
-
{
|
|
1598
|
-
internalType: "address[]",
|
|
1599
|
-
name: "syAddrs",
|
|
1600
|
-
type: "address[]",
|
|
1601
|
-
},
|
|
1602
|
-
{
|
|
1603
|
-
internalType: "address[]",
|
|
1604
|
-
name: "tokenRedeemSys",
|
|
1605
|
-
type: "address[]",
|
|
1606
|
-
},
|
|
1607
|
-
{
|
|
1608
|
-
internalType: "address[]",
|
|
1609
|
-
name: "bulks",
|
|
1610
|
-
type: "address[]",
|
|
1611
|
-
},
|
|
1612
|
-
],
|
|
1613
|
-
internalType: "struct IPActionMintRedeem.RouterYtRedeemStruct",
|
|
1614
|
-
name: "dataYT",
|
|
1615
|
-
type: "tuple",
|
|
1616
|
-
},
|
|
1617
|
-
{
|
|
1618
|
-
internalType: "address[]",
|
|
1619
|
-
name: "markets",
|
|
1620
|
-
type: "address[]",
|
|
1621
|
-
},
|
|
1622
|
-
{
|
|
1623
|
-
components: [
|
|
1624
|
-
{
|
|
1625
|
-
internalType: "address[]",
|
|
1626
|
-
name: "tokens",
|
|
1627
|
-
type: "address[]",
|
|
1628
|
-
},
|
|
1629
|
-
{
|
|
1630
|
-
internalType: "bytes[]",
|
|
1631
|
-
name: "kybercalls",
|
|
1632
|
-
type: "bytes[]",
|
|
1633
|
-
},
|
|
1634
|
-
{
|
|
1635
|
-
internalType: "address",
|
|
1636
|
-
name: "kyberRouter",
|
|
1637
|
-
type: "address",
|
|
1638
|
-
},
|
|
1639
|
-
{
|
|
1640
|
-
internalType: "address",
|
|
1641
|
-
name: "outputToken",
|
|
1642
|
-
type: "address",
|
|
1643
|
-
},
|
|
1644
|
-
{
|
|
1645
|
-
internalType: "uint256",
|
|
1646
|
-
name: "minTokenOut",
|
|
1647
|
-
type: "uint256",
|
|
1648
|
-
},
|
|
1649
|
-
],
|
|
1650
|
-
internalType: "struct IPActionMintRedeem.RouterSwapAllStruct",
|
|
1651
|
-
name: "dataSwap",
|
|
1652
|
-
type: "tuple",
|
|
1653
|
-
},
|
|
1654
|
-
],
|
|
1655
|
-
name: "redeemDueInterestAndRewardsThenSwapAll",
|
|
1656
|
-
outputs: [
|
|
1657
|
-
{
|
|
1658
|
-
internalType: "uint256",
|
|
1659
|
-
name: "netTokenOut",
|
|
1660
|
-
type: "uint256",
|
|
1661
|
-
},
|
|
1662
|
-
{
|
|
1663
|
-
internalType: "uint256[]",
|
|
1664
|
-
name: "amountsSwapped",
|
|
1665
|
-
type: "uint256[]",
|
|
1666
|
-
},
|
|
1667
|
-
],
|
|
1902
|
+
outputs: [],
|
|
1668
1903
|
stateMutability: "nonpayable",
|
|
1669
1904
|
type: "function",
|
|
1670
1905
|
},
|
|
@@ -1743,13 +1978,35 @@ const _abi = [
|
|
|
1743
1978
|
},
|
|
1744
1979
|
{
|
|
1745
1980
|
internalType: "address",
|
|
1746
|
-
name: "
|
|
1981
|
+
name: "pendleSwap",
|
|
1747
1982
|
type: "address",
|
|
1748
1983
|
},
|
|
1749
1984
|
{
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1985
|
+
components: [
|
|
1986
|
+
{
|
|
1987
|
+
internalType: "enum SwapType",
|
|
1988
|
+
name: "swapType",
|
|
1989
|
+
type: "uint8",
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
internalType: "address",
|
|
1993
|
+
name: "extRouter",
|
|
1994
|
+
type: "address",
|
|
1995
|
+
},
|
|
1996
|
+
{
|
|
1997
|
+
internalType: "bytes",
|
|
1998
|
+
name: "extCalldata",
|
|
1999
|
+
type: "bytes",
|
|
2000
|
+
},
|
|
2001
|
+
{
|
|
2002
|
+
internalType: "bool",
|
|
2003
|
+
name: "needScale",
|
|
2004
|
+
type: "bool",
|
|
2005
|
+
},
|
|
2006
|
+
],
|
|
2007
|
+
internalType: "struct SwapData",
|
|
2008
|
+
name: "swapData",
|
|
2009
|
+
type: "tuple",
|
|
1753
2010
|
},
|
|
1754
2011
|
],
|
|
1755
2012
|
internalType: "struct TokenOutput",
|
|
@@ -1809,13 +2066,35 @@ const _abi = [
|
|
|
1809
2066
|
},
|
|
1810
2067
|
{
|
|
1811
2068
|
internalType: "address",
|
|
1812
|
-
name: "
|
|
2069
|
+
name: "pendleSwap",
|
|
1813
2070
|
type: "address",
|
|
1814
2071
|
},
|
|
1815
2072
|
{
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
2073
|
+
components: [
|
|
2074
|
+
{
|
|
2075
|
+
internalType: "enum SwapType",
|
|
2076
|
+
name: "swapType",
|
|
2077
|
+
type: "uint8",
|
|
2078
|
+
},
|
|
2079
|
+
{
|
|
2080
|
+
internalType: "address",
|
|
2081
|
+
name: "extRouter",
|
|
2082
|
+
type: "address",
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
internalType: "bytes",
|
|
2086
|
+
name: "extCalldata",
|
|
2087
|
+
type: "bytes",
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
internalType: "bool",
|
|
2091
|
+
name: "needScale",
|
|
2092
|
+
type: "bool",
|
|
2093
|
+
},
|
|
2094
|
+
],
|
|
2095
|
+
internalType: "struct SwapData",
|
|
2096
|
+
name: "swapData",
|
|
2097
|
+
type: "tuple",
|
|
1819
2098
|
},
|
|
1820
2099
|
],
|
|
1821
2100
|
internalType: "struct TokenOutput",
|
|
@@ -1919,13 +2198,35 @@ const _abi = [
|
|
|
1919
2198
|
},
|
|
1920
2199
|
{
|
|
1921
2200
|
internalType: "address",
|
|
1922
|
-
name: "
|
|
2201
|
+
name: "pendleSwap",
|
|
1923
2202
|
type: "address",
|
|
1924
2203
|
},
|
|
1925
2204
|
{
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
2205
|
+
components: [
|
|
2206
|
+
{
|
|
2207
|
+
internalType: "enum SwapType",
|
|
2208
|
+
name: "swapType",
|
|
2209
|
+
type: "uint8",
|
|
2210
|
+
},
|
|
2211
|
+
{
|
|
2212
|
+
internalType: "address",
|
|
2213
|
+
name: "extRouter",
|
|
2214
|
+
type: "address",
|
|
2215
|
+
},
|
|
2216
|
+
{
|
|
2217
|
+
internalType: "bytes",
|
|
2218
|
+
name: "extCalldata",
|
|
2219
|
+
type: "bytes",
|
|
2220
|
+
},
|
|
2221
|
+
{
|
|
2222
|
+
internalType: "bool",
|
|
2223
|
+
name: "needScale",
|
|
2224
|
+
type: "bool",
|
|
2225
|
+
},
|
|
2226
|
+
],
|
|
2227
|
+
internalType: "struct SwapData",
|
|
2228
|
+
name: "swapData",
|
|
2229
|
+
type: "tuple",
|
|
1929
2230
|
},
|
|
1930
2231
|
],
|
|
1931
2232
|
internalType: "struct TokenOutput",
|
|
@@ -2105,13 +2406,35 @@ const _abi = [
|
|
|
2105
2406
|
},
|
|
2106
2407
|
{
|
|
2107
2408
|
internalType: "address",
|
|
2108
|
-
name: "
|
|
2409
|
+
name: "pendleSwap",
|
|
2109
2410
|
type: "address",
|
|
2110
2411
|
},
|
|
2111
2412
|
{
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2413
|
+
components: [
|
|
2414
|
+
{
|
|
2415
|
+
internalType: "enum SwapType",
|
|
2416
|
+
name: "swapType",
|
|
2417
|
+
type: "uint8",
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
internalType: "address",
|
|
2421
|
+
name: "extRouter",
|
|
2422
|
+
type: "address",
|
|
2423
|
+
},
|
|
2424
|
+
{
|
|
2425
|
+
internalType: "bytes",
|
|
2426
|
+
name: "extCalldata",
|
|
2427
|
+
type: "bytes",
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
internalType: "bool",
|
|
2431
|
+
name: "needScale",
|
|
2432
|
+
type: "bool",
|
|
2433
|
+
},
|
|
2434
|
+
],
|
|
2435
|
+
internalType: "struct SwapData",
|
|
2436
|
+
name: "swapData",
|
|
2437
|
+
type: "tuple",
|
|
2115
2438
|
},
|
|
2116
2439
|
],
|
|
2117
2440
|
internalType: "struct TokenOutput",
|
|
@@ -2135,6 +2458,29 @@ const _abi = [
|
|
|
2135
2458
|
stateMutability: "nonpayable",
|
|
2136
2459
|
type: "function",
|
|
2137
2460
|
},
|
|
2461
|
+
{
|
|
2462
|
+
inputs: [
|
|
2463
|
+
{
|
|
2464
|
+
internalType: "int256",
|
|
2465
|
+
name: "ptToAccount",
|
|
2466
|
+
type: "int256",
|
|
2467
|
+
},
|
|
2468
|
+
{
|
|
2469
|
+
internalType: "int256",
|
|
2470
|
+
name: "syToAccount",
|
|
2471
|
+
type: "int256",
|
|
2472
|
+
},
|
|
2473
|
+
{
|
|
2474
|
+
internalType: "bytes",
|
|
2475
|
+
name: "data",
|
|
2476
|
+
type: "bytes",
|
|
2477
|
+
},
|
|
2478
|
+
],
|
|
2479
|
+
name: "swapCallback",
|
|
2480
|
+
outputs: [],
|
|
2481
|
+
stateMutability: "nonpayable",
|
|
2482
|
+
type: "function",
|
|
2483
|
+
},
|
|
2138
2484
|
{
|
|
2139
2485
|
inputs: [
|
|
2140
2486
|
{
|
|
@@ -2215,13 +2561,35 @@ const _abi = [
|
|
|
2215
2561
|
},
|
|
2216
2562
|
{
|
|
2217
2563
|
internalType: "address",
|
|
2218
|
-
name: "
|
|
2564
|
+
name: "pendleSwap",
|
|
2219
2565
|
type: "address",
|
|
2220
2566
|
},
|
|
2221
2567
|
{
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2568
|
+
components: [
|
|
2569
|
+
{
|
|
2570
|
+
internalType: "enum SwapType",
|
|
2571
|
+
name: "swapType",
|
|
2572
|
+
type: "uint8",
|
|
2573
|
+
},
|
|
2574
|
+
{
|
|
2575
|
+
internalType: "address",
|
|
2576
|
+
name: "extRouter",
|
|
2577
|
+
type: "address",
|
|
2578
|
+
},
|
|
2579
|
+
{
|
|
2580
|
+
internalType: "bytes",
|
|
2581
|
+
name: "extCalldata",
|
|
2582
|
+
type: "bytes",
|
|
2583
|
+
},
|
|
2584
|
+
{
|
|
2585
|
+
internalType: "bool",
|
|
2586
|
+
name: "needScale",
|
|
2587
|
+
type: "bool",
|
|
2588
|
+
},
|
|
2589
|
+
],
|
|
2590
|
+
internalType: "struct SwapData",
|
|
2591
|
+
name: "swapData",
|
|
2592
|
+
type: "tuple",
|
|
2225
2593
|
},
|
|
2226
2594
|
],
|
|
2227
2595
|
internalType: "struct TokenOutput",
|
|
@@ -2531,13 +2899,35 @@ const _abi = [
|
|
|
2531
2899
|
},
|
|
2532
2900
|
{
|
|
2533
2901
|
internalType: "address",
|
|
2534
|
-
name: "
|
|
2902
|
+
name: "pendleSwap",
|
|
2535
2903
|
type: "address",
|
|
2536
2904
|
},
|
|
2537
2905
|
{
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2906
|
+
components: [
|
|
2907
|
+
{
|
|
2908
|
+
internalType: "enum SwapType",
|
|
2909
|
+
name: "swapType",
|
|
2910
|
+
type: "uint8",
|
|
2911
|
+
},
|
|
2912
|
+
{
|
|
2913
|
+
internalType: "address",
|
|
2914
|
+
name: "extRouter",
|
|
2915
|
+
type: "address",
|
|
2916
|
+
},
|
|
2917
|
+
{
|
|
2918
|
+
internalType: "bytes",
|
|
2919
|
+
name: "extCalldata",
|
|
2920
|
+
type: "bytes",
|
|
2921
|
+
},
|
|
2922
|
+
{
|
|
2923
|
+
internalType: "bool",
|
|
2924
|
+
name: "needScale",
|
|
2925
|
+
type: "bool",
|
|
2926
|
+
},
|
|
2927
|
+
],
|
|
2928
|
+
internalType: "struct SwapData",
|
|
2929
|
+
name: "swapData",
|
|
2930
|
+
type: "tuple",
|
|
2541
2931
|
},
|
|
2542
2932
|
],
|
|
2543
2933
|
internalType: "struct TokenInput",
|
|
@@ -2634,13 +3024,35 @@ const _abi = [
|
|
|
2634
3024
|
},
|
|
2635
3025
|
{
|
|
2636
3026
|
internalType: "address",
|
|
2637
|
-
name: "
|
|
3027
|
+
name: "pendleSwap",
|
|
2638
3028
|
type: "address",
|
|
2639
3029
|
},
|
|
2640
3030
|
{
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
3031
|
+
components: [
|
|
3032
|
+
{
|
|
3033
|
+
internalType: "enum SwapType",
|
|
3034
|
+
name: "swapType",
|
|
3035
|
+
type: "uint8",
|
|
3036
|
+
},
|
|
3037
|
+
{
|
|
3038
|
+
internalType: "address",
|
|
3039
|
+
name: "extRouter",
|
|
3040
|
+
type: "address",
|
|
3041
|
+
},
|
|
3042
|
+
{
|
|
3043
|
+
internalType: "bytes",
|
|
3044
|
+
name: "extCalldata",
|
|
3045
|
+
type: "bytes",
|
|
3046
|
+
},
|
|
3047
|
+
{
|
|
3048
|
+
internalType: "bool",
|
|
3049
|
+
name: "needScale",
|
|
3050
|
+
type: "bool",
|
|
3051
|
+
},
|
|
3052
|
+
],
|
|
3053
|
+
internalType: "struct SwapData",
|
|
3054
|
+
name: "swapData",
|
|
3055
|
+
type: "tuple",
|
|
2644
3056
|
},
|
|
2645
3057
|
],
|
|
2646
3058
|
internalType: "struct TokenInput",
|
|
@@ -2815,13 +3227,35 @@ const _abi = [
|
|
|
2815
3227
|
},
|
|
2816
3228
|
{
|
|
2817
3229
|
internalType: "address",
|
|
2818
|
-
name: "
|
|
3230
|
+
name: "pendleSwap",
|
|
2819
3231
|
type: "address",
|
|
2820
3232
|
},
|
|
2821
3233
|
{
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
3234
|
+
components: [
|
|
3235
|
+
{
|
|
3236
|
+
internalType: "enum SwapType",
|
|
3237
|
+
name: "swapType",
|
|
3238
|
+
type: "uint8",
|
|
3239
|
+
},
|
|
3240
|
+
{
|
|
3241
|
+
internalType: "address",
|
|
3242
|
+
name: "extRouter",
|
|
3243
|
+
type: "address",
|
|
3244
|
+
},
|
|
3245
|
+
{
|
|
3246
|
+
internalType: "bytes",
|
|
3247
|
+
name: "extCalldata",
|
|
3248
|
+
type: "bytes",
|
|
3249
|
+
},
|
|
3250
|
+
{
|
|
3251
|
+
internalType: "bool",
|
|
3252
|
+
name: "needScale",
|
|
3253
|
+
type: "bool",
|
|
3254
|
+
},
|
|
3255
|
+
],
|
|
3256
|
+
internalType: "struct SwapData",
|
|
3257
|
+
name: "swapData",
|
|
3258
|
+
type: "tuple",
|
|
2825
3259
|
},
|
|
2826
3260
|
],
|
|
2827
3261
|
internalType: "struct TokenOutput",
|