@pendle/core-v2 0.20.1-testnet → 0.20.2-testnet
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +34 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.json +141 -0
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.json +141 -0
- package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.json +50 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.json +1296 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.json +1283 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.json +1218 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +1231 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.json +133 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.json +40 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.json +322 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.json +1171 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.json +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.json +133 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.json +141 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +143 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +143 -2
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.json +2 -2
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +76 -2
- package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.json +10 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.json +24 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.json +133 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.json +328 -0
- package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.json +467 -0
- package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.json +61 -0
- package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.json +30 -0
- package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.json +398 -0
- package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +4 -0
- package/build/artifacts/contracts/{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/IRewards.sol/IRewards.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.json +18 -0
- package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +80 -32
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +100 -40
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +40 -16
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +40 -16
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +260 -104
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.json +19 -0
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.json +322 -0
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +2 -2
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +96 -53
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +116 -61
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +44 -25
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +44 -25
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.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/ISwapAggregator.sol/ISwapAggregator.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/ISwapAggregator.sol/ISwapAggregator.json +51 -0
- package/build/artifacts/contracts/router/swap-aggregator/SwapAggregator.sol/SwapAggregator.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/SwapAggregator.sol/SwapAggregator.json +256 -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 +359 -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/IMetaAggregationRouter.sol/IMetaAggregationRouter.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouter.sol/IMetaAggregationRouter.json +183 -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/libraries/LayerZeroHelper.sol +7 -9
- package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol +10 -0
- package/contracts/core/StandardizedYield/SYBase.sol +23 -5
- package/contracts/core/StandardizedYield/StEthHelper.sol +71 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol +170 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol +162 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol +134 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol +154 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol +289 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol +618 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol +68 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol +322 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol +390 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol +329 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol +30 -0
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol +189 -0
- package/contracts/core/libraries/ArrayLib.sol +6 -3
- package/contracts/core/libraries/Errors.sol +8 -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/IPActionAddRemoveLiq.sol +1 -1
- package/contracts/interfaces/IPActionMintRedeem.sol +2 -3
- package/contracts/interfaces/IPActionSwapPT.sol +1 -1
- package/contracts/interfaces/IPActionSwapPTYT.sol +1 -1
- package/contracts/interfaces/IPActionSwapYT.sol +1 -1
- package/contracts/interfaces/IPFeeDistributor.sol +2 -0
- package/contracts/offchain-helpers/Multicall2.sol +103 -0
- package/contracts/router/ActionAddRemoveLiq.sol +2 -2
- package/contracts/router/ActionMintRedeem.sol +7 -9
- package/contracts/router/ActionSwapPT.sol +2 -2
- package/contracts/router/ActionSwapYT.sol +2 -2
- package/contracts/router/base/ActionBaseMintRedeem.sol +51 -14
- package/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol +45 -0
- package/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol +71 -0
- package/contracts/router/swap-aggregator/ISwapAggregator.sol +21 -0
- package/contracts/router/swap-aggregator/SwapAggregator.sol +62 -0
- package/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol +302 -0
- package/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol +134 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol +17 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol +185 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol +30 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouter.sol +33 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol +42 -0
- package/deployments/43113-core.json +1 -1
- package/deployments/80001-core.json +1 -1
- package/package.json +6 -6
- package/typechain-types/ActionAddRemoveLiq.ts +41 -35
- package/typechain-types/ActionBaseMintRedeem.ts +8 -8
- package/typechain-types/ActionMintRedeem.ts +45 -42
- package/typechain-types/ActionSwapPT.ts +28 -22
- package/typechain-types/ActionSwapYT.ts +28 -22
- package/typechain-types/I1inchAggregationRouterV5.ts +257 -0
- package/typechain-types/IAggregationExecutor.ts +182 -0
- package/typechain-types/IExecutorHelperEthereum1.ts +599 -0
- package/typechain-types/IHashflow.ts +159 -0
- package/typechain-types/IKyberSwapAggregationRouterHelper.ts +109 -0
- package/typechain-types/IMetaAggregationRouter.ts +213 -0
- package/typechain-types/IMetaAggregationRouterV2.ts +221 -0
- package/typechain-types/IPActionAddRemoveLiq.ts +22 -16
- package/typechain-types/IPActionMintRedeem.ts +26 -23
- package/typechain-types/IPActionSwapPT.ts +20 -14
- package/typechain-types/IPActionSwapYT.ts +20 -14
- package/typechain-types/IPAllAction.ts +34 -31
- package/typechain-types/IPFeeDistributor.ts +18 -0
- package/typechain-types/IRewards.ts +35 -5
- package/typechain-types/ISwapAggregator.ts +124 -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/PendleLooksStakingSY.ts +204 -0
- package/typechain-types/PendleQiTokenSY.ts +204 -0
- package/typechain-types/PendleWstEthSY.ts +204 -0
- package/typechain-types/SAPE.ts +204 -0
- package/typechain-types/SYBase.ts +204 -0
- package/typechain-types/SYBaseWithRewards.ts +204 -0
- package/typechain-types/SwapAggregator.ts +406 -0
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +99 -56
- package/typechain-types/factories/ActionBaseMintRedeem__factory.ts +1 -1
- package/typechain-types/factories/ActionCallback__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +119 -64
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPT__factory.ts +47 -28
- package/typechain-types/factories/ActionSwapYT__factory.ts +47 -28
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
- package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
- package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
- package/typechain-types/factories/BulkSeller__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +75 -1
- package/typechain-types/factories/I1inchAggregationRouterV5__factory.ts +179 -0
- package/typechain-types/factories/IAggregationExecutor__factory.ts +84 -0
- package/typechain-types/factories/IExecutorHelperEthereum1__factory.ts +378 -0
- package/typechain-types/factories/IHashflow__factory.ts +113 -0
- package/typechain-types/factories/IKyberSwapAggregationRouterHelper__factory.ts +56 -0
- package/typechain-types/factories/IMetaAggregationRouterV2__factory.ts +234 -0
- package/typechain-types/factories/IMetaAggregationRouter__factory.ts +202 -0
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +80 -32
- package/typechain-types/factories/IPActionMintRedeem__factory.ts +100 -40
- package/typechain-types/factories/IPActionSwapPT__factory.ts +40 -16
- package/typechain-types/factories/IPActionSwapYT__factory.ts +40 -16
- package/typechain-types/factories/IPAllAction__factory.ts +260 -104
- package/typechain-types/factories/IPFeeDistributor__factory.ts +19 -0
- package/typechain-types/factories/IRewards__factory.ts +18 -0
- package/typechain-types/factories/ISwapAggregator__factory.ts +66 -0
- package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleAura3EthSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraCbethWstethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleConvexLPSY__factory.ts +141 -0
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +142 -1
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +142 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +33 -1
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +142 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarket__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +142 -1
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +142 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
- package/typechain-types/factories/RouterStatic__factory.ts +1 -1
- package/typechain-types/factories/SAPE__factory.ts +142 -1
- package/typechain-types/factories/SYBaseWithRewards__factory.ts +141 -0
- package/typechain-types/factories/SYBase__factory.ts +141 -0
- package/typechain-types/factories/SwapAggregator__factory.ts +309 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +56 -20
- package/typechain-types/index.ts +16 -8
- 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/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
|
@@ -1046,14 +1046,26 @@
|
|
|
1046
1046
|
"type": "address"
|
|
1047
1047
|
},
|
|
1048
1048
|
{
|
|
1049
|
-
"
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1049
|
+
"components": [
|
|
1050
|
+
{
|
|
1051
|
+
"internalType": "enum AGGREGATOR",
|
|
1052
|
+
"name": "aggregatorType",
|
|
1053
|
+
"type": "uint8"
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"internalType": "address",
|
|
1057
|
+
"name": "router",
|
|
1058
|
+
"type": "address"
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"internalType": "bytes",
|
|
1062
|
+
"name": "callData",
|
|
1063
|
+
"type": "bytes"
|
|
1064
|
+
}
|
|
1065
|
+
],
|
|
1066
|
+
"internalType": "struct SwapData",
|
|
1067
|
+
"name": "data",
|
|
1068
|
+
"type": "tuple"
|
|
1057
1069
|
}
|
|
1058
1070
|
],
|
|
1059
1071
|
"internalType": "struct TokenInput",
|
|
@@ -1306,14 +1318,26 @@
|
|
|
1306
1318
|
"type": "address"
|
|
1307
1319
|
},
|
|
1308
1320
|
{
|
|
1309
|
-
"
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1321
|
+
"components": [
|
|
1322
|
+
{
|
|
1323
|
+
"internalType": "enum AGGREGATOR",
|
|
1324
|
+
"name": "aggregatorType",
|
|
1325
|
+
"type": "uint8"
|
|
1326
|
+
},
|
|
1327
|
+
{
|
|
1328
|
+
"internalType": "address",
|
|
1329
|
+
"name": "router",
|
|
1330
|
+
"type": "address"
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"internalType": "bytes",
|
|
1334
|
+
"name": "callData",
|
|
1335
|
+
"type": "bytes"
|
|
1336
|
+
}
|
|
1337
|
+
],
|
|
1338
|
+
"internalType": "struct SwapData",
|
|
1339
|
+
"name": "data",
|
|
1340
|
+
"type": "tuple"
|
|
1317
1341
|
}
|
|
1318
1342
|
],
|
|
1319
1343
|
"internalType": "struct TokenInput",
|
|
@@ -1435,14 +1459,26 @@
|
|
|
1435
1459
|
"type": "address"
|
|
1436
1460
|
},
|
|
1437
1461
|
{
|
|
1438
|
-
"
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1462
|
+
"components": [
|
|
1463
|
+
{
|
|
1464
|
+
"internalType": "enum AGGREGATOR",
|
|
1465
|
+
"name": "aggregatorType",
|
|
1466
|
+
"type": "uint8"
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
"internalType": "address",
|
|
1470
|
+
"name": "router",
|
|
1471
|
+
"type": "address"
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
"internalType": "bytes",
|
|
1475
|
+
"name": "callData",
|
|
1476
|
+
"type": "bytes"
|
|
1477
|
+
}
|
|
1478
|
+
],
|
|
1479
|
+
"internalType": "struct SwapData",
|
|
1480
|
+
"name": "data",
|
|
1481
|
+
"type": "tuple"
|
|
1446
1482
|
}
|
|
1447
1483
|
],
|
|
1448
1484
|
"internalType": "struct TokenInput",
|
|
@@ -1501,14 +1537,26 @@
|
|
|
1501
1537
|
"type": "address"
|
|
1502
1538
|
},
|
|
1503
1539
|
{
|
|
1504
|
-
"
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1540
|
+
"components": [
|
|
1541
|
+
{
|
|
1542
|
+
"internalType": "enum AGGREGATOR",
|
|
1543
|
+
"name": "aggregatorType",
|
|
1544
|
+
"type": "uint8"
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
"internalType": "address",
|
|
1548
|
+
"name": "router",
|
|
1549
|
+
"type": "address"
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
"internalType": "bytes",
|
|
1553
|
+
"name": "callData",
|
|
1554
|
+
"type": "bytes"
|
|
1555
|
+
}
|
|
1556
|
+
],
|
|
1557
|
+
"internalType": "struct SwapData",
|
|
1558
|
+
"name": "data",
|
|
1559
|
+
"type": "tuple"
|
|
1512
1560
|
}
|
|
1513
1561
|
],
|
|
1514
1562
|
"internalType": "struct TokenInput",
|
|
@@ -1623,14 +1671,26 @@
|
|
|
1623
1671
|
"type": "address[]"
|
|
1624
1672
|
},
|
|
1625
1673
|
{
|
|
1626
|
-
"
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1674
|
+
"components": [
|
|
1675
|
+
{
|
|
1676
|
+
"internalType": "enum AGGREGATOR",
|
|
1677
|
+
"name": "aggregatorType",
|
|
1678
|
+
"type": "uint8"
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
"internalType": "address",
|
|
1682
|
+
"name": "router",
|
|
1683
|
+
"type": "address"
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
"internalType": "bytes",
|
|
1687
|
+
"name": "callData",
|
|
1688
|
+
"type": "bytes"
|
|
1689
|
+
}
|
|
1690
|
+
],
|
|
1691
|
+
"internalType": "struct SwapData[]",
|
|
1692
|
+
"name": "data",
|
|
1693
|
+
"type": "tuple[]"
|
|
1634
1694
|
},
|
|
1635
1695
|
{
|
|
1636
1696
|
"internalType": "address",
|
|
@@ -1738,14 +1798,26 @@
|
|
|
1738
1798
|
"type": "address"
|
|
1739
1799
|
},
|
|
1740
1800
|
{
|
|
1741
|
-
"
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1801
|
+
"components": [
|
|
1802
|
+
{
|
|
1803
|
+
"internalType": "enum AGGREGATOR",
|
|
1804
|
+
"name": "aggregatorType",
|
|
1805
|
+
"type": "uint8"
|
|
1806
|
+
},
|
|
1807
|
+
{
|
|
1808
|
+
"internalType": "address",
|
|
1809
|
+
"name": "router",
|
|
1810
|
+
"type": "address"
|
|
1811
|
+
},
|
|
1812
|
+
{
|
|
1813
|
+
"internalType": "bytes",
|
|
1814
|
+
"name": "callData",
|
|
1815
|
+
"type": "bytes"
|
|
1816
|
+
}
|
|
1817
|
+
],
|
|
1818
|
+
"internalType": "struct SwapData",
|
|
1819
|
+
"name": "data",
|
|
1820
|
+
"type": "tuple"
|
|
1749
1821
|
}
|
|
1750
1822
|
],
|
|
1751
1823
|
"internalType": "struct TokenOutput",
|
|
@@ -1804,14 +1876,26 @@
|
|
|
1804
1876
|
"type": "address"
|
|
1805
1877
|
},
|
|
1806
1878
|
{
|
|
1807
|
-
"
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1879
|
+
"components": [
|
|
1880
|
+
{
|
|
1881
|
+
"internalType": "enum AGGREGATOR",
|
|
1882
|
+
"name": "aggregatorType",
|
|
1883
|
+
"type": "uint8"
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
"internalType": "address",
|
|
1887
|
+
"name": "router",
|
|
1888
|
+
"type": "address"
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
"internalType": "bytes",
|
|
1892
|
+
"name": "callData",
|
|
1893
|
+
"type": "bytes"
|
|
1894
|
+
}
|
|
1895
|
+
],
|
|
1896
|
+
"internalType": "struct SwapData",
|
|
1897
|
+
"name": "data",
|
|
1898
|
+
"type": "tuple"
|
|
1815
1899
|
}
|
|
1816
1900
|
],
|
|
1817
1901
|
"internalType": "struct TokenOutput",
|
|
@@ -1914,14 +1998,26 @@
|
|
|
1914
1998
|
"type": "address"
|
|
1915
1999
|
},
|
|
1916
2000
|
{
|
|
1917
|
-
"
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
2001
|
+
"components": [
|
|
2002
|
+
{
|
|
2003
|
+
"internalType": "enum AGGREGATOR",
|
|
2004
|
+
"name": "aggregatorType",
|
|
2005
|
+
"type": "uint8"
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"internalType": "address",
|
|
2009
|
+
"name": "router",
|
|
2010
|
+
"type": "address"
|
|
2011
|
+
},
|
|
2012
|
+
{
|
|
2013
|
+
"internalType": "bytes",
|
|
2014
|
+
"name": "callData",
|
|
2015
|
+
"type": "bytes"
|
|
2016
|
+
}
|
|
2017
|
+
],
|
|
2018
|
+
"internalType": "struct SwapData",
|
|
2019
|
+
"name": "data",
|
|
2020
|
+
"type": "tuple"
|
|
1925
2021
|
}
|
|
1926
2022
|
],
|
|
1927
2023
|
"internalType": "struct TokenOutput",
|
|
@@ -2100,14 +2196,26 @@
|
|
|
2100
2196
|
"type": "address"
|
|
2101
2197
|
},
|
|
2102
2198
|
{
|
|
2103
|
-
"
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2199
|
+
"components": [
|
|
2200
|
+
{
|
|
2201
|
+
"internalType": "enum AGGREGATOR",
|
|
2202
|
+
"name": "aggregatorType",
|
|
2203
|
+
"type": "uint8"
|
|
2204
|
+
},
|
|
2205
|
+
{
|
|
2206
|
+
"internalType": "address",
|
|
2207
|
+
"name": "router",
|
|
2208
|
+
"type": "address"
|
|
2209
|
+
},
|
|
2210
|
+
{
|
|
2211
|
+
"internalType": "bytes",
|
|
2212
|
+
"name": "callData",
|
|
2213
|
+
"type": "bytes"
|
|
2214
|
+
}
|
|
2215
|
+
],
|
|
2216
|
+
"internalType": "struct SwapData",
|
|
2217
|
+
"name": "data",
|
|
2218
|
+
"type": "tuple"
|
|
2111
2219
|
}
|
|
2112
2220
|
],
|
|
2113
2221
|
"internalType": "struct TokenOutput",
|
|
@@ -2210,14 +2318,26 @@
|
|
|
2210
2318
|
"type": "address"
|
|
2211
2319
|
},
|
|
2212
2320
|
{
|
|
2213
|
-
"
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2321
|
+
"components": [
|
|
2322
|
+
{
|
|
2323
|
+
"internalType": "enum AGGREGATOR",
|
|
2324
|
+
"name": "aggregatorType",
|
|
2325
|
+
"type": "uint8"
|
|
2326
|
+
},
|
|
2327
|
+
{
|
|
2328
|
+
"internalType": "address",
|
|
2329
|
+
"name": "router",
|
|
2330
|
+
"type": "address"
|
|
2331
|
+
},
|
|
2332
|
+
{
|
|
2333
|
+
"internalType": "bytes",
|
|
2334
|
+
"name": "callData",
|
|
2335
|
+
"type": "bytes"
|
|
2336
|
+
}
|
|
2337
|
+
],
|
|
2338
|
+
"internalType": "struct SwapData",
|
|
2339
|
+
"name": "data",
|
|
2340
|
+
"type": "tuple"
|
|
2221
2341
|
}
|
|
2222
2342
|
],
|
|
2223
2343
|
"internalType": "struct TokenOutput",
|
|
@@ -2526,14 +2646,26 @@
|
|
|
2526
2646
|
"type": "address"
|
|
2527
2647
|
},
|
|
2528
2648
|
{
|
|
2529
|
-
"
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2649
|
+
"components": [
|
|
2650
|
+
{
|
|
2651
|
+
"internalType": "enum AGGREGATOR",
|
|
2652
|
+
"name": "aggregatorType",
|
|
2653
|
+
"type": "uint8"
|
|
2654
|
+
},
|
|
2655
|
+
{
|
|
2656
|
+
"internalType": "address",
|
|
2657
|
+
"name": "router",
|
|
2658
|
+
"type": "address"
|
|
2659
|
+
},
|
|
2660
|
+
{
|
|
2661
|
+
"internalType": "bytes",
|
|
2662
|
+
"name": "callData",
|
|
2663
|
+
"type": "bytes"
|
|
2664
|
+
}
|
|
2665
|
+
],
|
|
2666
|
+
"internalType": "struct SwapData",
|
|
2667
|
+
"name": "data",
|
|
2668
|
+
"type": "tuple"
|
|
2537
2669
|
}
|
|
2538
2670
|
],
|
|
2539
2671
|
"internalType": "struct TokenInput",
|
|
@@ -2629,14 +2761,26 @@
|
|
|
2629
2761
|
"type": "address"
|
|
2630
2762
|
},
|
|
2631
2763
|
{
|
|
2632
|
-
"
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2764
|
+
"components": [
|
|
2765
|
+
{
|
|
2766
|
+
"internalType": "enum AGGREGATOR",
|
|
2767
|
+
"name": "aggregatorType",
|
|
2768
|
+
"type": "uint8"
|
|
2769
|
+
},
|
|
2770
|
+
{
|
|
2771
|
+
"internalType": "address",
|
|
2772
|
+
"name": "router",
|
|
2773
|
+
"type": "address"
|
|
2774
|
+
},
|
|
2775
|
+
{
|
|
2776
|
+
"internalType": "bytes",
|
|
2777
|
+
"name": "callData",
|
|
2778
|
+
"type": "bytes"
|
|
2779
|
+
}
|
|
2780
|
+
],
|
|
2781
|
+
"internalType": "struct SwapData",
|
|
2782
|
+
"name": "data",
|
|
2783
|
+
"type": "tuple"
|
|
2640
2784
|
}
|
|
2641
2785
|
],
|
|
2642
2786
|
"internalType": "struct TokenInput",
|
|
@@ -2810,14 +2954,26 @@
|
|
|
2810
2954
|
"type": "address"
|
|
2811
2955
|
},
|
|
2812
2956
|
{
|
|
2813
|
-
"
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2957
|
+
"components": [
|
|
2958
|
+
{
|
|
2959
|
+
"internalType": "enum AGGREGATOR",
|
|
2960
|
+
"name": "aggregatorType",
|
|
2961
|
+
"type": "uint8"
|
|
2962
|
+
},
|
|
2963
|
+
{
|
|
2964
|
+
"internalType": "address",
|
|
2965
|
+
"name": "router",
|
|
2966
|
+
"type": "address"
|
|
2967
|
+
},
|
|
2968
|
+
{
|
|
2969
|
+
"internalType": "bytes",
|
|
2970
|
+
"name": "callData",
|
|
2971
|
+
"type": "bytes"
|
|
2972
|
+
}
|
|
2973
|
+
],
|
|
2974
|
+
"internalType": "struct SwapData",
|
|
2975
|
+
"name": "data",
|
|
2976
|
+
"type": "tuple"
|
|
2821
2977
|
}
|
|
2822
2978
|
],
|
|
2823
2979
|
"internalType": "struct TokenOutput",
|
|
@@ -34,6 +34,25 @@
|
|
|
34
34
|
"name": "ClaimReward",
|
|
35
35
|
"type": "event"
|
|
36
36
|
},
|
|
37
|
+
{
|
|
38
|
+
"anonymous": false,
|
|
39
|
+
"inputs": [
|
|
40
|
+
{
|
|
41
|
+
"indexed": true,
|
|
42
|
+
"internalType": "address",
|
|
43
|
+
"name": "pool",
|
|
44
|
+
"type": "address"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"indexed": true,
|
|
48
|
+
"internalType": "uint256",
|
|
49
|
+
"name": "startWeek",
|
|
50
|
+
"type": "uint256"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"name": "PoolAdded",
|
|
54
|
+
"type": "event"
|
|
55
|
+
},
|
|
37
56
|
{
|
|
38
57
|
"anonymous": false,
|
|
39
58
|
"inputs": [
|
package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json
CHANGED
|
@@ -118,8 +118,8 @@
|
|
|
118
118
|
"type": "function"
|
|
119
119
|
}
|
|
120
120
|
],
|
|
121
|
-
"bytecode": "
|
|
122
|
-
"deployedBytecode": "
|
|
121
|
+
"bytecode": "0x608060405234801561001057600080fd5b50610991806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80638718323e146100465780638d51e8f0146100a7578063c307974d146100cf575b600080fd5b6100596100543660046107e0565b6100e2565b6040805184518152602080860151908201528482015191810191909152606080850151908201526080938401519381019390935260a083019190915260c082015260e0015b60405180910390f35b6100ba6100b5366004610804565b6102d2565b6040805192835260208301919091520161009e565b6100ba6100dd3660046107e0565b6104ab565b6101146040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b600080836001600160a01b0316632778c3346040518163ffffffff1660e01b815260040160a060405180830381865afa158015610155573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101799190610839565b92506101848361073d565b9150836001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101e891906108b6565b6001600160a01b031663cbe52ae3856001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610234573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061025891906108b6565b85606001516040518363ffffffff1660e01b815260040161027a9291906108d3565b602060405180830381865afa158015610297573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102bb91906108ec565b83604001516102ca919061091b565b929491935050565b6000806000856001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610315573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033991906108b6565b90506000866001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561037b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061039f91906108b6565b90506000826001600160a01b031663b8f82b2683896040518363ffffffff1660e01b81526004016103d19291906108d3565b602060405180830381865afa1580156103ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041291906108ec565b905061041e8188610779565b9450506000826001600160a01b031663cbe52ae383886040518363ffffffff1660e01b81526004016104519291906108d3565b602060405180830381865afa15801561046e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049291906108ec565b905061049e8187610779565b9350505050935093915050565b6000806000836001600160a01b0316632778c3346040518163ffffffff1660e01b815260040160a060405180830381865afa1580156104ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105129190610839565b90506000846001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610554573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057891906108b6565b90506000856001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105de91906108b6565b905060006105fd846020015185606001516107aa90919063ffffffff16565b846040015161060c919061091b565b90506000836001600160a01b031663b8f82b2684846040518363ffffffff1660e01b815260040161063e9291906108d3565b602060405180830381865afa15801561065b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f91906108ec565b905061068b8183610779565b85516040870151919850600093506106a392506107aa565b84606001516106b2919061091b565b90506000836001600160a01b031663cbe52ae384846040518363ffffffff1660e01b81526004016106e49291906108d3565b602060405180830381865afa158015610701573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072591906108ec565b90506107318183610779565b95505050505050915091565b60408101516020820151606083015160009291839161075b916107aa565b905061077161076a828461091b565b8390610779565b949350505050565b60008061078e670de0b6b3a76400008561092e565b905082818161079f5761079f610945565b049150505b92915050565b6000806107b7838561092e565b9050670de0b6b3a76400008161079f565b6001600160a01b03811681146107dd57600080fd5b50565b6000602082840312156107f257600080fd5b81356107fd816107c8565b9392505050565b60008060006060848603121561081957600080fd5b8335610824816107c8565b95602085013595506040909401359392505050565b600060a0828403121561084b57600080fd5b60405160a081016001600160401b038111828210171561087b57634e487b7160e01b600052604160045260246000fd5b806040525082518152602083015160208201526040830151604082015260608301516060820152608083015160808201528091505092915050565b6000602082840312156108c857600080fd5b81516107fd816107c8565b6001600160a01b03929092168252602082015260400190565b6000602082840312156108fe57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156107a4576107a4610905565b80820281158282048414176107a4576107a4610905565b634e487b7160e01b600052601260045260246000fdfea26469706673582212204c72927a7f1b838d1f0cfb9aa65ba801517395c5ac8b7e707a1c5ce2bcbd32a064736f6c63430008110033",
|
|
122
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c80638718323e146100465780638d51e8f0146100a7578063c307974d146100cf575b600080fd5b6100596100543660046107e0565b6100e2565b6040805184518152602080860151908201528482015191810191909152606080850151908201526080938401519381019390935260a083019190915260c082015260e0015b60405180910390f35b6100ba6100b5366004610804565b6102d2565b6040805192835260208301919091520161009e565b6100ba6100dd3660046107e0565b6104ab565b6101146040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b600080836001600160a01b0316632778c3346040518163ffffffff1660e01b815260040160a060405180830381865afa158015610155573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101799190610839565b92506101848361073d565b9150836001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101e891906108b6565b6001600160a01b031663cbe52ae3856001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610234573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061025891906108b6565b85606001516040518363ffffffff1660e01b815260040161027a9291906108d3565b602060405180830381865afa158015610297573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102bb91906108ec565b83604001516102ca919061091b565b929491935050565b6000806000856001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610315573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033991906108b6565b90506000866001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561037b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061039f91906108b6565b90506000826001600160a01b031663b8f82b2683896040518363ffffffff1660e01b81526004016103d19291906108d3565b602060405180830381865afa1580156103ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041291906108ec565b905061041e8188610779565b9450506000826001600160a01b031663cbe52ae383886040518363ffffffff1660e01b81526004016104519291906108d3565b602060405180830381865afa15801561046e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049291906108ec565b905061049e8187610779565b9350505050935093915050565b6000806000836001600160a01b0316632778c3346040518163ffffffff1660e01b815260040160a060405180830381865afa1580156104ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105129190610839565b90506000846001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610554573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057891906108b6565b90506000856001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105de91906108b6565b905060006105fd846020015185606001516107aa90919063ffffffff16565b846040015161060c919061091b565b90506000836001600160a01b031663b8f82b2684846040518363ffffffff1660e01b815260040161063e9291906108d3565b602060405180830381865afa15801561065b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f91906108ec565b905061068b8183610779565b85516040870151919850600093506106a392506107aa565b84606001516106b2919061091b565b90506000836001600160a01b031663cbe52ae384846040518363ffffffff1660e01b81526004016106e49291906108d3565b602060405180830381865afa158015610701573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072591906108ec565b90506107318183610779565b95505050505050915091565b60408101516020820151606083015160009291839161075b916107aa565b905061077161076a828461091b565b8390610779565b949350505050565b60008061078e670de0b6b3a76400008561092e565b905082818161079f5761079f610945565b049150505b92915050565b6000806107b7838561092e565b9050670de0b6b3a76400008161079f565b6001600160a01b03811681146107dd57600080fd5b50565b6000602082840312156107f257600080fd5b81356107fd816107c8565b9392505050565b60008060006060848603121561081957600080fd5b8335610824816107c8565b95602085013595506040909401359392505050565b600060a0828403121561084b57600080fd5b60405160a081016001600160401b038111828210171561087b57634e487b7160e01b600052604160045260246000fd5b806040525082518152602083015160208201526040830151604082015260608301516060820152608083015160808201528091505092915050565b6000602082840312156108c857600080fd5b81516107fd816107c8565b6001600160a01b03929092168252602082015260400190565b6000602082840312156108fe57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156107a4576107a4610905565b80820281158282048414176107a4576107a4610905565b634e487b7160e01b600052601260045260246000fdfea26469706673582212204c72927a7f1b838d1f0cfb9aa65ba801517395c5ac8b7e707a1c5ce2bcbd32a064736f6c63430008110033",
|
|
123
123
|
"linkReferences": {},
|
|
124
124
|
"deployedLinkReferences": {}
|
|
125
125
|
}
|