@pendle/core-v2 3.0.0-beta-9 → 3.0.0-beta-10
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/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +4 -0
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.json +426 -0
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v2/PendleGaugeV2.sol/PendleGaugeV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
- 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/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +1 -1
- 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/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/LinearPreview.sol/LinearPreview.dbg.json +1 -1
- 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/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
- 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/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/FluxTokenLib.sol/FluxTokenLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
- 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/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
- 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/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.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/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/IDailLikePermit.sol/IDaiLikePermit.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/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.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/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.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/IPLimitRouter.sol/ILimitOrderCallee.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPOrderMixin.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPOrderMixinType.dbg.json +1 -1
- 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 +4 -0
- package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.json +150 -0
- 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/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
- 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/Lybra/IEUSD.sol/IEUSD.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/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleOrderMixin.sol/PendleOrderMixin.dbg.json +1 -1
- package/build/artifacts/contracts/limit/helpers/ArgumentsDecoder.sol/ArgumentsDecoder.dbg.json +1 -1
- package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
- package/build/artifacts/contracts/limit/helpers/Permitable.sol/Permitable.dbg.json +1 -1
- package/build/artifacts/contracts/limit/helpers/RevertReasonParser.sol/RevertReasonParser.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
- 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/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/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
- 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/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- 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/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- 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/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- 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/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- 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/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/RouterV2InterfaceForRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.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/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol/KyberInputScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
- 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/PendleMerkleDistributor.sol +95 -0
- package/contracts/interfaces/IPMerkleDistributor.sol +24 -0
- package/package.json +1 -1
- package/typechain-types/factories/PendleMerkleDistributor__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +0 -675
- package/typechain-types/index.ts +0 -138
- package/typechain-types/AccessControlUpgradeable.ts +0 -369
- package/typechain-types/ActionAddRemoveLiq.ts +0 -1239
- package/typechain-types/ActionMintRedeem.ts +0 -673
- package/typechain-types/ActionMisc.ts +0 -155
- package/typechain-types/ActionSwapPT.ts +0 -544
- package/typechain-types/ActionSwapYT.ts +0 -730
- package/typechain-types/AuraWethVethSYUpg.ts +0 -1612
- package/typechain-types/BeaconProxy.ts +0 -97
- package/typechain-types/BulkSeller.ts +0 -743
- package/typechain-types/BulkSellerFactory.ts +0 -712
- package/typechain-types/BulkSellerOffchain.ts +0 -251
- package/typechain-types/ContextUpgradeable.ts +0 -68
- package/typechain-types/EIP712.ts +0 -135
- package/typechain-types/ERC165Upgradeable.ts +0 -113
- package/typechain-types/GMTokenPricingHelper.ts +0 -478
- package/typechain-types/IAccessControlUpgradeable.ts +0 -305
- package/typechain-types/IAggregationExecutorOptimistic.ts +0 -394
- package/typechain-types/IERC165Upgradeable.ts +0 -102
- package/typechain-types/IERC1967.ts +0 -97
- package/typechain-types/IERC5267.ts +0 -135
- package/typechain-types/IERC5267Upgradeable.ts +0 -135
- package/typechain-types/IExecutorHelperL2.ts +0 -2272
- package/typechain-types/IGMXPriceHelper.ts +0 -84
- package/typechain-types/IGMXV2DataStore.ts +0 -87
- package/typechain-types/IGMXV2Oracle.ts +0 -107
- package/typechain-types/IGMXV2Reader.ts +0 -204
- package/typechain-types/IKyberElasticFactory.ts +0 -734
- package/typechain-types/IKyberElasticPool.ts +0 -514
- package/typechain-types/IKyberElasticRouter.ts +0 -315
- package/typechain-types/IKyberLiquidityMining.ts +0 -968
- package/typechain-types/IKyberMathHelper.ts +0 -231
- package/typechain-types/IKyberPositionManager.ts +0 -773
- package/typechain-types/IMUXRewardRouter.ts +0 -1599
- package/typechain-types/IPActionAddRemoveLiq.ts +0 -1239
- package/typechain-types/IPActionMintRedeem.ts +0 -673
- package/typechain-types/IPActionMisc.ts +0 -155
- package/typechain-types/IPActionSwapPT.ts +0 -544
- package/typechain-types/IPActionSwapYT.ts +0 -686
- package/typechain-types/IPAllAction.ts +0 -2935
- package/typechain-types/IPBulkSeller.ts +0 -391
- package/typechain-types/IPBulkSellerCallback.ts +0 -115
- package/typechain-types/IPBulkSellerFactory.ts +0 -152
- package/typechain-types/IPLinearDistributor.ts +0 -199
- package/typechain-types/IPOffchainStorage.ts +0 -146
- package/typechain-types/IPPriceFeed.ts +0 -81
- package/typechain-types/ISilo.ts +0 -1093
- package/typechain-types/ISiloIncentiveController.ts +0 -129
- package/typechain-types/ISiloLens.ts +0 -107
- package/typechain-types/KyberMathHelper.ts +0 -604
- package/typechain-types/KyberNftManagerBaseUpg.ts +0 -148
- package/typechain-types/MlpPricingHelper.ts +0 -397
- package/typechain-types/PendleAuraBalancerStableLPSYV3Upg.ts +0 -1577
- package/typechain-types/PendleERC20PermitUpg.ts +0 -517
- package/typechain-types/PendleERC20Upg.ts +0 -348
- package/typechain-types/PendleGMV2TokenSY.ts +0 -1434
- package/typechain-types/PendleKyberElasticSYUpg.ts +0 -1648
- package/typechain-types/PendleLinearDistributor.ts +0 -829
- package/typechain-types/PendleMlpSY.ts +0 -1606
- package/typechain-types/PendleOffchainStorage.ts +0 -666
- package/typechain-types/PendleRouter.ts +0 -217
- package/typechain-types/PendleRouterHelper2.ts +0 -185
- package/typechain-types/PendleSiloWithIncentiveSY.ts +0 -1455
- package/typechain-types/PendleSwapBase.ts +0 -126
- package/typechain-types/PendleSwapL1.ts +0 -126
- package/typechain-types/PendleSwapL2.ts +0 -126
- package/typechain-types/ReentrancyGuardUpgradeable.ts +0 -68
- package/typechain-types/SYBaseUpg.ts +0 -1270
- package/typechain-types/SYBaseWithRewardsUpg.ts +0 -1363
- package/typechain-types/ShortStrings.ts +0 -57
- package/typechain-types/factories/AccessControlUpgradeable__factory.ts +0 -247
- package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +0 -1676
- package/typechain-types/factories/ActionMintRedeem__factory.ts +0 -806
- package/typechain-types/factories/ActionMisc__factory.ts +0 -129
- package/typechain-types/factories/ActionSwapPT__factory.ts +0 -770
- package/typechain-types/factories/ActionSwapYT__factory.ts +0 -1041
- package/typechain-types/factories/AuraWethVethSYUpg__factory.ts +0 -1264
- package/typechain-types/factories/BeaconProxy__factory.ts +0 -141
- package/typechain-types/factories/BulkSellerFactory__factory.ts +0 -574
- package/typechain-types/factories/BulkSellerOffchain__factory.ts +0 -178
- package/typechain-types/factories/BulkSeller__factory.ts +0 -692
- package/typechain-types/factories/ContextUpgradeable__factory.ts +0 -39
- package/typechain-types/factories/EIP712__factory.ts +0 -85
- package/typechain-types/factories/ERC165Upgradeable__factory.ts +0 -58
- package/typechain-types/factories/GMTokenPricingHelper__factory.ts +0 -354
- package/typechain-types/factories/IAccessControlUpgradeable__factory.ts +0 -202
- package/typechain-types/factories/IAggregationExecutorOptimistic__factory.ts +0 -213
- package/typechain-types/factories/IERC165Upgradeable__factory.ts +0 -45
- package/typechain-types/factories/IERC1967__factory.ts +0 -68
- package/typechain-types/factories/IERC5267Upgradeable__factory.ts +0 -75
- package/typechain-types/factories/IERC5267__factory.ts +0 -72
- package/typechain-types/factories/IExecutorHelperL2__factory.ts +0 -1862
- package/typechain-types/factories/IGMXPriceHelper__factory.ts +0 -45
- package/typechain-types/factories/IGMXV2DataStore__factory.ts +0 -45
- package/typechain-types/factories/IGMXV2Oracle__factory.ts +0 -47
- package/typechain-types/factories/IGMXV2Reader__factory.ts +0 -192
- package/typechain-types/factories/IKyberElasticFactory__factory.ts +0 -455
- package/typechain-types/factories/IKyberElasticPool__factory.ts +0 -315
- package/typechain-types/factories/IKyberElasticRouter__factory.ts +0 -240
- package/typechain-types/factories/IKyberLiquidityMining__factory.ts +0 -913
- package/typechain-types/factories/IKyberMathHelper__factory.ts +0 -143
- package/typechain-types/factories/IKyberPositionManager__factory.ts +0 -633
- package/typechain-types/factories/IMUXRewardRouter__factory.ts +0 -885
- package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +0 -1446
- package/typechain-types/factories/IPActionMintRedeem__factory.ts +0 -720
- package/typechain-types/factories/IPActionMisc__factory.ts +0 -91
- package/typechain-types/factories/IPActionSwapPT__factory.ts +0 -544
- package/typechain-types/factories/IPActionSwapYT__factory.ts +0 -723
- package/typechain-types/factories/IPAllAction__factory.ts +0 -3515
- package/typechain-types/factories/IPBulkSellerCallback__factory.ts +0 -53
- package/typechain-types/factories/IPBulkSellerFactory__factory.ts +0 -107
- package/typechain-types/factories/IPBulkSeller__factory.ts +0 -333
- package/typechain-types/factories/IPLinearDistributor__factory.ts +0 -150
- package/typechain-types/factories/IPOffchainStorage__factory.ts +0 -82
- package/typechain-types/factories/IPPriceFeed__factory.ts +0 -36
- package/typechain-types/factories/ISiloIncentiveController__factory.ts +0 -67
- package/typechain-types/factories/ISiloLens__factory.ts +0 -47
- package/typechain-types/factories/ISilo__factory.ts +0 -846
- package/typechain-types/factories/KyberMathHelper__factory.ts +0 -430
- package/typechain-types/factories/KyberNftManagerBaseUpg__factory.ts +0 -101
- package/typechain-types/factories/MlpPricingHelper__factory.ts +0 -303
- package/typechain-types/factories/PendleAuraBalancerStableLPSYV3Upg__factory.ts +0 -1209
- package/typechain-types/factories/PendleERC20PermitUpg__factory.ts +0 -389
- package/typechain-types/factories/PendleERC20Upg__factory.ts +0 -261
- package/typechain-types/factories/PendleGMV2TokenSY__factory.ts +0 -1240
- package/typechain-types/factories/PendleKyberElasticSYUpg__factory.ts +0 -1351
- package/typechain-types/factories/PendleLinearDistributor__factory.ts +0 -627
- package/typechain-types/factories/PendleMlpSY__factory.ts +0 -1314
- package/typechain-types/factories/PendleOffchainStorage__factory.ts +0 -492
- package/typechain-types/factories/PendleRouterHelper2__factory.ts +0 -206
- package/typechain-types/factories/PendleRouter__factory.ts +0 -264
- package/typechain-types/factories/PendleSiloWithIncentiveSY__factory.ts +0 -1266
- package/typechain-types/factories/PendleSwapBase__factory.ts +0 -91
- package/typechain-types/factories/PendleSwapL1__factory.ts +0 -126
- package/typechain-types/factories/PendleSwapL2__factory.ts +0 -126
- package/typechain-types/factories/ReentrancyGuardUpgradeable__factory.ts +0 -43
- package/typechain-types/factories/SYBaseUpg__factory.ts +0 -988
- package/typechain-types/factories/SYBaseWithRewardsUpg__factory.ts +0 -1061
- package/typechain-types/factories/ShortStrings__factory.ts +0 -77
|
@@ -1,206 +0,0 @@
|
|
|
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
|
-
PendleRouterHelper2,
|
|
8
|
-
PendleRouterHelper2Interface,
|
|
9
|
-
} from "../PendleRouterHelper2";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
internalType: "address",
|
|
16
|
-
name: "_ROUTER",
|
|
17
|
-
type: "address",
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
internalType: "address",
|
|
21
|
-
name: "_WETH",
|
|
22
|
-
type: "address",
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
stateMutability: "nonpayable",
|
|
26
|
-
type: "constructor",
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
inputs: [],
|
|
30
|
-
name: "ROUTER",
|
|
31
|
-
outputs: [
|
|
32
|
-
{
|
|
33
|
-
internalType: "contract IPAllAction",
|
|
34
|
-
name: "",
|
|
35
|
-
type: "address",
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
stateMutability: "view",
|
|
39
|
-
type: "function",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
inputs: [],
|
|
43
|
-
name: "WETH",
|
|
44
|
-
outputs: [
|
|
45
|
-
{
|
|
46
|
-
internalType: "address",
|
|
47
|
-
name: "",
|
|
48
|
-
type: "address",
|
|
49
|
-
},
|
|
50
|
-
],
|
|
51
|
-
stateMutability: "view",
|
|
52
|
-
type: "function",
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
inputs: [
|
|
56
|
-
{
|
|
57
|
-
internalType: "address",
|
|
58
|
-
name: "receiver",
|
|
59
|
-
type: "address",
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
internalType: "address",
|
|
63
|
-
name: "SY",
|
|
64
|
-
type: "address",
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
internalType: "uint256",
|
|
68
|
-
name: "minSyOut",
|
|
69
|
-
type: "uint256",
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
components: [
|
|
73
|
-
{
|
|
74
|
-
internalType: "address",
|
|
75
|
-
name: "tokenIn",
|
|
76
|
-
type: "address",
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
internalType: "uint256",
|
|
80
|
-
name: "netTokenIn",
|
|
81
|
-
type: "uint256",
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
internalType: "address",
|
|
85
|
-
name: "tokenMintSy",
|
|
86
|
-
type: "address",
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
internalType: "address",
|
|
90
|
-
name: "bulk",
|
|
91
|
-
type: "address",
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
internalType: "address",
|
|
95
|
-
name: "pendleSwap",
|
|
96
|
-
type: "address",
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
components: [
|
|
100
|
-
{
|
|
101
|
-
internalType: "enum SwapType",
|
|
102
|
-
name: "swapType",
|
|
103
|
-
type: "uint8",
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
internalType: "address",
|
|
107
|
-
name: "extRouter",
|
|
108
|
-
type: "address",
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
internalType: "bytes",
|
|
112
|
-
name: "extCalldata",
|
|
113
|
-
type: "bytes",
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
internalType: "bool",
|
|
117
|
-
name: "needScale",
|
|
118
|
-
type: "bool",
|
|
119
|
-
},
|
|
120
|
-
],
|
|
121
|
-
internalType: "struct SwapData",
|
|
122
|
-
name: "swapData",
|
|
123
|
-
type: "tuple",
|
|
124
|
-
},
|
|
125
|
-
],
|
|
126
|
-
internalType: "struct TokenInput",
|
|
127
|
-
name: "input",
|
|
128
|
-
type: "tuple",
|
|
129
|
-
},
|
|
130
|
-
],
|
|
131
|
-
name: "mintSyFromToken",
|
|
132
|
-
outputs: [
|
|
133
|
-
{
|
|
134
|
-
internalType: "uint256",
|
|
135
|
-
name: "netSyOut",
|
|
136
|
-
type: "uint256",
|
|
137
|
-
},
|
|
138
|
-
],
|
|
139
|
-
stateMutability: "payable",
|
|
140
|
-
type: "function",
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
stateMutability: "payable",
|
|
144
|
-
type: "receive",
|
|
145
|
-
},
|
|
146
|
-
];
|
|
147
|
-
|
|
148
|
-
const _bytecode =
|
|
149
|
-
"0x60c06040523480156200001157600080fd5b5060405162000ca838038062000ca8833981016040819052620000349162000262565b6001600160a01b03808316608081905290821660a081905262000057916200005f565b505062000345565b6001600160a01b03821662000072575050565b6200008660026001600160601b036200029a565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa158015620000e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001069190620002cf565b10156200012a576200011b828260006200012e565b6200012a82826000196200012e565b5050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b17905291516000928392908716916200018c9190620002e9565b6000604051808303816000865af19150503d8060008114620001cb576040519150601f19603f3d011682016040523d82523d6000602084013e620001d0565b606091505b5091509150818015620001fe575080511580620001fe575080806020019051810190620001fe91906200031a565b6200023e5760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b604482015260640160405180910390fd5b5050505050565b80516001600160a01b03811681146200025d57600080fd5b919050565b600080604083850312156200027657600080fd5b620002818362000245565b9150620002916020840162000245565b90509250929050565b60006001600160601b0383811680620002c357634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b600060208284031215620002e257600080fd5b5051919050565b6000825160005b818110156200030c5760208186018101518583015201620002f0565b506000920191825250919050565b6000602082840312156200032d57600080fd5b815180151581146200033e57600080fd5b9392505050565b60805160a05161092b6200037d6000396000818160c80152818160f6015261014d0152600081816056015261018d015261092b6000f3fe6080604052600436106100385760003560e01c806332fe7b2614610044578063443e651214610095578063ad5c4648146100b657600080fd5b3661003f57005b600080fd5b34801561005057600080fd5b506100787f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100a86100a336600461062c565b6100ea565b60405190815260200161008c565b3480156100c257600080fd5b506100787f000000000000000000000000000000000000000000000000000000000000000081565b60006001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166101236020840184610698565b6001600160a01b03161461013657600080fd5b6101466000338460200135610214565b61017660007f00000000000000000000000000000000000000000000000000000000000000008460200135610285565b60405163221f328960e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063443e6512906101c89088908890889088906004016107a2565b6020604051808303816000875af11580156101e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061020b919061084c565b95945050505050565b6001600160a01b03831661026a578034146102655760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064015b60405180910390fd5b505050565b8015610265576102656001600160a01b03841683308461034b565b6001600160a01b0383166102ec57816001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156102ce57600080fd5b505af11580156102e2573d6000803e3d6000fd5b5050505050505050565b604051632e1a7d4d60e01b8152600481018290526001600160a01b03841690632e1a7d4d90602401600060405180830381600087803b15801561032e57600080fd5b505af1158015610342573d6000803e3d6000fd5b50505050505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526103a59085906103ab565b50505050565b6000610400826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166104809092919063ffffffff16565b90508051600014806104215750808060200190518101906104219190610865565b6102655760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161025c565b606061048f8484600085610497565b949350505050565b6060824710156104f85760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161025c565b600080866001600160a01b0316858760405161051491906108a6565b60006040518083038185875af1925050503d8060008114610551576040519150601f19603f3d011682016040523d82523d6000602084013e610556565b606091505b509150915061056787838387610572565b979650505050505050565b606083156105e15782516000036105da576001600160a01b0385163b6105da5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161025c565b508161048f565b61048f83838151156105f65781518083602001fd5b8060405162461bcd60e51b815260040161025c91906108c2565b80356001600160a01b038116811461062757600080fd5b919050565b6000806000806080858703121561064257600080fd5b61064b85610610565b935061065960208601610610565b92506040850135915060608501356001600160401b0381111561067b57600080fd5b850160c0818803121561068d57600080fd5b939692955090935050565b6000602082840312156106aa57600080fd5b6106b382610610565b9392505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b80151581146106f157600080fd5b50565b8035610627816106e3565b600081356004811061071057600080fd5b83526001600160a01b0361072660208401610610565b1660208401526040820135601e1983360301811261074357600080fd5b82016020810190356001600160401b0381111561075f57600080fd5b80360382131561076e57600080fd5b608060408601526107836080860182846106ba565b915050610792606084016106f4565b8015156060860152509392505050565b6001600160a01b03858116825284811660208301526040820184905260806060830152600090806107d285610610565b166080840152602084013560a0840152806107ef60408601610610565b1660c08401528061080260608601610610565b1660e08401528061081560808601610610565b166101008401525060a0830135607e1984360301811261083457600080fd5b60c061012084015261056761014084018583016106ff565b60006020828403121561085e57600080fd5b5051919050565b60006020828403121561087757600080fd5b81516106b3816106e3565b60005b8381101561089d578181015183820152602001610885565b50506000910152565b600082516108b8818460208701610882565b9190910192915050565b60208152600082518060208401526108e1816040850160208701610882565b601f01601f1916919091016040019291505056fea2646970667358221220290f43b68296db75a0fad7e7ab094547fedf29910e7bc5986ae76c94da1bb5f464736f6c63430008170033";
|
|
150
|
-
|
|
151
|
-
type PendleRouterHelper2ConstructorParams =
|
|
152
|
-
| [signer?: Signer]
|
|
153
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
154
|
-
|
|
155
|
-
const isSuperArgs = (
|
|
156
|
-
xs: PendleRouterHelper2ConstructorParams
|
|
157
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
158
|
-
|
|
159
|
-
export class PendleRouterHelper2__factory extends ContractFactory {
|
|
160
|
-
constructor(...args: PendleRouterHelper2ConstructorParams) {
|
|
161
|
-
if (isSuperArgs(args)) {
|
|
162
|
-
super(...args);
|
|
163
|
-
} else {
|
|
164
|
-
super(_abi, _bytecode, args[0]);
|
|
165
|
-
}
|
|
166
|
-
this.contractName = "PendleRouterHelper2";
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
deploy(
|
|
170
|
-
_ROUTER: string,
|
|
171
|
-
_WETH: string,
|
|
172
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
173
|
-
): Promise<PendleRouterHelper2> {
|
|
174
|
-
return super.deploy(
|
|
175
|
-
_ROUTER,
|
|
176
|
-
_WETH,
|
|
177
|
-
overrides || {}
|
|
178
|
-
) as Promise<PendleRouterHelper2>;
|
|
179
|
-
}
|
|
180
|
-
getDeployTransaction(
|
|
181
|
-
_ROUTER: string,
|
|
182
|
-
_WETH: string,
|
|
183
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
184
|
-
): TransactionRequest {
|
|
185
|
-
return super.getDeployTransaction(_ROUTER, _WETH, overrides || {});
|
|
186
|
-
}
|
|
187
|
-
attach(address: string): PendleRouterHelper2 {
|
|
188
|
-
return super.attach(address) as PendleRouterHelper2;
|
|
189
|
-
}
|
|
190
|
-
connect(signer: Signer): PendleRouterHelper2__factory {
|
|
191
|
-
return super.connect(signer) as PendleRouterHelper2__factory;
|
|
192
|
-
}
|
|
193
|
-
static readonly contractName: "PendleRouterHelper2";
|
|
194
|
-
public readonly contractName: "PendleRouterHelper2";
|
|
195
|
-
static readonly bytecode = _bytecode;
|
|
196
|
-
static readonly abi = _abi;
|
|
197
|
-
static createInterface(): PendleRouterHelper2Interface {
|
|
198
|
-
return new utils.Interface(_abi) as PendleRouterHelper2Interface;
|
|
199
|
-
}
|
|
200
|
-
static connect(
|
|
201
|
-
address: string,
|
|
202
|
-
signerOrProvider: Signer | Provider
|
|
203
|
-
): PendleRouterHelper2 {
|
|
204
|
-
return new Contract(address, _abi, signerOrProvider) as PendleRouterHelper2;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
@@ -1,264 +0,0 @@
|
|
|
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 { PendleRouter, PendleRouterInterface } from "../PendleRouter";
|
|
7
|
-
|
|
8
|
-
const _abi = [
|
|
9
|
-
{
|
|
10
|
-
inputs: [
|
|
11
|
-
{
|
|
12
|
-
internalType: "address",
|
|
13
|
-
name: "_ACTION_MINT_REDEEM",
|
|
14
|
-
type: "address",
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
internalType: "address",
|
|
18
|
-
name: "_ACTION_ADD_REMOVE_LIQ",
|
|
19
|
-
type: "address",
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
internalType: "address",
|
|
23
|
-
name: "_ACTION_SWAP_PT",
|
|
24
|
-
type: "address",
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
internalType: "address",
|
|
28
|
-
name: "_ACTION_SWAP_YT",
|
|
29
|
-
type: "address",
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
internalType: "address",
|
|
33
|
-
name: "_ACTION_MISC",
|
|
34
|
-
type: "address",
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
stateMutability: "nonpayable",
|
|
38
|
-
type: "constructor",
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
inputs: [
|
|
42
|
-
{
|
|
43
|
-
internalType: "bytes4",
|
|
44
|
-
name: "selector",
|
|
45
|
-
type: "bytes4",
|
|
46
|
-
},
|
|
47
|
-
],
|
|
48
|
-
name: "RouterInvalidAction",
|
|
49
|
-
type: "error",
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
inputs: [
|
|
53
|
-
{
|
|
54
|
-
internalType: "address",
|
|
55
|
-
name: "facet",
|
|
56
|
-
type: "address",
|
|
57
|
-
},
|
|
58
|
-
],
|
|
59
|
-
name: "RouterInvalidFacet",
|
|
60
|
-
type: "error",
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
anonymous: false,
|
|
64
|
-
inputs: [
|
|
65
|
-
{
|
|
66
|
-
components: [
|
|
67
|
-
{
|
|
68
|
-
internalType: "address",
|
|
69
|
-
name: "facetAddress",
|
|
70
|
-
type: "address",
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
internalType: "enum IDiamondCut.FacetCutAction",
|
|
74
|
-
name: "action",
|
|
75
|
-
type: "uint8",
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
internalType: "bytes4[]",
|
|
79
|
-
name: "functionSelectors",
|
|
80
|
-
type: "bytes4[]",
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
indexed: false,
|
|
84
|
-
internalType: "struct IDiamondCut.FacetCut[]",
|
|
85
|
-
name: "_diamondCut",
|
|
86
|
-
type: "tuple[]",
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
indexed: false,
|
|
90
|
-
internalType: "address",
|
|
91
|
-
name: "_init",
|
|
92
|
-
type: "address",
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
indexed: false,
|
|
96
|
-
internalType: "bytes",
|
|
97
|
-
name: "_calldata",
|
|
98
|
-
type: "bytes",
|
|
99
|
-
},
|
|
100
|
-
],
|
|
101
|
-
name: "DiamondCut",
|
|
102
|
-
type: "event",
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
stateMutability: "payable",
|
|
106
|
-
type: "fallback",
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
inputs: [
|
|
110
|
-
{
|
|
111
|
-
internalType: "bytes4",
|
|
112
|
-
name: "sig",
|
|
113
|
-
type: "bytes4",
|
|
114
|
-
},
|
|
115
|
-
],
|
|
116
|
-
name: "facetAddress",
|
|
117
|
-
outputs: [
|
|
118
|
-
{
|
|
119
|
-
internalType: "address",
|
|
120
|
-
name: "",
|
|
121
|
-
type: "address",
|
|
122
|
-
},
|
|
123
|
-
],
|
|
124
|
-
stateMutability: "view",
|
|
125
|
-
type: "function",
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
inputs: [],
|
|
129
|
-
name: "facetAddresses",
|
|
130
|
-
outputs: [
|
|
131
|
-
{
|
|
132
|
-
internalType: "address[]",
|
|
133
|
-
name: "",
|
|
134
|
-
type: "address[]",
|
|
135
|
-
},
|
|
136
|
-
],
|
|
137
|
-
stateMutability: "view",
|
|
138
|
-
type: "function",
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
inputs: [
|
|
142
|
-
{
|
|
143
|
-
internalType: "address",
|
|
144
|
-
name: "facet",
|
|
145
|
-
type: "address",
|
|
146
|
-
},
|
|
147
|
-
],
|
|
148
|
-
name: "facetFunctionSelectors",
|
|
149
|
-
outputs: [
|
|
150
|
-
{
|
|
151
|
-
internalType: "bytes4[]",
|
|
152
|
-
name: "res",
|
|
153
|
-
type: "bytes4[]",
|
|
154
|
-
},
|
|
155
|
-
],
|
|
156
|
-
stateMutability: "view",
|
|
157
|
-
type: "function",
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
inputs: [],
|
|
161
|
-
name: "facets",
|
|
162
|
-
outputs: [
|
|
163
|
-
{
|
|
164
|
-
components: [
|
|
165
|
-
{
|
|
166
|
-
internalType: "address",
|
|
167
|
-
name: "facetAddress",
|
|
168
|
-
type: "address",
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
internalType: "bytes4[]",
|
|
172
|
-
name: "functionSelectors",
|
|
173
|
-
type: "bytes4[]",
|
|
174
|
-
},
|
|
175
|
-
],
|
|
176
|
-
internalType: "struct IDiamondLoupe.Facet[]",
|
|
177
|
-
name: "facets_",
|
|
178
|
-
type: "tuple[]",
|
|
179
|
-
},
|
|
180
|
-
],
|
|
181
|
-
stateMutability: "view",
|
|
182
|
-
type: "function",
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
stateMutability: "payable",
|
|
186
|
-
type: "receive",
|
|
187
|
-
},
|
|
188
|
-
];
|
|
189
|
-
|
|
190
|
-
const _bytecode =
|
|
191
|
-
"0x6101206040523480156200001257600080fd5b5060405162002db838038062002db8833981016040819052620000359162000f1e565b6001600160a01b0380861660805284811660a05283811660c05282811660e0528116610100526200006562000070565b5050505050620010d6565b60006200007c62000237565b80519091506000816001600160401b038111156200009e576200009e62000f8e565b604051908082528060200260200182016040528015620000ed57816020015b60408051606080820183526000808352602083015291810191909152815260200190600190039081620000bd5790505b50905060005b82811015620001f55783818151811062000111576200011162000fa4565b60200260200101516000015182828151811062000132576200013262000fa4565b6020026020010151600001906001600160a01b031690816001600160a01b03168152505060008282815181106200016d576200016d62000fa4565b60200260200101516020019060028111156200018d576200018d62000fba565b90816002811115620001a357620001a362000fba565b81525050838181518110620001bc57620001bc62000fa4565b602002602001015160200151828281518110620001dd57620001dd62000fa4565b602090810291909101015160400152600101620000f3565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb6738160006040516200022a92919062000fd0565b60405180910390a1505050565b606060006200024562000371565b8051909150806001600160401b0381111562000265576200026562000f8e565b604051908082528060200260200182016040528015620002ad57816020015b604080518082019091526000815260606020820152815260200190600190039081620002845790505b50925060005b818110156200036b57828181518110620002d157620002d162000fa4565b6020026020010151848281518110620002ee57620002ee62000fa4565b6020026020010151600001906001600160a01b031690816001600160a01b0316815250506200033f8382815181106200032b576200032b62000fa4565b6020026020010151620004ea60201b60201c565b84828151811062000354576200035462000fa4565b6020908102919091018101510152600101620002b3565b50505090565b60408051600680825260e08201909252606091600091906020820160c08036833701905050905060a05181600081518110620003b157620003b162000fa4565b60200260200101906001600160a01b031690816001600160a01b03168152505060805181600181518110620003ea57620003ea62000fa4565b60200260200101906001600160a01b031690816001600160a01b03168152505060c0518160028151811062000423576200042362000fa4565b60200260200101906001600160a01b031690816001600160a01b03168152505060e051816003815181106200045c576200045c62000fa4565b60200260200101906001600160a01b031690816001600160a01b031681525050610100518160048151811062000496576200049662000fa4565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600581518110620004cd57620004cd62000fa4565b6001600160a01b0390921660209283029190910190910152919050565b606060a0516001600160a01b0316826001600160a01b031603620007e55760408051600c8082526101a082019092529060208201610180803683370190505090506397ee279e60e01b8160008151811062000549576200054962000fa4565b6001600160e01b03199092166020928302919091019091015280516365ac8f5960e11b908290600190811062000583576200058362000fa4565b6001600160e01b0319909216602092830291909101909101528051633af1f32960e01b9082906002908110620005bd57620005bd62000fa4565b6001600160e01b031990921660209283029190910190910152805163409c7a8960e01b9082906003908110620005f757620005f762000fa4565b6001600160e01b031990921660209283029190910190910152805163015491d160e01b908290600490811062000631576200063162000fa4565b6001600160e01b031990921660209283029190910190910152805163b7d75b8b60e01b90829060059081106200066b576200066b62000fa4565b6001600160e01b031990921660209283029190910190910152805163e6eaba0160e01b9082906006908110620006a557620006a562000fa4565b6001600160e01b031990921660209283029190910190910152805163694ab55960e01b9082906007908110620006df57620006df62000fa4565b6001600160e01b031990921660209283029190910190910152805163178d29d360e01b908290600890811062000719576200071962000fa4565b6001600160e01b031990921660209283029190910190910152805163690807ad60e01b908290600990811062000753576200075362000fa4565b6001600160e01b0319909216602092830291909101909101528051636fde40a760e11b908290600a9081106200078d576200078d62000fa4565b6001600160e01b0319909216602092830291909101909101528051634221c25560e11b908290600b908110620007c757620007c762000fa4565b6001600160e01b031990921660209283029190910190910152919050565b6080516001600160a01b0316826001600160a01b0316036200099d576040805160078082526101008201909252906020820160e080368337019050509050631a8631b260e01b8160008151811062000841576200084162000fa4565b6001600160e01b031990921660209283029190910190910152805163237596db60e11b90829060019081106200087b576200087b62000fa4565b6001600160e01b031990921660209283029190910190910152805163221f328960e11b9082906002908110620008b557620008b562000fa4565b6001600160e01b0319909216602092830291909101909101528051631efc6ebd60e31b9082906003908110620008ef57620008ef62000fa4565b6001600160e01b031990921660209283029190910190910152805163339748cb60e01b908290600490811062000929576200092962000fa4565b6001600160e01b031990921660209283029190910190910152805163527df19960e01b908290600590811062000963576200096362000fa4565b6001600160e01b03199092166020928302919091019091015280516342d94c9b60e11b9082906006908110620007c757620007c762000fa4565b60c0516001600160a01b0316826001600160a01b03160362000b1a5760408051600680825260e08201909252906020820160c080368337019050509050632032aecd60e01b81600081518110620009f857620009f862000fa4565b6001600160e01b0319909216602092830291909101909101528051635c2fa85d60e11b908290600190811062000a325762000a3262000fa4565b6001600160e01b03199092166020928302919091019091015280516383c71b6960e01b908290600290811062000a6c5762000a6c62000fa4565b6001600160e01b031990921660209283029190910190910152805163a5f9931b60e01b908290600390811062000aa65762000aa662000fa4565b6001600160e01b031990921660209283029190910190910152805163dd371acd60e01b908290600490811062000ae05762000ae062000fa4565b6001600160e01b03199092166020928302919091019091015280516335c5ef9960e11b9082906005908110620007c757620007c762000fa4565b60e0516001600160a01b0316826001600160a01b03160362000d4657604080516009808252610140820190925290602082016101208036833701905050905063fa483e7260e01b8160008151811062000b775762000b7762000fa4565b6001600160e01b031990921660209283029190910190910152805163190c351360e31b908290600190811062000bb15762000bb162000fa4565b6001600160e01b031990921660209283029190910190910152805163448b9b9560e01b908290600290811062000beb5762000beb62000fa4565b6001600160e01b031990921660209283029190910190910152805163fdd71f4360e01b908290600390811062000c255762000c2562000fa4565b6001600160e01b0319909216602092830291909101909101528051636254e3ef60e11b908290600490811062000c5f5762000c5f62000fa4565b6001600160e01b031990921660209283029190910190910152805162d5f59560e61b908290600590811062000c985762000c9862000fa4565b6001600160e01b031990921660209283029190910190910152805163358c23e960e21b908290600690811062000cd25762000cd262000fa4565b6001600160e01b0319909216602092830291909101909101528051632fc6f50d60e21b908290600790811062000d0c5762000d0c62000fa4565b6001600160e01b0319909216602092830291909101909101528051631c2b981360e31b9082906008908110620007c757620007c762000fa4565b610100516001600160a01b0316826001600160a01b03160362000ddb57604080516002808252606082018352909160208301908036833701905050905063acdb32df60e01b8160008151811062000da15762000da162000fa4565b6001600160e01b031990921660209283029190910190910152805163d617b03b60e01b9082906001908110620007c757620007c762000fa4565b306001600160a01b0383160362000ed95760408051600480825260a08201909252906020820160808036833701905050905063cdffacc660e01b8160008151811062000e2b5762000e2b62000fa4565b6001600160e01b03199092166020928302919091019091015280516314bbdacb60e21b908290600190811062000e655762000e6562000fa4565b6001600160e01b03199092166020928302919091019091015280516356fe50af60e11b908290600290811062000e9f5762000e9f62000fa4565b6001600160e01b0319909216602092830291909101909101528051637a0ed62760e01b9082906003908110620007c757620007c762000fa4565b60405163da21759360e01b81526001600160a01b038316600482015260240160405180910390fd5b80516001600160a01b038116811462000f1957600080fd5b919050565b600080600080600060a0868803121562000f3757600080fd5b62000f428662000f01565b945062000f526020870162000f01565b935062000f626040870162000f01565b925062000f726060870162000f01565b915062000f826080870162000f01565b90509295509295909350565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b60006060808301606084528086518083526080925060808601915060808160051b8701016020808a0160005b84811015620010a857898403607f19018652815180516001600160a01b031685528381015189860190600381106200104457634e487b7160e01b600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b80831015620010925783516001600160e01b031916825292860192600192909201919086019062001066565b5097850197955050509082019060010162000ffc565b50506001600160a01b0389168882015250868103604088015260008152602081019998505050505050505050565b60805160a05160c05160e05161010051611b7e6200123a6000396000818161028601528181610c92015281816114ec01526116d001526000818161023201528181610a640152818161102801528181611124015281816115a2015281816115e10152818161165f0152818161172e015281816118430152818161188201526119000152600081816101de015281816108dc01528181610f92015281816112c9015281816113a50152818161142f0152818161156301526117ac0152600081816101360152818161042a01528181610ed001528181610f0f01528181611067015281816110a60152818161121301528181611252015281816113660152818161146e015281816114ad015281816116200152818161176d015261180401526000818161018a0152818161071c01528181610f5301528181610fd1015281816110e501528181611195015281816111d40152818161132701526118c10152611b7e6000f3fe6080604052600436106100435760003560e01c806352ef6b2c146100545780637a0ed6271461007f578063adfca15e146100a1578063cdffacc6146100ce5761004a565b3661004a57005b6100526100fb565b005b34801561006057600080fd5b5061006961010d565b6040516100769190611989565b60405180910390f35b34801561008b57600080fd5b50610094610309565b6040516100769190611a1c565b3480156100ad57600080fd5b506100c16100bc366004611a9b565b610426565b6040516100769190611acb565b3480156100da57600080fd5b506100ee6100e9366004611ade565b610e50565b6040516100769190611b08565b61010b610106611949565b611965565b565b60408051600680825260e08201909252606091600091906020820160c0803683370190505090507f00000000000000000000000000000000000000000000000000000000000000008160008151811061016857610168611b32565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000000000000000000000000000000000000000000000816001815181106101bc576101bc611b32565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160028151811061021057610210611b32565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160038151811061026457610264611b32565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000000000000000000000000000000000000000000000816004815181106102b8576102b8611b32565b60200260200101906001600160a01b031690816001600160a01b03168152505030816005815181106102ec576102ec611b32565b6001600160a01b0390921660209283029190910190910152919050565b6060600061031561010d565b8051909150806001600160401b0381111561033257610332611b1c565b60405190808252806020026020018201604052801561037857816020015b6040805180820190915260008152606060208201528152602001906001900390816103505790505b50925060005b818110156104205782818151811061039857610398611b32565b60200260200101518482815181106103b2576103b2611b32565b6020026020010151600001906001600160a01b031690816001600160a01b0316815250506103f88382815181106103eb576103eb611b32565b6020026020010151610426565b84828151811061040a5761040a611b32565b602090810291909101810151015260010161037e565b50505090565b60607f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03160361071a5760408051600c8082526101a082019092529060208201610180803683370190505090506397ee279e60e01b8160008151811061049f5761049f611b32565b6001600160e01b03199092166020928302919091019091015280516365ac8f5960e11b90829060019081106104d6576104d6611b32565b6001600160e01b0319909216602092830291909101909101528051633af1f32960e01b908290600290811061050d5761050d611b32565b6001600160e01b031990921660209283029190910190910152805163409c7a8960e01b908290600390811061054457610544611b32565b6001600160e01b031990921660209283029190910190910152805163015491d160e01b908290600490811061057b5761057b611b32565b6001600160e01b031990921660209283029190910190910152805163b7d75b8b60e01b90829060059081106105b2576105b2611b32565b6001600160e01b031990921660209283029190910190910152805163e6eaba0160e01b90829060069081106105e9576105e9611b32565b6001600160e01b031990921660209283029190910190910152805163694ab55960e01b908290600790811061062057610620611b32565b6001600160e01b031990921660209283029190910190910152805163178d29d360e01b908290600890811061065757610657611b32565b6001600160e01b031990921660209283029190910190910152805163690807ad60e01b908290600990811061068e5761068e611b32565b6001600160e01b0319909216602092830291909101909101528051636fde40a760e11b908290600a9081106106c5576106c5611b32565b6001600160e01b0319909216602092830291909101909101528051634221c25560e11b908290600b9081106106fc576106fc611b32565b6001600160e01b031990921660209283029190910190910152919050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316036108da576040805160078082526101008201909252906020820160e080368337019050509050631a8631b260e01b8160008151811061079057610790611b32565b6001600160e01b031990921660209283029190910190910152805163237596db60e11b90829060019081106107c7576107c7611b32565b6001600160e01b031990921660209283029190910190910152805163221f328960e11b90829060029081106107fe576107fe611b32565b6001600160e01b0319909216602092830291909101909101528051631efc6ebd60e31b908290600390811061083557610835611b32565b6001600160e01b031990921660209283029190910190910152805163339748cb60e01b908290600490811061086c5761086c611b32565b6001600160e01b031990921660209283029190910190910152805163527df19960e01b90829060059081106108a3576108a3611b32565b6001600160e01b03199092166020928302919091019091015280516342d94c9b60e11b90829060069081106106fc576106fc611b32565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610a625760408051600680825260e08201909252906020820160c080368337019050509050632032aecd60e01b8160008151811061094f5761094f611b32565b6001600160e01b0319909216602092830291909101909101528051635c2fa85d60e11b908290600190811061098657610986611b32565b6001600160e01b03199092166020928302919091019091015280516383c71b6960e01b90829060029081106109bd576109bd611b32565b6001600160e01b031990921660209283029190910190910152805163a5f9931b60e01b90829060039081106109f4576109f4611b32565b6001600160e01b031990921660209283029190910190910152805163dd371acd60e01b9082906004908110610a2b57610a2b611b32565b6001600160e01b03199092166020928302919091019091015280516335c5ef9960e11b90829060059081106106fc576106fc611b32565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610c9057604080516009808252610140820190925290602082016101208036833701905050905063fa483e7260e01b81600081518110610ad957610ad9611b32565b6001600160e01b031990921660209283029190910190910152805163190c351360e31b9082906001908110610b1057610b10611b32565b6001600160e01b031990921660209283029190910190910152805163448b9b9560e01b9082906002908110610b4757610b47611b32565b6001600160e01b031990921660209283029190910190910152805163fdd71f4360e01b9082906003908110610b7e57610b7e611b32565b6001600160e01b0319909216602092830291909101909101528051636254e3ef60e11b9082906004908110610bb557610bb5611b32565b6001600160e01b031990921660209283029190910190910152805162d5f59560e61b9082906005908110610beb57610beb611b32565b6001600160e01b031990921660209283029190910190910152805163358c23e960e21b9082906006908110610c2257610c22611b32565b6001600160e01b0319909216602092830291909101909101528051632fc6f50d60e21b9082906007908110610c5957610c59611b32565b6001600160e01b0319909216602092830291909101909101528051631c2b981360e31b90829060089081106106fc576106fc611b32565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610d3b57604080516002808252606082018352909160208301908036833701905050905063acdb32df60e01b81600081518110610d0457610d04611b32565b6001600160e01b031990921660209283029190910190910152805163d617b03b60e01b90829060019081106106fc576106fc611b32565b306001600160a01b03831603610e2c5760408051600480825260a08201909252906020820160808036833701905050905063cdffacc660e01b81600081518110610d8757610d87611b32565b6001600160e01b03199092166020928302919091019091015280516314bbdacb60e21b9082906001908110610dbe57610dbe611b32565b6001600160e01b03199092166020928302919091019091015280516356fe50af60e11b9082906002908110610df557610df5611b32565b6001600160e01b0319909216602092830291909101909101528051637a0ed62760e01b90829060039081106106fc576106fc611b32565b8160405163da21759360e01b8152600401610e479190611b08565b60405180910390fd5b6000634bf713cf60e11b6001600160e01b0319831610156113c95763237596db60e11b6001600160e01b0319831610156111485762d5f59560e61b6001600160e01b031983161015610ff557630d4318d960e11b6001600160e01b031983161015610f38576001600160e01b0319821663015491d160e01b03610ef457507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663178d29d360e01b03610f3357507f0000000000000000000000000000000000000000000000000000000000000000919050565b611924565b6001600160e01b03198216630d4318d960e11b03610f7757507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216632032aecd60e01b03610fb657507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663339748cb60e01b03610f3357507f0000000000000000000000000000000000000000000000000000000000000000919050565b63409c7a8960e01b6001600160e01b03198316101561108b576001600160e01b0319821662d5f59560e61b0361104c57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216633af1f32960e01b03610f3357507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663409c7a8960e01b036110ca57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663221f328960e11b0361110957507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663448b9b9560e01b03610f3357507f0000000000000000000000000000000000000000000000000000000000000000919050565b6335c5ef9960e11b6001600160e01b031983161015611295576314bbdacb60e21b6001600160e01b0319831610156111f8576001600160e01b0319821663237596db60e11b036111b957507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663527df19960e01b03610f3357507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663690807ad60e01b0361123757507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663694ab55960e01b0361127657507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b031982166314bbdacb60e21b03610f33575030919050565b6383c71b6960e01b6001600160e01b03198316101561130c576001600160e01b031982166335c5ef9960e11b036112ed57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216637a0ed62760e01b03610f33575030919050565b6001600160e01b031982166342d94c9b60e11b0361134b57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216634221c25560e11b0361138a57507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b031982166383c71b6960e01b03610f3357507f0000000000000000000000000000000000000000000000000000000000000000919050565b6366ffd66360e11b6001600160e01b03198316101561168357635c2fa85d60e11b6001600160e01b03198316101561152f5763acdb32df60e01b6001600160e01b031983161015611492576001600160e01b0319821663a5f9931b60e01b0361145357507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216634bf713cf60e11b03610f3357507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663b7d75b8b60e01b036114d157507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663acdb32df60e01b0361151057507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b031982166356fe50af60e11b03610f33575030919050565b636254e3ef60e11b6001600160e01b0319831610156115c6576001600160e01b03198216635c2fa85d60e11b0361158757507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216632fc6f50d60e21b03610f3357507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216636254e3ef60e11b0361160557507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b031982166365ac8f5960e11b0361164457507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663190c351360e31b03610f3357507f0000000000000000000000000000000000000000000000000000000000000000919050565b631c2b981360e31b6001600160e01b0319831610156117d05763358c23e960e21b6001600160e01b031983161015611713576001600160e01b0319821663d617b03b60e01b036116f457507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b031982166366ffd66360e11b03610f33575030919050565b6001600160e01b0319821663358c23e960e21b0361175257507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216636fde40a760e11b0361179157507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663dd371acd60e01b03610f3357507f0000000000000000000000000000000000000000000000000000000000000000919050565b631efc6ebd60e31b6001600160e01b031983161015611867576001600160e01b0319821663e6eaba0160e01b0361182857507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216631c2b981360e31b03610f3357507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216637d241f3960e11b036118a657507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b03198216631efc6ebd60e31b036118e557507f0000000000000000000000000000000000000000000000000000000000000000919050565b6001600160e01b0319821663fdd71f4360e01b0361192457507f0000000000000000000000000000000000000000000000000000000000000000919050565b604051636ad67de160e11b81526001600160e01b031983166004820152602401610e47565b60006119606000356001600160e01b031916610e50565b905090565b3660008037600080366000845af43d6000803e808015611984573d6000f35b3d6000fd5b6020808252825182820181905260009190848201906040850190845b818110156119ca5783516001600160a01b0316835292840192918401916001016119a5565b50909695505050505050565b60008151808452602080850194506020840160005b83811015611a115781516001600160e01b031916875295820195908201906001016119eb565b509495945050505050565b600060208083018184528085518083526040925060408601915060408160051b87010184880160005b83811015611a8d57888303603f19018552815180516001600160a01b03168452870151878401879052611a7a878501826119d6565b9588019593505090860190600101611a45565b509098975050505050505050565b600060208284031215611aad57600080fd5b81356001600160a01b0381168114611ac457600080fd5b9392505050565b602081526000611ac460208301846119d6565b600060208284031215611af057600080fd5b81356001600160e01b031981168114611ac457600080fd5b6001600160a01b0391909116815260200190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fdfea2646970667358221220ff0aced209902f18fe457e128f74484289771911c3a0fd7ce40cd79944a0e27364736f6c63430008170033";
|
|
192
|
-
|
|
193
|
-
type PendleRouterConstructorParams =
|
|
194
|
-
| [signer?: Signer]
|
|
195
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
196
|
-
|
|
197
|
-
const isSuperArgs = (
|
|
198
|
-
xs: PendleRouterConstructorParams
|
|
199
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
200
|
-
|
|
201
|
-
export class PendleRouter__factory extends ContractFactory {
|
|
202
|
-
constructor(...args: PendleRouterConstructorParams) {
|
|
203
|
-
if (isSuperArgs(args)) {
|
|
204
|
-
super(...args);
|
|
205
|
-
} else {
|
|
206
|
-
super(_abi, _bytecode, args[0]);
|
|
207
|
-
}
|
|
208
|
-
this.contractName = "PendleRouter";
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
deploy(
|
|
212
|
-
_ACTION_MINT_REDEEM: string,
|
|
213
|
-
_ACTION_ADD_REMOVE_LIQ: string,
|
|
214
|
-
_ACTION_SWAP_PT: string,
|
|
215
|
-
_ACTION_SWAP_YT: string,
|
|
216
|
-
_ACTION_MISC: string,
|
|
217
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
218
|
-
): Promise<PendleRouter> {
|
|
219
|
-
return super.deploy(
|
|
220
|
-
_ACTION_MINT_REDEEM,
|
|
221
|
-
_ACTION_ADD_REMOVE_LIQ,
|
|
222
|
-
_ACTION_SWAP_PT,
|
|
223
|
-
_ACTION_SWAP_YT,
|
|
224
|
-
_ACTION_MISC,
|
|
225
|
-
overrides || {}
|
|
226
|
-
) as Promise<PendleRouter>;
|
|
227
|
-
}
|
|
228
|
-
getDeployTransaction(
|
|
229
|
-
_ACTION_MINT_REDEEM: string,
|
|
230
|
-
_ACTION_ADD_REMOVE_LIQ: string,
|
|
231
|
-
_ACTION_SWAP_PT: string,
|
|
232
|
-
_ACTION_SWAP_YT: string,
|
|
233
|
-
_ACTION_MISC: string,
|
|
234
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
235
|
-
): TransactionRequest {
|
|
236
|
-
return super.getDeployTransaction(
|
|
237
|
-
_ACTION_MINT_REDEEM,
|
|
238
|
-
_ACTION_ADD_REMOVE_LIQ,
|
|
239
|
-
_ACTION_SWAP_PT,
|
|
240
|
-
_ACTION_SWAP_YT,
|
|
241
|
-
_ACTION_MISC,
|
|
242
|
-
overrides || {}
|
|
243
|
-
);
|
|
244
|
-
}
|
|
245
|
-
attach(address: string): PendleRouter {
|
|
246
|
-
return super.attach(address) as PendleRouter;
|
|
247
|
-
}
|
|
248
|
-
connect(signer: Signer): PendleRouter__factory {
|
|
249
|
-
return super.connect(signer) as PendleRouter__factory;
|
|
250
|
-
}
|
|
251
|
-
static readonly contractName: "PendleRouter";
|
|
252
|
-
public readonly contractName: "PendleRouter";
|
|
253
|
-
static readonly bytecode = _bytecode;
|
|
254
|
-
static readonly abi = _abi;
|
|
255
|
-
static createInterface(): PendleRouterInterface {
|
|
256
|
-
return new utils.Interface(_abi) as PendleRouterInterface;
|
|
257
|
-
}
|
|
258
|
-
static connect(
|
|
259
|
-
address: string,
|
|
260
|
-
signerOrProvider: Signer | Provider
|
|
261
|
-
): PendleRouter {
|
|
262
|
-
return new Contract(address, _abi, signerOrProvider) as PendleRouter;
|
|
263
|
-
}
|
|
264
|
-
}
|