@pendle/core-v2 6.2.1 → 6.2.2-sweed
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +13 -0
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +20 -2
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +20 -2
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.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 +6 -24
- 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/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.json +19 -0
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.dbg.json +4 -0
- package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.json +636 -0
- package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.dbg.json +4 -0
- package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.json +1181 -0
- 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/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +28 -2
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +4 -0
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.json +608 -0
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +28 -2
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +15 -2
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +27 -2
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.json +2 -2
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.json +141 -0
- package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
- 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/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/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/IPActionVePendleStatic.sol/IPActionVePendleStatic.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/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.json +282 -0
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.json +19 -0
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
- 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/IPMarket.sol/IPMarket.json +58 -0
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +81 -19
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.json +26 -0
- package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +13 -0
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +26 -0
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/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/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- 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/BytesLib.sol/BytesLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +333 -0
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.json +15 -2
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +7 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/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/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.json +533 -0
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.json +889 -0
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.json +84 -0
- package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.json +24 -0
- 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/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.json +81 -0
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +4 -0
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.json +121 -0
- package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
- 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/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.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/RouterStorage.sol/RouterStorage.dbg.json +1 -1
- 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/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- 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/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +6 -2
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol +12 -2
- package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol +9 -1
- package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +10 -14
- package/contracts/core/Market/PendleGauge.sol +2 -0
- package/contracts/core/Market/{v3/PendleMarketFactoryV3.sol → PendleMarketFactoryV6Upg.sol} +18 -14
- package/contracts/core/Market/{v3/PendleMarketV3.sol → PendleMarketV6.sol} +48 -13
- package/contracts/core/YieldContracts/PendlePrincipalToken.sol +6 -0
- package/contracts/core/YieldContracts/{PendleYieldContractFactory.sol → PendleYieldContractFactoryUpg.sol} +10 -13
- package/contracts/core/YieldContracts/PendleYieldToken.sol +6 -0
- package/contracts/core/erc20/PendleERC20.sol +12 -0
- package/contracts/core/libraries/Errors.sol +7 -0
- package/contracts/core/libraries/StringLib.sol +12 -0
- package/contracts/interfaces/IMarketSweed.sol +23 -0
- package/contracts/interfaces/IPExchangeRateOracleApp.sol +86 -0
- package/contracts/interfaces/IPGauge.sol +4 -3
- package/contracts/interfaces/IPMarket.sol +8 -2
- package/contracts/interfaces/IPMarketFactory.sol +22 -10
- package/contracts/interfaces/IPPrincipalToken.sol +4 -0
- package/contracts/interfaces/IPYieldContractFactory.sol +2 -0
- package/contracts/interfaces/IPYieldToken.sol +4 -0
- package/contracts/offchain-helpers/MarketSweed.sol +239 -0
- package/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol +10 -10
- package/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol +6 -6
- package/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol +3 -3
- package/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol +23 -0
- package/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol +160 -0
- package/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol +25 -0
- package/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol +36 -0
- package/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol +9 -0
- package/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol +29 -0
- package/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol +30 -0
- package/deployments/1-core.json +3 -2
- package/deployments/10-core.json +3 -2
- package/deployments/146-core.json +3 -2
- package/deployments/42161-core.json +3 -2
- package/deployments/43114-core.json +19 -2
- package/deployments/5000-core.json +3 -2
- package/deployments/56-core.json +3 -2
- package/deployments/80094-core.json +3 -2
- package/deployments/8453-core.json +3 -2
- package/deployments/9745-core.json +3 -2
- package/deployments/999-core.json +3 -2
- package/package.json +2 -1
- package/typechain-types/ActionDelegateBase.ts +57 -0
- package/typechain-types/ExchangeRateMsgCodec.ts +89 -0
- package/typechain-types/{MarketSwapNSeed.ts → IMarketSweed.ts} +35 -54
- package/typechain-types/IPExchangeRateOracleApp.ts +352 -0
- package/typechain-types/IPGauge.ts +19 -0
- package/typechain-types/IPMarket.ts +76 -0
- package/typechain-types/IPMarketFactory.ts +146 -46
- package/typechain-types/IPPrincipalToken.ts +34 -0
- package/typechain-types/IPYieldContractFactory.ts +13 -0
- package/typechain-types/IPYieldToken.ts +34 -0
- package/typechain-types/LimitMathCore.ts +102 -0
- package/typechain-types/MarketSweed.ts +255 -0
- package/typechain-types/OAppCoreUpgradeable.ts +320 -0
- package/typechain-types/OAppOptionsType3Upgradeable.ts +319 -0
- package/typechain-types/OAppReceiverUpgradeable.ts +498 -0
- package/typechain-types/OAppSenderUpgradeable.ts +320 -0
- package/typechain-types/OAppUpgradeable.ts +498 -0
- package/typechain-types/{BoringOwnableUpgradeable__deprecated.ts → OwnableUpgradeable.ts} +23 -53
- package/typechain-types/PendleCommonPoolDeployHelperV2.ts +7 -1
- package/typechain-types/PendleCrossChainOracleBaseApp_Init.ts +662 -0
- package/typechain-types/PendleERC20.ts +21 -0
- package/typechain-types/PendleExchangeRateOracleApp.ts +1012 -0
- package/typechain-types/PendleExchangeRateOracleV2.ts +142 -0
- package/typechain-types/PendleGauge.ts +19 -0
- package/typechain-types/PendleGaugeControllerBaseUpg.ts +19 -0
- package/typechain-types/PendleGaugeControllerMainchainUpg.ts +19 -0
- package/typechain-types/PendleGaugeControllerSidechainUpg.ts +19 -0
- package/typechain-types/PendleLPWrapper.ts +21 -0
- package/typechain-types/PendleLinearDiscountOracleWrapper.ts +150 -0
- package/typechain-types/{PendleMarketFactory.ts → PendleMarketFactoryV6Upg.ts} +114 -247
- package/typechain-types/{PendleMarket.ts → PendleMarketV6.ts} +78 -37
- package/typechain-types/PendlePrincipalToken.ts +34 -0
- package/typechain-types/PendleSparkLinearDiscountOracleFactoryWrapper.ts +216 -0
- package/typechain-types/PendleVotingControllerUpg.ts +18 -48
- package/typechain-types/PendleYieldContractFactoryUpg.ts +820 -0
- package/typechain-types/PendleYieldToken.ts +34 -0
- package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
- package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
- package/typechain-types/factories/ActionDelegateBase__factory.ts +80 -0
- package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSimple__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
- package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
- package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
- package/typechain-types/factories/BalanceReader__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
- package/typechain-types/factories/Broadcaster__factory.ts +1 -1
- package/typechain-types/factories/Errors__factory.ts +26 -1
- package/typechain-types/factories/ExchangeRateMsgCodec__factory.ts +81 -0
- package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
- package/typechain-types/factories/IMarketSweed__factory.ts +153 -0
- package/typechain-types/factories/IPExchangeRateOracleApp__factory.ts +301 -0
- package/typechain-types/factories/IPGauge__factory.ts +19 -0
- package/typechain-types/factories/IPMarketFactory__factory.ts +81 -19
- package/typechain-types/factories/IPMarket__factory.ts +58 -0
- package/typechain-types/factories/IPPrincipalToken__factory.ts +26 -0
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +13 -0
- package/typechain-types/factories/IPYieldToken__factory.ts +26 -0
- package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
- package/typechain-types/factories/LimitMathCore__factory.ts +87 -0
- package/typechain-types/factories/MarketSweed__factory.ts +385 -0
- package/typechain-types/factories/OAppCoreUpgradeable__factory.ts +228 -0
- package/typechain-types/factories/OAppOptionsType3Upgradeable__factory.ts +219 -0
- package/typechain-types/factories/OAppReceiverUpgradeable__factory.ts +399 -0
- package/typechain-types/factories/OAppSenderUpgradeable__factory.ts +248 -0
- package/typechain-types/factories/OAppUpgradeable__factory.ts +411 -0
- package/typechain-types/factories/OracleLib__factory.ts +1 -1
- package/typechain-types/factories/{BoringOwnableUpgradeable__deprecated__factory.ts → OwnableUpgradeable__factory.ts} +11 -40
- package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -1
- package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +6 -1
- package/typechain-types/factories/PendleCrossChainOracleBaseApp_Init__factory.ts +554 -0
- package/typechain-types/factories/PendleERC20__factory.ts +14 -1
- package/typechain-types/factories/PendleExchangeRateOracleApp__factory.ts +958 -0
- package/typechain-types/factories/PendleExchangeRateOracleV2__factory.ts +165 -0
- package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
- package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +13 -0
- package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +23 -1
- package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +23 -1
- package/typechain-types/factories/PendleGauge__factory.ts +19 -0
- package/typechain-types/factories/PendleLPWrapperFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleLPWrapper__factory.ts +14 -1
- package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
- package/typechain-types/factories/PendleLinearDiscountOracleWrapper__factory.ts +145 -0
- package/typechain-types/factories/PendleMarketFactoryV6Upg__factory.ts +732 -0
- package/typechain-types/factories/PendleMarketV6__factory.ts +1261 -0
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -1
- package/typechain-types/factories/PendlePYLpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
- package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +27 -1
- package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
- package/typechain-types/factories/PendleSparkLinearDiscountOracleFactoryWrapper__factory.ts +193 -0
- package/typechain-types/factories/PendleSparkLinearDiscountOracleFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +5 -23
- package/typechain-types/factories/PendleWstETHPriceFeed__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactoryUpg__factory.ts +692 -0
- package/typechain-types/factories/PendleYieldToken__factory.ts +27 -1
- package/typechain-types/factories/Reflector__factory.ts +1 -1
- package/typechain-types/factories/SimulateHelper__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
- package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +161 -8
- package/typechain-types/index.ts +36 -2
- package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +0 -4
- package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.json +0 -610
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +0 -4
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.json +0 -1131
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +0 -4
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +0 -590
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +0 -4
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +0 -394
- package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.dbg.json +0 -4
- package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.json +0 -370
- package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.dbg.json +0 -4
- package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.json +0 -246
- package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.json +0 -202
- package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +0 -4
- package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.json +0 -833
- package/contracts/core/erc20/PendleERC20Permit.sol +0 -80
- package/contracts/core/erc20/PendleERC20PermitUpg.sol +0 -82
- package/contracts/core/erc20/PendleERC20Upg.sol +0 -334
- package/contracts/interfaces/IPMarketFactoryV3.sol +0 -33
- package/contracts/interfaces/IPMarketV3.sol +0 -8
- package/typechain-types/I1inchAggregationRouterV6.ts +0 -337
- package/typechain-types/IGenericSwapExactAmountIn.ts +0 -161
- package/typechain-types/IPendleCommonPoolDeployHelperV2.ts +0 -391
- package/typechain-types/LimitBackendHelper.ts +0 -287
- package/typechain-types/factories/I1inchAggregationRouterV6__factory.ts +0 -233
- package/typechain-types/factories/IGenericSwapExactAmountIn__factory.ts +0 -100
- package/typechain-types/factories/IPendleCommonPoolDeployHelperV2__factory.ts +0 -447
- package/typechain-types/factories/LimitBackendHelper__factory.ts +0 -232
- package/typechain-types/factories/MarketSwapNSeed__factory.ts +0 -287
- package/typechain-types/factories/PendleMarketFactory__factory.ts +0 -748
- package/typechain-types/factories/PendleMarket__factory.ts +0 -1212
|
@@ -1,447 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
import { Contract, Signer, utils } from "ethers";
|
|
6
|
-
import { Provider } from "@ethersproject/providers";
|
|
7
|
-
import type {
|
|
8
|
-
IPendleCommonPoolDeployHelperV2,
|
|
9
|
-
IPendleCommonPoolDeployHelperV2Interface,
|
|
10
|
-
} from "../IPendleCommonPoolDeployHelperV2";
|
|
11
|
-
|
|
12
|
-
const _abi = [
|
|
13
|
-
{
|
|
14
|
-
anonymous: false,
|
|
15
|
-
inputs: [
|
|
16
|
-
{
|
|
17
|
-
components: [
|
|
18
|
-
{
|
|
19
|
-
internalType: "address",
|
|
20
|
-
name: "SY",
|
|
21
|
-
type: "address",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
internalType: "address",
|
|
25
|
-
name: "PT",
|
|
26
|
-
type: "address",
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
internalType: "address",
|
|
30
|
-
name: "YT",
|
|
31
|
-
type: "address",
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
internalType: "address",
|
|
35
|
-
name: "market",
|
|
36
|
-
type: "address",
|
|
37
|
-
},
|
|
38
|
-
],
|
|
39
|
-
indexed: false,
|
|
40
|
-
internalType: "struct IPPoolDeployHelperV2.PoolDeploymentAddrs",
|
|
41
|
-
name: "addrs",
|
|
42
|
-
type: "tuple",
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
components: [
|
|
46
|
-
{
|
|
47
|
-
internalType: "uint32",
|
|
48
|
-
name: "expiry",
|
|
49
|
-
type: "uint32",
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
internalType: "uint80",
|
|
53
|
-
name: "lnFeeRateRoot",
|
|
54
|
-
type: "uint80",
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
internalType: "int256",
|
|
58
|
-
name: "scalarRoot",
|
|
59
|
-
type: "int256",
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
internalType: "int256",
|
|
63
|
-
name: "initialRateAnchor",
|
|
64
|
-
type: "int256",
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
internalType: "bool",
|
|
68
|
-
name: "doCacheIndexSameBlock",
|
|
69
|
-
type: "bool",
|
|
70
|
-
},
|
|
71
|
-
],
|
|
72
|
-
indexed: false,
|
|
73
|
-
internalType: "struct IPPoolDeployHelperV2.PoolDeploymentParams",
|
|
74
|
-
name: "params",
|
|
75
|
-
type: "tuple",
|
|
76
|
-
},
|
|
77
|
-
],
|
|
78
|
-
name: "MarketDeployment",
|
|
79
|
-
type: "event",
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
inputs: [
|
|
83
|
-
{
|
|
84
|
-
internalType: "address",
|
|
85
|
-
name: "SY",
|
|
86
|
-
type: "address",
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
components: [
|
|
90
|
-
{
|
|
91
|
-
internalType: "uint32",
|
|
92
|
-
name: "expiry",
|
|
93
|
-
type: "uint32",
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
internalType: "uint256",
|
|
97
|
-
name: "rateMin",
|
|
98
|
-
type: "uint256",
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
internalType: "uint256",
|
|
102
|
-
name: "rateMax",
|
|
103
|
-
type: "uint256",
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
internalType: "uint256",
|
|
107
|
-
name: "desiredImpliedRate",
|
|
108
|
-
type: "uint256",
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
internalType: "uint256",
|
|
112
|
-
name: "fee",
|
|
113
|
-
type: "uint256",
|
|
114
|
-
},
|
|
115
|
-
],
|
|
116
|
-
internalType: "struct IPPoolDeployHelperV2.PoolConfig",
|
|
117
|
-
name: "config",
|
|
118
|
-
type: "tuple",
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
internalType: "address",
|
|
122
|
-
name: "tokenToSeedLiqudity",
|
|
123
|
-
type: "address",
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
internalType: "uint256",
|
|
127
|
-
name: "amountToSeed",
|
|
128
|
-
type: "uint256",
|
|
129
|
-
},
|
|
130
|
-
],
|
|
131
|
-
name: "deploy5115MarketAndSeedLiquidity",
|
|
132
|
-
outputs: [
|
|
133
|
-
{
|
|
134
|
-
components: [
|
|
135
|
-
{
|
|
136
|
-
internalType: "address",
|
|
137
|
-
name: "SY",
|
|
138
|
-
type: "address",
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
internalType: "address",
|
|
142
|
-
name: "PT",
|
|
143
|
-
type: "address",
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
internalType: "address",
|
|
147
|
-
name: "YT",
|
|
148
|
-
type: "address",
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
internalType: "address",
|
|
152
|
-
name: "market",
|
|
153
|
-
type: "address",
|
|
154
|
-
},
|
|
155
|
-
],
|
|
156
|
-
internalType: "struct IPPoolDeployHelperV2.PoolDeploymentAddrs",
|
|
157
|
-
name: "",
|
|
158
|
-
type: "tuple",
|
|
159
|
-
},
|
|
160
|
-
],
|
|
161
|
-
stateMutability: "payable",
|
|
162
|
-
type: "function",
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
inputs: [
|
|
166
|
-
{
|
|
167
|
-
internalType: "bytes",
|
|
168
|
-
name: "constructorParams",
|
|
169
|
-
type: "bytes",
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
components: [
|
|
173
|
-
{
|
|
174
|
-
internalType: "uint32",
|
|
175
|
-
name: "expiry",
|
|
176
|
-
type: "uint32",
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
internalType: "uint256",
|
|
180
|
-
name: "rateMin",
|
|
181
|
-
type: "uint256",
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
internalType: "uint256",
|
|
185
|
-
name: "rateMax",
|
|
186
|
-
type: "uint256",
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
internalType: "uint256",
|
|
190
|
-
name: "desiredImpliedRate",
|
|
191
|
-
type: "uint256",
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
internalType: "uint256",
|
|
195
|
-
name: "fee",
|
|
196
|
-
type: "uint256",
|
|
197
|
-
},
|
|
198
|
-
],
|
|
199
|
-
internalType: "struct IPPoolDeployHelperV2.PoolConfig",
|
|
200
|
-
name: "config",
|
|
201
|
-
type: "tuple",
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
internalType: "address",
|
|
205
|
-
name: "tokenToSeedLiqudity",
|
|
206
|
-
type: "address",
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
internalType: "uint256",
|
|
210
|
-
name: "amountToSeed",
|
|
211
|
-
type: "uint256",
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
internalType: "address",
|
|
215
|
-
name: "syOwner",
|
|
216
|
-
type: "address",
|
|
217
|
-
},
|
|
218
|
-
],
|
|
219
|
-
name: "deployERC20Market",
|
|
220
|
-
outputs: [
|
|
221
|
-
{
|
|
222
|
-
components: [
|
|
223
|
-
{
|
|
224
|
-
internalType: "address",
|
|
225
|
-
name: "SY",
|
|
226
|
-
type: "address",
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
internalType: "address",
|
|
230
|
-
name: "PT",
|
|
231
|
-
type: "address",
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
internalType: "address",
|
|
235
|
-
name: "YT",
|
|
236
|
-
type: "address",
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
internalType: "address",
|
|
240
|
-
name: "market",
|
|
241
|
-
type: "address",
|
|
242
|
-
},
|
|
243
|
-
],
|
|
244
|
-
internalType: "struct IPPoolDeployHelperV2.PoolDeploymentAddrs",
|
|
245
|
-
name: "",
|
|
246
|
-
type: "tuple",
|
|
247
|
-
},
|
|
248
|
-
],
|
|
249
|
-
stateMutability: "nonpayable",
|
|
250
|
-
type: "function",
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
inputs: [
|
|
254
|
-
{
|
|
255
|
-
internalType: "bytes",
|
|
256
|
-
name: "constructorParams",
|
|
257
|
-
type: "bytes",
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
components: [
|
|
261
|
-
{
|
|
262
|
-
internalType: "uint32",
|
|
263
|
-
name: "expiry",
|
|
264
|
-
type: "uint32",
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
internalType: "uint256",
|
|
268
|
-
name: "rateMin",
|
|
269
|
-
type: "uint256",
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
internalType: "uint256",
|
|
273
|
-
name: "rateMax",
|
|
274
|
-
type: "uint256",
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
internalType: "uint256",
|
|
278
|
-
name: "desiredImpliedRate",
|
|
279
|
-
type: "uint256",
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
internalType: "uint256",
|
|
283
|
-
name: "fee",
|
|
284
|
-
type: "uint256",
|
|
285
|
-
},
|
|
286
|
-
],
|
|
287
|
-
internalType: "struct IPPoolDeployHelperV2.PoolConfig",
|
|
288
|
-
name: "config",
|
|
289
|
-
type: "tuple",
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
internalType: "address",
|
|
293
|
-
name: "tokenToSeedLiqudity",
|
|
294
|
-
type: "address",
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
internalType: "uint256",
|
|
298
|
-
name: "amountToSeed",
|
|
299
|
-
type: "uint256",
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
internalType: "address",
|
|
303
|
-
name: "syOwner",
|
|
304
|
-
type: "address",
|
|
305
|
-
},
|
|
306
|
-
],
|
|
307
|
-
name: "deployERC4626Market",
|
|
308
|
-
outputs: [
|
|
309
|
-
{
|
|
310
|
-
components: [
|
|
311
|
-
{
|
|
312
|
-
internalType: "address",
|
|
313
|
-
name: "SY",
|
|
314
|
-
type: "address",
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
internalType: "address",
|
|
318
|
-
name: "PT",
|
|
319
|
-
type: "address",
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
internalType: "address",
|
|
323
|
-
name: "YT",
|
|
324
|
-
type: "address",
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
internalType: "address",
|
|
328
|
-
name: "market",
|
|
329
|
-
type: "address",
|
|
330
|
-
},
|
|
331
|
-
],
|
|
332
|
-
internalType: "struct IPPoolDeployHelperV2.PoolDeploymentAddrs",
|
|
333
|
-
name: "",
|
|
334
|
-
type: "tuple",
|
|
335
|
-
},
|
|
336
|
-
],
|
|
337
|
-
stateMutability: "nonpayable",
|
|
338
|
-
type: "function",
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
inputs: [
|
|
342
|
-
{
|
|
343
|
-
internalType: "bytes",
|
|
344
|
-
name: "constructorParams",
|
|
345
|
-
type: "bytes",
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
components: [
|
|
349
|
-
{
|
|
350
|
-
internalType: "uint32",
|
|
351
|
-
name: "expiry",
|
|
352
|
-
type: "uint32",
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
internalType: "uint256",
|
|
356
|
-
name: "rateMin",
|
|
357
|
-
type: "uint256",
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
internalType: "uint256",
|
|
361
|
-
name: "rateMax",
|
|
362
|
-
type: "uint256",
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
internalType: "uint256",
|
|
366
|
-
name: "desiredImpliedRate",
|
|
367
|
-
type: "uint256",
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
internalType: "uint256",
|
|
371
|
-
name: "fee",
|
|
372
|
-
type: "uint256",
|
|
373
|
-
},
|
|
374
|
-
],
|
|
375
|
-
internalType: "struct IPPoolDeployHelperV2.PoolConfig",
|
|
376
|
-
name: "config",
|
|
377
|
-
type: "tuple",
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
internalType: "address",
|
|
381
|
-
name: "tokenToSeedLiqudity",
|
|
382
|
-
type: "address",
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
internalType: "uint256",
|
|
386
|
-
name: "amountToSeed",
|
|
387
|
-
type: "uint256",
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
internalType: "address",
|
|
391
|
-
name: "syOwner",
|
|
392
|
-
type: "address",
|
|
393
|
-
},
|
|
394
|
-
],
|
|
395
|
-
name: "deployERC4626NotRedeemableMarket",
|
|
396
|
-
outputs: [
|
|
397
|
-
{
|
|
398
|
-
components: [
|
|
399
|
-
{
|
|
400
|
-
internalType: "address",
|
|
401
|
-
name: "SY",
|
|
402
|
-
type: "address",
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
internalType: "address",
|
|
406
|
-
name: "PT",
|
|
407
|
-
type: "address",
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
internalType: "address",
|
|
411
|
-
name: "YT",
|
|
412
|
-
type: "address",
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
internalType: "address",
|
|
416
|
-
name: "market",
|
|
417
|
-
type: "address",
|
|
418
|
-
},
|
|
419
|
-
],
|
|
420
|
-
internalType: "struct IPPoolDeployHelperV2.PoolDeploymentAddrs",
|
|
421
|
-
name: "",
|
|
422
|
-
type: "tuple",
|
|
423
|
-
},
|
|
424
|
-
],
|
|
425
|
-
stateMutability: "nonpayable",
|
|
426
|
-
type: "function",
|
|
427
|
-
},
|
|
428
|
-
];
|
|
429
|
-
|
|
430
|
-
export class IPendleCommonPoolDeployHelperV2__factory {
|
|
431
|
-
static readonly abi = _abi;
|
|
432
|
-
static createInterface(): IPendleCommonPoolDeployHelperV2Interface {
|
|
433
|
-
return new utils.Interface(
|
|
434
|
-
_abi
|
|
435
|
-
) as IPendleCommonPoolDeployHelperV2Interface;
|
|
436
|
-
}
|
|
437
|
-
static connect(
|
|
438
|
-
address: string,
|
|
439
|
-
signerOrProvider: Signer | Provider
|
|
440
|
-
): IPendleCommonPoolDeployHelperV2 {
|
|
441
|
-
return new Contract(
|
|
442
|
-
address,
|
|
443
|
-
_abi,
|
|
444
|
-
signerOrProvider
|
|
445
|
-
) as IPendleCommonPoolDeployHelperV2;
|
|
446
|
-
}
|
|
447
|
-
}
|
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
-
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
-
import type {
|
|
7
|
-
LimitBackendHelper,
|
|
8
|
-
LimitBackendHelperInterface,
|
|
9
|
-
} from "../LimitBackendHelper";
|
|
10
|
-
|
|
11
|
-
const _abi = [
|
|
12
|
-
{
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
internalType: "address",
|
|
16
|
-
name: "_WNATIVE",
|
|
17
|
-
type: "address",
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
stateMutability: "nonpayable",
|
|
21
|
-
type: "constructor",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
inputs: [
|
|
25
|
-
{
|
|
26
|
-
internalType: "bool",
|
|
27
|
-
name: "success",
|
|
28
|
-
type: "bool",
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
internalType: "bytes",
|
|
32
|
-
name: "res",
|
|
33
|
-
type: "bytes",
|
|
34
|
-
},
|
|
35
|
-
],
|
|
36
|
-
name: "SimulationResults",
|
|
37
|
-
type: "error",
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
inputs: [
|
|
41
|
-
{
|
|
42
|
-
internalType: "address",
|
|
43
|
-
name: "maker",
|
|
44
|
-
type: "address",
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
internalType: "address",
|
|
48
|
-
name: "SY",
|
|
49
|
-
type: "address",
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
internalType: "address",
|
|
53
|
-
name: "token",
|
|
54
|
-
type: "address",
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
internalType: "uint256",
|
|
58
|
-
name: "makingAmount",
|
|
59
|
-
type: "uint256",
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
name: "mintSyFromTokenRevert",
|
|
63
|
-
outputs: [
|
|
64
|
-
{
|
|
65
|
-
internalType: "uint256",
|
|
66
|
-
name: "",
|
|
67
|
-
type: "uint256",
|
|
68
|
-
},
|
|
69
|
-
],
|
|
70
|
-
stateMutability: "nonpayable",
|
|
71
|
-
type: "function",
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
inputs: [
|
|
75
|
-
{
|
|
76
|
-
internalType: "address",
|
|
77
|
-
name: "YT",
|
|
78
|
-
type: "address",
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
internalType: "address[]",
|
|
82
|
-
name: "makers",
|
|
83
|
-
type: "address[]",
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
internalType: "address[]",
|
|
87
|
-
name: "tokens",
|
|
88
|
-
type: "address[]",
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
internalType: "uint256[]",
|
|
92
|
-
name: "amounts",
|
|
93
|
-
type: "uint256[]",
|
|
94
|
-
},
|
|
95
|
-
],
|
|
96
|
-
name: "mintSyFromTokens",
|
|
97
|
-
outputs: [
|
|
98
|
-
{
|
|
99
|
-
internalType: "uint256[]",
|
|
100
|
-
name: "minted",
|
|
101
|
-
type: "uint256[]",
|
|
102
|
-
},
|
|
103
|
-
],
|
|
104
|
-
stateMutability: "nonpayable",
|
|
105
|
-
type: "function",
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
inputs: [
|
|
109
|
-
{
|
|
110
|
-
internalType: "address[]",
|
|
111
|
-
name: "tokens",
|
|
112
|
-
type: "address[]",
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
internalType: "address[]",
|
|
116
|
-
name: "owners",
|
|
117
|
-
type: "address[]",
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
internalType: "address",
|
|
121
|
-
name: "spender",
|
|
122
|
-
type: "address",
|
|
123
|
-
},
|
|
124
|
-
],
|
|
125
|
-
name: "readMultiTokens",
|
|
126
|
-
outputs: [
|
|
127
|
-
{
|
|
128
|
-
internalType: "uint256[]",
|
|
129
|
-
name: "balances",
|
|
130
|
-
type: "uint256[]",
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
internalType: "uint256[]",
|
|
134
|
-
name: "allowances",
|
|
135
|
-
type: "uint256[]",
|
|
136
|
-
},
|
|
137
|
-
],
|
|
138
|
-
stateMutability: "view",
|
|
139
|
-
type: "function",
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
inputs: [
|
|
143
|
-
{
|
|
144
|
-
internalType: "address",
|
|
145
|
-
name: "token",
|
|
146
|
-
type: "address",
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
internalType: "address[]",
|
|
150
|
-
name: "owners",
|
|
151
|
-
type: "address[]",
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
internalType: "address",
|
|
155
|
-
name: "spender",
|
|
156
|
-
type: "address",
|
|
157
|
-
},
|
|
158
|
-
],
|
|
159
|
-
name: "readSingleToken",
|
|
160
|
-
outputs: [
|
|
161
|
-
{
|
|
162
|
-
internalType: "uint256[]",
|
|
163
|
-
name: "balances",
|
|
164
|
-
type: "uint256[]",
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
internalType: "uint256[]",
|
|
168
|
-
name: "allowances",
|
|
169
|
-
type: "uint256[]",
|
|
170
|
-
},
|
|
171
|
-
],
|
|
172
|
-
stateMutability: "view",
|
|
173
|
-
type: "function",
|
|
174
|
-
},
|
|
175
|
-
];
|
|
176
|
-
|
|
177
|
-
const _bytecode =
|
|
178
|
-
"0x60c060405234801561001057600080fd5b506040516117a13803806117a183398101604081905261002f91610044565b6001600160a01b03166080523060a052610074565b60006020828403121561005657600080fd5b81516001600160a01b038116811461006d57600080fd5b9392505050565b60805160a0516116fb6100a6600039600061083301526000818160da0152818161013801526101ad01526116fb6000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063083c1fce14610051578063152c3db7146100775780632d36a6d314610098578063cd62578b146100ab575b600080fd5b61006461005f36600461112b565b6100cb565b6040519081526020015b60405180910390f35b61008a6100853660046111c7565b6102cc565b60405161006e929190611286565b61008a6100a63660046112b4565b610565565b6100be6100b936600461131b565b610770565b60405161006e91906113c7565b60006100d88386846109a7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03161480156101a35750604051637d2d278360e11b81526001600160a01b0385169063fa5a4f0690610160907f0000000000000000000000000000000000000000000000000000000000000000906004016113e1565b602060405180830381865afa15801561017d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101a1919061140a565b155b156101d9576101d47f0000000000000000000000000000000000000000000000000000000000000000600084610a13565b600092505b6101e38385610ad9565b60006001600160a01b03808616906320e8c56590861615610205576000610207565b845b6040516001600160e01b031960e084901b1681523060048201526001600160a01b0388166024820152604481018790526000606482015260840160206040518083038185885af115801561025f573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906102849190611425565b905060018160405160200161029b91815260200190565b60408051601f198184030181529082905263032695f960e31b82526102c3929160040161148e565b60405180910390fd5b6060808584146103105760405162461bcd60e51b815260206004820152600f60248201526e098cadccee8d040dad2e6dac2e8c6d608b1b60448201526064016102c3565b836001600160401b03811115610328576103286114a9565b604051908082528060200260200182016040528015610351578160200160208202803683370190505b509150836001600160401b0381111561036c5761036c6114a9565b604051908082528060200260200182016040528015610395578160200160208202803683370190505b50905060005b8481101561055a578787828181106103b5576103b56114bf565b90506020020160208101906103ca91906114d5565b6001600160a01b03166370a082318787848181106103ea576103ea6114bf565b90506020020160208101906103ff91906114d5565b6040518263ffffffff1660e01b815260040161041b91906113e1565b602060405180830381865afa158015610438573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045c9190611425565b83828151811061046e5761046e6114bf565b60200260200101818152505087878281811061048c5761048c6114bf565b90506020020160208101906104a191906114d5565b6001600160a01b031663dd62ed3e8787848181106104c1576104c16114bf565b90506020020160208101906104d691906114d5565b866040518363ffffffff1660e01b81526004016104f49291906114f2565b602060405180830381865afa158015610511573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105359190611425565b828281518110610547576105476114bf565b602090810291909101015260010161039b565b509550959350505050565b606080836001600160401b03811115610580576105806114a9565b6040519080825280602002602001820160405280156105a9578160200160208202803683370190505b509150836001600160401b038111156105c4576105c46114a9565b6040519080825280602002602001820160405280156105ed578160200160208202803683370190505b50905060005b8481101561076657866001600160a01b03166370a0823187878481811061061c5761061c6114bf565b905060200201602081019061063191906114d5565b6040518263ffffffff1660e01b815260040161064d91906113e1565b602060405180830381865afa15801561066a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068e9190611425565b8382815181106106a0576106a06114bf565b602002602001018181525050866001600160a01b031663dd62ed3e8787848181106106cd576106cd6114bf565b90506020020160208101906106e291906114d5565b866040518363ffffffff1660e01b81526004016107009291906114f2565b602060405180830381865afa15801561071d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107419190611425565b828281518110610753576107536114bf565b60209081029190910101526001016105f3565b5094509492505050565b606060008787905090506000896001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107de919061150c565b9050816001600160401b038111156107f8576107f86114a9565b604051908082528060200260200182016040528015610821578160200160208202803683370190505b50925060005b828110156109995760007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168b8b8481811061086d5761086d6114bf565b905060200201602081019061088291906114d5565b848b8b86818110610895576108956114bf565b90506020020160208101906108aa91906114d5565b8a8a878181106108bc576108bc6114bf565b6040516001600160a01b039687166024820152948616604486015292909416606484015260209091020135608482015260a401905060408051601f198184030181529181526020820180516001600160e01b031663041e0fe760e11b179052516109269190611529565b600060405180830381855af49150503d8060008114610961576040519150601f19603f3d011682016040523d82523d6000602084013e610966565b606091505b5091505061097381610b98565b858381518110610985576109856114bf565b602090810291909101015250600101610827565b505050979650505050505050565b6001600160a01b0383166109f8578034146109f35760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064016102c3565b505050565b80156109f3576109f36001600160a01b038416833084610c37565b6001600160a01b038316610a7a57816001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015610a5c57600080fd5b505af1158015610a70573d6000803e3d6000fd5b5050505050505050565b604051632e1a7d4d60e01b8152600481018290526001600160a01b03841690632e1a7d4d90602401600060405180830381600087803b158015610abc57600080fd5b505af1158015610ad0573d6000803e3d6000fd5b50505050505050565b6001600160a01b038216610aeb575050565b610afd60026001600160601b0361155b565b6001600160601b0316826001600160a01b031663dd62ed3e30846040518363ffffffff1660e01b8152600401610b349291906114f2565b602060405180830381865afa158015610b51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b759190611425565b1015610b9457610b8782826000610c97565b610b948282600019610c97565b5050565b6000600482511015610bad5750600019919050565b6000610bbc8360006004610da1565b610bc59061158f565b9050631cd96a0760e31b6001600160e01b0319821601610c2b576000610bf9846004808751610bf491906115c6565b610da1565b806020019051810190610c0c91906115df565b91505080806020019051810190610c239190611425565b925050610c31565b60001991505b50919050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610c91908590610eae565b50505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b1790529151600092839290871691610cf39190611529565b6000604051808303816000865af19150503d8060008114610d30576040519150601f19603f3d011682016040523d82523d6000602084013e610d35565b606091505b5091509150818015610d5f575080511580610d5f575080806020019051810190610d5f919061140a565b610d9a5760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b60448201526064016102c3565b5050505050565b606081610daf81601f61169f565b1015610dee5760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016102c3565b610df8828461169f565b84511015610e3c5760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016102c3565b606082158015610e5b5760405191506000825260208201604052610ea5565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015610e94578051835260209283019201610e7c565b5050858452601f01601f1916604052505b50949350505050565b6000610f03826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610f839092919063ffffffff16565b9050805160001480610f24575080806020019051810190610f24919061140a565b6109f35760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102c3565b6060610f928484600085610f9a565b949350505050565b606082471015610ffb5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102c3565b600080866001600160a01b031685876040516110179190611529565b60006040518083038185875af1925050503d8060008114611054576040519150601f19603f3d011682016040523d82523d6000602084013e611059565b606091505b509150915061106a87838387611075565b979650505050505050565b606083156110e45782516000036110dd576001600160a01b0385163b6110dd5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102c3565b5081610f92565b610f9283838151156110f95781518083602001fd5b8060405162461bcd60e51b81526004016102c391906116b2565b6001600160a01b038116811461112857600080fd5b50565b6000806000806080858703121561114157600080fd5b843561114c81611113565b9350602085013561115c81611113565b9250604085013561116c81611113565b9396929550929360600135925050565b60008083601f84011261118e57600080fd5b5081356001600160401b038111156111a557600080fd5b6020830191508360208260051b85010111156111c057600080fd5b9250929050565b6000806000806000606086880312156111df57600080fd5b85356001600160401b03808211156111f657600080fd5b61120289838a0161117c565b9097509550602088013591508082111561121b57600080fd5b506112288882890161117c565b909450925050604086013561123c81611113565b809150509295509295909350565b60008151808452602080850194506020840160005b8381101561127b5781518752958201959082019060010161125f565b509495945050505050565b604081526000611299604083018561124a565b82810360208401526112ab818561124a565b95945050505050565b600080600080606085870312156112ca57600080fd5b84356112d581611113565b935060208501356001600160401b038111156112f057600080fd5b6112fc8782880161117c565b909450925050604085013561131081611113565b939692955090935050565b60008060008060008060006080888a03121561133657600080fd5b873561134181611113565b965060208801356001600160401b038082111561135d57600080fd5b6113698b838c0161117c565b909850965060408a013591508082111561138257600080fd5b61138e8b838c0161117c565b909650945060608a01359150808211156113a757600080fd5b506113b48a828b0161117c565b989b979a50959850939692959293505050565b6020815260006113da602083018461124a565b9392505050565b6001600160a01b0391909116815260200190565b8051801515811461140557600080fd5b919050565b60006020828403121561141c57600080fd5b6113da826113f5565b60006020828403121561143757600080fd5b5051919050565b60005b83811015611459578181015183820152602001611441565b50506000910152565b6000815180845261147a81602086016020860161143e565b601f01601f19169290920160200192915050565b8215158152604060208201526000610f926040830184611462565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156114e757600080fd5b81356113da81611113565b6001600160a01b0392831681529116602082015260400190565b60006020828403121561151e57600080fd5b81516113da81611113565b6000825161153b81846020870161143e565b9190910192915050565b634e487b7160e01b600052601160045260246000fd5b60006001600160601b038381168061158357634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b805160208201516001600160e01b031980821692919060048310156115be5780818460040360031b1b83161693505b505050919050565b818103818111156115d9576115d9611545565b92915050565b600080604083850312156115f257600080fd5b6115fb836113f5565b60208401519092506001600160401b038082111561161857600080fd5b818501915085601f83011261162c57600080fd5b81518181111561163e5761163e6114a9565b604051601f8201601f19908116603f01168101908382118183101715611666576116666114a9565b8160405282815288602084870101111561167f57600080fd5b61169083602083016020880161143e565b80955050505050509250929050565b808201808211156115d9576115d9611545565b6020815260006113da602083018461146256fea26469706673582212204dd3c13e71e46d6b6c934fbbdb404ca56fdb95f0b57506f9fe2a6af2444eadf064736f6c63430008170033";
|
|
179
|
-
|
|
180
|
-
type LimitBackendHelperConstructorParams =
|
|
181
|
-
| [signer?: Signer]
|
|
182
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
183
|
-
|
|
184
|
-
const isSuperArgs = (
|
|
185
|
-
xs: LimitBackendHelperConstructorParams
|
|
186
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
187
|
-
|
|
188
|
-
export class LimitBackendHelper__factory extends ContractFactory {
|
|
189
|
-
constructor(...args: LimitBackendHelperConstructorParams) {
|
|
190
|
-
if (isSuperArgs(args)) {
|
|
191
|
-
super(...args);
|
|
192
|
-
} else {
|
|
193
|
-
super(_abi, _bytecode, args[0]);
|
|
194
|
-
}
|
|
195
|
-
this.contractName = "LimitBackendHelper";
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
deploy(
|
|
199
|
-
_WNATIVE: string,
|
|
200
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
201
|
-
): Promise<LimitBackendHelper> {
|
|
202
|
-
return super.deploy(
|
|
203
|
-
_WNATIVE,
|
|
204
|
-
overrides || {}
|
|
205
|
-
) as Promise<LimitBackendHelper>;
|
|
206
|
-
}
|
|
207
|
-
getDeployTransaction(
|
|
208
|
-
_WNATIVE: string,
|
|
209
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
210
|
-
): TransactionRequest {
|
|
211
|
-
return super.getDeployTransaction(_WNATIVE, overrides || {});
|
|
212
|
-
}
|
|
213
|
-
attach(address: string): LimitBackendHelper {
|
|
214
|
-
return super.attach(address) as LimitBackendHelper;
|
|
215
|
-
}
|
|
216
|
-
connect(signer: Signer): LimitBackendHelper__factory {
|
|
217
|
-
return super.connect(signer) as LimitBackendHelper__factory;
|
|
218
|
-
}
|
|
219
|
-
static readonly contractName: "LimitBackendHelper";
|
|
220
|
-
public readonly contractName: "LimitBackendHelper";
|
|
221
|
-
static readonly bytecode = _bytecode;
|
|
222
|
-
static readonly abi = _abi;
|
|
223
|
-
static createInterface(): LimitBackendHelperInterface {
|
|
224
|
-
return new utils.Interface(_abi) as LimitBackendHelperInterface;
|
|
225
|
-
}
|
|
226
|
-
static connect(
|
|
227
|
-
address: string,
|
|
228
|
-
signerOrProvider: Signer | Provider
|
|
229
|
-
): LimitBackendHelper {
|
|
230
|
-
return new Contract(address, _abi, signerOrProvider) as LimitBackendHelper;
|
|
231
|
-
}
|
|
232
|
-
}
|