@pendle/core-v2 2.22.1 → 2.22.2
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/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/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/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- 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/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- 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/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/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.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/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.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/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethVethSY.sol/PendleAuraWethVethSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethVethSY.sol/PendleAuraWethVethSY.json +1166 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.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/MetaStable/MetaStablePreview.sol/MetaStablePreview.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/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/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/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.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/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleArbitrumStakedEthSY.sol/PendleArbitrumStakedEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWbEthSY.sol/PendleWbEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.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/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/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/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- 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/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.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/Math.sol/Math.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/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/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/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/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/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/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/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/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/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/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/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.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/PtAndLpToAsset.sol/PtAndLpToAsset.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/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendlePtUsdChainlinkOracle.sol/PendlePtUsdChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
- 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/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.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/PendleSwap.sol/PendleSwap.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/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethVethSY.sol +147 -0
- package/package.json +1 -1
- package/typechain-types/BotActionCallback.ts +900 -0
- package/typechain-types/BotActionHelper.ts +950 -0
- package/typechain-types/BotDecisionHelper.ts +561 -0
- package/typechain-types/BotDecisionHelperBase.ts +484 -0
- package/typechain-types/BotDecisionLib.ts +335 -0
- package/typechain-types/{PendleCamelotV1RouterHelper.ts → CamelotV1LpHelper.ts} +75 -5
- package/typechain-types/{CamelotV1PreviewHelper.ts → CamelotV1Preview.ts} +23 -63
- package/typechain-types/IBotDecisionHelper.ts +452 -0
- package/typechain-types/ICamelotSY.ts +100 -0
- package/typechain-types/ILongYieldDecisionHelper.ts +486 -0
- package/typechain-types/ILongYieldTradingBot.ts +878 -0
- package/typechain-types/IPExternalRewardDistributor.ts +192 -0
- package/typechain-types/IPMarketFactoryV2.ts +253 -0
- package/typechain-types/IShortYieldDecisionHelper.ts +452 -0
- package/typechain-types/IShortYieldTradingBot.ts +770 -0
- package/typechain-types/ITradingBotBase.ts +569 -0
- package/typechain-types/LongYieldActionHelper.ts +900 -0
- package/typechain-types/LongYieldDecisionHelper.ts +601 -0
- package/typechain-types/LongYieldTradingBot.ts +1364 -0
- package/typechain-types/MarketExtLib.ts +81 -0
- package/typechain-types/PendleAuraWethVethSY.ts +1511 -0
- package/typechain-types/PendleBinanceEth.ts +1229 -0
- package/typechain-types/PendleCamelotV1SY.ts +245 -0
- package/typechain-types/PendleExternalRewardDistributor.ts +546 -0
- package/typechain-types/PendleGaugeV2.ts +225 -0
- package/typechain-types/PendleMarketFactoryV2.ts +930 -0
- package/typechain-types/PendleMarketV2.ts +1311 -0
- package/typechain-types/PendleSwETH.ts +1216 -0
- package/typechain-types/ShortYieldActionHelper.ts +856 -0
- package/typechain-types/ShortYieldDecisionHelper.ts +601 -0
- package/typechain-types/ShortYieldTradingBot.ts +1212 -0
- package/typechain-types/TradingBotBase.ts +856 -0
- package/typechain-types/TradingBotOffchain.ts +568 -0
- package/typechain-types/factories/BotActionCallback__factory.ts +830 -0
- package/typechain-types/factories/BotActionHelper__factory.ts +947 -0
- package/typechain-types/factories/BotDecisionHelperBase__factory.ts +808 -0
- package/typechain-types/factories/BotDecisionHelper__factory.ts +1192 -0
- package/typechain-types/factories/BotDecisionLib__factory.ts +642 -0
- package/typechain-types/factories/{PendleCamelotV1RouterHelper__factory.ts → CamelotV1LpHelper__factory.ts} +60 -12
- package/typechain-types/factories/CamelotV1Preview__factory.ts +309 -0
- package/typechain-types/factories/IBotDecisionHelper__factory.ts +667 -0
- package/typechain-types/factories/ICamelotSY__factory.ts +49 -0
- package/typechain-types/factories/ILongYieldDecisionHelper__factory.ts +690 -0
- package/typechain-types/factories/ILongYieldTradingBot__factory.ts +996 -0
- package/typechain-types/factories/IPExternalRewardDistributor__factory.ts +128 -0
- package/typechain-types/factories/IPMarketFactoryV2__factory.ts +181 -0
- package/typechain-types/factories/IShortYieldDecisionHelper__factory.ts +671 -0
- package/typechain-types/factories/IShortYieldTradingBot__factory.ts +977 -0
- package/typechain-types/factories/ITradingBotBase__factory.ts +530 -0
- package/typechain-types/factories/LongYieldActionHelper__factory.ts +834 -0
- package/typechain-types/factories/LongYieldDecisionHelper__factory.ts +1272 -0
- package/typechain-types/factories/LongYieldTradingBot__factory.ts +1637 -0
- package/typechain-types/factories/MarketExtLib__factory.ts +74 -0
- package/typechain-types/factories/PendleAuraWethVethSY__factory.ts +1231 -0
- package/typechain-types/factories/PendleBinanceEth__factory.ts +1052 -0
- package/typechain-types/factories/PendleCamelotV1SY__factory.ts +156 -9
- package/typechain-types/factories/PendleExternalRewardDistributor__factory.ts +414 -0
- package/typechain-types/factories/PendleGaugeV2__factory.ts +140 -0
- package/typechain-types/factories/PendleMarketFactoryV2__factory.ts +770 -0
- package/typechain-types/factories/PendleMarketV2__factory.ts +1290 -0
- package/typechain-types/factories/PendleSwETH__factory.ts +1022 -0
- package/typechain-types/factories/ShortYieldActionHelper__factory.ts +784 -0
- package/typechain-types/factories/ShortYieldDecisionHelper__factory.ts +1272 -0
- package/typechain-types/factories/ShortYieldTradingBot__factory.ts +1445 -0
- package/typechain-types/factories/TradingBotBase__factory.ts +780 -0
- package/typechain-types/factories/TradingBotOffchain__factory.ts +1133 -0
- package/typechain-types/hardhat.d.ts +153 -0
- package/typechain-types/index.ts +34 -0
- package/typechain-types/IPVotingEscrowSidechain.ts +0 -155
- package/typechain-types/PendleCamelotRewardHelper.ts +0 -347
- package/typechain-types/factories/CamelotV1PreviewHelper__factory.ts +0 -400
- package/typechain-types/factories/IPVotingEscrowSidechain__factory.ts +0 -112
- package/typechain-types/factories/PendleCamelotRewardHelper__factory.ts +0 -317
|
@@ -0,0 +1,770 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
Signer,
|
|
6
|
+
utils,
|
|
7
|
+
Contract,
|
|
8
|
+
ContractFactory,
|
|
9
|
+
Overrides,
|
|
10
|
+
BigNumberish,
|
|
11
|
+
} from "ethers";
|
|
12
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
13
|
+
import type {
|
|
14
|
+
PendleMarketFactoryV2,
|
|
15
|
+
PendleMarketFactoryV2Interface,
|
|
16
|
+
} from "../PendleMarketFactoryV2";
|
|
17
|
+
|
|
18
|
+
const _abi = [
|
|
19
|
+
{
|
|
20
|
+
inputs: [
|
|
21
|
+
{
|
|
22
|
+
internalType: "address",
|
|
23
|
+
name: "_yieldContractFactory",
|
|
24
|
+
type: "address",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
internalType: "address",
|
|
28
|
+
name: "_marketCreationCodeContractA",
|
|
29
|
+
type: "address",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
internalType: "uint256",
|
|
33
|
+
name: "_marketCreationCodeSizeA",
|
|
34
|
+
type: "uint256",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
internalType: "address",
|
|
38
|
+
name: "_marketCreationCodeContractB",
|
|
39
|
+
type: "address",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
internalType: "uint256",
|
|
43
|
+
name: "_marketCreationCodeSizeB",
|
|
44
|
+
type: "uint256",
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
stateMutability: "nonpayable",
|
|
48
|
+
type: "constructor",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
inputs: [],
|
|
52
|
+
name: "MarketFactoryExpiredPt",
|
|
53
|
+
type: "error",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
inputs: [
|
|
57
|
+
{
|
|
58
|
+
internalType: "int256",
|
|
59
|
+
name: "initialAnchor",
|
|
60
|
+
type: "int256",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
internalType: "int256",
|
|
64
|
+
name: "minInitialAnchor",
|
|
65
|
+
type: "int256",
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
name: "MarketFactoryInitialAnchorTooLow",
|
|
69
|
+
type: "error",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
inputs: [],
|
|
73
|
+
name: "MarketFactoryInvalidPt",
|
|
74
|
+
type: "error",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
inputs: [
|
|
78
|
+
{
|
|
79
|
+
internalType: "uint80",
|
|
80
|
+
name: "lnFeeRateRoot",
|
|
81
|
+
type: "uint80",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
internalType: "uint256",
|
|
85
|
+
name: "maxLnFeeRateRoot",
|
|
86
|
+
type: "uint256",
|
|
87
|
+
},
|
|
88
|
+
],
|
|
89
|
+
name: "MarketFactoryLnFeeRateRootTooHigh",
|
|
90
|
+
type: "error",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
inputs: [],
|
|
94
|
+
name: "MarketFactoryMarketExists",
|
|
95
|
+
type: "error",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
inputs: [
|
|
99
|
+
{
|
|
100
|
+
internalType: "uint8",
|
|
101
|
+
name: "reserveFeePercent",
|
|
102
|
+
type: "uint8",
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
internalType: "uint8",
|
|
106
|
+
name: "maxReserveFeePercent",
|
|
107
|
+
type: "uint8",
|
|
108
|
+
},
|
|
109
|
+
],
|
|
110
|
+
name: "MarketFactoryReserveFeePercentTooHigh",
|
|
111
|
+
type: "error",
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
inputs: [],
|
|
115
|
+
name: "MarketFactoryZeroTreasury",
|
|
116
|
+
type: "error",
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
anonymous: false,
|
|
120
|
+
inputs: [
|
|
121
|
+
{
|
|
122
|
+
indexed: true,
|
|
123
|
+
internalType: "address",
|
|
124
|
+
name: "market",
|
|
125
|
+
type: "address",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
indexed: true,
|
|
129
|
+
internalType: "address",
|
|
130
|
+
name: "PT",
|
|
131
|
+
type: "address",
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
indexed: false,
|
|
135
|
+
internalType: "int256",
|
|
136
|
+
name: "scalarRoot",
|
|
137
|
+
type: "int256",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
indexed: false,
|
|
141
|
+
internalType: "int256",
|
|
142
|
+
name: "initialAnchor",
|
|
143
|
+
type: "int256",
|
|
144
|
+
},
|
|
145
|
+
],
|
|
146
|
+
name: "CreateNewMarket",
|
|
147
|
+
type: "event",
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
anonymous: false,
|
|
151
|
+
inputs: [
|
|
152
|
+
{
|
|
153
|
+
indexed: false,
|
|
154
|
+
internalType: "uint8",
|
|
155
|
+
name: "version",
|
|
156
|
+
type: "uint8",
|
|
157
|
+
},
|
|
158
|
+
],
|
|
159
|
+
name: "Initialized",
|
|
160
|
+
type: "event",
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
anonymous: false,
|
|
164
|
+
inputs: [
|
|
165
|
+
{
|
|
166
|
+
indexed: true,
|
|
167
|
+
internalType: "address",
|
|
168
|
+
name: "treasury",
|
|
169
|
+
type: "address",
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
indexed: false,
|
|
173
|
+
internalType: "uint80",
|
|
174
|
+
name: "defaultLnFeeRateRoot",
|
|
175
|
+
type: "uint80",
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
indexed: false,
|
|
179
|
+
internalType: "uint8",
|
|
180
|
+
name: "reserveFeePercent",
|
|
181
|
+
type: "uint8",
|
|
182
|
+
},
|
|
183
|
+
],
|
|
184
|
+
name: "NewMarketConfig",
|
|
185
|
+
type: "event",
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
anonymous: false,
|
|
189
|
+
inputs: [
|
|
190
|
+
{
|
|
191
|
+
indexed: true,
|
|
192
|
+
internalType: "address",
|
|
193
|
+
name: "previousOwner",
|
|
194
|
+
type: "address",
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
indexed: true,
|
|
198
|
+
internalType: "address",
|
|
199
|
+
name: "newOwner",
|
|
200
|
+
type: "address",
|
|
201
|
+
},
|
|
202
|
+
],
|
|
203
|
+
name: "OwnershipTransferred",
|
|
204
|
+
type: "event",
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
anonymous: false,
|
|
208
|
+
inputs: [
|
|
209
|
+
{
|
|
210
|
+
indexed: true,
|
|
211
|
+
internalType: "address",
|
|
212
|
+
name: "router",
|
|
213
|
+
type: "address",
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
indexed: false,
|
|
217
|
+
internalType: "uint80",
|
|
218
|
+
name: "lnFeeRateRoot",
|
|
219
|
+
type: "uint80",
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
indexed: false,
|
|
223
|
+
internalType: "uint8",
|
|
224
|
+
name: "reserveFeePercent",
|
|
225
|
+
type: "uint8",
|
|
226
|
+
},
|
|
227
|
+
],
|
|
228
|
+
name: "SetOverriddenFee",
|
|
229
|
+
type: "event",
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
anonymous: false,
|
|
233
|
+
inputs: [
|
|
234
|
+
{
|
|
235
|
+
indexed: true,
|
|
236
|
+
internalType: "address",
|
|
237
|
+
name: "router",
|
|
238
|
+
type: "address",
|
|
239
|
+
},
|
|
240
|
+
],
|
|
241
|
+
name: "UnsetOverriddenFee",
|
|
242
|
+
type: "event",
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
inputs: [],
|
|
246
|
+
name: "claimOwnership",
|
|
247
|
+
outputs: [],
|
|
248
|
+
stateMutability: "nonpayable",
|
|
249
|
+
type: "function",
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
inputs: [
|
|
253
|
+
{
|
|
254
|
+
internalType: "address",
|
|
255
|
+
name: "PT",
|
|
256
|
+
type: "address",
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
internalType: "int256",
|
|
260
|
+
name: "scalarRoot",
|
|
261
|
+
type: "int256",
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
internalType: "int256",
|
|
265
|
+
name: "initialAnchor",
|
|
266
|
+
type: "int256",
|
|
267
|
+
},
|
|
268
|
+
],
|
|
269
|
+
name: "createNewMarket",
|
|
270
|
+
outputs: [
|
|
271
|
+
{
|
|
272
|
+
internalType: "address",
|
|
273
|
+
name: "market",
|
|
274
|
+
type: "address",
|
|
275
|
+
},
|
|
276
|
+
],
|
|
277
|
+
stateMutability: "nonpayable",
|
|
278
|
+
type: "function",
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
inputs: [],
|
|
282
|
+
name: "defaultFee",
|
|
283
|
+
outputs: [
|
|
284
|
+
{
|
|
285
|
+
internalType: "uint80",
|
|
286
|
+
name: "lnFeeRateRoot",
|
|
287
|
+
type: "uint80",
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
internalType: "uint8",
|
|
291
|
+
name: "reserveFeePercent",
|
|
292
|
+
type: "uint8",
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
internalType: "bool",
|
|
296
|
+
name: "active",
|
|
297
|
+
type: "bool",
|
|
298
|
+
},
|
|
299
|
+
],
|
|
300
|
+
stateMutability: "view",
|
|
301
|
+
type: "function",
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
inputs: [],
|
|
305
|
+
name: "gaugeController",
|
|
306
|
+
outputs: [
|
|
307
|
+
{
|
|
308
|
+
internalType: "address",
|
|
309
|
+
name: "",
|
|
310
|
+
type: "address",
|
|
311
|
+
},
|
|
312
|
+
],
|
|
313
|
+
stateMutability: "view",
|
|
314
|
+
type: "function",
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
inputs: [
|
|
318
|
+
{
|
|
319
|
+
internalType: "address",
|
|
320
|
+
name: "router",
|
|
321
|
+
type: "address",
|
|
322
|
+
},
|
|
323
|
+
],
|
|
324
|
+
name: "getMarketConfig",
|
|
325
|
+
outputs: [
|
|
326
|
+
{
|
|
327
|
+
internalType: "address",
|
|
328
|
+
name: "_treasury",
|
|
329
|
+
type: "address",
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
internalType: "uint80",
|
|
333
|
+
name: "_lnFeeRateRoot",
|
|
334
|
+
type: "uint80",
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
internalType: "uint8",
|
|
338
|
+
name: "_reserveFeePercent",
|
|
339
|
+
type: "uint8",
|
|
340
|
+
},
|
|
341
|
+
],
|
|
342
|
+
stateMutability: "view",
|
|
343
|
+
type: "function",
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
inputs: [
|
|
347
|
+
{
|
|
348
|
+
internalType: "address",
|
|
349
|
+
name: "_treasury",
|
|
350
|
+
type: "address",
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
internalType: "uint80",
|
|
354
|
+
name: "_defaultLnFeeRateRoot",
|
|
355
|
+
type: "uint80",
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
internalType: "uint8",
|
|
359
|
+
name: "_defaultReserveFeePercent",
|
|
360
|
+
type: "uint8",
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
internalType: "address",
|
|
364
|
+
name: "newVePendle",
|
|
365
|
+
type: "address",
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
internalType: "address",
|
|
369
|
+
name: "newGaugeController",
|
|
370
|
+
type: "address",
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
internalType: "address",
|
|
374
|
+
name: "newRewardDistributor",
|
|
375
|
+
type: "address",
|
|
376
|
+
},
|
|
377
|
+
],
|
|
378
|
+
name: "initialize",
|
|
379
|
+
outputs: [],
|
|
380
|
+
stateMutability: "nonpayable",
|
|
381
|
+
type: "function",
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
inputs: [
|
|
385
|
+
{
|
|
386
|
+
internalType: "address",
|
|
387
|
+
name: "market",
|
|
388
|
+
type: "address",
|
|
389
|
+
},
|
|
390
|
+
],
|
|
391
|
+
name: "isValidMarket",
|
|
392
|
+
outputs: [
|
|
393
|
+
{
|
|
394
|
+
internalType: "bool",
|
|
395
|
+
name: "",
|
|
396
|
+
type: "bool",
|
|
397
|
+
},
|
|
398
|
+
],
|
|
399
|
+
stateMutability: "view",
|
|
400
|
+
type: "function",
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
inputs: [],
|
|
404
|
+
name: "marketCreationCodeContractA",
|
|
405
|
+
outputs: [
|
|
406
|
+
{
|
|
407
|
+
internalType: "address",
|
|
408
|
+
name: "",
|
|
409
|
+
type: "address",
|
|
410
|
+
},
|
|
411
|
+
],
|
|
412
|
+
stateMutability: "view",
|
|
413
|
+
type: "function",
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
inputs: [],
|
|
417
|
+
name: "marketCreationCodeContractB",
|
|
418
|
+
outputs: [
|
|
419
|
+
{
|
|
420
|
+
internalType: "address",
|
|
421
|
+
name: "",
|
|
422
|
+
type: "address",
|
|
423
|
+
},
|
|
424
|
+
],
|
|
425
|
+
stateMutability: "view",
|
|
426
|
+
type: "function",
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
inputs: [],
|
|
430
|
+
name: "marketCreationCodeSizeA",
|
|
431
|
+
outputs: [
|
|
432
|
+
{
|
|
433
|
+
internalType: "uint256",
|
|
434
|
+
name: "",
|
|
435
|
+
type: "uint256",
|
|
436
|
+
},
|
|
437
|
+
],
|
|
438
|
+
stateMutability: "view",
|
|
439
|
+
type: "function",
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
inputs: [],
|
|
443
|
+
name: "marketCreationCodeSizeB",
|
|
444
|
+
outputs: [
|
|
445
|
+
{
|
|
446
|
+
internalType: "uint256",
|
|
447
|
+
name: "",
|
|
448
|
+
type: "uint256",
|
|
449
|
+
},
|
|
450
|
+
],
|
|
451
|
+
stateMutability: "view",
|
|
452
|
+
type: "function",
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
inputs: [],
|
|
456
|
+
name: "maxLnFeeRateRoot",
|
|
457
|
+
outputs: [
|
|
458
|
+
{
|
|
459
|
+
internalType: "uint256",
|
|
460
|
+
name: "",
|
|
461
|
+
type: "uint256",
|
|
462
|
+
},
|
|
463
|
+
],
|
|
464
|
+
stateMutability: "view",
|
|
465
|
+
type: "function",
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
inputs: [],
|
|
469
|
+
name: "maxReserveFeePercent",
|
|
470
|
+
outputs: [
|
|
471
|
+
{
|
|
472
|
+
internalType: "uint8",
|
|
473
|
+
name: "",
|
|
474
|
+
type: "uint8",
|
|
475
|
+
},
|
|
476
|
+
],
|
|
477
|
+
stateMutability: "view",
|
|
478
|
+
type: "function",
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
inputs: [],
|
|
482
|
+
name: "minInitialAnchor",
|
|
483
|
+
outputs: [
|
|
484
|
+
{
|
|
485
|
+
internalType: "int256",
|
|
486
|
+
name: "",
|
|
487
|
+
type: "int256",
|
|
488
|
+
},
|
|
489
|
+
],
|
|
490
|
+
stateMutability: "view",
|
|
491
|
+
type: "function",
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
inputs: [
|
|
495
|
+
{
|
|
496
|
+
internalType: "address",
|
|
497
|
+
name: "",
|
|
498
|
+
type: "address",
|
|
499
|
+
},
|
|
500
|
+
],
|
|
501
|
+
name: "overriddenFee",
|
|
502
|
+
outputs: [
|
|
503
|
+
{
|
|
504
|
+
internalType: "uint80",
|
|
505
|
+
name: "lnFeeRateRoot",
|
|
506
|
+
type: "uint80",
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
internalType: "uint8",
|
|
510
|
+
name: "reserveFeePercent",
|
|
511
|
+
type: "uint8",
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
internalType: "bool",
|
|
515
|
+
name: "active",
|
|
516
|
+
type: "bool",
|
|
517
|
+
},
|
|
518
|
+
],
|
|
519
|
+
stateMutability: "view",
|
|
520
|
+
type: "function",
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
inputs: [],
|
|
524
|
+
name: "owner",
|
|
525
|
+
outputs: [
|
|
526
|
+
{
|
|
527
|
+
internalType: "address",
|
|
528
|
+
name: "",
|
|
529
|
+
type: "address",
|
|
530
|
+
},
|
|
531
|
+
],
|
|
532
|
+
stateMutability: "view",
|
|
533
|
+
type: "function",
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
inputs: [],
|
|
537
|
+
name: "pendingOwner",
|
|
538
|
+
outputs: [
|
|
539
|
+
{
|
|
540
|
+
internalType: "address",
|
|
541
|
+
name: "",
|
|
542
|
+
type: "address",
|
|
543
|
+
},
|
|
544
|
+
],
|
|
545
|
+
stateMutability: "view",
|
|
546
|
+
type: "function",
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
inputs: [],
|
|
550
|
+
name: "rewardDistributor",
|
|
551
|
+
outputs: [
|
|
552
|
+
{
|
|
553
|
+
internalType: "address",
|
|
554
|
+
name: "",
|
|
555
|
+
type: "address",
|
|
556
|
+
},
|
|
557
|
+
],
|
|
558
|
+
stateMutability: "view",
|
|
559
|
+
type: "function",
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
inputs: [
|
|
563
|
+
{
|
|
564
|
+
internalType: "uint80",
|
|
565
|
+
name: "newLnFeeRateRoot",
|
|
566
|
+
type: "uint80",
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
internalType: "uint8",
|
|
570
|
+
name: "newReserveFeePercent",
|
|
571
|
+
type: "uint8",
|
|
572
|
+
},
|
|
573
|
+
],
|
|
574
|
+
name: "setDefaultFee",
|
|
575
|
+
outputs: [],
|
|
576
|
+
stateMutability: "nonpayable",
|
|
577
|
+
type: "function",
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
inputs: [
|
|
581
|
+
{
|
|
582
|
+
internalType: "address",
|
|
583
|
+
name: "router",
|
|
584
|
+
type: "address",
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
internalType: "uint80",
|
|
588
|
+
name: "newLnFeeRateRoot",
|
|
589
|
+
type: "uint80",
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
internalType: "uint8",
|
|
593
|
+
name: "newReserveFeePercent",
|
|
594
|
+
type: "uint8",
|
|
595
|
+
},
|
|
596
|
+
],
|
|
597
|
+
name: "setOverriddenFee",
|
|
598
|
+
outputs: [],
|
|
599
|
+
stateMutability: "nonpayable",
|
|
600
|
+
type: "function",
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
inputs: [
|
|
604
|
+
{
|
|
605
|
+
internalType: "address",
|
|
606
|
+
name: "newTreasury",
|
|
607
|
+
type: "address",
|
|
608
|
+
},
|
|
609
|
+
],
|
|
610
|
+
name: "setTreasury",
|
|
611
|
+
outputs: [],
|
|
612
|
+
stateMutability: "nonpayable",
|
|
613
|
+
type: "function",
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
inputs: [
|
|
617
|
+
{
|
|
618
|
+
internalType: "address",
|
|
619
|
+
name: "newOwner",
|
|
620
|
+
type: "address",
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
internalType: "bool",
|
|
624
|
+
name: "direct",
|
|
625
|
+
type: "bool",
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
internalType: "bool",
|
|
629
|
+
name: "renounce",
|
|
630
|
+
type: "bool",
|
|
631
|
+
},
|
|
632
|
+
],
|
|
633
|
+
name: "transferOwnership",
|
|
634
|
+
outputs: [],
|
|
635
|
+
stateMutability: "nonpayable",
|
|
636
|
+
type: "function",
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
inputs: [],
|
|
640
|
+
name: "treasury",
|
|
641
|
+
outputs: [
|
|
642
|
+
{
|
|
643
|
+
internalType: "address",
|
|
644
|
+
name: "",
|
|
645
|
+
type: "address",
|
|
646
|
+
},
|
|
647
|
+
],
|
|
648
|
+
stateMutability: "view",
|
|
649
|
+
type: "function",
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
inputs: [
|
|
653
|
+
{
|
|
654
|
+
internalType: "address",
|
|
655
|
+
name: "router",
|
|
656
|
+
type: "address",
|
|
657
|
+
},
|
|
658
|
+
],
|
|
659
|
+
name: "unsetOverriddenFee",
|
|
660
|
+
outputs: [],
|
|
661
|
+
stateMutability: "nonpayable",
|
|
662
|
+
type: "function",
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
inputs: [],
|
|
666
|
+
name: "vePendle",
|
|
667
|
+
outputs: [
|
|
668
|
+
{
|
|
669
|
+
internalType: "address",
|
|
670
|
+
name: "",
|
|
671
|
+
type: "address",
|
|
672
|
+
},
|
|
673
|
+
],
|
|
674
|
+
stateMutability: "view",
|
|
675
|
+
type: "function",
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
inputs: [],
|
|
679
|
+
name: "yieldContractFactory",
|
|
680
|
+
outputs: [
|
|
681
|
+
{
|
|
682
|
+
internalType: "address",
|
|
683
|
+
name: "",
|
|
684
|
+
type: "address",
|
|
685
|
+
},
|
|
686
|
+
],
|
|
687
|
+
stateMutability: "view",
|
|
688
|
+
type: "function",
|
|
689
|
+
},
|
|
690
|
+
];
|
|
691
|
+
|
|
692
|
+
const _bytecode =
|
|
693
|
+
"0x6101406040523480156200001257600080fd5b50604051620021e2380380620021e2833981016040819052620000359162000652565b6001600160a01b038516610100526200007b60646200005e670de0b6b3a76400006069620006c6565b6200006a919062000712565b620000a360201b62000e001760201c565b610120526001600160a01b0393841660805260a09290925290911660c05260e0525062000752565b6000808213620000e95760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b604482015260640160405180910390fd5b670c7d713b49da000082138015620001085750670f43fc2c04ee000082125b156200013957670de0b6b3a764000062000122836200014f565b81620001325762000132620006fc565b0592915050565b62000144826200027a565b92915050565b919050565b670de0b6b3a7640000026000806ec097ce7bc90715b34b9f1000000000808401906ec097ce7bc90715b34b9f0fffffffff1985010281620001945762000194620006fc565b05905060006ec097ce7bc90715b34b9f100000000082800205905081806ec097ce7bc90715b34b9f100000000081840205915060038205016ec097ce7bc90715b34b9f100000000082840205915060058205016ec097ce7bc90715b34b9f100000000082840205915060078205016ec097ce7bc90715b34b9f100000000082840205915060098205016ec097ce7bc90715b34b9f1000000000828402059150600b8205016ec097ce7bc90715b34b9f1000000000828402059150600d8205016ec097ce7bc90715b34b9f1000000000828402059150600f82050160020295945050505050565b6000670de0b6b3a7640000821215620002c257620002b9826ec097ce7bc90715b34b9f100000000081620002b257620002b2620006fc565b056200027a565b60000392915050565b60007e1600ef3172e58d2e933ec884fde10064c63b5372d805e203c000000000000083126200031457770195e54c5dd42177f53a27172fa9ec630262827000000000830592506806f05b59d3b2000000015b73011798004d755d3c8bc8e03204cf44619e00000083126200034d576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff0084000831262000396576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312620003d2576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf85083126200040a57693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e283126200044257690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d038312620004785768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb417461211108312620004a457680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d8312620004da576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f1775788937937831262000510576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b286603831262000545576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac83126200057a576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d631000008086030281620005a657620005a6620006fc565b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b80516001600160a01b03811681146200014a57600080fd5b600080600080600060a086880312156200066b57600080fd5b62000676866200063a565b945062000686602087016200063a565b9350604086015192506200069d606087016200063a565b9150608086015190509295509295909350565b634e487b7160e01b600052601160045260246000fd5b80820260008212600160ff1b84141615620006e557620006e5620006b0565b8181058314821517620001445762000144620006b0565b634e487b7160e01b600052601260045260246000fd5b6000826200073057634e487b7160e01b600052601260045260246000fd5b600160ff1b8214600019841416156200074d576200074d620006b0565b500590565b60805160a05160c05160e0516101005161012051611a0f620007d36000396000818161025101528181610e9a0152610ee701526000818161031101526107aa0152600081816103e901526109f801526000818161043d01526109d70152600081816101ac01526109b601526000818161027801526109950152611a0f6000f3fe608060405234801561001057600080fd5b506004361061013e5760003560e01c8063078dfbe714610143578063102eed3c1461015857806316c0003c1461016b5780631ce999e11461017e578063349097aa146101a757806342871ac6146101dc5780634e71e0c8146102445780634facfd7a1461024c578063508327971461027357806358e6309f1461029a5780635a6c72d0146102bd57806361d027b3146102e657806382dabb21146102f957806387a409a21461030c5780638da5cb5b14610333578063958330d91461034657806399eecb3b14610359578063a3a4d69a1461036c578063a63e0eca1461037b578063acc2166a1461038e578063c7bfd2fd146103a1578063cb7111d8146103e4578063e30c39781461040b578063e50bf2dc1461041e578063ec8a68f214610438578063f0f442601461045f575b600080fd5b610156610151366004611762565b610472565b005b6101566101663660046117d3565b610578565b610156610179366004611806565b610612565b61019161018c36600461187a565b610790565b60405161019e91906118ad565b60405180910390f35b6101ce7f000000000000000000000000000000000000000000000000000000000000000081565b60405190815260200161019e565b61021b6101ea3660046118c1565b6035602052600090815260409020546001600160501b0381169060ff600160501b8204811691600160581b90041683565b604080516001600160501b03909416845260ff909216602084015215159082015260600161019e565b610156610ad3565b6101ce7f000000000000000000000000000000000000000000000000000000000000000081565b6101917f000000000000000000000000000000000000000000000000000000000000000081565b6102ad6102a83660046118c1565b610b7e565b604051901515815260200161019e565b60345461021b906001600160501b0381169060ff600160501b8204811691600160581b90041683565b603254610191906001600160a01b031681565b603954610191906001600160a01b031681565b6101917f000000000000000000000000000000000000000000000000000000000000000081565b600054610191906001600160a01b031681565b6101566103543660046118c1565b610b91565b603a54610191906001600160a01b031681565b6101ce670de0b6b3a764000081565b6101566103893660046118dc565b610c0a565b603354610191906001600160a01b031681565b6103b46103af3660046118c1565b610cfe565b604080516001600160a01b0390941684526001600160501b03909216602084015260ff169082015260600161019e565b6101ce7f000000000000000000000000000000000000000000000000000000000000000081565b600154610191906001600160a01b031681565b610426606481565b60405160ff909116815260200161019e565b6101917f000000000000000000000000000000000000000000000000000000000000000081565b61015661046d3660046118c1565b610d89565b6000546001600160a01b031633146104a55760405162461bcd60e51b815260040161049c9061191f565b60405180910390fd5b8115610556576001600160a01b0383161515806104bf5750805b6105035760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b604482015260640161049c565b600080546040516001600160a01b03808716939216916000805160206119ba83398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0385166001600160a01b0319909116179055505050565b6000546001600160a01b031633146105a25760405162461bcd60e51b815260040161049c9061191f565b6105ac8282610e98565b604080516060810182526001600160501b03841680825260ff8416602083018190526001929093019190915260348054600160581b6001600160581b0319909116909217600160501b9093029290921760ff60581b191617905561060e610f44565b5050565b600154600160a81b900460ff1615808015610638575060018054600160a01b900460ff16105b806106585750303b158015610658575060018054600160a01b900460ff16145b6106bb5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161049c565b6001805460ff60a01b1916600160a01b17905580156106e8576001805460ff60a81b1916600160a81b1790555b6106f0610fa4565b6106f987610d89565b6107038686610578565b603980546001600160a01b038087166001600160a01b031992831617909255603a805486841690831617905560338054928516929091169190911790558015610787576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050505050565b6040516318b7373d60e01b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906318b7373d906107df9087906004016118ad565b602060405180830381865afa1580156107fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108209190611954565b61083d5760405163781eae2d60e01b815260040160405180910390fd5b836001600160a01b0316632f13b60c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561087b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089f9190611954565b156108bd5760405163e29ecf1560e01b815260040160405180910390fd5b6001600160a01b038481166000908152603660209081526040808320878452825280832086845290915290205416156109095760405163252c443360e11b815260040160405180910390fd5b670de0b6b3a7640000821215610943576040516307b48ef760e41b815260048101839052670de0b6b3a7640000602482015260440161049c565b603954603a54604080516001600160a01b0380891660208301529181018790526060810186905292811660808401521660a0820152610a1c90600090469060c0016040516020818303038152906040527f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000611025565b6001600160a01b0385811660009081526036602090815260408083208884528252808320878452909152902080546001600160a01b0319169183169190911790559050610a6a60378261104f565b610a7657610a76611971565b836001600160a01b0316816001600160a01b03167f166ae5f55615b65bbd9a2496e98d4e4d78ca15bd6127c0fe2dc27b76f6c031438585604051610ac4929190918252602082015260400190565b60405180910390a39392505050565b6001546001600160a01b0316338114610b2e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604482015260640161049c565b600080546040516001600160a01b03808516939216916000805160206119ba83398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6000610b8b60378361106b565b92915050565b6000546001600160a01b03163314610bbb5760405162461bcd60e51b815260040161049c9061191f565b6001600160a01b03811660008181526035602052604080822080546001600160601b0319169055517fde6e91eb95830256384b447e0ee564556c85ade807db58dc6e1d18688418aacd9190a250565b6000546001600160a01b03163314610c345760405162461bcd60e51b815260040161049c9061191f565b610c3e8282610e98565b604080516060810182526001600160501b03808516825260ff808516602080850191825260018587019081526001600160a01b038a16600081815260359093529187902095518654935191511515600160581b0260ff60581b1992909516600160501b026001600160581b031990941695169490941791909117929092161790915590517fa19e7426d30754f50d54a9c1c82b400fc1b4516ab9e91e20269634fb8b42275290610cf19085908590611987565b60405180910390a2505050565b6032546034546001600160a01b03838116600090815260356020908152604091829020825160608101845290546001600160501b038181168352600160501b80830460ff90811695850195909552600160581b90920484161580159584019590955294909616959385169493909304169190610d81578051602082015190935091505b509193909250565b6000546001600160a01b03163314610db35760405162461bcd60e51b815260040161049c9061191f565b6001600160a01b038116610dda57604051630af2e4bb60e21b815260040160405180910390fd5b603280546001600160a01b0319166001600160a01b038316179055610dfd610f44565b50565b6000808213610e415760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b604482015260640161049c565b670c7d713b49da000082138015610e5f5750670f43fc2c04ee000082125b15610e8a57670de0b6b3a7640000610e7683611080565b81610e8357610e836119a3565b0592915050565b610b8b8261119f565b919050565b7f0000000000000000000000000000000000000000000000000000000000000000826001600160501b03161115610f1357604051630b1e651560e11b81526001600160501b03831660048201527f0000000000000000000000000000000000000000000000000000000000000000602482015260440161049c565b606460ff8216111561060e57604051635b668c6b60e11b815260ff821660048201526064602482015260440161049c565b6032546034546040516001600160a01b03909216917fe7b39c33a288abde49b8d831b2125b22dbb151766d6aa52b1511b340923d458791610f9a916001600160501b03821691600160501b900460ff1690611987565b60405180910390a2565b600154600160a81b900460ff166110115760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161049c565b600080546001600160a01b03191633179055565b6000806110358787878787611542565b9050611042898983611594565b9998505050505050505050565b6000611064836001600160a01b03841661169d565b9392505050565b6000611064836001600160a01b0384166116e7565b670de0b6b3a7640000026000806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff19850102816110c1576110c16119a3565b05905060006a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b6000670de0b6b3a76400008212156111e0576111d7826a0c097ce7bc90715b34b9f160241b816111d1576111d16119a3565b0561119f565b60000392915050565b6000775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b831261122b5772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b8312611262576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff008400083126112aa576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a70083126112e5576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf850831261131c57693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e2831261135357690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d0383126113885768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb4174612111083126113b357680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d83126113e8576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f1775788937937831261141d576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b2866038312611451576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac8312611485576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d6310000080860302816114ae576114ae6119a3565b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b8451604080516020848701808501808401830190945283835291939192908401876000828b3c856000898301893c50602089810190858501016115868183866116ff565b505050505095945050505050565b600080844710156115e75760405162461bcd60e51b815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e6365000000604482015260640161049c565b82516000036116385760405162461bcd60e51b815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f604482015260640161049c565b8383516020850187f590506001600160a01b0381166116955760405162461bcd60e51b8152602060048201526019602482015278437265617465323a204661696c6564206f6e206465706c6f7960381b604482015260640161049c565b949350505050565b60006116a983836116e7565b6116df57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b8b565b506000610b8b565b60009081526001919091016020526040902054151590565b5b6020811061171f578151835260209283019290910190601f1901611700565b905182516020929092036101000a6000190180199091169116179052565b80356001600160a01b0381168114610e9357600080fd5b8015158114610dfd57600080fd5b60008060006060848603121561177757600080fd5b6117808461173d565b9250602084013561179081611754565b915060408401356117a081611754565b809150509250925092565b80356001600160501b0381168114610e9357600080fd5b803560ff81168114610e9357600080fd5b600080604083850312156117e657600080fd5b6117ef836117ab565b91506117fd602084016117c2565b90509250929050565b60008060008060008060c0878903121561181f57600080fd5b6118288761173d565b9550611836602088016117ab565b9450611844604088016117c2565b93506118526060880161173d565b92506118606080880161173d565b915061186e60a0880161173d565b90509295509295509295565b60008060006060848603121561188f57600080fd5b6118988461173d565b95602085013595506040909401359392505050565b6001600160a01b0391909116815260200190565b6000602082840312156118d357600080fd5b6110648261173d565b6000806000606084860312156118f157600080fd5b6118fa8461173d565b9250611908602085016117ab565b9150611916604085016117c2565b90509250925092565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561196657600080fd5b815161106481611754565b634e487b7160e01b600052600160045260246000fd5b6001600160501b0392909216825260ff16602082015260400190565b634e487b7160e01b600052601260045260246000fdfe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a26469706673582212202cae6f7581fc134b1fa3cc021ccadd25defe7a08ca5293e11746bf56697fa4da64736f6c63430008110033";
|
|
694
|
+
|
|
695
|
+
type PendleMarketFactoryV2ConstructorParams =
|
|
696
|
+
| [signer?: Signer]
|
|
697
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
698
|
+
|
|
699
|
+
const isSuperArgs = (
|
|
700
|
+
xs: PendleMarketFactoryV2ConstructorParams
|
|
701
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
702
|
+
|
|
703
|
+
export class PendleMarketFactoryV2__factory extends ContractFactory {
|
|
704
|
+
constructor(...args: PendleMarketFactoryV2ConstructorParams) {
|
|
705
|
+
if (isSuperArgs(args)) {
|
|
706
|
+
super(...args);
|
|
707
|
+
} else {
|
|
708
|
+
super(_abi, _bytecode, args[0]);
|
|
709
|
+
}
|
|
710
|
+
this.contractName = "PendleMarketFactoryV2";
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
deploy(
|
|
714
|
+
_yieldContractFactory: string,
|
|
715
|
+
_marketCreationCodeContractA: string,
|
|
716
|
+
_marketCreationCodeSizeA: BigNumberish,
|
|
717
|
+
_marketCreationCodeContractB: string,
|
|
718
|
+
_marketCreationCodeSizeB: BigNumberish,
|
|
719
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
720
|
+
): Promise<PendleMarketFactoryV2> {
|
|
721
|
+
return super.deploy(
|
|
722
|
+
_yieldContractFactory,
|
|
723
|
+
_marketCreationCodeContractA,
|
|
724
|
+
_marketCreationCodeSizeA,
|
|
725
|
+
_marketCreationCodeContractB,
|
|
726
|
+
_marketCreationCodeSizeB,
|
|
727
|
+
overrides || {}
|
|
728
|
+
) as Promise<PendleMarketFactoryV2>;
|
|
729
|
+
}
|
|
730
|
+
getDeployTransaction(
|
|
731
|
+
_yieldContractFactory: string,
|
|
732
|
+
_marketCreationCodeContractA: string,
|
|
733
|
+
_marketCreationCodeSizeA: BigNumberish,
|
|
734
|
+
_marketCreationCodeContractB: string,
|
|
735
|
+
_marketCreationCodeSizeB: BigNumberish,
|
|
736
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
737
|
+
): TransactionRequest {
|
|
738
|
+
return super.getDeployTransaction(
|
|
739
|
+
_yieldContractFactory,
|
|
740
|
+
_marketCreationCodeContractA,
|
|
741
|
+
_marketCreationCodeSizeA,
|
|
742
|
+
_marketCreationCodeContractB,
|
|
743
|
+
_marketCreationCodeSizeB,
|
|
744
|
+
overrides || {}
|
|
745
|
+
);
|
|
746
|
+
}
|
|
747
|
+
attach(address: string): PendleMarketFactoryV2 {
|
|
748
|
+
return super.attach(address) as PendleMarketFactoryV2;
|
|
749
|
+
}
|
|
750
|
+
connect(signer: Signer): PendleMarketFactoryV2__factory {
|
|
751
|
+
return super.connect(signer) as PendleMarketFactoryV2__factory;
|
|
752
|
+
}
|
|
753
|
+
static readonly contractName: "PendleMarketFactoryV2";
|
|
754
|
+
public readonly contractName: "PendleMarketFactoryV2";
|
|
755
|
+
static readonly bytecode = _bytecode;
|
|
756
|
+
static readonly abi = _abi;
|
|
757
|
+
static createInterface(): PendleMarketFactoryV2Interface {
|
|
758
|
+
return new utils.Interface(_abi) as PendleMarketFactoryV2Interface;
|
|
759
|
+
}
|
|
760
|
+
static connect(
|
|
761
|
+
address: string,
|
|
762
|
+
signerOrProvider: Signer | Provider
|
|
763
|
+
): PendleMarketFactoryV2 {
|
|
764
|
+
return new Contract(
|
|
765
|
+
address,
|
|
766
|
+
_abi,
|
|
767
|
+
signerOrProvider
|
|
768
|
+
) as PendleMarketFactoryV2;
|
|
769
|
+
}
|
|
770
|
+
}
|