@pendle/core-v2 5.6.0 → 5.7.0
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/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/IPLimitRouterCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- 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/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
- package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -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/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/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +29 -5
- 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/IPPoolDeployHelperV2.sol +36 -0
- package/contracts/interfaces/IPendleCommonPoolDeployHelperV2.sol +30 -0
- 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/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol +9 -2
- package/deployments/146-core.json +47 -0
- package/deployments/146-offchain-helper.json +6 -0
- package/package.json +1 -1
- 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/IPActionMarketCoreStatic.ts +1974 -0
- package/typechain-types/IPCommonSYFactory.ts +111 -0
- package/typechain-types/IPMarket.ts +1045 -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/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/PendleMarket.ts +1207 -0
- package/typechain-types/PendleMarketFactory.ts +906 -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/PendleSparkLinearDiscountOracleFactory.ts +60 -18
- 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 +1 -1
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/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/IPActionMarketCoreStatic__factory.ts +1300 -0
- package/typechain-types/factories/IPCommonSYFactory__factory.ts +55 -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 +1 -1
- 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/PendleLimitRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +748 -0
- package/typechain-types/factories/PendleMarketV3__factory.ts +1 -1
- 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/PendleSparkLinearDiscountOracleFactory__factory.ts +28 -4
- 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 -9
- package/typechain-types/index.ts +16 -2
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +0 -4
|
@@ -0,0 +1,665 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
+
import type {
|
|
7
|
+
PendleFeeDistributor,
|
|
8
|
+
PendleFeeDistributorInterface,
|
|
9
|
+
} from "../PendleFeeDistributor";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "_votingController",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
internalType: "address",
|
|
21
|
+
name: "_vePendle",
|
|
22
|
+
type: "address",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
internalType: "address",
|
|
26
|
+
name: "_rewardToken",
|
|
27
|
+
type: "address",
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
stateMutability: "nonpayable",
|
|
31
|
+
type: "constructor",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
inputs: [],
|
|
35
|
+
name: "ArrayLengthMismatch",
|
|
36
|
+
type: "error",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
inputs: [],
|
|
40
|
+
name: "FDEpochLengthMismatch",
|
|
41
|
+
type: "error",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
inputs: [
|
|
45
|
+
{
|
|
46
|
+
internalType: "address",
|
|
47
|
+
name: "pool",
|
|
48
|
+
type: "address",
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
name: "FDInvalidPool",
|
|
52
|
+
type: "error",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
inputs: [
|
|
56
|
+
{
|
|
57
|
+
internalType: "uint256",
|
|
58
|
+
name: "startEpoch",
|
|
59
|
+
type: "uint256",
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
name: "FDInvalidStartEpoch",
|
|
63
|
+
type: "error",
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
inputs: [
|
|
67
|
+
{
|
|
68
|
+
internalType: "uint256",
|
|
69
|
+
name: "lastFunded",
|
|
70
|
+
type: "uint256",
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
internalType: "uint256",
|
|
74
|
+
name: "wTime",
|
|
75
|
+
type: "uint256",
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
name: "FDInvalidWTimeFund",
|
|
79
|
+
type: "error",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
inputs: [
|
|
83
|
+
{
|
|
84
|
+
internalType: "address",
|
|
85
|
+
name: "pool",
|
|
86
|
+
type: "address",
|
|
87
|
+
},
|
|
88
|
+
],
|
|
89
|
+
name: "FDPoolAlreadyExists",
|
|
90
|
+
type: "error",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
inputs: [
|
|
94
|
+
{
|
|
95
|
+
internalType: "uint256",
|
|
96
|
+
name: "actualTotalAmount",
|
|
97
|
+
type: "uint256",
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
internalType: "uint256",
|
|
101
|
+
name: "expectedTotalAmount",
|
|
102
|
+
type: "uint256",
|
|
103
|
+
},
|
|
104
|
+
],
|
|
105
|
+
name: "FDTotalAmountFundedNotMatch",
|
|
106
|
+
type: "error",
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
anonymous: false,
|
|
110
|
+
inputs: [
|
|
111
|
+
{
|
|
112
|
+
indexed: false,
|
|
113
|
+
internalType: "address",
|
|
114
|
+
name: "previousAdmin",
|
|
115
|
+
type: "address",
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
indexed: false,
|
|
119
|
+
internalType: "address",
|
|
120
|
+
name: "newAdmin",
|
|
121
|
+
type: "address",
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
name: "AdminChanged",
|
|
125
|
+
type: "event",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
anonymous: false,
|
|
129
|
+
inputs: [
|
|
130
|
+
{
|
|
131
|
+
indexed: true,
|
|
132
|
+
internalType: "address",
|
|
133
|
+
name: "beacon",
|
|
134
|
+
type: "address",
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
name: "BeaconUpgraded",
|
|
138
|
+
type: "event",
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
anonymous: false,
|
|
142
|
+
inputs: [
|
|
143
|
+
{
|
|
144
|
+
indexed: true,
|
|
145
|
+
internalType: "address",
|
|
146
|
+
name: "pool",
|
|
147
|
+
type: "address",
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
indexed: true,
|
|
151
|
+
internalType: "address",
|
|
152
|
+
name: "user",
|
|
153
|
+
type: "address",
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
indexed: false,
|
|
157
|
+
internalType: "uint256",
|
|
158
|
+
name: "wTime",
|
|
159
|
+
type: "uint256",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
indexed: false,
|
|
163
|
+
internalType: "uint256",
|
|
164
|
+
name: "amount",
|
|
165
|
+
type: "uint256",
|
|
166
|
+
},
|
|
167
|
+
],
|
|
168
|
+
name: "ClaimReward",
|
|
169
|
+
type: "event",
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
anonymous: false,
|
|
173
|
+
inputs: [
|
|
174
|
+
{
|
|
175
|
+
indexed: false,
|
|
176
|
+
internalType: "uint8",
|
|
177
|
+
name: "version",
|
|
178
|
+
type: "uint8",
|
|
179
|
+
},
|
|
180
|
+
],
|
|
181
|
+
name: "Initialized",
|
|
182
|
+
type: "event",
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
anonymous: false,
|
|
186
|
+
inputs: [
|
|
187
|
+
{
|
|
188
|
+
indexed: true,
|
|
189
|
+
internalType: "address",
|
|
190
|
+
name: "previousOwner",
|
|
191
|
+
type: "address",
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
indexed: true,
|
|
195
|
+
internalType: "address",
|
|
196
|
+
name: "newOwner",
|
|
197
|
+
type: "address",
|
|
198
|
+
},
|
|
199
|
+
],
|
|
200
|
+
name: "OwnershipTransferred",
|
|
201
|
+
type: "event",
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
anonymous: false,
|
|
205
|
+
inputs: [
|
|
206
|
+
{
|
|
207
|
+
indexed: true,
|
|
208
|
+
internalType: "address",
|
|
209
|
+
name: "pool",
|
|
210
|
+
type: "address",
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
indexed: true,
|
|
214
|
+
internalType: "uint256",
|
|
215
|
+
name: "startWeek",
|
|
216
|
+
type: "uint256",
|
|
217
|
+
},
|
|
218
|
+
],
|
|
219
|
+
name: "PoolAdded",
|
|
220
|
+
type: "event",
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
anonymous: false,
|
|
224
|
+
inputs: [
|
|
225
|
+
{
|
|
226
|
+
indexed: true,
|
|
227
|
+
internalType: "address",
|
|
228
|
+
name: "pool",
|
|
229
|
+
type: "address",
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
indexed: true,
|
|
233
|
+
internalType: "uint256",
|
|
234
|
+
name: "wTime",
|
|
235
|
+
type: "uint256",
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
indexed: false,
|
|
239
|
+
internalType: "uint256",
|
|
240
|
+
name: "amount",
|
|
241
|
+
type: "uint256",
|
|
242
|
+
},
|
|
243
|
+
],
|
|
244
|
+
name: "UpdateFee",
|
|
245
|
+
type: "event",
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
anonymous: false,
|
|
249
|
+
inputs: [
|
|
250
|
+
{
|
|
251
|
+
indexed: true,
|
|
252
|
+
internalType: "address",
|
|
253
|
+
name: "implementation",
|
|
254
|
+
type: "address",
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
name: "Upgraded",
|
|
258
|
+
type: "event",
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
inputs: [
|
|
262
|
+
{
|
|
263
|
+
internalType: "address",
|
|
264
|
+
name: "pool",
|
|
265
|
+
type: "address",
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
internalType: "uint256",
|
|
269
|
+
name: "_startWeek",
|
|
270
|
+
type: "uint256",
|
|
271
|
+
},
|
|
272
|
+
],
|
|
273
|
+
name: "addPool",
|
|
274
|
+
outputs: [],
|
|
275
|
+
stateMutability: "nonpayable",
|
|
276
|
+
type: "function",
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
inputs: [
|
|
280
|
+
{
|
|
281
|
+
internalType: "uint256",
|
|
282
|
+
name: "",
|
|
283
|
+
type: "uint256",
|
|
284
|
+
},
|
|
285
|
+
],
|
|
286
|
+
name: "allPools",
|
|
287
|
+
outputs: [
|
|
288
|
+
{
|
|
289
|
+
internalType: "address",
|
|
290
|
+
name: "",
|
|
291
|
+
type: "address",
|
|
292
|
+
},
|
|
293
|
+
],
|
|
294
|
+
stateMutability: "view",
|
|
295
|
+
type: "function",
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
inputs: [],
|
|
299
|
+
name: "claimOwnership",
|
|
300
|
+
outputs: [],
|
|
301
|
+
stateMutability: "nonpayable",
|
|
302
|
+
type: "function",
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
inputs: [
|
|
306
|
+
{
|
|
307
|
+
internalType: "address",
|
|
308
|
+
name: "user",
|
|
309
|
+
type: "address",
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
internalType: "address[]",
|
|
313
|
+
name: "pools",
|
|
314
|
+
type: "address[]",
|
|
315
|
+
},
|
|
316
|
+
],
|
|
317
|
+
name: "claimReward",
|
|
318
|
+
outputs: [
|
|
319
|
+
{
|
|
320
|
+
internalType: "uint256[]",
|
|
321
|
+
name: "amountRewardOut",
|
|
322
|
+
type: "uint256[]",
|
|
323
|
+
},
|
|
324
|
+
],
|
|
325
|
+
stateMutability: "nonpayable",
|
|
326
|
+
type: "function",
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
inputs: [
|
|
330
|
+
{
|
|
331
|
+
internalType: "address",
|
|
332
|
+
name: "",
|
|
333
|
+
type: "address",
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
internalType: "uint256",
|
|
337
|
+
name: "",
|
|
338
|
+
type: "uint256",
|
|
339
|
+
},
|
|
340
|
+
],
|
|
341
|
+
name: "fees",
|
|
342
|
+
outputs: [
|
|
343
|
+
{
|
|
344
|
+
internalType: "uint256",
|
|
345
|
+
name: "",
|
|
346
|
+
type: "uint256",
|
|
347
|
+
},
|
|
348
|
+
],
|
|
349
|
+
stateMutability: "view",
|
|
350
|
+
type: "function",
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
inputs: [
|
|
354
|
+
{
|
|
355
|
+
internalType: "address[]",
|
|
356
|
+
name: "pools",
|
|
357
|
+
type: "address[]",
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
internalType: "uint256[][]",
|
|
361
|
+
name: "wTimes",
|
|
362
|
+
type: "uint256[][]",
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
internalType: "uint256[][]",
|
|
366
|
+
name: "amounts",
|
|
367
|
+
type: "uint256[][]",
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
internalType: "uint256",
|
|
371
|
+
name: "totalAmountToFund",
|
|
372
|
+
type: "uint256",
|
|
373
|
+
},
|
|
374
|
+
],
|
|
375
|
+
name: "fund",
|
|
376
|
+
outputs: [],
|
|
377
|
+
stateMutability: "nonpayable",
|
|
378
|
+
type: "function",
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
inputs: [],
|
|
382
|
+
name: "getAllActivePools",
|
|
383
|
+
outputs: [
|
|
384
|
+
{
|
|
385
|
+
internalType: "address[]",
|
|
386
|
+
name: "",
|
|
387
|
+
type: "address[]",
|
|
388
|
+
},
|
|
389
|
+
],
|
|
390
|
+
stateMutability: "view",
|
|
391
|
+
type: "function",
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
inputs: [],
|
|
395
|
+
name: "getAllPools",
|
|
396
|
+
outputs: [
|
|
397
|
+
{
|
|
398
|
+
internalType: "address[]",
|
|
399
|
+
name: "",
|
|
400
|
+
type: "address[]",
|
|
401
|
+
},
|
|
402
|
+
],
|
|
403
|
+
stateMutability: "view",
|
|
404
|
+
type: "function",
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
inputs: [],
|
|
408
|
+
name: "initialize",
|
|
409
|
+
outputs: [],
|
|
410
|
+
stateMutability: "nonpayable",
|
|
411
|
+
type: "function",
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
inputs: [
|
|
415
|
+
{
|
|
416
|
+
internalType: "address",
|
|
417
|
+
name: "",
|
|
418
|
+
type: "address",
|
|
419
|
+
},
|
|
420
|
+
],
|
|
421
|
+
name: "lastFundedWeek",
|
|
422
|
+
outputs: [
|
|
423
|
+
{
|
|
424
|
+
internalType: "uint256",
|
|
425
|
+
name: "",
|
|
426
|
+
type: "uint256",
|
|
427
|
+
},
|
|
428
|
+
],
|
|
429
|
+
stateMutability: "view",
|
|
430
|
+
type: "function",
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
inputs: [],
|
|
434
|
+
name: "owner",
|
|
435
|
+
outputs: [
|
|
436
|
+
{
|
|
437
|
+
internalType: "address",
|
|
438
|
+
name: "",
|
|
439
|
+
type: "address",
|
|
440
|
+
},
|
|
441
|
+
],
|
|
442
|
+
stateMutability: "view",
|
|
443
|
+
type: "function",
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
inputs: [],
|
|
447
|
+
name: "pendingOwner",
|
|
448
|
+
outputs: [
|
|
449
|
+
{
|
|
450
|
+
internalType: "address",
|
|
451
|
+
name: "",
|
|
452
|
+
type: "address",
|
|
453
|
+
},
|
|
454
|
+
],
|
|
455
|
+
stateMutability: "view",
|
|
456
|
+
type: "function",
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
inputs: [],
|
|
460
|
+
name: "proxiableUUID",
|
|
461
|
+
outputs: [
|
|
462
|
+
{
|
|
463
|
+
internalType: "bytes32",
|
|
464
|
+
name: "",
|
|
465
|
+
type: "bytes32",
|
|
466
|
+
},
|
|
467
|
+
],
|
|
468
|
+
stateMutability: "view",
|
|
469
|
+
type: "function",
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
inputs: [],
|
|
473
|
+
name: "token",
|
|
474
|
+
outputs: [
|
|
475
|
+
{
|
|
476
|
+
internalType: "address",
|
|
477
|
+
name: "",
|
|
478
|
+
type: "address",
|
|
479
|
+
},
|
|
480
|
+
],
|
|
481
|
+
stateMutability: "view",
|
|
482
|
+
type: "function",
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
inputs: [
|
|
486
|
+
{
|
|
487
|
+
internalType: "address",
|
|
488
|
+
name: "newOwner",
|
|
489
|
+
type: "address",
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
internalType: "bool",
|
|
493
|
+
name: "direct",
|
|
494
|
+
type: "bool",
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
internalType: "bool",
|
|
498
|
+
name: "renounce",
|
|
499
|
+
type: "bool",
|
|
500
|
+
},
|
|
501
|
+
],
|
|
502
|
+
name: "transferOwnership",
|
|
503
|
+
outputs: [],
|
|
504
|
+
stateMutability: "nonpayable",
|
|
505
|
+
type: "function",
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
inputs: [
|
|
509
|
+
{
|
|
510
|
+
internalType: "address",
|
|
511
|
+
name: "newImplementation",
|
|
512
|
+
type: "address",
|
|
513
|
+
},
|
|
514
|
+
],
|
|
515
|
+
name: "upgradeTo",
|
|
516
|
+
outputs: [],
|
|
517
|
+
stateMutability: "nonpayable",
|
|
518
|
+
type: "function",
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
inputs: [
|
|
522
|
+
{
|
|
523
|
+
internalType: "address",
|
|
524
|
+
name: "newImplementation",
|
|
525
|
+
type: "address",
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
internalType: "bytes",
|
|
529
|
+
name: "data",
|
|
530
|
+
type: "bytes",
|
|
531
|
+
},
|
|
532
|
+
],
|
|
533
|
+
name: "upgradeToAndCall",
|
|
534
|
+
outputs: [],
|
|
535
|
+
stateMutability: "payable",
|
|
536
|
+
type: "function",
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
inputs: [
|
|
540
|
+
{
|
|
541
|
+
internalType: "address",
|
|
542
|
+
name: "",
|
|
543
|
+
type: "address",
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
internalType: "address",
|
|
547
|
+
name: "",
|
|
548
|
+
type: "address",
|
|
549
|
+
},
|
|
550
|
+
],
|
|
551
|
+
name: "userInfo",
|
|
552
|
+
outputs: [
|
|
553
|
+
{
|
|
554
|
+
internalType: "uint128",
|
|
555
|
+
name: "firstUnclaimedWeek",
|
|
556
|
+
type: "uint128",
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
internalType: "uint128",
|
|
560
|
+
name: "iter",
|
|
561
|
+
type: "uint128",
|
|
562
|
+
},
|
|
563
|
+
],
|
|
564
|
+
stateMutability: "view",
|
|
565
|
+
type: "function",
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
inputs: [],
|
|
569
|
+
name: "vePendle",
|
|
570
|
+
outputs: [
|
|
571
|
+
{
|
|
572
|
+
internalType: "address",
|
|
573
|
+
name: "",
|
|
574
|
+
type: "address",
|
|
575
|
+
},
|
|
576
|
+
],
|
|
577
|
+
stateMutability: "view",
|
|
578
|
+
type: "function",
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
inputs: [],
|
|
582
|
+
name: "votingController",
|
|
583
|
+
outputs: [
|
|
584
|
+
{
|
|
585
|
+
internalType: "address",
|
|
586
|
+
name: "",
|
|
587
|
+
type: "address",
|
|
588
|
+
},
|
|
589
|
+
],
|
|
590
|
+
stateMutability: "view",
|
|
591
|
+
type: "function",
|
|
592
|
+
},
|
|
593
|
+
];
|
|
594
|
+
|
|
595
|
+
const _bytecode =
|
|
596
|
+
"0x610100604052306080523480156200001657600080fd5b5060405162002895380380620028958339810160408190526200003991620001a0565b600154600160a81b900460ff161580801562000060575060018054600160a01b900460ff16105b80620000825750303b15801562000082575060018054600160a01b900460ff16145b620000ea5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b6001805460ff60a01b1916600160a01b179055801562000118576001805460ff60a81b1916600160a81b1790555b6001600160a01b0380851660a05283811660c052821660e052801562000179576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050620001ea565b80516001600160a01b03811681146200019b57600080fd5b919050565b600080600060608486031215620001b657600080fd5b620001c18462000183565b9250620001d16020850162000183565b9150620001e16040850162000183565b90509250925092565b60805160a05160c05160e0516126086200028d600039600081816103e2015281816107ba0152610d3d01526000818161032c015281816115ed0152818161163b0152818161171e0152818161176c0152818161189201526118e70152600081816102ce015281816116df01528181611802015261199901526000818161063e0152818161067e015281816108c701528181610907015261098301526126086000f3fe6080604052600436106100ef5760003560e01c8063078dfbe7146100f45780630d6f1413146101165780630f208beb14610156578063263a5362146101c257806332a9caba146101fa5780633659cfe61461021a5780633685ffe71461023a57806341d1de97146102675780634e71e0c8146102945780634f1ef286146102a9578063517afbcf146102bc57806352d1902d146102f05780638129fc1c1461030557806382dabb211461031a5780638da5cb5b1461034e578063d5cd7d201461036e578063d7ace6ce14610390578063d88ff1f41461036e578063e30c3978146103b0578063fc0c546a146103d0575b600080fd5b34801561010057600080fd5b5061011461010f366004611dab565b610404565b005b34801561012257600080fd5b50610143610131366004611df4565b60336020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561016257600080fd5b506101a2610171366004611e0f565b60346020908152600092835260408084209091529082529020546001600160801b0380821691600160801b90041682565b604080516001600160801b0393841681529290911660208301520161014d565b3480156101ce57600080fd5b506101436101dd366004611e42565b603560209081526000928352604080842090915290825290205481565b34801561020657600080fd5b50610114610215366004611e42565b610509565b34801561022657600080fd5b50610114610235366004611df4565b610634565b34801561024657600080fd5b5061025a610255366004611eb7565b6106fc565b60405161014d9190611f09565b34801561027357600080fd5b50610287610282366004611f4d565b6107e8565b60405161014d9190611f66565b3480156102a057600080fd5b50610114610812565b6101146102b7366004611fe8565b6108bd565b3480156102c857600080fd5b506102877f000000000000000000000000000000000000000000000000000000000000000081565b3480156102fc57600080fd5b50610143610976565b34801561031157600080fd5b50610114610a24565b34801561032657600080fd5b506102877f000000000000000000000000000000000000000000000000000000000000000081565b34801561035a57600080fd5b50600054610287906001600160a01b031681565b34801561037a57600080fd5b50610383610b52565b60405161014d919061208d565b34801561039c57600080fd5b506101146103ab3660046120ce565b610bb4565b3480156103bc57600080fd5b50600154610287906001600160a01b031681565b3480156103dc57600080fd5b506102877f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b031633146104375760405162461bcd60e51b815260040161042e90612170565b60405180910390fd5b81156104e8576001600160a01b0383161515806104515750805b6104955760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b604482015260640161042e565b600080546040516001600160a01b038087169392169160008051602061258c83398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6000546001600160a01b031633146105335760405162461bcd60e51b815260040161042e90612170565b61053c81610dc5565b1580610546575080155b1561056757604051631da2a47b60e01b81526004810182905260240161042e565b6001600160a01b038216600090815260336020526040902054156105a0578160405163bfa6835d60e01b815260040161042e9190611f66565b6105ad62093a80826121bb565b6001600160a01b03831660008181526033602052604080822093909355603280546001810182559082527f11df491316f14931039edfd4f8964c9a443b862f02d4c7611d18c2bc4e6ff6970180546001600160a01b03191683179055915183927f0c98febfffcec480c66a977e13f14bafdb5199ea9603591a0715b0cabe0c3ae291a35050565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016300361067c5760405162461bcd60e51b815260040161042e906121ce565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166106ae610ddb565b6001600160a01b0316146106d45760405162461bcd60e51b815260040161042e90612208565b6106dd81610df7565b604080516000808252602082019092526106f991839190610e21565b50565b6060816001600160401b0381111561071657610716611f7a565b60405190808252806020026020018201604052801561073f578160200160208202803683370190505b50905060005b828110156107a25761077d84848381811061076257610762612242565b90506020020160208101906107779190611df4565b86610f8c565b82828151811061078f5761078f612242565b6020908102919091010152600101610745565b506107e1846107b083611222565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016919061125f565b9392505050565b603281815481106107f857600080fd5b6000918252602090912001546001600160a01b0316905081565b6001546001600160a01b031633811461086d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e6572604482015260640161042e565b600080546040516001600160a01b038085169392169160008051602061258c83398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036109055760405162461bcd60e51b815260040161042e906121ce565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610937610ddb565b6001600160a01b03161461095d5760405162461bcd60e51b815260040161042e90612208565b61096682610df7565b61097282826001610e21565b5050565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610a115760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b606482015260840161042e565b5060008051602061256c83398151915290565b600154600160a81b900460ff1615808015610a4a575060018054600160a01b900460ff16105b80610a715750610a59306112b5565b158015610a71575060018054600160a01b900460ff16145b610ad45760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161042e565b6001805460ff60a01b1916600160a01b1790558015610b01576001805460ff60a81b1916600160a81b1790555b610b096112c4565b80156106f9576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150565b60606032805480602002602001604051908101604052809291908181526020018280548015610baa57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610b8c575b5050505050905090565b6000546001600160a01b03163314610bde5760405162461bcd60e51b815260040161042e90612170565b858481141580610bee5750828114155b15610c0c5760405163512509d360e11b815260040160405180910390fd5b6000805b82811015610d0157610c8f8a8a83818110610c2d57610c2d612242565b9050602002016020810190610c429190611df4565b898984818110610c5457610c54612242565b9050602002810190610c669190612258565b898986818110610c7857610c78612242565b9050602002810190610c8a9190612258565b611345565b610ced868683818110610ca457610ca4612242565b9050602002810190610cb69190612258565b8080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061122292505050565b610cf790836122a1565b9150600101610c10565b50828114610d2657808360405163c4b307b760e01b815260040161042e9291906122b4565b6040516323b872dd60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906323b872dd90610d76903390309086906004016122c2565b6020604051808303816000875af1158015610d95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db991906122e6565b50505050505050505050565b6000610dd462093a8083612319565b1592915050565b60008051602061256c833981519152546001600160a01b031690565b6000546001600160a01b031633146106f95760405162461bcd60e51b815260040161042e90612170565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610e545761050483611524565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610eae575060408051601f3d908101601f19168201909252610eab9181019061232d565b60015b610f115760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161042e565b60008051602061256c8339815191528114610f805760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161042e565b506105048383836115be565b6001600160a01b03821660009081526033602052604081205483908203610fc75780604051624e263b60e41b815260040161042e9190611f66565b6000610fd385856115e9565b905080600003610fe757600092505061121b565b6001600160a01b03858116600090815260336020908152604080832054603483528184209489168452939091529020546001600160801b0380821691600160801b9004168282111561104057600095505050505061121b565b600061104d898984611714565b90508060008490036110755781516110699062093a8090612346565b6001600160801b031693505b8484116111bf57856110888460016122a1565b10156110df57815181516001600160801b039182169116036110bc576110b98a8a6110b48660016122a1565b611714565b90505b80516001600160801b03168411156110df57826110d881612366565b9350508091505b60208201516000906110f1908661183b565b6001600160801b0316905080156111aa57600061110e8c8761188e565b6001600160a01b038d1660009081526035602090815260408083208a8452909152812054919250908290611142908561237f565b61114c9190612396565b9050611158818c6122a1565b9a508b6001600160a01b03168d6001600160a01b03167ffe7c5fc89da23a432c91f264decb100ab9d08ab7b14650c3cdb9b6b4f84a60e9898460405161119f9291906122b4565b60405180910390a350505b6111b762093a80866122a1565b945050611075565b50506040805180820182526001600160801b03938416815291831660208084019182526001600160a01b03808c16600090815260348352848120918c168152915291909120915190518316600160801b02921691909117905550505b5092915050565b600080805b835181101561121b5783818151811061124257611242612242565b60200260200101518261125591906122a1565b9150600101611227565b6105048363a9059cbb60e01b848460405160240161127e9291906123aa565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526119c8565b6001600160a01b03163b151590565b600154600160a81b900460ff166113315760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161042e565b600080546001600160a01b03191633179055565b6001600160a01b03851660009081526033602052604081205486910361137f5780604051624e263b60e41b815260040161042e9190611f66565b83821461139f57604051635174addf60e11b815260040160405180910390fd5b6001600160a01b038616600090815260336020526040812054906113c1611a9d565b6001600160801b0316905060005b848110156114da5760008888838181106113eb576113eb612242565b905060200201359050600087878481811061140857611408612242565b60200291909101359150611421905062093a80866122a1565b8214611444578482604051637d9c405d60e11b815260040161042e9291906122b4565b6001600160a01b038b166000908152603560209081526040808320858452909152812080548392906114779084906122a1565b9091555061148a905062093a80866122a1565b9450818b6001600160a01b03167fc9920255a27e7e0a5d647597e867ab827659000ae32276c878d8a04120efabb0836040516114c891815260200190565b60405180910390a350506001016113cf565b508082106114ff578181604051637d9c405d60e11b815260040161042e9291906122b4565b506001600160a01b039096166000908152603360205260409020959095555050505050565b61152d816112b5565b61158f5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161042e565b60008051602061256c83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6115c783611aad565b6000825111806115d45750805b15610504576115e38383611aed565b50505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316036116b85760405163fc367c6160e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063fc367c6190611670908590600401611f66565b602060405180830381865afa15801561168d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b1919061232d565b905061170e565b604051633575141360e11b81526001600160a01b03838116600483015284811660248301527f00000000000000000000000000000000000000000000000000000000000000001690636aea282690604401611670565b92915050565b61171c611d32565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b0316036117eb57604051637c386c7160e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690637c386c71906117a390869086906004016123aa565b606060405180830381865afa1580156117c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e491906123da565b90506107e1565b60405163632c096d60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063632c096d906117a3908690889087906004016122c2565b600082600001516001600160801b031682846020015161185b919061244c565b6001600160801b031611156118725750600061170e565b818360200151611882919061244c565b83516107e19190612477565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03160361196b5760405163947975d960e01b81526001600160801b03831660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063947975d9906024015b602060405180830381865afa158015611937573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195b9190612497565b6001600160801b0316905061170e565b60405163f144cf1760e01b81526001600160a01b0384811660048301526001600160801b03841660248301527f0000000000000000000000000000000000000000000000000000000000000000169063f144cf179060440161191a565b6000611a1d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611b129092919063ffffffff16565b9050805160001480611a3e575080806020019051810190611a3e91906122e6565b6105045760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161042e565b6000611aa842611b29565b905090565b611ab681611524565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606107e183836040518060600160405280602781526020016125ac60279139611b43565b6060611b218484600085611bbb565b949350505050565b600062093a80611b3981846124b2565b61170e919061244c565b6060600080856001600160a01b031685604051611b6091906124fc565b600060405180830381855af49150503d8060008114611b9b576040519150601f19603f3d011682016040523d82523d6000602084013e611ba0565b606091505b5091509150611bb186838387611c96565b9695505050505050565b606082471015611c1c5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161042e565b600080866001600160a01b03168587604051611c3891906124fc565b60006040518083038185875af1925050503d8060008114611c75576040519150601f19603f3d011682016040523d82523d6000602084013e611c7a565b606091505b5091509150611c8b87838387611c96565b979650505050505050565b60608315611d03578251600003611cfc57611cb0856112b5565b611cfc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161042e565b5081611b21565b611b218383815115611d185781518083602001fd5b8060405162461bcd60e51b815260040161042e9190612518565b604051806040016040528060006001600160801b03168152602001611d7c604051806040016040528060006001600160801b0316815260200160006001600160801b031681525090565b905290565b80356001600160a01b0381168114611d9857600080fd5b919050565b80151581146106f957600080fd5b600080600060608486031215611dc057600080fd5b611dc984611d81565b92506020840135611dd981611d9d565b91506040840135611de981611d9d565b809150509250925092565b600060208284031215611e0657600080fd5b6107e182611d81565b60008060408385031215611e2257600080fd5b611e2b83611d81565b9150611e3960208401611d81565b90509250929050565b60008060408385031215611e5557600080fd5b611e5e83611d81565b946020939093013593505050565b60008083601f840112611e7e57600080fd5b5081356001600160401b03811115611e9557600080fd5b6020830191508360208260051b8501011115611eb057600080fd5b9250929050565b600080600060408486031215611ecc57600080fd5b611ed584611d81565b925060208401356001600160401b03811115611ef057600080fd5b611efc86828701611e6c565b9497909650939450505050565b6020808252825182820181905260009190848201906040850190845b81811015611f4157835183529284019291840191600101611f25565b50909695505050505050565b600060208284031215611f5f57600080fd5b5035919050565b6001600160a01b0391909116815260200190565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715611fb257611fb2611f7a565b60405290565b604051601f8201601f191681016001600160401b0381118282101715611fe057611fe0611f7a565b604052919050565b60008060408385031215611ffb57600080fd5b61200483611d81565b91506020838101356001600160401b038082111561202157600080fd5b818601915086601f83011261203557600080fd5b81358181111561204757612047611f7a565b612059601f8201601f19168501611fb8565b9150808252878482850101111561206f57600080fd5b80848401858401376000848284010152508093505050509250929050565b6020808252825182820181905260009190848201906040850190845b81811015611f415783516001600160a01b0316835292840192918401916001016120a9565b60008060008060008060006080888a0312156120e957600080fd5b87356001600160401b038082111561210057600080fd5b61210c8b838c01611e6c565b909950975060208a013591508082111561212557600080fd5b6121318b838c01611e6c565b909750955060408a013591508082111561214a57600080fd5b506121578a828b01611e6c565b989b979a50959894979596606090950135949350505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8181038181111561170e5761170e6121a5565b6020808252602c9082015260008051602061254c83398151915260408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c9082015260008051602061254c83398151915260408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000808335601e1984360301811261226f57600080fd5b8301803591506001600160401b0382111561228957600080fd5b6020019150600581901b3603821315611eb057600080fd5b8082018082111561170e5761170e6121a5565b918252602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6000602082840312156122f857600080fd5b81516107e181611d9d565b634e487b7160e01b600052601260045260246000fd5b60008261232857612328612303565b500690565b60006020828403121561233f57600080fd5b5051919050565b6001600160801b0381811683821601908082111561121b5761121b6121a5565b600060018201612378576123786121a5565b5060010190565b808202811582820484141761170e5761170e6121a5565b6000826123a5576123a5612303565b500490565b6001600160a01b03929092168252602082015260400190565b80516001600160801b0381168114611d9857600080fd5b600081830360608112156123ed57600080fd5b6123f5611f90565b6123fe846123c3565b81526040601f198301121561241257600080fd5b61241a611f90565b9150612428602085016123c3565b8252612436604085016123c3565b6020830152816020820152809250505092915050565b6001600160801b0381811683821602808216919082811461246f5761246f6121a5565b505092915050565b6001600160801b0382811682821603908082111561121b5761121b6121a5565b6000602082840312156124a957600080fd5b6107e1826123c3565b60006001600160801b03838116806124cc576124cc612303565b92169190910492915050565b60005b838110156124f35781810151838201526020016124db565b50506000910152565b6000825161250e8184602087016124d8565b9190910192915050565b60208152600082518060208401526125378160408501602087016124d8565b601f01601f1916919091016040019291505056fe46756e6374696f6e206d7573742062652063616c6c6564207468726f75676820360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212204d9ad674b6bcd64f4103e657b7f979602f5cc4a8ac7d9cf959064e2438e7f6cd64736f6c63430008170033";
|
|
597
|
+
|
|
598
|
+
type PendleFeeDistributorConstructorParams =
|
|
599
|
+
| [signer?: Signer]
|
|
600
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
601
|
+
|
|
602
|
+
const isSuperArgs = (
|
|
603
|
+
xs: PendleFeeDistributorConstructorParams
|
|
604
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
605
|
+
|
|
606
|
+
export class PendleFeeDistributor__factory extends ContractFactory {
|
|
607
|
+
constructor(...args: PendleFeeDistributorConstructorParams) {
|
|
608
|
+
if (isSuperArgs(args)) {
|
|
609
|
+
super(...args);
|
|
610
|
+
} else {
|
|
611
|
+
super(_abi, _bytecode, args[0]);
|
|
612
|
+
}
|
|
613
|
+
this.contractName = "PendleFeeDistributor";
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
deploy(
|
|
617
|
+
_votingController: string,
|
|
618
|
+
_vePendle: string,
|
|
619
|
+
_rewardToken: string,
|
|
620
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
621
|
+
): Promise<PendleFeeDistributor> {
|
|
622
|
+
return super.deploy(
|
|
623
|
+
_votingController,
|
|
624
|
+
_vePendle,
|
|
625
|
+
_rewardToken,
|
|
626
|
+
overrides || {}
|
|
627
|
+
) as Promise<PendleFeeDistributor>;
|
|
628
|
+
}
|
|
629
|
+
getDeployTransaction(
|
|
630
|
+
_votingController: string,
|
|
631
|
+
_vePendle: string,
|
|
632
|
+
_rewardToken: string,
|
|
633
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
634
|
+
): TransactionRequest {
|
|
635
|
+
return super.getDeployTransaction(
|
|
636
|
+
_votingController,
|
|
637
|
+
_vePendle,
|
|
638
|
+
_rewardToken,
|
|
639
|
+
overrides || {}
|
|
640
|
+
);
|
|
641
|
+
}
|
|
642
|
+
attach(address: string): PendleFeeDistributor {
|
|
643
|
+
return super.attach(address) as PendleFeeDistributor;
|
|
644
|
+
}
|
|
645
|
+
connect(signer: Signer): PendleFeeDistributor__factory {
|
|
646
|
+
return super.connect(signer) as PendleFeeDistributor__factory;
|
|
647
|
+
}
|
|
648
|
+
static readonly contractName: "PendleFeeDistributor";
|
|
649
|
+
public readonly contractName: "PendleFeeDistributor";
|
|
650
|
+
static readonly bytecode = _bytecode;
|
|
651
|
+
static readonly abi = _abi;
|
|
652
|
+
static createInterface(): PendleFeeDistributorInterface {
|
|
653
|
+
return new utils.Interface(_abi) as PendleFeeDistributorInterface;
|
|
654
|
+
}
|
|
655
|
+
static connect(
|
|
656
|
+
address: string,
|
|
657
|
+
signerOrProvider: Signer | Provider
|
|
658
|
+
): PendleFeeDistributor {
|
|
659
|
+
return new Contract(
|
|
660
|
+
address,
|
|
661
|
+
_abi,
|
|
662
|
+
signerOrProvider
|
|
663
|
+
) as PendleFeeDistributor;
|
|
664
|
+
}
|
|
665
|
+
}
|