@pendle/core-v2 5.9.0 → 5.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v1/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/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/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/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/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.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/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/IPChainlinkOracle.sol/IPChainlinkOracle.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/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/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/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.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/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/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/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- 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/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
- 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/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/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/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/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +1 -1
- 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/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.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/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/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/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
- 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/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
- 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/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/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
- 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/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.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/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- 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/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/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/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/deployments/1-core.json +2 -1
- package/package.json +1 -1
- package/typechain-types/AccessControlUpgradeable.ts +369 -0
- package/typechain-types/ActionBase.ts +81 -0
- package/typechain-types/ActionDelegateBase.ts +81 -0
- package/typechain-types/ActionInputTracker.ts +81 -0
- package/typechain-types/AddressProvider.ts +280 -0
- package/typechain-types/AggregatorInterface.ts +233 -0
- package/typechain-types/AggregatorV2V3Interface.ts +385 -0
- package/typechain-types/AggregatorV3Interface.ts +221 -0
- package/typechain-types/AutomateReady.ts +102 -0
- package/typechain-types/BaseSplitCodeFactoryContract.ts +276 -0
- package/typechain-types/BoringOwnableUpgradeable.ts +203 -0
- package/typechain-types/BoringOwnableUpgradeableData.ts +100 -0
- package/typechain-types/ContextUpgradeable.ts +68 -0
- package/typechain-types/EIP712Upgradeable.ts +144 -0
- package/typechain-types/ERC165Upgradeable.ts +113 -0
- package/typechain-types/ERC1967Upgrade.ts +97 -0
- package/typechain-types/ERC20.ts +417 -0
- package/typechain-types/EmptyUUPS.ts +352 -0
- package/typechain-types/Errors.ts +57 -0
- package/typechain-types/IAccessControlUpgradeable.ts +305 -0
- package/typechain-types/IAddressProvider.ts +123 -0
- package/typechain-types/IAutomate.ts +203 -0
- package/typechain-types/IBeacon.ts +87 -0
- package/typechain-types/IERC1271.ts +107 -0
- package/typechain-types/IERC165Upgradeable.ts +102 -0
- package/typechain-types/IERC1822Proxiable.ts +87 -0
- package/typechain-types/IERC1967.ts +97 -0
- package/typechain-types/IERC20.ts +300 -0
- package/typechain-types/IERC20Metadata.ts +339 -0
- package/typechain-types/IERC20Permit.ts +175 -0
- package/typechain-types/IERC5267Upgradeable.ts +135 -0
- package/typechain-types/ILayerZeroEndpoint.ts +256 -0
- package/typechain-types/ILayerZeroReceiver.ts +117 -0
- package/typechain-types/IOpsProxyFactory.ts +93 -0
- package/typechain-types/IPActionInfoStatic.ts +310 -0
- package/typechain-types/IPActionMintRedeemStatic.ts +435 -0
- package/typechain-types/IPChainlinkOracleWithQuote.ts +404 -0
- package/typechain-types/IPExchangeRateOracle.ts +87 -0
- package/typechain-types/IPFeeDistributor.ts +191 -0
- package/typechain-types/IPFeeDistributorV2.ts +287 -0
- package/typechain-types/IPGauge.ts +132 -0
- package/typechain-types/IPGaugeController.ts +275 -0
- package/typechain-types/IPGaugeControllerMainchain.ts +319 -0
- package/typechain-types/IPInterestManagerYT.ts +131 -0
- package/typechain-types/IPInterestManagerYTV2.ts +117 -0
- package/typechain-types/IPMarketFactory.ts +234 -0
- package/typechain-types/IPMarketSwapCallback.ts +115 -0
- package/typechain-types/IPMerkleDistributor.ts +235 -0
- package/typechain-types/IPMiniDiamond.ts +147 -0
- package/typechain-types/IPMsgReceiverApp.ts +104 -0
- package/typechain-types/IPMsgSendEndpoint.ts +166 -0
- package/typechain-types/IPOffchainStorage.ts +146 -0
- package/typechain-types/IPPYLpOracle.ts +400 -0
- package/typechain-types/IPPriceFeed.ts +81 -0
- package/typechain-types/IPPrincipalToken.ts +501 -0
- package/typechain-types/IPReflector.ts +95 -0
- package/typechain-types/IPTokenWithSupplyCap.ts +110 -0
- package/typechain-types/IPVeToken.ts +201 -0
- package/typechain-types/IPYieldContractFactory.ts +370 -0
- package/typechain-types/IPYieldToken.ts +917 -0
- package/typechain-types/IPYieldTokenV2.ts +901 -0
- package/typechain-types/IPossibleSupplyCapInterface.ts +142 -0
- package/typechain-types/IRedstonePriceFeed.ts +259 -0
- package/typechain-types/IRewardManager.ts +108 -0
- package/typechain-types/IStandardizedYield.ts +895 -0
- package/typechain-types/ITaskTreasuryUpgradable.ts +160 -0
- package/typechain-types/ITracker.ts +224 -0
- package/typechain-types/IWETH.ts +380 -0
- package/typechain-types/IWstETH.ts +162 -0
- package/typechain-types/Initializable.ts +68 -0
- package/typechain-types/LegacyNFTHelper.ts +87 -0
- package/typechain-types/Multicall2.ts +437 -0
- package/typechain-types/NonceManager.ts +209 -0
- package/typechain-types/OracleLib.ts +124 -0
- package/typechain-types/PTExpiry.ts +81 -0
- package/typechain-types/PendleERC20.ts +339 -0
- package/typechain-types/PendleFeeDistributorV2.ts +722 -0
- package/typechain-types/PendleMerkleDistributor.ts +610 -0
- package/typechain-types/PendleMsgReceiverAppUpg.ts +125 -0
- package/typechain-types/PendleMsgSenderAppUpg.ts +353 -0
- package/typechain-types/PendleMulticallV1.ts +162 -0
- package/typechain-types/PendleMulticallV2.ts +241 -0
- package/typechain-types/PendleOffchainStorage.ts +666 -0
- package/typechain-types/PendlePrincipalToken.ts +510 -0
- package/typechain-types/PendleSparkLinearDiscountOracle.ts +213 -0
- package/typechain-types/PendleWstETHPriceFeed.ts +148 -0
- package/typechain-types/Proxy.ts +57 -0
- package/typechain-types/SimulateHelper.ts +153 -0
- package/typechain-types/StarNFTV1.ts +880 -0
- package/typechain-types/SupplyCapReader.ts +105 -0
- package/typechain-types/Tracker.ts +432 -0
- package/typechain-types/UUPSUpgradeable.ts +197 -0
- package/typechain-types/factories/AccessControlUpgradeable__factory.ts +247 -0
- package/typechain-types/factories/ActionBase__factory.ts +36 -0
- package/typechain-types/factories/ActionDelegateBase__factory.ts +93 -0
- package/typechain-types/factories/ActionInputTracker__factory.ts +39 -0
- package/typechain-types/factories/AddressProvider__factory.ts +196 -0
- package/typechain-types/factories/AggregatorInterface__factory.ts +153 -0
- package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +268 -0
- package/typechain-types/factories/AggregatorV3Interface__factory.ts +141 -0
- package/typechain-types/factories/AutomateReady__factory.ts +49 -0
- package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +239 -0
- package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +96 -0
- package/typechain-types/factories/BoringOwnableUpgradeable__factory.ts +118 -0
- package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
- package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
- package/typechain-types/factories/ContextUpgradeable__factory.ts +39 -0
- package/typechain-types/factories/EIP712Upgradeable__factory.ts +88 -0
- package/typechain-types/factories/ERC165Upgradeable__factory.ts +58 -0
- package/typechain-types/factories/ERC1967Upgrade__factory.ts +71 -0
- package/typechain-types/factories/ERC20__factory.ts +348 -0
- package/typechain-types/factories/EmptyUUPS__factory.ts +250 -0
- package/typechain-types/factories/Errors__factory.ts +1483 -0
- package/typechain-types/factories/IAccessControlUpgradeable__factory.ts +202 -0
- package/typechain-types/factories/IAddressProvider__factory.ts +63 -0
- package/typechain-types/factories/IAutomate__factory.ts +126 -0
- package/typechain-types/factories/IBeacon__factory.ts +36 -0
- package/typechain-types/factories/IERC1271__factory.ts +47 -0
- package/typechain-types/factories/IERC165Upgradeable__factory.ts +45 -0
- package/typechain-types/factories/IERC1822Proxiable__factory.ts +39 -0
- package/typechain-types/factories/IERC1967__factory.ts +68 -0
- package/typechain-types/factories/IERC20Metadata__factory.ts +248 -0
- package/typechain-types/factories/IERC20Permit__factory.ts +98 -0
- package/typechain-types/factories/IERC20__factory.ts +203 -0
- package/typechain-types/factories/IERC5267Upgradeable__factory.ts +75 -0
- package/typechain-types/factories/ILayerZeroEndpoint__factory.ts +134 -0
- package/typechain-types/factories/ILayerZeroReceiver__factory.ts +54 -0
- package/typechain-types/factories/IOpsProxyFactory__factory.ts +50 -0
- package/typechain-types/factories/IPActionInfoStatic__factory.ts +322 -0
- package/typechain-types/factories/IPActionMintRedeemStatic__factory.ts +261 -0
- package/typechain-types/factories/IPChainlinkOracleWithQuote__factory.ts +281 -0
- package/typechain-types/factories/IPExchangeRateOracle__factory.ts +43 -0
- package/typechain-types/factories/IPFeeDistributorV2__factory.ts +184 -0
- package/typechain-types/factories/IPFeeDistributor__factory.ts +138 -0
- package/typechain-types/factories/IPGaugeControllerMainchain__factory.ts +202 -0
- package/typechain-types/factories/IPGaugeController__factory.ts +175 -0
- package/typechain-types/factories/IPGauge__factory.ts +74 -0
- package/typechain-types/factories/IPInterestManagerYTV2__factory.ts +59 -0
- package/typechain-types/factories/IPInterestManagerYT__factory.ts +63 -0
- package/typechain-types/factories/IPMarketFactory__factory.ts +168 -0
- package/typechain-types/factories/IPMarketSwapCallback__factory.ts +53 -0
- package/typechain-types/factories/IPMerkleDistributor__factory.ts +165 -0
- package/typechain-types/factories/IPMiniDiamond__factory.ts +67 -0
- package/typechain-types/factories/IPMsgReceiverApp__factory.ts +39 -0
- package/typechain-types/factories/IPMsgSendEndpoint__factory.ts +88 -0
- package/typechain-types/factories/IPOffchainStorage__factory.ts +82 -0
- package/typechain-types/factories/IPPYLpOracle__factory.ts +227 -0
- package/typechain-types/factories/IPPriceFeed__factory.ts +36 -0
- package/typechain-types/factories/IPPrincipalToken__factory.ts +362 -0
- package/typechain-types/factories/IPReflector__factory.ts +42 -0
- package/typechain-types/factories/IPTokenWithSupplyCap__factory.ts +56 -0
- package/typechain-types/factories/IPVeToken__factory.ts +116 -0
- package/typechain-types/factories/IPYieldContractFactory__factory.ts +285 -0
- package/typechain-types/factories/IPYieldTokenV2__factory.ts +694 -0
- package/typechain-types/factories/IPYieldToken__factory.ts +693 -0
- package/typechain-types/factories/IPossibleSupplyCapInterface__factory.ts +82 -0
- package/typechain-types/factories/IRedstonePriceFeed__factory.ts +163 -0
- package/typechain-types/factories/IRewardManager__factory.ts +55 -0
- package/typechain-types/factories/IStandardizedYield__factory.ts +658 -0
- package/typechain-types/factories/ITaskTreasuryUpgradable__factory.ts +76 -0
- package/typechain-types/factories/ITracker__factory.ts +114 -0
- package/typechain-types/factories/IWETH__factory.ts +261 -0
- package/typechain-types/factories/IWstETH__factory.ts +87 -0
- package/typechain-types/factories/Initializable__factory.ts +36 -0
- package/typechain-types/factories/LegacyNFTHelper__factory.ts +83 -0
- package/typechain-types/factories/Multicall2__factory.ts +372 -0
- package/typechain-types/factories/NonceManager__factory.ts +149 -0
- package/typechain-types/factories/OracleLib__factory.ts +150 -0
- package/typechain-types/factories/PTExpiry__factory.ts +36 -0
- 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/PendleERC20__factory.ts +327 -0
- package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +549 -0
- package/typechain-types/factories/PendleMerkleDistributor__factory.ts +488 -0
- package/typechain-types/factories/PendleMsgReceiverAppUpg__factory.ts +67 -0
- package/typechain-types/factories/PendleMsgSenderAppUpg__factory.ts +193 -0
- package/typechain-types/factories/PendleMulticallV1__factory.ts +142 -0
- package/typechain-types/factories/PendleMulticallV2__factory.ts +212 -0
- package/typechain-types/factories/PendleOffchainStorage__factory.ts +492 -0
- package/typechain-types/factories/PendlePrincipalToken__factory.ts +489 -0
- package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +1 -1
- package/typechain-types/factories/PendleSparkLinearDiscountOracle__factory.ts +209 -0
- package/typechain-types/factories/PendleWstETHPriceFeed__factory.ts +133 -0
- package/typechain-types/factories/Proxy__factory.ts +28 -0
- package/typechain-types/factories/SimulateHelper__factory.ts +137 -0
- package/typechain-types/factories/StarNFTV1__factory.ts +584 -0
- package/typechain-types/factories/SupplyCapReader__factory.ts +88 -0
- package/typechain-types/factories/Tracker__factory.ts +303 -0
- package/typechain-types/factories/UUPSUpgradeable__factory.ts +115 -0
- package/typechain-types/I1inchAggregationRouterV6.ts +0 -337
- package/typechain-types/IGenericSwapExactAmountIn.ts +0 -161
- package/typechain-types/IPendleCommonPoolDeployHelperV2.ts +0 -391
- package/typechain-types/MarketSwapNSeed.ts +0 -222
- 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/MarketSwapNSeed__factory.ts +0 -287
|
@@ -0,0 +1,193 @@
|
|
|
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
|
+
PendleMsgSenderAppUpg,
|
|
9
|
+
PendleMsgSenderAppUpgInterface,
|
|
10
|
+
} from "../PendleMsgSenderAppUpg";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
anonymous: false,
|
|
15
|
+
inputs: [
|
|
16
|
+
{
|
|
17
|
+
indexed: false,
|
|
18
|
+
internalType: "uint8",
|
|
19
|
+
name: "version",
|
|
20
|
+
type: "uint8",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
name: "Initialized",
|
|
24
|
+
type: "event",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
anonymous: false,
|
|
28
|
+
inputs: [
|
|
29
|
+
{
|
|
30
|
+
indexed: true,
|
|
31
|
+
internalType: "address",
|
|
32
|
+
name: "previousOwner",
|
|
33
|
+
type: "address",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
indexed: true,
|
|
37
|
+
internalType: "address",
|
|
38
|
+
name: "newOwner",
|
|
39
|
+
type: "address",
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
name: "OwnershipTransferred",
|
|
43
|
+
type: "event",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
inputs: [
|
|
47
|
+
{
|
|
48
|
+
internalType: "address",
|
|
49
|
+
name: "_address",
|
|
50
|
+
type: "address",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
internalType: "uint256",
|
|
54
|
+
name: "_chainId",
|
|
55
|
+
type: "uint256",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
name: "addDestinationContract",
|
|
59
|
+
outputs: [],
|
|
60
|
+
stateMutability: "payable",
|
|
61
|
+
type: "function",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
inputs: [],
|
|
65
|
+
name: "approxDstExecutionGas",
|
|
66
|
+
outputs: [
|
|
67
|
+
{
|
|
68
|
+
internalType: "uint256",
|
|
69
|
+
name: "",
|
|
70
|
+
type: "uint256",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
stateMutability: "view",
|
|
74
|
+
type: "function",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
inputs: [],
|
|
78
|
+
name: "claimOwnership",
|
|
79
|
+
outputs: [],
|
|
80
|
+
stateMutability: "nonpayable",
|
|
81
|
+
type: "function",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
inputs: [],
|
|
85
|
+
name: "getAllDestinationContracts",
|
|
86
|
+
outputs: [
|
|
87
|
+
{
|
|
88
|
+
internalType: "uint256[]",
|
|
89
|
+
name: "chainIds",
|
|
90
|
+
type: "uint256[]",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
internalType: "address[]",
|
|
94
|
+
name: "addrs",
|
|
95
|
+
type: "address[]",
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
stateMutability: "view",
|
|
99
|
+
type: "function",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
inputs: [],
|
|
103
|
+
name: "owner",
|
|
104
|
+
outputs: [
|
|
105
|
+
{
|
|
106
|
+
internalType: "address",
|
|
107
|
+
name: "",
|
|
108
|
+
type: "address",
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
stateMutability: "view",
|
|
112
|
+
type: "function",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
inputs: [],
|
|
116
|
+
name: "pendingOwner",
|
|
117
|
+
outputs: [
|
|
118
|
+
{
|
|
119
|
+
internalType: "address",
|
|
120
|
+
name: "",
|
|
121
|
+
type: "address",
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
stateMutability: "view",
|
|
125
|
+
type: "function",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
inputs: [],
|
|
129
|
+
name: "pendleMsgSendEndpoint",
|
|
130
|
+
outputs: [
|
|
131
|
+
{
|
|
132
|
+
internalType: "contract IPMsgSendEndpoint",
|
|
133
|
+
name: "",
|
|
134
|
+
type: "address",
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
stateMutability: "view",
|
|
138
|
+
type: "function",
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
inputs: [
|
|
142
|
+
{
|
|
143
|
+
internalType: "uint256",
|
|
144
|
+
name: "gas",
|
|
145
|
+
type: "uint256",
|
|
146
|
+
},
|
|
147
|
+
],
|
|
148
|
+
name: "setApproxDstExecutionGas",
|
|
149
|
+
outputs: [],
|
|
150
|
+
stateMutability: "nonpayable",
|
|
151
|
+
type: "function",
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
inputs: [
|
|
155
|
+
{
|
|
156
|
+
internalType: "address",
|
|
157
|
+
name: "newOwner",
|
|
158
|
+
type: "address",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
internalType: "bool",
|
|
162
|
+
name: "direct",
|
|
163
|
+
type: "bool",
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
internalType: "bool",
|
|
167
|
+
name: "renounce",
|
|
168
|
+
type: "bool",
|
|
169
|
+
},
|
|
170
|
+
],
|
|
171
|
+
name: "transferOwnership",
|
|
172
|
+
outputs: [],
|
|
173
|
+
stateMutability: "nonpayable",
|
|
174
|
+
type: "function",
|
|
175
|
+
},
|
|
176
|
+
];
|
|
177
|
+
|
|
178
|
+
export class PendleMsgSenderAppUpg__factory {
|
|
179
|
+
static readonly abi = _abi;
|
|
180
|
+
static createInterface(): PendleMsgSenderAppUpgInterface {
|
|
181
|
+
return new utils.Interface(_abi) as PendleMsgSenderAppUpgInterface;
|
|
182
|
+
}
|
|
183
|
+
static connect(
|
|
184
|
+
address: string,
|
|
185
|
+
signerOrProvider: Signer | Provider
|
|
186
|
+
): PendleMsgSenderAppUpg {
|
|
187
|
+
return new Contract(
|
|
188
|
+
address,
|
|
189
|
+
_abi,
|
|
190
|
+
signerOrProvider
|
|
191
|
+
) as PendleMsgSenderAppUpg;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
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
|
+
PendleMulticallV1,
|
|
8
|
+
PendleMulticallV1Interface,
|
|
9
|
+
} from "../PendleMulticallV1";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
components: [
|
|
16
|
+
{
|
|
17
|
+
internalType: "address",
|
|
18
|
+
name: "target",
|
|
19
|
+
type: "address",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
internalType: "bytes",
|
|
23
|
+
name: "callData",
|
|
24
|
+
type: "bytes",
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
internalType: "struct PendleMulticallV1.Call[]",
|
|
28
|
+
name: "calls",
|
|
29
|
+
type: "tuple[]",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
name: "aggregate",
|
|
33
|
+
outputs: [],
|
|
34
|
+
stateMutability: "payable",
|
|
35
|
+
type: "function",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
inputs: [
|
|
39
|
+
{
|
|
40
|
+
internalType: "bool",
|
|
41
|
+
name: "requireSuccess",
|
|
42
|
+
type: "bool",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
internalType: "uint256",
|
|
46
|
+
name: "gasLimit",
|
|
47
|
+
type: "uint256",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
components: [
|
|
51
|
+
{
|
|
52
|
+
internalType: "address",
|
|
53
|
+
name: "target",
|
|
54
|
+
type: "address",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
internalType: "bytes",
|
|
58
|
+
name: "callData",
|
|
59
|
+
type: "bytes",
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
internalType: "struct PendleMulticallV1.Call[]",
|
|
63
|
+
name: "calls",
|
|
64
|
+
type: "tuple[]",
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
name: "tryAggregate",
|
|
68
|
+
outputs: [
|
|
69
|
+
{
|
|
70
|
+
components: [
|
|
71
|
+
{
|
|
72
|
+
internalType: "bool",
|
|
73
|
+
name: "success",
|
|
74
|
+
type: "bool",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
internalType: "bytes",
|
|
78
|
+
name: "returnData",
|
|
79
|
+
type: "bytes",
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
internalType: "struct PendleMulticallV1.Result[]",
|
|
83
|
+
name: "returnData",
|
|
84
|
+
type: "tuple[]",
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
stateMutability: "payable",
|
|
88
|
+
type: "function",
|
|
89
|
+
},
|
|
90
|
+
];
|
|
91
|
+
|
|
92
|
+
const _bytecode =
|
|
93
|
+
"0x608060405234801561001057600080fd5b50610573806100206000396000f3fe6080604052600436106100295760003560e01c806315855fb91461002e578063252dba4214610057575b600080fd5b61004161003c36600461031c565b61006c565b60405161004e919061037c565b60405180910390f35b61006a61006536600461042a565b610205565b005b606081806001600160401b038111156100875761008761046b565b6040519080825280602002602001820160405280156100cd57816020015b6040805180820190915260008152606060208201528152602001906001900390816100a55790505b5091503660005b828110156101fa578585828181106100ee576100ee610481565b90506020028101906101009190610497565b915060008061011260208501856104b7565b6001600160a01b03168989898681811061012e5761012e610481565b90506020028101906101409190610497565b61014e9060208101906104e7565b60405161015c92919061052d565b60006040518083038160008787f1925050503d806000811461019a576040519150601f19603f3d011682016040523d82523d6000602084013e61019f565b606091505b5091509150811580156101af5750895b156101bc57805181602001fd5b60405180604001604052808315158152602001828152508684815181106101e5576101e5610481565b602090810291909101015250506001016100d4565b505050949350505050565b803660005b828110156102ca5784848281811061022457610224610481565b90506020028101906102369190610497565b915060008061024860208501856104b7565b6001600160a01b031661025e60208601866104e7565b60405161026c92919061052d565b6000604051808303816000865af19150503d80600081146102a9576040519150601f19603f3d011682016040523d82523d6000602084013e6102ae565b606091505b5091509150816102c057805181602001fd5b505060010161020a565b5050505050565b60008083601f8401126102e357600080fd5b5081356001600160401b038111156102fa57600080fd5b6020830191508360208260051b850101111561031557600080fd5b9250929050565b6000806000806060858703121561033257600080fd5b8435801515811461034257600080fd5b93506020850135925060408501356001600160401b0381111561036457600080fd5b610370878288016102d1565b95989497509550505050565b600060208083018184528085518083526040925060408601915060408160051b8701018488016000805b8481101561041b57898403603f1901865282518051151585528801518885018890528051888601819052835b818110156103ee578281018b0151878201606001528a016103d2565b508581016060908101859052978a0197601f909101601f19169095019094019350918701916001016103a6565b50919998505050505050505050565b6000806020838503121561043d57600080fd5b82356001600160401b0381111561045357600080fd5b61045f858286016102d1565b90969095509350505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008235603e198336030181126104ad57600080fd5b9190910192915050565b6000602082840312156104c957600080fd5b81356001600160a01b03811681146104e057600080fd5b9392505050565b6000808335601e198436030181126104fe57600080fd5b8301803591506001600160401b0382111561051857600080fd5b60200191503681900382131561031557600080fd5b818382376000910190815291905056fea2646970667358221220d0954aeee8767ce207f1ef1fe48acfed90007ab37998c4ac973fd30a1a4d35e864736f6c63430008170033";
|
|
94
|
+
|
|
95
|
+
type PendleMulticallV1ConstructorParams =
|
|
96
|
+
| [signer?: Signer]
|
|
97
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
98
|
+
|
|
99
|
+
const isSuperArgs = (
|
|
100
|
+
xs: PendleMulticallV1ConstructorParams
|
|
101
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
102
|
+
|
|
103
|
+
export class PendleMulticallV1__factory extends ContractFactory {
|
|
104
|
+
constructor(...args: PendleMulticallV1ConstructorParams) {
|
|
105
|
+
if (isSuperArgs(args)) {
|
|
106
|
+
super(...args);
|
|
107
|
+
} else {
|
|
108
|
+
super(_abi, _bytecode, args[0]);
|
|
109
|
+
}
|
|
110
|
+
this.contractName = "PendleMulticallV1";
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
deploy(
|
|
114
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
115
|
+
): Promise<PendleMulticallV1> {
|
|
116
|
+
return super.deploy(overrides || {}) as Promise<PendleMulticallV1>;
|
|
117
|
+
}
|
|
118
|
+
getDeployTransaction(
|
|
119
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
120
|
+
): TransactionRequest {
|
|
121
|
+
return super.getDeployTransaction(overrides || {});
|
|
122
|
+
}
|
|
123
|
+
attach(address: string): PendleMulticallV1 {
|
|
124
|
+
return super.attach(address) as PendleMulticallV1;
|
|
125
|
+
}
|
|
126
|
+
connect(signer: Signer): PendleMulticallV1__factory {
|
|
127
|
+
return super.connect(signer) as PendleMulticallV1__factory;
|
|
128
|
+
}
|
|
129
|
+
static readonly contractName: "PendleMulticallV1";
|
|
130
|
+
public readonly contractName: "PendleMulticallV1";
|
|
131
|
+
static readonly bytecode = _bytecode;
|
|
132
|
+
static readonly abi = _abi;
|
|
133
|
+
static createInterface(): PendleMulticallV1Interface {
|
|
134
|
+
return new utils.Interface(_abi) as PendleMulticallV1Interface;
|
|
135
|
+
}
|
|
136
|
+
static connect(
|
|
137
|
+
address: string,
|
|
138
|
+
signerOrProvider: Signer | Provider
|
|
139
|
+
): PendleMulticallV1 {
|
|
140
|
+
return new Contract(address, _abi, signerOrProvider) as PendleMulticallV1;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
@@ -0,0 +1,212 @@
|
|
|
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
|
+
PendleMulticallV2,
|
|
8
|
+
PendleMulticallV2Interface,
|
|
9
|
+
} from "../PendleMulticallV2";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "bool",
|
|
16
|
+
name: "success",
|
|
17
|
+
type: "bool",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
internalType: "bytes",
|
|
21
|
+
name: "res",
|
|
22
|
+
type: "bytes",
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
name: "CallThenRevertError",
|
|
26
|
+
type: "error",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
inputs: [
|
|
30
|
+
{
|
|
31
|
+
components: [
|
|
32
|
+
{
|
|
33
|
+
internalType: "address",
|
|
34
|
+
name: "target",
|
|
35
|
+
type: "address",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
internalType: "bytes",
|
|
39
|
+
name: "callData",
|
|
40
|
+
type: "bytes",
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
internalType: "struct PendleMulticallV2.Call[]",
|
|
44
|
+
name: "calls",
|
|
45
|
+
type: "tuple[]",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
name: "aggregate",
|
|
49
|
+
outputs: [],
|
|
50
|
+
stateMutability: "payable",
|
|
51
|
+
type: "function",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
inputs: [
|
|
55
|
+
{
|
|
56
|
+
internalType: "address",
|
|
57
|
+
name: "target",
|
|
58
|
+
type: "address",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
internalType: "bytes",
|
|
62
|
+
name: "callData",
|
|
63
|
+
type: "bytes",
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
name: "callThenRevert",
|
|
67
|
+
outputs: [],
|
|
68
|
+
stateMutability: "nonpayable",
|
|
69
|
+
type: "function",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
inputs: [
|
|
73
|
+
{
|
|
74
|
+
internalType: "bool",
|
|
75
|
+
name: "requireSuccess",
|
|
76
|
+
type: "bool",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
internalType: "uint256",
|
|
80
|
+
name: "gasLimit",
|
|
81
|
+
type: "uint256",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
components: [
|
|
85
|
+
{
|
|
86
|
+
internalType: "address",
|
|
87
|
+
name: "target",
|
|
88
|
+
type: "address",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
internalType: "bytes",
|
|
92
|
+
name: "callData",
|
|
93
|
+
type: "bytes",
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
internalType: "struct PendleMulticallV2.Call[]",
|
|
97
|
+
name: "calls",
|
|
98
|
+
type: "tuple[]",
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
name: "tryAggregate",
|
|
102
|
+
outputs: [
|
|
103
|
+
{
|
|
104
|
+
components: [
|
|
105
|
+
{
|
|
106
|
+
internalType: "bool",
|
|
107
|
+
name: "success",
|
|
108
|
+
type: "bool",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
internalType: "bytes",
|
|
112
|
+
name: "returnData",
|
|
113
|
+
type: "bytes",
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
internalType: "struct PendleMulticallV2.Result[]",
|
|
117
|
+
name: "returnData",
|
|
118
|
+
type: "tuple[]",
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
stateMutability: "payable",
|
|
122
|
+
type: "function",
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
inputs: [
|
|
126
|
+
{
|
|
127
|
+
internalType: "uint256",
|
|
128
|
+
name: "gasLimit",
|
|
129
|
+
type: "uint256",
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
components: [
|
|
133
|
+
{
|
|
134
|
+
internalType: "address",
|
|
135
|
+
name: "target",
|
|
136
|
+
type: "address",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
internalType: "bytes",
|
|
140
|
+
name: "callData",
|
|
141
|
+
type: "bytes",
|
|
142
|
+
},
|
|
143
|
+
],
|
|
144
|
+
internalType: "struct PendleMulticallV2.Call[]",
|
|
145
|
+
name: "calls",
|
|
146
|
+
type: "tuple[]",
|
|
147
|
+
},
|
|
148
|
+
],
|
|
149
|
+
name: "tryAggregateRevert",
|
|
150
|
+
outputs: [
|
|
151
|
+
{
|
|
152
|
+
internalType: "bytes[]",
|
|
153
|
+
name: "returnData",
|
|
154
|
+
type: "bytes[]",
|
|
155
|
+
},
|
|
156
|
+
],
|
|
157
|
+
stateMutability: "payable",
|
|
158
|
+
type: "function",
|
|
159
|
+
},
|
|
160
|
+
];
|
|
161
|
+
|
|
162
|
+
const _bytecode =
|
|
163
|
+
"0x608060405234801561001057600080fd5b506109b7806100206000396000f3fe60806040526004361061003f5760003560e01c806315855fb914610044578063252dba421461006d5780635a17b420146100825780638ee52744146100a2575b600080fd5b610057610052366004610553565b6100c2565b6040516100649190610603565b60405180910390f35b61008061007b36600461067b565b61025b565b005b6100956100903660046106bc565b610327565b6040516100649190610707565b3480156100ae57600080fd5b506100806100bd36600461079d565b610480565b606081806001600160401b038111156100dd576100dd610787565b60405190808252806020026020018201604052801561012357816020015b6040805180820190915260008152606060208201528152602001906001900390816100fb5790505b5091503660005b82811015610250578585828181106101445761014461085e565b90506020028101906101569190610874565b91506000806101686020850185610894565b6001600160a01b0316898989868181106101845761018461085e565b90506020028101906101969190610874565b6101a49060208101906108b6565b6040516101b29291906108fc565b60006040518083038160008787f1925050503d80600081146101f0576040519150601f19603f3d011682016040523d82523d6000602084013e6101f5565b606091505b5091509150811580156102055750895b1561021257805181602001fd5b604051806040016040528083151581526020018281525086848151811061023b5761023b61085e565b6020908102919091010152505060010161012a565b505050949350505050565b803660005b828110156103205784848281811061027a5761027a61085e565b905060200281019061028c9190610874565b915060008061029e6020850185610894565b6001600160a01b03166102b460208601866108b6565b6040516102c29291906108fc565b6000604051808303816000865af19150503d80600081146102ff576040519150601f19603f3d011682016040523d82523d6000602084013e610304565b606091505b50915091508161031657805181602001fd5b5050600101610260565b5050505050565b606081806001600160401b0381111561034257610342610787565b60405190808252806020026020018201604052801561037557816020015b60608152602001906001900390816103605790505b5091503660005b82811015610476578585828181106103965761039661085e565b90506020028101906103a89190610874565b915030876103b96020850185610894565b6103c660208601866108b6565b6040516024016103d89392919061090c565b60408051601f198184030181529181526020820180516001600160e01b03166323b949d160e21b1790525161040d919061094c565b6000604051808303818686f4925050503d8060008114610449576040519150601f19603f3d011682016040523d82523d6000602084013e61044e565b606091505b5090508482815181106104635761046361085e565b602090810291909101015260010161037c565b5050509392505050565b600080836001600160a01b03168360405161049b919061094c565b6000604051808303816000865af19150503d80600081146104d8576040519150601f19603f3d011682016040523d82523d6000602084013e6104dd565b606091505b5091509150818160405163269462bb60e21b81526004016104ff92919061095e565b60405180910390fd5b60008083601f84011261051a57600080fd5b5081356001600160401b0381111561053157600080fd5b6020830191508360208260051b850101111561054c57600080fd5b9250929050565b6000806000806060858703121561056957600080fd5b8435801515811461057957600080fd5b93506020850135925060408501356001600160401b0381111561059b57600080fd5b6105a787828801610508565b95989497509550505050565b60005b838110156105ce5781810151838201526020016105b6565b50506000910152565b600081518084526105ef8160208601602086016105b3565b601f01601f19169290920160200192915050565b600060208083018184528085518083526040925060408601915060408160051b87010184880160005b8381101561066d57888303603f19018552815180511515845287015187840187905261065a878501826105d7565b958801959350509086019060010161062c565b509098975050505050505050565b6000806020838503121561068e57600080fd5b82356001600160401b038111156106a457600080fd5b6106b085828601610508565b90969095509350505050565b6000806000604084860312156106d157600080fd5b8335925060208401356001600160401b038111156106ee57600080fd5b6106fa86828701610508565b9497909650939450505050565b600060208083016020845280855180835260408601915060408160051b87010192506020870160005b8281101561075e57603f1988860301845261074c8583516105d7565b94509285019290850190600101610730565b5092979650505050505050565b80356001600160a01b038116811461078257600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156107b057600080fd5b6107b98361076b565b915060208301356001600160401b03808211156107d557600080fd5b818501915085601f8301126107e957600080fd5b8135818111156107fb576107fb610787565b604051601f8201601f19908116603f0116810190838211818310171561082357610823610787565b8160405282815288602084870101111561083c57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b634e487b7160e01b600052603260045260246000fd5b60008235603e1983360301811261088a57600080fd5b9190910192915050565b6000602082840312156108a657600080fd5b6108af8261076b565b9392505050565b6000808335601e198436030181126108cd57600080fd5b8301803591506001600160401b038211156108e757600080fd5b60200191503681900382131561054c57600080fd5b8183823760009101908152919050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6000825161088a8184602087016105b3565b821515815260406020820152600061097960408301846105d7565b94935050505056fea2646970667358221220aa246219da30489107ace08823b26ab855ffed0cfff4581a4c9b598cd8bb1b3964736f6c63430008170033";
|
|
164
|
+
|
|
165
|
+
type PendleMulticallV2ConstructorParams =
|
|
166
|
+
| [signer?: Signer]
|
|
167
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
168
|
+
|
|
169
|
+
const isSuperArgs = (
|
|
170
|
+
xs: PendleMulticallV2ConstructorParams
|
|
171
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
172
|
+
|
|
173
|
+
export class PendleMulticallV2__factory extends ContractFactory {
|
|
174
|
+
constructor(...args: PendleMulticallV2ConstructorParams) {
|
|
175
|
+
if (isSuperArgs(args)) {
|
|
176
|
+
super(...args);
|
|
177
|
+
} else {
|
|
178
|
+
super(_abi, _bytecode, args[0]);
|
|
179
|
+
}
|
|
180
|
+
this.contractName = "PendleMulticallV2";
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
deploy(
|
|
184
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
185
|
+
): Promise<PendleMulticallV2> {
|
|
186
|
+
return super.deploy(overrides || {}) as Promise<PendleMulticallV2>;
|
|
187
|
+
}
|
|
188
|
+
getDeployTransaction(
|
|
189
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
190
|
+
): TransactionRequest {
|
|
191
|
+
return super.getDeployTransaction(overrides || {});
|
|
192
|
+
}
|
|
193
|
+
attach(address: string): PendleMulticallV2 {
|
|
194
|
+
return super.attach(address) as PendleMulticallV2;
|
|
195
|
+
}
|
|
196
|
+
connect(signer: Signer): PendleMulticallV2__factory {
|
|
197
|
+
return super.connect(signer) as PendleMulticallV2__factory;
|
|
198
|
+
}
|
|
199
|
+
static readonly contractName: "PendleMulticallV2";
|
|
200
|
+
public readonly contractName: "PendleMulticallV2";
|
|
201
|
+
static readonly bytecode = _bytecode;
|
|
202
|
+
static readonly abi = _abi;
|
|
203
|
+
static createInterface(): PendleMulticallV2Interface {
|
|
204
|
+
return new utils.Interface(_abi) as PendleMulticallV2Interface;
|
|
205
|
+
}
|
|
206
|
+
static connect(
|
|
207
|
+
address: string,
|
|
208
|
+
signerOrProvider: Signer | Provider
|
|
209
|
+
): PendleMulticallV2 {
|
|
210
|
+
return new Contract(address, _abi, signerOrProvider) as PendleMulticallV2;
|
|
211
|
+
}
|
|
212
|
+
}
|