@pendle/core-v2 5.5.0 → 5.7.0-sonic
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/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.json +2 -2
- package/build/artifacts/contracts/core/Market/v1/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v1/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
- package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.json +2 -2
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.json +2 -2
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.json +2 -2
- package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.json +34 -0
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.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/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.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/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.json +40 -0
- package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.json +77 -0
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.json +32 -0
- package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.json +23 -0
- package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.json +162 -0
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.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/IPendleCommonPoolDeployHelperV2.sol/IPendleCommonPoolDeployHelperV2.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol/IPendleCommonPoolDeployHelperV2.json +426 -0
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.json +32 -0
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +34 -2
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.json +98 -3
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +651 -0
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.json +329 -0
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/{PendlePoolDeployHelper.sol → deploy/PendlePoolDeployHelper.sol}/PendlePoolDeployHelper.json +3 -3
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +235 -0
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.json +10 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.json +2 -2
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json +2 -2
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
- package/contracts/core/libraries/math/PMath.sol +5 -0
- package/contracts/interfaces/IOwnable.sol +6 -0
- package/contracts/interfaces/IPCommonSYFactory.sol +6 -0
- package/contracts/interfaces/IPGovernanceProxy.sol +10 -0
- package/contracts/interfaces/IPLimitRouter.sol +5 -0
- package/contracts/interfaces/IPMarketFactoryV3.sol +2 -0
- package/contracts/interfaces/IPPoolDeployHelperV2.sol +36 -0
- package/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol +30 -0
- package/contracts/limit/LimitRouterBase.sol +6 -10
- package/contracts/offchain-helpers/PendleGovernanceProxy.sol +41 -10
- package/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol +68 -0
- package/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol +67 -0
- package/contracts/offchain-helpers/{PendlePoolDeployHelper.sol → deploy/PendlePoolDeployHelper.sol} +5 -5
- package/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol +159 -0
- package/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol +70 -0
- package/deployments/1-core.json +2 -1
- package/deployments/10-core.json +2 -1
- package/deployments/146-core.json +47 -0
- package/deployments/146-offchain-helper.json +6 -0
- package/deployments/42161-core.json +2 -1
- package/deployments/5000-core.json +2 -1
- package/deployments/56-core.json +2 -1
- package/deployments/8453-core.json +2 -1
- package/deployments/merkle-distribution/2024-12-31-snapshot.json +65767 -0
- package/deployments/merkle-distribution/2025-01-30.json +28060 -0
- package/package.json +1 -1
- package/typechain-types/ActionCallbackV3.ts +164 -0
- package/typechain-types/BoringPYUsdChainlinkAssetOracle.ts +244 -0
- package/typechain-types/BoringPYUsdChainlinkSYOracle.ts +243 -0
- package/typechain-types/Broadcaster.ts +454 -0
- package/typechain-types/IOwnable.ts +114 -0
- package/typechain-types/IPActionCallbackV3.ts +164 -0
- package/typechain-types/IPActionMarketCoreStatic.ts +1974 -0
- package/typechain-types/IPCommonSYFactory.ts +111 -0
- package/typechain-types/IPGovernanceProxy.ts +236 -0
- package/typechain-types/IPLimitRouter.ts +633 -0
- package/typechain-types/IPLimitRouterCallback.ts +120 -0
- package/typechain-types/IPMarket.ts +1045 -0
- package/typechain-types/IPMarketFactoryV3.ts +321 -0
- package/typechain-types/IPMarketV3.ts +1068 -0
- package/typechain-types/IPPoolDeployHelperV2.ts +209 -0
- package/typechain-types/IPVotingController.ts +510 -0
- package/typechain-types/IPVotingEscrowMainchain.ts +461 -0
- package/typechain-types/IPendleCommonPoolDeployHelperV2.ts +391 -0
- package/typechain-types/InterestManagerYT.ts +120 -0
- package/typechain-types/LimitBackendHelper.ts +287 -0
- package/typechain-types/LimitRouterBase.ts +1138 -0
- package/typechain-types/PendleBoringOneracle.ts +87 -0
- package/typechain-types/PendleBoringSolvBTCOneracle.ts +87 -0
- package/typechain-types/PendleChainlinkOracle.ts +299 -0
- package/typechain-types/PendleChainlinkOracleFactory.ts +468 -0
- package/typechain-types/PendleChainlinkOracleWithQuote.ts +335 -0
- package/typechain-types/PendleCommonPoolDeployHelperV2.ts +698 -0
- package/typechain-types/PendleCommonSYFactory.ts +420 -0
- package/typechain-types/PendleExchangeRateOracle.ts +393 -0
- package/typechain-types/PendleFeeDistributor.ts +745 -0
- package/typechain-types/PendleGauge.ts +225 -0
- package/typechain-types/PendleGaugeControllerBaseUpg.ts +670 -0
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +758 -0
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +750 -0
- package/typechain-types/PendleGovernanceProxy.ts +128 -0
- package/typechain-types/PendleLimitRouter.ts +1138 -0
- package/typechain-types/PendleMarket.ts +1207 -0
- package/typechain-types/PendleMarketFactory.ts +906 -0
- package/typechain-types/PendleMarketFactoryV3.ts +719 -0
- package/typechain-types/PendleMarketV3.ts +1195 -0
- package/typechain-types/PendlePYLpOracle.ts +619 -0
- package/typechain-types/PendlePoolDeployHelperV2.ts +283 -0
- package/typechain-types/PendleRedStoneRateOracleAdapter.ts +133 -0
- package/typechain-types/PendleVotingControllerUpg.ts +1621 -0
- package/typechain-types/PendleYieldContractFactory.ts +801 -0
- package/typechain-types/PendleYieldToken.ts +1107 -0
- package/typechain-types/RewardManager.ts +161 -0
- package/typechain-types/RewardManagerAbstract.ts +108 -0
- package/typechain-types/VotingControllerStorageUpg.ts +915 -0
- package/typechain-types/VotingEscrowPendleMainchain.ts +1045 -0
- package/typechain-types/VotingEscrowPendleSidechain.ts +558 -0
- package/typechain-types/VotingEscrowTokenBase.ts +252 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
- package/typechain-types/factories/ActionCallbackV3__factory.ts +121 -0
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSimple__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +269 -0
- package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +267 -0
- package/typechain-types/factories/Broadcaster__factory.ts +311 -0
- package/typechain-types/factories/IOwnable__factory.ts +46 -0
- package/typechain-types/factories/IPActionCallbackV3__factory.ts +83 -0
- package/typechain-types/factories/IPActionMarketCoreStatic__factory.ts +1300 -0
- package/typechain-types/factories/IPCommonSYFactory__factory.ts +55 -0
- package/typechain-types/factories/IPGovernanceProxy__factory.ts +152 -0
- package/typechain-types/factories/IPLimitRouterCallback__factory.ts +64 -0
- package/typechain-types/factories/IPLimitRouter__factory.ts +748 -0
- package/typechain-types/factories/IPMarketFactoryV3__factory.ts +217 -0
- package/typechain-types/factories/IPMarketV3__factory.ts +845 -0
- package/typechain-types/factories/IPMarket__factory.ts +832 -0
- package/typechain-types/factories/IPPoolDeployHelperV2__factory.ts +181 -0
- package/typechain-types/factories/IPVotingController__factory.ts +363 -0
- package/typechain-types/factories/IPVotingEscrowMainchain__factory.ts +340 -0
- package/typechain-types/factories/IPendleCommonPoolDeployHelperV2__factory.ts +447 -0
- package/typechain-types/factories/InterestManagerYT__factory.ts +63 -0
- package/typechain-types/factories/LimitBackendHelper__factory.ts +232 -0
- package/typechain-types/factories/LimitRouterBase__factory.ts +1069 -0
- package/typechain-types/factories/PendleBoringOneracle__factory.ts +81 -0
- package/typechain-types/factories/PendleBoringSolvBTCOneracle__factory.ts +83 -0
- package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +405 -0
- package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +341 -0
- package/typechain-types/factories/PendleChainlinkOracle__factory.ts +306 -0
- package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +728 -0
- package/typechain-types/factories/PendleCommonSYFactory__factory.ts +386 -0
- package/typechain-types/factories/PendleExchangeRateOracle__factory.ts +379 -0
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +665 -0
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +457 -0
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +620 -0
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +610 -0
- package/typechain-types/factories/PendleGauge__factory.ts +140 -0
- package/typechain-types/factories/PendleGovernanceProxy__factory.ts +97 -2
- package/typechain-types/factories/PendleLimitRouter__factory.ts +1139 -0
- package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +714 -0
- package/typechain-types/factories/PendleMarketFactory__factory.ts +748 -0
- package/typechain-types/factories/PendleMarketV3__factory.ts +1211 -0
- package/typechain-types/factories/PendleMarket__factory.ts +1212 -0
- package/typechain-types/factories/PendlePYLpOracle__factory.ts +475 -0
- package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +308 -0
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +157 -0
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1278 -0
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +674 -0
- package/typechain-types/factories/PendleYieldToken__factory.ts +978 -0
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/factories/RewardManagerAbstract__factory.ts +59 -0
- package/typechain-types/factories/RewardManager__factory.ts +89 -0
- package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +700 -0
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +856 -0
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +455 -0
- package/typechain-types/factories/VotingEscrowTokenBase__factory.ts +162 -0
- package/typechain-types/hardhat.d.ts +72 -0
- package/typechain-types/index.ts +16 -2
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +0 -4
|
@@ -0,0 +1,714 @@
|
|
|
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
|
+
PendleMarketFactoryV3,
|
|
15
|
+
PendleMarketFactoryV3Interface,
|
|
16
|
+
} from "../PendleMarketFactoryV3";
|
|
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
|
+
internalType: "address",
|
|
48
|
+
name: "_treasury",
|
|
49
|
+
type: "address",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
internalType: "uint8",
|
|
53
|
+
name: "_reserveFeePercent",
|
|
54
|
+
type: "uint8",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
internalType: "address",
|
|
58
|
+
name: "_vePendle",
|
|
59
|
+
type: "address",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
internalType: "address",
|
|
63
|
+
name: "_gaugeController",
|
|
64
|
+
type: "address",
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
stateMutability: "nonpayable",
|
|
68
|
+
type: "constructor",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
inputs: [
|
|
72
|
+
{
|
|
73
|
+
internalType: "address",
|
|
74
|
+
name: "addr",
|
|
75
|
+
type: "address",
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
name: "MFNotPendleMarket",
|
|
79
|
+
type: "error",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
inputs: [],
|
|
83
|
+
name: "MarketFactoryExpiredPt",
|
|
84
|
+
type: "error",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
inputs: [
|
|
88
|
+
{
|
|
89
|
+
internalType: "int256",
|
|
90
|
+
name: "initialAnchor",
|
|
91
|
+
type: "int256",
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
internalType: "int256",
|
|
95
|
+
name: "minInitialAnchor",
|
|
96
|
+
type: "int256",
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
name: "MarketFactoryInitialAnchorTooLow",
|
|
100
|
+
type: "error",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
inputs: [],
|
|
104
|
+
name: "MarketFactoryInvalidPt",
|
|
105
|
+
type: "error",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
inputs: [
|
|
109
|
+
{
|
|
110
|
+
internalType: "uint80",
|
|
111
|
+
name: "lnFeeRateRoot",
|
|
112
|
+
type: "uint80",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
internalType: "uint256",
|
|
116
|
+
name: "maxLnFeeRateRoot",
|
|
117
|
+
type: "uint256",
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
name: "MarketFactoryLnFeeRateRootTooHigh",
|
|
121
|
+
type: "error",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
inputs: [],
|
|
125
|
+
name: "MarketFactoryMarketExists",
|
|
126
|
+
type: "error",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
inputs: [
|
|
130
|
+
{
|
|
131
|
+
internalType: "uint80",
|
|
132
|
+
name: "overriddenFee",
|
|
133
|
+
type: "uint80",
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
internalType: "uint256",
|
|
137
|
+
name: "marketLnFeeRateRoot",
|
|
138
|
+
type: "uint256",
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
name: "MarketFactoryOverriddenFeeTooHigh",
|
|
142
|
+
type: "error",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
inputs: [
|
|
146
|
+
{
|
|
147
|
+
internalType: "uint8",
|
|
148
|
+
name: "reserveFeePercent",
|
|
149
|
+
type: "uint8",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
internalType: "uint8",
|
|
153
|
+
name: "maxReserveFeePercent",
|
|
154
|
+
type: "uint8",
|
|
155
|
+
},
|
|
156
|
+
],
|
|
157
|
+
name: "MarketFactoryReserveFeePercentTooHigh",
|
|
158
|
+
type: "error",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
inputs: [],
|
|
162
|
+
name: "MarketFactoryZeroTreasury",
|
|
163
|
+
type: "error",
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
anonymous: false,
|
|
167
|
+
inputs: [
|
|
168
|
+
{
|
|
169
|
+
indexed: true,
|
|
170
|
+
internalType: "address",
|
|
171
|
+
name: "market",
|
|
172
|
+
type: "address",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
indexed: true,
|
|
176
|
+
internalType: "address",
|
|
177
|
+
name: "PT",
|
|
178
|
+
type: "address",
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
indexed: false,
|
|
182
|
+
internalType: "int256",
|
|
183
|
+
name: "scalarRoot",
|
|
184
|
+
type: "int256",
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
indexed: false,
|
|
188
|
+
internalType: "int256",
|
|
189
|
+
name: "initialAnchor",
|
|
190
|
+
type: "int256",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
indexed: false,
|
|
194
|
+
internalType: "uint256",
|
|
195
|
+
name: "lnFeeRateRoot",
|
|
196
|
+
type: "uint256",
|
|
197
|
+
},
|
|
198
|
+
],
|
|
199
|
+
name: "CreateNewMarket",
|
|
200
|
+
type: "event",
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
anonymous: false,
|
|
204
|
+
inputs: [
|
|
205
|
+
{
|
|
206
|
+
indexed: false,
|
|
207
|
+
internalType: "uint8",
|
|
208
|
+
name: "version",
|
|
209
|
+
type: "uint8",
|
|
210
|
+
},
|
|
211
|
+
],
|
|
212
|
+
name: "Initialized",
|
|
213
|
+
type: "event",
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
anonymous: false,
|
|
217
|
+
inputs: [
|
|
218
|
+
{
|
|
219
|
+
indexed: true,
|
|
220
|
+
internalType: "address",
|
|
221
|
+
name: "treasury",
|
|
222
|
+
type: "address",
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
indexed: false,
|
|
226
|
+
internalType: "uint8",
|
|
227
|
+
name: "reserveFeePercent",
|
|
228
|
+
type: "uint8",
|
|
229
|
+
},
|
|
230
|
+
],
|
|
231
|
+
name: "NewTreasuryAndFeeReserve",
|
|
232
|
+
type: "event",
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
anonymous: false,
|
|
236
|
+
inputs: [
|
|
237
|
+
{
|
|
238
|
+
indexed: true,
|
|
239
|
+
internalType: "address",
|
|
240
|
+
name: "previousOwner",
|
|
241
|
+
type: "address",
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
indexed: true,
|
|
245
|
+
internalType: "address",
|
|
246
|
+
name: "newOwner",
|
|
247
|
+
type: "address",
|
|
248
|
+
},
|
|
249
|
+
],
|
|
250
|
+
name: "OwnershipTransferred",
|
|
251
|
+
type: "event",
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
anonymous: false,
|
|
255
|
+
inputs: [
|
|
256
|
+
{
|
|
257
|
+
indexed: true,
|
|
258
|
+
internalType: "address",
|
|
259
|
+
name: "router",
|
|
260
|
+
type: "address",
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
indexed: true,
|
|
264
|
+
internalType: "address",
|
|
265
|
+
name: "market",
|
|
266
|
+
type: "address",
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
indexed: false,
|
|
270
|
+
internalType: "uint80",
|
|
271
|
+
name: "lnFeeRateRoot",
|
|
272
|
+
type: "uint80",
|
|
273
|
+
},
|
|
274
|
+
],
|
|
275
|
+
name: "SetOverriddenFee",
|
|
276
|
+
type: "event",
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
inputs: [],
|
|
280
|
+
name: "claimOwnership",
|
|
281
|
+
outputs: [],
|
|
282
|
+
stateMutability: "nonpayable",
|
|
283
|
+
type: "function",
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
inputs: [
|
|
287
|
+
{
|
|
288
|
+
internalType: "address",
|
|
289
|
+
name: "PT",
|
|
290
|
+
type: "address",
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
internalType: "int256",
|
|
294
|
+
name: "scalarRoot",
|
|
295
|
+
type: "int256",
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
internalType: "int256",
|
|
299
|
+
name: "initialAnchor",
|
|
300
|
+
type: "int256",
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
internalType: "uint80",
|
|
304
|
+
name: "lnFeeRateRoot",
|
|
305
|
+
type: "uint80",
|
|
306
|
+
},
|
|
307
|
+
],
|
|
308
|
+
name: "createNewMarket",
|
|
309
|
+
outputs: [
|
|
310
|
+
{
|
|
311
|
+
internalType: "address",
|
|
312
|
+
name: "market",
|
|
313
|
+
type: "address",
|
|
314
|
+
},
|
|
315
|
+
],
|
|
316
|
+
stateMutability: "nonpayable",
|
|
317
|
+
type: "function",
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
inputs: [],
|
|
321
|
+
name: "gaugeController",
|
|
322
|
+
outputs: [
|
|
323
|
+
{
|
|
324
|
+
internalType: "address",
|
|
325
|
+
name: "",
|
|
326
|
+
type: "address",
|
|
327
|
+
},
|
|
328
|
+
],
|
|
329
|
+
stateMutability: "view",
|
|
330
|
+
type: "function",
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
inputs: [
|
|
334
|
+
{
|
|
335
|
+
internalType: "address",
|
|
336
|
+
name: "market",
|
|
337
|
+
type: "address",
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
internalType: "address",
|
|
341
|
+
name: "router",
|
|
342
|
+
type: "address",
|
|
343
|
+
},
|
|
344
|
+
],
|
|
345
|
+
name: "getMarketConfig",
|
|
346
|
+
outputs: [
|
|
347
|
+
{
|
|
348
|
+
internalType: "address",
|
|
349
|
+
name: "_treasury",
|
|
350
|
+
type: "address",
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
internalType: "uint80",
|
|
354
|
+
name: "_overriddenFee",
|
|
355
|
+
type: "uint80",
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
internalType: "uint8",
|
|
359
|
+
name: "_reserveFeePercent",
|
|
360
|
+
type: "uint8",
|
|
361
|
+
},
|
|
362
|
+
],
|
|
363
|
+
stateMutability: "view",
|
|
364
|
+
type: "function",
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
inputs: [
|
|
368
|
+
{
|
|
369
|
+
internalType: "address",
|
|
370
|
+
name: "market",
|
|
371
|
+
type: "address",
|
|
372
|
+
},
|
|
373
|
+
],
|
|
374
|
+
name: "isValidMarket",
|
|
375
|
+
outputs: [
|
|
376
|
+
{
|
|
377
|
+
internalType: "bool",
|
|
378
|
+
name: "",
|
|
379
|
+
type: "bool",
|
|
380
|
+
},
|
|
381
|
+
],
|
|
382
|
+
stateMutability: "view",
|
|
383
|
+
type: "function",
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
inputs: [],
|
|
387
|
+
name: "marketCreationCodeContractA",
|
|
388
|
+
outputs: [
|
|
389
|
+
{
|
|
390
|
+
internalType: "address",
|
|
391
|
+
name: "",
|
|
392
|
+
type: "address",
|
|
393
|
+
},
|
|
394
|
+
],
|
|
395
|
+
stateMutability: "view",
|
|
396
|
+
type: "function",
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
inputs: [],
|
|
400
|
+
name: "marketCreationCodeContractB",
|
|
401
|
+
outputs: [
|
|
402
|
+
{
|
|
403
|
+
internalType: "address",
|
|
404
|
+
name: "",
|
|
405
|
+
type: "address",
|
|
406
|
+
},
|
|
407
|
+
],
|
|
408
|
+
stateMutability: "view",
|
|
409
|
+
type: "function",
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
inputs: [],
|
|
413
|
+
name: "marketCreationCodeSizeA",
|
|
414
|
+
outputs: [
|
|
415
|
+
{
|
|
416
|
+
internalType: "uint256",
|
|
417
|
+
name: "",
|
|
418
|
+
type: "uint256",
|
|
419
|
+
},
|
|
420
|
+
],
|
|
421
|
+
stateMutability: "view",
|
|
422
|
+
type: "function",
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
inputs: [],
|
|
426
|
+
name: "marketCreationCodeSizeB",
|
|
427
|
+
outputs: [
|
|
428
|
+
{
|
|
429
|
+
internalType: "uint256",
|
|
430
|
+
name: "",
|
|
431
|
+
type: "uint256",
|
|
432
|
+
},
|
|
433
|
+
],
|
|
434
|
+
stateMutability: "view",
|
|
435
|
+
type: "function",
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
inputs: [],
|
|
439
|
+
name: "maxLnFeeRateRoot",
|
|
440
|
+
outputs: [
|
|
441
|
+
{
|
|
442
|
+
internalType: "uint256",
|
|
443
|
+
name: "",
|
|
444
|
+
type: "uint256",
|
|
445
|
+
},
|
|
446
|
+
],
|
|
447
|
+
stateMutability: "view",
|
|
448
|
+
type: "function",
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
inputs: [],
|
|
452
|
+
name: "maxReserveFeePercent",
|
|
453
|
+
outputs: [
|
|
454
|
+
{
|
|
455
|
+
internalType: "uint8",
|
|
456
|
+
name: "",
|
|
457
|
+
type: "uint8",
|
|
458
|
+
},
|
|
459
|
+
],
|
|
460
|
+
stateMutability: "view",
|
|
461
|
+
type: "function",
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
inputs: [],
|
|
465
|
+
name: "minInitialAnchor",
|
|
466
|
+
outputs: [
|
|
467
|
+
{
|
|
468
|
+
internalType: "int256",
|
|
469
|
+
name: "",
|
|
470
|
+
type: "int256",
|
|
471
|
+
},
|
|
472
|
+
],
|
|
473
|
+
stateMutability: "view",
|
|
474
|
+
type: "function",
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
inputs: [],
|
|
478
|
+
name: "owner",
|
|
479
|
+
outputs: [
|
|
480
|
+
{
|
|
481
|
+
internalType: "address",
|
|
482
|
+
name: "",
|
|
483
|
+
type: "address",
|
|
484
|
+
},
|
|
485
|
+
],
|
|
486
|
+
stateMutability: "view",
|
|
487
|
+
type: "function",
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
inputs: [],
|
|
491
|
+
name: "pendingOwner",
|
|
492
|
+
outputs: [
|
|
493
|
+
{
|
|
494
|
+
internalType: "address",
|
|
495
|
+
name: "",
|
|
496
|
+
type: "address",
|
|
497
|
+
},
|
|
498
|
+
],
|
|
499
|
+
stateMutability: "view",
|
|
500
|
+
type: "function",
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
inputs: [],
|
|
504
|
+
name: "reserveFeePercent",
|
|
505
|
+
outputs: [
|
|
506
|
+
{
|
|
507
|
+
internalType: "uint8",
|
|
508
|
+
name: "",
|
|
509
|
+
type: "uint8",
|
|
510
|
+
},
|
|
511
|
+
],
|
|
512
|
+
stateMutability: "view",
|
|
513
|
+
type: "function",
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
inputs: [
|
|
517
|
+
{
|
|
518
|
+
internalType: "address",
|
|
519
|
+
name: "router",
|
|
520
|
+
type: "address",
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
internalType: "address",
|
|
524
|
+
name: "market",
|
|
525
|
+
type: "address",
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
internalType: "uint80",
|
|
529
|
+
name: "newFee",
|
|
530
|
+
type: "uint80",
|
|
531
|
+
},
|
|
532
|
+
],
|
|
533
|
+
name: "setOverriddenFee",
|
|
534
|
+
outputs: [],
|
|
535
|
+
stateMutability: "nonpayable",
|
|
536
|
+
type: "function",
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
inputs: [
|
|
540
|
+
{
|
|
541
|
+
internalType: "address",
|
|
542
|
+
name: "newTreasury",
|
|
543
|
+
type: "address",
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
internalType: "uint8",
|
|
547
|
+
name: "newReserveFeePercent",
|
|
548
|
+
type: "uint8",
|
|
549
|
+
},
|
|
550
|
+
],
|
|
551
|
+
name: "setTreasuryAndFeeReserve",
|
|
552
|
+
outputs: [],
|
|
553
|
+
stateMutability: "nonpayable",
|
|
554
|
+
type: "function",
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
inputs: [
|
|
558
|
+
{
|
|
559
|
+
internalType: "address",
|
|
560
|
+
name: "newOwner",
|
|
561
|
+
type: "address",
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
internalType: "bool",
|
|
565
|
+
name: "direct",
|
|
566
|
+
type: "bool",
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
internalType: "bool",
|
|
570
|
+
name: "renounce",
|
|
571
|
+
type: "bool",
|
|
572
|
+
},
|
|
573
|
+
],
|
|
574
|
+
name: "transferOwnership",
|
|
575
|
+
outputs: [],
|
|
576
|
+
stateMutability: "nonpayable",
|
|
577
|
+
type: "function",
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
inputs: [],
|
|
581
|
+
name: "treasury",
|
|
582
|
+
outputs: [
|
|
583
|
+
{
|
|
584
|
+
internalType: "address",
|
|
585
|
+
name: "",
|
|
586
|
+
type: "address",
|
|
587
|
+
},
|
|
588
|
+
],
|
|
589
|
+
stateMutability: "view",
|
|
590
|
+
type: "function",
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
inputs: [],
|
|
594
|
+
name: "vePendle",
|
|
595
|
+
outputs: [
|
|
596
|
+
{
|
|
597
|
+
internalType: "address",
|
|
598
|
+
name: "",
|
|
599
|
+
type: "address",
|
|
600
|
+
},
|
|
601
|
+
],
|
|
602
|
+
stateMutability: "view",
|
|
603
|
+
type: "function",
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
inputs: [],
|
|
607
|
+
name: "yieldContractFactory",
|
|
608
|
+
outputs: [
|
|
609
|
+
{
|
|
610
|
+
internalType: "address",
|
|
611
|
+
name: "",
|
|
612
|
+
type: "address",
|
|
613
|
+
},
|
|
614
|
+
],
|
|
615
|
+
stateMutability: "view",
|
|
616
|
+
type: "function",
|
|
617
|
+
},
|
|
618
|
+
];
|
|
619
|
+
|
|
620
|
+
const _bytecode =
|
|
621
|
+
"0x6101806040523480156200001257600080fd5b5060405162001c4f38038062001c4f833981016040819052620000359162000941565b600154600160a81b900460ff16158080156200005c575060018054600160a01b900460ff16105b806200007e5750303b1580156200007e575060018054600160a01b900460ff16145b620000e75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6001805460ff60a01b1916600160a01b179055801562000115576001805460ff60a81b1916600160a81b1790555b6001600160a01b038a16610100526200015060646200013e670de0b6b3a7640000606962000a07565b6200014a919062000a53565b620001f4565b610160526001600160a01b03808a1660805260a0899052871660c05260e08690526200017b6200029d565b62000187858562000320565b6001600160a01b03808416610120528216610140528015620001e4576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050505062000a93565b6000808213620002375760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b6044820152606401620000de565b670c7d713b49da000082138015620002565750670f43fc2c04ee000082125b156200028757670de0b6b3a764000062000270836200043e565b8162000280576200028062000a3d565b0592915050565b620002928262000569565b92915050565b919050565b600154600160a81b900460ff166200030c5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620000de565b600080546001600160a01b03191633179055565b6000546001600160a01b031633146200037c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620000de565b6001600160a01b038216620003a457604051630af2e4bb60e21b815260040160405180910390fd5b606460ff82161115620003d757604051635b668c6b60e11b815260ff8216600482015260646024820152604401620000de565b603280546001600160a01b0384166001600160a81b03199091168117600160a01b60ff851690810291909117909255604051918252907fc612910a1561af820dd8961721344b949df6bfcb3cd8dda1f87a5f25e80852cb9060200160405180910390a25050565b670de0b6b3a7640000026000806ec097ce7bc90715b34b9f1000000000808401906ec097ce7bc90715b34b9f0fffffffff198501028162000483576200048362000a3d565b05905060006ec097ce7bc90715b34b9f100000000082800205905081806ec097ce7bc90715b34b9f100000000081840205915060038205016ec097ce7bc90715b34b9f100000000082840205915060058205016ec097ce7bc90715b34b9f100000000082840205915060078205016ec097ce7bc90715b34b9f100000000082840205915060098205016ec097ce7bc90715b34b9f1000000000828402059150600b8205016ec097ce7bc90715b34b9f1000000000828402059150600d8205016ec097ce7bc90715b34b9f1000000000828402059150600f82050160020295945050505050565b6000670de0b6b3a7640000821215620005b157620005a8826ec097ce7bc90715b34b9f100000000081620005a157620005a162000a3d565b0562000569565b60000392915050565b60007e1600ef3172e58d2e933ec884fde10064c63b5372d805e203c000000000000083126200060357770195e54c5dd42177f53a27172fa9ec630262827000000000830592506806f05b59d3b2000000015b73011798004d755d3c8bc8e03204cf44619e00000083126200063c576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff0084000831262000685576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312620006c1576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf8508312620006f957693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e283126200073157690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d038312620007675768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb4174612111083126200079357680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d8312620007c9576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f17757889379378312620007ff576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b286603831262000834576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac831262000869576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d63100000808603028162000895576200089562000a3d565b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b80516001600160a01b03811681146200029857600080fd5b60008060008060008060008060006101208a8c0312156200096157600080fd5b6200096c8a62000929565b98506200097c60208b0162000929565b975060408a015196506200099360608b0162000929565b955060808a01519450620009aa60a08b0162000929565b935060c08a015160ff81168114620009c157600080fd5b9250620009d160e08b0162000929565b9150620009e26101008b0162000929565b90509295985092959850929598565b634e487b7160e01b600052601160045260246000fd5b80820260008212600160ff1b8414161562000a265762000a26620009f1565b8181058314821517620002925762000292620009f1565b634e487b7160e01b600052601260045260246000fd5b60008262000a7157634e487b7160e01b600052601260045260246000fd5b600160ff1b82146000198414161562000a8e5762000a8e620009f1565b500590565b60805160a05160c05160e0516101005161012051610140516101605161111762000b38600039600081816101a101528181610930015261097d01526000818161031a0152610a9a0152600081816102b90152610a720152600081816102e0015261081b0152600081816103630152610b410152600081816103a50152610b200152600081816101510152610aff0152600081816101c80152610ade01526111176000f3fe608060405234801561001057600080fd5b50600436106101075760003560e01c8063078dfbe71461010c5780631feec24414610121578063349097aa1461014c57806345fccd4f146101815780634e71e0c8146101945780634facfd7a1461019c57806350832797146101c357806358e6309f146101f75780635c098c111461021a57806361d027b3146102a157806382dabb21146102b457806387a409a2146102db5780638da5cb5b1461030257806399eecb3b14610315578063a3a4d69a1461033c578063c821db0d1461034b578063cb7111d81461035e578063e30c397814610385578063e50bf2dc14610398578063ec8a68f2146103a0578063f661cf6b146103c7575b600080fd5b61011f61011a366004610ebb565b6103da565b005b60325461013590600160a01b900460ff1681565b60405160ff90911681526020015b60405180910390f35b6101737f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610143565b61011f61018f366004610f04565b6104e0565b61011f6105c9565b6101737f000000000000000000000000000000000000000000000000000000000000000081565b6101ea7f000000000000000000000000000000000000000000000000000000000000000081565b6040516101439190610f41565b61020a610205366004610f55565b610674565b6040519015158152602001610143565b610271610228366004610f70565b6032546001600160a01b03918216600090815260336020908152604080832095851683529490529290922054908216926001600160501b0390911691600160a01b900460ff1690565b604080516001600160a01b0390941684526001600160501b03909216602084015260ff1690820152606001610143565b6032546101ea906001600160a01b031681565b6101ea7f000000000000000000000000000000000000000000000000000000000000000081565b6101ea7f000000000000000000000000000000000000000000000000000000000000000081565b6000546101ea906001600160a01b031681565b6101ea7f000000000000000000000000000000000000000000000000000000000000000081565b610173670de0b6b3a764000081565b61011f610359366004610fb8565b610687565b6101737f000000000000000000000000000000000000000000000000000000000000000081565b6001546101ea906001600160a01b031681565b610135606481565b6101ea7f000000000000000000000000000000000000000000000000000000000000000081565b6101ea6103d5366004610ff4565b610801565b6000546001600160a01b0316331461040d5760405162461bcd60e51b81526004016104049061103c565b60405180910390fd5b81156104be576001600160a01b0383161515806104275750805b61046b5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610404565b600080546040516001600160a01b03808716939216916000805160206110c283398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0385166001600160a01b0319909116179055505050565b6000546001600160a01b0316331461050a5760405162461bcd60e51b81526004016104049061103c565b6001600160a01b03821661053157604051630af2e4bb60e21b815260040160405180910390fd5b606460ff8216111561056257604051635b668c6b60e11b815260ff8216600482015260646024820152604401610404565b603280546001600160a01b0384166001600160a81b03199091168117600160a01b60ff851690810291909117909255604051918252907fc612910a1561af820dd8961721344b949df6bfcb3cd8dda1f87a5f25e80852cb9060200160405180910390a25050565b6001546001600160a01b03163381146106245760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610404565b600080546040516001600160a01b03808516939216916000805160206110c283398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6000610681603583610c41565b92915050565b6000546001600160a01b031633146106b15760405162461bcd60e51b81526004016104049061103c565b6106bc603583610c41565b6106db5781604051635e904c9b60e01b81526004016104049190610f41565b6000826001600160a01b031663e4f8b2e96040518163ffffffff1660e01b8152600401602060405180830381865afa15801561071b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073f9190611071565b9050806001600160501b0316826001600160501b0316106107865760405163024a6ed760e61b81526001600160501b03808416600483015282166024820152604401610404565b6001600160a01b0384811660008181526033602090815260408083209488168084529482529182902080546001600160501b0319166001600160501b03881690811790915591519182527fea7fdf3abb8ced24e7f9c441f3e98071fb5ea1f9278e2b9202c4a6d306cce59f910160405180910390a350505050565b6040516318b7373d60e01b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906318b7373d90610850908890600401610f41565b602060405180830381865afa15801561086d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610891919061108e565b6108ae5760405163781eae2d60e01b815260040160405180910390fd5b846001600160a01b0316632f13b60c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610910919061108e565b1561092e5760405163e29ecf1560e01b815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000826001600160501b031611156109a957604051630b1e651560e11b81526001600160501b03831660048201527f00000000000000000000000000000000000000000000000000000000000000006024820152604401610404565b6001600160a01b038581166000908152603460209081526040808320888452825280832087845282528083206001600160501b03871684529091529020541615610a065760405163252c443360e11b815260040160405180910390fd5b670de0b6b3a7640000831215610a40576040516307b48ef760e41b815260048101849052670de0b6b3a76400006024820152604401610404565b604080516001600160a01b038781166020830152918101869052606081018590526001600160501b03841660808201527f0000000000000000000000000000000000000000000000000000000000000000821660a08201527f000000000000000000000000000000000000000000000000000000000000000090911660c0820152610b6590600090469060e0016040516020818303038152906040527f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000610c5d565b6001600160a01b038681166000908152603460209081526040808320898452825280832088845282528083206001600160501b0388168452909152902080546001600160a01b0319169183169190911790559050610bc4603582610c87565b610bd057610bd06110ab565b846001600160a01b0316816001600160a01b03167fae811fae25e2770b6bd1dcb1475657e8c3a976f91d1ebf081271db08eef920af868686604051610c319392919092835260208301919091526001600160501b0316604082015260600190565b60405180910390a3949350505050565b6000610c56836001600160a01b038416610c9c565b9392505050565b600080610c6d8787878787610cb4565b9050610c7a898983610d06565b9998505050505050505050565b6000610c56836001600160a01b038416610e06565b60009081526001919091016020526040902054151590565b8451604080516020848701808501808401830190945283835291939192908401876000828b3c856000898301893c5060208981019085850101610cf8818386610e50565b505050505095945050505050565b600083471015610d585760405162461bcd60e51b815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e63650000006044820152606401610404565b8151600003610da95760405162461bcd60e51b815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f6044820152606401610404565b8282516020840186f590506001600160a01b038116610c565760405162461bcd60e51b8152602060048201526019602482015278437265617465323a204661696c6564206f6e206465706c6f7960381b6044820152606401610404565b6000610e128383610c9c565b610e4857508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610681565b506000610681565b5b60208110610e70578151835260209283019290910190601f1901610e51565b905182516020929092036101000a6000190180199091169116179052565b80356001600160a01b0381168114610ea557600080fd5b919050565b8015158114610eb857600080fd5b50565b600080600060608486031215610ed057600080fd5b610ed984610e8e565b92506020840135610ee981610eaa565b91506040840135610ef981610eaa565b809150509250925092565b60008060408385031215610f1757600080fd5b610f2083610e8e565b9150602083013560ff81168114610f3657600080fd5b809150509250929050565b6001600160a01b0391909116815260200190565b600060208284031215610f6757600080fd5b610c5682610e8e565b60008060408385031215610f8357600080fd5b610f8c83610e8e565b9150610f9a60208401610e8e565b90509250929050565b6001600160501b0381168114610eb857600080fd5b600080600060608486031215610fcd57600080fd5b610fd684610e8e565b9250610fe460208501610e8e565b91506040840135610ef981610fa3565b6000806000806080858703121561100a57600080fd5b61101385610e8e565b93506020850135925060408501359150606085013561103181610fa3565b939692955090935050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561108357600080fd5b8151610c5681610fa3565b6000602082840312156110a057600080fd5b8151610c5681610eaa565b634e487b7160e01b600052600160045260246000fdfe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220a7dd0c536e4b5d12ae147253aafed48db81bbfbb69819368989d7b4dc9279ebf64736f6c63430008170033";
|
|
622
|
+
|
|
623
|
+
type PendleMarketFactoryV3ConstructorParams =
|
|
624
|
+
| [signer?: Signer]
|
|
625
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
626
|
+
|
|
627
|
+
const isSuperArgs = (
|
|
628
|
+
xs: PendleMarketFactoryV3ConstructorParams
|
|
629
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
630
|
+
|
|
631
|
+
export class PendleMarketFactoryV3__factory extends ContractFactory {
|
|
632
|
+
constructor(...args: PendleMarketFactoryV3ConstructorParams) {
|
|
633
|
+
if (isSuperArgs(args)) {
|
|
634
|
+
super(...args);
|
|
635
|
+
} else {
|
|
636
|
+
super(_abi, _bytecode, args[0]);
|
|
637
|
+
}
|
|
638
|
+
this.contractName = "PendleMarketFactoryV3";
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
deploy(
|
|
642
|
+
_yieldContractFactory: string,
|
|
643
|
+
_marketCreationCodeContractA: string,
|
|
644
|
+
_marketCreationCodeSizeA: BigNumberish,
|
|
645
|
+
_marketCreationCodeContractB: string,
|
|
646
|
+
_marketCreationCodeSizeB: BigNumberish,
|
|
647
|
+
_treasury: string,
|
|
648
|
+
_reserveFeePercent: BigNumberish,
|
|
649
|
+
_vePendle: string,
|
|
650
|
+
_gaugeController: string,
|
|
651
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
652
|
+
): Promise<PendleMarketFactoryV3> {
|
|
653
|
+
return super.deploy(
|
|
654
|
+
_yieldContractFactory,
|
|
655
|
+
_marketCreationCodeContractA,
|
|
656
|
+
_marketCreationCodeSizeA,
|
|
657
|
+
_marketCreationCodeContractB,
|
|
658
|
+
_marketCreationCodeSizeB,
|
|
659
|
+
_treasury,
|
|
660
|
+
_reserveFeePercent,
|
|
661
|
+
_vePendle,
|
|
662
|
+
_gaugeController,
|
|
663
|
+
overrides || {}
|
|
664
|
+
) as Promise<PendleMarketFactoryV3>;
|
|
665
|
+
}
|
|
666
|
+
getDeployTransaction(
|
|
667
|
+
_yieldContractFactory: string,
|
|
668
|
+
_marketCreationCodeContractA: string,
|
|
669
|
+
_marketCreationCodeSizeA: BigNumberish,
|
|
670
|
+
_marketCreationCodeContractB: string,
|
|
671
|
+
_marketCreationCodeSizeB: BigNumberish,
|
|
672
|
+
_treasury: string,
|
|
673
|
+
_reserveFeePercent: BigNumberish,
|
|
674
|
+
_vePendle: string,
|
|
675
|
+
_gaugeController: string,
|
|
676
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
677
|
+
): TransactionRequest {
|
|
678
|
+
return super.getDeployTransaction(
|
|
679
|
+
_yieldContractFactory,
|
|
680
|
+
_marketCreationCodeContractA,
|
|
681
|
+
_marketCreationCodeSizeA,
|
|
682
|
+
_marketCreationCodeContractB,
|
|
683
|
+
_marketCreationCodeSizeB,
|
|
684
|
+
_treasury,
|
|
685
|
+
_reserveFeePercent,
|
|
686
|
+
_vePendle,
|
|
687
|
+
_gaugeController,
|
|
688
|
+
overrides || {}
|
|
689
|
+
);
|
|
690
|
+
}
|
|
691
|
+
attach(address: string): PendleMarketFactoryV3 {
|
|
692
|
+
return super.attach(address) as PendleMarketFactoryV3;
|
|
693
|
+
}
|
|
694
|
+
connect(signer: Signer): PendleMarketFactoryV3__factory {
|
|
695
|
+
return super.connect(signer) as PendleMarketFactoryV3__factory;
|
|
696
|
+
}
|
|
697
|
+
static readonly contractName: "PendleMarketFactoryV3";
|
|
698
|
+
public readonly contractName: "PendleMarketFactoryV3";
|
|
699
|
+
static readonly bytecode = _bytecode;
|
|
700
|
+
static readonly abi = _abi;
|
|
701
|
+
static createInterface(): PendleMarketFactoryV3Interface {
|
|
702
|
+
return new utils.Interface(_abi) as PendleMarketFactoryV3Interface;
|
|
703
|
+
}
|
|
704
|
+
static connect(
|
|
705
|
+
address: string,
|
|
706
|
+
signerOrProvider: Signer | Provider
|
|
707
|
+
): PendleMarketFactoryV3 {
|
|
708
|
+
return new Contract(
|
|
709
|
+
address,
|
|
710
|
+
_abi,
|
|
711
|
+
signerOrProvider
|
|
712
|
+
) as PendleMarketFactoryV3;
|
|
713
|
+
}
|
|
714
|
+
}
|