@pendle/core-v2 2.29.4 → 2.30.1
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/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.json +2 -2
- 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/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.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 +2 -2
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -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/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.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/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 +74 -9
- 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/Market/v2/PendleGaugeV2.sol/PendleGaugeV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v2/PendleMarketFactoryV2.sol/PendleMarketFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v2/PendleMarketFactoryV2.sol/PendleMarketFactoryV2.json +2 -2
- 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 +74 -9
- package/build/artifacts/contracts/core/RewardManager/PendleLinearDistributor.sol/PendleLinearDistributor.dbg.json +4 -0
- package/build/artifacts/contracts/core/RewardManager/PendleLinearDistributor.sol/PendleLinearDistributor.json +570 -0
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.json +65 -0
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseUpg.sol/SYBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseUpg.sol/SYBaseUpg.json +49 -0
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.json +65 -0
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewardsUpg.sol/SYBaseWithRewardsUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewardsUpg.sol/SYBaseWithRewardsUpg.json +49 -0
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
- 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 +67 -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 +67 -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 +67 -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 +67 -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 +51 -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 +67 -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 +67 -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 +67 -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 +67 -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 +67 -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 +67 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewProxy.sol/ComposableStablePreviewProxy.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewProxy.sol/ComposableStablePreviewProxy.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV4.sol/ComposableStablePreviewV4.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV4.sol/ComposableStablePreviewV4.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV5.sol/ComposableStablePreviewV5.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV5.sol/ComposableStablePreviewV5.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAWethHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol/LinearMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol/LinearMath.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.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/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.json +65 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV3Upg.sol/PendleAuraBalancerStableLPSYV3Upg.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV3Upg.sol/PendleAuraBalancerStableLPSYV3Upg.json +49 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
- 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 +67 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.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 +67 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol/PendleChainlinkReceiver.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkRelayer.sol/PendleChainlinkRelayer.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkRelayer.sol/PendleChainlinkRelayer.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 +67 -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 +67 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.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/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.json +65 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/FluxTokenLib.sol/FluxTokenLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/FluxTokenLib.sol/FluxTokenLib.json +2 -2
- 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 +67 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/GMTokenPricingHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/GMTokenPricingHelper.json +297 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/IGMXV2DataStore.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/IGMXV2DataStore.json +30 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/IGMXV2Oracle.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/IGMXV2Oracle.json +35 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/IGMXV2Reader.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol/IGMXV2Reader.json +180 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGMV2TokenSY.sol/PendleGMV2TokenSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGMV2TokenSY.sol/PendleGMV2TokenSY.json +1159 -0
- 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 +67 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/HLPPricingHelper.sol/HLPPricingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/HLPPricingHelper.sol/HLPPricingHelper.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 +67 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/KyberMathHelper.sol/KyberMathHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/KyberMathHelper.sol/KyberMathHelper.json +2 -2
- 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 +51 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/FullMath.sol/FullMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/FullMath.sol/FullMath.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/LiqDeltaMath.sol/LiqDeltaMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/LiqDeltaMath.sol/LiqDeltaMath.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/LiquidityMath.sol/LiquidityMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/LiquidityMath.sol/LiquidityMath.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/MathConstants.sol/MathConstants.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/MathConstants.sol/MathConstants.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/QtyDeltaMath.sol/QtyDeltaMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/QtyDeltaMath.sol/QtyDeltaMath.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/QuadMath.sol/QuadMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/QuadMath.sol/QuadMath.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/ReinvestmentMath.sol/ReinvestmentMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/ReinvestmentMath.sol/ReinvestmentMath.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/SafeCast.sol/SafeCast.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/SafeCast.sol/SafeCast.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/SwapMath.sol/SwapMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/SwapMath.sol/SwapMath.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/TickMath.sol/TickMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/libraries/TickMath.sol/TickMath.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MUX/MlpPricingHelper.sol/MlpPricingHelper.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MUX/MlpPricingHelper.sol/MlpPricingHelper.json +245 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MUX/PendleMlpSY.sol/PendleMlpSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/MUX/PendleMlpSY.sol/PendleMlpSY.json +1248 -0
- 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 +67 -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 +67 -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 +67 -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 +67 -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 +67 -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 +67 -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 +67 -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 +67 -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 +67 -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 +67 -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 +67 -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 +67 -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 +67 -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 +67 -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 +67 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol/ThenaLpHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/IThenaSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +67 -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 +67 -2
- package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.json +67 -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 +67 -2
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +2 -2
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +67 -2
- package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.json +49 -0
- package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.json +2 -2
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +2 -2
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.json +2 -2
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.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 +2 -2
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.json +2 -2
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.json +2 -2
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.json +2 -2
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.json +2 -2
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.json +2 -2
- package/build/artifacts/contracts/interfaces/Ankr/IAnkrBNB.sol/IAnkrBNB.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Ankr/IAnkrLiquidStaking.sol/IAnkrLiquidStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IERC4626LinearPool.sol/IERC4626LinearPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IPComposableStablePreview.sol/IPComposableStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IVersion.sol/IVersion.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotFactory.sol/ICamelotFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTFactory.sol/ICamelotNFTFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTHandler.sol/ICamelotNFTHandler.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotRouter.sol/ICamelotRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotYieldBooster.sol/ICamelotYieldBooster.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/IXGrail.sol/IXGrail.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Flux/IFluxErc20.sol/IFluxErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Flux/IFluxInterestRateModel.sol/IFluxInterestRateModel.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Frax/IFrxEthMinter.sol/IFrxEthMinter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IGMXPriceHelper.sol/IGMXPriceHelper.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/GMX/IGMXPriceHelper.sol/IGMXPriceHelper.json +30 -0
- package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/HMX/IHLPStaking.sol/IHLPStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/HMX/IHMXCalculator.sol/IHMXCalculator.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/HMX/IHMXCompounder.sol/IHMXCompounder.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/HMX/IHMXStaking.sol/IHMXStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/HMX/IHMXVester.sol/IHMXVester.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExternalRewardDistributor.sol/IPExternalRewardDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLinearDistributor.sol/IPLinearDistributor.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPLinearDistributor.sol/IPLinearDistributor.json +135 -0
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactoryV2.sol/IPMarketFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.json +67 -0
- package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.json +24 -0
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPtOracle.sol/IPPtOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateLP.sol/IStargateLP.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateStaking.sol/IStargateStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ISwETH.sol/ISwETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Kyber/IKyberElasticFactory.sol/IKyberElasticFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Kyber/IKyberElasticPool.sol/IKyberElasticPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Kyber/IKyberElasticRouter.sol/IKyberElasticRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Kyber/IKyberLiquidityMining.sol/IKyberLiquidityMining.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Kyber/IKyberMathHelper.sol/IKyberMathHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Kyber/IKyberPositionManager.sol/IKyberPositionManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Lybra/IEUSD.sol/IEUSD.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/MUX/IMUXRewardRouter.sol/IMUXRewardRouter.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/MUX/IMUXRewardRouter.sol/IMUXRewardRouter.json +870 -0
- package/build/artifacts/contracts/interfaces/Silo/ISilo.sol/ISilo.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Silo/ISiloIncentiveController.sol/ISiloIncentiveController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Silo/ISiloLens.sol/ISiloLens.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Stader/IStaderStakeManager.sol/IStaderStakeManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Thena/IThenaFactory.sol/IThenaFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Thena/IThenaRouter.sol/IThenaRouter.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
- 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/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.json +435 -0
- package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.json +2 -2
- package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.json +2 -2
- package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.json +2 -2
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +2 -2
- package/build/artifacts/contracts/router/PendleRouterHelper2.sol/PendleRouterHelper2.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterHelper2.sol/PendleRouterHelper2.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapBase.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapBase.json +76 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL1.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL1.json +76 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL2.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL2.json +76 -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/{IAggregationExecutor.sol → interfaces/IAggregationExecutor.sol}/IAggregationExecutor.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutorOptimistic.sol/IAggregationExecutorOptimistic.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutorOptimistic.sol/IAggregationExecutorOptimistic.json +194 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol/IExecutorHelper.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/{IExecutorHelper.sol → interfaces/IExecutorHelper.sol}/IExecutorHelper.json +409 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol/IExecutorHelperL2.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol/IExecutorHelperL2.json +1847 -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/{IMetaAggregationRouterV2.sol → interfaces/IMetaAggregationRouterV2.sol}/IMetaAggregationRouterV2.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol/InputScalingHelper.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol/InputScalingHelper.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol/ScalingDataLib.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/{ScalingDataLib.sol → l1-contracts/ScalingDataLib.sol}/ScalingDataLib.json +3 -3
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/BytesHelper.sol/BytesHelper.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/BytesHelper.sol/BytesHelper.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol/CalldataReader.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol/CalldataReader.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol/CalldataWriter.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol/CalldataWriter.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol/Common.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol/Common.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol/DexScaler.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol/DexScaler.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol/ExecutorReader.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol/ExecutorReader.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol/ScalingDataL2Lib.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol/ScalingDataL2Lib.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/oneinch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/oneinch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol +5 -23
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol +2 -5
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol +6 -20
- package/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol +6 -27
- package/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol +1 -2
- package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +1 -1
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +4 -15
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol +2 -5
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol +2 -5
- package/contracts/LiquidityMining/PendleMerkleDistributor.sol +3 -12
- package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol +14 -37
- package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol +19 -34
- package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +4 -14
- package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +4 -16
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol +11 -39
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol +3 -10
- package/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol +1 -1
- package/contracts/LiquidityMining/libraries/VeBalanceLib.sol +5 -20
- package/contracts/LiquidityMining/libraries/VeHistoryLib.sol +1 -3
- package/contracts/core/BulkSeller/BulkSeller.sol +7 -25
- package/contracts/core/BulkSeller/BulkSellerFactory.sol +4 -18
- package/contracts/core/BulkSeller/BulkSellerMathCore.sol +6 -19
- package/contracts/core/Market/MarketMathCore.sol +12 -37
- package/contracts/core/Market/OracleLib.sol +6 -24
- package/contracts/core/Market/PendleExternalRewardDistributor.sol +4 -10
- package/contracts/core/Market/PendleGauge.sol +3 -9
- package/contracts/core/Market/PendleMarket.sol +14 -39
- package/contracts/core/Market/PendleMarketFactory.sol +6 -19
- package/contracts/core/Market/v2/PendleGaugeV2.sol +8 -24
- package/contracts/core/Market/v2/PendleMarketFactoryV2.sol +7 -27
- package/contracts/core/Market/v2/PendleMarketV2.sol +13 -36
- package/contracts/core/RewardManager/PendleLinearDistributor.sol +143 -0
- package/contracts/core/RewardManager/RewardManager.sol +0 -1
- package/contracts/core/RewardManager/RewardManagerAbstract.sol +5 -17
- package/contracts/core/StandardizedYield/SYBase.sol +9 -40
- package/contracts/core/StandardizedYield/SYBaseUpg.sol +10 -37
- package/contracts/core/StandardizedYield/SYBaseWithRewards.sol +8 -39
- package/contracts/core/StandardizedYield/SYBaseWithRewardsUpg.sol +9 -40
- package/contracts/core/StandardizedYield/SYUtils.sol +1 -4
- package/contracts/core/StandardizedYield/StEthHelper.sol +3 -9
- package/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol +4 -12
- package/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol +5 -19
- package/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol +4 -14
- package/contracts/core/StandardizedYield/implementations/BalancerStable/AuraSwEthBbAWethSYV2.sol +4 -14
- package/contracts/core/StandardizedYield/implementations/BalancerStable/AuraWethVethSYUpg.sol +17 -22
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol +3 -7
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol +12 -29
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol +12 -29
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol +12 -29
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol +14 -39
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol +7 -28
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol +13 -30
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewProxy.sol +1 -1
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV4.sol +50 -153
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreviewV5.sol +50 -157
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol +4 -16
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol +6 -25
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol +36 -34
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol +4 -13
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol +20 -58
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol +28 -79
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV3Upg.sol +34 -87
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol +1 -3
- package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol +2 -6
- package/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol +5 -13
- package/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol +9 -29
- package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol +2 -8
- package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol +1 -5
- package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol +8 -19
- package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol +7 -25
- package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol +8 -27
- package/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkReceiver.sol +2 -2
- package/contracts/core/StandardizedYield/implementations/ChainlinkRelayer/PendleChainlinkRelayer.sol +4 -9
- package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol +3 -15
- package/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol +5 -23
- package/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol +10 -40
- package/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol +2 -8
- package/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol +2 -7
- package/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol +5 -20
- package/contracts/core/StandardizedYield/implementations/Flux/FluxTokenLib.sol +6 -4
- package/contracts/core/StandardizedYield/implementations/Flux/PendleFluxLendingSY.sol +3 -11
- package/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol +3 -9
- package/contracts/core/StandardizedYield/implementations/GLP/GMTokenPricingHelper.sol +115 -0
- package/contracts/core/StandardizedYield/implementations/GLP/PendleGMV2TokenSY.sol +134 -0
- package/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol +5 -19
- package/contracts/core/StandardizedYield/implementations/HMX/HLPPricingHelper.sol +3 -4
- package/contracts/core/StandardizedYield/implementations/HMX/PendleHlpSY.sol +18 -25
- package/contracts/core/StandardizedYield/implementations/Kyber/KyberMathHelper.sol +96 -61
- package/contracts/core/StandardizedYield/implementations/Kyber/KyberNftManagerBaseUpg.sol +58 -31
- package/contracts/core/StandardizedYield/implementations/Kyber/PendleKyberElasticSYUpg.sol +44 -42
- package/contracts/core/StandardizedYield/implementations/Kyber/libraries/FullMath.sol +98 -107
- package/contracts/core/StandardizedYield/implementations/Kyber/libraries/LiqDeltaMath.sol +7 -8
- package/contracts/core/StandardizedYield/implementations/Kyber/libraries/LiquidityMath.sol +58 -59
- package/contracts/core/StandardizedYield/implementations/Kyber/libraries/MathConstants.sol +9 -11
- package/contracts/core/StandardizedYield/implementations/Kyber/libraries/QtyDeltaMath.sol +81 -95
- package/contracts/core/StandardizedYield/implementations/Kyber/libraries/QuadMath.sol +19 -25
- package/contracts/core/StandardizedYield/implementations/Kyber/libraries/ReinvestmentMath.sol +15 -20
- package/contracts/core/StandardizedYield/implementations/Kyber/libraries/SafeCast.sol +53 -55
- package/contracts/core/StandardizedYield/implementations/Kyber/libraries/SwapMath.sol +21 -87
- package/contracts/core/StandardizedYield/implementations/Kyber/libraries/TickMath.sol +208 -209
- package/contracts/core/StandardizedYield/implementations/MUX/MlpPricingHelper.sol +26 -0
- package/contracts/core/StandardizedYield/implementations/MUX/PendleMlpSY.sol +195 -0
- package/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleMantleStakedEthSY.sol +12 -41
- package/contracts/core/StandardizedYield/implementations/MantleStakedEth/PendleOracleForSyProxy.sol +1 -1
- package/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol +13 -42
- package/contracts/core/StandardizedYield/implementations/PendleBridgedLSDSY.sol +4 -11
- package/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol +4 -16
- package/contracts/core/StandardizedYield/implementations/PendleEUSDSY.sol +3 -11
- package/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol +3 -11
- package/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol +5 -18
- package/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol +3 -7
- package/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol +5 -18
- package/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol +3 -10
- package/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol +4 -12
- package/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveSY.sol +3 -11
- package/contracts/core/StandardizedYield/implementations/Stader/PendleETHXSY.sol +4 -12
- package/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol +4 -12
- package/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol +9 -29
- package/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol +3 -10
- package/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol +9 -30
- package/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol +10 -40
- package/contracts/core/YieldContracts/InterestManagerYT.sol +4 -8
- package/contracts/core/YieldContracts/PendlePrincipalToken.sol +1 -1
- package/contracts/core/YieldContracts/PendleYieldContractFactory.sol +2 -3
- package/contracts/core/YieldContracts/PendleYieldToken.sol +12 -44
- package/contracts/core/YieldContractsV2/InterestManagerYTV2.sol +5 -14
- package/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol +1 -1
- package/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol +2 -3
- package/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol +12 -47
- package/contracts/core/erc20/PendleERC20.sol +2 -8
- package/contracts/core/erc20/PendleERC20Permit.sol +2 -6
- package/contracts/core/erc20/PendleERC20PermitUpg.sol +2 -7
- package/contracts/core/erc20/PendleERC20Upg.sol +3 -9
- package/contracts/core/libraries/ArrayLib.sol +2 -8
- package/contracts/core/libraries/BaseSplitCodeFactory.sol +1 -6
- package/contracts/core/libraries/Errors.sol +1 -4
- package/contracts/core/libraries/ExpiryUtilsLib.sol +3 -26
- package/contracts/core/libraries/StringLib.sol +5 -21
- package/contracts/core/libraries/TokenHelper.sol +3 -5
- package/contracts/core/libraries/math/LogExpMath.sol +1 -4
- package/contracts/core/libraries/math/PMath.sol +13 -15
- package/contracts/interfaces/Balancer/IComposableStable.sol +3 -4
- package/contracts/interfaces/Balancer/IERC4626LinearPool.sol +2 -10
- package/contracts/interfaces/Balancer/IMetaStablePool.sol +3 -11
- package/contracts/interfaces/Balancer/IVault.sol +3 -8
- package/contracts/interfaces/BinanceEth/IWBETH.sol +1 -1
- package/contracts/interfaces/Camelot/ICamelotNFTFactory.sol +1 -3
- package/contracts/interfaces/Camelot/ICamelotNFTHandler.sol +2 -10
- package/contracts/interfaces/Camelot/ICamelotNitroPool.sol +0 -1
- package/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol +3 -12
- package/contracts/interfaces/Camelot/ICamelotPair.sol +5 -25
- package/contracts/interfaces/Camelot/ICamelotRouter.sol +1 -5
- package/contracts/interfaces/Camelot/IXGrail.sol +3 -11
- package/contracts/interfaces/ConvexCurve/IBooster.sol +1 -3
- package/contracts/interfaces/Curve/ICrvPool.sol +3 -12
- package/contracts/interfaces/Curve/ITriCrvPool.sol +2 -9
- package/contracts/interfaces/Flux/IFluxErc20.sol +1 -1
- package/contracts/interfaces/Flux/IFluxInterestRateModel.sol +1 -5
- package/contracts/interfaces/GMX/IGMXPriceHelper.sol +6 -0
- package/contracts/interfaces/GMX/IGMXVault.sol +2 -9
- package/contracts/interfaces/GMX/IRewardRouterV2.sol +1 -4
- package/contracts/interfaces/HMX/IHLPStaking.sol +1 -1
- package/contracts/interfaces/HMX/IHMXCalculator.sol +1 -1
- package/contracts/interfaces/HMX/IHMXCompounder.sol +1 -1
- package/contracts/interfaces/HMX/IHMXStaking.sol +1 -1
- package/contracts/interfaces/HMX/IHMXVester.sol +1 -1
- package/contracts/interfaces/IApeStaking.sol +3 -9
- package/contracts/interfaces/IBenQiInterestRateModel.sol +1 -5
- package/contracts/interfaces/IDiamondCut.sol +1 -5
- package/contracts/interfaces/IDiamondLoupe.sol +1 -3
- package/contracts/interfaces/ILayerZeroReceiver.sol +1 -6
- package/contracts/interfaces/IPActionInfoStatic.sol +4 -7
- package/contracts/interfaces/IPActionMarketAuxStatic.sol +5 -9
- package/contracts/interfaces/IPActionMarketCoreStatic.sol +68 -106
- package/contracts/interfaces/IPActionMintRedeemStatic.sol +3 -16
- package/contracts/interfaces/IPActionStorageStatic.sol +1 -4
- package/contracts/interfaces/IPBulkSeller.sol +1 -6
- package/contracts/interfaces/IPFeeDistributor.sol +1 -3
- package/contracts/interfaces/IPFeeDistributorV2.sol +8 -7
- package/contracts/interfaces/IPGaugeController.sol +2 -8
- package/contracts/interfaces/IPGaugeControllerMainchain.sol +1 -5
- package/contracts/interfaces/IPInterestManagerYT.sol +1 -3
- package/contracts/interfaces/IPInterestManagerYTV2.sol +1 -4
- package/contracts/interfaces/IPLinearDistributor.sol +21 -0
- package/contracts/interfaces/IPMarket.sol +4 -17
- package/contracts/interfaces/IPMarketFactory.sol +2 -11
- package/contracts/interfaces/IPOffchainStorage.sol +11 -0
- package/contracts/interfaces/IPPriceFeed.sol +6 -0
- package/contracts/interfaces/IPPtOracle.sol +2 -9
- package/contracts/interfaces/IPRouterHelper.sol +12 -40
- package/contracts/interfaces/IPRouterStatic.sol +1 -3
- package/contracts/interfaces/IPVotingController.sol +7 -19
- package/contracts/interfaces/IPVotingEscrowMainchain.sol +2 -8
- package/contracts/interfaces/IPYieldToken.sol +1 -7
- package/contracts/interfaces/IPYieldTokenV2.sol +1 -6
- package/contracts/interfaces/IPendlePreviewHelper.sol +2 -8
- package/contracts/interfaces/IRewardManager.sol +1 -4
- package/contracts/interfaces/IStETH.sol +1 -4
- package/contracts/interfaces/IStandardizedYield.sol +9 -16
- package/contracts/interfaces/IStargateLP.sol +0 -3
- package/contracts/interfaces/IStargateRouter.sol +1 -5
- package/contracts/interfaces/Kyber/IKyberElasticFactory.sol +148 -156
- package/contracts/interfaces/Kyber/IKyberElasticPool.sol +96 -107
- package/contracts/interfaces/Kyber/IKyberElasticRouter.sol +82 -94
- package/contracts/interfaces/Kyber/IKyberLiquidityMining.sol +3 -21
- package/contracts/interfaces/Kyber/IKyberPositionManager.sol +4 -21
- package/contracts/interfaces/Lybra/IEUSD.sol +1 -1
- package/contracts/interfaces/MUX/IMUXRewardRouter.sol +139 -0
- package/contracts/interfaces/Silo/ISilo.sol +5 -24
- package/contracts/interfaces/Silo/ISiloIncentiveController.sol +1 -4
- package/contracts/interfaces/Silo/ISiloLens.sol +1 -4
- package/contracts/interfaces/Stader/IStaderStakeManager.sol +2 -2
- package/contracts/interfaces/Thena/IThenaFactory.sol +1 -5
- package/contracts/interfaces/Thena/IThenaGaugeV2.sol +1 -2
- package/contracts/interfaces/Thena/IThenaPair.sol +3 -5
- package/contracts/offchain-helpers/AddressProvider.sol +1 -1
- package/contracts/offchain-helpers/AutomateReady.sol +17 -32
- package/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol +4 -14
- package/contracts/offchain-helpers/BoringLpSeller.sol +4 -17
- package/contracts/offchain-helpers/BoringPtSeller.sol +2 -7
- package/contracts/offchain-helpers/Broadcaster.sol +2 -2
- package/contracts/offchain-helpers/BulkSellerOffchain.sol +6 -18
- package/contracts/offchain-helpers/EmptyUUPS.sol +1 -1
- package/contracts/offchain-helpers/LegacyNFTHelper.sol +4 -23
- package/contracts/offchain-helpers/MarketExchangeRateLib.sol +2 -13
- package/contracts/offchain-helpers/Multicall2.sol +2 -7
- package/contracts/offchain-helpers/PendleMulticallV1.sol +2 -4
- package/contracts/offchain-helpers/PendleMulticallV2.sol +13 -14
- package/contracts/offchain-helpers/PendleOffchainStorage.sol +59 -0
- package/contracts/offchain-helpers/PtAndLpToAsset.sol +2 -8
- package/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol +1 -4
- package/contracts/offchain-helpers/router-static/PendleRouterStatic.sol +1 -1
- package/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol +11 -25
- package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +14 -48
- package/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol +90 -196
- package/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol +5 -21
- package/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol +2 -6
- package/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol +1 -1
- package/contracts/offchain-helpers/router-static/base/StorageLayout.sol +1 -1
- package/contracts/oracles/PendleLpOracleLib.sol +2 -7
- package/contracts/oracles/PendlePtOracle.sol +5 -18
- package/contracts/oracles/PendlePtOracleLib.sol +4 -13
- package/contracts/oracles/samples/PendleLpGlpOracle.sol +6 -10
- package/contracts/oracles/samples/PendlePtGlpOracle.sol +6 -10
- package/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol +8 -15
- package/contracts/router/ActionAddRemoveLiq.sol +19 -112
- package/contracts/router/ActionMintRedeem.sol +1 -1
- package/contracts/router/ActionMisc.sol +1 -1
- package/contracts/router/ActionSwapPT.sol +7 -45
- package/contracts/router/ActionSwapYT.sol +9 -57
- package/contracts/router/PendleRouter.sol +1 -1
- package/contracts/router/PendleRouterHelper.sol +24 -120
- package/contracts/router/PendleRouterHelper2.sol +7 -6
- package/contracts/router/base/ActionBaseCallback.sol +13 -46
- package/contracts/router/base/ActionBaseMintRedeem.sol +12 -33
- package/contracts/router/base/CallbackHelper.sol +4 -24
- package/contracts/router/base/MarketApproxLib.sol +26 -80
- package/contracts/router/swap-aggregator/PendleSwap.sol +29 -16
- package/contracts/router/swap-aggregator/kyberswap/{IAggregationExecutor.sol → interfaces/IAggregationExecutor.sol} +2 -6
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutorOptimistic.sol +59 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol +320 -0
- package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol +560 -0
- package/contracts/router/swap-aggregator/kyberswap/{IMetaAggregationRouterV2.sol → interfaces/IMetaAggregationRouterV2.sol} +11 -6
- package/contracts/router/swap-aggregator/kyberswap/{KyberInputScalingHelper.sol → l1-contracts/InputScalingHelper.sol} +70 -19
- package/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol +257 -0
- package/contracts/router/swap-aggregator/kyberswap/l2-contracts/BytesHelper.sol +28 -0
- package/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol +148 -0
- package/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol +129 -0
- package/contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol +43 -0
- package/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol +376 -0
- package/contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol +64 -0
- package/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol +314 -0
- package/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol +189 -0
- package/contracts/router/swap-aggregator/oneinch/I1inchAggregationRouterV5.sol +4 -10
- package/contracts/router/swap-aggregator/oneinch/OneInchAggregationRouterHelper.sol +20 -14
- package/deployments/1-core.json +1 -1
- package/deployments/10-core.json +1 -1
- package/deployments/42161-core.json +3 -2
- package/deployments/42161-markets/ARBSILO-USDC-FEB2024.json +10 -0
- package/deployments/42161-markets/GM-ARB-USDC-MARCH2024.json +10 -0
- package/deployments/42161-markets/MLP-MARCH2024.json +10 -0
- package/deployments/56-core.json +1 -1
- package/package.json +8 -8
- package/typechain-types/ActionAddRemoveLiqV3.ts +1423 -0
- package/typechain-types/ActionMiscV3.ts +936 -0
- package/typechain-types/ActionSwapPTV3.ts +556 -0
- package/typechain-types/ActionSwapYTV3.ts +742 -0
- package/typechain-types/AuraEthxBbAWethSY.ts +65 -0
- package/typechain-types/AuraSwEthBbAWethSYV2.ts +65 -0
- package/typechain-types/AuraWethVethSYUpg.ts +65 -0
- package/typechain-types/EIP712.ts +135 -0
- package/typechain-types/EIP712Upgradeable.ts +83 -7
- package/typechain-types/ERC20Permit.ts +65 -0
- package/typechain-types/GMTokenPricingHelper.ts +478 -0
- package/typechain-types/IAggregationExecutorOptimistic.ts +394 -0
- package/typechain-types/ICamelotNFTPool.ts +5 -5
- package/typechain-types/ICamelotNitroPool.ts +5 -5
- package/typechain-types/{IRebasingUSTP.ts → IDaiLikePermit.ts} +63 -50
- package/typechain-types/IERC1271.ts +107 -0
- package/typechain-types/IERC1967.ts +97 -0
- package/typechain-types/IERC5267.ts +135 -0
- package/typechain-types/IERC5267Upgradeable.ts +135 -0
- package/typechain-types/IERC721.ts +5 -5
- package/typechain-types/IExecutorHelper.ts +666 -3
- package/typechain-types/IExecutorHelperL2.ts +2272 -0
- package/typechain-types/{MarketExtLib.ts → IGMXPriceHelper.ts} +16 -13
- package/typechain-types/{IStellaLendingPool.ts → IGMXV2DataStore.ts} +17 -17
- package/typechain-types/IGMXV2Oracle.ts +107 -0
- package/typechain-types/IGMXV2Reader.ts +204 -0
- package/typechain-types/ILimitOrderCallee.ts +179 -0
- package/typechain-types/IPActionAddRemoveLiqV3.ts +1423 -0
- package/typechain-types/IPActionMiscV3.ts +936 -0
- package/typechain-types/IPActionSwapPTV3.ts +556 -0
- package/typechain-types/IPActionSwapYTV3.ts +698 -0
- package/typechain-types/IPAllActionV3.ts +3191 -0
- package/typechain-types/IPLimitRouter.ts +531 -0
- package/typechain-types/IPLinearDistributor.ts +199 -0
- package/typechain-types/IPOffchainStorage.ts +20 -3
- package/typechain-types/IPOrderMixin.ts +349 -0
- package/typechain-types/MlpPricingHelper.ts +13 -0
- package/typechain-types/NonceManager.ts +209 -0
- package/typechain-types/PendleAnkrBNBSY.ts +65 -0
- package/typechain-types/PendleArbitrumStakedEthSY.ts +65 -0
- package/typechain-types/PendleAuraBalancerStableLPSYV2.ts +65 -0
- package/typechain-types/PendleAuraBalancerStableLPSYV3Upg.ts +65 -0
- package/typechain-types/PendleAuraBbAWethSwethSY.ts +65 -0
- package/typechain-types/PendleAuraWethAnkrethSYV2.ts +65 -0
- package/typechain-types/PendleAuraWethRocketEthSYV2.ts +65 -0
- package/typechain-types/PendleAuraWethStafiEthSY.ts +65 -0
- package/typechain-types/PendleAuraWethWstethSYV2.ts +65 -0
- package/typechain-types/PendleAuraWstethAnkreth.ts +65 -0
- package/typechain-types/PendleBridgedLSDSY.ts +65 -0
- package/typechain-types/PendleCamelotV1VolatileSY.ts +65 -0
- package/typechain-types/PendleConvexLPSY.ts +65 -0
- package/typechain-types/PendleCurveFraxUsdcSY.ts +65 -0
- package/typechain-types/PendleCurveUsdd3CrvSY.ts +65 -0
- package/typechain-types/PendleERC20Permit.ts +65 -0
- package/typechain-types/PendleERC20PermitUpg.ts +65 -0
- package/typechain-types/PendleERC4626SY.ts +65 -0
- package/typechain-types/PendleETHXSY.ts +65 -0
- package/typechain-types/PendleEUSDSY.ts +65 -0
- package/typechain-types/PendleFluxLendingSY.ts +65 -0
- package/typechain-types/PendleGDaiSY.ts +65 -0
- package/typechain-types/{PendleHyperStellaETH.ts → PendleGMV2TokenSY.ts} +236 -50
- package/typechain-types/PendleGlpSY.ts +65 -0
- package/typechain-types/PendleHlpSY.ts +65 -0
- package/typechain-types/PendleKyberElasticSYUpg.ts +65 -0
- package/typechain-types/PendleLimitRouter.ts +870 -0
- package/typechain-types/PendleLinearDistributor.ts +829 -0
- package/typechain-types/PendleLooksStakingSY.ts +65 -0
- package/typechain-types/PendleMantleStakedEthSY.ts +65 -0
- package/typechain-types/PendleMarket.ts +65 -0
- package/typechain-types/PendleMarketV2.ts +65 -0
- package/typechain-types/PendleMlpSY.ts +85 -1
- package/typechain-types/PendleOffchainStorage.ts +15 -0
- package/typechain-types/PendleOrderMixin.ts +688 -0
- package/typechain-types/PendlePrincipalToken.ts +65 -0
- package/typechain-types/PendlePrincipalTokenV2.ts +65 -0
- package/typechain-types/PendleQiTokenSY.ts +65 -0
- package/typechain-types/PendleRouterV3.ts +217 -0
- package/typechain-types/PendleSfrxEthSY.ts +65 -0
- package/typechain-types/PendleSiloWithIncentiveSY.ts +65 -0
- package/typechain-types/PendleStargateLPSY.ts +65 -0
- package/typechain-types/{IHashflow.ts → PendleSwapBase.ts} +43 -76
- package/typechain-types/PendleSwapL1.ts +126 -0
- package/typechain-types/PendleSwapL2.ts +126 -0
- package/typechain-types/PendleThenaSY.ts +65 -0
- package/typechain-types/PendleWbEthSY.ts +65 -0
- package/typechain-types/PendleWstEthSY.ts +65 -0
- package/typechain-types/PendleYieldToken.ts +65 -0
- package/typechain-types/PendleYieldTokenV2.ts +65 -0
- package/typechain-types/RouterV2InterfaceForRouterHelper.ts +479 -0
- package/typechain-types/SAPE.ts +65 -0
- package/typechain-types/SYBase.ts +65 -0
- package/typechain-types/SYBaseUpg.ts +65 -0
- package/typechain-types/SYBaseWithRewards.ts +65 -0
- package/typechain-types/SYBaseWithRewardsUpg.ts +65 -0
- package/typechain-types/{AutomationBase.ts → ShortStrings.ts} +5 -5
- package/typechain-types/{IStellaLendingProxy.ts → SimulateHelper.ts} +52 -50
- package/typechain-types/SwETHSY.ts +65 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +2837 -0
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +1090 -0
- package/typechain-types/factories/ActionMisc__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1356 -0
- package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1606 -0
- package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/AddressProvider__factory.ts +1 -1
- package/typechain-types/factories/AuraEthxBbAWethSY__factory.ts +66 -1
- package/typechain-types/factories/AuraSwEthBbAWethSYV2__factory.ts +66 -1
- package/typechain-types/factories/AuraWethVethSYUpg__factory.ts +50 -1
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +1 -1
- package/typechain-types/factories/BeaconProxy__factory.ts +1 -1
- package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
- package/typechain-types/factories/Broadcaster__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/CamelotRewardHelper__factory.ts +1 -1
- package/typechain-types/factories/CamelotV1VolatilePreview__factory.ts +1 -1
- package/typechain-types/factories/ChainlinkRelayerGelato__factory.ts +1 -1
- package/typechain-types/factories/ComposableStablePreviewProxy__factory.ts +1 -1
- package/typechain-types/factories/ComposableStablePreviewV4__factory.ts +1 -1
- package/typechain-types/factories/ComposableStablePreviewV5__factory.ts +1 -1
- package/typechain-types/factories/EIP712Upgradeable__factory.ts +49 -0
- package/typechain-types/factories/EIP712__factory.ts +85 -0
- package/typechain-types/factories/ERC20Permit__factory.ts +65 -0
- package/typechain-types/factories/ERC20__factory.ts +1 -1
- package/typechain-types/factories/EmptyUUPS__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +1 -1
- package/typechain-types/factories/GMTokenPricingHelper__factory.ts +354 -0
- package/typechain-types/factories/HLPPricingHelper__factory.ts +1 -1
- package/typechain-types/factories/IAggregationExecutorOptimistic__factory.ts +213 -0
- package/typechain-types/factories/ICamelotNFTPool__factory.ts +1 -1
- package/typechain-types/factories/ICamelotNitroPool__factory.ts +1 -1
- package/typechain-types/factories/IDaiLikePermit__factory.ts +74 -0
- package/typechain-types/factories/IERC1271__factory.ts +47 -0
- package/typechain-types/factories/IERC1967__factory.ts +68 -0
- package/typechain-types/factories/IERC5267Upgradeable__factory.ts +75 -0
- package/typechain-types/factories/IERC5267__factory.ts +72 -0
- package/typechain-types/factories/IERC721__factory.ts +1 -1
- package/typechain-types/factories/IExecutorHelperL2__factory.ts +1862 -0
- package/typechain-types/factories/IExecutorHelper__factory.ts +408 -0
- package/typechain-types/factories/{IStellaLendingPool__factory.ts → IGMXPriceHelper__factory.ts} +16 -10
- package/typechain-types/factories/IGMXV2DataStore__factory.ts +45 -0
- package/typechain-types/factories/IGMXV2Oracle__factory.ts +47 -0
- package/typechain-types/factories/IGMXV2Reader__factory.ts +192 -0
- package/typechain-types/factories/ILimitOrderCallee__factory.ts +92 -0
- package/typechain-types/factories/IPActionAddRemoveLiqV3__factory.ts +2603 -0
- package/typechain-types/factories/IPActionMiscV3__factory.ts +991 -0
- package/typechain-types/factories/IPActionSwapPTV3__factory.ts +1180 -0
- package/typechain-types/factories/IPActionSwapYTV3__factory.ts +1359 -0
- package/typechain-types/factories/IPAllActionV3__factory.ts +6147 -0
- package/typechain-types/factories/IPLimitRouter__factory.ts +661 -0
- package/typechain-types/factories/IPLinearDistributor__factory.ts +150 -0
- package/typechain-types/factories/IPOffchainStorage__factory.ts +19 -0
- package/typechain-types/factories/IPOrderMixin__factory.ts +450 -0
- package/typechain-types/factories/KyberMathHelper__factory.ts +1 -1
- package/typechain-types/factories/LegacyNFTHelper__factory.ts +1 -1
- package/typechain-types/factories/LinearPreview__factory.ts +1 -1
- package/typechain-types/factories/MetaStableMath__factory.ts +1 -1
- package/typechain-types/factories/MetaStablePreview__factory.ts +1 -1
- package/typechain-types/factories/MlpPricingHelper__factory.ts +14 -1
- package/typechain-types/factories/Multicall2__factory.ts +1 -1
- package/typechain-types/factories/NonceManager__factory.ts +149 -0
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/PendleAnkrBNBSY__factory.ts +66 -1
- package/typechain-types/factories/PendleArbitrumStakedEthSY__factory.ts +66 -1
- package/typechain-types/factories/PendleAuraBalancerStableLPSYV2__factory.ts +65 -0
- package/typechain-types/factories/PendleAuraBalancerStableLPSYV3Upg__factory.ts +49 -0
- package/typechain-types/factories/PendleAuraBbAWethSwethSY__factory.ts +66 -1
- package/typechain-types/factories/PendleAuraWethAnkrethSYV2__factory.ts +66 -1
- package/typechain-types/factories/PendleAuraWethRocketEthSYV2__factory.ts +66 -1
- package/typechain-types/factories/PendleAuraWethStafiEthSY__factory.ts +66 -1
- package/typechain-types/factories/PendleAuraWethVethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleAuraWethWstethSYV2__factory.ts +66 -1
- package/typechain-types/factories/PendleAuraWstethAnkreth__factory.ts +66 -1
- package/typechain-types/factories/PendleBridgedLSDSY__factory.ts +66 -1
- package/typechain-types/factories/PendleCamelotV1VolatileSY__factory.ts +66 -1
- package/typechain-types/factories/PendleChainlinkReceiver__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkRelayer__factory.ts +1 -1
- package/typechain-types/factories/PendleConvexLPSY__factory.ts +65 -0
- package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +66 -1
- package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +66 -1
- package/typechain-types/factories/PendleERC20PermitUpg__factory.ts +49 -0
- package/typechain-types/factories/PendleERC20Permit__factory.ts +66 -1
- package/typechain-types/factories/PendleERC20__factory.ts +1 -1
- package/typechain-types/factories/PendleERC4626SY__factory.ts +66 -1
- package/typechain-types/factories/PendleETHXSY__factory.ts +66 -1
- package/typechain-types/factories/PendleEUSDSY__factory.ts +66 -1
- package/typechain-types/factories/PendleExternalRewardDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleFluxLendingSY__factory.ts +66 -1
- package/typechain-types/factories/PendleGDaiSY__factory.ts +66 -1
- package/typechain-types/factories/PendleGMV2TokenSY__factory.ts +1240 -0
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleGlpSY__factory.ts +66 -1
- package/typechain-types/factories/PendleHlpSY__factory.ts +66 -1
- package/typechain-types/factories/PendleKyberElasticSYUpg__factory.ts +50 -1
- package/typechain-types/factories/PendleLimitRouter__factory.ts +934 -0
- package/typechain-types/factories/PendleLinearDistributor__factory.ts +627 -0
- package/typechain-types/factories/PendleLooksStakingSY__factory.ts +66 -1
- package/typechain-types/factories/PendleLpGlpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleMantleStakedEthSY__factory.ts +66 -1
- package/typechain-types/factories/PendleMarketFactoryV2__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketV2__factory.ts +66 -1
- package/typechain-types/factories/PendleMarket__factory.ts +66 -1
- package/typechain-types/factories/PendleMerkleDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleMlpSY__factory.ts +86 -2
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMulticallV1__factory.ts +1 -1
- package/typechain-types/factories/PendleMulticallV2__factory.ts +1 -1
- package/typechain-types/factories/PendleOffchainStorage__factory.ts +25 -1
- package/typechain-types/factories/PendleOracleForSyProxy__factory.ts +1 -1
- package/typechain-types/factories/PendleOrderMixin__factory.ts +669 -0
- package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +66 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +66 -1
- package/typechain-types/factories/PendlePtGlpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendlePtOracle__factory.ts +1 -1
- package/typechain-types/factories/PendlePtUsdChainlinkOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleQiTokenSY__factory.ts +66 -1
- package/typechain-types/factories/PendleRouterHelper2__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterV3__factory.ts +247 -0
- package/typechain-types/factories/PendleRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleSfrxEthSY__factory.ts +66 -1
- package/typechain-types/factories/PendleSiloWithIncentiveSY__factory.ts +66 -1
- package/typechain-types/factories/PendleStargateLPSY__factory.ts +66 -1
- package/typechain-types/factories/PendleSwapBase__factory.ts +91 -0
- package/typechain-types/factories/PendleSwapL1__factory.ts +126 -0
- package/typechain-types/factories/PendleSwapL2__factory.ts +126 -0
- package/typechain-types/factories/PendleSwap__factory.ts +1 -1
- package/typechain-types/factories/PendleThenaSY__factory.ts +66 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleWbEthSY__factory.ts +66 -1
- package/typechain-types/factories/PendleWstEthSY__factory.ts +66 -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 +66 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +66 -1
- package/typechain-types/factories/PtAndLpToAsset__factory.ts +1 -1
- package/typechain-types/factories/RouterV2InterfaceForRouterHelper__factory.ts +487 -0
- package/typechain-types/factories/SAPE__factory.ts +66 -1
- package/typechain-types/factories/SDKErrorsDirectory__factory.ts +1 -1
- package/typechain-types/factories/SYBaseUpg__factory.ts +49 -0
- package/typechain-types/factories/SYBaseWithRewardsUpg__factory.ts +49 -0
- package/typechain-types/factories/SYBaseWithRewards__factory.ts +65 -0
- package/typechain-types/factories/SYBase__factory.ts +65 -0
- package/typechain-types/factories/ShortStrings__factory.ts +77 -0
- package/typechain-types/factories/SimulateHelper__factory.ts +84 -0
- package/typechain-types/factories/SwETHSY__factory.ts +66 -1
- package/typechain-types/factories/ThenaPreview__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +459 -36
- package/typechain-types/index.ts +90 -8
- package/build/artifacts/contracts/offchain-helpers/ChainlinkRelayerAutomation.sol/ChainlinkRelayerAutomation.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/ChainlinkRelayerAutomation.sol/ChainlinkRelayerAutomation.json +0 -176
- package/build/artifacts/contracts/offchain-helpers/ChainlinkRelayerGelato.sol/ChainlinkRelayerGelato.dbg.json +0 -4
- package/build/artifacts/contracts/offchain-helpers/ChainlinkRelayerGelato.sol/ChainlinkRelayerGelato.json +0 -190
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +0 -4
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +0 -76
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +0 -4
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.dbg.json +0 -4
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +0 -4
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol/KyberInputScalingHelper.dbg.json +0 -4
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol/KyberInputScalingHelper.json +0 -10
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.dbg.json +0 -4
- package/contracts/offchain-helpers/ChainlinkRelayerAutomation.sol +0 -52
- package/contracts/offchain-helpers/ChainlinkRelayerGelato.sol +0 -36
- package/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol +0 -231
- package/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol +0 -186
- package/deployments/core.ts +0 -29
- package/deployments/index.ts +0 -4
- package/deployments/markets/ape-june-29-2023.ts +0 -3
- package/deployments/markets/balancer-reth-dec-28-2023.ts +0 -3
- package/deployments/markets/balancer-wsteth-jun-27-2024.ts +0 -3
- package/deployments/markets/curve-fraxusdc-march-30-2023.ts +0 -3
- package/deployments/markets/index.ts +0 -17
- package/deployments/markets/looks-march-30-2023.ts +0 -3
- package/deployments/markets/steth-june-29-2023.ts +0 -3
- package/deployments/markets/steth-march-30-2023.ts +0 -3
- package/deployments/markets/types.ts +0 -9
- package/deployments/misc.ts +0 -23
- package/typechain-types/AutomationCompatible.ts +0 -140
- package/typechain-types/AutomationCompatibleInterface.ts +0 -141
- package/typechain-types/BotDecisionHelperBase.ts +0 -508
- package/typechain-types/ChainlinkRelayerAutomation.ts +0 -305
- package/typechain-types/IBotDecisionHelper.ts +0 -476
- package/typechain-types/IInterestUSTP.ts +0 -156
- package/typechain-types/ILongYieldDecisionHelper.ts +0 -512
- package/typechain-types/ILongYieldTradingBot.ts +0 -703
- package/typechain-types/IShortYieldDecisionHelper.ts +0 -476
- package/typechain-types/IShortYieldTradingBot.ts +0 -574
- package/typechain-types/ITradingBotBase.ts +0 -373
- package/typechain-types/IUSTP.ts +0 -127
- package/typechain-types/KyberNftManagerBase.ts +0 -364
- package/typechain-types/LongYieldActionLib.ts +0 -57
- package/typechain-types/LongYieldDecisionHelper.ts +0 -682
- package/typechain-types/LongYieldTradingBot.ts +0 -2299
- package/typechain-types/PendleIUSTPSY.ts +0 -1255
- package/typechain-types/PendleKyberElasticSY.ts +0 -1803
- package/typechain-types/PendleStellaHyperETH.ts +0 -1235
- package/typechain-types/SYBaseWithDecimals.ts +0 -1205
- package/typechain-types/TradingBotBase.ts +0 -1861
- package/typechain-types/TvlLib.ts +0 -215
- package/typechain-types/factories/AutomationBase__factory.ts +0 -69
- package/typechain-types/factories/AutomationCompatibleInterface__factory.ts +0 -67
- package/typechain-types/factories/AutomationCompatible__factory.ts +0 -72
- package/typechain-types/factories/BotDecisionHelperBase__factory.ts +0 -835
- package/typechain-types/factories/ChainlinkRelayerAutomation__factory.ts +0 -238
- package/typechain-types/factories/IBotDecisionHelper__factory.ts +0 -694
- package/typechain-types/factories/IHashflow__factory.ts +0 -113
- package/typechain-types/factories/IInterestUSTP__factory.ts +0 -75
- package/typechain-types/factories/ILongYieldDecisionHelper__factory.ts +0 -717
- package/typechain-types/factories/ILongYieldTradingBot__factory.ts +0 -764
- package/typechain-types/factories/IRebasingUSTP__factory.ts +0 -49
- package/typechain-types/factories/IShortYieldDecisionHelper__factory.ts +0 -698
- package/typechain-types/factories/IShortYieldTradingBot__factory.ts +0 -813
- package/typechain-types/factories/IStellaLendingProxy__factory.ts +0 -74
- package/typechain-types/factories/ITradingBotBase__factory.ts +0 -366
- package/typechain-types/factories/IUSTP__factory.ts +0 -46
- package/typechain-types/factories/KyberNftManagerBase__factory.ts +0 -279
- package/typechain-types/factories/LongYieldActionLib__factory.ts +0 -207
- package/typechain-types/factories/LongYieldDecisionHelper__factory.ts +0 -1481
- package/typechain-types/factories/LongYieldTradingBot__factory.ts +0 -2159
- package/typechain-types/factories/MarketExtLib__factory.ts +0 -74
- package/typechain-types/factories/PendleHyperStellaETH__factory.ts +0 -1060
- package/typechain-types/factories/PendleIUSTPSY__factory.ts +0 -1061
- package/typechain-types/factories/PendleKyberElasticSY__factory.ts +0 -1505
- package/typechain-types/factories/PendleStellaHyperETH__factory.ts +0 -1034
- package/typechain-types/factories/SYBaseWithDecimals__factory.ts +0 -942
- package/typechain-types/factories/TradingBotBase__factory.ts +0 -1663
- package/typechain-types/factories/TvlLib__factory.ts +0 -309
|
@@ -0,0 +1,2837 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
+
import type {
|
|
7
|
+
ActionAddRemoveLiqV3,
|
|
8
|
+
ActionAddRemoveLiqV3Interface,
|
|
9
|
+
} from "../ActionAddRemoveLiqV3";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [],
|
|
14
|
+
name: "ApproxFail",
|
|
15
|
+
type: "error",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
inputs: [
|
|
19
|
+
{
|
|
20
|
+
internalType: "uint256",
|
|
21
|
+
name: "guessMin",
|
|
22
|
+
type: "uint256",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
internalType: "uint256",
|
|
26
|
+
name: "guessMax",
|
|
27
|
+
type: "uint256",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
internalType: "uint256",
|
|
31
|
+
name: "eps",
|
|
32
|
+
type: "uint256",
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
name: "ApproxParamsInvalid",
|
|
36
|
+
type: "error",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
inputs: [
|
|
40
|
+
{
|
|
41
|
+
internalType: "int256",
|
|
42
|
+
name: "exchangeRate",
|
|
43
|
+
type: "int256",
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
name: "MarketExchangeRateBelowOne",
|
|
47
|
+
type: "error",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
inputs: [],
|
|
51
|
+
name: "MarketExpired",
|
|
52
|
+
type: "error",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
inputs: [],
|
|
56
|
+
name: "MarketProportionMustNotEqualOne",
|
|
57
|
+
type: "error",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
inputs: [
|
|
61
|
+
{
|
|
62
|
+
internalType: "int256",
|
|
63
|
+
name: "proportion",
|
|
64
|
+
type: "int256",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
internalType: "int256",
|
|
68
|
+
name: "maxProportion",
|
|
69
|
+
type: "int256",
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
name: "MarketProportionTooHigh",
|
|
73
|
+
type: "error",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
inputs: [
|
|
77
|
+
{
|
|
78
|
+
internalType: "int256",
|
|
79
|
+
name: "rateScalar",
|
|
80
|
+
type: "int256",
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
name: "MarketRateScalarBelowZero",
|
|
84
|
+
type: "error",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
inputs: [],
|
|
88
|
+
name: "MarketZeroAmountsInput",
|
|
89
|
+
type: "error",
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
inputs: [],
|
|
93
|
+
name: "MarketZeroAmountsOutput",
|
|
94
|
+
type: "error",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
inputs: [
|
|
98
|
+
{
|
|
99
|
+
internalType: "int256",
|
|
100
|
+
name: "totalPt",
|
|
101
|
+
type: "int256",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
internalType: "int256",
|
|
105
|
+
name: "totalAsset",
|
|
106
|
+
type: "int256",
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
name: "MarketZeroTotalPtOrTotalAsset",
|
|
110
|
+
type: "error",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
inputs: [
|
|
114
|
+
{
|
|
115
|
+
internalType: "uint256",
|
|
116
|
+
name: "actualLpOut",
|
|
117
|
+
type: "uint256",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
internalType: "uint256",
|
|
121
|
+
name: "requiredLpOut",
|
|
122
|
+
type: "uint256",
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
name: "RouterInsufficientLpOut",
|
|
126
|
+
type: "error",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
inputs: [
|
|
130
|
+
{
|
|
131
|
+
internalType: "uint256",
|
|
132
|
+
name: "actualPtOut",
|
|
133
|
+
type: "uint256",
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
internalType: "uint256",
|
|
137
|
+
name: "requiredPtOut",
|
|
138
|
+
type: "uint256",
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
name: "RouterInsufficientPtOut",
|
|
142
|
+
type: "error",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
inputs: [
|
|
146
|
+
{
|
|
147
|
+
internalType: "uint256",
|
|
148
|
+
name: "actualSyOut",
|
|
149
|
+
type: "uint256",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
internalType: "uint256",
|
|
153
|
+
name: "requiredSyOut",
|
|
154
|
+
type: "uint256",
|
|
155
|
+
},
|
|
156
|
+
],
|
|
157
|
+
name: "RouterInsufficientSyOut",
|
|
158
|
+
type: "error",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
inputs: [
|
|
162
|
+
{
|
|
163
|
+
internalType: "uint256",
|
|
164
|
+
name: "actualTokenOut",
|
|
165
|
+
type: "uint256",
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
internalType: "uint256",
|
|
169
|
+
name: "requiredTokenOut",
|
|
170
|
+
type: "uint256",
|
|
171
|
+
},
|
|
172
|
+
],
|
|
173
|
+
name: "RouterInsufficientTokenOut",
|
|
174
|
+
type: "error",
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
inputs: [
|
|
178
|
+
{
|
|
179
|
+
internalType: "uint256",
|
|
180
|
+
name: "actualYtOut",
|
|
181
|
+
type: "uint256",
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
internalType: "uint256",
|
|
185
|
+
name: "requiredYtOut",
|
|
186
|
+
type: "uint256",
|
|
187
|
+
},
|
|
188
|
+
],
|
|
189
|
+
name: "RouterInsufficientYtOut",
|
|
190
|
+
type: "error",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
inputs: [
|
|
194
|
+
{
|
|
195
|
+
internalType: "uint256",
|
|
196
|
+
name: "netSyDesired",
|
|
197
|
+
type: "uint256",
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
internalType: "uint256",
|
|
201
|
+
name: "netSyUsed",
|
|
202
|
+
type: "uint256",
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
name: "RouterNotAllSyUsed",
|
|
206
|
+
type: "error",
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
anonymous: false,
|
|
210
|
+
inputs: [
|
|
211
|
+
{
|
|
212
|
+
indexed: true,
|
|
213
|
+
internalType: "address",
|
|
214
|
+
name: "caller",
|
|
215
|
+
type: "address",
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
indexed: true,
|
|
219
|
+
internalType: "address",
|
|
220
|
+
name: "market",
|
|
221
|
+
type: "address",
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
indexed: true,
|
|
225
|
+
internalType: "address",
|
|
226
|
+
name: "receiver",
|
|
227
|
+
type: "address",
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
indexed: false,
|
|
231
|
+
internalType: "uint256",
|
|
232
|
+
name: "netSyUsed",
|
|
233
|
+
type: "uint256",
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
indexed: false,
|
|
237
|
+
internalType: "uint256",
|
|
238
|
+
name: "netPtUsed",
|
|
239
|
+
type: "uint256",
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
indexed: false,
|
|
243
|
+
internalType: "uint256",
|
|
244
|
+
name: "netLpOut",
|
|
245
|
+
type: "uint256",
|
|
246
|
+
},
|
|
247
|
+
],
|
|
248
|
+
name: "AddLiquidityDualSyAndPt",
|
|
249
|
+
type: "event",
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
anonymous: false,
|
|
253
|
+
inputs: [
|
|
254
|
+
{
|
|
255
|
+
indexed: true,
|
|
256
|
+
internalType: "address",
|
|
257
|
+
name: "caller",
|
|
258
|
+
type: "address",
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
indexed: true,
|
|
262
|
+
internalType: "address",
|
|
263
|
+
name: "market",
|
|
264
|
+
type: "address",
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
indexed: true,
|
|
268
|
+
internalType: "address",
|
|
269
|
+
name: "tokenIn",
|
|
270
|
+
type: "address",
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
indexed: false,
|
|
274
|
+
internalType: "address",
|
|
275
|
+
name: "receiver",
|
|
276
|
+
type: "address",
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
indexed: false,
|
|
280
|
+
internalType: "uint256",
|
|
281
|
+
name: "netTokenUsed",
|
|
282
|
+
type: "uint256",
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
indexed: false,
|
|
286
|
+
internalType: "uint256",
|
|
287
|
+
name: "netPtUsed",
|
|
288
|
+
type: "uint256",
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
indexed: false,
|
|
292
|
+
internalType: "uint256",
|
|
293
|
+
name: "netLpOut",
|
|
294
|
+
type: "uint256",
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
indexed: false,
|
|
298
|
+
internalType: "uint256",
|
|
299
|
+
name: "netSyInterm",
|
|
300
|
+
type: "uint256",
|
|
301
|
+
},
|
|
302
|
+
],
|
|
303
|
+
name: "AddLiquidityDualTokenAndPt",
|
|
304
|
+
type: "event",
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
anonymous: false,
|
|
308
|
+
inputs: [
|
|
309
|
+
{
|
|
310
|
+
indexed: true,
|
|
311
|
+
internalType: "address",
|
|
312
|
+
name: "caller",
|
|
313
|
+
type: "address",
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
indexed: true,
|
|
317
|
+
internalType: "address",
|
|
318
|
+
name: "market",
|
|
319
|
+
type: "address",
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
indexed: true,
|
|
323
|
+
internalType: "address",
|
|
324
|
+
name: "receiver",
|
|
325
|
+
type: "address",
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
indexed: false,
|
|
329
|
+
internalType: "uint256",
|
|
330
|
+
name: "netPtIn",
|
|
331
|
+
type: "uint256",
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
indexed: false,
|
|
335
|
+
internalType: "uint256",
|
|
336
|
+
name: "netLpOut",
|
|
337
|
+
type: "uint256",
|
|
338
|
+
},
|
|
339
|
+
],
|
|
340
|
+
name: "AddLiquiditySinglePt",
|
|
341
|
+
type: "event",
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
anonymous: false,
|
|
345
|
+
inputs: [
|
|
346
|
+
{
|
|
347
|
+
indexed: true,
|
|
348
|
+
internalType: "address",
|
|
349
|
+
name: "caller",
|
|
350
|
+
type: "address",
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
indexed: true,
|
|
354
|
+
internalType: "address",
|
|
355
|
+
name: "market",
|
|
356
|
+
type: "address",
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
indexed: true,
|
|
360
|
+
internalType: "address",
|
|
361
|
+
name: "receiver",
|
|
362
|
+
type: "address",
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
indexed: false,
|
|
366
|
+
internalType: "uint256",
|
|
367
|
+
name: "netSyIn",
|
|
368
|
+
type: "uint256",
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
indexed: false,
|
|
372
|
+
internalType: "uint256",
|
|
373
|
+
name: "netLpOut",
|
|
374
|
+
type: "uint256",
|
|
375
|
+
},
|
|
376
|
+
],
|
|
377
|
+
name: "AddLiquiditySingleSy",
|
|
378
|
+
type: "event",
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
anonymous: false,
|
|
382
|
+
inputs: [
|
|
383
|
+
{
|
|
384
|
+
indexed: true,
|
|
385
|
+
internalType: "address",
|
|
386
|
+
name: "caller",
|
|
387
|
+
type: "address",
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
indexed: true,
|
|
391
|
+
internalType: "address",
|
|
392
|
+
name: "market",
|
|
393
|
+
type: "address",
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
indexed: true,
|
|
397
|
+
internalType: "address",
|
|
398
|
+
name: "receiver",
|
|
399
|
+
type: "address",
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
indexed: false,
|
|
403
|
+
internalType: "uint256",
|
|
404
|
+
name: "netSyIn",
|
|
405
|
+
type: "uint256",
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
indexed: false,
|
|
409
|
+
internalType: "uint256",
|
|
410
|
+
name: "netSyMintPy",
|
|
411
|
+
type: "uint256",
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
indexed: false,
|
|
415
|
+
internalType: "uint256",
|
|
416
|
+
name: "netLpOut",
|
|
417
|
+
type: "uint256",
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
indexed: false,
|
|
421
|
+
internalType: "uint256",
|
|
422
|
+
name: "netYtOut",
|
|
423
|
+
type: "uint256",
|
|
424
|
+
},
|
|
425
|
+
],
|
|
426
|
+
name: "AddLiquiditySingleSyKeepYt",
|
|
427
|
+
type: "event",
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
anonymous: false,
|
|
431
|
+
inputs: [
|
|
432
|
+
{
|
|
433
|
+
indexed: true,
|
|
434
|
+
internalType: "address",
|
|
435
|
+
name: "caller",
|
|
436
|
+
type: "address",
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
indexed: true,
|
|
440
|
+
internalType: "address",
|
|
441
|
+
name: "market",
|
|
442
|
+
type: "address",
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
indexed: true,
|
|
446
|
+
internalType: "address",
|
|
447
|
+
name: "token",
|
|
448
|
+
type: "address",
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
indexed: false,
|
|
452
|
+
internalType: "address",
|
|
453
|
+
name: "receiver",
|
|
454
|
+
type: "address",
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
indexed: false,
|
|
458
|
+
internalType: "uint256",
|
|
459
|
+
name: "netTokenIn",
|
|
460
|
+
type: "uint256",
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
indexed: false,
|
|
464
|
+
internalType: "uint256",
|
|
465
|
+
name: "netLpOut",
|
|
466
|
+
type: "uint256",
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
indexed: false,
|
|
470
|
+
internalType: "uint256",
|
|
471
|
+
name: "netSyInterm",
|
|
472
|
+
type: "uint256",
|
|
473
|
+
},
|
|
474
|
+
],
|
|
475
|
+
name: "AddLiquiditySingleToken",
|
|
476
|
+
type: "event",
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
anonymous: false,
|
|
480
|
+
inputs: [
|
|
481
|
+
{
|
|
482
|
+
indexed: true,
|
|
483
|
+
internalType: "address",
|
|
484
|
+
name: "caller",
|
|
485
|
+
type: "address",
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
indexed: true,
|
|
489
|
+
internalType: "address",
|
|
490
|
+
name: "market",
|
|
491
|
+
type: "address",
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
indexed: true,
|
|
495
|
+
internalType: "address",
|
|
496
|
+
name: "token",
|
|
497
|
+
type: "address",
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
indexed: false,
|
|
501
|
+
internalType: "address",
|
|
502
|
+
name: "receiver",
|
|
503
|
+
type: "address",
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
indexed: false,
|
|
507
|
+
internalType: "uint256",
|
|
508
|
+
name: "netTokenIn",
|
|
509
|
+
type: "uint256",
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
indexed: false,
|
|
513
|
+
internalType: "uint256",
|
|
514
|
+
name: "netSyMintPy",
|
|
515
|
+
type: "uint256",
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
indexed: false,
|
|
519
|
+
internalType: "uint256",
|
|
520
|
+
name: "netLpOut",
|
|
521
|
+
type: "uint256",
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
indexed: false,
|
|
525
|
+
internalType: "uint256",
|
|
526
|
+
name: "netYtOut",
|
|
527
|
+
type: "uint256",
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
indexed: false,
|
|
531
|
+
internalType: "uint256",
|
|
532
|
+
name: "netSyInterm",
|
|
533
|
+
type: "uint256",
|
|
534
|
+
},
|
|
535
|
+
],
|
|
536
|
+
name: "AddLiquiditySingleTokenKeepYt",
|
|
537
|
+
type: "event",
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
anonymous: false,
|
|
541
|
+
inputs: [
|
|
542
|
+
{
|
|
543
|
+
indexed: true,
|
|
544
|
+
internalType: "address",
|
|
545
|
+
name: "caller",
|
|
546
|
+
type: "address",
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
indexed: true,
|
|
550
|
+
internalType: "address",
|
|
551
|
+
name: "market",
|
|
552
|
+
type: "address",
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
indexed: true,
|
|
556
|
+
internalType: "address",
|
|
557
|
+
name: "receiver",
|
|
558
|
+
type: "address",
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
indexed: false,
|
|
562
|
+
internalType: "uint256",
|
|
563
|
+
name: "netLpToRemove",
|
|
564
|
+
type: "uint256",
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
indexed: false,
|
|
568
|
+
internalType: "uint256",
|
|
569
|
+
name: "netPtOut",
|
|
570
|
+
type: "uint256",
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
indexed: false,
|
|
574
|
+
internalType: "uint256",
|
|
575
|
+
name: "netSyOut",
|
|
576
|
+
type: "uint256",
|
|
577
|
+
},
|
|
578
|
+
],
|
|
579
|
+
name: "RemoveLiquidityDualSyAndPt",
|
|
580
|
+
type: "event",
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
anonymous: false,
|
|
584
|
+
inputs: [
|
|
585
|
+
{
|
|
586
|
+
indexed: true,
|
|
587
|
+
internalType: "address",
|
|
588
|
+
name: "caller",
|
|
589
|
+
type: "address",
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
indexed: true,
|
|
593
|
+
internalType: "address",
|
|
594
|
+
name: "market",
|
|
595
|
+
type: "address",
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
indexed: true,
|
|
599
|
+
internalType: "address",
|
|
600
|
+
name: "tokenOut",
|
|
601
|
+
type: "address",
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
indexed: false,
|
|
605
|
+
internalType: "address",
|
|
606
|
+
name: "receiver",
|
|
607
|
+
type: "address",
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
indexed: false,
|
|
611
|
+
internalType: "uint256",
|
|
612
|
+
name: "netLpToRemove",
|
|
613
|
+
type: "uint256",
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
indexed: false,
|
|
617
|
+
internalType: "uint256",
|
|
618
|
+
name: "netPtOut",
|
|
619
|
+
type: "uint256",
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
indexed: false,
|
|
623
|
+
internalType: "uint256",
|
|
624
|
+
name: "netTokenOut",
|
|
625
|
+
type: "uint256",
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
indexed: false,
|
|
629
|
+
internalType: "uint256",
|
|
630
|
+
name: "netSyInterm",
|
|
631
|
+
type: "uint256",
|
|
632
|
+
},
|
|
633
|
+
],
|
|
634
|
+
name: "RemoveLiquidityDualTokenAndPt",
|
|
635
|
+
type: "event",
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
anonymous: false,
|
|
639
|
+
inputs: [
|
|
640
|
+
{
|
|
641
|
+
indexed: true,
|
|
642
|
+
internalType: "address",
|
|
643
|
+
name: "caller",
|
|
644
|
+
type: "address",
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
indexed: true,
|
|
648
|
+
internalType: "address",
|
|
649
|
+
name: "market",
|
|
650
|
+
type: "address",
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
indexed: true,
|
|
654
|
+
internalType: "address",
|
|
655
|
+
name: "receiver",
|
|
656
|
+
type: "address",
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
indexed: false,
|
|
660
|
+
internalType: "uint256",
|
|
661
|
+
name: "netLpToRemove",
|
|
662
|
+
type: "uint256",
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
indexed: false,
|
|
666
|
+
internalType: "uint256",
|
|
667
|
+
name: "netPtOut",
|
|
668
|
+
type: "uint256",
|
|
669
|
+
},
|
|
670
|
+
],
|
|
671
|
+
name: "RemoveLiquiditySinglePt",
|
|
672
|
+
type: "event",
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
anonymous: false,
|
|
676
|
+
inputs: [
|
|
677
|
+
{
|
|
678
|
+
indexed: true,
|
|
679
|
+
internalType: "address",
|
|
680
|
+
name: "caller",
|
|
681
|
+
type: "address",
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
indexed: true,
|
|
685
|
+
internalType: "address",
|
|
686
|
+
name: "market",
|
|
687
|
+
type: "address",
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
indexed: true,
|
|
691
|
+
internalType: "address",
|
|
692
|
+
name: "receiver",
|
|
693
|
+
type: "address",
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
indexed: false,
|
|
697
|
+
internalType: "uint256",
|
|
698
|
+
name: "netLpToRemove",
|
|
699
|
+
type: "uint256",
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
indexed: false,
|
|
703
|
+
internalType: "uint256",
|
|
704
|
+
name: "netSyOut",
|
|
705
|
+
type: "uint256",
|
|
706
|
+
},
|
|
707
|
+
],
|
|
708
|
+
name: "RemoveLiquiditySingleSy",
|
|
709
|
+
type: "event",
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
anonymous: false,
|
|
713
|
+
inputs: [
|
|
714
|
+
{
|
|
715
|
+
indexed: true,
|
|
716
|
+
internalType: "address",
|
|
717
|
+
name: "caller",
|
|
718
|
+
type: "address",
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
indexed: true,
|
|
722
|
+
internalType: "address",
|
|
723
|
+
name: "market",
|
|
724
|
+
type: "address",
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
indexed: true,
|
|
728
|
+
internalType: "address",
|
|
729
|
+
name: "token",
|
|
730
|
+
type: "address",
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
indexed: false,
|
|
734
|
+
internalType: "address",
|
|
735
|
+
name: "receiver",
|
|
736
|
+
type: "address",
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
indexed: false,
|
|
740
|
+
internalType: "uint256",
|
|
741
|
+
name: "netLpToRemove",
|
|
742
|
+
type: "uint256",
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
indexed: false,
|
|
746
|
+
internalType: "uint256",
|
|
747
|
+
name: "netTokenOut",
|
|
748
|
+
type: "uint256",
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
indexed: false,
|
|
752
|
+
internalType: "uint256",
|
|
753
|
+
name: "netSyInterm",
|
|
754
|
+
type: "uint256",
|
|
755
|
+
},
|
|
756
|
+
],
|
|
757
|
+
name: "RemoveLiquiditySingleToken",
|
|
758
|
+
type: "event",
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
inputs: [
|
|
762
|
+
{
|
|
763
|
+
internalType: "address",
|
|
764
|
+
name: "receiver",
|
|
765
|
+
type: "address",
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
internalType: "address",
|
|
769
|
+
name: "market",
|
|
770
|
+
type: "address",
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
internalType: "uint256",
|
|
774
|
+
name: "netSyDesired",
|
|
775
|
+
type: "uint256",
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
internalType: "uint256",
|
|
779
|
+
name: "netPtDesired",
|
|
780
|
+
type: "uint256",
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
internalType: "uint256",
|
|
784
|
+
name: "minLpOut",
|
|
785
|
+
type: "uint256",
|
|
786
|
+
},
|
|
787
|
+
],
|
|
788
|
+
name: "addLiquidityDualSyAndPt",
|
|
789
|
+
outputs: [
|
|
790
|
+
{
|
|
791
|
+
internalType: "uint256",
|
|
792
|
+
name: "netLpOut",
|
|
793
|
+
type: "uint256",
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
internalType: "uint256",
|
|
797
|
+
name: "netSyUsed",
|
|
798
|
+
type: "uint256",
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
internalType: "uint256",
|
|
802
|
+
name: "netPtUsed",
|
|
803
|
+
type: "uint256",
|
|
804
|
+
},
|
|
805
|
+
],
|
|
806
|
+
stateMutability: "nonpayable",
|
|
807
|
+
type: "function",
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
inputs: [
|
|
811
|
+
{
|
|
812
|
+
internalType: "address",
|
|
813
|
+
name: "receiver",
|
|
814
|
+
type: "address",
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
internalType: "address",
|
|
818
|
+
name: "market",
|
|
819
|
+
type: "address",
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
components: [
|
|
823
|
+
{
|
|
824
|
+
internalType: "address",
|
|
825
|
+
name: "tokenIn",
|
|
826
|
+
type: "address",
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
internalType: "uint256",
|
|
830
|
+
name: "netTokenIn",
|
|
831
|
+
type: "uint256",
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
internalType: "address",
|
|
835
|
+
name: "tokenMintSy",
|
|
836
|
+
type: "address",
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
internalType: "address",
|
|
840
|
+
name: "pendleSwap",
|
|
841
|
+
type: "address",
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
components: [
|
|
845
|
+
{
|
|
846
|
+
internalType: "enum SwapType",
|
|
847
|
+
name: "swapType",
|
|
848
|
+
type: "uint8",
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
internalType: "address",
|
|
852
|
+
name: "extRouter",
|
|
853
|
+
type: "address",
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
internalType: "bytes",
|
|
857
|
+
name: "extCalldata",
|
|
858
|
+
type: "bytes",
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
internalType: "bool",
|
|
862
|
+
name: "needScale",
|
|
863
|
+
type: "bool",
|
|
864
|
+
},
|
|
865
|
+
],
|
|
866
|
+
internalType: "struct SwapData",
|
|
867
|
+
name: "swapData",
|
|
868
|
+
type: "tuple",
|
|
869
|
+
},
|
|
870
|
+
],
|
|
871
|
+
internalType: "struct TokenInput",
|
|
872
|
+
name: "input",
|
|
873
|
+
type: "tuple",
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
internalType: "uint256",
|
|
877
|
+
name: "netPtDesired",
|
|
878
|
+
type: "uint256",
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
internalType: "uint256",
|
|
882
|
+
name: "minLpOut",
|
|
883
|
+
type: "uint256",
|
|
884
|
+
},
|
|
885
|
+
],
|
|
886
|
+
name: "addLiquidityDualTokenAndPt",
|
|
887
|
+
outputs: [
|
|
888
|
+
{
|
|
889
|
+
internalType: "uint256",
|
|
890
|
+
name: "netLpOut",
|
|
891
|
+
type: "uint256",
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
internalType: "uint256",
|
|
895
|
+
name: "netPtUsed",
|
|
896
|
+
type: "uint256",
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
internalType: "uint256",
|
|
900
|
+
name: "netSyInterm",
|
|
901
|
+
type: "uint256",
|
|
902
|
+
},
|
|
903
|
+
],
|
|
904
|
+
stateMutability: "payable",
|
|
905
|
+
type: "function",
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
inputs: [
|
|
909
|
+
{
|
|
910
|
+
internalType: "address",
|
|
911
|
+
name: "receiver",
|
|
912
|
+
type: "address",
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
internalType: "address",
|
|
916
|
+
name: "market",
|
|
917
|
+
type: "address",
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
internalType: "uint256",
|
|
921
|
+
name: "netPtIn",
|
|
922
|
+
type: "uint256",
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
internalType: "uint256",
|
|
926
|
+
name: "minLpOut",
|
|
927
|
+
type: "uint256",
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
components: [
|
|
931
|
+
{
|
|
932
|
+
internalType: "uint256",
|
|
933
|
+
name: "guessMin",
|
|
934
|
+
type: "uint256",
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
internalType: "uint256",
|
|
938
|
+
name: "guessMax",
|
|
939
|
+
type: "uint256",
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
internalType: "uint256",
|
|
943
|
+
name: "guessOffchain",
|
|
944
|
+
type: "uint256",
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
internalType: "uint256",
|
|
948
|
+
name: "maxIteration",
|
|
949
|
+
type: "uint256",
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
internalType: "uint256",
|
|
953
|
+
name: "eps",
|
|
954
|
+
type: "uint256",
|
|
955
|
+
},
|
|
956
|
+
],
|
|
957
|
+
internalType: "struct ApproxParams",
|
|
958
|
+
name: "guessPtSwapToSy",
|
|
959
|
+
type: "tuple",
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
components: [
|
|
963
|
+
{
|
|
964
|
+
internalType: "address",
|
|
965
|
+
name: "limitRouter",
|
|
966
|
+
type: "address",
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
internalType: "uint256",
|
|
970
|
+
name: "epsSkipMarket",
|
|
971
|
+
type: "uint256",
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
components: [
|
|
975
|
+
{
|
|
976
|
+
components: [
|
|
977
|
+
{
|
|
978
|
+
internalType: "uint256",
|
|
979
|
+
name: "salt",
|
|
980
|
+
type: "uint256",
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
internalType: "uint256",
|
|
984
|
+
name: "expiry",
|
|
985
|
+
type: "uint256",
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
internalType: "uint256",
|
|
989
|
+
name: "nonce",
|
|
990
|
+
type: "uint256",
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
internalType: "enum IPOrderMixinType.OrderType",
|
|
994
|
+
name: "orderType",
|
|
995
|
+
type: "uint8",
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
internalType: "address",
|
|
999
|
+
name: "token",
|
|
1000
|
+
type: "address",
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
internalType: "address",
|
|
1004
|
+
name: "YT",
|
|
1005
|
+
type: "address",
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
internalType: "address",
|
|
1009
|
+
name: "maker",
|
|
1010
|
+
type: "address",
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
internalType: "address",
|
|
1014
|
+
name: "receiver",
|
|
1015
|
+
type: "address",
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
internalType: "uint256",
|
|
1019
|
+
name: "makingAmount",
|
|
1020
|
+
type: "uint256",
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
internalType: "uint256",
|
|
1024
|
+
name: "lnImpliedRate",
|
|
1025
|
+
type: "uint256",
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
internalType: "uint256",
|
|
1029
|
+
name: "failSafeRate",
|
|
1030
|
+
type: "uint256",
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
internalType: "bytes",
|
|
1034
|
+
name: "permit",
|
|
1035
|
+
type: "bytes",
|
|
1036
|
+
},
|
|
1037
|
+
],
|
|
1038
|
+
internalType: "struct Order",
|
|
1039
|
+
name: "order",
|
|
1040
|
+
type: "tuple",
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
internalType: "bytes",
|
|
1044
|
+
name: "signature",
|
|
1045
|
+
type: "bytes",
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
internalType: "uint256",
|
|
1049
|
+
name: "makingAmount",
|
|
1050
|
+
type: "uint256",
|
|
1051
|
+
},
|
|
1052
|
+
],
|
|
1053
|
+
internalType: "struct FillOrderParams[]",
|
|
1054
|
+
name: "normalFills",
|
|
1055
|
+
type: "tuple[]",
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
components: [
|
|
1059
|
+
{
|
|
1060
|
+
components: [
|
|
1061
|
+
{
|
|
1062
|
+
internalType: "uint256",
|
|
1063
|
+
name: "salt",
|
|
1064
|
+
type: "uint256",
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
internalType: "uint256",
|
|
1068
|
+
name: "expiry",
|
|
1069
|
+
type: "uint256",
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
internalType: "uint256",
|
|
1073
|
+
name: "nonce",
|
|
1074
|
+
type: "uint256",
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
internalType: "enum IPOrderMixinType.OrderType",
|
|
1078
|
+
name: "orderType",
|
|
1079
|
+
type: "uint8",
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
internalType: "address",
|
|
1083
|
+
name: "token",
|
|
1084
|
+
type: "address",
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
internalType: "address",
|
|
1088
|
+
name: "YT",
|
|
1089
|
+
type: "address",
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
internalType: "address",
|
|
1093
|
+
name: "maker",
|
|
1094
|
+
type: "address",
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
internalType: "address",
|
|
1098
|
+
name: "receiver",
|
|
1099
|
+
type: "address",
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
internalType: "uint256",
|
|
1103
|
+
name: "makingAmount",
|
|
1104
|
+
type: "uint256",
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
internalType: "uint256",
|
|
1108
|
+
name: "lnImpliedRate",
|
|
1109
|
+
type: "uint256",
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
internalType: "uint256",
|
|
1113
|
+
name: "failSafeRate",
|
|
1114
|
+
type: "uint256",
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
internalType: "bytes",
|
|
1118
|
+
name: "permit",
|
|
1119
|
+
type: "bytes",
|
|
1120
|
+
},
|
|
1121
|
+
],
|
|
1122
|
+
internalType: "struct Order",
|
|
1123
|
+
name: "order",
|
|
1124
|
+
type: "tuple",
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
internalType: "bytes",
|
|
1128
|
+
name: "signature",
|
|
1129
|
+
type: "bytes",
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
internalType: "uint256",
|
|
1133
|
+
name: "makingAmount",
|
|
1134
|
+
type: "uint256",
|
|
1135
|
+
},
|
|
1136
|
+
],
|
|
1137
|
+
internalType: "struct FillOrderParams[]",
|
|
1138
|
+
name: "flashFills",
|
|
1139
|
+
type: "tuple[]",
|
|
1140
|
+
},
|
|
1141
|
+
],
|
|
1142
|
+
internalType: "struct LimitOrderData",
|
|
1143
|
+
name: "limit",
|
|
1144
|
+
type: "tuple",
|
|
1145
|
+
},
|
|
1146
|
+
],
|
|
1147
|
+
name: "addLiquiditySinglePt",
|
|
1148
|
+
outputs: [
|
|
1149
|
+
{
|
|
1150
|
+
internalType: "uint256",
|
|
1151
|
+
name: "netLpOut",
|
|
1152
|
+
type: "uint256",
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
internalType: "uint256",
|
|
1156
|
+
name: "netSyFee",
|
|
1157
|
+
type: "uint256",
|
|
1158
|
+
},
|
|
1159
|
+
],
|
|
1160
|
+
stateMutability: "nonpayable",
|
|
1161
|
+
type: "function",
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
inputs: [
|
|
1165
|
+
{
|
|
1166
|
+
internalType: "address",
|
|
1167
|
+
name: "receiver",
|
|
1168
|
+
type: "address",
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
internalType: "address",
|
|
1172
|
+
name: "market",
|
|
1173
|
+
type: "address",
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
internalType: "uint256",
|
|
1177
|
+
name: "netSyIn",
|
|
1178
|
+
type: "uint256",
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
internalType: "uint256",
|
|
1182
|
+
name: "minLpOut",
|
|
1183
|
+
type: "uint256",
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
components: [
|
|
1187
|
+
{
|
|
1188
|
+
internalType: "uint256",
|
|
1189
|
+
name: "guessMin",
|
|
1190
|
+
type: "uint256",
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
internalType: "uint256",
|
|
1194
|
+
name: "guessMax",
|
|
1195
|
+
type: "uint256",
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
internalType: "uint256",
|
|
1199
|
+
name: "guessOffchain",
|
|
1200
|
+
type: "uint256",
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
internalType: "uint256",
|
|
1204
|
+
name: "maxIteration",
|
|
1205
|
+
type: "uint256",
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
internalType: "uint256",
|
|
1209
|
+
name: "eps",
|
|
1210
|
+
type: "uint256",
|
|
1211
|
+
},
|
|
1212
|
+
],
|
|
1213
|
+
internalType: "struct ApproxParams",
|
|
1214
|
+
name: "guessPtReceivedFromSy",
|
|
1215
|
+
type: "tuple",
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
components: [
|
|
1219
|
+
{
|
|
1220
|
+
internalType: "address",
|
|
1221
|
+
name: "limitRouter",
|
|
1222
|
+
type: "address",
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
internalType: "uint256",
|
|
1226
|
+
name: "epsSkipMarket",
|
|
1227
|
+
type: "uint256",
|
|
1228
|
+
},
|
|
1229
|
+
{
|
|
1230
|
+
components: [
|
|
1231
|
+
{
|
|
1232
|
+
components: [
|
|
1233
|
+
{
|
|
1234
|
+
internalType: "uint256",
|
|
1235
|
+
name: "salt",
|
|
1236
|
+
type: "uint256",
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
internalType: "uint256",
|
|
1240
|
+
name: "expiry",
|
|
1241
|
+
type: "uint256",
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
internalType: "uint256",
|
|
1245
|
+
name: "nonce",
|
|
1246
|
+
type: "uint256",
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
internalType: "enum IPOrderMixinType.OrderType",
|
|
1250
|
+
name: "orderType",
|
|
1251
|
+
type: "uint8",
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
internalType: "address",
|
|
1255
|
+
name: "token",
|
|
1256
|
+
type: "address",
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
internalType: "address",
|
|
1260
|
+
name: "YT",
|
|
1261
|
+
type: "address",
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
internalType: "address",
|
|
1265
|
+
name: "maker",
|
|
1266
|
+
type: "address",
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
internalType: "address",
|
|
1270
|
+
name: "receiver",
|
|
1271
|
+
type: "address",
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
internalType: "uint256",
|
|
1275
|
+
name: "makingAmount",
|
|
1276
|
+
type: "uint256",
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
internalType: "uint256",
|
|
1280
|
+
name: "lnImpliedRate",
|
|
1281
|
+
type: "uint256",
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
internalType: "uint256",
|
|
1285
|
+
name: "failSafeRate",
|
|
1286
|
+
type: "uint256",
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
internalType: "bytes",
|
|
1290
|
+
name: "permit",
|
|
1291
|
+
type: "bytes",
|
|
1292
|
+
},
|
|
1293
|
+
],
|
|
1294
|
+
internalType: "struct Order",
|
|
1295
|
+
name: "order",
|
|
1296
|
+
type: "tuple",
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
internalType: "bytes",
|
|
1300
|
+
name: "signature",
|
|
1301
|
+
type: "bytes",
|
|
1302
|
+
},
|
|
1303
|
+
{
|
|
1304
|
+
internalType: "uint256",
|
|
1305
|
+
name: "makingAmount",
|
|
1306
|
+
type: "uint256",
|
|
1307
|
+
},
|
|
1308
|
+
],
|
|
1309
|
+
internalType: "struct FillOrderParams[]",
|
|
1310
|
+
name: "normalFills",
|
|
1311
|
+
type: "tuple[]",
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
components: [
|
|
1315
|
+
{
|
|
1316
|
+
components: [
|
|
1317
|
+
{
|
|
1318
|
+
internalType: "uint256",
|
|
1319
|
+
name: "salt",
|
|
1320
|
+
type: "uint256",
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
internalType: "uint256",
|
|
1324
|
+
name: "expiry",
|
|
1325
|
+
type: "uint256",
|
|
1326
|
+
},
|
|
1327
|
+
{
|
|
1328
|
+
internalType: "uint256",
|
|
1329
|
+
name: "nonce",
|
|
1330
|
+
type: "uint256",
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
internalType: "enum IPOrderMixinType.OrderType",
|
|
1334
|
+
name: "orderType",
|
|
1335
|
+
type: "uint8",
|
|
1336
|
+
},
|
|
1337
|
+
{
|
|
1338
|
+
internalType: "address",
|
|
1339
|
+
name: "token",
|
|
1340
|
+
type: "address",
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
internalType: "address",
|
|
1344
|
+
name: "YT",
|
|
1345
|
+
type: "address",
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
internalType: "address",
|
|
1349
|
+
name: "maker",
|
|
1350
|
+
type: "address",
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
internalType: "address",
|
|
1354
|
+
name: "receiver",
|
|
1355
|
+
type: "address",
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
internalType: "uint256",
|
|
1359
|
+
name: "makingAmount",
|
|
1360
|
+
type: "uint256",
|
|
1361
|
+
},
|
|
1362
|
+
{
|
|
1363
|
+
internalType: "uint256",
|
|
1364
|
+
name: "lnImpliedRate",
|
|
1365
|
+
type: "uint256",
|
|
1366
|
+
},
|
|
1367
|
+
{
|
|
1368
|
+
internalType: "uint256",
|
|
1369
|
+
name: "failSafeRate",
|
|
1370
|
+
type: "uint256",
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
internalType: "bytes",
|
|
1374
|
+
name: "permit",
|
|
1375
|
+
type: "bytes",
|
|
1376
|
+
},
|
|
1377
|
+
],
|
|
1378
|
+
internalType: "struct Order",
|
|
1379
|
+
name: "order",
|
|
1380
|
+
type: "tuple",
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
internalType: "bytes",
|
|
1384
|
+
name: "signature",
|
|
1385
|
+
type: "bytes",
|
|
1386
|
+
},
|
|
1387
|
+
{
|
|
1388
|
+
internalType: "uint256",
|
|
1389
|
+
name: "makingAmount",
|
|
1390
|
+
type: "uint256",
|
|
1391
|
+
},
|
|
1392
|
+
],
|
|
1393
|
+
internalType: "struct FillOrderParams[]",
|
|
1394
|
+
name: "flashFills",
|
|
1395
|
+
type: "tuple[]",
|
|
1396
|
+
},
|
|
1397
|
+
],
|
|
1398
|
+
internalType: "struct LimitOrderData",
|
|
1399
|
+
name: "limit",
|
|
1400
|
+
type: "tuple",
|
|
1401
|
+
},
|
|
1402
|
+
],
|
|
1403
|
+
name: "addLiquiditySingleSy",
|
|
1404
|
+
outputs: [
|
|
1405
|
+
{
|
|
1406
|
+
internalType: "uint256",
|
|
1407
|
+
name: "netLpOut",
|
|
1408
|
+
type: "uint256",
|
|
1409
|
+
},
|
|
1410
|
+
{
|
|
1411
|
+
internalType: "uint256",
|
|
1412
|
+
name: "netSyFee",
|
|
1413
|
+
type: "uint256",
|
|
1414
|
+
},
|
|
1415
|
+
],
|
|
1416
|
+
stateMutability: "nonpayable",
|
|
1417
|
+
type: "function",
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
inputs: [
|
|
1421
|
+
{
|
|
1422
|
+
internalType: "address",
|
|
1423
|
+
name: "receiver",
|
|
1424
|
+
type: "address",
|
|
1425
|
+
},
|
|
1426
|
+
{
|
|
1427
|
+
internalType: "address",
|
|
1428
|
+
name: "market",
|
|
1429
|
+
type: "address",
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
internalType: "uint256",
|
|
1433
|
+
name: "netSyIn",
|
|
1434
|
+
type: "uint256",
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
internalType: "uint256",
|
|
1438
|
+
name: "minLpOut",
|
|
1439
|
+
type: "uint256",
|
|
1440
|
+
},
|
|
1441
|
+
{
|
|
1442
|
+
internalType: "uint256",
|
|
1443
|
+
name: "minYtOut",
|
|
1444
|
+
type: "uint256",
|
|
1445
|
+
},
|
|
1446
|
+
],
|
|
1447
|
+
name: "addLiquiditySingleSyKeepYt",
|
|
1448
|
+
outputs: [
|
|
1449
|
+
{
|
|
1450
|
+
internalType: "uint256",
|
|
1451
|
+
name: "netLpOut",
|
|
1452
|
+
type: "uint256",
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
internalType: "uint256",
|
|
1456
|
+
name: "netYtOut",
|
|
1457
|
+
type: "uint256",
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
internalType: "uint256",
|
|
1461
|
+
name: "netSyMintPy",
|
|
1462
|
+
type: "uint256",
|
|
1463
|
+
},
|
|
1464
|
+
],
|
|
1465
|
+
stateMutability: "nonpayable",
|
|
1466
|
+
type: "function",
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
inputs: [
|
|
1470
|
+
{
|
|
1471
|
+
internalType: "address",
|
|
1472
|
+
name: "receiver",
|
|
1473
|
+
type: "address",
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
internalType: "address",
|
|
1477
|
+
name: "market",
|
|
1478
|
+
type: "address",
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
internalType: "uint256",
|
|
1482
|
+
name: "minLpOut",
|
|
1483
|
+
type: "uint256",
|
|
1484
|
+
},
|
|
1485
|
+
{
|
|
1486
|
+
components: [
|
|
1487
|
+
{
|
|
1488
|
+
internalType: "uint256",
|
|
1489
|
+
name: "guessMin",
|
|
1490
|
+
type: "uint256",
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
internalType: "uint256",
|
|
1494
|
+
name: "guessMax",
|
|
1495
|
+
type: "uint256",
|
|
1496
|
+
},
|
|
1497
|
+
{
|
|
1498
|
+
internalType: "uint256",
|
|
1499
|
+
name: "guessOffchain",
|
|
1500
|
+
type: "uint256",
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
internalType: "uint256",
|
|
1504
|
+
name: "maxIteration",
|
|
1505
|
+
type: "uint256",
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
internalType: "uint256",
|
|
1509
|
+
name: "eps",
|
|
1510
|
+
type: "uint256",
|
|
1511
|
+
},
|
|
1512
|
+
],
|
|
1513
|
+
internalType: "struct ApproxParams",
|
|
1514
|
+
name: "guessPtReceivedFromSy",
|
|
1515
|
+
type: "tuple",
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
components: [
|
|
1519
|
+
{
|
|
1520
|
+
internalType: "address",
|
|
1521
|
+
name: "tokenIn",
|
|
1522
|
+
type: "address",
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
internalType: "uint256",
|
|
1526
|
+
name: "netTokenIn",
|
|
1527
|
+
type: "uint256",
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
internalType: "address",
|
|
1531
|
+
name: "tokenMintSy",
|
|
1532
|
+
type: "address",
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
internalType: "address",
|
|
1536
|
+
name: "pendleSwap",
|
|
1537
|
+
type: "address",
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
components: [
|
|
1541
|
+
{
|
|
1542
|
+
internalType: "enum SwapType",
|
|
1543
|
+
name: "swapType",
|
|
1544
|
+
type: "uint8",
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
internalType: "address",
|
|
1548
|
+
name: "extRouter",
|
|
1549
|
+
type: "address",
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
internalType: "bytes",
|
|
1553
|
+
name: "extCalldata",
|
|
1554
|
+
type: "bytes",
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
internalType: "bool",
|
|
1558
|
+
name: "needScale",
|
|
1559
|
+
type: "bool",
|
|
1560
|
+
},
|
|
1561
|
+
],
|
|
1562
|
+
internalType: "struct SwapData",
|
|
1563
|
+
name: "swapData",
|
|
1564
|
+
type: "tuple",
|
|
1565
|
+
},
|
|
1566
|
+
],
|
|
1567
|
+
internalType: "struct TokenInput",
|
|
1568
|
+
name: "input",
|
|
1569
|
+
type: "tuple",
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
components: [
|
|
1573
|
+
{
|
|
1574
|
+
internalType: "address",
|
|
1575
|
+
name: "limitRouter",
|
|
1576
|
+
type: "address",
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
internalType: "uint256",
|
|
1580
|
+
name: "epsSkipMarket",
|
|
1581
|
+
type: "uint256",
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
components: [
|
|
1585
|
+
{
|
|
1586
|
+
components: [
|
|
1587
|
+
{
|
|
1588
|
+
internalType: "uint256",
|
|
1589
|
+
name: "salt",
|
|
1590
|
+
type: "uint256",
|
|
1591
|
+
},
|
|
1592
|
+
{
|
|
1593
|
+
internalType: "uint256",
|
|
1594
|
+
name: "expiry",
|
|
1595
|
+
type: "uint256",
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
internalType: "uint256",
|
|
1599
|
+
name: "nonce",
|
|
1600
|
+
type: "uint256",
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
internalType: "enum IPOrderMixinType.OrderType",
|
|
1604
|
+
name: "orderType",
|
|
1605
|
+
type: "uint8",
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
internalType: "address",
|
|
1609
|
+
name: "token",
|
|
1610
|
+
type: "address",
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
internalType: "address",
|
|
1614
|
+
name: "YT",
|
|
1615
|
+
type: "address",
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
internalType: "address",
|
|
1619
|
+
name: "maker",
|
|
1620
|
+
type: "address",
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
internalType: "address",
|
|
1624
|
+
name: "receiver",
|
|
1625
|
+
type: "address",
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
internalType: "uint256",
|
|
1629
|
+
name: "makingAmount",
|
|
1630
|
+
type: "uint256",
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
internalType: "uint256",
|
|
1634
|
+
name: "lnImpliedRate",
|
|
1635
|
+
type: "uint256",
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
internalType: "uint256",
|
|
1639
|
+
name: "failSafeRate",
|
|
1640
|
+
type: "uint256",
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
internalType: "bytes",
|
|
1644
|
+
name: "permit",
|
|
1645
|
+
type: "bytes",
|
|
1646
|
+
},
|
|
1647
|
+
],
|
|
1648
|
+
internalType: "struct Order",
|
|
1649
|
+
name: "order",
|
|
1650
|
+
type: "tuple",
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
internalType: "bytes",
|
|
1654
|
+
name: "signature",
|
|
1655
|
+
type: "bytes",
|
|
1656
|
+
},
|
|
1657
|
+
{
|
|
1658
|
+
internalType: "uint256",
|
|
1659
|
+
name: "makingAmount",
|
|
1660
|
+
type: "uint256",
|
|
1661
|
+
},
|
|
1662
|
+
],
|
|
1663
|
+
internalType: "struct FillOrderParams[]",
|
|
1664
|
+
name: "normalFills",
|
|
1665
|
+
type: "tuple[]",
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
components: [
|
|
1669
|
+
{
|
|
1670
|
+
components: [
|
|
1671
|
+
{
|
|
1672
|
+
internalType: "uint256",
|
|
1673
|
+
name: "salt",
|
|
1674
|
+
type: "uint256",
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
internalType: "uint256",
|
|
1678
|
+
name: "expiry",
|
|
1679
|
+
type: "uint256",
|
|
1680
|
+
},
|
|
1681
|
+
{
|
|
1682
|
+
internalType: "uint256",
|
|
1683
|
+
name: "nonce",
|
|
1684
|
+
type: "uint256",
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
internalType: "enum IPOrderMixinType.OrderType",
|
|
1688
|
+
name: "orderType",
|
|
1689
|
+
type: "uint8",
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
internalType: "address",
|
|
1693
|
+
name: "token",
|
|
1694
|
+
type: "address",
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
internalType: "address",
|
|
1698
|
+
name: "YT",
|
|
1699
|
+
type: "address",
|
|
1700
|
+
},
|
|
1701
|
+
{
|
|
1702
|
+
internalType: "address",
|
|
1703
|
+
name: "maker",
|
|
1704
|
+
type: "address",
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
internalType: "address",
|
|
1708
|
+
name: "receiver",
|
|
1709
|
+
type: "address",
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
internalType: "uint256",
|
|
1713
|
+
name: "makingAmount",
|
|
1714
|
+
type: "uint256",
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
internalType: "uint256",
|
|
1718
|
+
name: "lnImpliedRate",
|
|
1719
|
+
type: "uint256",
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
internalType: "uint256",
|
|
1723
|
+
name: "failSafeRate",
|
|
1724
|
+
type: "uint256",
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
internalType: "bytes",
|
|
1728
|
+
name: "permit",
|
|
1729
|
+
type: "bytes",
|
|
1730
|
+
},
|
|
1731
|
+
],
|
|
1732
|
+
internalType: "struct Order",
|
|
1733
|
+
name: "order",
|
|
1734
|
+
type: "tuple",
|
|
1735
|
+
},
|
|
1736
|
+
{
|
|
1737
|
+
internalType: "bytes",
|
|
1738
|
+
name: "signature",
|
|
1739
|
+
type: "bytes",
|
|
1740
|
+
},
|
|
1741
|
+
{
|
|
1742
|
+
internalType: "uint256",
|
|
1743
|
+
name: "makingAmount",
|
|
1744
|
+
type: "uint256",
|
|
1745
|
+
},
|
|
1746
|
+
],
|
|
1747
|
+
internalType: "struct FillOrderParams[]",
|
|
1748
|
+
name: "flashFills",
|
|
1749
|
+
type: "tuple[]",
|
|
1750
|
+
},
|
|
1751
|
+
],
|
|
1752
|
+
internalType: "struct LimitOrderData",
|
|
1753
|
+
name: "limit",
|
|
1754
|
+
type: "tuple",
|
|
1755
|
+
},
|
|
1756
|
+
],
|
|
1757
|
+
name: "addLiquiditySingleToken",
|
|
1758
|
+
outputs: [
|
|
1759
|
+
{
|
|
1760
|
+
internalType: "uint256",
|
|
1761
|
+
name: "netLpOut",
|
|
1762
|
+
type: "uint256",
|
|
1763
|
+
},
|
|
1764
|
+
{
|
|
1765
|
+
internalType: "uint256",
|
|
1766
|
+
name: "netSyFee",
|
|
1767
|
+
type: "uint256",
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
internalType: "uint256",
|
|
1771
|
+
name: "netSyInterm",
|
|
1772
|
+
type: "uint256",
|
|
1773
|
+
},
|
|
1774
|
+
],
|
|
1775
|
+
stateMutability: "payable",
|
|
1776
|
+
type: "function",
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
inputs: [
|
|
1780
|
+
{
|
|
1781
|
+
internalType: "address",
|
|
1782
|
+
name: "receiver",
|
|
1783
|
+
type: "address",
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
internalType: "address",
|
|
1787
|
+
name: "market",
|
|
1788
|
+
type: "address",
|
|
1789
|
+
},
|
|
1790
|
+
{
|
|
1791
|
+
internalType: "uint256",
|
|
1792
|
+
name: "minLpOut",
|
|
1793
|
+
type: "uint256",
|
|
1794
|
+
},
|
|
1795
|
+
{
|
|
1796
|
+
internalType: "uint256",
|
|
1797
|
+
name: "minYtOut",
|
|
1798
|
+
type: "uint256",
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
components: [
|
|
1802
|
+
{
|
|
1803
|
+
internalType: "address",
|
|
1804
|
+
name: "tokenIn",
|
|
1805
|
+
type: "address",
|
|
1806
|
+
},
|
|
1807
|
+
{
|
|
1808
|
+
internalType: "uint256",
|
|
1809
|
+
name: "netTokenIn",
|
|
1810
|
+
type: "uint256",
|
|
1811
|
+
},
|
|
1812
|
+
{
|
|
1813
|
+
internalType: "address",
|
|
1814
|
+
name: "tokenMintSy",
|
|
1815
|
+
type: "address",
|
|
1816
|
+
},
|
|
1817
|
+
{
|
|
1818
|
+
internalType: "address",
|
|
1819
|
+
name: "pendleSwap",
|
|
1820
|
+
type: "address",
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
components: [
|
|
1824
|
+
{
|
|
1825
|
+
internalType: "enum SwapType",
|
|
1826
|
+
name: "swapType",
|
|
1827
|
+
type: "uint8",
|
|
1828
|
+
},
|
|
1829
|
+
{
|
|
1830
|
+
internalType: "address",
|
|
1831
|
+
name: "extRouter",
|
|
1832
|
+
type: "address",
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
internalType: "bytes",
|
|
1836
|
+
name: "extCalldata",
|
|
1837
|
+
type: "bytes",
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
internalType: "bool",
|
|
1841
|
+
name: "needScale",
|
|
1842
|
+
type: "bool",
|
|
1843
|
+
},
|
|
1844
|
+
],
|
|
1845
|
+
internalType: "struct SwapData",
|
|
1846
|
+
name: "swapData",
|
|
1847
|
+
type: "tuple",
|
|
1848
|
+
},
|
|
1849
|
+
],
|
|
1850
|
+
internalType: "struct TokenInput",
|
|
1851
|
+
name: "input",
|
|
1852
|
+
type: "tuple",
|
|
1853
|
+
},
|
|
1854
|
+
],
|
|
1855
|
+
name: "addLiquiditySingleTokenKeepYt",
|
|
1856
|
+
outputs: [
|
|
1857
|
+
{
|
|
1858
|
+
internalType: "uint256",
|
|
1859
|
+
name: "netLpOut",
|
|
1860
|
+
type: "uint256",
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
internalType: "uint256",
|
|
1864
|
+
name: "netYtOut",
|
|
1865
|
+
type: "uint256",
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
internalType: "uint256",
|
|
1869
|
+
name: "netSyMintPy",
|
|
1870
|
+
type: "uint256",
|
|
1871
|
+
},
|
|
1872
|
+
{
|
|
1873
|
+
internalType: "uint256",
|
|
1874
|
+
name: "netSyInterm",
|
|
1875
|
+
type: "uint256",
|
|
1876
|
+
},
|
|
1877
|
+
],
|
|
1878
|
+
stateMutability: "payable",
|
|
1879
|
+
type: "function",
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
inputs: [
|
|
1883
|
+
{
|
|
1884
|
+
internalType: "address",
|
|
1885
|
+
name: "receiver",
|
|
1886
|
+
type: "address",
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
internalType: "address",
|
|
1890
|
+
name: "market",
|
|
1891
|
+
type: "address",
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
internalType: "uint256",
|
|
1895
|
+
name: "netLpToRemove",
|
|
1896
|
+
type: "uint256",
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
internalType: "uint256",
|
|
1900
|
+
name: "minSyOut",
|
|
1901
|
+
type: "uint256",
|
|
1902
|
+
},
|
|
1903
|
+
{
|
|
1904
|
+
internalType: "uint256",
|
|
1905
|
+
name: "minPtOut",
|
|
1906
|
+
type: "uint256",
|
|
1907
|
+
},
|
|
1908
|
+
],
|
|
1909
|
+
name: "removeLiquidityDualSyAndPt",
|
|
1910
|
+
outputs: [
|
|
1911
|
+
{
|
|
1912
|
+
internalType: "uint256",
|
|
1913
|
+
name: "netSyOut",
|
|
1914
|
+
type: "uint256",
|
|
1915
|
+
},
|
|
1916
|
+
{
|
|
1917
|
+
internalType: "uint256",
|
|
1918
|
+
name: "netPtOut",
|
|
1919
|
+
type: "uint256",
|
|
1920
|
+
},
|
|
1921
|
+
],
|
|
1922
|
+
stateMutability: "nonpayable",
|
|
1923
|
+
type: "function",
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
inputs: [
|
|
1927
|
+
{
|
|
1928
|
+
internalType: "address",
|
|
1929
|
+
name: "receiver",
|
|
1930
|
+
type: "address",
|
|
1931
|
+
},
|
|
1932
|
+
{
|
|
1933
|
+
internalType: "address",
|
|
1934
|
+
name: "market",
|
|
1935
|
+
type: "address",
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
internalType: "uint256",
|
|
1939
|
+
name: "netLpToRemove",
|
|
1940
|
+
type: "uint256",
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
components: [
|
|
1944
|
+
{
|
|
1945
|
+
internalType: "address",
|
|
1946
|
+
name: "tokenOut",
|
|
1947
|
+
type: "address",
|
|
1948
|
+
},
|
|
1949
|
+
{
|
|
1950
|
+
internalType: "uint256",
|
|
1951
|
+
name: "minTokenOut",
|
|
1952
|
+
type: "uint256",
|
|
1953
|
+
},
|
|
1954
|
+
{
|
|
1955
|
+
internalType: "address",
|
|
1956
|
+
name: "tokenRedeemSy",
|
|
1957
|
+
type: "address",
|
|
1958
|
+
},
|
|
1959
|
+
{
|
|
1960
|
+
internalType: "address",
|
|
1961
|
+
name: "pendleSwap",
|
|
1962
|
+
type: "address",
|
|
1963
|
+
},
|
|
1964
|
+
{
|
|
1965
|
+
components: [
|
|
1966
|
+
{
|
|
1967
|
+
internalType: "enum SwapType",
|
|
1968
|
+
name: "swapType",
|
|
1969
|
+
type: "uint8",
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
internalType: "address",
|
|
1973
|
+
name: "extRouter",
|
|
1974
|
+
type: "address",
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
internalType: "bytes",
|
|
1978
|
+
name: "extCalldata",
|
|
1979
|
+
type: "bytes",
|
|
1980
|
+
},
|
|
1981
|
+
{
|
|
1982
|
+
internalType: "bool",
|
|
1983
|
+
name: "needScale",
|
|
1984
|
+
type: "bool",
|
|
1985
|
+
},
|
|
1986
|
+
],
|
|
1987
|
+
internalType: "struct SwapData",
|
|
1988
|
+
name: "swapData",
|
|
1989
|
+
type: "tuple",
|
|
1990
|
+
},
|
|
1991
|
+
],
|
|
1992
|
+
internalType: "struct TokenOutput",
|
|
1993
|
+
name: "output",
|
|
1994
|
+
type: "tuple",
|
|
1995
|
+
},
|
|
1996
|
+
{
|
|
1997
|
+
internalType: "uint256",
|
|
1998
|
+
name: "minPtOut",
|
|
1999
|
+
type: "uint256",
|
|
2000
|
+
},
|
|
2001
|
+
],
|
|
2002
|
+
name: "removeLiquidityDualTokenAndPt",
|
|
2003
|
+
outputs: [
|
|
2004
|
+
{
|
|
2005
|
+
internalType: "uint256",
|
|
2006
|
+
name: "netTokenOut",
|
|
2007
|
+
type: "uint256",
|
|
2008
|
+
},
|
|
2009
|
+
{
|
|
2010
|
+
internalType: "uint256",
|
|
2011
|
+
name: "netPtOut",
|
|
2012
|
+
type: "uint256",
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
internalType: "uint256",
|
|
2016
|
+
name: "netSyInterm",
|
|
2017
|
+
type: "uint256",
|
|
2018
|
+
},
|
|
2019
|
+
],
|
|
2020
|
+
stateMutability: "nonpayable",
|
|
2021
|
+
type: "function",
|
|
2022
|
+
},
|
|
2023
|
+
{
|
|
2024
|
+
inputs: [
|
|
2025
|
+
{
|
|
2026
|
+
internalType: "address",
|
|
2027
|
+
name: "receiver",
|
|
2028
|
+
type: "address",
|
|
2029
|
+
},
|
|
2030
|
+
{
|
|
2031
|
+
internalType: "address",
|
|
2032
|
+
name: "market",
|
|
2033
|
+
type: "address",
|
|
2034
|
+
},
|
|
2035
|
+
{
|
|
2036
|
+
internalType: "uint256",
|
|
2037
|
+
name: "netLpToRemove",
|
|
2038
|
+
type: "uint256",
|
|
2039
|
+
},
|
|
2040
|
+
{
|
|
2041
|
+
internalType: "uint256",
|
|
2042
|
+
name: "minPtOut",
|
|
2043
|
+
type: "uint256",
|
|
2044
|
+
},
|
|
2045
|
+
{
|
|
2046
|
+
components: [
|
|
2047
|
+
{
|
|
2048
|
+
internalType: "uint256",
|
|
2049
|
+
name: "guessMin",
|
|
2050
|
+
type: "uint256",
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
internalType: "uint256",
|
|
2054
|
+
name: "guessMax",
|
|
2055
|
+
type: "uint256",
|
|
2056
|
+
},
|
|
2057
|
+
{
|
|
2058
|
+
internalType: "uint256",
|
|
2059
|
+
name: "guessOffchain",
|
|
2060
|
+
type: "uint256",
|
|
2061
|
+
},
|
|
2062
|
+
{
|
|
2063
|
+
internalType: "uint256",
|
|
2064
|
+
name: "maxIteration",
|
|
2065
|
+
type: "uint256",
|
|
2066
|
+
},
|
|
2067
|
+
{
|
|
2068
|
+
internalType: "uint256",
|
|
2069
|
+
name: "eps",
|
|
2070
|
+
type: "uint256",
|
|
2071
|
+
},
|
|
2072
|
+
],
|
|
2073
|
+
internalType: "struct ApproxParams",
|
|
2074
|
+
name: "guessPtReceivedFromSy",
|
|
2075
|
+
type: "tuple",
|
|
2076
|
+
},
|
|
2077
|
+
{
|
|
2078
|
+
components: [
|
|
2079
|
+
{
|
|
2080
|
+
internalType: "address",
|
|
2081
|
+
name: "limitRouter",
|
|
2082
|
+
type: "address",
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
internalType: "uint256",
|
|
2086
|
+
name: "epsSkipMarket",
|
|
2087
|
+
type: "uint256",
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
components: [
|
|
2091
|
+
{
|
|
2092
|
+
components: [
|
|
2093
|
+
{
|
|
2094
|
+
internalType: "uint256",
|
|
2095
|
+
name: "salt",
|
|
2096
|
+
type: "uint256",
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
internalType: "uint256",
|
|
2100
|
+
name: "expiry",
|
|
2101
|
+
type: "uint256",
|
|
2102
|
+
},
|
|
2103
|
+
{
|
|
2104
|
+
internalType: "uint256",
|
|
2105
|
+
name: "nonce",
|
|
2106
|
+
type: "uint256",
|
|
2107
|
+
},
|
|
2108
|
+
{
|
|
2109
|
+
internalType: "enum IPOrderMixinType.OrderType",
|
|
2110
|
+
name: "orderType",
|
|
2111
|
+
type: "uint8",
|
|
2112
|
+
},
|
|
2113
|
+
{
|
|
2114
|
+
internalType: "address",
|
|
2115
|
+
name: "token",
|
|
2116
|
+
type: "address",
|
|
2117
|
+
},
|
|
2118
|
+
{
|
|
2119
|
+
internalType: "address",
|
|
2120
|
+
name: "YT",
|
|
2121
|
+
type: "address",
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
internalType: "address",
|
|
2125
|
+
name: "maker",
|
|
2126
|
+
type: "address",
|
|
2127
|
+
},
|
|
2128
|
+
{
|
|
2129
|
+
internalType: "address",
|
|
2130
|
+
name: "receiver",
|
|
2131
|
+
type: "address",
|
|
2132
|
+
},
|
|
2133
|
+
{
|
|
2134
|
+
internalType: "uint256",
|
|
2135
|
+
name: "makingAmount",
|
|
2136
|
+
type: "uint256",
|
|
2137
|
+
},
|
|
2138
|
+
{
|
|
2139
|
+
internalType: "uint256",
|
|
2140
|
+
name: "lnImpliedRate",
|
|
2141
|
+
type: "uint256",
|
|
2142
|
+
},
|
|
2143
|
+
{
|
|
2144
|
+
internalType: "uint256",
|
|
2145
|
+
name: "failSafeRate",
|
|
2146
|
+
type: "uint256",
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
internalType: "bytes",
|
|
2150
|
+
name: "permit",
|
|
2151
|
+
type: "bytes",
|
|
2152
|
+
},
|
|
2153
|
+
],
|
|
2154
|
+
internalType: "struct Order",
|
|
2155
|
+
name: "order",
|
|
2156
|
+
type: "tuple",
|
|
2157
|
+
},
|
|
2158
|
+
{
|
|
2159
|
+
internalType: "bytes",
|
|
2160
|
+
name: "signature",
|
|
2161
|
+
type: "bytes",
|
|
2162
|
+
},
|
|
2163
|
+
{
|
|
2164
|
+
internalType: "uint256",
|
|
2165
|
+
name: "makingAmount",
|
|
2166
|
+
type: "uint256",
|
|
2167
|
+
},
|
|
2168
|
+
],
|
|
2169
|
+
internalType: "struct FillOrderParams[]",
|
|
2170
|
+
name: "normalFills",
|
|
2171
|
+
type: "tuple[]",
|
|
2172
|
+
},
|
|
2173
|
+
{
|
|
2174
|
+
components: [
|
|
2175
|
+
{
|
|
2176
|
+
components: [
|
|
2177
|
+
{
|
|
2178
|
+
internalType: "uint256",
|
|
2179
|
+
name: "salt",
|
|
2180
|
+
type: "uint256",
|
|
2181
|
+
},
|
|
2182
|
+
{
|
|
2183
|
+
internalType: "uint256",
|
|
2184
|
+
name: "expiry",
|
|
2185
|
+
type: "uint256",
|
|
2186
|
+
},
|
|
2187
|
+
{
|
|
2188
|
+
internalType: "uint256",
|
|
2189
|
+
name: "nonce",
|
|
2190
|
+
type: "uint256",
|
|
2191
|
+
},
|
|
2192
|
+
{
|
|
2193
|
+
internalType: "enum IPOrderMixinType.OrderType",
|
|
2194
|
+
name: "orderType",
|
|
2195
|
+
type: "uint8",
|
|
2196
|
+
},
|
|
2197
|
+
{
|
|
2198
|
+
internalType: "address",
|
|
2199
|
+
name: "token",
|
|
2200
|
+
type: "address",
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
internalType: "address",
|
|
2204
|
+
name: "YT",
|
|
2205
|
+
type: "address",
|
|
2206
|
+
},
|
|
2207
|
+
{
|
|
2208
|
+
internalType: "address",
|
|
2209
|
+
name: "maker",
|
|
2210
|
+
type: "address",
|
|
2211
|
+
},
|
|
2212
|
+
{
|
|
2213
|
+
internalType: "address",
|
|
2214
|
+
name: "receiver",
|
|
2215
|
+
type: "address",
|
|
2216
|
+
},
|
|
2217
|
+
{
|
|
2218
|
+
internalType: "uint256",
|
|
2219
|
+
name: "makingAmount",
|
|
2220
|
+
type: "uint256",
|
|
2221
|
+
},
|
|
2222
|
+
{
|
|
2223
|
+
internalType: "uint256",
|
|
2224
|
+
name: "lnImpliedRate",
|
|
2225
|
+
type: "uint256",
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
internalType: "uint256",
|
|
2229
|
+
name: "failSafeRate",
|
|
2230
|
+
type: "uint256",
|
|
2231
|
+
},
|
|
2232
|
+
{
|
|
2233
|
+
internalType: "bytes",
|
|
2234
|
+
name: "permit",
|
|
2235
|
+
type: "bytes",
|
|
2236
|
+
},
|
|
2237
|
+
],
|
|
2238
|
+
internalType: "struct Order",
|
|
2239
|
+
name: "order",
|
|
2240
|
+
type: "tuple",
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
internalType: "bytes",
|
|
2244
|
+
name: "signature",
|
|
2245
|
+
type: "bytes",
|
|
2246
|
+
},
|
|
2247
|
+
{
|
|
2248
|
+
internalType: "uint256",
|
|
2249
|
+
name: "makingAmount",
|
|
2250
|
+
type: "uint256",
|
|
2251
|
+
},
|
|
2252
|
+
],
|
|
2253
|
+
internalType: "struct FillOrderParams[]",
|
|
2254
|
+
name: "flashFills",
|
|
2255
|
+
type: "tuple[]",
|
|
2256
|
+
},
|
|
2257
|
+
],
|
|
2258
|
+
internalType: "struct LimitOrderData",
|
|
2259
|
+
name: "limit",
|
|
2260
|
+
type: "tuple",
|
|
2261
|
+
},
|
|
2262
|
+
],
|
|
2263
|
+
name: "removeLiquiditySinglePt",
|
|
2264
|
+
outputs: [
|
|
2265
|
+
{
|
|
2266
|
+
internalType: "uint256",
|
|
2267
|
+
name: "netPtOut",
|
|
2268
|
+
type: "uint256",
|
|
2269
|
+
},
|
|
2270
|
+
{
|
|
2271
|
+
internalType: "uint256",
|
|
2272
|
+
name: "netSyFee",
|
|
2273
|
+
type: "uint256",
|
|
2274
|
+
},
|
|
2275
|
+
],
|
|
2276
|
+
stateMutability: "nonpayable",
|
|
2277
|
+
type: "function",
|
|
2278
|
+
},
|
|
2279
|
+
{
|
|
2280
|
+
inputs: [
|
|
2281
|
+
{
|
|
2282
|
+
internalType: "address",
|
|
2283
|
+
name: "receiver",
|
|
2284
|
+
type: "address",
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
internalType: "address",
|
|
2288
|
+
name: "market",
|
|
2289
|
+
type: "address",
|
|
2290
|
+
},
|
|
2291
|
+
{
|
|
2292
|
+
internalType: "uint256",
|
|
2293
|
+
name: "netLpToRemove",
|
|
2294
|
+
type: "uint256",
|
|
2295
|
+
},
|
|
2296
|
+
{
|
|
2297
|
+
internalType: "uint256",
|
|
2298
|
+
name: "minSyOut",
|
|
2299
|
+
type: "uint256",
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
components: [
|
|
2303
|
+
{
|
|
2304
|
+
internalType: "address",
|
|
2305
|
+
name: "limitRouter",
|
|
2306
|
+
type: "address",
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
internalType: "uint256",
|
|
2310
|
+
name: "epsSkipMarket",
|
|
2311
|
+
type: "uint256",
|
|
2312
|
+
},
|
|
2313
|
+
{
|
|
2314
|
+
components: [
|
|
2315
|
+
{
|
|
2316
|
+
components: [
|
|
2317
|
+
{
|
|
2318
|
+
internalType: "uint256",
|
|
2319
|
+
name: "salt",
|
|
2320
|
+
type: "uint256",
|
|
2321
|
+
},
|
|
2322
|
+
{
|
|
2323
|
+
internalType: "uint256",
|
|
2324
|
+
name: "expiry",
|
|
2325
|
+
type: "uint256",
|
|
2326
|
+
},
|
|
2327
|
+
{
|
|
2328
|
+
internalType: "uint256",
|
|
2329
|
+
name: "nonce",
|
|
2330
|
+
type: "uint256",
|
|
2331
|
+
},
|
|
2332
|
+
{
|
|
2333
|
+
internalType: "enum IPOrderMixinType.OrderType",
|
|
2334
|
+
name: "orderType",
|
|
2335
|
+
type: "uint8",
|
|
2336
|
+
},
|
|
2337
|
+
{
|
|
2338
|
+
internalType: "address",
|
|
2339
|
+
name: "token",
|
|
2340
|
+
type: "address",
|
|
2341
|
+
},
|
|
2342
|
+
{
|
|
2343
|
+
internalType: "address",
|
|
2344
|
+
name: "YT",
|
|
2345
|
+
type: "address",
|
|
2346
|
+
},
|
|
2347
|
+
{
|
|
2348
|
+
internalType: "address",
|
|
2349
|
+
name: "maker",
|
|
2350
|
+
type: "address",
|
|
2351
|
+
},
|
|
2352
|
+
{
|
|
2353
|
+
internalType: "address",
|
|
2354
|
+
name: "receiver",
|
|
2355
|
+
type: "address",
|
|
2356
|
+
},
|
|
2357
|
+
{
|
|
2358
|
+
internalType: "uint256",
|
|
2359
|
+
name: "makingAmount",
|
|
2360
|
+
type: "uint256",
|
|
2361
|
+
},
|
|
2362
|
+
{
|
|
2363
|
+
internalType: "uint256",
|
|
2364
|
+
name: "lnImpliedRate",
|
|
2365
|
+
type: "uint256",
|
|
2366
|
+
},
|
|
2367
|
+
{
|
|
2368
|
+
internalType: "uint256",
|
|
2369
|
+
name: "failSafeRate",
|
|
2370
|
+
type: "uint256",
|
|
2371
|
+
},
|
|
2372
|
+
{
|
|
2373
|
+
internalType: "bytes",
|
|
2374
|
+
name: "permit",
|
|
2375
|
+
type: "bytes",
|
|
2376
|
+
},
|
|
2377
|
+
],
|
|
2378
|
+
internalType: "struct Order",
|
|
2379
|
+
name: "order",
|
|
2380
|
+
type: "tuple",
|
|
2381
|
+
},
|
|
2382
|
+
{
|
|
2383
|
+
internalType: "bytes",
|
|
2384
|
+
name: "signature",
|
|
2385
|
+
type: "bytes",
|
|
2386
|
+
},
|
|
2387
|
+
{
|
|
2388
|
+
internalType: "uint256",
|
|
2389
|
+
name: "makingAmount",
|
|
2390
|
+
type: "uint256",
|
|
2391
|
+
},
|
|
2392
|
+
],
|
|
2393
|
+
internalType: "struct FillOrderParams[]",
|
|
2394
|
+
name: "normalFills",
|
|
2395
|
+
type: "tuple[]",
|
|
2396
|
+
},
|
|
2397
|
+
{
|
|
2398
|
+
components: [
|
|
2399
|
+
{
|
|
2400
|
+
components: [
|
|
2401
|
+
{
|
|
2402
|
+
internalType: "uint256",
|
|
2403
|
+
name: "salt",
|
|
2404
|
+
type: "uint256",
|
|
2405
|
+
},
|
|
2406
|
+
{
|
|
2407
|
+
internalType: "uint256",
|
|
2408
|
+
name: "expiry",
|
|
2409
|
+
type: "uint256",
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
internalType: "uint256",
|
|
2413
|
+
name: "nonce",
|
|
2414
|
+
type: "uint256",
|
|
2415
|
+
},
|
|
2416
|
+
{
|
|
2417
|
+
internalType: "enum IPOrderMixinType.OrderType",
|
|
2418
|
+
name: "orderType",
|
|
2419
|
+
type: "uint8",
|
|
2420
|
+
},
|
|
2421
|
+
{
|
|
2422
|
+
internalType: "address",
|
|
2423
|
+
name: "token",
|
|
2424
|
+
type: "address",
|
|
2425
|
+
},
|
|
2426
|
+
{
|
|
2427
|
+
internalType: "address",
|
|
2428
|
+
name: "YT",
|
|
2429
|
+
type: "address",
|
|
2430
|
+
},
|
|
2431
|
+
{
|
|
2432
|
+
internalType: "address",
|
|
2433
|
+
name: "maker",
|
|
2434
|
+
type: "address",
|
|
2435
|
+
},
|
|
2436
|
+
{
|
|
2437
|
+
internalType: "address",
|
|
2438
|
+
name: "receiver",
|
|
2439
|
+
type: "address",
|
|
2440
|
+
},
|
|
2441
|
+
{
|
|
2442
|
+
internalType: "uint256",
|
|
2443
|
+
name: "makingAmount",
|
|
2444
|
+
type: "uint256",
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
internalType: "uint256",
|
|
2448
|
+
name: "lnImpliedRate",
|
|
2449
|
+
type: "uint256",
|
|
2450
|
+
},
|
|
2451
|
+
{
|
|
2452
|
+
internalType: "uint256",
|
|
2453
|
+
name: "failSafeRate",
|
|
2454
|
+
type: "uint256",
|
|
2455
|
+
},
|
|
2456
|
+
{
|
|
2457
|
+
internalType: "bytes",
|
|
2458
|
+
name: "permit",
|
|
2459
|
+
type: "bytes",
|
|
2460
|
+
},
|
|
2461
|
+
],
|
|
2462
|
+
internalType: "struct Order",
|
|
2463
|
+
name: "order",
|
|
2464
|
+
type: "tuple",
|
|
2465
|
+
},
|
|
2466
|
+
{
|
|
2467
|
+
internalType: "bytes",
|
|
2468
|
+
name: "signature",
|
|
2469
|
+
type: "bytes",
|
|
2470
|
+
},
|
|
2471
|
+
{
|
|
2472
|
+
internalType: "uint256",
|
|
2473
|
+
name: "makingAmount",
|
|
2474
|
+
type: "uint256",
|
|
2475
|
+
},
|
|
2476
|
+
],
|
|
2477
|
+
internalType: "struct FillOrderParams[]",
|
|
2478
|
+
name: "flashFills",
|
|
2479
|
+
type: "tuple[]",
|
|
2480
|
+
},
|
|
2481
|
+
],
|
|
2482
|
+
internalType: "struct LimitOrderData",
|
|
2483
|
+
name: "limit",
|
|
2484
|
+
type: "tuple",
|
|
2485
|
+
},
|
|
2486
|
+
],
|
|
2487
|
+
name: "removeLiquiditySingleSy",
|
|
2488
|
+
outputs: [
|
|
2489
|
+
{
|
|
2490
|
+
internalType: "uint256",
|
|
2491
|
+
name: "netSyOut",
|
|
2492
|
+
type: "uint256",
|
|
2493
|
+
},
|
|
2494
|
+
{
|
|
2495
|
+
internalType: "uint256",
|
|
2496
|
+
name: "netSyFee",
|
|
2497
|
+
type: "uint256",
|
|
2498
|
+
},
|
|
2499
|
+
],
|
|
2500
|
+
stateMutability: "nonpayable",
|
|
2501
|
+
type: "function",
|
|
2502
|
+
},
|
|
2503
|
+
{
|
|
2504
|
+
inputs: [
|
|
2505
|
+
{
|
|
2506
|
+
internalType: "address",
|
|
2507
|
+
name: "receiver",
|
|
2508
|
+
type: "address",
|
|
2509
|
+
},
|
|
2510
|
+
{
|
|
2511
|
+
internalType: "address",
|
|
2512
|
+
name: "market",
|
|
2513
|
+
type: "address",
|
|
2514
|
+
},
|
|
2515
|
+
{
|
|
2516
|
+
internalType: "uint256",
|
|
2517
|
+
name: "netLpToRemove",
|
|
2518
|
+
type: "uint256",
|
|
2519
|
+
},
|
|
2520
|
+
{
|
|
2521
|
+
components: [
|
|
2522
|
+
{
|
|
2523
|
+
internalType: "address",
|
|
2524
|
+
name: "tokenOut",
|
|
2525
|
+
type: "address",
|
|
2526
|
+
},
|
|
2527
|
+
{
|
|
2528
|
+
internalType: "uint256",
|
|
2529
|
+
name: "minTokenOut",
|
|
2530
|
+
type: "uint256",
|
|
2531
|
+
},
|
|
2532
|
+
{
|
|
2533
|
+
internalType: "address",
|
|
2534
|
+
name: "tokenRedeemSy",
|
|
2535
|
+
type: "address",
|
|
2536
|
+
},
|
|
2537
|
+
{
|
|
2538
|
+
internalType: "address",
|
|
2539
|
+
name: "pendleSwap",
|
|
2540
|
+
type: "address",
|
|
2541
|
+
},
|
|
2542
|
+
{
|
|
2543
|
+
components: [
|
|
2544
|
+
{
|
|
2545
|
+
internalType: "enum SwapType",
|
|
2546
|
+
name: "swapType",
|
|
2547
|
+
type: "uint8",
|
|
2548
|
+
},
|
|
2549
|
+
{
|
|
2550
|
+
internalType: "address",
|
|
2551
|
+
name: "extRouter",
|
|
2552
|
+
type: "address",
|
|
2553
|
+
},
|
|
2554
|
+
{
|
|
2555
|
+
internalType: "bytes",
|
|
2556
|
+
name: "extCalldata",
|
|
2557
|
+
type: "bytes",
|
|
2558
|
+
},
|
|
2559
|
+
{
|
|
2560
|
+
internalType: "bool",
|
|
2561
|
+
name: "needScale",
|
|
2562
|
+
type: "bool",
|
|
2563
|
+
},
|
|
2564
|
+
],
|
|
2565
|
+
internalType: "struct SwapData",
|
|
2566
|
+
name: "swapData",
|
|
2567
|
+
type: "tuple",
|
|
2568
|
+
},
|
|
2569
|
+
],
|
|
2570
|
+
internalType: "struct TokenOutput",
|
|
2571
|
+
name: "output",
|
|
2572
|
+
type: "tuple",
|
|
2573
|
+
},
|
|
2574
|
+
{
|
|
2575
|
+
components: [
|
|
2576
|
+
{
|
|
2577
|
+
internalType: "address",
|
|
2578
|
+
name: "limitRouter",
|
|
2579
|
+
type: "address",
|
|
2580
|
+
},
|
|
2581
|
+
{
|
|
2582
|
+
internalType: "uint256",
|
|
2583
|
+
name: "epsSkipMarket",
|
|
2584
|
+
type: "uint256",
|
|
2585
|
+
},
|
|
2586
|
+
{
|
|
2587
|
+
components: [
|
|
2588
|
+
{
|
|
2589
|
+
components: [
|
|
2590
|
+
{
|
|
2591
|
+
internalType: "uint256",
|
|
2592
|
+
name: "salt",
|
|
2593
|
+
type: "uint256",
|
|
2594
|
+
},
|
|
2595
|
+
{
|
|
2596
|
+
internalType: "uint256",
|
|
2597
|
+
name: "expiry",
|
|
2598
|
+
type: "uint256",
|
|
2599
|
+
},
|
|
2600
|
+
{
|
|
2601
|
+
internalType: "uint256",
|
|
2602
|
+
name: "nonce",
|
|
2603
|
+
type: "uint256",
|
|
2604
|
+
},
|
|
2605
|
+
{
|
|
2606
|
+
internalType: "enum IPOrderMixinType.OrderType",
|
|
2607
|
+
name: "orderType",
|
|
2608
|
+
type: "uint8",
|
|
2609
|
+
},
|
|
2610
|
+
{
|
|
2611
|
+
internalType: "address",
|
|
2612
|
+
name: "token",
|
|
2613
|
+
type: "address",
|
|
2614
|
+
},
|
|
2615
|
+
{
|
|
2616
|
+
internalType: "address",
|
|
2617
|
+
name: "YT",
|
|
2618
|
+
type: "address",
|
|
2619
|
+
},
|
|
2620
|
+
{
|
|
2621
|
+
internalType: "address",
|
|
2622
|
+
name: "maker",
|
|
2623
|
+
type: "address",
|
|
2624
|
+
},
|
|
2625
|
+
{
|
|
2626
|
+
internalType: "address",
|
|
2627
|
+
name: "receiver",
|
|
2628
|
+
type: "address",
|
|
2629
|
+
},
|
|
2630
|
+
{
|
|
2631
|
+
internalType: "uint256",
|
|
2632
|
+
name: "makingAmount",
|
|
2633
|
+
type: "uint256",
|
|
2634
|
+
},
|
|
2635
|
+
{
|
|
2636
|
+
internalType: "uint256",
|
|
2637
|
+
name: "lnImpliedRate",
|
|
2638
|
+
type: "uint256",
|
|
2639
|
+
},
|
|
2640
|
+
{
|
|
2641
|
+
internalType: "uint256",
|
|
2642
|
+
name: "failSafeRate",
|
|
2643
|
+
type: "uint256",
|
|
2644
|
+
},
|
|
2645
|
+
{
|
|
2646
|
+
internalType: "bytes",
|
|
2647
|
+
name: "permit",
|
|
2648
|
+
type: "bytes",
|
|
2649
|
+
},
|
|
2650
|
+
],
|
|
2651
|
+
internalType: "struct Order",
|
|
2652
|
+
name: "order",
|
|
2653
|
+
type: "tuple",
|
|
2654
|
+
},
|
|
2655
|
+
{
|
|
2656
|
+
internalType: "bytes",
|
|
2657
|
+
name: "signature",
|
|
2658
|
+
type: "bytes",
|
|
2659
|
+
},
|
|
2660
|
+
{
|
|
2661
|
+
internalType: "uint256",
|
|
2662
|
+
name: "makingAmount",
|
|
2663
|
+
type: "uint256",
|
|
2664
|
+
},
|
|
2665
|
+
],
|
|
2666
|
+
internalType: "struct FillOrderParams[]",
|
|
2667
|
+
name: "normalFills",
|
|
2668
|
+
type: "tuple[]",
|
|
2669
|
+
},
|
|
2670
|
+
{
|
|
2671
|
+
components: [
|
|
2672
|
+
{
|
|
2673
|
+
components: [
|
|
2674
|
+
{
|
|
2675
|
+
internalType: "uint256",
|
|
2676
|
+
name: "salt",
|
|
2677
|
+
type: "uint256",
|
|
2678
|
+
},
|
|
2679
|
+
{
|
|
2680
|
+
internalType: "uint256",
|
|
2681
|
+
name: "expiry",
|
|
2682
|
+
type: "uint256",
|
|
2683
|
+
},
|
|
2684
|
+
{
|
|
2685
|
+
internalType: "uint256",
|
|
2686
|
+
name: "nonce",
|
|
2687
|
+
type: "uint256",
|
|
2688
|
+
},
|
|
2689
|
+
{
|
|
2690
|
+
internalType: "enum IPOrderMixinType.OrderType",
|
|
2691
|
+
name: "orderType",
|
|
2692
|
+
type: "uint8",
|
|
2693
|
+
},
|
|
2694
|
+
{
|
|
2695
|
+
internalType: "address",
|
|
2696
|
+
name: "token",
|
|
2697
|
+
type: "address",
|
|
2698
|
+
},
|
|
2699
|
+
{
|
|
2700
|
+
internalType: "address",
|
|
2701
|
+
name: "YT",
|
|
2702
|
+
type: "address",
|
|
2703
|
+
},
|
|
2704
|
+
{
|
|
2705
|
+
internalType: "address",
|
|
2706
|
+
name: "maker",
|
|
2707
|
+
type: "address",
|
|
2708
|
+
},
|
|
2709
|
+
{
|
|
2710
|
+
internalType: "address",
|
|
2711
|
+
name: "receiver",
|
|
2712
|
+
type: "address",
|
|
2713
|
+
},
|
|
2714
|
+
{
|
|
2715
|
+
internalType: "uint256",
|
|
2716
|
+
name: "makingAmount",
|
|
2717
|
+
type: "uint256",
|
|
2718
|
+
},
|
|
2719
|
+
{
|
|
2720
|
+
internalType: "uint256",
|
|
2721
|
+
name: "lnImpliedRate",
|
|
2722
|
+
type: "uint256",
|
|
2723
|
+
},
|
|
2724
|
+
{
|
|
2725
|
+
internalType: "uint256",
|
|
2726
|
+
name: "failSafeRate",
|
|
2727
|
+
type: "uint256",
|
|
2728
|
+
},
|
|
2729
|
+
{
|
|
2730
|
+
internalType: "bytes",
|
|
2731
|
+
name: "permit",
|
|
2732
|
+
type: "bytes",
|
|
2733
|
+
},
|
|
2734
|
+
],
|
|
2735
|
+
internalType: "struct Order",
|
|
2736
|
+
name: "order",
|
|
2737
|
+
type: "tuple",
|
|
2738
|
+
},
|
|
2739
|
+
{
|
|
2740
|
+
internalType: "bytes",
|
|
2741
|
+
name: "signature",
|
|
2742
|
+
type: "bytes",
|
|
2743
|
+
},
|
|
2744
|
+
{
|
|
2745
|
+
internalType: "uint256",
|
|
2746
|
+
name: "makingAmount",
|
|
2747
|
+
type: "uint256",
|
|
2748
|
+
},
|
|
2749
|
+
],
|
|
2750
|
+
internalType: "struct FillOrderParams[]",
|
|
2751
|
+
name: "flashFills",
|
|
2752
|
+
type: "tuple[]",
|
|
2753
|
+
},
|
|
2754
|
+
],
|
|
2755
|
+
internalType: "struct LimitOrderData",
|
|
2756
|
+
name: "limit",
|
|
2757
|
+
type: "tuple",
|
|
2758
|
+
},
|
|
2759
|
+
],
|
|
2760
|
+
name: "removeLiquiditySingleToken",
|
|
2761
|
+
outputs: [
|
|
2762
|
+
{
|
|
2763
|
+
internalType: "uint256",
|
|
2764
|
+
name: "netTokenOut",
|
|
2765
|
+
type: "uint256",
|
|
2766
|
+
},
|
|
2767
|
+
{
|
|
2768
|
+
internalType: "uint256",
|
|
2769
|
+
name: "netSyFee",
|
|
2770
|
+
type: "uint256",
|
|
2771
|
+
},
|
|
2772
|
+
{
|
|
2773
|
+
internalType: "uint256",
|
|
2774
|
+
name: "netSyInterm",
|
|
2775
|
+
type: "uint256",
|
|
2776
|
+
},
|
|
2777
|
+
],
|
|
2778
|
+
stateMutability: "nonpayable",
|
|
2779
|
+
type: "function",
|
|
2780
|
+
},
|
|
2781
|
+
];
|
|
2782
|
+
|
|
2783
|
+
const _bytecode =
|
|
2784
|
+
"0x6080806040523461001657614d00908161001c8239f35b600080fdfe6080604052600436101561001257600080fd5b60003560e01c8063237287c814611d5f5780632756ce0614611b865780633dbe1c5514611a51578063587e3950146115915780635a245eef1461134c578063844384aa1461127d57806397ee279e146110e55780639cb6711e14610a92578063b00f09d7146108ef578063b7d75b8b146107d1578063e81560a4146103765763ef03bda7146100a057600080fd5b34610371576100ae3661200a565b604051630b2339af60e21b81529295919460009490939092916060826004816001600160a01b0389165afa9687156102ac5761017f9760009360009161033b575b5061010e866100fe858a6123d7565b336001600160a01b03881661239b565b859360009361011c81612e7e565b156102f6575b50509061015091838561014861014061013a8c61267b565b94613321565b9436906122c2565b934293613396565b505091604080516000815261016481612130565b8151809a81926329910b1160e01b8352878b60048501612358565b038160006001600160a01b038b165af180156102ac576101e3986060946101c6936000926000946102b8575b506101c092916101ba9161238e565b946121c1565b976121c1565b956040519788928392630ab714fb60e11b84528660048501612240565b038160006001600160a01b0388165af19485156102ac57600095610279575b5085851061025b57604080519283526020830186905295506001600160a01b0390811692169033907fc87b85efc5055ef177e0092af0d4e624fff4b1d57db748857f65e4b7e4a28a36908790a482519182526020820152f35b6044858760405191636a1dbf1b60e01b835260048301526024820152fd5b61029c91955060603d6060116102a5575b6102948183612166565b810190612225565b50509338610202565b503d61028a565b6040513d6000823e3d90fd5b6101ba9194506101c093506102e49060403d6040116102ef575b6102dc8183612166565b810190612189565b9490939091506101ab565b503d6102d2565b91985093506103339250610150919061031a90876001600160a01b0387168a613058565b5099919590949086908a906001600160a01b0316613285565b909138610122565b905061036091935060603d60601161036a575b6103588183612166565b8101906121e4565b93915092386100ef565b503d61034e565b600080fd5b346103715760031960a03682011261037157610390611fca565b90610399611fe0565b90608435906001600160401b038211610371576080908236030112610371576103cf60443583336001600160a01b03821661239b565b604051630bc4ed8360e21b8152600091906020816004816001600160a01b0388165afa9081156102ac576000916107a2575b50156105c45750604051630b2339af60e21b81526060816004816001600160a01b0387165afa9081156102ac576000916105a2575b5060408051633dae446f60e21b8152916001600160a01b0316908280610463604435858a6004850161219f565b038160006001600160a01b0389165af19081156102ac57600092839261057d575b5060405163bcb7ea5d60e01b81526001600160a01b03871660048201529260209184916024918391905af19081156102ac57600091610547575b6104c892506121c1565b915b6064358310610526576040805160443581526020810185905290946001600160a01b0390811692169033907fd31f02c44717b409d13b92ec9d2eaf1427fb4e63f85f4777f1458fb8d9387761908790a482519182526020820152f35b6040516305221cf360e11b8152600481018490526064356024820152604490fd5b90506020823d602011610575575b8161056260209383612166565b81010312610371576104c89151906104be565b3d9150610555565b602091925061059a9060403d6040116102ef576102dc8183612166565b509190610484565b6105bb915060603d60601161036a576103588183612166565b91505084610436565b90506105f660406105d883600401856123d7565b815180938192633dae446f60e21b835260443590896004850161219f565b038160006001600160a01b0388165af19081156102ac57600090600092610780575b50604051630b2339af60e21b8152600093849391906060826004816001600160a01b038b165afa9182156102ac5760009261075c575b508260019261065f83600401612e7e565b15610718575b50505061067e575b5090610678916121c1565b916104ca565b60408051600081529294926106b19261069682612130565b82516329910b1160e01b815293849283928b60048501612358565b038160006001600160a01b038a165af19283156102ac57610678936106ec926000906000926106f4575b506106e691926121c1565b926121c1565b92909161066d565b6106e69250610712915060403d6040116102ef576102dc8183612166565b916106db565b9496506001600160a01b03909416945061073c936004909101925090508387613058565b90949193919291828783156106655761075492613285565b878087610665565b61077691925060603d60601161036a576103588183612166565b509050908861064e565b905061079b915060403d6040116102ef576102dc8183612166565b9085610618565b6107c4915060203d6020116107ca575b6107bc8183612166565b810190612bc8565b85610401565b503d6107b2565b34610371576107df366120a9565b9260018060a0969394961b03946107fb8187841693338561239b565b60408051633dae446f60e21b81529590868061081c8588806004850161219f565b03816000875af19485156102ac576000966000966108c8575b508087106108aa575080851061088c57507fd9f35a37b64d95edfd8f26adf130ce45f3e9ddf3c7ab8c1fb7224727a339a98e60409687519416938061087d8888339684612077565b0390a482519182526020820152f35b8460449160405191634e6ffe4760e11b835260048301526024820152fd5b86604491604051916305221cf360e11b835260048301526024820152fd5b9095506108e591965060403d6040116102ef576102dc8183612166565b9590959488610835565b346103715760031960a03682011261037157610909611fca565b610911611fe0565b9160443591606435916001600160401b0383116103715760a09083600401933603011261037157604051630b2339af60e21b81526001600160a01b0394608435949181871691606082600481865afa80156102ac57848993600092610a6d575b5061097e9192338661239b565b169260405193633dae446f60e21b8552604085806109a18786866004850161219f565b03816000875af19687156102ac57600095600098610a46575b50808810610a28575086869798610a006109fa610a2499897f5349e52482e38bcf6018163f5f871bbae5e00e667aa8e7c531b74c07d5397f929688612cb2565b9961225e565b1694610a15878a604051948594339886612272565b0390a460405193849384612077565b0390f35b8760449160405191634e6ffe4760e11b835260048301526024820152fd5b909750610a6391955060403d6040116102ef576102dc8183612166565b94909496896109ba565b61097e9250610a8a9060603d60601161036a576103588183612166565b505091610971565b6003196101403682011261037157610aa8611fca565b610ab0611fe0565b9060a0366063190112610371576001600160401b0361010435116103715760a08361010435360301126103715761012435926001600160401b03841161037157608090843603011261037157604051630b2339af60e21b8152916060836004816001600160a01b0385165afa9182156102ac576000936000936110bc575b50610b3c85600401836123d7565b92610b5360846101043501610104356004016123ea565b9360009460048135101561037157610b6b81356123ff565b8035610edc57506020610b836101043560040161225e565b610b97602461010435013580923390612e15565b915b61010435604401906084906001600160a01b03610bb58461225e565b16610ed257610be085935b610bdb6001600160a01b038d16610bd68361225e565b613b62565b61225e565b6040516320e8c56560e01b81526001600160a01b0392831660048201529082166024820152604481019590955260016064860152849283918b165af1948515610ec65794610e92575b506000908495600097610c3e81600401612e7e565b15610e4f575b5050610c58610c528561267b565b91613321565b60405190916001600160401b0360a0830190811190831117610e39578888610cad9460a085016040526064358552608435602086015260a435604086015260c435606086015260e435608086015242936139ba565b505090610cdf6040805160008152610cc481612130565b815180938192635b709f1760e01b8352878a60048501612358565b038160006001600160a01b038a165af19687156102ac57610d3e97606094610d2193600090600093610e0f575b50610d1b906106e6939461238e565b9a6121c1565b966040519687928392630ab714fb60e11b84528660048501612240565b038160006001600160a01b0387165af19384156102ac57600094610dec575b506044358410610dcc5790610a249291610d7c6101043560040161225e565b6040516001600160a01b03918216939091169133917f387bf301bf673df0120e2d57e639f0e05e5e03d5336577c4cd83c1bff96e8dee918190610a159088908b906101043560240135908561229e565b604051636a1dbf1b60e01b81526004810185905260448035602483015290fd5b610e0691945060603d6060116102a5576102948183612166565b50509285610d5d565b6106e69350610d1b9150610e319060403d6040116102ef576102dc8183612166565b935090610d0c565b634e487b7160e01b600052604160045260246000fd5b9197509550610e8b9150610e7190600401856001600160a01b03881686613058565b5090979196909290879086906001600160a01b0316613285565b8780610c44565b9093506020813d602011610ebe575b81610eae60209383612166565b8101031261037157519286610c29565b3d9150610ea1565b604051903d90823e3d90fd5b610be08993610bc0565b80610ee9600392356123ff565b3503610f42576020610f006101043560040161225e565b610f14602461010435013580923390612e15565b610f3c81610f276101043560040161225e565b610f366044610104350161225e565b90613804565b91610b99565b6001600160a01b03610f596004610104350161225e565b1661107d5760246101043501353403611049575b6001600160a01b03610f846101043560640161225e565b166001600160a01b03610f9c6004610104350161225e565b166110425760246101043501355b610fb96101043560040161225e565b91610fd060846101043501610104356004016123ea565b90803b1561037157604051630af6e08f60e21b8152936000938593849283916110059161010435602401359060048501612c33565b03925af180156102ac5761102e575b506020610f3c6110296044610104350161225e565b61378c565b6110399195506120e6565b60009387611014565b6000610faa565b60405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606490fd5b6110b76001600160a01b036110976004610104350161225e565b166110a76064610104350161225e565b602461010435013591339061239b565b610f6d565b9092506110d991935060603d60601161036a576103588183612166565b93919050929185610b2e565b34610371576110f3366120a9565b604051630b2339af60e21b81529194909391926060846004816001600160a01b0387165afa9081156102ac5761116796600095600093611248575b506111779261114b869384936111438561267b565b9142926127aa565b909b90998a969193508c925033906001600160a01b031661239b565b33906001600160a01b031661239b565b604051630ab714fb60e11b81529360608580611198878a8760048501612240565b038160006001600160a01b0388165af19485156102ac57600095611225575b508085106112075750604051610a2493926001600160a01b0392831692169033907f9334566f6358cd68e33d423fb1c9119c6837e3a2a7a8affaaa5020ed06aec0699080610a1589888c84612077565b8460449160405191636a1dbf1b60e01b835260048301526024820152fd5b61123f91955060603d6060116102a5576102948183612166565b505093866111b7565b8592965061117793509061114b61126e849360603d60601161036a576103588183612166565b5098909895509350509061112e565b346103715761128b366120a9565b604051630b2339af60e21b81526001600160a01b0395929392918587169190606082600481865afa9586156102ac5785610a2497611307947f890839d8cbce575f9d1ee3d55bc4d466623de60742c7ad665958f8a9916a54a59a838d600093600095611321575b50906113019133908516612e15565b886129ec565b949196909760405194169380610a158a8a8933978561208d565b61134191955061130192945060603d60601161036a576103588183612166565b9591949290506112f2565b346103715761135a3661200a565b604051630b2339af60e21b8152929592949093909290916060866004816001600160a01b0388165afa9081156102ac5760009660009261156b575b506113b4846113a488886123d7565b336001600160a01b038b1661239b565b60009184976000976113c581612e7e565b15611524575b5050906113eb9187896113e361014061013a8b61267b565b9342936139ba565b50509061141d604080516000815261140281612130565b815180938192635b709f1760e01b8352878b60048501612358565b038160006001600160a01b038b165af19788156102ac5761145f986060946101c6936000906000936114fa575b50611459906106e6939461238e565b996121c1565b038160006001600160a01b0388165af19485156102ac576000956114d7575b5085851061025b57604080519283526020830186905295506001600160a01b0390811692169033907fb51950711c9b21dc7888d41f68a19540231ffb5f0d19d8f75cbccaf90ffa7fa5908790a482519182526020820152f35b6114f191955060603d6060116102a5576102948183612166565b5050938661147e565b6106e69350611459915061151c9060403d6040116102ef576102dc8183612166565b93509061144a565b90985090965061156392506113eb919061154990866001600160a01b038b1689613058565b50919990989194908a9089906001600160a01b0316613285565b90918a6113cb565b909650611587915060603d60601161036a576103588183612166565b9196905088611395565b346103715760031960a036820112610371576115ab611fca565b906115b4611fe0565b6001600160401b039160643591908383116103715760a08184360301126103715760843593841161037157608090843603011261037157604051630b2339af60e21b8152936060856004816001600160a01b0386165afa9485156102ac57600095611a2e575b5061163260443583336001600160a01b03821661239b565b604051630bc4ed8360e21b815260009460209182816004816001600160a01b0389165afa9081156102ac57600091611a11575b50156118475750604051630b2339af60e21b81526060816004816001600160a01b0388165afa9081156102ac57600091611825575b5060018060a01b031690604051633dae446f60e21b8152604081806116ce604435878d60018060a01b03166004850161219f565b038160006001600160a01b038a165af19081156102ac5760009383918593611803575b5060405163bcb7ea5d60e01b81526001600160a01b038b16600482015294859160249183915af19182156102ac576000926117d1575b5061173292506121c1565b915b600183106117b15761175984959684610a24966004019160018060a01b031685612cb2565b946001600160a01b039061176f9060040161225e565b16917f5258a3c624debb1cc84b0f5f66c73eef048832eeebe7178e63e95a53cf28dc946040519260018060a01b03169280610a15878a3396604435908561229e565b6040516305221cf360e11b81526004810184905260016024820152604490fd5b90915082813d83116117fc575b6117e88183612166565b810103126103715761173291519088611727565b503d6117de565b61181d91935060403d6040116102ef576102dc8183612166565b50918a6116f1565b61183e915060603d60601161036a576103588183612166565b9150508761169a565b945050611885604061185c86600401856123d7565b8151633dae446f60e21b8152928391829190604435906001600160a01b038c166004850161219f565b038160006001600160a01b0388165af19081156102ac576000906000926119ef575b50604051630b2339af60e21b8152600096879391906060826004816001600160a01b038b165afa9182156102ac576000926119cb575b50826001926118ee83600401612e7e565b15611985575b50505061190d575b5090611907916121c1565b91611734565b60408051600081529297926119499261192582612130565b82516329910b1160e01b815293849283926001600160a01b038e1660048501612358565b038160006001600160a01b038a165af19283156102ac576119079361197d926000906000926106f457506106e691926121c1565b9590916118fc565b9499506001600160a01b0394851695506119ab9460049092019350915084908a16613058565b90979193919291828783156118f4576119c392613285565b8980876118f4565b6119e591925060603d60601161036a576103588183612166565b509050908a6118dd565b9050611a0a915060403d6040116102ef576102dc8183612166565b90876118a7565b611a289150833d85116107ca576107bc8183612166565b88611665565b611a4891955060603d60601161036a576103588183612166565b5050938561161a565b60031960a03682011261037157611a66611fca565b611a6e611fe0565b60843591906001600160401b0383116103715760a08360040194843603011261037157604051630b2339af60e21b8152916001600160a01b0390828216606085600481845afa9283156102ac57611afe96610a2496600090600096611b5a575b508060249697611ae48c86611af495163061241f565b809960643593604435938a6129ec565b969199909a61225e565b918360405196168652013560208501528760408501528860608501528460808501528560a085015216917fa9b749795680682fbc5a34071e19282bbb23496a8cf9bbd99bf941359bbe65bf60c03392a46040519485948561208d565b60249650611af49150611b7b9060603d60601161036a576103588183612166565b975090919050611ace565b60031960a03682011261037157611b9b611fca565b611ba3611fe0565b604435929091906001600160401b0384116103715760a08460040191853603011261037157604051630b2339af60e21b81526001600160a01b0394606093919285871691906084358686600481875afa9586156102ac578990600090600098611d35575b50611c15918491168a61241f565b95611c2e611c228a61267b565b429089606435916127aa565b9b9250809391508903611d1757611c6d92611c518c8c948f94829533911661239b565b604051630ab714fb60e11b815293849283928b60048501612240565b03816000895af19788156102ac57600098611cf6575b5050808710611cd85750610a24959697611cbd7f8969c3e485cb9f3b23622228064bc63e7350f6cf343dd86ab86169041a91eaae9261225e565b610a15878a8c60405195869516996024339901359086612272565b8660449160405191636a1dbf1b60e01b835260048301526024820152fd5b611d0d929850803d106102a5576102948183612166565b5050958980611c83565b6044898460405191636f5068bb60e11b835260048301526024820152fd5b611c15929850849150611d54908a3d8c1161036a576103588183612166565b509890915091611c07565b3461037157611d6d3661200a565b91949392916001600160a01b03808516929091908490611d8f8288338861239b565b604088611d9c858a6123d7565b611db983519586938493633dae446f60e21b85526004850161219f565b03816000895af19182156102ac57600090600093611fa6575b50604051630b2339af60e21b81526000988995916060816004818c5afa9384156102ac57600091600095611f81575b508093600192611e1082612e7e565b15611f4e575b505050611e94575b5050505090611e2c916121c1565b94868610611e765760408097505193845285602085015216917fac97b87f5422fa3beec99bff8f336310d8ebc7d33d909b7d534cd7c72f61e871863392a482519182526020820152f35b6044868860405191634e6ffe4760e11b835260048301526024820152fd5b90611eba611eb2611eac611ec29695949c979c61267b565b93613321565b9336906122c2565b924292613690565b50916040519060008252611ed582612130565b60408051635b709f1760e01b81529283908190611ef790888e60048501612358565b038160008a5af180156102ac57611e2c94611f1e93600092611f2957506106e691926121c1565b959091898080611e1e565b6106e69250611f469060403d6040116102ef576102dc8183612166565b9050916106db565b8a169c50929750611f63935090508a8c613058565b909a91969183838315611e1657611f7992613285565b8d8083611e16565b909450611f9d915060603d60601161036a576103588183612166565b9490508e611e01565b9050611fc291925060403d6040116102ef576102dc8183612166565b91908a611dd2565b600435906001600160a01b038216820361037157565b602435906001600160a01b038216820361037157565b35906001600160a01b038216820361037157565b6003199161014082840112610371576001600160a01b03926004358481168103610371579360243590811681036103715792604435926064359260a06083198401126103715760849261012435916001600160401b03831161037157826080920301126103715760040190565b6040919493926060820195825260208201520152565b9094939260609260808301968352602083015260408201520152565b60a0906003190112610371576001600160a01b03906004358281168103610371579160243590811681036103715790604435906064359060843590565b6001600160401b038111610e3957604052565b61012081019081106001600160401b03821117610e3957604052565b60c081019081106001600160401b03821117610e3957604052565b602081019081106001600160401b03821117610e3957604052565b608081019081106001600160401b03821117610e3957604052565b601f909101601f19168101906001600160401b03821190821017610e3957604052565b9190826040910312610371576020825192015190565b6001600160a01b03918216815291166020820152604081019190915260600190565b919082018092116121ce57565b634e487b7160e01b600052601160045260246000fd5b908160609103126103715780516001600160a01b03929083811681036103715792602083015181811681036103715760409093015190811681036103715790565b90816060910312610371578051916040602083015192015190565b604091949392606082019560018060a01b0316825260208201520152565b356001600160a01b03811681036103715790565b9192608093969594919660a084019760018060a01b031684526020840152604083015260608201520152565b90949392606092608083019660018060a01b03168352602083015260408201520152565b91908260a09103126103715760405160a081016001600160401b03811182821017610e39576040526080808294803584526020810135602085015260408101356040850152606081013560608501520135910152565b919082519283825260005b848110612344575050826000602080949584010152601f8019910116010190565b602081830181015184830182015201612323565b61237c939260609260018060a01b0316825260208201528160408201520190612318565b90565b6000198101919082116121ce57565b919082039182116121ce57565b929190821515806123c4575b6123b2575b50505050565b6123bb9361365a565b388080806123ac565b506001600160a01b0381163014156123a7565b906123e190612e7e565b61237c57503090565b903590607e1981360301821215610371570190565b6004111561240957565b634e487b7160e01b600052602160045260246000fd5b9190608082019261243084846123ea565b9360009435600481101561267757612447816123ff565b80612519575050906084602092604061245f8661225e565b61246f8688013580923390612e15565b955b6001600160a01b03949101908490816124898461225e565b1661250f576124a188935b610bdb83610bd68361225e565b9782604051998a9889976320e8c56560e01b8952166004880152166024860152604485015260016064850152165af1918215610ec657916124e0575090565b90506020813d602011612507575b816124fb60209383612166565b81010312610371575190565b3d91506124ee565b6124a18993612494565b806125256003926123ff565b0361256a5750906084602092604061253c8661225e565b61254c8688013580923390612e15565b612564816125598961225e565b610f36858b0161225e565b95612471565b6001600160a01b038061257c8661225e565b1661264b5760208501353403611049575b8061259a6060870161225e565b16906125a58661225e565b16612644576020850135915b6125c46125bd8761225e565b91876123ea565b92823b1561264057916125f693918893604051809681958294630af6e08f60e21b845260208d01359060048501612c33565b03925af180156126355761261c575b50906084602092604061256461102982880161225e565b602092919461262c6084926120e6565b94919250612605565b6040513d87823e3d90fd5b8780fd5b85916125b1565b612672816126588761225e565b166126656060880161225e565b602088013591339061239b565b61258d565b8580fd5b60408051612688816120f9565b60009283825283602083015283838301528360608301528360808301528360a08301528360c08301528360e0830152836101008093015260018060a01b03809484519263794052f360e01b845230600485015283602481610120998a94165afa95861561279e5781966126ff575b50505050505090565b9091928094959650813d8311612797575b61271a8183612166565b810103126127945784519461272e866120f9565b8351865260208401516020870152808401519086015260608301519182168203612794575090829160608501526080810151608085015260a081015160a085015260c081015160c085015260e081015160e08501520151908201523880808080806126f6565b80fd5b503d612710565b508451903d90823e3d90fd5b9293919291906001600160ff1b03808211610371578085116103715760009582158015612997575b6129855760a08501511115612973576040840195865180156000146128f55750506127fd85836138b8565b906000821261037157600060038311156128e65750816001908060011c600181018091116121ce5791905b8483106128c6575050505b8111610371576103e71981019081136001166121ce57946103e89194935b60008713156128b45760208101612869878251613932565b9052612876858251613932565b905261288c6128858388613932565b8251613932565b9052600081126103715793600081126103715792600081126103715791600081126103715790565b604051631997ea8d60e31b8152600490fd5b909193506128dd846128d881846129b2565b6121c1565b821c9190612828565b91156128335760019150612833565b8697925061290990612911929496976138b8565b8651906138db565b61291c8251866138b8565b9461292d60208801968751906138db565b808312156129555750506129478161294f929896516138b8565b8251906138db565b94612851565b6129479198508097965061296d9250979686516138b8565b93612851565b60405163b2094b5960e01b8152600490fd5b6040516325daaec360e01b8152600490fd5b5085156127d2565b818102929181159184041417156121ce57565b81156129bc570490565b634e487b7160e01b600052601260045260246000fd5b6001600160a01b0391821681529116602082015260400190565b95919290969394966129fd8161267b565b93612a0783613321565b85519560009687811261264057612a1e908a61299f565b91815191888312612bc45760200151888112612bc45792612a5c612a6993670de0b6b3a7640000612a55612a62958d9a999861299f565b04906121c1565b906129b2565b809961238e565b6001600160a01b03948516949091612a9190839085908416612a8c8d8a83613285565b613285565b6020612ab66040968c88519a8b8094819363db74aa1560e01b83528a600484016129d2565b03925af1968715612bba578497612b7e575b50612af192606092858993849d895197889687958693630ab714fb60e11b855260048501612240565b0393165af1918215612b735791612b52575b508097808210612b37575050818310612b1b57505050565b60449350519163a59b8c3160e01b835260048301526024820152fd5b6044925191636a1dbf1b60e01b835260048301526024820152fd5b612b6b915060603d6060116102a5576102948183612166565b505038612b03565b8351903d90823e3d90fd5b909396506020813d602011612bb2575b81612b9b60209383612166565b81010312612bae57519592612af1612ac8565b8680fd5b3d9150612b8e565b85513d86823e3d90fd5b8880fd5b90816020910312610371575180151581036103715790565b9035601e1982360301811215610371570160208101919035906001600160401b03821161037157813603831361037157565b908060209392818452848401376000828201840152601f01601f1916010190565b6001600160a01b0391821681526020810192909252606060408301528235600481101561037157612c63816123ff565b6060830152612c7460208401611ff6565b1660808201526060612c9d612c8c6040850185612be0565b608060a086015260e0850191612c12565b920135908115158092036103715760c0015290565b93929360808501612cc381876123ea565b35600481101561037157612cd6816123ff565b80612d17575050602092612ceb92869261394e565b925b0135808310612cf95750565b826044916040519163c5b5576d60e01b835260048301526024820152fd5b80612d2860039298959694986123ff565b03612d685750612d3f82612d63926020953061394e565b8095612d5a82612d516040870161225e565b610f368761225e565b612a8c8461225e565b612ced565b9082612d81916060820195612d7c8761225e565b61394e565b926001600160a01b0390612d949061225e565b16612dab612da46040850161225e565b92846123ea565b90803b1561037157612dd8946000809460405197889586948593630af6e08f60e21b855260048501612c33565b03925af19182156102ac57602092612e06575b50612d63612dfb6110298361225e565b8095612a8c8461225e565b612e0f906120e6565b38612deb565b9091906001600160a01b031680612e3157509050340361104957565b81612e3c575b505050565b612e4792309161365a565b565b903590601e198136030182121561037157018035906001600160401b03821161037157602001918160051b3603831361037157565b612e8b6040820182612e49565b9050159081612e98575090565b612ea791506060810190612e49565b90501590565b9195949293909360808760808501608086525260a09760a085019160a08260051b8701019780936000915b848310612f0a5750505050505061237c95965060018060a01b0316602083015260408201526060818403910152612318565b909192939499609f198982030183528a35605e19833603018112156103715782018035916060913681900361017e1901841215610371578f93810191838152823584820152602093848401358a8301526040908185013587840152840135600481101561037157613042613029839261301689988f9b612f9d60019d60c095612f92816123ff565b868c01528301611ff6565b612fe5612fd360e0966001612fc2818f9260a01b0396878097168b8401528801611ff6565b610100968791169101528501611ff6565b95826101209716878d01528401611ff6565b906101409116818b015261016091830135828b015261018094830135858b01528201356101a08a0152810190612be0565b90916101c08801526101e0870191612c12565b61303587870187612be0565b9086830389880152612c12565b9301359101529c01930193019194939290612ed8565b9390916000936000809460018060a01b039761308b896130778661225e565b1692869a6130848761225e565b9116613b62565b60409182850161309b8187612e49565b90506131a4575b50606085016130b18187612e49565b90506130db575b5050505050670de0b6b3a76400009160206130d59201359061299f565b04841190565b91606091856130f18d9b9c95899e979899612e49565b9190613120895183815261310481612130565b8a51630d2b68b360e41b8152998a978896879560048701612ead565b03925af192831561319b575083670de0b6b3a76400009593602093613160936130d59791849361316a575b5061315a9291610d1b916121c1565b9761238e565b97928294386130b8565b610d1b945061315a935061318e91925060603d6060116102a5576102948183612166565b949190949350919061314b565b513d85823e3d90fd5b6131b8919a50829950606092985085612e49565b906131e584518681526131ca81612130565b8886519b8c958695635e312be960e11b875260048701612ead565b0381858c5af196871561323b578283978499613210575b506132099098978661238e565b98386130a2565b9050613209985061323191975060603d6060116102a5576102948183612166565b98909791906131fc565b5051903d90823e3d90fd5b3d15613280573d906001600160401b038211610e395760405191613274601f8201601f191660200184612166565b82523d6000602084013e565b606090565b8215612e37576001600160a01b0390811690816132ee575050600080809381935af16132af613246565b50156132b757565b60405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606490fd5b92612e47936040519363a9059cbb60e01b602086015216602484015260448301526044825261331c8261214b565b61405c565b604051630754bb7160e21b815290602090829060049082906000906001600160a01b03165af19081156102ac576000916124e0575090565b1561336057565b60405162461bcd60e51b815260206004820152600e60248201526d06e6f206578697374696e67206c760941b6044820152606490fd5b94959291906133d8604051956133ab87612115565b878752602087019280845260408801948552606098606089019687528260808a01528a60a08a0152613d54565b946040880151156134d1575b60005b878901518110156134bf578690898661345e61345761347360806134698b858b6134638e6134336134188e8e613fb7565b9e8f9451925196519c519661342c86614222565b9184614580565b613452836020949e9461344a949e948988516121c1565b96015161238e565b61238e565b958b6121c1565b61299f565b9861238e565b9501518585614007565b6134ae5750501161349557600182018092116121ce576001918a525b016133e7565b60001982019182116121ce5760019160208b015261348f565b949c509a5092985050505050505050565b604051637d388ed960e11b8152600490fd5b602088018051825160009060208a016134ea815161237f565b80840361353c575050508082101561353557505b80825284518082101561352d5750905b5261351888613f62565b6135286040825101511515613359565b6133e4565b90509061350e565b90506134fe565b61354681856121c1565b60018082018092116121ce571c908351613561838551613919565b61356b8285613932565b6000821380613650575b15613616578f6135f2670de0b6b3a7640000916135ed6135d86135d36135f9976135c86135cd6135b58f8f9060009e6135af915190613932565b906138b8565b6135c86135c2858d6138b8565b91613884565b61424c565b98613884565b6147ea565b60406135e48451614233565b93015195613919565b6138b8565b0590613919565b121561360e57506136099061237f565b6134ea565b9350926134ea565b60405162461bcd60e51b81526020600482015260126024820152711a5b9d985b1a59081c1d151bd3585c9ad95d60721b6044820152606490fd5b5060008113613575565b9061331c90613682612e47956040519586936323b872dd60e01b60208601526024850161219f565b03601f198101845283612166565b94909391926136a0908587613d54565b92604083015115613759575b60005b60608401518110156134bf576136c58185613fb7565b6136dc6136d48289898c614580565b509190614222565b8481118015919061373c57608088015182613712575b5050613705575084526001905b016136af565b9750945050509250509190565b909150670de0b6b3a76400009081038181116121ce57613732908761299f565b04111538806136f2565b5050509060001982019182116121ce5760019160208601526136ff565b60208301805161376a885187614198565b808210156137845750905b5261377f83613f62565b6136ac565b905090613775565b6000906001600160a01b0316806137a35750504790565b6020602491604051928380926370a0823160e01b82523060048301525afa918215610ec65780926137d357505090565b9091506020823d6020116137fc575b816137ef60209383612166565b8101031261279457505190565b3d91506137e2565b6001600160a01b03919082168061384c575016803b1561037157600090600460405180948193630d0e30db60e41b83525af180156102ac576138435750565b612e47906120e6565b92915050813b1561037157600091602483926040519485938492632e1a7d4d60e01b845260048401525af180156102ac576138435750565b90670de0b6b3a7640000918281029281840514901517156121ce57565b90816000039180830560001914901517156121ce57565b818102929160008212600160ff1b8214166121ce5781840514901517156121ce57565b81156129bc57600160ff1b81146000198314166121ce570590565b90670de0b6b3a7640000600083820393128184128116918413901516176121ce57565b818103929160001380158285131691841216176121ce57565b919091600083820193841291129080158216911516176121ce57565b6001600160a01b0393602092859260a49290919084906139709060400161225e565b604051978896879563769f8e5d60e01b87521660048601526024850152166044830152600096879182606485015260016084850152165af1918215610ec65780926137d357505090565b919095929495604051906139cd82612115565b838252602094613a038684019783895260408501958652606093606086019a8b5260809782608088015260a087019c8d52613d54565b868a51604081015115613b1d575b505060005b8a5190848201518110156134bf578b8787613a558c8f8f9790613a4b8f9289613a3e91613fb7565b809a8c8851915191614580565b9691959095614222565b958a88518811613afa57613a97613a9e9461345e83613a8f61345e966134528e613aa99d613a86829a8d515161238e565b9b5101516121c1565b9251906121c1565b985161238e565b955101518585614007565b613ae557505011613acc57600182018092116121ce576001918c51525b01613a16565b60001982019182116121ce57600191898d510152613ac6565b9d509d50505050965050955050505050929190565b5050505050505050505060001982019182116121ce57600191898d510152613ac6565b0151613b2b85515183614198565b80821015613b5b57505b878b510152613b448a51613f62565b613b546040855101511515613359565b8638613a11565b9050613b35565b6001600160a01b0380821692909183156123ac5760409182518095636eb1769f60e11b825260209687918180613b9c8730600484016129d2565b03915afa908115613d4957600091613d1c575b5060016001605f1b0311613bc5575b5050505050565b8251936000808787019263095ea7b360e01b9485855216928360248901526044978289820152888152613bf78161214b565b519082875af1613c05613246565b81613cec575b5015613cba5791600092918380938651908982019384526024820152811988820152878152613c398161214b565b51925af1613c45613246565b81613c8a575b5015613c58578080613bbe565b5162461bcd60e51b81526004810192909252600c60248301526b5361666520417070726f766560a01b90820152606490fd5b80518015925085908315613ca2575b50505038613c4b565b613cb29350820181019101612bc8565b388481613c99565b835162461bcd60e51b815260048101879052600c60248201526b5361666520417070726f766560a01b81870152606490fd5b80518015925088908315613d04575b50505038613c0b565b613d149350820181019101612bc8565b388781613cfb565b90508581813d8311613d42575b613d338183612166565b81010312610371575138613baf565b503d613d29565b84513d6000823e3d90fd5b60408051939493909190608081016001600160401b03811182821017610e3957835260009182825260208201908382528483018481526060840196858852849960a084018181511115613f515790613dac915161238e565b936080840151976301e1338096878a0299808b05891490151715613f3d576001600160ff1b03998a8811613f395787613de4916138db565b89811315613f22578152602086015189811215613f1a57600019905b8a811315613f0c575b613e1d670de0b6b3a764000096879261299f565b04908b8211613ee35790613e30916138b8565b80845286519081158015613f04575b613ee757505085519188613e5d896101008a0151965194519661299f565b048b8111613ee357613e6e90614295565b948512613ecc575092613ea760c095936135c8613ea2613e9d866135c86135c2613eb69e9d9b613ead9a613932565b6147b6565b613884565b90613919565b9052015161299f565b049182116127945750613ec890614295565b9052565b5163329e322960e21b815260048101859052602490fd5b8a80fd5b6044925083519163b1c4aefb60e01b835260048301526024820152fd5b508015613e3f565b613f1590614222565b613e09565b600190613e00565b602490835190630e520c3b60e11b82526004820152fd5b8980fd5b634e487b7160e01b89526011600452602489fd5b885163b2094b5960e01b8152600490fd5b80516020820151918282118015613fa2575b613f7d57505050565b6080613f9e910151604051938493632cc06bc160e21b855260048501612077565b0390fd5b50670de0b6b3a7640000608082015111613f74565b901580613ffa575b613ff3576020815191015180821115613fe457604051637d388ed960e11b8152600490fd5b613fed916121c1565b60011c90565b6040015190565b5060408101511515613fbf565b90670de0b6b3a7640000908382038281116121ce578261402885928461299f565b0411159384614039575b5050505090565b909180939450018083116121ce576140509161299f565b04101538808080614032565b604080516001600160a01b0392909216929082016001600160401b03811183821017610e39576040526020928383527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656484840152803b1561415357600082819282876140d79796519301915af16140d1613246565b90614c8a565b805190816140e457505050565b82806140f4938301019101612bc8565b156140fc5750565b6084906040519062461bcd60e51b82526004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152fd5b60405162461bcd60e51b815260048101859052601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606490fd5b906141c66141cc6141b26060850151604086015190613919565b670de0b6b3a76400009283918651906138b8565b05614295565b9281840190828212600086129080158216911516176121ce576135af60206141fd6135f2946135c861420699613884565b92015185613932565b6103e7908181029181830414901517156121ce576103e8900490565b600160ff1b81146121ce5760000390565b80156129bc576a0c097ce7bc90715b34b9f160241b0590565b81156129bc570590565b1561425d57565b60405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b6044820152606490fd5b680238fd42c5cf03ffff198112158061456d575b6142b290614256565b60008112614558576064906806f05b59d3b2000000811261450b5772195e54c5dd42177f53a27172fa9ec63026282760241b9068056bc75e2d631000009083906806f05b59d3b1ffffff19015b02819068ad78ebc5ac620000008112156144e8575b806856bc75e2d631000000849212156144c4575b682b5e3af16b188000008112156144a2575b6815af1d78b58c400000811215614480575b680ad78ebc5ac620000081121561445f575b8181121561443e575b6802b5e3af16b188000081121561441d575b68015af1d78b58c400008112156143fc575b60028282800205056003838383020505600484848302050560058585830205056006868683020505600787878302050590600888888402050592600989898602050594600a8a8a8802050596600b8b8b8a02050598600c8c8c8c0205059a0101010101010101010101010205020590565b6806f5f1775788937937829168015af1d78b58c3ffff19019302059161438b565b6808f00f760a4b2db55d82916802b5e3af16b187ffff190193020591614379565b680ebc5fb41746121110829168056bc75e2d630fffff190193020591614367565b68280e60114edb805d038291680ad78ebc5ac61fffff19019302059161435e565b690127fa27722cc06cc5e282916815af1d78b58c3fffff19019302059161434c565b693f1fce3da636ea5cf8508291682b5e3af16b187fffff19019302059161433a565b6b02df0ab5a80a22c61ab5a70082916856bc75e2d630ffffff190193020591614328565b6e01855144814a7ff805980ff0084000915068ad78ebc5ac61ffffff1901614314565b6803782dace9d90000008112614545576803782dace9d8ffffff190168056bc75e2d63100000826b1425982cf597cd205cef7380926142ff565b68056bc75e2d63100000826001926142ff565b61456490600003614295565b61237c90614233565b5068070c1cc73b00c800008113156142a9565b93919284516020830151835190604085015192848112614786576135c86135c26145b4936145ae8885613919565b93613932565b670d529ae9e860000080821361476857506145de92916135c8613ea26145d9936147b6565b613932565b670de0b6b3a764000090818112614729576060614606614601836135c887613884565b6138a1565b94015190600080941360001461474157816135c861462392613884565b82811261472957508161464061463a60e0936138f6565b866138b8565b05965b01516001600160ff1b0392908381116147255787606461466661466d93836138b8565b0595613919565b91818312801561470a571561470257600019925b828113156146f4575b8181029181830414901517156146e057866146a4916121c1565b60001981019081116146e057866146ba916129b2565b92831161279457506146d361237c93926146da926138b8565b95856148f1565b936148f1565b634e487b7160e01b82526011600452602482fd5b6146fd90614222565b61468a565b600192614681565b50505061237c9291506147206146da91866148f1565b6146d3565b5080fd5b6024906040519063329e322960e21b82526004820152fd5b506147626146018261475d61475760e0956138f6565b886138b8565b6138db565b96614643565b6044925060405191637e34684f60e11b835260048301526024820152fd5b60405162461bcd60e51b81526020600482015260086024820152676e6567617469766560c01b6044820152606490fd5b670de0b6b3a764000081146147d8576135d3816135c86135c261237c946138f6565b60405163a9c8b14d60e01b8152600490fd5b60008113156148bc5780670c7d713b49da000012806148ab575b156148a257670de0b6b3a7640000906a0c097ce7bc90715b34b9f160241b90614846908302828101906ec097ce7bc90715b34b9f0fffffffff1901830261424c565b9080828002059181838202058284820205838582020591848684020593858786020595808888020597880205600f900596600d900595600b900594600990059360079005926005900591600390050101010101010160011b0590565b61237c9061495b565b50670f43fc2c04ee00008112614804565b60405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b6044820152606490fd5b600082121561495357600019915b600081131561494457905b670de0b6b3a7640000918281029281840414901517156121ce5761492d916129b2565b6001600160ff1b0381116103715761237c916138b8565b61494d90614222565b9061490a565b6001916148ff565b670de0b6b3a76400008112614c73576064906000775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b821215614c4a575b6f8bcc0026baae9e45e470190267a230cf60191b821215614c29575b820290808302906e01855144814a7ff805980ff00840009081831215614c06575b50506b02df0ab5a80a22c61ab5a70080821215614be6575b50693f1fce3da636ea5cf85080821215614bc6575b50690127fa27722cc06cc5e280821215614ba6575b5068280e60114edb805d0380821215614b86575b50680ebc5fb4174612111080821215614b6f575b506808f00f760a4b2db55d80821215614b4f575b506806f5f177578893793780821215614b2f575b506806248f33704b28660380821215614b10575b506805c548670b9510e7ac80821215614af1575b50614ab068056bc75e2d6310000091828082019168056bc75e2d630fffff19010261424c565b9080828002059181838202058284820205916003600560076009600b888a89020598808b8b02059a8b0205059805960594059205010101010160011b010590565b68056bc75e2d631000006756bc75e2d631000092020591019038614a8a565b68056bc75e2d6310000067ad78ebc5ac62000092020591019038614a76565b68056bc75e2d6310000068015af1d78b58c4000092020591019038614a62565b68056bc75e2d631000006802b5e3af16b188000092020591019038614a4e565b68056bc75e2d631000008092020591019038614a3a565b68056bc75e2d63100000680ad78ebc5ac620000092020591019038614a26565b68056bc75e2d631000006815af1d78b58c40000092020591019038614a12565b68056bc75e2d63100000682b5e3af16b18800000920205910190386149fd565b68056bc75e2d631000006856bc75e2d631000000920205910190386149e8565b68ad78ebc5ac62000000925069021e19e0c9bab2400000020591019038806149d0565b906b1425982cf597cd205cef73806803782dace9d9000000910591016149af565b5072195e54c5dd42177f53a27172fa9ec63026282760241b90056806f05b59d3b2000000614993565b614c7f614c8491614233565b61495b565b60000390565b90919015614c96575090565b815115614ca65750805190602001fd5b60405162461bcd60e51b815260206004820152908190613f9e90602483019061231856fea264697066735822122091c6afdaa437a62511d922b89547a59c355b2972f084566d98ce882e888da59d64736f6c63430008170033";
|
|
2785
|
+
|
|
2786
|
+
type ActionAddRemoveLiqV3ConstructorParams =
|
|
2787
|
+
| [signer?: Signer]
|
|
2788
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
2789
|
+
|
|
2790
|
+
const isSuperArgs = (
|
|
2791
|
+
xs: ActionAddRemoveLiqV3ConstructorParams
|
|
2792
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
2793
|
+
|
|
2794
|
+
export class ActionAddRemoveLiqV3__factory extends ContractFactory {
|
|
2795
|
+
constructor(...args: ActionAddRemoveLiqV3ConstructorParams) {
|
|
2796
|
+
if (isSuperArgs(args)) {
|
|
2797
|
+
super(...args);
|
|
2798
|
+
} else {
|
|
2799
|
+
super(_abi, _bytecode, args[0]);
|
|
2800
|
+
}
|
|
2801
|
+
this.contractName = "ActionAddRemoveLiqV3";
|
|
2802
|
+
}
|
|
2803
|
+
|
|
2804
|
+
deploy(
|
|
2805
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2806
|
+
): Promise<ActionAddRemoveLiqV3> {
|
|
2807
|
+
return super.deploy(overrides || {}) as Promise<ActionAddRemoveLiqV3>;
|
|
2808
|
+
}
|
|
2809
|
+
getDeployTransaction(
|
|
2810
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
2811
|
+
): TransactionRequest {
|
|
2812
|
+
return super.getDeployTransaction(overrides || {});
|
|
2813
|
+
}
|
|
2814
|
+
attach(address: string): ActionAddRemoveLiqV3 {
|
|
2815
|
+
return super.attach(address) as ActionAddRemoveLiqV3;
|
|
2816
|
+
}
|
|
2817
|
+
connect(signer: Signer): ActionAddRemoveLiqV3__factory {
|
|
2818
|
+
return super.connect(signer) as ActionAddRemoveLiqV3__factory;
|
|
2819
|
+
}
|
|
2820
|
+
static readonly contractName: "ActionAddRemoveLiqV3";
|
|
2821
|
+
public readonly contractName: "ActionAddRemoveLiqV3";
|
|
2822
|
+
static readonly bytecode = _bytecode;
|
|
2823
|
+
static readonly abi = _abi;
|
|
2824
|
+
static createInterface(): ActionAddRemoveLiqV3Interface {
|
|
2825
|
+
return new utils.Interface(_abi) as ActionAddRemoveLiqV3Interface;
|
|
2826
|
+
}
|
|
2827
|
+
static connect(
|
|
2828
|
+
address: string,
|
|
2829
|
+
signerOrProvider: Signer | Provider
|
|
2830
|
+
): ActionAddRemoveLiqV3 {
|
|
2831
|
+
return new Contract(
|
|
2832
|
+
address,
|
|
2833
|
+
_abi,
|
|
2834
|
+
signerOrProvider
|
|
2835
|
+
) as ActionAddRemoveLiqV3;
|
|
2836
|
+
}
|
|
2837
|
+
}
|