@pendle/core-v2 4.0.4 → 4.0.6
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/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleExternalRewardDistributor.sol/PendleExternalRewardDistributor.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/v2/PendleGaugeV2.sol/PendleGaugeV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.json +2 -2
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.json +2 -2
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewardsUpg.sol/SYBaseWithRewardsUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3SY.sol/PendleAaveV3SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3SY.sol/PendleAaveV3SY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraSwEthBbAWethSYV2.sol/AuraSwEthBbAWethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraSwEthBbAWethSYV2.sol/AuraSwEthBbAWethSYV2.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraWethVethSYUpg.sol/AuraWethVethSYUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraWethVethSYUpg.sol/AuraWethVethSYUpg.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV3Upg.sol/PendleAuraBalancerStableLPSYV3Upg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthSY.sol/PendleWEEthSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthSY.sol/PendleWEEthSY.json +1060 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/PendleFluxLendingSY.sol/PendleFluxLendingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/PendleFluxLendingSY.sol/PendleFluxLendingSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGMV2TokenSY.sol/PendleGMV2TokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGMV2TokenSY.sol/PendleGMV2TokenSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/PendleHlpSY.sol/PendleHlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/PendleHlpSY.sol/PendleHlpSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/KelpDAO/PendleRsETHSY.sol/PendleRsETHSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/KelpDAO/PendleRsETHSY.sol/PendleRsETHSY.json +1141 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/KyberNftManagerBaseUpg.sol/KyberNftManagerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/PendleKyberElasticSYUpg.sol/PendleKyberElasticSYUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/PendleKyberElasticSYUpg.sol/PendleKyberElasticSYUpg.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MUX/PendleMlpSY.sol/PendleMlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MUX/PendleMlpSY.sol/PendleMlpSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleMantleStakedEthSY.sol/PendleMantleStakedEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleMantleStakedEthSY.sol/PendleMantleStakedEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleOracleForSyProxy.sol/PendleOracleForSyProxy.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleOracleForSyProxy.sol/PendleOracleForSyProxy.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleBridgedLSDSY.sol/PendleBridgedLSDSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleBridgedLSDSY.sol/PendleBridgedLSDSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleEUSDSY.sol/PendleEUSDSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleEUSDSY.sol/PendleEUSDSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.json +2 -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 +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveSY.sol/PendleSiloWithIncentiveSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveSY.sol/PendleSiloWithIncentiveSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Stader/PendleETHXSY.sol/PendleETHXSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Stader/PendleETHXSY.sol/PendleETHXSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.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/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.json +2 -2
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.json +2 -2
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.json +2 -2
- package/build/artifacts/contracts/interfaces/EtherFi/IEtherFiLiquidityPool.sol/IEtherFiLiquidityPool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/EtherFi/IEtherFiLiquidityPool.sol/IEtherFiLiquidityPool.json +145 -0
- package/build/artifacts/contracts/interfaces/EtherFi/IEtherFiWEEth.sol/IEtherFiWEEth.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/EtherFi/IEtherFiWEEth.sol/IEtherFiWEEth.json +75 -0
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.json +3 -3
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +3 -3
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.json +24 -0
- package/build/artifacts/contracts/interfaces/KelpDAO/IKelpDepositPool.sol/IKelpDepositPool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/KelpDAO/IKelpDepositPool.sol/IKelpDepositPool.json +76 -0
- package/build/artifacts/contracts/interfaces/KelpDAO/IKelpLRTConfig.sol/IKelpLRTConfig.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/KelpDAO/IKelpLRTConfig.sol/IKelpLRTConfig.json +43 -0
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.json +307 -0
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +5 -5
- package/build/artifacts/contracts/router/PendleRouterV3.sol/PendleRouterV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV3.sol/PendleRouterV3.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL1.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL1.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL2.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol/IExecutorHelper.json +168 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol/IExecutorHelperL2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol/IExecutorHelperL2.json +378 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol/InputScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol/InputScalingHelper.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol/ScalingDataLib.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol/CalldataReader.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol/CalldataReader.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol/CalldataWriter.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol/CalldataWriter.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol/Common.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol/Common.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol/DexScaler.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol/DexScaler.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol/ExecutorReader.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol/ExecutorReader.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol/ScalingDataL2Lib.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol/ScalingDataL2Lib.json +2 -2
- package/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthSY.sol +100 -0
- package/contracts/core/StandardizedYield/implementations/KelpDAO/PendleRsETHSY.sol +149 -0
- package/contracts/core/libraries/ArrayLib.sol +8 -1
- package/contracts/interfaces/EtherFi/IEtherFiLiquidityPool.sol +16 -0
- package/contracts/interfaces/EtherFi/IEtherFiWEEth.sol +12 -0
- package/contracts/interfaces/IPActionAddRemoveLiqV3.sol +2 -1
- package/contracts/interfaces/IPExchangeRateOracle.sol +6 -0
- package/contracts/interfaces/KelpDAO/IKelpDepositPool.sol +15 -0
- package/contracts/interfaces/KelpDAO/IKelpLRTConfig.sol +8 -0
- package/contracts/offchain-helpers/BytesLib.sol +4 -2
- package/contracts/offchain-helpers/PendleExchangeRateOracle.sol +86 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol +58 -1
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol +107 -1
- package/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol +14 -0
- package/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol +32 -0
- package/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol +6 -0
- package/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol +59 -2
- package/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol +22 -1
- package/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol +24 -0
- package/deployments/1-core.json +1 -1
- package/deployments/10-core.json +1 -1
- package/deployments/42161-core.json +1 -1
- package/deployments/56-core.json +1 -1
- package/package.json +1 -1
- package/typechain-types/ActionAddRemoveLiqV3.ts +3 -3
- package/typechain-types/IEtherFiLiquidityPool.ts +291 -0
- package/typechain-types/IEtherFiWEEth.ts +162 -0
- package/typechain-types/IExecutorHelper.ts +273 -0
- package/typechain-types/IExecutorHelperL2.ts +455 -0
- package/typechain-types/IKelpDepositPool.ts +172 -0
- package/typechain-types/IKelpLRTConfig.ts +120 -0
- package/typechain-types/IPActionAddRemoveLiqV3.ts +3 -3
- package/typechain-types/IPAllActionV3.ts +3 -3
- package/typechain-types/IPExchangeRateOracle.ts +87 -0
- package/typechain-types/PendleExchangeRateOracle.ts +393 -0
- package/typechain-types/PendleRsETHSY.ts +1461 -0
- package/typechain-types/PendleWEEthSY.ts +1302 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +4 -4
- package/typechain-types/factories/AuraEthxBbAWethSY__factory.ts +1 -1
- package/typechain-types/factories/AuraSwEthBbAWethSYV2__factory.ts +1 -1
- package/typechain-types/factories/AuraWethVethSYUpg__factory.ts +1 -1
- package/typechain-types/factories/IEtherFiLiquidityPool__factory.ts +164 -0
- package/typechain-types/factories/IEtherFiWEEth__factory.ts +87 -0
- package/typechain-types/factories/IExecutorHelperL2__factory.ts +378 -0
- package/typechain-types/factories/IExecutorHelper__factory.ts +168 -0
- package/typechain-types/factories/IKelpDepositPool__factory.ts +91 -0
- package/typechain-types/factories/IKelpLRTConfig__factory.ts +58 -0
- package/typechain-types/factories/IPActionAddRemoveLiqV3__factory.ts +3 -3
- package/typechain-types/factories/IPAllActionV3__factory.ts +3 -3
- package/typechain-types/factories/IPExchangeRateOracle__factory.ts +43 -0
- package/typechain-types/factories/LimitBackendHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleAaveV3SY__factory.ts +1 -1
- package/typechain-types/factories/PendleAnkrBNBSY__factory.ts +1 -1
- package/typechain-types/factories/PendleArbitrumStakedEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraBbAWethSwethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethAnkrethSYV2__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethRocketEthSYV2__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethStafiEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethWstethSYV2__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWstethAnkreth__factory.ts +1 -1
- package/typechain-types/factories/PendleBridgedLSDSY__factory.ts +1 -1
- package/typechain-types/factories/PendleCamelotV1VolatileSY__factory.ts +1 -1
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
- package/typechain-types/factories/PendleERC4626SY__factory.ts +1 -1
- package/typechain-types/factories/PendleETHXSY__factory.ts +1 -1
- package/typechain-types/factories/PendleEUSDSY__factory.ts +1 -1
- package/typechain-types/factories/PendleExchangeRateOracle__factory.ts +379 -0
- package/typechain-types/factories/PendleExternalRewardDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleFluxLendingSY__factory.ts +1 -1
- package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
- package/typechain-types/factories/PendleGMV2TokenSY__factory.ts +1 -1
- package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
- package/typechain-types/factories/PendleHlpSY__factory.ts +1 -1
- package/typechain-types/factories/PendleKyberElasticSYUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
- package/typechain-types/factories/PendleMantleStakedEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketV2__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketV3__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleMlpSY__factory.ts +1 -1
- package/typechain-types/factories/PendleOracleForSyProxy__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterV3__factory.ts +1 -1
- package/typechain-types/factories/PendleRsETHSY__factory.ts +1215 -0
- package/typechain-types/factories/PendleSfrxEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleSiloWithIncentiveSY__factory.ts +1 -1
- package/typechain-types/factories/PendleStargateLPSY__factory.ts +1 -1
- package/typechain-types/factories/PendleSwapL1__factory.ts +1 -1
- package/typechain-types/factories/PendleSwapL2__factory.ts +1 -1
- package/typechain-types/factories/PendleThenaSY__factory.ts +1 -1
- package/typechain-types/factories/PendleWEEthSY__factory.ts +1118 -0
- package/typechain-types/factories/PendleWbEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/SAPE__factory.ts +1 -1
- package/typechain-types/factories/SwETHSY__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +72 -0
- package/typechain-types/index.ts +16 -0
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
IEtherFiLiquidityPool,
|
|
9
|
+
IEtherFiLiquidityPoolInterface,
|
|
10
|
+
} from "../IEtherFiLiquidityPool";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [
|
|
15
|
+
{
|
|
16
|
+
internalType: "uint256",
|
|
17
|
+
name: "_share",
|
|
18
|
+
type: "uint256",
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
name: "amountForShare",
|
|
22
|
+
outputs: [
|
|
23
|
+
{
|
|
24
|
+
internalType: "uint256",
|
|
25
|
+
name: "",
|
|
26
|
+
type: "uint256",
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
stateMutability: "view",
|
|
30
|
+
type: "function",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
inputs: [
|
|
34
|
+
{
|
|
35
|
+
internalType: "address",
|
|
36
|
+
name: "_referral",
|
|
37
|
+
type: "address",
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
name: "deposit",
|
|
41
|
+
outputs: [
|
|
42
|
+
{
|
|
43
|
+
internalType: "uint256",
|
|
44
|
+
name: "",
|
|
45
|
+
type: "uint256",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
stateMutability: "payable",
|
|
49
|
+
type: "function",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
inputs: [
|
|
53
|
+
{
|
|
54
|
+
internalType: "address",
|
|
55
|
+
name: "_user",
|
|
56
|
+
type: "address",
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
name: "getTotalEtherClaimOf",
|
|
60
|
+
outputs: [
|
|
61
|
+
{
|
|
62
|
+
internalType: "uint256",
|
|
63
|
+
name: "",
|
|
64
|
+
type: "uint256",
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
stateMutability: "view",
|
|
68
|
+
type: "function",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
inputs: [],
|
|
72
|
+
name: "getTotalPooledEther",
|
|
73
|
+
outputs: [
|
|
74
|
+
{
|
|
75
|
+
internalType: "uint256",
|
|
76
|
+
name: "",
|
|
77
|
+
type: "uint256",
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
stateMutability: "view",
|
|
81
|
+
type: "function",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
inputs: [
|
|
85
|
+
{
|
|
86
|
+
internalType: "uint256",
|
|
87
|
+
name: "_amount",
|
|
88
|
+
type: "uint256",
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
name: "sharesForAmount",
|
|
92
|
+
outputs: [
|
|
93
|
+
{
|
|
94
|
+
internalType: "uint256",
|
|
95
|
+
name: "",
|
|
96
|
+
type: "uint256",
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
stateMutability: "view",
|
|
100
|
+
type: "function",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
inputs: [
|
|
104
|
+
{
|
|
105
|
+
internalType: "uint256",
|
|
106
|
+
name: "_amount",
|
|
107
|
+
type: "uint256",
|
|
108
|
+
},
|
|
109
|
+
],
|
|
110
|
+
name: "sharesForWithdrawalAmount",
|
|
111
|
+
outputs: [
|
|
112
|
+
{
|
|
113
|
+
internalType: "uint256",
|
|
114
|
+
name: "",
|
|
115
|
+
type: "uint256",
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
stateMutability: "view",
|
|
119
|
+
type: "function",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
inputs: [],
|
|
123
|
+
name: "totalValueInLp",
|
|
124
|
+
outputs: [
|
|
125
|
+
{
|
|
126
|
+
internalType: "uint128",
|
|
127
|
+
name: "",
|
|
128
|
+
type: "uint128",
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
stateMutability: "view",
|
|
132
|
+
type: "function",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
inputs: [],
|
|
136
|
+
name: "totalValueOutOfLp",
|
|
137
|
+
outputs: [
|
|
138
|
+
{
|
|
139
|
+
internalType: "uint128",
|
|
140
|
+
name: "",
|
|
141
|
+
type: "uint128",
|
|
142
|
+
},
|
|
143
|
+
],
|
|
144
|
+
stateMutability: "view",
|
|
145
|
+
type: "function",
|
|
146
|
+
},
|
|
147
|
+
];
|
|
148
|
+
|
|
149
|
+
export class IEtherFiLiquidityPool__factory {
|
|
150
|
+
static readonly abi = _abi;
|
|
151
|
+
static createInterface(): IEtherFiLiquidityPoolInterface {
|
|
152
|
+
return new utils.Interface(_abi) as IEtherFiLiquidityPoolInterface;
|
|
153
|
+
}
|
|
154
|
+
static connect(
|
|
155
|
+
address: string,
|
|
156
|
+
signerOrProvider: Signer | Provider
|
|
157
|
+
): IEtherFiLiquidityPool {
|
|
158
|
+
return new Contract(
|
|
159
|
+
address,
|
|
160
|
+
_abi,
|
|
161
|
+
signerOrProvider
|
|
162
|
+
) as IEtherFiLiquidityPool;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type { IEtherFiWEEth, IEtherFiWEEthInterface } from "../IEtherFiWEEth";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
inputs: [],
|
|
12
|
+
name: "eETH",
|
|
13
|
+
outputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
stateMutability: "view",
|
|
21
|
+
type: "function",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
inputs: [],
|
|
25
|
+
name: "liquidityPool",
|
|
26
|
+
outputs: [
|
|
27
|
+
{
|
|
28
|
+
internalType: "address",
|
|
29
|
+
name: "",
|
|
30
|
+
type: "address",
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
stateMutability: "view",
|
|
34
|
+
type: "function",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
inputs: [
|
|
38
|
+
{
|
|
39
|
+
internalType: "uint256",
|
|
40
|
+
name: "_weETHAmount",
|
|
41
|
+
type: "uint256",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
name: "unwrap",
|
|
45
|
+
outputs: [
|
|
46
|
+
{
|
|
47
|
+
internalType: "uint256",
|
|
48
|
+
name: "",
|
|
49
|
+
type: "uint256",
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
stateMutability: "nonpayable",
|
|
53
|
+
type: "function",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
inputs: [
|
|
57
|
+
{
|
|
58
|
+
internalType: "uint256",
|
|
59
|
+
name: "_eETHAmount",
|
|
60
|
+
type: "uint256",
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
name: "wrap",
|
|
64
|
+
outputs: [
|
|
65
|
+
{
|
|
66
|
+
internalType: "uint256",
|
|
67
|
+
name: "",
|
|
68
|
+
type: "uint256",
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
stateMutability: "nonpayable",
|
|
72
|
+
type: "function",
|
|
73
|
+
},
|
|
74
|
+
];
|
|
75
|
+
|
|
76
|
+
export class IEtherFiWEEth__factory {
|
|
77
|
+
static readonly abi = _abi;
|
|
78
|
+
static createInterface(): IEtherFiWEEthInterface {
|
|
79
|
+
return new utils.Interface(_abi) as IEtherFiWEEthInterface;
|
|
80
|
+
}
|
|
81
|
+
static connect(
|
|
82
|
+
address: string,
|
|
83
|
+
signerOrProvider: Signer | Provider
|
|
84
|
+
): IEtherFiWEEth {
|
|
85
|
+
return new Contract(address, _abi, signerOrProvider) as IEtherFiWEEth;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -64,6 +64,114 @@ const _abi = [
|
|
|
64
64
|
stateMutability: "payable",
|
|
65
65
|
type: "function",
|
|
66
66
|
},
|
|
67
|
+
{
|
|
68
|
+
inputs: [
|
|
69
|
+
{
|
|
70
|
+
internalType: "uint256",
|
|
71
|
+
name: "index",
|
|
72
|
+
type: "uint256",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
internalType: "bytes",
|
|
76
|
+
name: "data",
|
|
77
|
+
type: "bytes",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
internalType: "uint256",
|
|
81
|
+
name: "previousAmountOut",
|
|
82
|
+
type: "uint256",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
internalType: "address",
|
|
86
|
+
name: "tokenIn",
|
|
87
|
+
type: "address",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
internalType: "bool",
|
|
91
|
+
name: "getPoolOnly",
|
|
92
|
+
type: "bool",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
internalType: "address",
|
|
96
|
+
name: "nextPool",
|
|
97
|
+
type: "address",
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
name: "executeAmbient",
|
|
101
|
+
outputs: [
|
|
102
|
+
{
|
|
103
|
+
internalType: "address",
|
|
104
|
+
name: "tokenOut",
|
|
105
|
+
type: "address",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
internalType: "uint256",
|
|
109
|
+
name: "tokenAmountOut",
|
|
110
|
+
type: "uint256",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
internalType: "address",
|
|
114
|
+
name: "pool",
|
|
115
|
+
type: "address",
|
|
116
|
+
},
|
|
117
|
+
],
|
|
118
|
+
stateMutability: "payable",
|
|
119
|
+
type: "function",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
inputs: [
|
|
123
|
+
{
|
|
124
|
+
internalType: "uint256",
|
|
125
|
+
name: "index",
|
|
126
|
+
type: "uint256",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
internalType: "bytes",
|
|
130
|
+
name: "data",
|
|
131
|
+
type: "bytes",
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
internalType: "uint256",
|
|
135
|
+
name: "previousAmountOut",
|
|
136
|
+
type: "uint256",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
internalType: "address",
|
|
140
|
+
name: "tokenIn",
|
|
141
|
+
type: "address",
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
internalType: "bool",
|
|
145
|
+
name: "getPoolOnly",
|
|
146
|
+
type: "bool",
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
internalType: "address",
|
|
150
|
+
name: "nextPool",
|
|
151
|
+
type: "address",
|
|
152
|
+
},
|
|
153
|
+
],
|
|
154
|
+
name: "executeArbswapStable",
|
|
155
|
+
outputs: [
|
|
156
|
+
{
|
|
157
|
+
internalType: "address",
|
|
158
|
+
name: "tokenOut",
|
|
159
|
+
type: "address",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
internalType: "uint256",
|
|
163
|
+
name: "tokenAmountOut",
|
|
164
|
+
type: "uint256",
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
internalType: "address",
|
|
168
|
+
name: "pool",
|
|
169
|
+
type: "address",
|
|
170
|
+
},
|
|
171
|
+
],
|
|
172
|
+
stateMutability: "payable",
|
|
173
|
+
type: "function",
|
|
174
|
+
},
|
|
67
175
|
{
|
|
68
176
|
inputs: [
|
|
69
177
|
{
|
|
@@ -172,6 +280,168 @@ const _abi = [
|
|
|
172
280
|
stateMutability: "payable",
|
|
173
281
|
type: "function",
|
|
174
282
|
},
|
|
283
|
+
{
|
|
284
|
+
inputs: [
|
|
285
|
+
{
|
|
286
|
+
internalType: "uint256",
|
|
287
|
+
name: "index",
|
|
288
|
+
type: "uint256",
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
internalType: "bytes",
|
|
292
|
+
name: "data",
|
|
293
|
+
type: "bytes",
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
internalType: "uint256",
|
|
297
|
+
name: "previousAmountOut",
|
|
298
|
+
type: "uint256",
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
internalType: "address",
|
|
302
|
+
name: "tokenIn",
|
|
303
|
+
type: "address",
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
internalType: "bool",
|
|
307
|
+
name: "getPoolOnly",
|
|
308
|
+
type: "bool",
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
internalType: "address",
|
|
312
|
+
name: "nextPool",
|
|
313
|
+
type: "address",
|
|
314
|
+
},
|
|
315
|
+
],
|
|
316
|
+
name: "executeBalancerV1",
|
|
317
|
+
outputs: [
|
|
318
|
+
{
|
|
319
|
+
internalType: "address",
|
|
320
|
+
name: "tokenOut",
|
|
321
|
+
type: "address",
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
internalType: "uint256",
|
|
325
|
+
name: "tokenAmountOut",
|
|
326
|
+
type: "uint256",
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
internalType: "address",
|
|
330
|
+
name: "pool",
|
|
331
|
+
type: "address",
|
|
332
|
+
},
|
|
333
|
+
],
|
|
334
|
+
stateMutability: "payable",
|
|
335
|
+
type: "function",
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
inputs: [
|
|
339
|
+
{
|
|
340
|
+
internalType: "uint256",
|
|
341
|
+
name: "index",
|
|
342
|
+
type: "uint256",
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
internalType: "bytes",
|
|
346
|
+
name: "data",
|
|
347
|
+
type: "bytes",
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
internalType: "uint256",
|
|
351
|
+
name: "previousAmountOut",
|
|
352
|
+
type: "uint256",
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
internalType: "address",
|
|
356
|
+
name: "tokenIn",
|
|
357
|
+
type: "address",
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
internalType: "bool",
|
|
361
|
+
name: "getPoolOnly",
|
|
362
|
+
type: "bool",
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
internalType: "address",
|
|
366
|
+
name: "nextPool",
|
|
367
|
+
type: "address",
|
|
368
|
+
},
|
|
369
|
+
],
|
|
370
|
+
name: "executeBancorV2",
|
|
371
|
+
outputs: [
|
|
372
|
+
{
|
|
373
|
+
internalType: "address",
|
|
374
|
+
name: "tokenOut",
|
|
375
|
+
type: "address",
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
internalType: "uint256",
|
|
379
|
+
name: "tokenAmountOut",
|
|
380
|
+
type: "uint256",
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
internalType: "address",
|
|
384
|
+
name: "pool",
|
|
385
|
+
type: "address",
|
|
386
|
+
},
|
|
387
|
+
],
|
|
388
|
+
stateMutability: "payable",
|
|
389
|
+
type: "function",
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
inputs: [
|
|
393
|
+
{
|
|
394
|
+
internalType: "uint256",
|
|
395
|
+
name: "index",
|
|
396
|
+
type: "uint256",
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
internalType: "bytes",
|
|
400
|
+
name: "data",
|
|
401
|
+
type: "bytes",
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
internalType: "uint256",
|
|
405
|
+
name: "previousAmountOut",
|
|
406
|
+
type: "uint256",
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
internalType: "address",
|
|
410
|
+
name: "tokenIn",
|
|
411
|
+
type: "address",
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
internalType: "bool",
|
|
415
|
+
name: "getPoolOnly",
|
|
416
|
+
type: "bool",
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
internalType: "address",
|
|
420
|
+
name: "nextPool",
|
|
421
|
+
type: "address",
|
|
422
|
+
},
|
|
423
|
+
],
|
|
424
|
+
name: "executeBancorV3",
|
|
425
|
+
outputs: [
|
|
426
|
+
{
|
|
427
|
+
internalType: "address",
|
|
428
|
+
name: "tokenOut",
|
|
429
|
+
type: "address",
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
internalType: "uint256",
|
|
433
|
+
name: "tokenAmountOut",
|
|
434
|
+
type: "uint256",
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
internalType: "address",
|
|
438
|
+
name: "pool",
|
|
439
|
+
type: "address",
|
|
440
|
+
},
|
|
441
|
+
],
|
|
442
|
+
stateMutability: "payable",
|
|
443
|
+
type: "function",
|
|
444
|
+
},
|
|
175
445
|
{
|
|
176
446
|
inputs: [
|
|
177
447
|
{
|
|
@@ -928,6 +1198,60 @@ const _abi = [
|
|
|
928
1198
|
stateMutability: "payable",
|
|
929
1199
|
type: "function",
|
|
930
1200
|
},
|
|
1201
|
+
{
|
|
1202
|
+
inputs: [
|
|
1203
|
+
{
|
|
1204
|
+
internalType: "uint256",
|
|
1205
|
+
name: "index",
|
|
1206
|
+
type: "uint256",
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
internalType: "bytes",
|
|
1210
|
+
name: "data",
|
|
1211
|
+
type: "bytes",
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
internalType: "uint256",
|
|
1215
|
+
name: "previousAmountOut",
|
|
1216
|
+
type: "uint256",
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
internalType: "address",
|
|
1220
|
+
name: "tokenIn",
|
|
1221
|
+
type: "address",
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
internalType: "bool",
|
|
1225
|
+
name: "getPoolOnly",
|
|
1226
|
+
type: "bool",
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
internalType: "address",
|
|
1230
|
+
name: "nextPool",
|
|
1231
|
+
type: "address",
|
|
1232
|
+
},
|
|
1233
|
+
],
|
|
1234
|
+
name: "executeNomiswapStable",
|
|
1235
|
+
outputs: [
|
|
1236
|
+
{
|
|
1237
|
+
internalType: "address",
|
|
1238
|
+
name: "tokenOut",
|
|
1239
|
+
type: "address",
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
internalType: "uint256",
|
|
1243
|
+
name: "tokenAmountOut",
|
|
1244
|
+
type: "uint256",
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
internalType: "address",
|
|
1248
|
+
name: "pool",
|
|
1249
|
+
type: "address",
|
|
1250
|
+
},
|
|
1251
|
+
],
|
|
1252
|
+
stateMutability: "payable",
|
|
1253
|
+
type: "function",
|
|
1254
|
+
},
|
|
931
1255
|
{
|
|
932
1256
|
inputs: [
|
|
933
1257
|
{
|
|
@@ -1306,6 +1630,60 @@ const _abi = [
|
|
|
1306
1630
|
stateMutability: "payable",
|
|
1307
1631
|
type: "function",
|
|
1308
1632
|
},
|
|
1633
|
+
{
|
|
1634
|
+
inputs: [
|
|
1635
|
+
{
|
|
1636
|
+
internalType: "uint256",
|
|
1637
|
+
name: "index",
|
|
1638
|
+
type: "uint256",
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
internalType: "bytes",
|
|
1642
|
+
name: "data",
|
|
1643
|
+
type: "bytes",
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
internalType: "uint256",
|
|
1647
|
+
name: "previousAmountOut",
|
|
1648
|
+
type: "uint256",
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
internalType: "address",
|
|
1652
|
+
name: "tokenIn",
|
|
1653
|
+
type: "address",
|
|
1654
|
+
},
|
|
1655
|
+
{
|
|
1656
|
+
internalType: "bool",
|
|
1657
|
+
name: "getPoolOnly",
|
|
1658
|
+
type: "bool",
|
|
1659
|
+
},
|
|
1660
|
+
{
|
|
1661
|
+
internalType: "address",
|
|
1662
|
+
name: "nextPool",
|
|
1663
|
+
type: "address",
|
|
1664
|
+
},
|
|
1665
|
+
],
|
|
1666
|
+
name: "executeSwaapV2",
|
|
1667
|
+
outputs: [
|
|
1668
|
+
{
|
|
1669
|
+
internalType: "address",
|
|
1670
|
+
name: "tokenOut",
|
|
1671
|
+
type: "address",
|
|
1672
|
+
},
|
|
1673
|
+
{
|
|
1674
|
+
internalType: "uint256",
|
|
1675
|
+
name: "tokenAmountOut",
|
|
1676
|
+
type: "uint256",
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
internalType: "address",
|
|
1680
|
+
name: "pool",
|
|
1681
|
+
type: "address",
|
|
1682
|
+
},
|
|
1683
|
+
],
|
|
1684
|
+
stateMutability: "payable",
|
|
1685
|
+
type: "function",
|
|
1686
|
+
},
|
|
1309
1687
|
{
|
|
1310
1688
|
inputs: [
|
|
1311
1689
|
{
|