@pendle/core-v2 6.3.2-swaphubtest → 6.3.2-swaphubtest3
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 +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +143 -262
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.json +141 -260
- package/build/artifacts/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol/IPSwapExecutor.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol/SwapExecutor.dbg.json +1 -1
- package/build/artifacts/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol/SwapExecutor.json +2 -2
- 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 +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/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 +1 -1
- package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.json +140 -259
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +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 +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/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/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol +81 -68
- package/contracts/cross-chain/swap-hub/SwapHubBase.sol +56 -95
- package/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol +2 -7
- package/contracts/interfaces/IPCrossChainSwapHub.sol +34 -51
- package/package.json +1 -1
- package/typechain-types/IPCrossChainSwapHub.ts +172 -295
- package/typechain-types/PendleCrossChainSwapHub.ts +172 -295
- package/typechain-types/SwapHubBase.ts +172 -295
- package/typechain-types/factories/IPCrossChainSwapHub__factory.ts +140 -261
- package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +142 -263
- package/typechain-types/factories/SwapExecutor__factory.ts +1 -1
- package/typechain-types/factories/SwapHubBase__factory.ts +141 -262
|
@@ -7,31 +7,11 @@ import { Provider } from "@ethersproject/providers";
|
|
|
7
7
|
import type { SwapHubBase, SwapHubBaseInterface } from "../SwapHubBase";
|
|
8
8
|
|
|
9
9
|
const _abi = [
|
|
10
|
-
{
|
|
11
|
-
inputs: [],
|
|
12
|
-
name: "ExcessiveNativeFee",
|
|
13
|
-
type: "error",
|
|
14
|
-
},
|
|
15
10
|
{
|
|
16
11
|
inputs: [],
|
|
17
12
|
name: "InsufficientTokenReceived",
|
|
18
13
|
type: "error",
|
|
19
14
|
},
|
|
20
|
-
{
|
|
21
|
-
inputs: [],
|
|
22
|
-
name: "IntentExecuted",
|
|
23
|
-
type: "error",
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
inputs: [],
|
|
27
|
-
name: "IntentHashMismatch",
|
|
28
|
-
type: "error",
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
inputs: [],
|
|
32
|
-
name: "InvalidAmountIn",
|
|
33
|
-
type: "error",
|
|
34
|
-
},
|
|
35
15
|
{
|
|
36
16
|
inputs: [],
|
|
37
17
|
name: "InvalidNonce",
|
|
@@ -39,12 +19,12 @@ const _abi = [
|
|
|
39
19
|
},
|
|
40
20
|
{
|
|
41
21
|
inputs: [],
|
|
42
|
-
name: "
|
|
22
|
+
name: "InvalidReceiver",
|
|
43
23
|
type: "error",
|
|
44
24
|
},
|
|
45
25
|
{
|
|
46
26
|
inputs: [],
|
|
47
|
-
name: "
|
|
27
|
+
name: "InvalidSignature",
|
|
48
28
|
type: "error",
|
|
49
29
|
},
|
|
50
30
|
{
|
|
@@ -82,15 +62,21 @@ const _abi = [
|
|
|
82
62
|
{
|
|
83
63
|
indexed: false,
|
|
84
64
|
internalType: "uint256",
|
|
85
|
-
name: "
|
|
65
|
+
name: "amountBridge",
|
|
86
66
|
type: "uint256",
|
|
87
67
|
},
|
|
88
68
|
{
|
|
89
69
|
indexed: false,
|
|
90
70
|
internalType: "uint256",
|
|
91
|
-
name: "
|
|
71
|
+
name: "amountFee",
|
|
92
72
|
type: "uint256",
|
|
93
73
|
},
|
|
74
|
+
{
|
|
75
|
+
indexed: false,
|
|
76
|
+
internalType: "bool",
|
|
77
|
+
name: "pullFromOwner",
|
|
78
|
+
type: "bool",
|
|
79
|
+
},
|
|
94
80
|
],
|
|
95
81
|
name: "BridgeToken",
|
|
96
82
|
type: "event",
|
|
@@ -110,12 +96,6 @@ const _abi = [
|
|
|
110
96
|
name: "boxId",
|
|
111
97
|
type: "uint32",
|
|
112
98
|
},
|
|
113
|
-
{
|
|
114
|
-
indexed: false,
|
|
115
|
-
internalType: "bytes32",
|
|
116
|
-
name: "intentHash",
|
|
117
|
-
type: "bytes32",
|
|
118
|
-
},
|
|
119
99
|
{
|
|
120
100
|
indexed: false,
|
|
121
101
|
internalType: "address",
|
|
@@ -128,16 +108,22 @@ const _abi = [
|
|
|
128
108
|
name: "amountSpent",
|
|
129
109
|
type: "uint256",
|
|
130
110
|
},
|
|
111
|
+
{
|
|
112
|
+
indexed: false,
|
|
113
|
+
internalType: "uint256",
|
|
114
|
+
name: "amountFee",
|
|
115
|
+
type: "uint256",
|
|
116
|
+
},
|
|
131
117
|
{
|
|
132
118
|
indexed: false,
|
|
133
119
|
internalType: "address",
|
|
134
|
-
name: "
|
|
120
|
+
name: "ptAdapter",
|
|
135
121
|
type: "address",
|
|
136
122
|
},
|
|
137
123
|
{
|
|
138
124
|
indexed: false,
|
|
139
125
|
internalType: "address",
|
|
140
|
-
name: "
|
|
126
|
+
name: "pt",
|
|
141
127
|
type: "address",
|
|
142
128
|
},
|
|
143
129
|
{
|
|
@@ -146,6 +132,12 @@ const _abi = [
|
|
|
146
132
|
name: "netPtReceived",
|
|
147
133
|
type: "uint256",
|
|
148
134
|
},
|
|
135
|
+
{
|
|
136
|
+
indexed: false,
|
|
137
|
+
internalType: "bool",
|
|
138
|
+
name: "pullFromOwner",
|
|
139
|
+
type: "bool",
|
|
140
|
+
},
|
|
149
141
|
],
|
|
150
142
|
name: "BuyCrossChainPt",
|
|
151
143
|
type: "event",
|
|
@@ -207,25 +199,6 @@ const _abi = [
|
|
|
207
199
|
name: "SetExecutor",
|
|
208
200
|
type: "event",
|
|
209
201
|
},
|
|
210
|
-
{
|
|
211
|
-
anonymous: false,
|
|
212
|
-
inputs: [
|
|
213
|
-
{
|
|
214
|
-
indexed: true,
|
|
215
|
-
internalType: "address",
|
|
216
|
-
name: "validator",
|
|
217
|
-
type: "address",
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
indexed: false,
|
|
221
|
-
internalType: "bool",
|
|
222
|
-
name: "isValidator",
|
|
223
|
-
type: "bool",
|
|
224
|
-
},
|
|
225
|
-
],
|
|
226
|
-
name: "SetValidator",
|
|
227
|
-
type: "event",
|
|
228
|
-
},
|
|
229
202
|
{
|
|
230
203
|
anonymous: false,
|
|
231
204
|
inputs: [
|
|
@@ -253,6 +226,12 @@ const _abi = [
|
|
|
253
226
|
name: "amountSpent",
|
|
254
227
|
type: "uint256",
|
|
255
228
|
},
|
|
229
|
+
{
|
|
230
|
+
indexed: false,
|
|
231
|
+
internalType: "uint256",
|
|
232
|
+
name: "amountFee",
|
|
233
|
+
type: "uint256",
|
|
234
|
+
},
|
|
256
235
|
{
|
|
257
236
|
indexed: false,
|
|
258
237
|
internalType: "address",
|
|
@@ -265,6 +244,18 @@ const _abi = [
|
|
|
265
244
|
name: "netTokenReceived",
|
|
266
245
|
type: "uint256",
|
|
267
246
|
},
|
|
247
|
+
{
|
|
248
|
+
indexed: false,
|
|
249
|
+
internalType: "bool",
|
|
250
|
+
name: "pullFromOwner",
|
|
251
|
+
type: "bool",
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
indexed: false,
|
|
255
|
+
internalType: "bool",
|
|
256
|
+
name: "sendToOwner",
|
|
257
|
+
type: "bool",
|
|
258
|
+
},
|
|
268
259
|
],
|
|
269
260
|
name: "SwapToken",
|
|
270
261
|
type: "event",
|
|
@@ -284,12 +275,6 @@ const _abi = [
|
|
|
284
275
|
name: "boxId",
|
|
285
276
|
type: "uint32",
|
|
286
277
|
},
|
|
287
|
-
{
|
|
288
|
-
indexed: false,
|
|
289
|
-
internalType: "address",
|
|
290
|
-
name: "receiver",
|
|
291
|
-
type: "address",
|
|
292
|
-
},
|
|
293
278
|
{
|
|
294
279
|
indexed: false,
|
|
295
280
|
internalType: "address",
|
|
@@ -299,13 +284,13 @@ const _abi = [
|
|
|
299
284
|
{
|
|
300
285
|
indexed: false,
|
|
301
286
|
internalType: "uint256",
|
|
302
|
-
name: "
|
|
287
|
+
name: "amountWithdraw",
|
|
303
288
|
type: "uint256",
|
|
304
289
|
},
|
|
305
290
|
{
|
|
306
291
|
indexed: false,
|
|
307
292
|
internalType: "uint256",
|
|
308
|
-
name: "
|
|
293
|
+
name: "amountFee",
|
|
309
294
|
type: "uint256",
|
|
310
295
|
},
|
|
311
296
|
],
|
|
@@ -382,14 +367,19 @@ const _abi = [
|
|
|
382
367
|
},
|
|
383
368
|
{
|
|
384
369
|
internalType: "uint256",
|
|
385
|
-
name: "
|
|
370
|
+
name: "amountBridge",
|
|
386
371
|
type: "uint256",
|
|
387
372
|
},
|
|
388
373
|
{
|
|
389
374
|
internalType: "uint256",
|
|
390
|
-
name: "
|
|
375
|
+
name: "amountFee",
|
|
391
376
|
type: "uint256",
|
|
392
377
|
},
|
|
378
|
+
{
|
|
379
|
+
internalType: "bool",
|
|
380
|
+
name: "pullFromOwner",
|
|
381
|
+
type: "bool",
|
|
382
|
+
},
|
|
393
383
|
{
|
|
394
384
|
internalType: "address",
|
|
395
385
|
name: "bridgeExtRouter",
|
|
@@ -432,12 +422,12 @@ const _abi = [
|
|
|
432
422
|
},
|
|
433
423
|
{
|
|
434
424
|
internalType: "uint256",
|
|
435
|
-
name: "
|
|
425
|
+
name: "expiry",
|
|
436
426
|
type: "uint256",
|
|
437
427
|
},
|
|
438
428
|
{
|
|
439
429
|
internalType: "uint256",
|
|
440
|
-
name: "
|
|
430
|
+
name: "nonce",
|
|
441
431
|
type: "uint256",
|
|
442
432
|
},
|
|
443
433
|
{
|
|
@@ -447,13 +437,13 @@ const _abi = [
|
|
|
447
437
|
},
|
|
448
438
|
{
|
|
449
439
|
internalType: "uint256",
|
|
450
|
-
name: "
|
|
440
|
+
name: "amountSpent",
|
|
451
441
|
type: "uint256",
|
|
452
442
|
},
|
|
453
443
|
{
|
|
454
|
-
internalType: "
|
|
455
|
-
name: "
|
|
456
|
-
type: "
|
|
444
|
+
internalType: "uint256",
|
|
445
|
+
name: "amountFee",
|
|
446
|
+
type: "uint256",
|
|
457
447
|
},
|
|
458
448
|
{
|
|
459
449
|
internalType: "address",
|
|
@@ -467,7 +457,7 @@ const _abi = [
|
|
|
467
457
|
},
|
|
468
458
|
{
|
|
469
459
|
internalType: "uint32",
|
|
470
|
-
name: "
|
|
460
|
+
name: "dstEid",
|
|
471
461
|
type: "uint32",
|
|
472
462
|
},
|
|
473
463
|
{
|
|
@@ -475,37 +465,10 @@ const _abi = [
|
|
|
475
465
|
name: "receiver",
|
|
476
466
|
type: "bytes32",
|
|
477
467
|
},
|
|
478
|
-
],
|
|
479
|
-
internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtIntent",
|
|
480
|
-
name: "intent",
|
|
481
|
-
type: "tuple",
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
internalType: "bytes",
|
|
485
|
-
name: "intentSig",
|
|
486
|
-
type: "bytes",
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
components: [
|
|
490
|
-
{
|
|
491
|
-
internalType: "address",
|
|
492
|
-
name: "validator",
|
|
493
|
-
type: "address",
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
internalType: "bytes32",
|
|
497
|
-
name: "intentHash",
|
|
498
|
-
type: "bytes32",
|
|
499
|
-
},
|
|
500
468
|
{
|
|
501
|
-
internalType: "
|
|
502
|
-
name: "
|
|
503
|
-
type: "
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
internalType: "uint256",
|
|
507
|
-
name: "feeAmount",
|
|
508
|
-
type: "uint256",
|
|
469
|
+
internalType: "bool",
|
|
470
|
+
name: "pullFromOwner",
|
|
471
|
+
type: "bool",
|
|
509
472
|
},
|
|
510
473
|
{
|
|
511
474
|
internalType: "address",
|
|
@@ -522,20 +485,14 @@ const _abi = [
|
|
|
522
485
|
name: "swapCalldata",
|
|
523
486
|
type: "bytes",
|
|
524
487
|
},
|
|
525
|
-
{
|
|
526
|
-
internalType: "uint256",
|
|
527
|
-
name: "expiry",
|
|
528
|
-
type: "uint256",
|
|
529
|
-
},
|
|
530
488
|
],
|
|
531
|
-
internalType:
|
|
532
|
-
|
|
533
|
-
name: "execMsg",
|
|
489
|
+
internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
|
|
490
|
+
name: "message",
|
|
534
491
|
type: "tuple",
|
|
535
492
|
},
|
|
536
493
|
{
|
|
537
494
|
internalType: "bytes",
|
|
538
|
-
name: "
|
|
495
|
+
name: "signature",
|
|
539
496
|
type: "bytes",
|
|
540
497
|
},
|
|
541
498
|
],
|
|
@@ -576,6 +533,11 @@ const _abi = [
|
|
|
576
533
|
name: "salt",
|
|
577
534
|
type: "bytes32",
|
|
578
535
|
},
|
|
536
|
+
{
|
|
537
|
+
internalType: "bool",
|
|
538
|
+
name: "deployed",
|
|
539
|
+
type: "bool",
|
|
540
|
+
},
|
|
579
541
|
],
|
|
580
542
|
stateMutability: "view",
|
|
581
543
|
type: "function",
|
|
@@ -657,6 +619,11 @@ const _abi = [
|
|
|
657
619
|
name: "amountSpent",
|
|
658
620
|
type: "uint256",
|
|
659
621
|
},
|
|
622
|
+
{
|
|
623
|
+
internalType: "uint256",
|
|
624
|
+
name: "amountFee",
|
|
625
|
+
type: "uint256",
|
|
626
|
+
},
|
|
660
627
|
{
|
|
661
628
|
internalType: "address",
|
|
662
629
|
name: "tokenReceived",
|
|
@@ -668,9 +635,14 @@ const _abi = [
|
|
|
668
635
|
type: "uint256",
|
|
669
636
|
},
|
|
670
637
|
{
|
|
671
|
-
internalType: "
|
|
672
|
-
name: "
|
|
673
|
-
type: "
|
|
638
|
+
internalType: "bool",
|
|
639
|
+
name: "pullFromOwner",
|
|
640
|
+
type: "bool",
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
internalType: "bool",
|
|
644
|
+
name: "sendToOwner",
|
|
645
|
+
type: "bool",
|
|
674
646
|
},
|
|
675
647
|
{
|
|
676
648
|
internalType: "address",
|
|
@@ -710,47 +682,41 @@ const _abi = [
|
|
|
710
682
|
components: [
|
|
711
683
|
{
|
|
712
684
|
internalType: "address",
|
|
713
|
-
name: "
|
|
685
|
+
name: "owner",
|
|
714
686
|
type: "address",
|
|
715
687
|
},
|
|
716
688
|
{
|
|
717
|
-
internalType: "
|
|
718
|
-
name: "
|
|
719
|
-
type: "
|
|
689
|
+
internalType: "uint32",
|
|
690
|
+
name: "boxId",
|
|
691
|
+
type: "uint32",
|
|
720
692
|
},
|
|
721
693
|
{
|
|
722
694
|
internalType: "uint256",
|
|
723
|
-
name: "
|
|
695
|
+
name: "expiry",
|
|
724
696
|
type: "uint256",
|
|
725
697
|
},
|
|
726
698
|
{
|
|
727
699
|
internalType: "uint256",
|
|
728
|
-
name: "
|
|
700
|
+
name: "nonce",
|
|
729
701
|
type: "uint256",
|
|
730
702
|
},
|
|
731
703
|
{
|
|
732
704
|
internalType: "address",
|
|
733
|
-
name: "
|
|
734
|
-
type: "address",
|
|
735
|
-
},
|
|
736
|
-
{
|
|
737
|
-
internalType: "address",
|
|
738
|
-
name: "swapExtRouter",
|
|
705
|
+
name: "token",
|
|
739
706
|
type: "address",
|
|
740
707
|
},
|
|
741
708
|
{
|
|
742
|
-
internalType: "
|
|
743
|
-
name: "
|
|
744
|
-
type: "
|
|
709
|
+
internalType: "uint256",
|
|
710
|
+
name: "amountWithdraw",
|
|
711
|
+
type: "uint256",
|
|
745
712
|
},
|
|
746
713
|
{
|
|
747
714
|
internalType: "uint256",
|
|
748
|
-
name: "
|
|
715
|
+
name: "amountFee",
|
|
749
716
|
type: "uint256",
|
|
750
717
|
},
|
|
751
718
|
],
|
|
752
|
-
internalType:
|
|
753
|
-
"struct IPCrossChainSwapHub.ExecuteBuyCrossChainPtMessage",
|
|
719
|
+
internalType: "struct IPCrossChainSwapHub.WithdrawTokenMessage",
|
|
754
720
|
name: "message",
|
|
755
721
|
type: "tuple",
|
|
756
722
|
},
|
|
@@ -782,12 +748,12 @@ const _abi = [
|
|
|
782
748
|
},
|
|
783
749
|
{
|
|
784
750
|
internalType: "uint256",
|
|
785
|
-
name: "
|
|
751
|
+
name: "expiry",
|
|
786
752
|
type: "uint256",
|
|
787
753
|
},
|
|
788
754
|
{
|
|
789
755
|
internalType: "uint256",
|
|
790
|
-
name: "
|
|
756
|
+
name: "nonce",
|
|
791
757
|
type: "uint256",
|
|
792
758
|
},
|
|
793
759
|
{
|
|
@@ -797,13 +763,13 @@ const _abi = [
|
|
|
797
763
|
},
|
|
798
764
|
{
|
|
799
765
|
internalType: "uint256",
|
|
800
|
-
name: "
|
|
766
|
+
name: "amountSpent",
|
|
801
767
|
type: "uint256",
|
|
802
768
|
},
|
|
803
769
|
{
|
|
804
|
-
internalType: "
|
|
805
|
-
name: "
|
|
806
|
-
type: "
|
|
770
|
+
internalType: "uint256",
|
|
771
|
+
name: "amountFee",
|
|
772
|
+
type: "uint256",
|
|
807
773
|
},
|
|
808
774
|
{
|
|
809
775
|
internalType: "address",
|
|
@@ -817,7 +783,7 @@ const _abi = [
|
|
|
817
783
|
},
|
|
818
784
|
{
|
|
819
785
|
internalType: "uint32",
|
|
820
|
-
name: "
|
|
786
|
+
name: "dstEid",
|
|
821
787
|
type: "uint32",
|
|
822
788
|
},
|
|
823
789
|
{
|
|
@@ -825,74 +791,28 @@ const _abi = [
|
|
|
825
791
|
name: "receiver",
|
|
826
792
|
type: "bytes32",
|
|
827
793
|
},
|
|
828
|
-
],
|
|
829
|
-
internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtIntent",
|
|
830
|
-
name: "intent",
|
|
831
|
-
type: "tuple",
|
|
832
|
-
},
|
|
833
|
-
],
|
|
834
|
-
name: "hashTypedData",
|
|
835
|
-
outputs: [
|
|
836
|
-
{
|
|
837
|
-
internalType: "bytes32",
|
|
838
|
-
name: "",
|
|
839
|
-
type: "bytes32",
|
|
840
|
-
},
|
|
841
|
-
],
|
|
842
|
-
stateMutability: "view",
|
|
843
|
-
type: "function",
|
|
844
|
-
},
|
|
845
|
-
{
|
|
846
|
-
inputs: [
|
|
847
|
-
{
|
|
848
|
-
components: [
|
|
849
|
-
{
|
|
850
|
-
internalType: "address",
|
|
851
|
-
name: "owner",
|
|
852
|
-
type: "address",
|
|
853
|
-
},
|
|
854
|
-
{
|
|
855
|
-
internalType: "uint32",
|
|
856
|
-
name: "boxId",
|
|
857
|
-
type: "uint32",
|
|
858
|
-
},
|
|
859
794
|
{
|
|
860
|
-
internalType: "
|
|
861
|
-
name: "
|
|
862
|
-
type: "
|
|
863
|
-
},
|
|
864
|
-
{
|
|
865
|
-
internalType: "uint256",
|
|
866
|
-
name: "nonce",
|
|
867
|
-
type: "uint256",
|
|
795
|
+
internalType: "bool",
|
|
796
|
+
name: "pullFromOwner",
|
|
797
|
+
type: "bool",
|
|
868
798
|
},
|
|
869
799
|
{
|
|
870
800
|
internalType: "address",
|
|
871
|
-
name: "
|
|
801
|
+
name: "swapExecutor",
|
|
872
802
|
type: "address",
|
|
873
803
|
},
|
|
874
|
-
{
|
|
875
|
-
internalType: "uint256",
|
|
876
|
-
name: "bridgeAmount",
|
|
877
|
-
type: "uint256",
|
|
878
|
-
},
|
|
879
|
-
{
|
|
880
|
-
internalType: "uint256",
|
|
881
|
-
name: "feeAmount",
|
|
882
|
-
type: "uint256",
|
|
883
|
-
},
|
|
884
804
|
{
|
|
885
805
|
internalType: "address",
|
|
886
|
-
name: "
|
|
806
|
+
name: "swapExtRouter",
|
|
887
807
|
type: "address",
|
|
888
808
|
},
|
|
889
809
|
{
|
|
890
810
|
internalType: "bytes",
|
|
891
|
-
name: "
|
|
811
|
+
name: "swapCalldata",
|
|
892
812
|
type: "bytes",
|
|
893
813
|
},
|
|
894
814
|
],
|
|
895
|
-
internalType: "struct IPCrossChainSwapHub.
|
|
815
|
+
internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
|
|
896
816
|
name: "message",
|
|
897
817
|
type: "tuple",
|
|
898
818
|
},
|
|
@@ -932,11 +852,6 @@ const _abi = [
|
|
|
932
852
|
name: "nonce",
|
|
933
853
|
type: "uint256",
|
|
934
854
|
},
|
|
935
|
-
{
|
|
936
|
-
internalType: "address",
|
|
937
|
-
name: "receiver",
|
|
938
|
-
type: "address",
|
|
939
|
-
},
|
|
940
855
|
{
|
|
941
856
|
internalType: "address",
|
|
942
857
|
name: "token",
|
|
@@ -944,16 +859,31 @@ const _abi = [
|
|
|
944
859
|
},
|
|
945
860
|
{
|
|
946
861
|
internalType: "uint256",
|
|
947
|
-
name: "
|
|
862
|
+
name: "amountBridge",
|
|
948
863
|
type: "uint256",
|
|
949
864
|
},
|
|
950
865
|
{
|
|
951
866
|
internalType: "uint256",
|
|
952
|
-
name: "
|
|
867
|
+
name: "amountFee",
|
|
953
868
|
type: "uint256",
|
|
954
869
|
},
|
|
870
|
+
{
|
|
871
|
+
internalType: "bool",
|
|
872
|
+
name: "pullFromOwner",
|
|
873
|
+
type: "bool",
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
internalType: "address",
|
|
877
|
+
name: "bridgeExtRouter",
|
|
878
|
+
type: "address",
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
internalType: "bytes",
|
|
882
|
+
name: "bridgeCalldata",
|
|
883
|
+
type: "bytes",
|
|
884
|
+
},
|
|
955
885
|
],
|
|
956
|
-
internalType: "struct IPCrossChainSwapHub.
|
|
886
|
+
internalType: "struct IPCrossChainSwapHub.BridgeTokenMessage",
|
|
957
887
|
name: "message",
|
|
958
888
|
type: "tuple",
|
|
959
889
|
},
|
|
@@ -988,44 +918,6 @@ const _abi = [
|
|
|
988
918
|
stateMutability: "view",
|
|
989
919
|
type: "function",
|
|
990
920
|
},
|
|
991
|
-
{
|
|
992
|
-
inputs: [
|
|
993
|
-
{
|
|
994
|
-
internalType: "bytes32",
|
|
995
|
-
name: "intentHash",
|
|
996
|
-
type: "bytes32",
|
|
997
|
-
},
|
|
998
|
-
],
|
|
999
|
-
name: "isIntentExecuted",
|
|
1000
|
-
outputs: [
|
|
1001
|
-
{
|
|
1002
|
-
internalType: "bool",
|
|
1003
|
-
name: "",
|
|
1004
|
-
type: "bool",
|
|
1005
|
-
},
|
|
1006
|
-
],
|
|
1007
|
-
stateMutability: "view",
|
|
1008
|
-
type: "function",
|
|
1009
|
-
},
|
|
1010
|
-
{
|
|
1011
|
-
inputs: [
|
|
1012
|
-
{
|
|
1013
|
-
internalType: "address",
|
|
1014
|
-
name: "validator",
|
|
1015
|
-
type: "address",
|
|
1016
|
-
},
|
|
1017
|
-
],
|
|
1018
|
-
name: "isValidator",
|
|
1019
|
-
outputs: [
|
|
1020
|
-
{
|
|
1021
|
-
internalType: "bool",
|
|
1022
|
-
name: "",
|
|
1023
|
-
type: "bool",
|
|
1024
|
-
},
|
|
1025
|
-
],
|
|
1026
|
-
stateMutability: "view",
|
|
1027
|
-
type: "function",
|
|
1028
|
-
},
|
|
1029
921
|
{
|
|
1030
922
|
inputs: [],
|
|
1031
923
|
name: "owner",
|
|
@@ -1089,24 +981,6 @@ const _abi = [
|
|
|
1089
981
|
stateMutability: "nonpayable",
|
|
1090
982
|
type: "function",
|
|
1091
983
|
},
|
|
1092
|
-
{
|
|
1093
|
-
inputs: [
|
|
1094
|
-
{
|
|
1095
|
-
internalType: "address",
|
|
1096
|
-
name: "validator",
|
|
1097
|
-
type: "address",
|
|
1098
|
-
},
|
|
1099
|
-
{
|
|
1100
|
-
internalType: "bool",
|
|
1101
|
-
name: "isValidator_",
|
|
1102
|
-
type: "bool",
|
|
1103
|
-
},
|
|
1104
|
-
],
|
|
1105
|
-
name: "setValidator",
|
|
1106
|
-
outputs: [],
|
|
1107
|
-
stateMutability: "nonpayable",
|
|
1108
|
-
type: "function",
|
|
1109
|
-
},
|
|
1110
984
|
{
|
|
1111
985
|
inputs: [
|
|
1112
986
|
{
|
|
@@ -1141,6 +1015,11 @@ const _abi = [
|
|
|
1141
1015
|
name: "amountSpent",
|
|
1142
1016
|
type: "uint256",
|
|
1143
1017
|
},
|
|
1018
|
+
{
|
|
1019
|
+
internalType: "uint256",
|
|
1020
|
+
name: "amountFee",
|
|
1021
|
+
type: "uint256",
|
|
1022
|
+
},
|
|
1144
1023
|
{
|
|
1145
1024
|
internalType: "address",
|
|
1146
1025
|
name: "tokenReceived",
|
|
@@ -1152,9 +1031,14 @@ const _abi = [
|
|
|
1152
1031
|
type: "uint256",
|
|
1153
1032
|
},
|
|
1154
1033
|
{
|
|
1155
|
-
internalType: "
|
|
1156
|
-
name: "
|
|
1157
|
-
type: "
|
|
1034
|
+
internalType: "bool",
|
|
1035
|
+
name: "pullFromOwner",
|
|
1036
|
+
type: "bool",
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
internalType: "bool",
|
|
1040
|
+
name: "sendToOwner",
|
|
1041
|
+
type: "bool",
|
|
1158
1042
|
},
|
|
1159
1043
|
{
|
|
1160
1044
|
internalType: "address",
|
|
@@ -1234,11 +1118,6 @@ const _abi = [
|
|
|
1234
1118
|
name: "nonce",
|
|
1235
1119
|
type: "uint256",
|
|
1236
1120
|
},
|
|
1237
|
-
{
|
|
1238
|
-
internalType: "address",
|
|
1239
|
-
name: "receiver",
|
|
1240
|
-
type: "address",
|
|
1241
|
-
},
|
|
1242
1121
|
{
|
|
1243
1122
|
internalType: "address",
|
|
1244
1123
|
name: "token",
|
|
@@ -1246,12 +1125,12 @@ const _abi = [
|
|
|
1246
1125
|
},
|
|
1247
1126
|
{
|
|
1248
1127
|
internalType: "uint256",
|
|
1249
|
-
name: "
|
|
1128
|
+
name: "amountWithdraw",
|
|
1250
1129
|
type: "uint256",
|
|
1251
1130
|
},
|
|
1252
1131
|
{
|
|
1253
1132
|
internalType: "uint256",
|
|
1254
|
-
name: "
|
|
1133
|
+
name: "amountFee",
|
|
1255
1134
|
type: "uint256",
|
|
1256
1135
|
},
|
|
1257
1136
|
],
|