@pendle/core-v2 5.6.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/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/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/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/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/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,308 @@
|
|
|
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
|
+
PendlePoolDeployHelperV2,
|
|
8
|
+
PendlePoolDeployHelperV2Interface,
|
|
9
|
+
} from "../PendlePoolDeployHelperV2";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "_router",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
internalType: "address",
|
|
21
|
+
name: "_yieldContractFactory",
|
|
22
|
+
type: "address",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
internalType: "address",
|
|
26
|
+
name: "_marketFactory",
|
|
27
|
+
type: "address",
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
stateMutability: "nonpayable",
|
|
31
|
+
type: "constructor",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
anonymous: false,
|
|
35
|
+
inputs: [
|
|
36
|
+
{
|
|
37
|
+
components: [
|
|
38
|
+
{
|
|
39
|
+
internalType: "address",
|
|
40
|
+
name: "SY",
|
|
41
|
+
type: "address",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
internalType: "address",
|
|
45
|
+
name: "PT",
|
|
46
|
+
type: "address",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
internalType: "address",
|
|
50
|
+
name: "YT",
|
|
51
|
+
type: "address",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
internalType: "address",
|
|
55
|
+
name: "market",
|
|
56
|
+
type: "address",
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
indexed: false,
|
|
60
|
+
internalType: "struct PendlePoolDeployHelperV2.PoolDeploymentAddrs",
|
|
61
|
+
name: "addrs",
|
|
62
|
+
type: "tuple",
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
components: [
|
|
66
|
+
{
|
|
67
|
+
internalType: "uint32",
|
|
68
|
+
name: "expiry",
|
|
69
|
+
type: "uint32",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
internalType: "uint80",
|
|
73
|
+
name: "lnFeeRateRoot",
|
|
74
|
+
type: "uint80",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
internalType: "int256",
|
|
78
|
+
name: "scalarRoot",
|
|
79
|
+
type: "int256",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
internalType: "int256",
|
|
83
|
+
name: "initialRateAnchor",
|
|
84
|
+
type: "int256",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
internalType: "bool",
|
|
88
|
+
name: "doCacheIndexSameBlock",
|
|
89
|
+
type: "bool",
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
indexed: false,
|
|
93
|
+
internalType: "struct PendlePoolDeployHelperV2.PoolDeploymentParams",
|
|
94
|
+
name: "params",
|
|
95
|
+
type: "tuple",
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
name: "MarketDeployment",
|
|
99
|
+
type: "event",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
inputs: [
|
|
103
|
+
{
|
|
104
|
+
internalType: "address",
|
|
105
|
+
name: "SY",
|
|
106
|
+
type: "address",
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
components: [
|
|
110
|
+
{
|
|
111
|
+
internalType: "uint32",
|
|
112
|
+
name: "expiry",
|
|
113
|
+
type: "uint32",
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
internalType: "uint256",
|
|
117
|
+
name: "rateMin",
|
|
118
|
+
type: "uint256",
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
internalType: "uint256",
|
|
122
|
+
name: "rateMax",
|
|
123
|
+
type: "uint256",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
internalType: "uint256",
|
|
127
|
+
name: "desiredImpliedRate",
|
|
128
|
+
type: "uint256",
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
internalType: "uint256",
|
|
132
|
+
name: "fee",
|
|
133
|
+
type: "uint256",
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
internalType: "struct PendlePoolDeployHelperV2.PoolConfig",
|
|
137
|
+
name: "config",
|
|
138
|
+
type: "tuple",
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
internalType: "address",
|
|
142
|
+
name: "tokenToSeedLiqudity",
|
|
143
|
+
type: "address",
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
internalType: "uint256",
|
|
147
|
+
name: "amountToSeed",
|
|
148
|
+
type: "uint256",
|
|
149
|
+
},
|
|
150
|
+
],
|
|
151
|
+
name: "deploy5115MarketAndSeedLiquidity",
|
|
152
|
+
outputs: [
|
|
153
|
+
{
|
|
154
|
+
components: [
|
|
155
|
+
{
|
|
156
|
+
internalType: "address",
|
|
157
|
+
name: "SY",
|
|
158
|
+
type: "address",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
internalType: "address",
|
|
162
|
+
name: "PT",
|
|
163
|
+
type: "address",
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
internalType: "address",
|
|
167
|
+
name: "YT",
|
|
168
|
+
type: "address",
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
internalType: "address",
|
|
172
|
+
name: "market",
|
|
173
|
+
type: "address",
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
internalType: "struct PendlePoolDeployHelperV2.PoolDeploymentAddrs",
|
|
177
|
+
name: "",
|
|
178
|
+
type: "tuple",
|
|
179
|
+
},
|
|
180
|
+
],
|
|
181
|
+
stateMutability: "payable",
|
|
182
|
+
type: "function",
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
inputs: [],
|
|
186
|
+
name: "doCacheIndexSameBlock",
|
|
187
|
+
outputs: [
|
|
188
|
+
{
|
|
189
|
+
internalType: "bool",
|
|
190
|
+
name: "",
|
|
191
|
+
type: "bool",
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
stateMutability: "view",
|
|
195
|
+
type: "function",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
inputs: [],
|
|
199
|
+
name: "marketFactory",
|
|
200
|
+
outputs: [
|
|
201
|
+
{
|
|
202
|
+
internalType: "address",
|
|
203
|
+
name: "",
|
|
204
|
+
type: "address",
|
|
205
|
+
},
|
|
206
|
+
],
|
|
207
|
+
stateMutability: "view",
|
|
208
|
+
type: "function",
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
inputs: [],
|
|
212
|
+
name: "router",
|
|
213
|
+
outputs: [
|
|
214
|
+
{
|
|
215
|
+
internalType: "address",
|
|
216
|
+
name: "",
|
|
217
|
+
type: "address",
|
|
218
|
+
},
|
|
219
|
+
],
|
|
220
|
+
stateMutability: "view",
|
|
221
|
+
type: "function",
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
inputs: [],
|
|
225
|
+
name: "yieldContractFactory",
|
|
226
|
+
outputs: [
|
|
227
|
+
{
|
|
228
|
+
internalType: "address",
|
|
229
|
+
name: "",
|
|
230
|
+
type: "address",
|
|
231
|
+
},
|
|
232
|
+
],
|
|
233
|
+
stateMutability: "view",
|
|
234
|
+
type: "function",
|
|
235
|
+
},
|
|
236
|
+
];
|
|
237
|
+
|
|
238
|
+
const _bytecode =
|
|
239
|
+
"0x6101006040523480156200001257600080fd5b50604051620022ed380380620022ed833981016040819052620000359162000077565b6001461460e0526001600160a01b0392831660805290821660a0521660c052620000c1565b80516001600160a01b03811681146200007257600080fd5b919050565b6000806000606084860312156200008d57600080fd5b62000098846200005a565b9250620000a8602085016200005a565b9150620000b8604085016200005a565b90509250925092565b60805160a05160c05160e0516121b5620001386000396000818160ab01526102430152600081816061015261037501526000818161010f01526102ad0152600081816101430152818161044401528181610484015281816104b20152818161051301528181610673015261073c01526121b56000f3fe60806040526004361061004a5760003560e01c806306ae70951461004f578063516399df146100995780637fa1669e146100dd57806387a409a2146100fd578063f887ea4014610131575b600080fd5b34801561005b57600080fd5b506100837f000000000000000000000000000000000000000000000000000000000000000081565b6040516100909190611c7a565b60405180910390f35b3480156100a557600080fd5b506100cd7f000000000000000000000000000000000000000000000000000000000000000081565b6040519015158152602001610090565b6100f06100eb366004611cc5565b610165565b6040516100909190611db9565b34801561010957600080fd5b506100837f000000000000000000000000000000000000000000000000000000000000000081565b34801561013d57600080fd5b506100837f000000000000000000000000000000000000000000000000000000000000000081565b61016d611c53565b60008061017a878761019b565b9150915061018f828287878a60600151610433565b9150505b949350505050565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526101ce611c53565b6000806101ee85602001518660400151876000015163ffffffff1661081e565b915091506040518060a00160405280866000015163ffffffff16815260200161021a8760800151610904565b6001600160501b031681526020016102318461093e565b815260200161023f8361093e565b81527f000000000000000000000000000000000000000000000000000000000000000015156020909101526001600160a01b0387811680865282516080840151604051637145345b60e11b8152600481019390935263ffffffff9091166024830152151560448201529195507f0000000000000000000000000000000000000000000000000000000000000000169063e28a68b69060640160408051808303816000875af11580156102f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103199190611dc7565b6001600160a01b03908116604086810191909152918116602080870182905287840151606089015191890151945163f661cf6b60e01b81526004810193909352602483015260448201526001600160501b0390921660648301527f0000000000000000000000000000000000000000000000000000000000000000169063f661cf6b906084016020604051808303816000875af11580156103be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e29190611e01565b6001600160a01b031660608401526040517fd1f8866e1ab220ea57cc2bc3d029810357a6f6df863760170473f9df5b322ebd906104229085908790611e25565b60405180910390a150509250929050565b61043e833384610958565b610468837f00000000000000000000000000000000000000000000000000000000000000006109c9565b83516001600160a01b038481169116146104a85783516104a8907f00000000000000000000000000000000000000000000000000000000000000006109c9565b6104d684602001517f00000000000000000000000000000000000000000000000000000000000000006109c9565b600084600001516001600160a01b0316846001600160a01b03161461063a5760006001600160a01b0385161561050d57600061050f565b835b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e071dc68230896000015160006040518060a001604052808c6001600160a01b031681526020018b81526020018c6001600160a01b0316815260200160006001600160a01b0316815260200160405180608001604052806000600a8111156105a6576105a6611e7e565b815260006020808301829052604080518381529182018152808401919091526060909201529152516001600160e01b031960e088901b1681526105ef9493929190600401611ee4565b60206040518083038185885af115801561060d573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906106329190611fac565b91505061063d565b50815b600061066d876000015163ffffffff1661065a8960400151610a8d565b6106678a60600151610a8d565b86610a9c565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631a8631b23089604001516106b98688610ba690919063ffffffff16565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152600060648201526084016020604051808303816000875af1158015610714573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107389190611fac565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166397ee279e33896060015161077c8b60000151610bc9565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606481018490526000608482015260a4016060604051808303816000875af11580156107de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108029190611fc5565b50505061081487604001513383610c53565b5050505050505050565b60008061084c6040518060800160405280600081526020016000815260200160008152602001600081525090565b6108646301e1338061085e4287612009565b90610d1d565b8082526108839061087d670de0b6b3a76400008961201c565b90610d43565b602082015280516108a09061087d670de0b6b3a76400008861201c565b6040820181905260208201516002916108b89161201c565b6108c29190612045565b91508181604001516108d49190612009565b6060820181905281516108ef90671e7e1c1c97e21800612059565b6108f99190612045565b925050935093915050565b600061093861093361092e61092961092486670de0b6b3a764000061201c565b61093e565b610ef6565b610a8d565b610f8e565b92915050565b60006001600160ff1b0382111561095457600080fd5b5090565b6001600160a01b0383166109ae578034146109a95760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064015b60405180910390fd5b505050565b80156109a9576109a96001600160a01b038416833084610fa4565b6001600160a01b0382166109db575050565b6109ed60026001600160601b03612070565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa158015610a46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6a9190611fac565b1015610a8957610a7c8282600061100f565b610a89828260001961100f565b5050565b60008082121561095457600080fd5b6000610ac96040518060800160405280600081526020016000815260200160008152602001600081525090565b610ad34287612009565b8152610af661092e610ae48561093e565b61092990670de0b6b3a7640000612096565b602082018190528151610b2691610b21916301e1338091610b179190612059565b6109249190612045565b611123565b60408201528051600090610b3e6301e1338088612059565b610b489190612045565b90506000610b79610b21610b5b8461093e565b610b648961093e565b8660400151610b7391906120be565b90611531565b9050610b9a61092e610b9383670de0b6b3a7640000612096565b8390611554565b98975050505050505050565b600080610bb38385612059565b9050670de0b6b3a7640000815b04949350505050565b60006001600160a01b03821615610c4c576040516370a0823160e01b81526001600160a01b038316906370a0823190610c06903090600401611c7a565b602060405180830381865afa158015610c23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c479190611fac565b610938565b4792915050565b80600003610c6057505050565b6001600160a01b038316610d09576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610cbb576040519150601f19603f3d011682016040523d82523d6000602084013e610cc0565b606091505b5050905080610d035760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b60448201526064016109a0565b50505050565b6109a96001600160a01b038416838361157a565b600080610d32670de0b6b3a764000085612059565b9050828181610bc057610bc061202f565b600081600003610d5c5750670de0b6b3a7640000610938565b82600003610d6c57506000610938565b600160ff1b8310610db15760405162461bcd60e51b815260206004820152600f60248201526e78206f7574206f6620626f756e647360881b60448201526064016109a0565b82770bce5086492111aea88f4bb1ca6bcf584181ea8059f765328310610e0b5760405162461bcd60e51b815260206004820152600f60248201526e79206f7574206f6620626f756e647360881b60448201526064016109a0565b826000670c7d713b49da000083138015610e2c5750670f43fc2c04ee000083125b15610e63576000610e3c84611599565b9050670de0b6b3a764000080820784020583670de0b6b3a764000083050201915050610e71565b81610e6d846116b8565b0290505b670de0b6b3a76400009005680238fd42c5cf03ffff198112801590610e9f575068070c1cc73b00c800008113155b610ee35760405162461bcd60e51b815260206004820152601560248201527470726f64756374206f7574206f6620626f756e647360581b60448201526064016109a0565b610eec81611123565b9695505050505050565b6000808213610f375760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b60448201526064016109a0565b670c7d713b49da000082138015610f555750670f43fc2c04ee000082125b15610f8057670de0b6b3a7640000610f6c83611599565b81610f7957610f7961202f565b0592915050565b610938826116b8565b919050565b60006001600160501b0382111561095457600080fd5b6040516001600160a01b0380851660248301528316604482015260648101829052610d039085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611a5b565b600080846001600160a01b031663095ea7b360e01b85856040516024016110379291906120e5565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b031990941693909317909252905161107591906120fe565b6000604051808303816000865af19150503d80600081146110b2576040519150601f19603f3d011682016040523d82523d6000602084013e6110b7565b606091505b50915091508180156110e15750805115806110e15750808060200190518101906110e1919061211a565b61111c5760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b60448201526064016109a0565b5050505050565b6000680238fd42c5cf03ffff198212158015611148575068070c1cc73b00c800008213155b6111875760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b60448201526064016109a0565b60008212156111b85761119c82600003611123565b6a0c097ce7bc90715b34b9f160241b81610f7957610f7961202f565b60006806f05b59d3b200000083126111f657506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b61122c565b6803782dace9d9000000831261122857506803782dace9d8ffffff19909101906b1425982cf597cd205cef738061122c565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac62000000841261127c5768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d63100000084126112b8576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b1880000084126112f257682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c400000841261132c576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac6200000841261136557680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d63100000841261139e5768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b188000084126113d7576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c4000084126114105768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b60008061153e838561213c565b9050670de0b6b3a7640000815b05949350505050565b600080611569670de0b6b3a76400008561213c565b905082818161154b5761154b61202f565b6109a98363a9059cbb60e01b8484604051602401610fd89291906120e5565b670de0b6b3a7640000026000806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff19850102816115da576115da61202f565b05905060006a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b6000670de0b6b3a76400008212156116f9576116f0826a0c097ce7bc90715b34b9f160241b816116ea576116ea61202f565b056116b8565b60000392915050565b6000775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b83126117445772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b831261177b576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff008400083126117c3576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a70083126117fe576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf850831261183557693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e2831261186c57690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d0383126118a15768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb4174612111083126118cc57680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d8312611901576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f17757889379378312611936576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b286603831261196a576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac831261199e576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d6310000080860302816119c7576119c761202f565b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b6000611ab0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611b309092919063ffffffff16565b9050805160001480611ad1575080806020019051810190611ad1919061211a565b6109a95760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016109a0565b6060610193848460008585600080866001600160a01b03168587604051611b5791906120fe565b60006040518083038185875af1925050503d8060008114611b94576040519150601f19603f3d011682016040523d82523d6000602084013e611b99565b606091505b5091509150611baa87838387611bb5565b979650505050505050565b60608315611c24578251600003611c1d576001600160a01b0385163b611c1d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016109a0565b5081610193565b6101938383815115611c395781518083602001fd5b8060405162461bcd60e51b81526004016109a0919061216c565b60408051608081018252600080825260208201819052918101829052606081019190915290565b6001600160a01b0391909116815260200190565b6001600160a01b0381168114611ca357600080fd5b50565b8035610f8981611c8e565b803563ffffffff81168114610f8957600080fd5b600080600080848603610100811215611cdd57600080fd5b8535611ce881611c8e565b945060a0601f1982011215611cfc57600080fd5b5060405160a081016001600160401b0381118282101715611d2d57634e487b7160e01b600052604160045260246000fd5b604052611d3c60208701611cb1565b815260408601356020820152606086013560408201526080860135606082015260a0860135608082015280935050611d7660c08601611ca6565b9396929550929360e00135925050565b80516001600160a01b03908116835260208083015182169084015260408083015182169084015260609182015116910152565b608081016109388284611d86565b60008060408385031215611dda57600080fd5b8251611de581611c8e565b6020840151909250611df681611c8e565b809150509250929050565b600060208284031215611e1357600080fd5b8151611e1e81611c8e565b9392505050565b6101208101611e348285611d86565b825163ffffffff1660808381019190915260208401516001600160501b031660a0840152604084015160c0840152606084015160e084015290920151151561010090910152919050565b634e487b7160e01b600052602160045260246000fd5b60005b83811015611eaf578181015183820152602001611e97565b50506000910152565b60008151808452611ed0816020860160208601611e94565b601f01601f19169290920160200192915050565b600060018060a01b038087168352808616602084015284604084015260806060840152808451166080840152602084015160a08401528060408501511660c08401528060608501511660e0840152608084015160a06101008501528051600b8110611f5f57634e487b7160e01b600052602160045260246000fd5b61012085015260208101519091166101408401526040810151608061016085015290611f8f6101a0850183611eb8565b915060608101511515610180850152508091505095945050505050565b600060208284031215611fbe57600080fd5b5051919050565b600080600060608486031215611fda57600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052601160045260246000fd5b8181038181111561093857610938611ff3565b8082018082111561093857610938611ff3565b634e487b7160e01b600052601260045260246000fd5b6000826120545761205461202f565b500490565b808202811582820484141761093857610938611ff3565b60006001600160601b038381168061208a5761208a61202f565b92169190910492915050565b80820182811260008312801582168215821617156120b6576120b6611ff3565b505092915050565b81810360008312801583831316838312821617156120de576120de611ff3565b5092915050565b6001600160a01b03929092168252602082015260400190565b60008251612110818460208701611e94565b9190910192915050565b60006020828403121561212c57600080fd5b81518015158114611e1e57600080fd5b80820260008212600160ff1b8414161561215857612158611ff3565b818105831482151761093857610938611ff3565b602081526000611e1e6020830184611eb856fea26469706673582212203146a0bc682db746cec9639f5d0e716e73bfd2fab1507d8bb3805127459ba65e64736f6c63430008170033";
|
|
240
|
+
|
|
241
|
+
type PendlePoolDeployHelperV2ConstructorParams =
|
|
242
|
+
| [signer?: Signer]
|
|
243
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
244
|
+
|
|
245
|
+
const isSuperArgs = (
|
|
246
|
+
xs: PendlePoolDeployHelperV2ConstructorParams
|
|
247
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
248
|
+
|
|
249
|
+
export class PendlePoolDeployHelperV2__factory extends ContractFactory {
|
|
250
|
+
constructor(...args: PendlePoolDeployHelperV2ConstructorParams) {
|
|
251
|
+
if (isSuperArgs(args)) {
|
|
252
|
+
super(...args);
|
|
253
|
+
} else {
|
|
254
|
+
super(_abi, _bytecode, args[0]);
|
|
255
|
+
}
|
|
256
|
+
this.contractName = "PendlePoolDeployHelperV2";
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
deploy(
|
|
260
|
+
_router: string,
|
|
261
|
+
_yieldContractFactory: string,
|
|
262
|
+
_marketFactory: string,
|
|
263
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
264
|
+
): Promise<PendlePoolDeployHelperV2> {
|
|
265
|
+
return super.deploy(
|
|
266
|
+
_router,
|
|
267
|
+
_yieldContractFactory,
|
|
268
|
+
_marketFactory,
|
|
269
|
+
overrides || {}
|
|
270
|
+
) as Promise<PendlePoolDeployHelperV2>;
|
|
271
|
+
}
|
|
272
|
+
getDeployTransaction(
|
|
273
|
+
_router: string,
|
|
274
|
+
_yieldContractFactory: string,
|
|
275
|
+
_marketFactory: string,
|
|
276
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
277
|
+
): TransactionRequest {
|
|
278
|
+
return super.getDeployTransaction(
|
|
279
|
+
_router,
|
|
280
|
+
_yieldContractFactory,
|
|
281
|
+
_marketFactory,
|
|
282
|
+
overrides || {}
|
|
283
|
+
);
|
|
284
|
+
}
|
|
285
|
+
attach(address: string): PendlePoolDeployHelperV2 {
|
|
286
|
+
return super.attach(address) as PendlePoolDeployHelperV2;
|
|
287
|
+
}
|
|
288
|
+
connect(signer: Signer): PendlePoolDeployHelperV2__factory {
|
|
289
|
+
return super.connect(signer) as PendlePoolDeployHelperV2__factory;
|
|
290
|
+
}
|
|
291
|
+
static readonly contractName: "PendlePoolDeployHelperV2";
|
|
292
|
+
public readonly contractName: "PendlePoolDeployHelperV2";
|
|
293
|
+
static readonly bytecode = _bytecode;
|
|
294
|
+
static readonly abi = _abi;
|
|
295
|
+
static createInterface(): PendlePoolDeployHelperV2Interface {
|
|
296
|
+
return new utils.Interface(_abi) as PendlePoolDeployHelperV2Interface;
|
|
297
|
+
}
|
|
298
|
+
static connect(
|
|
299
|
+
address: string,
|
|
300
|
+
signerOrProvider: Signer | Provider
|
|
301
|
+
): PendlePoolDeployHelperV2 {
|
|
302
|
+
return new Contract(
|
|
303
|
+
address,
|
|
304
|
+
_abi,
|
|
305
|
+
signerOrProvider
|
|
306
|
+
) as PendlePoolDeployHelperV2;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
@@ -273,7 +273,7 @@ const _abi = [
|
|
|
273
273
|
];
|
|
274
274
|
|
|
275
275
|
const _bytecode =
|
|
276
|
-
"0x60e06040523480156200001157600080fd5b506040516200165b3803806200165b83398101604081905262000034916200006f565b6001600160a01b0392831660805290821660a0521660c052620000b9565b80516001600160a01b03811681146200006a57600080fd5b919050565b6000806000606084860312156200008557600080fd5b620000908462000052565b9250620000a06020850162000052565b9150620000b06040850162000052565b90509250925092565b60805160a05160c051611534620001276000396000818160770152818161023e0152610529015260008181610125015261049101526000818161016e0152818161065501528181610698015281816106c20152818161071f01528181610851015261090e01526115346000f3fe6080604052600436106100595760003560e01c806306ae7095146100655780634ff780e1146100b6578063705d3a94146100f357806387a409a2146101135780638a22ba0b14610147578063f887ea401461015c57600080fd5b3661006057005b600080fd5b34801561007157600080fd5b506100997f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100c96100c4366004611054565b610190565b604080516001600160a01b03948516815292841660208401529216918101919091526060016100ad565b3480156100ff57600080fd5b5061009961010e366004611121565b6101be565b34801561011f57600080fd5b506100997f000000000000000000000000000000000000000000000000000000000000000081565b61015a610155366004611171565b6103cc565b005b34801561016857600080fd5b506100997f000000000000000000000000000000000000000000000000000000000000000081565b600080600061019f878761044f565b919450925090506101b4818885858989610644565b9450945094915050565b600080866001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156101ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022391906111b2565b5060405163f661cf6b60e01b81529092506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016915063f661cf6b9061027a908490889088908b906004016111ff565b6020604051808303816000875af1158015610299573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102bd919061122e565b91506102cb873389896109de565b600080886001600160a01b031663f6b911bc85868b6040518463ffffffff1660e01b81526004016102fe93929190611252565b60408051808303816000875af115801561031c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103409190611276565b604051630ab714fb60e11b8152336004820152602481018390526044810182905291935091506001600160a01b0385169063156e29f6906064016060604051808303816000875af1158015610399573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103bd919061129a565b50505050505095945050505050565b6000806000856001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa15801561040f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043391906111b2565b925092509250610447868484848989610644565b505050505050565b80516080820151604051637145345b60e11b81526001600160a01b03858116600483015263ffffffff90931660248201529015156044820152600091829182917f0000000000000000000000000000000000000000000000000000000000000000169063e28a68b69060640160408051808303816000875af11580156104d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104fd91906112c8565b60408087015160608801516020890151925163f661cf6b60e01b81529497509295506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169363f661cf6b9361055f938993926004016111ff565b6020604051808303816000875af115801561057e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a2919061122e565b604080516001600160a01b03888116825286811660208084019190915286821683850152885163ffffffff16606080850191909152908901516001600160501b03166080808501919091529389015160a084015288015160c083015291870151151560e08201529192508216907f64548e98bf851c530285483e1870abe9e41d3a7060292802eb888542488f1839906101000160405180910390a29250925092565b61064f8233836109ff565b610679827f0000000000000000000000000000000000000000000000000000000000000000610a70565b846001600160a01b0316826001600160a01b0316146106bc576106bc857f0000000000000000000000000000000000000000000000000000000000000000610a70565b6106e6847f0000000000000000000000000000000000000000000000000000000000000000610a70565b6000856001600160a01b0316836001600160a01b0316146108425760006001600160a01b0384161561071957600061071b565b825b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e071dc682308a60006040518060a001604052808b6001600160a01b031681526020018a81526020018b6001600160a01b0316815260200160006001600160a01b0316815260200160405180608001604052806000600a8111156107ae576107ae611302565b815260006020808301829052604080518381529182018152808401919091526060909201529152516001600160e01b031960e088901b1681526107f79493929190600401611368565b60206040518083038185885af1158015610815573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061083a9190611430565b915050610845565b50805b60006001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016631a8631b2308761088360028761145f565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152600060648201526084016020604051808303816000875af11580156108de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109029190611430565b90506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166397ee279e338a61094060028761145f565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606481018490526000608482015260a4016060604051808303816000875af11580156109a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c6919061129a565b5050506109d4853383610b34565b5050505050505050565b80156109f9576109f96001600160a01b038516848484610bf8565b50505050565b6001600160a01b038316610a5557803414610a505760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064015b60405180910390fd5b505050565b8015610a5057610a506001600160a01b038416833084610bf8565b6001600160a01b038216610a82575050565b610a9460026001600160601b03611473565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa158015610aed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b119190611430565b1015610b3057610b2382826000610c50565b610b308282600019610c50565b5050565b80600003610b4157505050565b6001600160a01b038316610be4576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610b9c576040519150601f19603f3d011682016040523d82523d6000602084013e610ba1565b606091505b50509050806109f95760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610a47565b610a506001600160a01b0384168383610d64565b6109f9846323b872dd60e01b858585604051602401610c1993929190611252565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610d83565b600080846001600160a01b031663095ea7b360e01b8585604051602401610c78929190611499565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051610cb691906114b2565b6000604051808303816000865af19150503d8060008114610cf3576040519150601f19603f3d011682016040523d82523d6000602084013e610cf8565b606091505b5091509150818015610d22575080511580610d22575080806020019051810190610d2291906114ce565b610d5d5760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401610a47565b5050505050565b610a508363a9059cbb60e01b8484604051602401610c19929190611499565b6000610dd8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610e589092919063ffffffff16565b9050805160001480610df9575080806020019051810190610df991906114ce565b610a505760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a47565b6060610e678484600085610e6f565b949350505050565b606082471015610ed05760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610a47565b600080866001600160a01b03168587604051610eec91906114b2565b60006040518083038185875af1925050503d8060008114610f29576040519150601f19603f3d011682016040523d82523d6000602084013e610f2e565b606091505b5091509150610f3f87838387610f4a565b979650505050505050565b60608315610fb9578251600003610fb2576001600160a01b0385163b610fb25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a47565b5081610e67565b610e678383815115610fce5781518083602001fd5b8060405162461bcd60e51b8152600401610a4791906114eb565b6001600160a01b0381168114610ffd57600080fd5b50565b803561100b81610fe8565b919050565b803563ffffffff8116811461100b57600080fd5b80356001600160501b038116811461100b57600080fd5b8015158114610ffd57600080fd5b803561100b8161103b565b60008060008084860361010081121561106c57600080fd5b853561107781610fe8565b945060a0601f198201121561108b57600080fd5b5060405160a081016001600160401b03811182821017156110bc57634e487b7160e01b600052604160045260246000fd5b6040526110cb60208701611010565b81526110d960408701611024565b602082015260608601356040820152608086013560608201526110fe60a08701611049565b6080820152925061111160c08601611000565b9396929550929360e00135925050565b600080600080600060a0868803121561113957600080fd5b853561114481610fe8565b94506020860135935061115960408701611024565b94979396509394606081013594506080013592915050565b60008060006060848603121561118657600080fd5b833561119181610fe8565b925060208401356111a181610fe8565b929592945050506040919091013590565b6000806000606084860312156111c757600080fd5b83516111d281610fe8565b60208501519093506111e381610fe8565b60408501519092506111f481610fe8565b809150509250925092565b6001600160a01b03949094168452602084019290925260408301526001600160501b0316606082015260800190565b60006020828403121561124057600080fd5b815161124b81610fe8565b9392505050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6000806040838503121561128957600080fd5b505080516020909101519092909150565b6000806000606084860312156112af57600080fd5b8351925060208401519150604084015190509250925092565b600080604083850312156112db57600080fd5b82516112e681610fe8565b60208401519092506112f781610fe8565b809150509250929050565b634e487b7160e01b600052602160045260246000fd5b60005b8381101561133357818101518382015260200161131b565b50506000910152565b60008151808452611354816020860160208601611318565b601f01601f19169290920160200192915050565b600060018060a01b038087168352808616602084015284604084015260806060840152808451166080840152602084015160a08401528060408501511660c08401528060608501511660e0840152608084015160a06101008501528051600b81106113e357634e487b7160e01b600052602160045260246000fd5b610120850152602081015190911661014084015260408101516080610160850152906114136101a085018361133c565b915060608101511515610180850152508091505095945050505050565b60006020828403121561144257600080fd5b5051919050565b634e487b7160e01b600052601260045260246000fd5b60008261146e5761146e611449565b500490565b60006001600160601b038381168061148d5761148d611449565b92169190910492915050565b6001600160a01b03929092168252602082015260400190565b600082516114c4818460208701611318565b9190910192915050565b6000602082840312156114e057600080fd5b815161124b8161103b565b60208152600061124b602083018461133c56fea2646970667358221220f71a203e1a8073985125a5160b701f9bcdafe4ba433f13e3213818fea936749e64736f6c63430008170033";
|
|
276
|
+
"0x60e06040523480156200001157600080fd5b506040516200165b3803806200165b83398101604081905262000034916200006f565b6001600160a01b0392831660805290821660a0521660c052620000b9565b80516001600160a01b03811681146200006a57600080fd5b919050565b6000806000606084860312156200008557600080fd5b620000908462000052565b9250620000a06020850162000052565b9150620000b06040850162000052565b90509250925092565b60805160a05160c051611534620001276000396000818160770152818161023e0152610529015260008181610125015261049101526000818161016e0152818161065501528181610698015281816106c20152818161071f01528181610851015261090e01526115346000f3fe6080604052600436106100595760003560e01c806306ae7095146100655780634ff780e1146100b6578063705d3a94146100f357806387a409a2146101135780638a22ba0b14610147578063f887ea401461015c57600080fd5b3661006057005b600080fd5b34801561007157600080fd5b506100997f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100c96100c4366004611054565b610190565b604080516001600160a01b03948516815292841660208401529216918101919091526060016100ad565b3480156100ff57600080fd5b5061009961010e366004611121565b6101be565b34801561011f57600080fd5b506100997f000000000000000000000000000000000000000000000000000000000000000081565b61015a610155366004611171565b6103cc565b005b34801561016857600080fd5b506100997f000000000000000000000000000000000000000000000000000000000000000081565b600080600061019f878761044f565b919450925090506101b4818885858989610644565b9450945094915050565b600080866001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156101ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022391906111b2565b5060405163f661cf6b60e01b81529092506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016915063f661cf6b9061027a908490889088908b906004016111ff565b6020604051808303816000875af1158015610299573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102bd919061122e565b91506102cb873389896109de565b600080886001600160a01b031663f6b911bc85868b6040518463ffffffff1660e01b81526004016102fe93929190611252565b60408051808303816000875af115801561031c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103409190611276565b604051630ab714fb60e11b8152336004820152602481018390526044810182905291935091506001600160a01b0385169063156e29f6906064016060604051808303816000875af1158015610399573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103bd919061129a565b50505050505095945050505050565b6000806000856001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa15801561040f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043391906111b2565b925092509250610447868484848989610644565b505050505050565b80516080820151604051637145345b60e11b81526001600160a01b03858116600483015263ffffffff90931660248201529015156044820152600091829182917f0000000000000000000000000000000000000000000000000000000000000000169063e28a68b69060640160408051808303816000875af11580156104d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104fd91906112c8565b60408087015160608801516020890151925163f661cf6b60e01b81529497509295506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169363f661cf6b9361055f938993926004016111ff565b6020604051808303816000875af115801561057e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a2919061122e565b604080516001600160a01b03888116825286811660208084019190915286821683850152885163ffffffff16606080850191909152908901516001600160501b03166080808501919091529389015160a084015288015160c083015291870151151560e08201529192508216907f64548e98bf851c530285483e1870abe9e41d3a7060292802eb888542488f1839906101000160405180910390a29250925092565b61064f8233836109ff565b610679827f0000000000000000000000000000000000000000000000000000000000000000610a70565b846001600160a01b0316826001600160a01b0316146106bc576106bc857f0000000000000000000000000000000000000000000000000000000000000000610a70565b6106e6847f0000000000000000000000000000000000000000000000000000000000000000610a70565b6000856001600160a01b0316836001600160a01b0316146108425760006001600160a01b0384161561071957600061071b565b825b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e071dc682308a60006040518060a001604052808b6001600160a01b031681526020018a81526020018b6001600160a01b0316815260200160006001600160a01b0316815260200160405180608001604052806000600a8111156107ae576107ae611302565b815260006020808301829052604080518381529182018152808401919091526060909201529152516001600160e01b031960e088901b1681526107f79493929190600401611368565b60206040518083038185885af1158015610815573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061083a9190611430565b915050610845565b50805b60006001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016631a8631b2308761088360028761145f565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152600060648201526084016020604051808303816000875af11580156108de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109029190611430565b90506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166397ee279e338a61094060028761145f565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606481018490526000608482015260a4016060604051808303816000875af11580156109a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c6919061129a565b5050506109d4853383610b34565b5050505050505050565b80156109f9576109f96001600160a01b038516848484610bf8565b50505050565b6001600160a01b038316610a5557803414610a505760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064015b60405180910390fd5b505050565b8015610a5057610a506001600160a01b038416833084610bf8565b6001600160a01b038216610a82575050565b610a9460026001600160601b03611473565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa158015610aed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b119190611430565b1015610b3057610b2382826000610c50565b610b308282600019610c50565b5050565b80600003610b4157505050565b6001600160a01b038316610be4576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610b9c576040519150601f19603f3d011682016040523d82523d6000602084013e610ba1565b606091505b50509050806109f95760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610a47565b610a506001600160a01b0384168383610d64565b6109f9846323b872dd60e01b858585604051602401610c1993929190611252565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610d83565b600080846001600160a01b031663095ea7b360e01b8585604051602401610c78929190611499565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051610cb691906114b2565b6000604051808303816000865af19150503d8060008114610cf3576040519150601f19603f3d011682016040523d82523d6000602084013e610cf8565b606091505b5091509150818015610d22575080511580610d22575080806020019051810190610d2291906114ce565b610d5d5760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401610a47565b5050505050565b610a508363a9059cbb60e01b8484604051602401610c19929190611499565b6000610dd8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610e589092919063ffffffff16565b9050805160001480610df9575080806020019051810190610df991906114ce565b610a505760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a47565b6060610e678484600085610e6f565b949350505050565b606082471015610ed05760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610a47565b600080866001600160a01b03168587604051610eec91906114b2565b60006040518083038185875af1925050503d8060008114610f29576040519150601f19603f3d011682016040523d82523d6000602084013e610f2e565b606091505b5091509150610f3f87838387610f4a565b979650505050505050565b60608315610fb9578251600003610fb2576001600160a01b0385163b610fb25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a47565b5081610e67565b610e678383815115610fce5781518083602001fd5b8060405162461bcd60e51b8152600401610a4791906114eb565b6001600160a01b0381168114610ffd57600080fd5b50565b803561100b81610fe8565b919050565b803563ffffffff8116811461100b57600080fd5b80356001600160501b038116811461100b57600080fd5b8015158114610ffd57600080fd5b803561100b8161103b565b60008060008084860361010081121561106c57600080fd5b853561107781610fe8565b945060a0601f198201121561108b57600080fd5b5060405160a081016001600160401b03811182821017156110bc57634e487b7160e01b600052604160045260246000fd5b6040526110cb60208701611010565b81526110d960408701611024565b602082015260608601356040820152608086013560608201526110fe60a08701611049565b6080820152925061111160c08601611000565b9396929550929360e00135925050565b600080600080600060a0868803121561113957600080fd5b853561114481610fe8565b94506020860135935061115960408701611024565b94979396509394606081013594506080013592915050565b60008060006060848603121561118657600080fd5b833561119181610fe8565b925060208401356111a181610fe8565b929592945050506040919091013590565b6000806000606084860312156111c757600080fd5b83516111d281610fe8565b60208501519093506111e381610fe8565b60408501519092506111f481610fe8565b809150509250925092565b6001600160a01b03949094168452602084019290925260408301526001600160501b0316606082015260800190565b60006020828403121561124057600080fd5b815161124b81610fe8565b9392505050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6000806040838503121561128957600080fd5b505080516020909101519092909150565b6000806000606084860312156112af57600080fd5b8351925060208401519150604084015190509250925092565b600080604083850312156112db57600080fd5b82516112e681610fe8565b60208401519092506112f781610fe8565b809150509250929050565b634e487b7160e01b600052602160045260246000fd5b60005b8381101561133357818101518382015260200161131b565b50506000910152565b60008151808452611354816020860160208601611318565b601f01601f19169290920160200192915050565b600060018060a01b038087168352808616602084015284604084015260806060840152808451166080840152602084015160a08401528060408501511660c08401528060608501511660e0840152608084015160a06101008501528051600b81106113e357634e487b7160e01b600052602160045260246000fd5b610120850152602081015190911661014084015260408101516080610160850152906114136101a085018361133c565b915060608101511515610180850152508091505095945050505050565b60006020828403121561144257600080fd5b5051919050565b634e487b7160e01b600052601260045260246000fd5b60008261146e5761146e611449565b500490565b60006001600160601b038381168061148d5761148d611449565b92169190910492915050565b6001600160a01b03929092168252602082015260400190565b600082516114c4818460208701611318565b9190910192915050565b6000602082840312156114e057600080fd5b815161124b8161103b565b60208152600061124b602083018461133c56fea26469706673582212200cd50b0df431e46d1348f063ec19e2cd1d67d6b68ec588289f38628eb0aae7c964736f6c63430008170033";
|
|
277
277
|
|
|
278
278
|
type PendlePoolDeployHelperConstructorParams =
|
|
279
279
|
| [signer?: Signer]
|
|
@@ -0,0 +1,157 @@
|
|
|
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
|
+
PendleRedStoneRateOracleAdapter,
|
|
15
|
+
PendleRedStoneRateOracleAdapterInterface,
|
|
16
|
+
} from "../PendleRedStoneRateOracleAdapter";
|
|
17
|
+
|
|
18
|
+
const _abi = [
|
|
19
|
+
{
|
|
20
|
+
inputs: [
|
|
21
|
+
{
|
|
22
|
+
internalType: "address",
|
|
23
|
+
name: "_redStoneOracle",
|
|
24
|
+
type: "address",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
internalType: "uint8",
|
|
28
|
+
name: "_decimals",
|
|
29
|
+
type: "uint8",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
stateMutability: "nonpayable",
|
|
33
|
+
type: "constructor",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
inputs: [],
|
|
37
|
+
name: "decimals",
|
|
38
|
+
outputs: [
|
|
39
|
+
{
|
|
40
|
+
internalType: "uint8",
|
|
41
|
+
name: "",
|
|
42
|
+
type: "uint8",
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
stateMutability: "view",
|
|
46
|
+
type: "function",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
inputs: [],
|
|
50
|
+
name: "getExchangeRate",
|
|
51
|
+
outputs: [
|
|
52
|
+
{
|
|
53
|
+
internalType: "uint256",
|
|
54
|
+
name: "",
|
|
55
|
+
type: "uint256",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
stateMutability: "view",
|
|
59
|
+
type: "function",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
inputs: [],
|
|
63
|
+
name: "oracle",
|
|
64
|
+
outputs: [
|
|
65
|
+
{
|
|
66
|
+
internalType: "address",
|
|
67
|
+
name: "",
|
|
68
|
+
type: "address",
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
stateMutability: "view",
|
|
72
|
+
type: "function",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
inputs: [],
|
|
76
|
+
name: "rawDecimals",
|
|
77
|
+
outputs: [
|
|
78
|
+
{
|
|
79
|
+
internalType: "uint8",
|
|
80
|
+
name: "",
|
|
81
|
+
type: "uint8",
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
stateMutability: "view",
|
|
85
|
+
type: "function",
|
|
86
|
+
},
|
|
87
|
+
];
|
|
88
|
+
|
|
89
|
+
const _bytecode =
|
|
90
|
+
"0x60e060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100c8565b6001600160a01b038216608081905260ff821660a0526040805163313ce56760e01b8152905163313ce567916004808201926020929091908290030181865afa158015610080573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100a49190610109565b60ff1660c0525061012b9050565b805160ff811681146100c357600080fd5b919050565b600080604083850312156100db57600080fd5b82516001600160a01b03811681146100f257600080fd5b9150610100602084016100b2565b90509250929050565b60006020828403121561011b57600080fd5b610124826100b2565b9392505050565b60805160a05160c0516103b861016c6000396000818160940152610197015260008181605601526101c201526000818160bb015261011001526103b86000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063313ce567146100515780633b97423f1461008f5780637dc0d1d0146100b6578063e6aa216c146100f5575b600080fd5b6100787f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020015b60405180910390f35b6100787f000000000000000000000000000000000000000000000000000000000000000081565b6100dd7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610086565b6100fd61010b565b604051908152602001610086565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166350d25bcd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561016c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610190919061021e565b90506101bd7f0000000000000000000000000000000000000000000000000000000000000000600a610333565b6101e87f0000000000000000000000000000000000000000000000000000000000000000600a610333565b6101f18361020b565b6101fb9190610349565b6102059190610360565b91505090565b60008082121561021a57600080fd5b5090565b60006020828403121561023057600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561028857816000190482111561026e5761026e610237565b8085161561027b57918102915b93841c9390800290610252565b509250929050565b60008261029f5750600161032d565b816102ac5750600061032d565b81600181146102c257600281146102cc576102e8565b600191505061032d565b60ff8411156102dd576102dd610237565b50506001821b61032d565b5060208310610133831016604e8410600b841016171561030b575081810a61032d565b610315838361024d565b806000190482111561032957610329610237565b0290505b92915050565b600061034260ff841683610290565b9392505050565b808202811582820484141761032d5761032d610237565b60008261037d57634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220b166f430f5c597ad2167416ae129c7ab36e87748b6cd1bab81c131d1865fdcac64736f6c63430008170033";
|
|
91
|
+
|
|
92
|
+
type PendleRedStoneRateOracleAdapterConstructorParams =
|
|
93
|
+
| [signer?: Signer]
|
|
94
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
95
|
+
|
|
96
|
+
const isSuperArgs = (
|
|
97
|
+
xs: PendleRedStoneRateOracleAdapterConstructorParams
|
|
98
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
99
|
+
|
|
100
|
+
export class PendleRedStoneRateOracleAdapter__factory extends ContractFactory {
|
|
101
|
+
constructor(...args: PendleRedStoneRateOracleAdapterConstructorParams) {
|
|
102
|
+
if (isSuperArgs(args)) {
|
|
103
|
+
super(...args);
|
|
104
|
+
} else {
|
|
105
|
+
super(_abi, _bytecode, args[0]);
|
|
106
|
+
}
|
|
107
|
+
this.contractName = "PendleRedStoneRateOracleAdapter";
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
deploy(
|
|
111
|
+
_redStoneOracle: string,
|
|
112
|
+
_decimals: BigNumberish,
|
|
113
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
114
|
+
): Promise<PendleRedStoneRateOracleAdapter> {
|
|
115
|
+
return super.deploy(
|
|
116
|
+
_redStoneOracle,
|
|
117
|
+
_decimals,
|
|
118
|
+
overrides || {}
|
|
119
|
+
) as Promise<PendleRedStoneRateOracleAdapter>;
|
|
120
|
+
}
|
|
121
|
+
getDeployTransaction(
|
|
122
|
+
_redStoneOracle: string,
|
|
123
|
+
_decimals: BigNumberish,
|
|
124
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
125
|
+
): TransactionRequest {
|
|
126
|
+
return super.getDeployTransaction(
|
|
127
|
+
_redStoneOracle,
|
|
128
|
+
_decimals,
|
|
129
|
+
overrides || {}
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
attach(address: string): PendleRedStoneRateOracleAdapter {
|
|
133
|
+
return super.attach(address) as PendleRedStoneRateOracleAdapter;
|
|
134
|
+
}
|
|
135
|
+
connect(signer: Signer): PendleRedStoneRateOracleAdapter__factory {
|
|
136
|
+
return super.connect(signer) as PendleRedStoneRateOracleAdapter__factory;
|
|
137
|
+
}
|
|
138
|
+
static readonly contractName: "PendleRedStoneRateOracleAdapter";
|
|
139
|
+
public readonly contractName: "PendleRedStoneRateOracleAdapter";
|
|
140
|
+
static readonly bytecode = _bytecode;
|
|
141
|
+
static readonly abi = _abi;
|
|
142
|
+
static createInterface(): PendleRedStoneRateOracleAdapterInterface {
|
|
143
|
+
return new utils.Interface(
|
|
144
|
+
_abi
|
|
145
|
+
) as PendleRedStoneRateOracleAdapterInterface;
|
|
146
|
+
}
|
|
147
|
+
static connect(
|
|
148
|
+
address: string,
|
|
149
|
+
signerOrProvider: Signer | Provider
|
|
150
|
+
): PendleRedStoneRateOracleAdapter {
|
|
151
|
+
return new Contract(
|
|
152
|
+
address,
|
|
153
|
+
_abi,
|
|
154
|
+
signerOrProvider
|
|
155
|
+
) as PendleRedStoneRateOracleAdapter;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -31,7 +31,7 @@ const _abi = [
|
|
|
31
31
|
];
|
|
32
32
|
|
|
33
33
|
const _bytecode =
|
|
34
|
-
"
|
|
34
|
+
"0x608060405234801561001057600080fd5b506040516101b33803806101b383398101604081905261002f91610090565b60008054336001600160a01b03199182161782556323b7d3cd60e21b90915260026020527fbc02cc0ac50b26a9ecfbd19a445fa7f71dbc9c12c0d1e45ba9bd4990843c174e80549091166001600160a01b03929092169190911790556100c0565b6000602082840312156100a257600080fd5b81516001600160a01b03811681146100b957600080fd5b9392505050565b60e5806100ce6000396000f3fe608060405236601057600e6013565b005b600e5b601f601b6021565b608c565b565b600080356001600160e01b0319168152600260205260409020546001600160a01b03168060895760405162461bcd60e51b81526020600482015260126024820152711cd95b1958dd1bdc881b9bdd08199bdd5b9960721b604482015260640160405180910390fd5b90565b3660008037600080366000845af43d6000803e80801560aa573d6000f35b3d6000fdfea26469706673582212204992cc70be0e8dafcdfd928b77b54757fc2ee7c09205a24aa4261379dbadba0164736f6c63430008170033";
|
|
35
35
|
|
|
36
36
|
type PendleRouterStaticConstructorParams =
|
|
37
37
|
| [signer?: Signer]
|
|
@@ -36,7 +36,7 @@ const _abi = [
|
|
|
36
36
|
];
|
|
37
37
|
|
|
38
38
|
const _bytecode =
|
|
39
|
-
"
|
|
39
|
+
"0x608060405234801561001057600080fd5b5060405161025138038061025183398101604081905261002f916100e9565b7ff168c5b0cb4aca9a68f931815c18a144c61ad01d6dd7ca15bd6741672a0ab80080546001600160a01b039384166001600160a01b03199182161790915563523edfc160e11b6000527ff168c5b0cb4aca9a68f931815c18a144c61ad01d6dd7ca15bd6741672a0ab8026020527f64dcb2031b93f2b828088d68228a52c10b3bf4eb531ee3da663820f1b8fd2a6d805492909316911617905561011c565b80516001600160a01b03811681146100e457600080fd5b919050565b600080604083850312156100fc57600080fd5b610105836100cd565b9150610113602084016100cd565b90509250929050565b6101268061012b6000396000f3fe608060405236600a57005b60106012565b005b601e601a6020565b60cd565b565b600080356001600160e01b03191681527ff168c5b0cb4aca9a68f931815c18a144c61ad01d6dd7ca15bd6741672a0ab80260205260408120547ff168c5b0cb4aca9a68f931815c18a144c61ad01d6dd7ca15bd6741672a0ab800906001600160a01b03168060c75760405162461bcd60e51b815260206004820152601060248201526f24a72b20a624a22fa9a2a622a1aa27a960811b604482015260640160405180910390fd5b92915050565b3660008037600080366000845af43d6000803e80801560eb573d6000f35b3d6000fdfea2646970667358221220e75cfbbaf164bd809a2386dfc7871d5738d3e294013808bb32ca2a2c0b76383f64736f6c63430008170033";
|
|
40
40
|
|
|
41
41
|
type PendleRouterV4ConstructorParams =
|
|
42
42
|
| [signer?: Signer]
|