@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
package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.json
CHANGED
|
@@ -3,31 +3,11 @@
|
|
|
3
3
|
"contractName": "IPCrossChainSwapHub",
|
|
4
4
|
"sourceName": "contracts/interfaces/IPCrossChainSwapHub.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,28 +127,15 @@
|
|
|
141
127
|
"internalType": "uint256",
|
|
142
128
|
"name": "netPtReceived",
|
|
143
129
|
"type": "uint256"
|
|
144
|
-
}
|
|
145
|
-
],
|
|
146
|
-
"name": "BuyCrossChainPt",
|
|
147
|
-
"type": "event"
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"anonymous": false,
|
|
151
|
-
"inputs": [
|
|
152
|
-
{
|
|
153
|
-
"indexed": true,
|
|
154
|
-
"internalType": "address",
|
|
155
|
-
"name": "executor",
|
|
156
|
-
"type": "address"
|
|
157
130
|
},
|
|
158
131
|
{
|
|
159
132
|
"indexed": false,
|
|
160
133
|
"internalType": "bool",
|
|
161
|
-
"name": "
|
|
134
|
+
"name": "pullFromOwner",
|
|
162
135
|
"type": "bool"
|
|
163
136
|
}
|
|
164
137
|
],
|
|
165
|
-
"name": "
|
|
138
|
+
"name": "BuyCrossChainPt",
|
|
166
139
|
"type": "event"
|
|
167
140
|
},
|
|
168
141
|
{
|
|
@@ -171,17 +144,17 @@
|
|
|
171
144
|
{
|
|
172
145
|
"indexed": true,
|
|
173
146
|
"internalType": "address",
|
|
174
|
-
"name": "
|
|
147
|
+
"name": "executor",
|
|
175
148
|
"type": "address"
|
|
176
149
|
},
|
|
177
150
|
{
|
|
178
151
|
"indexed": false,
|
|
179
152
|
"internalType": "bool",
|
|
180
|
-
"name": "
|
|
153
|
+
"name": "isExecutor",
|
|
181
154
|
"type": "bool"
|
|
182
155
|
}
|
|
183
156
|
],
|
|
184
|
-
"name": "
|
|
157
|
+
"name": "SetExecutor",
|
|
185
158
|
"type": "event"
|
|
186
159
|
},
|
|
187
160
|
{
|
|
@@ -211,6 +184,12 @@
|
|
|
211
184
|
"name": "amountSpent",
|
|
212
185
|
"type": "uint256"
|
|
213
186
|
},
|
|
187
|
+
{
|
|
188
|
+
"indexed": false,
|
|
189
|
+
"internalType": "uint256",
|
|
190
|
+
"name": "amountFee",
|
|
191
|
+
"type": "uint256"
|
|
192
|
+
},
|
|
214
193
|
{
|
|
215
194
|
"indexed": false,
|
|
216
195
|
"internalType": "address",
|
|
@@ -222,6 +201,18 @@
|
|
|
222
201
|
"internalType": "uint256",
|
|
223
202
|
"name": "netTokenReceived",
|
|
224
203
|
"type": "uint256"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"indexed": false,
|
|
207
|
+
"internalType": "bool",
|
|
208
|
+
"name": "pullFromOwner",
|
|
209
|
+
"type": "bool"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"indexed": false,
|
|
213
|
+
"internalType": "bool",
|
|
214
|
+
"name": "sendToOwner",
|
|
215
|
+
"type": "bool"
|
|
225
216
|
}
|
|
226
217
|
],
|
|
227
218
|
"name": "SwapToken",
|
|
@@ -242,12 +233,6 @@
|
|
|
242
233
|
"name": "boxId",
|
|
243
234
|
"type": "uint32"
|
|
244
235
|
},
|
|
245
|
-
{
|
|
246
|
-
"indexed": false,
|
|
247
|
-
"internalType": "address",
|
|
248
|
-
"name": "receiver",
|
|
249
|
-
"type": "address"
|
|
250
|
-
},
|
|
251
236
|
{
|
|
252
237
|
"indexed": false,
|
|
253
238
|
"internalType": "address",
|
|
@@ -257,13 +242,13 @@
|
|
|
257
242
|
{
|
|
258
243
|
"indexed": false,
|
|
259
244
|
"internalType": "uint256",
|
|
260
|
-
"name": "
|
|
245
|
+
"name": "amountWithdraw",
|
|
261
246
|
"type": "uint256"
|
|
262
247
|
},
|
|
263
248
|
{
|
|
264
249
|
"indexed": false,
|
|
265
250
|
"internalType": "uint256",
|
|
266
|
-
"name": "
|
|
251
|
+
"name": "amountFee",
|
|
267
252
|
"type": "uint256"
|
|
268
253
|
}
|
|
269
254
|
],
|
|
@@ -340,14 +325,19 @@
|
|
|
340
325
|
},
|
|
341
326
|
{
|
|
342
327
|
"internalType": "uint256",
|
|
343
|
-
"name": "
|
|
328
|
+
"name": "amountBridge",
|
|
344
329
|
"type": "uint256"
|
|
345
330
|
},
|
|
346
331
|
{
|
|
347
332
|
"internalType": "uint256",
|
|
348
|
-
"name": "
|
|
333
|
+
"name": "amountFee",
|
|
349
334
|
"type": "uint256"
|
|
350
335
|
},
|
|
336
|
+
{
|
|
337
|
+
"internalType": "bool",
|
|
338
|
+
"name": "pullFromOwner",
|
|
339
|
+
"type": "bool"
|
|
340
|
+
},
|
|
351
341
|
{
|
|
352
342
|
"internalType": "address",
|
|
353
343
|
"name": "bridgeExtRouter",
|
|
@@ -390,12 +380,12 @@
|
|
|
390
380
|
},
|
|
391
381
|
{
|
|
392
382
|
"internalType": "uint256",
|
|
393
|
-
"name": "
|
|
383
|
+
"name": "expiry",
|
|
394
384
|
"type": "uint256"
|
|
395
385
|
},
|
|
396
386
|
{
|
|
397
387
|
"internalType": "uint256",
|
|
398
|
-
"name": "
|
|
388
|
+
"name": "nonce",
|
|
399
389
|
"type": "uint256"
|
|
400
390
|
},
|
|
401
391
|
{
|
|
@@ -405,13 +395,13 @@
|
|
|
405
395
|
},
|
|
406
396
|
{
|
|
407
397
|
"internalType": "uint256",
|
|
408
|
-
"name": "
|
|
398
|
+
"name": "amountSpent",
|
|
409
399
|
"type": "uint256"
|
|
410
400
|
},
|
|
411
401
|
{
|
|
412
|
-
"internalType": "
|
|
413
|
-
"name": "
|
|
414
|
-
"type": "
|
|
402
|
+
"internalType": "uint256",
|
|
403
|
+
"name": "amountFee",
|
|
404
|
+
"type": "uint256"
|
|
415
405
|
},
|
|
416
406
|
{
|
|
417
407
|
"internalType": "address",
|
|
@@ -425,45 +415,18 @@
|
|
|
425
415
|
},
|
|
426
416
|
{
|
|
427
417
|
"internalType": "uint32",
|
|
428
|
-
"name": "
|
|
418
|
+
"name": "dstEid",
|
|
429
419
|
"type": "uint32"
|
|
430
420
|
},
|
|
431
421
|
{
|
|
432
422
|
"internalType": "bytes32",
|
|
433
423
|
"name": "receiver",
|
|
434
424
|
"type": "bytes32"
|
|
435
|
-
}
|
|
436
|
-
],
|
|
437
|
-
"internalType": "struct IPCrossChainSwapHub.BuyCrossChainPtIntent",
|
|
438
|
-
"name": "intent",
|
|
439
|
-
"type": "tuple"
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
"internalType": "bytes",
|
|
443
|
-
"name": "intentSig",
|
|
444
|
-
"type": "bytes"
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
"components": [
|
|
448
|
-
{
|
|
449
|
-
"internalType": "address",
|
|
450
|
-
"name": "validator",
|
|
451
|
-
"type": "address"
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
"internalType": "bytes32",
|
|
455
|
-
"name": "intentHash",
|
|
456
|
-
"type": "bytes32"
|
|
457
425
|
},
|
|
458
426
|
{
|
|
459
|
-
"internalType": "
|
|
460
|
-
"name": "
|
|
461
|
-
"type": "
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
"internalType": "uint256",
|
|
465
|
-
"name": "feeAmount",
|
|
466
|
-
"type": "uint256"
|
|
427
|
+
"internalType": "bool",
|
|
428
|
+
"name": "pullFromOwner",
|
|
429
|
+
"type": "bool"
|
|
467
430
|
},
|
|
468
431
|
{
|
|
469
432
|
"internalType": "address",
|
|
@@ -479,20 +442,15 @@
|
|
|
479
442
|
"internalType": "bytes",
|
|
480
443
|
"name": "swapCalldata",
|
|
481
444
|
"type": "bytes"
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
"internalType": "uint256",
|
|
485
|
-
"name": "expiry",
|
|
486
|
-
"type": "uint256"
|
|
487
445
|
}
|
|
488
446
|
],
|
|
489
|
-
"internalType": "struct IPCrossChainSwapHub.
|
|
490
|
-
"name": "
|
|
447
|
+
"internalType": "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
|
|
448
|
+
"name": "message",
|
|
491
449
|
"type": "tuple"
|
|
492
450
|
},
|
|
493
451
|
{
|
|
494
452
|
"internalType": "bytes",
|
|
495
|
-
"name": "
|
|
453
|
+
"name": "signature",
|
|
496
454
|
"type": "bytes"
|
|
497
455
|
}
|
|
498
456
|
],
|
|
@@ -525,6 +483,11 @@
|
|
|
525
483
|
"internalType": "bytes32",
|
|
526
484
|
"name": "salt",
|
|
527
485
|
"type": "bytes32"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"internalType": "bool",
|
|
489
|
+
"name": "deployed",
|
|
490
|
+
"type": "bool"
|
|
528
491
|
}
|
|
529
492
|
],
|
|
530
493
|
"stateMutability": "view",
|
|
@@ -564,6 +527,11 @@
|
|
|
564
527
|
"name": "amountSpent",
|
|
565
528
|
"type": "uint256"
|
|
566
529
|
},
|
|
530
|
+
{
|
|
531
|
+
"internalType": "uint256",
|
|
532
|
+
"name": "amountFee",
|
|
533
|
+
"type": "uint256"
|
|
534
|
+
},
|
|
567
535
|
{
|
|
568
536
|
"internalType": "address",
|
|
569
537
|
"name": "tokenReceived",
|
|
@@ -575,9 +543,14 @@
|
|
|
575
543
|
"type": "uint256"
|
|
576
544
|
},
|
|
577
545
|
{
|
|
578
|
-
"internalType": "
|
|
579
|
-
"name": "
|
|
580
|
-
"type": "
|
|
546
|
+
"internalType": "bool",
|
|
547
|
+
"name": "pullFromOwner",
|
|
548
|
+
"type": "bool"
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"internalType": "bool",
|
|
552
|
+
"name": "sendToOwner",
|
|
553
|
+
"type": "bool"
|
|
581
554
|
},
|
|
582
555
|
{
|
|
583
556
|
"internalType": "address",
|
|
@@ -617,46 +590,41 @@
|
|
|
617
590
|
"components": [
|
|
618
591
|
{
|
|
619
592
|
"internalType": "address",
|
|
620
|
-
"name": "
|
|
593
|
+
"name": "owner",
|
|
621
594
|
"type": "address"
|
|
622
595
|
},
|
|
623
596
|
{
|
|
624
|
-
"internalType": "
|
|
625
|
-
"name": "
|
|
626
|
-
"type": "
|
|
597
|
+
"internalType": "uint32",
|
|
598
|
+
"name": "boxId",
|
|
599
|
+
"type": "uint32"
|
|
627
600
|
},
|
|
628
601
|
{
|
|
629
602
|
"internalType": "uint256",
|
|
630
|
-
"name": "
|
|
603
|
+
"name": "expiry",
|
|
631
604
|
"type": "uint256"
|
|
632
605
|
},
|
|
633
606
|
{
|
|
634
607
|
"internalType": "uint256",
|
|
635
|
-
"name": "
|
|
608
|
+
"name": "nonce",
|
|
636
609
|
"type": "uint256"
|
|
637
610
|
},
|
|
638
611
|
{
|
|
639
612
|
"internalType": "address",
|
|
640
|
-
"name": "
|
|
641
|
-
"type": "address"
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
"internalType": "address",
|
|
645
|
-
"name": "swapExtRouter",
|
|
613
|
+
"name": "token",
|
|
646
614
|
"type": "address"
|
|
647
615
|
},
|
|
648
616
|
{
|
|
649
|
-
"internalType": "
|
|
650
|
-
"name": "
|
|
651
|
-
"type": "
|
|
617
|
+
"internalType": "uint256",
|
|
618
|
+
"name": "amountWithdraw",
|
|
619
|
+
"type": "uint256"
|
|
652
620
|
},
|
|
653
621
|
{
|
|
654
622
|
"internalType": "uint256",
|
|
655
|
-
"name": "
|
|
623
|
+
"name": "amountFee",
|
|
656
624
|
"type": "uint256"
|
|
657
625
|
}
|
|
658
626
|
],
|
|
659
|
-
"internalType": "struct IPCrossChainSwapHub.
|
|
627
|
+
"internalType": "struct IPCrossChainSwapHub.WithdrawTokenMessage",
|
|
660
628
|
"name": "message",
|
|
661
629
|
"type": "tuple"
|
|
662
630
|
}
|
|
@@ -688,12 +656,12 @@
|
|
|
688
656
|
},
|
|
689
657
|
{
|
|
690
658
|
"internalType": "uint256",
|
|
691
|
-
"name": "
|
|
659
|
+
"name": "expiry",
|
|
692
660
|
"type": "uint256"
|
|
693
661
|
},
|
|
694
662
|
{
|
|
695
663
|
"internalType": "uint256",
|
|
696
|
-
"name": "
|
|
664
|
+
"name": "nonce",
|
|
697
665
|
"type": "uint256"
|
|
698
666
|
},
|
|
699
667
|
{
|
|
@@ -703,13 +671,13 @@
|
|
|
703
671
|
},
|
|
704
672
|
{
|
|
705
673
|
"internalType": "uint256",
|
|
706
|
-
"name": "
|
|
674
|
+
"name": "amountSpent",
|
|
707
675
|
"type": "uint256"
|
|
708
676
|
},
|
|
709
677
|
{
|
|
710
|
-
"internalType": "
|
|
711
|
-
"name": "
|
|
712
|
-
"type": "
|
|
678
|
+
"internalType": "uint256",
|
|
679
|
+
"name": "amountFee",
|
|
680
|
+
"type": "uint256"
|
|
713
681
|
},
|
|
714
682
|
{
|
|
715
683
|
"internalType": "address",
|
|
@@ -723,82 +691,36 @@
|
|
|
723
691
|
},
|
|
724
692
|
{
|
|
725
693
|
"internalType": "uint32",
|
|
726
|
-
"name": "
|
|
694
|
+
"name": "dstEid",
|
|
727
695
|
"type": "uint32"
|
|
728
696
|
},
|
|
729
697
|
{
|
|
730
698
|
"internalType": "bytes32",
|
|
731
699
|
"name": "receiver",
|
|
732
700
|
"type": "bytes32"
|
|
733
|
-
}
|
|
734
|
-
],
|
|
735
|
-
"internalType": "struct IPCrossChainSwapHub.BuyCrossChainPtIntent",
|
|
736
|
-
"name": "intent",
|
|
737
|
-
"type": "tuple"
|
|
738
|
-
}
|
|
739
|
-
],
|
|
740
|
-
"name": "hashTypedData",
|
|
741
|
-
"outputs": [
|
|
742
|
-
{
|
|
743
|
-
"internalType": "bytes32",
|
|
744
|
-
"name": "",
|
|
745
|
-
"type": "bytes32"
|
|
746
|
-
}
|
|
747
|
-
],
|
|
748
|
-
"stateMutability": "view",
|
|
749
|
-
"type": "function"
|
|
750
|
-
},
|
|
751
|
-
{
|
|
752
|
-
"inputs": [
|
|
753
|
-
{
|
|
754
|
-
"components": [
|
|
755
|
-
{
|
|
756
|
-
"internalType": "address",
|
|
757
|
-
"name": "owner",
|
|
758
|
-
"type": "address"
|
|
759
701
|
},
|
|
760
702
|
{
|
|
761
|
-
"internalType": "
|
|
762
|
-
"name": "
|
|
763
|
-
"type": "
|
|
764
|
-
},
|
|
765
|
-
{
|
|
766
|
-
"internalType": "uint256",
|
|
767
|
-
"name": "expiry",
|
|
768
|
-
"type": "uint256"
|
|
769
|
-
},
|
|
770
|
-
{
|
|
771
|
-
"internalType": "uint256",
|
|
772
|
-
"name": "nonce",
|
|
773
|
-
"type": "uint256"
|
|
703
|
+
"internalType": "bool",
|
|
704
|
+
"name": "pullFromOwner",
|
|
705
|
+
"type": "bool"
|
|
774
706
|
},
|
|
775
707
|
{
|
|
776
708
|
"internalType": "address",
|
|
777
|
-
"name": "
|
|
709
|
+
"name": "swapExecutor",
|
|
778
710
|
"type": "address"
|
|
779
711
|
},
|
|
780
|
-
{
|
|
781
|
-
"internalType": "uint256",
|
|
782
|
-
"name": "bridgeAmount",
|
|
783
|
-
"type": "uint256"
|
|
784
|
-
},
|
|
785
|
-
{
|
|
786
|
-
"internalType": "uint256",
|
|
787
|
-
"name": "feeAmount",
|
|
788
|
-
"type": "uint256"
|
|
789
|
-
},
|
|
790
712
|
{
|
|
791
713
|
"internalType": "address",
|
|
792
|
-
"name": "
|
|
714
|
+
"name": "swapExtRouter",
|
|
793
715
|
"type": "address"
|
|
794
716
|
},
|
|
795
717
|
{
|
|
796
718
|
"internalType": "bytes",
|
|
797
|
-
"name": "
|
|
719
|
+
"name": "swapCalldata",
|
|
798
720
|
"type": "bytes"
|
|
799
721
|
}
|
|
800
722
|
],
|
|
801
|
-
"internalType": "struct IPCrossChainSwapHub.
|
|
723
|
+
"internalType": "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
|
|
802
724
|
"name": "message",
|
|
803
725
|
"type": "tuple"
|
|
804
726
|
}
|
|
@@ -838,11 +760,6 @@
|
|
|
838
760
|
"name": "nonce",
|
|
839
761
|
"type": "uint256"
|
|
840
762
|
},
|
|
841
|
-
{
|
|
842
|
-
"internalType": "address",
|
|
843
|
-
"name": "receiver",
|
|
844
|
-
"type": "address"
|
|
845
|
-
},
|
|
846
763
|
{
|
|
847
764
|
"internalType": "address",
|
|
848
765
|
"name": "token",
|
|
@@ -850,16 +767,31 @@
|
|
|
850
767
|
},
|
|
851
768
|
{
|
|
852
769
|
"internalType": "uint256",
|
|
853
|
-
"name": "
|
|
770
|
+
"name": "amountBridge",
|
|
854
771
|
"type": "uint256"
|
|
855
772
|
},
|
|
856
773
|
{
|
|
857
774
|
"internalType": "uint256",
|
|
858
|
-
"name": "
|
|
775
|
+
"name": "amountFee",
|
|
859
776
|
"type": "uint256"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"internalType": "bool",
|
|
780
|
+
"name": "pullFromOwner",
|
|
781
|
+
"type": "bool"
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"internalType": "address",
|
|
785
|
+
"name": "bridgeExtRouter",
|
|
786
|
+
"type": "address"
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"internalType": "bytes",
|
|
790
|
+
"name": "bridgeCalldata",
|
|
791
|
+
"type": "bytes"
|
|
860
792
|
}
|
|
861
793
|
],
|
|
862
|
-
"internalType": "struct IPCrossChainSwapHub.
|
|
794
|
+
"internalType": "struct IPCrossChainSwapHub.BridgeTokenMessage",
|
|
863
795
|
"name": "message",
|
|
864
796
|
"type": "tuple"
|
|
865
797
|
}
|
|
@@ -894,44 +826,6 @@
|
|
|
894
826
|
"stateMutability": "view",
|
|
895
827
|
"type": "function"
|
|
896
828
|
},
|
|
897
|
-
{
|
|
898
|
-
"inputs": [
|
|
899
|
-
{
|
|
900
|
-
"internalType": "bytes32",
|
|
901
|
-
"name": "intentHash",
|
|
902
|
-
"type": "bytes32"
|
|
903
|
-
}
|
|
904
|
-
],
|
|
905
|
-
"name": "isIntentExecuted",
|
|
906
|
-
"outputs": [
|
|
907
|
-
{
|
|
908
|
-
"internalType": "bool",
|
|
909
|
-
"name": "",
|
|
910
|
-
"type": "bool"
|
|
911
|
-
}
|
|
912
|
-
],
|
|
913
|
-
"stateMutability": "view",
|
|
914
|
-
"type": "function"
|
|
915
|
-
},
|
|
916
|
-
{
|
|
917
|
-
"inputs": [
|
|
918
|
-
{
|
|
919
|
-
"internalType": "address",
|
|
920
|
-
"name": "validator",
|
|
921
|
-
"type": "address"
|
|
922
|
-
}
|
|
923
|
-
],
|
|
924
|
-
"name": "isValidator",
|
|
925
|
-
"outputs": [
|
|
926
|
-
{
|
|
927
|
-
"internalType": "bool",
|
|
928
|
-
"name": "",
|
|
929
|
-
"type": "bool"
|
|
930
|
-
}
|
|
931
|
-
],
|
|
932
|
-
"stateMutability": "view",
|
|
933
|
-
"type": "function"
|
|
934
|
-
},
|
|
935
829
|
{
|
|
936
830
|
"inputs": [
|
|
937
831
|
{
|
|
@@ -969,24 +863,6 @@
|
|
|
969
863
|
"stateMutability": "nonpayable",
|
|
970
864
|
"type": "function"
|
|
971
865
|
},
|
|
972
|
-
{
|
|
973
|
-
"inputs": [
|
|
974
|
-
{
|
|
975
|
-
"internalType": "address",
|
|
976
|
-
"name": "validator",
|
|
977
|
-
"type": "address"
|
|
978
|
-
},
|
|
979
|
-
{
|
|
980
|
-
"internalType": "bool",
|
|
981
|
-
"name": "isValidator",
|
|
982
|
-
"type": "bool"
|
|
983
|
-
}
|
|
984
|
-
],
|
|
985
|
-
"name": "setValidator",
|
|
986
|
-
"outputs": [],
|
|
987
|
-
"stateMutability": "nonpayable",
|
|
988
|
-
"type": "function"
|
|
989
|
-
},
|
|
990
866
|
{
|
|
991
867
|
"inputs": [
|
|
992
868
|
{
|
|
@@ -1021,6 +897,11 @@
|
|
|
1021
897
|
"name": "amountSpent",
|
|
1022
898
|
"type": "uint256"
|
|
1023
899
|
},
|
|
900
|
+
{
|
|
901
|
+
"internalType": "uint256",
|
|
902
|
+
"name": "amountFee",
|
|
903
|
+
"type": "uint256"
|
|
904
|
+
},
|
|
1024
905
|
{
|
|
1025
906
|
"internalType": "address",
|
|
1026
907
|
"name": "tokenReceived",
|
|
@@ -1032,9 +913,14 @@
|
|
|
1032
913
|
"type": "uint256"
|
|
1033
914
|
},
|
|
1034
915
|
{
|
|
1035
|
-
"internalType": "
|
|
1036
|
-
"name": "
|
|
1037
|
-
"type": "
|
|
916
|
+
"internalType": "bool",
|
|
917
|
+
"name": "pullFromOwner",
|
|
918
|
+
"type": "bool"
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"internalType": "bool",
|
|
922
|
+
"name": "sendToOwner",
|
|
923
|
+
"type": "bool"
|
|
1038
924
|
},
|
|
1039
925
|
{
|
|
1040
926
|
"internalType": "address",
|
|
@@ -1091,11 +977,6 @@
|
|
|
1091
977
|
"name": "nonce",
|
|
1092
978
|
"type": "uint256"
|
|
1093
979
|
},
|
|
1094
|
-
{
|
|
1095
|
-
"internalType": "address",
|
|
1096
|
-
"name": "receiver",
|
|
1097
|
-
"type": "address"
|
|
1098
|
-
},
|
|
1099
980
|
{
|
|
1100
981
|
"internalType": "address",
|
|
1101
982
|
"name": "token",
|
|
@@ -1103,12 +984,12 @@
|
|
|
1103
984
|
},
|
|
1104
985
|
{
|
|
1105
986
|
"internalType": "uint256",
|
|
1106
|
-
"name": "
|
|
987
|
+
"name": "amountWithdraw",
|
|
1107
988
|
"type": "uint256"
|
|
1108
989
|
},
|
|
1109
990
|
{
|
|
1110
991
|
"internalType": "uint256",
|
|
1111
|
-
"name": "
|
|
992
|
+
"name": "amountFee",
|
|
1112
993
|
"type": "uint256"
|
|
1113
994
|
}
|
|
1114
995
|
],
|