@pendle/core-v2 6.3.1 → 6.3.2-swaphubtest
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/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/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.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/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.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/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/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/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/cross-chain/swap-hub/DepositBox.sol/DepositBox.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.json +201 -0
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +1301 -0
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.json +1272 -0
- package/build/artifacts/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol/IPSwapExecutor.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol/IPSwapExecutor.json +56 -0
- package/build/artifacts/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol/SwapExecutor.dbg.json +4 -0
- package/build/artifacts/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol/SwapExecutor.json +60 -0
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
- 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/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.json +1135 -0
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.json +150 -0
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.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/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/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/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/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/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +314 -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/PendleFeeSetter.sol/PendleFeeSetter.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/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/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/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.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/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
- 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/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
- 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 +1 -1
- package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.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/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/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/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
- package/contracts/cross-chain/swap-hub/DepositBox.sol +72 -0
- package/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol +162 -0
- package/contracts/cross-chain/swap-hub/SwapHubBase.sol +303 -0
- package/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol +14 -0
- package/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol +33 -0
- package/contracts/interfaces/IMarketSweed.sol +23 -0
- package/contracts/interfaces/IPCrossChainSwapHub.sol +163 -0
- package/contracts/interfaces/IPDepositBox.sol +25 -0
- package/contracts/offchain-helpers/MarketSweed.sol +250 -0
- package/contracts/router/swap-aggregator/OKXScaleHelper.sol +25 -90
- package/deployments/1-core.json +2 -1
- package/deployments/10-core.json +2 -1
- package/deployments/146-core.json +2 -1
- package/deployments/42161-core.json +2 -1
- package/deployments/5000-core.json +2 -1
- package/deployments/56-core.json +2 -1
- package/deployments/80094-core.json +2 -1
- package/deployments/8453-core.json +2 -1
- package/deployments/9745-core.json +2 -1
- package/deployments/999-core.json +2 -1
- package/package.json +2 -2
- package/typechain-types/DepositBox.ts +304 -0
- package/typechain-types/IMarketSweed.ts +203 -0
- package/typechain-types/IPCrossChainSwapHub.ts +1002 -0
- package/typechain-types/IPDepositBox.ts +257 -0
- package/typechain-types/IPSwapExecutor.ts +129 -0
- package/typechain-types/MarketSweed.ts +242 -0
- package/typechain-types/PendleCrossChainSwapHub.ts +1226 -0
- package/typechain-types/SwapExecutor.ts +129 -0
- package/typechain-types/SwapHubBase.ts +1201 -0
- package/typechain-types/factories/DepositBox__factory.ts +259 -0
- package/typechain-types/factories/{IPActionCrossChain__factory.ts → IMarketSweed__factory.ts} +61 -22
- package/typechain-types/factories/IPCrossChainSwapHub__factory.ts +1152 -0
- package/typechain-types/factories/IPDepositBox__factory.ts +162 -0
- package/typechain-types/factories/IPSwapExecutor__factory.ts +71 -0
- package/typechain-types/factories/MarketSweed__factory.ts +364 -0
- package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +1372 -0
- package/typechain-types/factories/PendleSwap__factory.ts +1 -1
- package/typechain-types/factories/SwapExecutor__factory.ts +110 -0
- package/typechain-types/factories/{BasePendleBridgedPrincipalToken__factory.ts → SwapHubBase__factory.ts} +693 -955
- package/typechain-types/hardhat.d.ts +90 -54
- package/typechain-types/index.ts +18 -12
- package/typechain-types/ActionCrossChain.ts +0 -161
- package/typechain-types/ActionDelegateBase.ts +0 -57
- package/typechain-types/BasePendleBridgedPrincipalToken.ts +0 -1689
- package/typechain-types/EIP712.ts +0 -135
- package/typechain-types/ERC20Permit.ts +0 -586
- package/typechain-types/IERC5267.ts +0 -135
- package/typechain-types/IPActionCrossChain.ts +0 -161
- package/typechain-types/IPMarketFactoryV3.ts +0 -321
- package/typechain-types/IPMarketV3.ts +0 -1068
- package/typechain-types/LimitBackendHelper.ts +0 -287
- package/typechain-types/OverfillMathLib.ts +0 -81
- package/typechain-types/PendleBridgedPrincipalToken_18Decimals.ts +0 -1689
- package/typechain-types/PendleBridgedPrincipalToken_6Decimals.ts +0 -1689
- package/typechain-types/PendleBridgedPrincipalToken_8Decimals.ts +0 -1689
- package/typechain-types/PendleERC20Permit.ts +0 -508
- package/typechain-types/PendleERC20PermitUpg.ts +0 -517
- package/typechain-types/PendleERC20Upg.ts +0 -348
- package/typechain-types/PendleMarketFactoryV3.ts +0 -719
- package/typechain-types/PendleMarketV3.ts +0 -1195
- package/typechain-types/PendleYieldContractFactory.ts +0 -801
- package/typechain-types/ShortStrings.ts +0 -57
- package/typechain-types/factories/ActionCrossChain__factory.ts +0 -152
- package/typechain-types/factories/ActionDelegateBase__factory.ts +0 -80
- package/typechain-types/factories/EIP712__factory.ts +0 -85
- package/typechain-types/factories/ERC20Permit__factory.ts +0 -433
- package/typechain-types/factories/IERC5267__factory.ts +0 -72
- package/typechain-types/factories/IPMarketFactoryV3__factory.ts +0 -217
- package/typechain-types/factories/IPMarketV3__factory.ts +0 -845
- package/typechain-types/factories/LimitBackendHelper__factory.ts +0 -232
- package/typechain-types/factories/OverfillMathLib__factory.ts +0 -77
- package/typechain-types/factories/PendleBridgedPrincipalToken_18Decimals__factory.ts +0 -1652
- package/typechain-types/factories/PendleBridgedPrincipalToken_6Decimals__factory.ts +0 -1650
- package/typechain-types/factories/PendleBridgedPrincipalToken_8Decimals__factory.ts +0 -1650
- package/typechain-types/factories/PendleERC20PermitUpg__factory.ts +0 -389
- package/typechain-types/factories/PendleERC20Permit__factory.ts +0 -470
- package/typechain-types/factories/PendleERC20Upg__factory.ts +0 -261
- package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +0 -714
- package/typechain-types/factories/PendleMarketV3__factory.ts +0 -1211
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +0 -674
- package/typechain-types/factories/ShortStrings__factory.ts +0 -77
|
@@ -220,10 +220,6 @@ declare module "hardhat/types/runtime" {
|
|
|
220
220
|
name: "IERC1967",
|
|
221
221
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
222
222
|
): Promise<Contracts.IERC1967__factory>;
|
|
223
|
-
getContractFactory(
|
|
224
|
-
name: "IERC5267",
|
|
225
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
226
|
-
): Promise<Contracts.IERC5267__factory>;
|
|
227
223
|
getContractFactory(
|
|
228
224
|
name: "IBeacon",
|
|
229
225
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -248,6 +244,10 @@ declare module "hardhat/types/runtime" {
|
|
|
248
244
|
name: "TransparentUpgradeableProxy",
|
|
249
245
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
250
246
|
): Promise<Contracts.TransparentUpgradeableProxy__factory>;
|
|
247
|
+
getContractFactory(
|
|
248
|
+
name: "Initializable",
|
|
249
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
250
|
+
): Promise<Contracts.Initializable__factory>;
|
|
251
251
|
getContractFactory(
|
|
252
252
|
name: "UUPSUpgradeable",
|
|
253
253
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -256,10 +256,6 @@ declare module "hardhat/types/runtime" {
|
|
|
256
256
|
name: "ERC20",
|
|
257
257
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
258
258
|
): Promise<Contracts.ERC20__factory>;
|
|
259
|
-
getContractFactory(
|
|
260
|
-
name: "ERC20Permit",
|
|
261
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
262
|
-
): Promise<Contracts.ERC20Permit__factory>;
|
|
263
259
|
getContractFactory(
|
|
264
260
|
name: "IERC20Metadata",
|
|
265
261
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -272,18 +268,10 @@ declare module "hardhat/types/runtime" {
|
|
|
272
268
|
name: "IERC20",
|
|
273
269
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
274
270
|
): Promise<Contracts.IERC20__factory>;
|
|
275
|
-
getContractFactory(
|
|
276
|
-
name: "EIP712",
|
|
277
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
278
|
-
): Promise<Contracts.EIP712__factory>;
|
|
279
271
|
getContractFactory(
|
|
280
272
|
name: "IERC165",
|
|
281
273
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
282
274
|
): Promise<Contracts.IERC165__factory>;
|
|
283
|
-
getContractFactory(
|
|
284
|
-
name: "ShortStrings",
|
|
285
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
286
|
-
): Promise<Contracts.ShortStrings__factory>;
|
|
287
275
|
getContractFactory(
|
|
288
276
|
name: "PendleERC20",
|
|
289
277
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -356,6 +344,26 @@ declare module "hardhat/types/runtime" {
|
|
|
356
344
|
name: "PendleBridgedPrincipalToken",
|
|
357
345
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
358
346
|
): Promise<Contracts.PendleBridgedPrincipalToken__factory>;
|
|
347
|
+
getContractFactory(
|
|
348
|
+
name: "DepositBox",
|
|
349
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
350
|
+
): Promise<Contracts.DepositBox__factory>;
|
|
351
|
+
getContractFactory(
|
|
352
|
+
name: "PendleCrossChainSwapHub",
|
|
353
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
354
|
+
): Promise<Contracts.PendleCrossChainSwapHub__factory>;
|
|
355
|
+
getContractFactory(
|
|
356
|
+
name: "IPSwapExecutor",
|
|
357
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
358
|
+
): Promise<Contracts.IPSwapExecutor__factory>;
|
|
359
|
+
getContractFactory(
|
|
360
|
+
name: "SwapExecutor",
|
|
361
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
362
|
+
): Promise<Contracts.SwapExecutor__factory>;
|
|
363
|
+
getContractFactory(
|
|
364
|
+
name: "SwapHubBase",
|
|
365
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
366
|
+
): Promise<Contracts.SwapHubBase__factory>;
|
|
359
367
|
getContractFactory(
|
|
360
368
|
name: "PendleFeeDistributor",
|
|
361
369
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -380,6 +388,10 @@ declare module "hardhat/types/runtime" {
|
|
|
380
388
|
name: "ILPWrapper",
|
|
381
389
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
382
390
|
): Promise<Contracts.ILPWrapper__factory>;
|
|
391
|
+
getContractFactory(
|
|
392
|
+
name: "IMarketSweed",
|
|
393
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
394
|
+
): Promise<Contracts.IMarketSweed__factory>;
|
|
383
395
|
getContractFactory(
|
|
384
396
|
name: "IOwnable",
|
|
385
397
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -392,10 +404,6 @@ declare module "hardhat/types/runtime" {
|
|
|
392
404
|
name: "IPActionCallbackV3",
|
|
393
405
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
394
406
|
): Promise<Contracts.IPActionCallbackV3__factory>;
|
|
395
|
-
getContractFactory(
|
|
396
|
-
name: "IPActionCrossChain",
|
|
397
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
398
|
-
): Promise<Contracts.IPActionCrossChain__factory>;
|
|
399
407
|
getContractFactory(
|
|
400
408
|
name: "IPActionInfoStatic",
|
|
401
409
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -496,6 +504,14 @@ declare module "hardhat/types/runtime" {
|
|
|
496
504
|
name: "IPCommonSYFactory",
|
|
497
505
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
498
506
|
): Promise<Contracts.IPCommonSYFactory__factory>;
|
|
507
|
+
getContractFactory(
|
|
508
|
+
name: "IPCrossChainSwapHub",
|
|
509
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
510
|
+
): Promise<Contracts.IPCrossChainSwapHub__factory>;
|
|
511
|
+
getContractFactory(
|
|
512
|
+
name: "IPDepositBox",
|
|
513
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
514
|
+
): Promise<Contracts.IPDepositBox__factory>;
|
|
499
515
|
getContractFactory(
|
|
500
516
|
name: "IPExchangeRateOracle",
|
|
501
517
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -816,6 +832,10 @@ declare module "hardhat/types/runtime" {
|
|
|
816
832
|
name: "LimitBackendHelperV2",
|
|
817
833
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
818
834
|
): Promise<Contracts.LimitBackendHelperV2__factory>;
|
|
835
|
+
getContractFactory(
|
|
836
|
+
name: "MarketSweed",
|
|
837
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
838
|
+
): Promise<Contracts.MarketSweed__factory>;
|
|
819
839
|
getContractFactory(
|
|
820
840
|
name: "Multicall2",
|
|
821
841
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -992,10 +1012,6 @@ declare module "hardhat/types/runtime" {
|
|
|
992
1012
|
name: "ActionCallbackV3",
|
|
993
1013
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
994
1014
|
): Promise<Contracts.ActionCallbackV3__factory>;
|
|
995
|
-
getContractFactory(
|
|
996
|
-
name: "ActionCrossChain",
|
|
997
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
998
|
-
): Promise<Contracts.ActionCrossChain__factory>;
|
|
999
1015
|
getContractFactory(
|
|
1000
1016
|
name: "ActionMiscV3",
|
|
1001
1017
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -1313,11 +1329,6 @@ declare module "hardhat/types/runtime" {
|
|
|
1313
1329
|
address: string,
|
|
1314
1330
|
signer?: ethers.Signer
|
|
1315
1331
|
): Promise<Contracts.IERC1967>;
|
|
1316
|
-
getContractAt(
|
|
1317
|
-
name: "IERC5267",
|
|
1318
|
-
address: string,
|
|
1319
|
-
signer?: ethers.Signer
|
|
1320
|
-
): Promise<Contracts.IERC5267>;
|
|
1321
1332
|
getContractAt(
|
|
1322
1333
|
name: "IBeacon",
|
|
1323
1334
|
address: string,
|
|
@@ -1348,6 +1359,11 @@ declare module "hardhat/types/runtime" {
|
|
|
1348
1359
|
address: string,
|
|
1349
1360
|
signer?: ethers.Signer
|
|
1350
1361
|
): Promise<Contracts.TransparentUpgradeableProxy>;
|
|
1362
|
+
getContractAt(
|
|
1363
|
+
name: "Initializable",
|
|
1364
|
+
address: string,
|
|
1365
|
+
signer?: ethers.Signer
|
|
1366
|
+
): Promise<Contracts.Initializable>;
|
|
1351
1367
|
getContractAt(
|
|
1352
1368
|
name: "UUPSUpgradeable",
|
|
1353
1369
|
address: string,
|
|
@@ -1358,11 +1374,6 @@ declare module "hardhat/types/runtime" {
|
|
|
1358
1374
|
address: string,
|
|
1359
1375
|
signer?: ethers.Signer
|
|
1360
1376
|
): Promise<Contracts.ERC20>;
|
|
1361
|
-
getContractAt(
|
|
1362
|
-
name: "ERC20Permit",
|
|
1363
|
-
address: string,
|
|
1364
|
-
signer?: ethers.Signer
|
|
1365
|
-
): Promise<Contracts.ERC20Permit>;
|
|
1366
1377
|
getContractAt(
|
|
1367
1378
|
name: "IERC20Metadata",
|
|
1368
1379
|
address: string,
|
|
@@ -1378,21 +1389,11 @@ declare module "hardhat/types/runtime" {
|
|
|
1378
1389
|
address: string,
|
|
1379
1390
|
signer?: ethers.Signer
|
|
1380
1391
|
): Promise<Contracts.IERC20>;
|
|
1381
|
-
getContractAt(
|
|
1382
|
-
name: "EIP712",
|
|
1383
|
-
address: string,
|
|
1384
|
-
signer?: ethers.Signer
|
|
1385
|
-
): Promise<Contracts.EIP712>;
|
|
1386
1392
|
getContractAt(
|
|
1387
1393
|
name: "IERC165",
|
|
1388
1394
|
address: string,
|
|
1389
1395
|
signer?: ethers.Signer
|
|
1390
1396
|
): Promise<Contracts.IERC165>;
|
|
1391
|
-
getContractAt(
|
|
1392
|
-
name: "ShortStrings",
|
|
1393
|
-
address: string,
|
|
1394
|
-
signer?: ethers.Signer
|
|
1395
|
-
): Promise<Contracts.ShortStrings>;
|
|
1396
1397
|
getContractAt(
|
|
1397
1398
|
name: "PendleERC20",
|
|
1398
1399
|
address: string,
|
|
@@ -1483,6 +1484,31 @@ declare module "hardhat/types/runtime" {
|
|
|
1483
1484
|
address: string,
|
|
1484
1485
|
signer?: ethers.Signer
|
|
1485
1486
|
): Promise<Contracts.PendleBridgedPrincipalToken>;
|
|
1487
|
+
getContractAt(
|
|
1488
|
+
name: "DepositBox",
|
|
1489
|
+
address: string,
|
|
1490
|
+
signer?: ethers.Signer
|
|
1491
|
+
): Promise<Contracts.DepositBox>;
|
|
1492
|
+
getContractAt(
|
|
1493
|
+
name: "PendleCrossChainSwapHub",
|
|
1494
|
+
address: string,
|
|
1495
|
+
signer?: ethers.Signer
|
|
1496
|
+
): Promise<Contracts.PendleCrossChainSwapHub>;
|
|
1497
|
+
getContractAt(
|
|
1498
|
+
name: "IPSwapExecutor",
|
|
1499
|
+
address: string,
|
|
1500
|
+
signer?: ethers.Signer
|
|
1501
|
+
): Promise<Contracts.IPSwapExecutor>;
|
|
1502
|
+
getContractAt(
|
|
1503
|
+
name: "SwapExecutor",
|
|
1504
|
+
address: string,
|
|
1505
|
+
signer?: ethers.Signer
|
|
1506
|
+
): Promise<Contracts.SwapExecutor>;
|
|
1507
|
+
getContractAt(
|
|
1508
|
+
name: "SwapHubBase",
|
|
1509
|
+
address: string,
|
|
1510
|
+
signer?: ethers.Signer
|
|
1511
|
+
): Promise<Contracts.SwapHubBase>;
|
|
1486
1512
|
getContractAt(
|
|
1487
1513
|
name: "PendleFeeDistributor",
|
|
1488
1514
|
address: string,
|
|
@@ -1513,6 +1539,11 @@ declare module "hardhat/types/runtime" {
|
|
|
1513
1539
|
address: string,
|
|
1514
1540
|
signer?: ethers.Signer
|
|
1515
1541
|
): Promise<Contracts.ILPWrapper>;
|
|
1542
|
+
getContractAt(
|
|
1543
|
+
name: "IMarketSweed",
|
|
1544
|
+
address: string,
|
|
1545
|
+
signer?: ethers.Signer
|
|
1546
|
+
): Promise<Contracts.IMarketSweed>;
|
|
1516
1547
|
getContractAt(
|
|
1517
1548
|
name: "IOwnable",
|
|
1518
1549
|
address: string,
|
|
@@ -1528,11 +1559,6 @@ declare module "hardhat/types/runtime" {
|
|
|
1528
1559
|
address: string,
|
|
1529
1560
|
signer?: ethers.Signer
|
|
1530
1561
|
): Promise<Contracts.IPActionCallbackV3>;
|
|
1531
|
-
getContractAt(
|
|
1532
|
-
name: "IPActionCrossChain",
|
|
1533
|
-
address: string,
|
|
1534
|
-
signer?: ethers.Signer
|
|
1535
|
-
): Promise<Contracts.IPActionCrossChain>;
|
|
1536
1562
|
getContractAt(
|
|
1537
1563
|
name: "IPActionInfoStatic",
|
|
1538
1564
|
address: string,
|
|
@@ -1658,6 +1684,16 @@ declare module "hardhat/types/runtime" {
|
|
|
1658
1684
|
address: string,
|
|
1659
1685
|
signer?: ethers.Signer
|
|
1660
1686
|
): Promise<Contracts.IPCommonSYFactory>;
|
|
1687
|
+
getContractAt(
|
|
1688
|
+
name: "IPCrossChainSwapHub",
|
|
1689
|
+
address: string,
|
|
1690
|
+
signer?: ethers.Signer
|
|
1691
|
+
): Promise<Contracts.IPCrossChainSwapHub>;
|
|
1692
|
+
getContractAt(
|
|
1693
|
+
name: "IPDepositBox",
|
|
1694
|
+
address: string,
|
|
1695
|
+
signer?: ethers.Signer
|
|
1696
|
+
): Promise<Contracts.IPDepositBox>;
|
|
1661
1697
|
getContractAt(
|
|
1662
1698
|
name: "IPExchangeRateOracle",
|
|
1663
1699
|
address: string,
|
|
@@ -2058,6 +2094,11 @@ declare module "hardhat/types/runtime" {
|
|
|
2058
2094
|
address: string,
|
|
2059
2095
|
signer?: ethers.Signer
|
|
2060
2096
|
): Promise<Contracts.LimitBackendHelperV2>;
|
|
2097
|
+
getContractAt(
|
|
2098
|
+
name: "MarketSweed",
|
|
2099
|
+
address: string,
|
|
2100
|
+
signer?: ethers.Signer
|
|
2101
|
+
): Promise<Contracts.MarketSweed>;
|
|
2061
2102
|
getContractAt(
|
|
2062
2103
|
name: "Multicall2",
|
|
2063
2104
|
address: string,
|
|
@@ -2278,11 +2319,6 @@ declare module "hardhat/types/runtime" {
|
|
|
2278
2319
|
address: string,
|
|
2279
2320
|
signer?: ethers.Signer
|
|
2280
2321
|
): Promise<Contracts.ActionCallbackV3>;
|
|
2281
|
-
getContractAt(
|
|
2282
|
-
name: "ActionCrossChain",
|
|
2283
|
-
address: string,
|
|
2284
|
-
signer?: ethers.Signer
|
|
2285
|
-
): Promise<Contracts.ActionCrossChain>;
|
|
2286
2322
|
getContractAt(
|
|
2287
2323
|
name: "ActionMiscV3",
|
|
2288
2324
|
address: string,
|
package/typechain-types/index.ts
CHANGED
|
@@ -53,7 +53,6 @@ export type { Ownable } from "./Ownable";
|
|
|
53
53
|
export type { IERC1822Proxiable } from "./IERC1822Proxiable";
|
|
54
54
|
export type { IERC1271 } from "./IERC1271";
|
|
55
55
|
export type { IERC1967 } from "./IERC1967";
|
|
56
|
-
export type { IERC5267 } from "./IERC5267";
|
|
57
56
|
export type { IBeacon } from "./IBeacon";
|
|
58
57
|
export type { ERC1967Proxy } from "./ERC1967Proxy";
|
|
59
58
|
export type { ERC1967Upgrade } from "./ERC1967Upgrade";
|
|
@@ -61,13 +60,10 @@ export type { Proxy } from "./Proxy";
|
|
|
61
60
|
export type { ITransparentUpgradeableProxy } from "./ITransparentUpgradeableProxy";
|
|
62
61
|
export type { TransparentUpgradeableProxy } from "./TransparentUpgradeableProxy";
|
|
63
62
|
export type { ERC20 } from "./ERC20";
|
|
64
|
-
export type { ERC20Permit } from "./ERC20Permit";
|
|
65
63
|
export type { IERC20Metadata } from "./IERC20Metadata";
|
|
66
64
|
export type { IERC20Permit } from "./IERC20Permit";
|
|
67
65
|
export type { IERC20 } from "./IERC20";
|
|
68
|
-
export type { EIP712 } from "./EIP712";
|
|
69
66
|
export type { IERC165 } from "./IERC165";
|
|
70
|
-
export type { ShortStrings } from "./ShortStrings";
|
|
71
67
|
export type { PendleERC20 } from "./PendleERC20";
|
|
72
68
|
export type { BoringOwnableUpgradeableData } from "./BoringOwnableUpgradeableData";
|
|
73
69
|
export type { BoringOwnableUpgradeableV2 } from "./BoringOwnableUpgradeableV2";
|
|
@@ -86,15 +82,20 @@ export type { PendlePTOFTAdapterFactory } from "./PendlePTOFTAdapterFactory";
|
|
|
86
82
|
export type { FixedPricePTAMM } from "./FixedPricePTAMM";
|
|
87
83
|
export type { OFTAdapterImpl } from "./OFTAdapterImpl";
|
|
88
84
|
export type { PendleBridgedPrincipalToken } from "./PendleBridgedPrincipalToken";
|
|
85
|
+
export type { DepositBox } from "./DepositBox";
|
|
86
|
+
export type { PendleCrossChainSwapHub } from "./PendleCrossChainSwapHub";
|
|
87
|
+
export type { IPSwapExecutor } from "./IPSwapExecutor";
|
|
88
|
+
export type { SwapExecutor } from "./SwapExecutor";
|
|
89
|
+
export type { SwapHubBase } from "./SwapHubBase";
|
|
89
90
|
export type { PendleFeeDistributor } from "./PendleFeeDistributor";
|
|
90
91
|
export type { PendleFeeDistributorV2 } from "./PendleFeeDistributorV2";
|
|
91
92
|
export type { IAddressProvider } from "./IAddressProvider";
|
|
92
93
|
export type { ILayerZeroEndpoint } from "./ILayerZeroEndpoint";
|
|
93
94
|
export type { ILPWrapper } from "./ILPWrapper";
|
|
95
|
+
export type { IMarketSweed } from "./IMarketSweed";
|
|
94
96
|
export type { IOwnable } from "./IOwnable";
|
|
95
97
|
export type { IPActionAddRemoveLiqV3 } from "./IPActionAddRemoveLiqV3";
|
|
96
98
|
export type { IPActionCallbackV3 } from "./IPActionCallbackV3";
|
|
97
|
-
export type { IPActionCrossChain } from "./IPActionCrossChain";
|
|
98
99
|
export type { IPActionInfoStatic } from "./IPActionInfoStatic";
|
|
99
100
|
export type { IPActionMarketAuxStatic } from "./IPActionMarketAuxStatic";
|
|
100
101
|
export type { IPActionMarketCoreStatic } from "./IPActionMarketCoreStatic";
|
|
@@ -120,6 +121,8 @@ export type { IPChainlinkOracleFactory } from "./IPChainlinkOracleFactory";
|
|
|
120
121
|
export type { IPChainlinkOracleWithQuote } from "./IPChainlinkOracleWithQuote";
|
|
121
122
|
export type { IPCommonPoolDeployHelperV2 } from "./IPCommonPoolDeployHelperV2";
|
|
122
123
|
export type { IPCommonSYFactory } from "./IPCommonSYFactory";
|
|
124
|
+
export type { IPCrossChainSwapHub } from "./IPCrossChainSwapHub";
|
|
125
|
+
export type { IPDepositBox } from "./IPDepositBox";
|
|
123
126
|
export type { IPExchangeRateOracle } from "./IPExchangeRateOracle";
|
|
124
127
|
export type { IPExchangeRateOracleApp } from "./IPExchangeRateOracleApp";
|
|
125
128
|
export type { IPFeeDistributor } from "./IPFeeDistributor";
|
|
@@ -200,6 +203,7 @@ export type { ExpiredLpPtRedeemer } from "./ExpiredLpPtRedeemer";
|
|
|
200
203
|
export type { LegacyNFTHelper } from "./LegacyNFTHelper";
|
|
201
204
|
export type { StarNFTV1 } from "./StarNFTV1";
|
|
202
205
|
export type { LimitBackendHelperV2 } from "./LimitBackendHelperV2";
|
|
206
|
+
export type { MarketSweed } from "./MarketSweed";
|
|
203
207
|
export type { Multicall2 } from "./Multicall2";
|
|
204
208
|
export type { PendleExchangeRateOracle } from "./PendleExchangeRateOracle";
|
|
205
209
|
export type { PendleFeeSetter } from "./PendleFeeSetter";
|
|
@@ -244,7 +248,6 @@ export type { PendleLinearDiscountOracleWrapper } from "./PendleLinearDiscountOr
|
|
|
244
248
|
export type { PendleSparkLinearDiscountOracleFactoryWrapper } from "./PendleSparkLinearDiscountOracleFactoryWrapper";
|
|
245
249
|
export type { ActionAddRemoveLiqV3 } from "./ActionAddRemoveLiqV3";
|
|
246
250
|
export type { ActionCallbackV3 } from "./ActionCallbackV3";
|
|
247
|
-
export type { ActionCrossChain } from "./ActionCrossChain";
|
|
248
251
|
export type { ActionMiscV3 } from "./ActionMiscV3";
|
|
249
252
|
export type { ActionSimple } from "./ActionSimple";
|
|
250
253
|
export type { ActionStorageV4 } from "./ActionStorageV4";
|
|
@@ -312,7 +315,6 @@ export { Ownable__factory } from "./factories/Ownable__factory";
|
|
|
312
315
|
export { IERC1822Proxiable__factory } from "./factories/IERC1822Proxiable__factory";
|
|
313
316
|
export { IERC1271__factory } from "./factories/IERC1271__factory";
|
|
314
317
|
export { IERC1967__factory } from "./factories/IERC1967__factory";
|
|
315
|
-
export { IERC5267__factory } from "./factories/IERC5267__factory";
|
|
316
318
|
export { IBeacon__factory } from "./factories/IBeacon__factory";
|
|
317
319
|
export { ERC1967Proxy__factory } from "./factories/ERC1967Proxy__factory";
|
|
318
320
|
export { ERC1967Upgrade__factory } from "./factories/ERC1967Upgrade__factory";
|
|
@@ -320,13 +322,10 @@ export { Proxy__factory } from "./factories/Proxy__factory";
|
|
|
320
322
|
export { ITransparentUpgradeableProxy__factory } from "./factories/ITransparentUpgradeableProxy__factory";
|
|
321
323
|
export { TransparentUpgradeableProxy__factory } from "./factories/TransparentUpgradeableProxy__factory";
|
|
322
324
|
export { ERC20__factory } from "./factories/ERC20__factory";
|
|
323
|
-
export { ERC20Permit__factory } from "./factories/ERC20Permit__factory";
|
|
324
325
|
export { IERC20Metadata__factory } from "./factories/IERC20Metadata__factory";
|
|
325
326
|
export { IERC20Permit__factory } from "./factories/IERC20Permit__factory";
|
|
326
327
|
export { IERC20__factory } from "./factories/IERC20__factory";
|
|
327
|
-
export { EIP712__factory } from "./factories/EIP712__factory";
|
|
328
328
|
export { IERC165__factory } from "./factories/IERC165__factory";
|
|
329
|
-
export { ShortStrings__factory } from "./factories/ShortStrings__factory";
|
|
330
329
|
export { PendleERC20__factory } from "./factories/PendleERC20__factory";
|
|
331
330
|
export { BoringOwnableUpgradeableData__factory } from "./factories/BoringOwnableUpgradeableData__factory";
|
|
332
331
|
export { BoringOwnableUpgradeableV2__factory } from "./factories/BoringOwnableUpgradeableV2__factory";
|
|
@@ -345,15 +344,20 @@ export { PendlePTOFTAdapterFactory__factory } from "./factories/PendlePTOFTAdapt
|
|
|
345
344
|
export { FixedPricePTAMM__factory } from "./factories/FixedPricePTAMM__factory";
|
|
346
345
|
export { OFTAdapterImpl__factory } from "./factories/OFTAdapterImpl__factory";
|
|
347
346
|
export { PendleBridgedPrincipalToken__factory } from "./factories/PendleBridgedPrincipalToken__factory";
|
|
347
|
+
export { DepositBox__factory } from "./factories/DepositBox__factory";
|
|
348
|
+
export { PendleCrossChainSwapHub__factory } from "./factories/PendleCrossChainSwapHub__factory";
|
|
349
|
+
export { IPSwapExecutor__factory } from "./factories/IPSwapExecutor__factory";
|
|
350
|
+
export { SwapExecutor__factory } from "./factories/SwapExecutor__factory";
|
|
351
|
+
export { SwapHubBase__factory } from "./factories/SwapHubBase__factory";
|
|
348
352
|
export { PendleFeeDistributor__factory } from "./factories/PendleFeeDistributor__factory";
|
|
349
353
|
export { PendleFeeDistributorV2__factory } from "./factories/PendleFeeDistributorV2__factory";
|
|
350
354
|
export { IAddressProvider__factory } from "./factories/IAddressProvider__factory";
|
|
351
355
|
export { ILayerZeroEndpoint__factory } from "./factories/ILayerZeroEndpoint__factory";
|
|
352
356
|
export { ILPWrapper__factory } from "./factories/ILPWrapper__factory";
|
|
357
|
+
export { IMarketSweed__factory } from "./factories/IMarketSweed__factory";
|
|
353
358
|
export { IOwnable__factory } from "./factories/IOwnable__factory";
|
|
354
359
|
export { IPActionAddRemoveLiqV3__factory } from "./factories/IPActionAddRemoveLiqV3__factory";
|
|
355
360
|
export { IPActionCallbackV3__factory } from "./factories/IPActionCallbackV3__factory";
|
|
356
|
-
export { IPActionCrossChain__factory } from "./factories/IPActionCrossChain__factory";
|
|
357
361
|
export { IPActionInfoStatic__factory } from "./factories/IPActionInfoStatic__factory";
|
|
358
362
|
export { IPActionMarketAuxStatic__factory } from "./factories/IPActionMarketAuxStatic__factory";
|
|
359
363
|
export { IPActionMarketCoreStatic__factory } from "./factories/IPActionMarketCoreStatic__factory";
|
|
@@ -379,6 +383,8 @@ export { IPChainlinkOracleFactory__factory } from "./factories/IPChainlinkOracle
|
|
|
379
383
|
export { IPChainlinkOracleWithQuote__factory } from "./factories/IPChainlinkOracleWithQuote__factory";
|
|
380
384
|
export { IPCommonPoolDeployHelperV2__factory } from "./factories/IPCommonPoolDeployHelperV2__factory";
|
|
381
385
|
export { IPCommonSYFactory__factory } from "./factories/IPCommonSYFactory__factory";
|
|
386
|
+
export { IPCrossChainSwapHub__factory } from "./factories/IPCrossChainSwapHub__factory";
|
|
387
|
+
export { IPDepositBox__factory } from "./factories/IPDepositBox__factory";
|
|
382
388
|
export { IPExchangeRateOracle__factory } from "./factories/IPExchangeRateOracle__factory";
|
|
383
389
|
export { IPExchangeRateOracleApp__factory } from "./factories/IPExchangeRateOracleApp__factory";
|
|
384
390
|
export { IPFeeDistributor__factory } from "./factories/IPFeeDistributor__factory";
|
|
@@ -459,6 +465,7 @@ export { ExpiredLpPtRedeemer__factory } from "./factories/ExpiredLpPtRedeemer__f
|
|
|
459
465
|
export { LegacyNFTHelper__factory } from "./factories/LegacyNFTHelper__factory";
|
|
460
466
|
export { StarNFTV1__factory } from "./factories/StarNFTV1__factory";
|
|
461
467
|
export { LimitBackendHelperV2__factory } from "./factories/LimitBackendHelperV2__factory";
|
|
468
|
+
export { MarketSweed__factory } from "./factories/MarketSweed__factory";
|
|
462
469
|
export { Multicall2__factory } from "./factories/Multicall2__factory";
|
|
463
470
|
export { PendleExchangeRateOracle__factory } from "./factories/PendleExchangeRateOracle__factory";
|
|
464
471
|
export { PendleFeeSetter__factory } from "./factories/PendleFeeSetter__factory";
|
|
@@ -503,7 +510,6 @@ export { PendleLinearDiscountOracleWrapper__factory } from "./factories/PendleLi
|
|
|
503
510
|
export { PendleSparkLinearDiscountOracleFactoryWrapper__factory } from "./factories/PendleSparkLinearDiscountOracleFactoryWrapper__factory";
|
|
504
511
|
export { ActionAddRemoveLiqV3__factory } from "./factories/ActionAddRemoveLiqV3__factory";
|
|
505
512
|
export { ActionCallbackV3__factory } from "./factories/ActionCallbackV3__factory";
|
|
506
|
-
export { ActionCrossChain__factory } from "./factories/ActionCrossChain__factory";
|
|
507
513
|
export { ActionMiscV3__factory } from "./factories/ActionMiscV3__factory";
|
|
508
514
|
export { ActionSimple__factory } from "./factories/ActionSimple__factory";
|
|
509
515
|
export { ActionStorageV4__factory } from "./factories/ActionStorageV4__factory";
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import {
|
|
5
|
-
BaseContract,
|
|
6
|
-
BigNumber,
|
|
7
|
-
BigNumberish,
|
|
8
|
-
BytesLike,
|
|
9
|
-
CallOverrides,
|
|
10
|
-
ContractTransaction,
|
|
11
|
-
Overrides,
|
|
12
|
-
PopulatedTransaction,
|
|
13
|
-
Signer,
|
|
14
|
-
utils,
|
|
15
|
-
} from "ethers";
|
|
16
|
-
import { FunctionFragment, Result } from "@ethersproject/abi";
|
|
17
|
-
import { Listener, Provider } from "@ethersproject/providers";
|
|
18
|
-
import type {
|
|
19
|
-
TypedEventFilter,
|
|
20
|
-
TypedEvent,
|
|
21
|
-
TypedListener,
|
|
22
|
-
OnEvent,
|
|
23
|
-
} from "./common";
|
|
24
|
-
|
|
25
|
-
export type SwapDataStruct = {
|
|
26
|
-
swapType: BigNumberish;
|
|
27
|
-
extRouter: string;
|
|
28
|
-
extCalldata: BytesLike;
|
|
29
|
-
needScale: boolean;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
export type SwapDataStructOutput = [number, string, string, boolean] & {
|
|
33
|
-
swapType: number;
|
|
34
|
-
extRouter: string;
|
|
35
|
-
extCalldata: string;
|
|
36
|
-
needScale: boolean;
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
export type TokenOutputStruct = {
|
|
40
|
-
tokenOut: string;
|
|
41
|
-
minTokenOut: BigNumberish;
|
|
42
|
-
tokenRedeemSy: string;
|
|
43
|
-
pendleSwap: string;
|
|
44
|
-
swapData: SwapDataStruct;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
export type TokenOutputStructOutput = [
|
|
48
|
-
string,
|
|
49
|
-
BigNumber,
|
|
50
|
-
string,
|
|
51
|
-
string,
|
|
52
|
-
SwapDataStructOutput
|
|
53
|
-
] & {
|
|
54
|
-
tokenOut: string;
|
|
55
|
-
minTokenOut: BigNumber;
|
|
56
|
-
tokenRedeemSy: string;
|
|
57
|
-
pendleSwap: string;
|
|
58
|
-
swapData: SwapDataStructOutput;
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
export interface ActionCrossChainInterface extends utils.Interface {
|
|
62
|
-
contractName: "ActionCrossChain";
|
|
63
|
-
functions: {
|
|
64
|
-
"swapWithFixedPricePTAMM(address,address,address,uint256,(address,uint256,address,address,(uint8,address,bytes,bool)))": FunctionFragment;
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
encodeFunctionData(
|
|
68
|
-
functionFragment: "swapWithFixedPricePTAMM",
|
|
69
|
-
values: [string, string, string, BigNumberish, TokenOutputStruct]
|
|
70
|
-
): string;
|
|
71
|
-
|
|
72
|
-
decodeFunctionResult(
|
|
73
|
-
functionFragment: "swapWithFixedPricePTAMM",
|
|
74
|
-
data: BytesLike
|
|
75
|
-
): Result;
|
|
76
|
-
|
|
77
|
-
events: {};
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export interface ActionCrossChain extends BaseContract {
|
|
81
|
-
contractName: "ActionCrossChain";
|
|
82
|
-
connect(signerOrProvider: Signer | Provider | string): this;
|
|
83
|
-
attach(addressOrName: string): this;
|
|
84
|
-
deployed(): Promise<this>;
|
|
85
|
-
|
|
86
|
-
interface: ActionCrossChainInterface;
|
|
87
|
-
|
|
88
|
-
queryFilter<TEvent extends TypedEvent>(
|
|
89
|
-
event: TypedEventFilter<TEvent>,
|
|
90
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
91
|
-
toBlock?: string | number | undefined
|
|
92
|
-
): Promise<Array<TEvent>>;
|
|
93
|
-
|
|
94
|
-
listeners<TEvent extends TypedEvent>(
|
|
95
|
-
eventFilter?: TypedEventFilter<TEvent>
|
|
96
|
-
): Array<TypedListener<TEvent>>;
|
|
97
|
-
listeners(eventName?: string): Array<Listener>;
|
|
98
|
-
removeAllListeners<TEvent extends TypedEvent>(
|
|
99
|
-
eventFilter: TypedEventFilter<TEvent>
|
|
100
|
-
): this;
|
|
101
|
-
removeAllListeners(eventName?: string): this;
|
|
102
|
-
off: OnEvent<this>;
|
|
103
|
-
on: OnEvent<this>;
|
|
104
|
-
once: OnEvent<this>;
|
|
105
|
-
removeListener: OnEvent<this>;
|
|
106
|
-
|
|
107
|
-
functions: {
|
|
108
|
-
swapWithFixedPricePTAMM(
|
|
109
|
-
receiver: string,
|
|
110
|
-
fixedPricePTAMM: string,
|
|
111
|
-
PT: string,
|
|
112
|
-
exactPtIn: BigNumberish,
|
|
113
|
-
out: TokenOutputStruct,
|
|
114
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
115
|
-
): Promise<ContractTransaction>;
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
swapWithFixedPricePTAMM(
|
|
119
|
-
receiver: string,
|
|
120
|
-
fixedPricePTAMM: string,
|
|
121
|
-
PT: string,
|
|
122
|
-
exactPtIn: BigNumberish,
|
|
123
|
-
out: TokenOutputStruct,
|
|
124
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
125
|
-
): Promise<ContractTransaction>;
|
|
126
|
-
|
|
127
|
-
callStatic: {
|
|
128
|
-
swapWithFixedPricePTAMM(
|
|
129
|
-
receiver: string,
|
|
130
|
-
fixedPricePTAMM: string,
|
|
131
|
-
PT: string,
|
|
132
|
-
exactPtIn: BigNumberish,
|
|
133
|
-
out: TokenOutputStruct,
|
|
134
|
-
overrides?: CallOverrides
|
|
135
|
-
): Promise<BigNumber>;
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
filters: {};
|
|
139
|
-
|
|
140
|
-
estimateGas: {
|
|
141
|
-
swapWithFixedPricePTAMM(
|
|
142
|
-
receiver: string,
|
|
143
|
-
fixedPricePTAMM: string,
|
|
144
|
-
PT: string,
|
|
145
|
-
exactPtIn: BigNumberish,
|
|
146
|
-
out: TokenOutputStruct,
|
|
147
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
148
|
-
): Promise<BigNumber>;
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
populateTransaction: {
|
|
152
|
-
swapWithFixedPricePTAMM(
|
|
153
|
-
receiver: string,
|
|
154
|
-
fixedPricePTAMM: string,
|
|
155
|
-
PT: string,
|
|
156
|
-
exactPtIn: BigNumberish,
|
|
157
|
-
out: TokenOutputStruct,
|
|
158
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
159
|
-
): Promise<PopulatedTransaction>;
|
|
160
|
-
};
|
|
161
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import { BaseContract, Signer, utils } from "ethers";
|
|
5
|
-
|
|
6
|
-
import { Listener, Provider } from "@ethersproject/providers";
|
|
7
|
-
import type {
|
|
8
|
-
TypedEventFilter,
|
|
9
|
-
TypedEvent,
|
|
10
|
-
TypedListener,
|
|
11
|
-
OnEvent,
|
|
12
|
-
} from "./common";
|
|
13
|
-
|
|
14
|
-
export interface ActionDelegateBaseInterface extends utils.Interface {
|
|
15
|
-
contractName: "ActionDelegateBase";
|
|
16
|
-
functions: {};
|
|
17
|
-
|
|
18
|
-
events: {};
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export interface ActionDelegateBase extends BaseContract {
|
|
22
|
-
contractName: "ActionDelegateBase";
|
|
23
|
-
connect(signerOrProvider: Signer | Provider | string): this;
|
|
24
|
-
attach(addressOrName: string): this;
|
|
25
|
-
deployed(): Promise<this>;
|
|
26
|
-
|
|
27
|
-
interface: ActionDelegateBaseInterface;
|
|
28
|
-
|
|
29
|
-
queryFilter<TEvent extends TypedEvent>(
|
|
30
|
-
event: TypedEventFilter<TEvent>,
|
|
31
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
32
|
-
toBlock?: string | number | undefined
|
|
33
|
-
): Promise<Array<TEvent>>;
|
|
34
|
-
|
|
35
|
-
listeners<TEvent extends TypedEvent>(
|
|
36
|
-
eventFilter?: TypedEventFilter<TEvent>
|
|
37
|
-
): Array<TypedListener<TEvent>>;
|
|
38
|
-
listeners(eventName?: string): Array<Listener>;
|
|
39
|
-
removeAllListeners<TEvent extends TypedEvent>(
|
|
40
|
-
eventFilter: TypedEventFilter<TEvent>
|
|
41
|
-
): this;
|
|
42
|
-
removeAllListeners(eventName?: string): this;
|
|
43
|
-
off: OnEvent<this>;
|
|
44
|
-
on: OnEvent<this>;
|
|
45
|
-
once: OnEvent<this>;
|
|
46
|
-
removeListener: OnEvent<this>;
|
|
47
|
-
|
|
48
|
-
functions: {};
|
|
49
|
-
|
|
50
|
-
callStatic: {};
|
|
51
|
-
|
|
52
|
-
filters: {};
|
|
53
|
-
|
|
54
|
-
estimateGas: {};
|
|
55
|
-
|
|
56
|
-
populateTransaction: {};
|
|
57
|
-
}
|