@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
|
@@ -3,31 +3,11 @@
|
|
|
3
3
|
"contractName": "SwapHubBase",
|
|
4
4
|
"sourceName": "contracts/cross-chain/swap-hub/SwapHubBase.sol",
|
|
5
5
|
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"inputs": [],
|
|
8
|
-
"name": "ExcessiveNativeFee",
|
|
9
|
-
"type": "error"
|
|
10
|
-
},
|
|
11
6
|
{
|
|
12
7
|
"inputs": [],
|
|
13
8
|
"name": "InsufficientTokenReceived",
|
|
14
9
|
"type": "error"
|
|
15
10
|
},
|
|
16
|
-
{
|
|
17
|
-
"inputs": [],
|
|
18
|
-
"name": "IntentExecuted",
|
|
19
|
-
"type": "error"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"inputs": [],
|
|
23
|
-
"name": "IntentHashMismatch",
|
|
24
|
-
"type": "error"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"inputs": [],
|
|
28
|
-
"name": "InvalidAmountIn",
|
|
29
|
-
"type": "error"
|
|
30
|
-
},
|
|
31
11
|
{
|
|
32
12
|
"inputs": [],
|
|
33
13
|
"name": "InvalidNonce",
|
|
@@ -35,12 +15,12 @@
|
|
|
35
15
|
},
|
|
36
16
|
{
|
|
37
17
|
"inputs": [],
|
|
38
|
-
"name": "
|
|
18
|
+
"name": "InvalidReceiver",
|
|
39
19
|
"type": "error"
|
|
40
20
|
},
|
|
41
21
|
{
|
|
42
22
|
"inputs": [],
|
|
43
|
-
"name": "
|
|
23
|
+
"name": "InvalidSignature",
|
|
44
24
|
"type": "error"
|
|
45
25
|
},
|
|
46
26
|
{
|
|
@@ -78,14 +58,20 @@
|
|
|
78
58
|
{
|
|
79
59
|
"indexed": false,
|
|
80
60
|
"internalType": "uint256",
|
|
81
|
-
"name": "
|
|
61
|
+
"name": "amountBridge",
|
|
82
62
|
"type": "uint256"
|
|
83
63
|
},
|
|
84
64
|
{
|
|
85
65
|
"indexed": false,
|
|
86
66
|
"internalType": "uint256",
|
|
87
|
-
"name": "
|
|
67
|
+
"name": "amountFee",
|
|
88
68
|
"type": "uint256"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"indexed": false,
|
|
72
|
+
"internalType": "bool",
|
|
73
|
+
"name": "pullFromOwner",
|
|
74
|
+
"type": "bool"
|
|
89
75
|
}
|
|
90
76
|
],
|
|
91
77
|
"name": "BridgeToken",
|
|
@@ -106,12 +92,6 @@
|
|
|
106
92
|
"name": "boxId",
|
|
107
93
|
"type": "uint32"
|
|
108
94
|
},
|
|
109
|
-
{
|
|
110
|
-
"indexed": false,
|
|
111
|
-
"internalType": "bytes32",
|
|
112
|
-
"name": "intentHash",
|
|
113
|
-
"type": "bytes32"
|
|
114
|
-
},
|
|
115
95
|
{
|
|
116
96
|
"indexed": false,
|
|
117
97
|
"internalType": "address",
|
|
@@ -124,16 +104,22 @@
|
|
|
124
104
|
"name": "amountSpent",
|
|
125
105
|
"type": "uint256"
|
|
126
106
|
},
|
|
107
|
+
{
|
|
108
|
+
"indexed": false,
|
|
109
|
+
"internalType": "uint256",
|
|
110
|
+
"name": "amountFee",
|
|
111
|
+
"type": "uint256"
|
|
112
|
+
},
|
|
127
113
|
{
|
|
128
114
|
"indexed": false,
|
|
129
115
|
"internalType": "address",
|
|
130
|
-
"name": "
|
|
116
|
+
"name": "ptAdapter",
|
|
131
117
|
"type": "address"
|
|
132
118
|
},
|
|
133
119
|
{
|
|
134
120
|
"indexed": false,
|
|
135
121
|
"internalType": "address",
|
|
136
|
-
"name": "
|
|
122
|
+
"name": "pt",
|
|
137
123
|
"type": "address"
|
|
138
124
|
},
|
|
139
125
|
{
|
|
@@ -141,6 +127,12 @@
|
|
|
141
127
|
"internalType": "uint256",
|
|
142
128
|
"name": "netPtReceived",
|
|
143
129
|
"type": "uint256"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"indexed": false,
|
|
133
|
+
"internalType": "bool",
|
|
134
|
+
"name": "pullFromOwner",
|
|
135
|
+
"type": "bool"
|
|
144
136
|
}
|
|
145
137
|
],
|
|
146
138
|
"name": "BuyCrossChainPt",
|
|
@@ -203,25 +195,6 @@
|
|
|
203
195
|
"name": "SetExecutor",
|
|
204
196
|
"type": "event"
|
|
205
197
|
},
|
|
206
|
-
{
|
|
207
|
-
"anonymous": false,
|
|
208
|
-
"inputs": [
|
|
209
|
-
{
|
|
210
|
-
"indexed": true,
|
|
211
|
-
"internalType": "address",
|
|
212
|
-
"name": "validator",
|
|
213
|
-
"type": "address"
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
"indexed": false,
|
|
217
|
-
"internalType": "bool",
|
|
218
|
-
"name": "isValidator",
|
|
219
|
-
"type": "bool"
|
|
220
|
-
}
|
|
221
|
-
],
|
|
222
|
-
"name": "SetValidator",
|
|
223
|
-
"type": "event"
|
|
224
|
-
},
|
|
225
198
|
{
|
|
226
199
|
"anonymous": false,
|
|
227
200
|
"inputs": [
|
|
@@ -249,6 +222,12 @@
|
|
|
249
222
|
"name": "amountSpent",
|
|
250
223
|
"type": "uint256"
|
|
251
224
|
},
|
|
225
|
+
{
|
|
226
|
+
"indexed": false,
|
|
227
|
+
"internalType": "uint256",
|
|
228
|
+
"name": "amountFee",
|
|
229
|
+
"type": "uint256"
|
|
230
|
+
},
|
|
252
231
|
{
|
|
253
232
|
"indexed": false,
|
|
254
233
|
"internalType": "address",
|
|
@@ -260,6 +239,18 @@
|
|
|
260
239
|
"internalType": "uint256",
|
|
261
240
|
"name": "netTokenReceived",
|
|
262
241
|
"type": "uint256"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"indexed": false,
|
|
245
|
+
"internalType": "bool",
|
|
246
|
+
"name": "pullFromOwner",
|
|
247
|
+
"type": "bool"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"indexed": false,
|
|
251
|
+
"internalType": "bool",
|
|
252
|
+
"name": "sendToOwner",
|
|
253
|
+
"type": "bool"
|
|
263
254
|
}
|
|
264
255
|
],
|
|
265
256
|
"name": "SwapToken",
|
|
@@ -280,12 +271,6 @@
|
|
|
280
271
|
"name": "boxId",
|
|
281
272
|
"type": "uint32"
|
|
282
273
|
},
|
|
283
|
-
{
|
|
284
|
-
"indexed": false,
|
|
285
|
-
"internalType": "address",
|
|
286
|
-
"name": "receiver",
|
|
287
|
-
"type": "address"
|
|
288
|
-
},
|
|
289
274
|
{
|
|
290
275
|
"indexed": false,
|
|
291
276
|
"internalType": "address",
|
|
@@ -295,13 +280,13 @@
|
|
|
295
280
|
{
|
|
296
281
|
"indexed": false,
|
|
297
282
|
"internalType": "uint256",
|
|
298
|
-
"name": "
|
|
283
|
+
"name": "amountWithdraw",
|
|
299
284
|
"type": "uint256"
|
|
300
285
|
},
|
|
301
286
|
{
|
|
302
287
|
"indexed": false,
|
|
303
288
|
"internalType": "uint256",
|
|
304
|
-
"name": "
|
|
289
|
+
"name": "amountFee",
|
|
305
290
|
"type": "uint256"
|
|
306
291
|
}
|
|
307
292
|
],
|
|
@@ -378,14 +363,19 @@
|
|
|
378
363
|
},
|
|
379
364
|
{
|
|
380
365
|
"internalType": "uint256",
|
|
381
|
-
"name": "
|
|
366
|
+
"name": "amountBridge",
|
|
382
367
|
"type": "uint256"
|
|
383
368
|
},
|
|
384
369
|
{
|
|
385
370
|
"internalType": "uint256",
|
|
386
|
-
"name": "
|
|
371
|
+
"name": "amountFee",
|
|
387
372
|
"type": "uint256"
|
|
388
373
|
},
|
|
374
|
+
{
|
|
375
|
+
"internalType": "bool",
|
|
376
|
+
"name": "pullFromOwner",
|
|
377
|
+
"type": "bool"
|
|
378
|
+
},
|
|
389
379
|
{
|
|
390
380
|
"internalType": "address",
|
|
391
381
|
"name": "bridgeExtRouter",
|
|
@@ -428,12 +418,12 @@
|
|
|
428
418
|
},
|
|
429
419
|
{
|
|
430
420
|
"internalType": "uint256",
|
|
431
|
-
"name": "
|
|
421
|
+
"name": "expiry",
|
|
432
422
|
"type": "uint256"
|
|
433
423
|
},
|
|
434
424
|
{
|
|
435
425
|
"internalType": "uint256",
|
|
436
|
-
"name": "
|
|
426
|
+
"name": "nonce",
|
|
437
427
|
"type": "uint256"
|
|
438
428
|
},
|
|
439
429
|
{
|
|
@@ -443,13 +433,13 @@
|
|
|
443
433
|
},
|
|
444
434
|
{
|
|
445
435
|
"internalType": "uint256",
|
|
446
|
-
"name": "
|
|
436
|
+
"name": "amountSpent",
|
|
447
437
|
"type": "uint256"
|
|
448
438
|
},
|
|
449
439
|
{
|
|
450
|
-
"internalType": "
|
|
451
|
-
"name": "
|
|
452
|
-
"type": "
|
|
440
|
+
"internalType": "uint256",
|
|
441
|
+
"name": "amountFee",
|
|
442
|
+
"type": "uint256"
|
|
453
443
|
},
|
|
454
444
|
{
|
|
455
445
|
"internalType": "address",
|
|
@@ -463,45 +453,18 @@
|
|
|
463
453
|
},
|
|
464
454
|
{
|
|
465
455
|
"internalType": "uint32",
|
|
466
|
-
"name": "
|
|
456
|
+
"name": "dstEid",
|
|
467
457
|
"type": "uint32"
|
|
468
458
|
},
|
|
469
459
|
{
|
|
470
460
|
"internalType": "bytes32",
|
|
471
461
|
"name": "receiver",
|
|
472
462
|
"type": "bytes32"
|
|
473
|
-
}
|
|
474
|
-
],
|
|
475
|
-
"internalType": "struct IPCrossChainSwapHub.BuyCrossChainPtIntent",
|
|
476
|
-
"name": "intent",
|
|
477
|
-
"type": "tuple"
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
"internalType": "bytes",
|
|
481
|
-
"name": "intentSig",
|
|
482
|
-
"type": "bytes"
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
"components": [
|
|
486
|
-
{
|
|
487
|
-
"internalType": "address",
|
|
488
|
-
"name": "validator",
|
|
489
|
-
"type": "address"
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
"internalType": "bytes32",
|
|
493
|
-
"name": "intentHash",
|
|
494
|
-
"type": "bytes32"
|
|
495
463
|
},
|
|
496
464
|
{
|
|
497
|
-
"internalType": "
|
|
498
|
-
"name": "
|
|
499
|
-
"type": "
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
"internalType": "uint256",
|
|
503
|
-
"name": "feeAmount",
|
|
504
|
-
"type": "uint256"
|
|
465
|
+
"internalType": "bool",
|
|
466
|
+
"name": "pullFromOwner",
|
|
467
|
+
"type": "bool"
|
|
505
468
|
},
|
|
506
469
|
{
|
|
507
470
|
"internalType": "address",
|
|
@@ -517,20 +480,15 @@
|
|
|
517
480
|
"internalType": "bytes",
|
|
518
481
|
"name": "swapCalldata",
|
|
519
482
|
"type": "bytes"
|
|
520
|
-
},
|
|
521
|
-
{
|
|
522
|
-
"internalType": "uint256",
|
|
523
|
-
"name": "expiry",
|
|
524
|
-
"type": "uint256"
|
|
525
483
|
}
|
|
526
484
|
],
|
|
527
|
-
"internalType": "struct IPCrossChainSwapHub.
|
|
528
|
-
"name": "
|
|
485
|
+
"internalType": "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
|
|
486
|
+
"name": "message",
|
|
529
487
|
"type": "tuple"
|
|
530
488
|
},
|
|
531
489
|
{
|
|
532
490
|
"internalType": "bytes",
|
|
533
|
-
"name": "
|
|
491
|
+
"name": "signature",
|
|
534
492
|
"type": "bytes"
|
|
535
493
|
}
|
|
536
494
|
],
|
|
@@ -570,6 +528,11 @@
|
|
|
570
528
|
"internalType": "bytes32",
|
|
571
529
|
"name": "salt",
|
|
572
530
|
"type": "bytes32"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"internalType": "bool",
|
|
534
|
+
"name": "deployed",
|
|
535
|
+
"type": "bool"
|
|
573
536
|
}
|
|
574
537
|
],
|
|
575
538
|
"stateMutability": "view",
|
|
@@ -652,6 +615,11 @@
|
|
|
652
615
|
"name": "amountSpent",
|
|
653
616
|
"type": "uint256"
|
|
654
617
|
},
|
|
618
|
+
{
|
|
619
|
+
"internalType": "uint256",
|
|
620
|
+
"name": "amountFee",
|
|
621
|
+
"type": "uint256"
|
|
622
|
+
},
|
|
655
623
|
{
|
|
656
624
|
"internalType": "address",
|
|
657
625
|
"name": "tokenReceived",
|
|
@@ -663,9 +631,14 @@
|
|
|
663
631
|
"type": "uint256"
|
|
664
632
|
},
|
|
665
633
|
{
|
|
666
|
-
"internalType": "
|
|
667
|
-
"name": "
|
|
668
|
-
"type": "
|
|
634
|
+
"internalType": "bool",
|
|
635
|
+
"name": "pullFromOwner",
|
|
636
|
+
"type": "bool"
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"internalType": "bool",
|
|
640
|
+
"name": "sendToOwner",
|
|
641
|
+
"type": "bool"
|
|
669
642
|
},
|
|
670
643
|
{
|
|
671
644
|
"internalType": "address",
|
|
@@ -705,46 +678,41 @@
|
|
|
705
678
|
"components": [
|
|
706
679
|
{
|
|
707
680
|
"internalType": "address",
|
|
708
|
-
"name": "
|
|
681
|
+
"name": "owner",
|
|
709
682
|
"type": "address"
|
|
710
683
|
},
|
|
711
684
|
{
|
|
712
|
-
"internalType": "
|
|
713
|
-
"name": "
|
|
714
|
-
"type": "
|
|
685
|
+
"internalType": "uint32",
|
|
686
|
+
"name": "boxId",
|
|
687
|
+
"type": "uint32"
|
|
715
688
|
},
|
|
716
689
|
{
|
|
717
690
|
"internalType": "uint256",
|
|
718
|
-
"name": "
|
|
691
|
+
"name": "expiry",
|
|
719
692
|
"type": "uint256"
|
|
720
693
|
},
|
|
721
694
|
{
|
|
722
695
|
"internalType": "uint256",
|
|
723
|
-
"name": "
|
|
696
|
+
"name": "nonce",
|
|
724
697
|
"type": "uint256"
|
|
725
698
|
},
|
|
726
699
|
{
|
|
727
700
|
"internalType": "address",
|
|
728
|
-
"name": "
|
|
729
|
-
"type": "address"
|
|
730
|
-
},
|
|
731
|
-
{
|
|
732
|
-
"internalType": "address",
|
|
733
|
-
"name": "swapExtRouter",
|
|
701
|
+
"name": "token",
|
|
734
702
|
"type": "address"
|
|
735
703
|
},
|
|
736
704
|
{
|
|
737
|
-
"internalType": "
|
|
738
|
-
"name": "
|
|
739
|
-
"type": "
|
|
705
|
+
"internalType": "uint256",
|
|
706
|
+
"name": "amountWithdraw",
|
|
707
|
+
"type": "uint256"
|
|
740
708
|
},
|
|
741
709
|
{
|
|
742
710
|
"internalType": "uint256",
|
|
743
|
-
"name": "
|
|
711
|
+
"name": "amountFee",
|
|
744
712
|
"type": "uint256"
|
|
745
713
|
}
|
|
746
714
|
],
|
|
747
|
-
"internalType": "struct IPCrossChainSwapHub.
|
|
715
|
+
"internalType": "struct IPCrossChainSwapHub.WithdrawTokenMessage",
|
|
748
716
|
"name": "message",
|
|
749
717
|
"type": "tuple"
|
|
750
718
|
}
|
|
@@ -776,12 +744,12 @@
|
|
|
776
744
|
},
|
|
777
745
|
{
|
|
778
746
|
"internalType": "uint256",
|
|
779
|
-
"name": "
|
|
747
|
+
"name": "expiry",
|
|
780
748
|
"type": "uint256"
|
|
781
749
|
},
|
|
782
750
|
{
|
|
783
751
|
"internalType": "uint256",
|
|
784
|
-
"name": "
|
|
752
|
+
"name": "nonce",
|
|
785
753
|
"type": "uint256"
|
|
786
754
|
},
|
|
787
755
|
{
|
|
@@ -791,13 +759,13 @@
|
|
|
791
759
|
},
|
|
792
760
|
{
|
|
793
761
|
"internalType": "uint256",
|
|
794
|
-
"name": "
|
|
762
|
+
"name": "amountSpent",
|
|
795
763
|
"type": "uint256"
|
|
796
764
|
},
|
|
797
765
|
{
|
|
798
|
-
"internalType": "
|
|
799
|
-
"name": "
|
|
800
|
-
"type": "
|
|
766
|
+
"internalType": "uint256",
|
|
767
|
+
"name": "amountFee",
|
|
768
|
+
"type": "uint256"
|
|
801
769
|
},
|
|
802
770
|
{
|
|
803
771
|
"internalType": "address",
|
|
@@ -811,82 +779,36 @@
|
|
|
811
779
|
},
|
|
812
780
|
{
|
|
813
781
|
"internalType": "uint32",
|
|
814
|
-
"name": "
|
|
782
|
+
"name": "dstEid",
|
|
815
783
|
"type": "uint32"
|
|
816
784
|
},
|
|
817
785
|
{
|
|
818
786
|
"internalType": "bytes32",
|
|
819
787
|
"name": "receiver",
|
|
820
788
|
"type": "bytes32"
|
|
821
|
-
}
|
|
822
|
-
],
|
|
823
|
-
"internalType": "struct IPCrossChainSwapHub.BuyCrossChainPtIntent",
|
|
824
|
-
"name": "intent",
|
|
825
|
-
"type": "tuple"
|
|
826
|
-
}
|
|
827
|
-
],
|
|
828
|
-
"name": "hashTypedData",
|
|
829
|
-
"outputs": [
|
|
830
|
-
{
|
|
831
|
-
"internalType": "bytes32",
|
|
832
|
-
"name": "",
|
|
833
|
-
"type": "bytes32"
|
|
834
|
-
}
|
|
835
|
-
],
|
|
836
|
-
"stateMutability": "view",
|
|
837
|
-
"type": "function"
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
"inputs": [
|
|
841
|
-
{
|
|
842
|
-
"components": [
|
|
843
|
-
{
|
|
844
|
-
"internalType": "address",
|
|
845
|
-
"name": "owner",
|
|
846
|
-
"type": "address"
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
"internalType": "uint32",
|
|
850
|
-
"name": "boxId",
|
|
851
|
-
"type": "uint32"
|
|
852
789
|
},
|
|
853
790
|
{
|
|
854
|
-
"internalType": "
|
|
855
|
-
"name": "
|
|
856
|
-
"type": "
|
|
857
|
-
},
|
|
858
|
-
{
|
|
859
|
-
"internalType": "uint256",
|
|
860
|
-
"name": "nonce",
|
|
861
|
-
"type": "uint256"
|
|
791
|
+
"internalType": "bool",
|
|
792
|
+
"name": "pullFromOwner",
|
|
793
|
+
"type": "bool"
|
|
862
794
|
},
|
|
863
795
|
{
|
|
864
796
|
"internalType": "address",
|
|
865
|
-
"name": "
|
|
797
|
+
"name": "swapExecutor",
|
|
866
798
|
"type": "address"
|
|
867
799
|
},
|
|
868
|
-
{
|
|
869
|
-
"internalType": "uint256",
|
|
870
|
-
"name": "bridgeAmount",
|
|
871
|
-
"type": "uint256"
|
|
872
|
-
},
|
|
873
|
-
{
|
|
874
|
-
"internalType": "uint256",
|
|
875
|
-
"name": "feeAmount",
|
|
876
|
-
"type": "uint256"
|
|
877
|
-
},
|
|
878
800
|
{
|
|
879
801
|
"internalType": "address",
|
|
880
|
-
"name": "
|
|
802
|
+
"name": "swapExtRouter",
|
|
881
803
|
"type": "address"
|
|
882
804
|
},
|
|
883
805
|
{
|
|
884
806
|
"internalType": "bytes",
|
|
885
|
-
"name": "
|
|
807
|
+
"name": "swapCalldata",
|
|
886
808
|
"type": "bytes"
|
|
887
809
|
}
|
|
888
810
|
],
|
|
889
|
-
"internalType": "struct IPCrossChainSwapHub.
|
|
811
|
+
"internalType": "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
|
|
890
812
|
"name": "message",
|
|
891
813
|
"type": "tuple"
|
|
892
814
|
}
|
|
@@ -926,11 +848,6 @@
|
|
|
926
848
|
"name": "nonce",
|
|
927
849
|
"type": "uint256"
|
|
928
850
|
},
|
|
929
|
-
{
|
|
930
|
-
"internalType": "address",
|
|
931
|
-
"name": "receiver",
|
|
932
|
-
"type": "address"
|
|
933
|
-
},
|
|
934
851
|
{
|
|
935
852
|
"internalType": "address",
|
|
936
853
|
"name": "token",
|
|
@@ -938,16 +855,31 @@
|
|
|
938
855
|
},
|
|
939
856
|
{
|
|
940
857
|
"internalType": "uint256",
|
|
941
|
-
"name": "
|
|
858
|
+
"name": "amountBridge",
|
|
942
859
|
"type": "uint256"
|
|
943
860
|
},
|
|
944
861
|
{
|
|
945
862
|
"internalType": "uint256",
|
|
946
|
-
"name": "
|
|
863
|
+
"name": "amountFee",
|
|
947
864
|
"type": "uint256"
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
"internalType": "bool",
|
|
868
|
+
"name": "pullFromOwner",
|
|
869
|
+
"type": "bool"
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
"internalType": "address",
|
|
873
|
+
"name": "bridgeExtRouter",
|
|
874
|
+
"type": "address"
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
"internalType": "bytes",
|
|
878
|
+
"name": "bridgeCalldata",
|
|
879
|
+
"type": "bytes"
|
|
948
880
|
}
|
|
949
881
|
],
|
|
950
|
-
"internalType": "struct IPCrossChainSwapHub.
|
|
882
|
+
"internalType": "struct IPCrossChainSwapHub.BridgeTokenMessage",
|
|
951
883
|
"name": "message",
|
|
952
884
|
"type": "tuple"
|
|
953
885
|
}
|
|
@@ -982,44 +914,6 @@
|
|
|
982
914
|
"stateMutability": "view",
|
|
983
915
|
"type": "function"
|
|
984
916
|
},
|
|
985
|
-
{
|
|
986
|
-
"inputs": [
|
|
987
|
-
{
|
|
988
|
-
"internalType": "bytes32",
|
|
989
|
-
"name": "intentHash",
|
|
990
|
-
"type": "bytes32"
|
|
991
|
-
}
|
|
992
|
-
],
|
|
993
|
-
"name": "isIntentExecuted",
|
|
994
|
-
"outputs": [
|
|
995
|
-
{
|
|
996
|
-
"internalType": "bool",
|
|
997
|
-
"name": "",
|
|
998
|
-
"type": "bool"
|
|
999
|
-
}
|
|
1000
|
-
],
|
|
1001
|
-
"stateMutability": "view",
|
|
1002
|
-
"type": "function"
|
|
1003
|
-
},
|
|
1004
|
-
{
|
|
1005
|
-
"inputs": [
|
|
1006
|
-
{
|
|
1007
|
-
"internalType": "address",
|
|
1008
|
-
"name": "validator",
|
|
1009
|
-
"type": "address"
|
|
1010
|
-
}
|
|
1011
|
-
],
|
|
1012
|
-
"name": "isValidator",
|
|
1013
|
-
"outputs": [
|
|
1014
|
-
{
|
|
1015
|
-
"internalType": "bool",
|
|
1016
|
-
"name": "",
|
|
1017
|
-
"type": "bool"
|
|
1018
|
-
}
|
|
1019
|
-
],
|
|
1020
|
-
"stateMutability": "view",
|
|
1021
|
-
"type": "function"
|
|
1022
|
-
},
|
|
1023
917
|
{
|
|
1024
918
|
"inputs": [],
|
|
1025
919
|
"name": "owner",
|
|
@@ -1083,24 +977,6 @@
|
|
|
1083
977
|
"stateMutability": "nonpayable",
|
|
1084
978
|
"type": "function"
|
|
1085
979
|
},
|
|
1086
|
-
{
|
|
1087
|
-
"inputs": [
|
|
1088
|
-
{
|
|
1089
|
-
"internalType": "address",
|
|
1090
|
-
"name": "validator",
|
|
1091
|
-
"type": "address"
|
|
1092
|
-
},
|
|
1093
|
-
{
|
|
1094
|
-
"internalType": "bool",
|
|
1095
|
-
"name": "isValidator_",
|
|
1096
|
-
"type": "bool"
|
|
1097
|
-
}
|
|
1098
|
-
],
|
|
1099
|
-
"name": "setValidator",
|
|
1100
|
-
"outputs": [],
|
|
1101
|
-
"stateMutability": "nonpayable",
|
|
1102
|
-
"type": "function"
|
|
1103
|
-
},
|
|
1104
980
|
{
|
|
1105
981
|
"inputs": [
|
|
1106
982
|
{
|
|
@@ -1135,6 +1011,11 @@
|
|
|
1135
1011
|
"name": "amountSpent",
|
|
1136
1012
|
"type": "uint256"
|
|
1137
1013
|
},
|
|
1014
|
+
{
|
|
1015
|
+
"internalType": "uint256",
|
|
1016
|
+
"name": "amountFee",
|
|
1017
|
+
"type": "uint256"
|
|
1018
|
+
},
|
|
1138
1019
|
{
|
|
1139
1020
|
"internalType": "address",
|
|
1140
1021
|
"name": "tokenReceived",
|
|
@@ -1146,9 +1027,14 @@
|
|
|
1146
1027
|
"type": "uint256"
|
|
1147
1028
|
},
|
|
1148
1029
|
{
|
|
1149
|
-
"internalType": "
|
|
1150
|
-
"name": "
|
|
1151
|
-
"type": "
|
|
1030
|
+
"internalType": "bool",
|
|
1031
|
+
"name": "pullFromOwner",
|
|
1032
|
+
"type": "bool"
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"internalType": "bool",
|
|
1036
|
+
"name": "sendToOwner",
|
|
1037
|
+
"type": "bool"
|
|
1152
1038
|
},
|
|
1153
1039
|
{
|
|
1154
1040
|
"internalType": "address",
|
|
@@ -1228,11 +1114,6 @@
|
|
|
1228
1114
|
"name": "nonce",
|
|
1229
1115
|
"type": "uint256"
|
|
1230
1116
|
},
|
|
1231
|
-
{
|
|
1232
|
-
"internalType": "address",
|
|
1233
|
-
"name": "receiver",
|
|
1234
|
-
"type": "address"
|
|
1235
|
-
},
|
|
1236
1117
|
{
|
|
1237
1118
|
"internalType": "address",
|
|
1238
1119
|
"name": "token",
|
|
@@ -1240,12 +1121,12 @@
|
|
|
1240
1121
|
},
|
|
1241
1122
|
{
|
|
1242
1123
|
"internalType": "uint256",
|
|
1243
|
-
"name": "
|
|
1124
|
+
"name": "amountWithdraw",
|
|
1244
1125
|
"type": "uint256"
|
|
1245
1126
|
},
|
|
1246
1127
|
{
|
|
1247
1128
|
"internalType": "uint256",
|
|
1248
|
-
"name": "
|
|
1129
|
+
"name": "amountFee",
|
|
1249
1130
|
"type": "uint256"
|
|
1250
1131
|
}
|
|
1251
1132
|
],
|