@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
|
@@ -10,31 +10,11 @@ import type {
|
|
|
10
10
|
} from "../IPCrossChainSwapHub";
|
|
11
11
|
|
|
12
12
|
const _abi = [
|
|
13
|
-
{
|
|
14
|
-
inputs: [],
|
|
15
|
-
name: "ExcessiveNativeFee",
|
|
16
|
-
type: "error",
|
|
17
|
-
},
|
|
18
13
|
{
|
|
19
14
|
inputs: [],
|
|
20
15
|
name: "InsufficientTokenReceived",
|
|
21
16
|
type: "error",
|
|
22
17
|
},
|
|
23
|
-
{
|
|
24
|
-
inputs: [],
|
|
25
|
-
name: "IntentExecuted",
|
|
26
|
-
type: "error",
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
inputs: [],
|
|
30
|
-
name: "IntentHashMismatch",
|
|
31
|
-
type: "error",
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
inputs: [],
|
|
35
|
-
name: "InvalidAmountIn",
|
|
36
|
-
type: "error",
|
|
37
|
-
},
|
|
38
18
|
{
|
|
39
19
|
inputs: [],
|
|
40
20
|
name: "InvalidNonce",
|
|
@@ -42,12 +22,12 @@ const _abi = [
|
|
|
42
22
|
},
|
|
43
23
|
{
|
|
44
24
|
inputs: [],
|
|
45
|
-
name: "
|
|
25
|
+
name: "InvalidReceiver",
|
|
46
26
|
type: "error",
|
|
47
27
|
},
|
|
48
28
|
{
|
|
49
29
|
inputs: [],
|
|
50
|
-
name: "
|
|
30
|
+
name: "InvalidSignature",
|
|
51
31
|
type: "error",
|
|
52
32
|
},
|
|
53
33
|
{
|
|
@@ -85,15 +65,21 @@ const _abi = [
|
|
|
85
65
|
{
|
|
86
66
|
indexed: false,
|
|
87
67
|
internalType: "uint256",
|
|
88
|
-
name: "
|
|
68
|
+
name: "amountBridge",
|
|
89
69
|
type: "uint256",
|
|
90
70
|
},
|
|
91
71
|
{
|
|
92
72
|
indexed: false,
|
|
93
73
|
internalType: "uint256",
|
|
94
|
-
name: "
|
|
74
|
+
name: "amountFee",
|
|
95
75
|
type: "uint256",
|
|
96
76
|
},
|
|
77
|
+
{
|
|
78
|
+
indexed: false,
|
|
79
|
+
internalType: "bool",
|
|
80
|
+
name: "pullFromOwner",
|
|
81
|
+
type: "bool",
|
|
82
|
+
},
|
|
97
83
|
],
|
|
98
84
|
name: "BridgeToken",
|
|
99
85
|
type: "event",
|
|
@@ -113,12 +99,6 @@ const _abi = [
|
|
|
113
99
|
name: "boxId",
|
|
114
100
|
type: "uint32",
|
|
115
101
|
},
|
|
116
|
-
{
|
|
117
|
-
indexed: false,
|
|
118
|
-
internalType: "bytes32",
|
|
119
|
-
name: "intentHash",
|
|
120
|
-
type: "bytes32",
|
|
121
|
-
},
|
|
122
102
|
{
|
|
123
103
|
indexed: false,
|
|
124
104
|
internalType: "address",
|
|
@@ -131,16 +111,22 @@ const _abi = [
|
|
|
131
111
|
name: "amountSpent",
|
|
132
112
|
type: "uint256",
|
|
133
113
|
},
|
|
114
|
+
{
|
|
115
|
+
indexed: false,
|
|
116
|
+
internalType: "uint256",
|
|
117
|
+
name: "amountFee",
|
|
118
|
+
type: "uint256",
|
|
119
|
+
},
|
|
134
120
|
{
|
|
135
121
|
indexed: false,
|
|
136
122
|
internalType: "address",
|
|
137
|
-
name: "
|
|
123
|
+
name: "ptAdapter",
|
|
138
124
|
type: "address",
|
|
139
125
|
},
|
|
140
126
|
{
|
|
141
127
|
indexed: false,
|
|
142
128
|
internalType: "address",
|
|
143
|
-
name: "
|
|
129
|
+
name: "pt",
|
|
144
130
|
type: "address",
|
|
145
131
|
},
|
|
146
132
|
{
|
|
@@ -149,27 +135,14 @@ const _abi = [
|
|
|
149
135
|
name: "netPtReceived",
|
|
150
136
|
type: "uint256",
|
|
151
137
|
},
|
|
152
|
-
],
|
|
153
|
-
name: "BuyCrossChainPt",
|
|
154
|
-
type: "event",
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
anonymous: false,
|
|
158
|
-
inputs: [
|
|
159
|
-
{
|
|
160
|
-
indexed: true,
|
|
161
|
-
internalType: "address",
|
|
162
|
-
name: "executor",
|
|
163
|
-
type: "address",
|
|
164
|
-
},
|
|
165
138
|
{
|
|
166
139
|
indexed: false,
|
|
167
140
|
internalType: "bool",
|
|
168
|
-
name: "
|
|
141
|
+
name: "pullFromOwner",
|
|
169
142
|
type: "bool",
|
|
170
143
|
},
|
|
171
144
|
],
|
|
172
|
-
name: "
|
|
145
|
+
name: "BuyCrossChainPt",
|
|
173
146
|
type: "event",
|
|
174
147
|
},
|
|
175
148
|
{
|
|
@@ -178,17 +151,17 @@ const _abi = [
|
|
|
178
151
|
{
|
|
179
152
|
indexed: true,
|
|
180
153
|
internalType: "address",
|
|
181
|
-
name: "
|
|
154
|
+
name: "executor",
|
|
182
155
|
type: "address",
|
|
183
156
|
},
|
|
184
157
|
{
|
|
185
158
|
indexed: false,
|
|
186
159
|
internalType: "bool",
|
|
187
|
-
name: "
|
|
160
|
+
name: "isExecutor",
|
|
188
161
|
type: "bool",
|
|
189
162
|
},
|
|
190
163
|
],
|
|
191
|
-
name: "
|
|
164
|
+
name: "SetExecutor",
|
|
192
165
|
type: "event",
|
|
193
166
|
},
|
|
194
167
|
{
|
|
@@ -218,6 +191,12 @@ const _abi = [
|
|
|
218
191
|
name: "amountSpent",
|
|
219
192
|
type: "uint256",
|
|
220
193
|
},
|
|
194
|
+
{
|
|
195
|
+
indexed: false,
|
|
196
|
+
internalType: "uint256",
|
|
197
|
+
name: "amountFee",
|
|
198
|
+
type: "uint256",
|
|
199
|
+
},
|
|
221
200
|
{
|
|
222
201
|
indexed: false,
|
|
223
202
|
internalType: "address",
|
|
@@ -230,6 +209,18 @@ const _abi = [
|
|
|
230
209
|
name: "netTokenReceived",
|
|
231
210
|
type: "uint256",
|
|
232
211
|
},
|
|
212
|
+
{
|
|
213
|
+
indexed: false,
|
|
214
|
+
internalType: "bool",
|
|
215
|
+
name: "pullFromOwner",
|
|
216
|
+
type: "bool",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
indexed: false,
|
|
220
|
+
internalType: "bool",
|
|
221
|
+
name: "sendToOwner",
|
|
222
|
+
type: "bool",
|
|
223
|
+
},
|
|
233
224
|
],
|
|
234
225
|
name: "SwapToken",
|
|
235
226
|
type: "event",
|
|
@@ -249,12 +240,6 @@ const _abi = [
|
|
|
249
240
|
name: "boxId",
|
|
250
241
|
type: "uint32",
|
|
251
242
|
},
|
|
252
|
-
{
|
|
253
|
-
indexed: false,
|
|
254
|
-
internalType: "address",
|
|
255
|
-
name: "receiver",
|
|
256
|
-
type: "address",
|
|
257
|
-
},
|
|
258
243
|
{
|
|
259
244
|
indexed: false,
|
|
260
245
|
internalType: "address",
|
|
@@ -264,13 +249,13 @@ const _abi = [
|
|
|
264
249
|
{
|
|
265
250
|
indexed: false,
|
|
266
251
|
internalType: "uint256",
|
|
267
|
-
name: "
|
|
252
|
+
name: "amountWithdraw",
|
|
268
253
|
type: "uint256",
|
|
269
254
|
},
|
|
270
255
|
{
|
|
271
256
|
indexed: false,
|
|
272
257
|
internalType: "uint256",
|
|
273
|
-
name: "
|
|
258
|
+
name: "amountFee",
|
|
274
259
|
type: "uint256",
|
|
275
260
|
},
|
|
276
261
|
],
|
|
@@ -347,14 +332,19 @@ const _abi = [
|
|
|
347
332
|
},
|
|
348
333
|
{
|
|
349
334
|
internalType: "uint256",
|
|
350
|
-
name: "
|
|
335
|
+
name: "amountBridge",
|
|
351
336
|
type: "uint256",
|
|
352
337
|
},
|
|
353
338
|
{
|
|
354
339
|
internalType: "uint256",
|
|
355
|
-
name: "
|
|
340
|
+
name: "amountFee",
|
|
356
341
|
type: "uint256",
|
|
357
342
|
},
|
|
343
|
+
{
|
|
344
|
+
internalType: "bool",
|
|
345
|
+
name: "pullFromOwner",
|
|
346
|
+
type: "bool",
|
|
347
|
+
},
|
|
358
348
|
{
|
|
359
349
|
internalType: "address",
|
|
360
350
|
name: "bridgeExtRouter",
|
|
@@ -397,12 +387,12 @@ const _abi = [
|
|
|
397
387
|
},
|
|
398
388
|
{
|
|
399
389
|
internalType: "uint256",
|
|
400
|
-
name: "
|
|
390
|
+
name: "expiry",
|
|
401
391
|
type: "uint256",
|
|
402
392
|
},
|
|
403
393
|
{
|
|
404
394
|
internalType: "uint256",
|
|
405
|
-
name: "
|
|
395
|
+
name: "nonce",
|
|
406
396
|
type: "uint256",
|
|
407
397
|
},
|
|
408
398
|
{
|
|
@@ -412,13 +402,13 @@ const _abi = [
|
|
|
412
402
|
},
|
|
413
403
|
{
|
|
414
404
|
internalType: "uint256",
|
|
415
|
-
name: "
|
|
405
|
+
name: "amountSpent",
|
|
416
406
|
type: "uint256",
|
|
417
407
|
},
|
|
418
408
|
{
|
|
419
|
-
internalType: "
|
|
420
|
-
name: "
|
|
421
|
-
type: "
|
|
409
|
+
internalType: "uint256",
|
|
410
|
+
name: "amountFee",
|
|
411
|
+
type: "uint256",
|
|
422
412
|
},
|
|
423
413
|
{
|
|
424
414
|
internalType: "address",
|
|
@@ -432,7 +422,7 @@ const _abi = [
|
|
|
432
422
|
},
|
|
433
423
|
{
|
|
434
424
|
internalType: "uint32",
|
|
435
|
-
name: "
|
|
425
|
+
name: "dstEid",
|
|
436
426
|
type: "uint32",
|
|
437
427
|
},
|
|
438
428
|
{
|
|
@@ -440,37 +430,10 @@ const _abi = [
|
|
|
440
430
|
name: "receiver",
|
|
441
431
|
type: "bytes32",
|
|
442
432
|
},
|
|
443
|
-
],
|
|
444
|
-
internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtIntent",
|
|
445
|
-
name: "intent",
|
|
446
|
-
type: "tuple",
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
internalType: "bytes",
|
|
450
|
-
name: "intentSig",
|
|
451
|
-
type: "bytes",
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
components: [
|
|
455
|
-
{
|
|
456
|
-
internalType: "address",
|
|
457
|
-
name: "validator",
|
|
458
|
-
type: "address",
|
|
459
|
-
},
|
|
460
|
-
{
|
|
461
|
-
internalType: "bytes32",
|
|
462
|
-
name: "intentHash",
|
|
463
|
-
type: "bytes32",
|
|
464
|
-
},
|
|
465
433
|
{
|
|
466
|
-
internalType: "
|
|
467
|
-
name: "
|
|
468
|
-
type: "
|
|
469
|
-
},
|
|
470
|
-
{
|
|
471
|
-
internalType: "uint256",
|
|
472
|
-
name: "feeAmount",
|
|
473
|
-
type: "uint256",
|
|
434
|
+
internalType: "bool",
|
|
435
|
+
name: "pullFromOwner",
|
|
436
|
+
type: "bool",
|
|
474
437
|
},
|
|
475
438
|
{
|
|
476
439
|
internalType: "address",
|
|
@@ -487,20 +450,14 @@ const _abi = [
|
|
|
487
450
|
name: "swapCalldata",
|
|
488
451
|
type: "bytes",
|
|
489
452
|
},
|
|
490
|
-
{
|
|
491
|
-
internalType: "uint256",
|
|
492
|
-
name: "expiry",
|
|
493
|
-
type: "uint256",
|
|
494
|
-
},
|
|
495
453
|
],
|
|
496
|
-
internalType:
|
|
497
|
-
|
|
498
|
-
name: "execMsg",
|
|
454
|
+
internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
|
|
455
|
+
name: "message",
|
|
499
456
|
type: "tuple",
|
|
500
457
|
},
|
|
501
458
|
{
|
|
502
459
|
internalType: "bytes",
|
|
503
|
-
name: "
|
|
460
|
+
name: "signature",
|
|
504
461
|
type: "bytes",
|
|
505
462
|
},
|
|
506
463
|
],
|
|
@@ -534,6 +491,11 @@ const _abi = [
|
|
|
534
491
|
name: "salt",
|
|
535
492
|
type: "bytes32",
|
|
536
493
|
},
|
|
494
|
+
{
|
|
495
|
+
internalType: "bool",
|
|
496
|
+
name: "deployed",
|
|
497
|
+
type: "bool",
|
|
498
|
+
},
|
|
537
499
|
],
|
|
538
500
|
stateMutability: "view",
|
|
539
501
|
type: "function",
|
|
@@ -572,6 +534,11 @@ const _abi = [
|
|
|
572
534
|
name: "amountSpent",
|
|
573
535
|
type: "uint256",
|
|
574
536
|
},
|
|
537
|
+
{
|
|
538
|
+
internalType: "uint256",
|
|
539
|
+
name: "amountFee",
|
|
540
|
+
type: "uint256",
|
|
541
|
+
},
|
|
575
542
|
{
|
|
576
543
|
internalType: "address",
|
|
577
544
|
name: "tokenReceived",
|
|
@@ -583,9 +550,14 @@ const _abi = [
|
|
|
583
550
|
type: "uint256",
|
|
584
551
|
},
|
|
585
552
|
{
|
|
586
|
-
internalType: "
|
|
587
|
-
name: "
|
|
588
|
-
type: "
|
|
553
|
+
internalType: "bool",
|
|
554
|
+
name: "pullFromOwner",
|
|
555
|
+
type: "bool",
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
internalType: "bool",
|
|
559
|
+
name: "sendToOwner",
|
|
560
|
+
type: "bool",
|
|
589
561
|
},
|
|
590
562
|
{
|
|
591
563
|
internalType: "address",
|
|
@@ -625,47 +597,41 @@ const _abi = [
|
|
|
625
597
|
components: [
|
|
626
598
|
{
|
|
627
599
|
internalType: "address",
|
|
628
|
-
name: "
|
|
600
|
+
name: "owner",
|
|
629
601
|
type: "address",
|
|
630
602
|
},
|
|
631
603
|
{
|
|
632
|
-
internalType: "
|
|
633
|
-
name: "
|
|
634
|
-
type: "
|
|
604
|
+
internalType: "uint32",
|
|
605
|
+
name: "boxId",
|
|
606
|
+
type: "uint32",
|
|
635
607
|
},
|
|
636
608
|
{
|
|
637
609
|
internalType: "uint256",
|
|
638
|
-
name: "
|
|
610
|
+
name: "expiry",
|
|
639
611
|
type: "uint256",
|
|
640
612
|
},
|
|
641
613
|
{
|
|
642
614
|
internalType: "uint256",
|
|
643
|
-
name: "
|
|
615
|
+
name: "nonce",
|
|
644
616
|
type: "uint256",
|
|
645
617
|
},
|
|
646
618
|
{
|
|
647
619
|
internalType: "address",
|
|
648
|
-
name: "
|
|
649
|
-
type: "address",
|
|
650
|
-
},
|
|
651
|
-
{
|
|
652
|
-
internalType: "address",
|
|
653
|
-
name: "swapExtRouter",
|
|
620
|
+
name: "token",
|
|
654
621
|
type: "address",
|
|
655
622
|
},
|
|
656
623
|
{
|
|
657
|
-
internalType: "
|
|
658
|
-
name: "
|
|
659
|
-
type: "
|
|
624
|
+
internalType: "uint256",
|
|
625
|
+
name: "amountWithdraw",
|
|
626
|
+
type: "uint256",
|
|
660
627
|
},
|
|
661
628
|
{
|
|
662
629
|
internalType: "uint256",
|
|
663
|
-
name: "
|
|
630
|
+
name: "amountFee",
|
|
664
631
|
type: "uint256",
|
|
665
632
|
},
|
|
666
633
|
],
|
|
667
|
-
internalType:
|
|
668
|
-
"struct IPCrossChainSwapHub.ExecuteBuyCrossChainPtMessage",
|
|
634
|
+
internalType: "struct IPCrossChainSwapHub.WithdrawTokenMessage",
|
|
669
635
|
name: "message",
|
|
670
636
|
type: "tuple",
|
|
671
637
|
},
|
|
@@ -697,12 +663,12 @@ const _abi = [
|
|
|
697
663
|
},
|
|
698
664
|
{
|
|
699
665
|
internalType: "uint256",
|
|
700
|
-
name: "
|
|
666
|
+
name: "expiry",
|
|
701
667
|
type: "uint256",
|
|
702
668
|
},
|
|
703
669
|
{
|
|
704
670
|
internalType: "uint256",
|
|
705
|
-
name: "
|
|
671
|
+
name: "nonce",
|
|
706
672
|
type: "uint256",
|
|
707
673
|
},
|
|
708
674
|
{
|
|
@@ -712,13 +678,13 @@ const _abi = [
|
|
|
712
678
|
},
|
|
713
679
|
{
|
|
714
680
|
internalType: "uint256",
|
|
715
|
-
name: "
|
|
681
|
+
name: "amountSpent",
|
|
716
682
|
type: "uint256",
|
|
717
683
|
},
|
|
718
684
|
{
|
|
719
|
-
internalType: "
|
|
720
|
-
name: "
|
|
721
|
-
type: "
|
|
685
|
+
internalType: "uint256",
|
|
686
|
+
name: "amountFee",
|
|
687
|
+
type: "uint256",
|
|
722
688
|
},
|
|
723
689
|
{
|
|
724
690
|
internalType: "address",
|
|
@@ -732,7 +698,7 @@ const _abi = [
|
|
|
732
698
|
},
|
|
733
699
|
{
|
|
734
700
|
internalType: "uint32",
|
|
735
|
-
name: "
|
|
701
|
+
name: "dstEid",
|
|
736
702
|
type: "uint32",
|
|
737
703
|
},
|
|
738
704
|
{
|
|
@@ -740,74 +706,28 @@ const _abi = [
|
|
|
740
706
|
name: "receiver",
|
|
741
707
|
type: "bytes32",
|
|
742
708
|
},
|
|
743
|
-
],
|
|
744
|
-
internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtIntent",
|
|
745
|
-
name: "intent",
|
|
746
|
-
type: "tuple",
|
|
747
|
-
},
|
|
748
|
-
],
|
|
749
|
-
name: "hashTypedData",
|
|
750
|
-
outputs: [
|
|
751
|
-
{
|
|
752
|
-
internalType: "bytes32",
|
|
753
|
-
name: "",
|
|
754
|
-
type: "bytes32",
|
|
755
|
-
},
|
|
756
|
-
],
|
|
757
|
-
stateMutability: "view",
|
|
758
|
-
type: "function",
|
|
759
|
-
},
|
|
760
|
-
{
|
|
761
|
-
inputs: [
|
|
762
|
-
{
|
|
763
|
-
components: [
|
|
764
709
|
{
|
|
765
|
-
internalType: "
|
|
766
|
-
name: "
|
|
767
|
-
type: "
|
|
768
|
-
},
|
|
769
|
-
{
|
|
770
|
-
internalType: "uint32",
|
|
771
|
-
name: "boxId",
|
|
772
|
-
type: "uint32",
|
|
773
|
-
},
|
|
774
|
-
{
|
|
775
|
-
internalType: "uint256",
|
|
776
|
-
name: "expiry",
|
|
777
|
-
type: "uint256",
|
|
778
|
-
},
|
|
779
|
-
{
|
|
780
|
-
internalType: "uint256",
|
|
781
|
-
name: "nonce",
|
|
782
|
-
type: "uint256",
|
|
710
|
+
internalType: "bool",
|
|
711
|
+
name: "pullFromOwner",
|
|
712
|
+
type: "bool",
|
|
783
713
|
},
|
|
784
714
|
{
|
|
785
715
|
internalType: "address",
|
|
786
|
-
name: "
|
|
716
|
+
name: "swapExecutor",
|
|
787
717
|
type: "address",
|
|
788
718
|
},
|
|
789
|
-
{
|
|
790
|
-
internalType: "uint256",
|
|
791
|
-
name: "bridgeAmount",
|
|
792
|
-
type: "uint256",
|
|
793
|
-
},
|
|
794
|
-
{
|
|
795
|
-
internalType: "uint256",
|
|
796
|
-
name: "feeAmount",
|
|
797
|
-
type: "uint256",
|
|
798
|
-
},
|
|
799
719
|
{
|
|
800
720
|
internalType: "address",
|
|
801
|
-
name: "
|
|
721
|
+
name: "swapExtRouter",
|
|
802
722
|
type: "address",
|
|
803
723
|
},
|
|
804
724
|
{
|
|
805
725
|
internalType: "bytes",
|
|
806
|
-
name: "
|
|
726
|
+
name: "swapCalldata",
|
|
807
727
|
type: "bytes",
|
|
808
728
|
},
|
|
809
729
|
],
|
|
810
|
-
internalType: "struct IPCrossChainSwapHub.
|
|
730
|
+
internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
|
|
811
731
|
name: "message",
|
|
812
732
|
type: "tuple",
|
|
813
733
|
},
|
|
@@ -847,11 +767,6 @@ const _abi = [
|
|
|
847
767
|
name: "nonce",
|
|
848
768
|
type: "uint256",
|
|
849
769
|
},
|
|
850
|
-
{
|
|
851
|
-
internalType: "address",
|
|
852
|
-
name: "receiver",
|
|
853
|
-
type: "address",
|
|
854
|
-
},
|
|
855
770
|
{
|
|
856
771
|
internalType: "address",
|
|
857
772
|
name: "token",
|
|
@@ -859,16 +774,31 @@ const _abi = [
|
|
|
859
774
|
},
|
|
860
775
|
{
|
|
861
776
|
internalType: "uint256",
|
|
862
|
-
name: "
|
|
777
|
+
name: "amountBridge",
|
|
863
778
|
type: "uint256",
|
|
864
779
|
},
|
|
865
780
|
{
|
|
866
781
|
internalType: "uint256",
|
|
867
|
-
name: "
|
|
782
|
+
name: "amountFee",
|
|
868
783
|
type: "uint256",
|
|
869
784
|
},
|
|
785
|
+
{
|
|
786
|
+
internalType: "bool",
|
|
787
|
+
name: "pullFromOwner",
|
|
788
|
+
type: "bool",
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
internalType: "address",
|
|
792
|
+
name: "bridgeExtRouter",
|
|
793
|
+
type: "address",
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
internalType: "bytes",
|
|
797
|
+
name: "bridgeCalldata",
|
|
798
|
+
type: "bytes",
|
|
799
|
+
},
|
|
870
800
|
],
|
|
871
|
-
internalType: "struct IPCrossChainSwapHub.
|
|
801
|
+
internalType: "struct IPCrossChainSwapHub.BridgeTokenMessage",
|
|
872
802
|
name: "message",
|
|
873
803
|
type: "tuple",
|
|
874
804
|
},
|
|
@@ -903,44 +833,6 @@ const _abi = [
|
|
|
903
833
|
stateMutability: "view",
|
|
904
834
|
type: "function",
|
|
905
835
|
},
|
|
906
|
-
{
|
|
907
|
-
inputs: [
|
|
908
|
-
{
|
|
909
|
-
internalType: "bytes32",
|
|
910
|
-
name: "intentHash",
|
|
911
|
-
type: "bytes32",
|
|
912
|
-
},
|
|
913
|
-
],
|
|
914
|
-
name: "isIntentExecuted",
|
|
915
|
-
outputs: [
|
|
916
|
-
{
|
|
917
|
-
internalType: "bool",
|
|
918
|
-
name: "",
|
|
919
|
-
type: "bool",
|
|
920
|
-
},
|
|
921
|
-
],
|
|
922
|
-
stateMutability: "view",
|
|
923
|
-
type: "function",
|
|
924
|
-
},
|
|
925
|
-
{
|
|
926
|
-
inputs: [
|
|
927
|
-
{
|
|
928
|
-
internalType: "address",
|
|
929
|
-
name: "validator",
|
|
930
|
-
type: "address",
|
|
931
|
-
},
|
|
932
|
-
],
|
|
933
|
-
name: "isValidator",
|
|
934
|
-
outputs: [
|
|
935
|
-
{
|
|
936
|
-
internalType: "bool",
|
|
937
|
-
name: "",
|
|
938
|
-
type: "bool",
|
|
939
|
-
},
|
|
940
|
-
],
|
|
941
|
-
stateMutability: "view",
|
|
942
|
-
type: "function",
|
|
943
|
-
},
|
|
944
836
|
{
|
|
945
837
|
inputs: [
|
|
946
838
|
{
|
|
@@ -978,24 +870,6 @@ const _abi = [
|
|
|
978
870
|
stateMutability: "nonpayable",
|
|
979
871
|
type: "function",
|
|
980
872
|
},
|
|
981
|
-
{
|
|
982
|
-
inputs: [
|
|
983
|
-
{
|
|
984
|
-
internalType: "address",
|
|
985
|
-
name: "validator",
|
|
986
|
-
type: "address",
|
|
987
|
-
},
|
|
988
|
-
{
|
|
989
|
-
internalType: "bool",
|
|
990
|
-
name: "isValidator",
|
|
991
|
-
type: "bool",
|
|
992
|
-
},
|
|
993
|
-
],
|
|
994
|
-
name: "setValidator",
|
|
995
|
-
outputs: [],
|
|
996
|
-
stateMutability: "nonpayable",
|
|
997
|
-
type: "function",
|
|
998
|
-
},
|
|
999
873
|
{
|
|
1000
874
|
inputs: [
|
|
1001
875
|
{
|
|
@@ -1030,6 +904,11 @@ const _abi = [
|
|
|
1030
904
|
name: "amountSpent",
|
|
1031
905
|
type: "uint256",
|
|
1032
906
|
},
|
|
907
|
+
{
|
|
908
|
+
internalType: "uint256",
|
|
909
|
+
name: "amountFee",
|
|
910
|
+
type: "uint256",
|
|
911
|
+
},
|
|
1033
912
|
{
|
|
1034
913
|
internalType: "address",
|
|
1035
914
|
name: "tokenReceived",
|
|
@@ -1041,9 +920,14 @@ const _abi = [
|
|
|
1041
920
|
type: "uint256",
|
|
1042
921
|
},
|
|
1043
922
|
{
|
|
1044
|
-
internalType: "
|
|
1045
|
-
name: "
|
|
1046
|
-
type: "
|
|
923
|
+
internalType: "bool",
|
|
924
|
+
name: "pullFromOwner",
|
|
925
|
+
type: "bool",
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
internalType: "bool",
|
|
929
|
+
name: "sendToOwner",
|
|
930
|
+
type: "bool",
|
|
1047
931
|
},
|
|
1048
932
|
{
|
|
1049
933
|
internalType: "address",
|
|
@@ -1100,11 +984,6 @@ const _abi = [
|
|
|
1100
984
|
name: "nonce",
|
|
1101
985
|
type: "uint256",
|
|
1102
986
|
},
|
|
1103
|
-
{
|
|
1104
|
-
internalType: "address",
|
|
1105
|
-
name: "receiver",
|
|
1106
|
-
type: "address",
|
|
1107
|
-
},
|
|
1108
987
|
{
|
|
1109
988
|
internalType: "address",
|
|
1110
989
|
name: "token",
|
|
@@ -1112,12 +991,12 @@ const _abi = [
|
|
|
1112
991
|
},
|
|
1113
992
|
{
|
|
1114
993
|
internalType: "uint256",
|
|
1115
|
-
name: "
|
|
994
|
+
name: "amountWithdraw",
|
|
1116
995
|
type: "uint256",
|
|
1117
996
|
},
|
|
1118
997
|
{
|
|
1119
998
|
internalType: "uint256",
|
|
1120
|
-
name: "
|
|
999
|
+
name: "amountFee",
|
|
1121
1000
|
type: "uint256",
|
|
1122
1001
|
},
|
|
1123
1002
|
],
|