@pendle/core-v2 6.3.2-swaphubtest2 → 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 +157 -494
- 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 +155 -492
- 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 +84 -421
- 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 +70 -101
- package/contracts/cross-chain/swap-hub/SwapHubBase.sol +20 -29
- package/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol +2 -7
- package/contracts/interfaces/IPCrossChainSwapHub.sol +17 -39
- package/package.json +1 -1
- package/typechain-types/IPCrossChainSwapHub.ts +138 -302
- package/typechain-types/PendleCrossChainSwapHub.ts +138 -302
- package/typechain-types/SwapHubBase.ts +138 -302
- package/typechain-types/factories/IPCrossChainSwapHub__factory.ts +84 -421
- package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +156 -493
- package/typechain-types/factories/SwapExecutor__factory.ts +1 -1
- package/typechain-types/factories/SwapHubBase__factory.ts +155 -492
package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.json
CHANGED
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
"abi": [
|
|
6
6
|
{
|
|
7
7
|
"inputs": [],
|
|
8
|
-
"name": "
|
|
8
|
+
"name": "InsufficientTokenReceived",
|
|
9
9
|
"type": "error"
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"inputs": [],
|
|
13
|
-
"name": "
|
|
13
|
+
"name": "InvalidNonce",
|
|
14
14
|
"type": "error"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"inputs": [],
|
|
18
|
-
"name": "
|
|
18
|
+
"name": "InvalidReceiver",
|
|
19
19
|
"type": "error"
|
|
20
20
|
},
|
|
21
21
|
{
|
|
@@ -43,12 +43,6 @@
|
|
|
43
43
|
"name": "boxId",
|
|
44
44
|
"type": "uint32"
|
|
45
45
|
},
|
|
46
|
-
{
|
|
47
|
-
"indexed": false,
|
|
48
|
-
"internalType": "bytes32",
|
|
49
|
-
"name": "actionHash",
|
|
50
|
-
"type": "bytes32"
|
|
51
|
-
},
|
|
52
46
|
{
|
|
53
47
|
"indexed": false,
|
|
54
48
|
"internalType": "address",
|
|
@@ -72,6 +66,12 @@
|
|
|
72
66
|
"internalType": "uint256",
|
|
73
67
|
"name": "amountFee",
|
|
74
68
|
"type": "uint256"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"indexed": false,
|
|
72
|
+
"internalType": "bool",
|
|
73
|
+
"name": "pullFromOwner",
|
|
74
|
+
"type": "bool"
|
|
75
75
|
}
|
|
76
76
|
],
|
|
77
77
|
"name": "BridgeToken",
|
|
@@ -92,12 +92,6 @@
|
|
|
92
92
|
"name": "boxId",
|
|
93
93
|
"type": "uint32"
|
|
94
94
|
},
|
|
95
|
-
{
|
|
96
|
-
"indexed": false,
|
|
97
|
-
"internalType": "bytes32",
|
|
98
|
-
"name": "actionHash",
|
|
99
|
-
"type": "bytes32"
|
|
100
|
-
},
|
|
101
95
|
{
|
|
102
96
|
"indexed": false,
|
|
103
97
|
"internalType": "address",
|
|
@@ -133,46 +127,15 @@
|
|
|
133
127
|
"internalType": "uint256",
|
|
134
128
|
"name": "netPtReceived",
|
|
135
129
|
"type": "uint256"
|
|
136
|
-
}
|
|
137
|
-
],
|
|
138
|
-
"name": "BuyCrossChainPt",
|
|
139
|
-
"type": "event"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"anonymous": false,
|
|
143
|
-
"inputs": [
|
|
144
|
-
{
|
|
145
|
-
"indexed": true,
|
|
146
|
-
"internalType": "address",
|
|
147
|
-
"name": "owner",
|
|
148
|
-
"type": "address"
|
|
149
130
|
},
|
|
150
131
|
{
|
|
151
132
|
"indexed": false,
|
|
152
|
-
"internalType": "
|
|
153
|
-
"name": "
|
|
154
|
-
"type": "
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"indexed": false,
|
|
158
|
-
"internalType": "bytes32",
|
|
159
|
-
"name": "actionHash",
|
|
160
|
-
"type": "bytes32"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"indexed": false,
|
|
164
|
-
"internalType": "address",
|
|
165
|
-
"name": "token",
|
|
166
|
-
"type": "address"
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"indexed": false,
|
|
170
|
-
"internalType": "uint256",
|
|
171
|
-
"name": "amount",
|
|
172
|
-
"type": "uint256"
|
|
133
|
+
"internalType": "bool",
|
|
134
|
+
"name": "pullFromOwner",
|
|
135
|
+
"type": "bool"
|
|
173
136
|
}
|
|
174
137
|
],
|
|
175
|
-
"name": "
|
|
138
|
+
"name": "BuyCrossChainPt",
|
|
176
139
|
"type": "event"
|
|
177
140
|
},
|
|
178
141
|
{
|
|
@@ -209,12 +172,6 @@
|
|
|
209
172
|
"name": "boxId",
|
|
210
173
|
"type": "uint32"
|
|
211
174
|
},
|
|
212
|
-
{
|
|
213
|
-
"indexed": false,
|
|
214
|
-
"internalType": "bytes32",
|
|
215
|
-
"name": "actionHash",
|
|
216
|
-
"type": "bytes32"
|
|
217
|
-
},
|
|
218
175
|
{
|
|
219
176
|
"indexed": false,
|
|
220
177
|
"internalType": "address",
|
|
@@ -244,6 +201,18 @@
|
|
|
244
201
|
"internalType": "uint256",
|
|
245
202
|
"name": "netTokenReceived",
|
|
246
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"
|
|
247
216
|
}
|
|
248
217
|
],
|
|
249
218
|
"name": "SwapToken",
|
|
@@ -264,18 +233,6 @@
|
|
|
264
233
|
"name": "boxId",
|
|
265
234
|
"type": "uint32"
|
|
266
235
|
},
|
|
267
|
-
{
|
|
268
|
-
"indexed": false,
|
|
269
|
-
"internalType": "bytes32",
|
|
270
|
-
"name": "actionHash",
|
|
271
|
-
"type": "bytes32"
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
"indexed": false,
|
|
275
|
-
"internalType": "address",
|
|
276
|
-
"name": "receiver",
|
|
277
|
-
"type": "address"
|
|
278
|
-
},
|
|
279
236
|
{
|
|
280
237
|
"indexed": false,
|
|
281
238
|
"internalType": "address",
|
|
@@ -337,25 +294,6 @@
|
|
|
337
294
|
"stateMutability": "view",
|
|
338
295
|
"type": "function"
|
|
339
296
|
},
|
|
340
|
-
{
|
|
341
|
-
"inputs": [
|
|
342
|
-
{
|
|
343
|
-
"internalType": "bytes32",
|
|
344
|
-
"name": "actionHash",
|
|
345
|
-
"type": "bytes32"
|
|
346
|
-
}
|
|
347
|
-
],
|
|
348
|
-
"name": "actionStatus",
|
|
349
|
-
"outputs": [
|
|
350
|
-
{
|
|
351
|
-
"internalType": "enum IPCrossChainSwapHub.ActionStatus",
|
|
352
|
-
"name": "",
|
|
353
|
-
"type": "uint8"
|
|
354
|
-
}
|
|
355
|
-
],
|
|
356
|
-
"stateMutability": "view",
|
|
357
|
-
"type": "function"
|
|
358
|
-
},
|
|
359
297
|
{
|
|
360
298
|
"inputs": [
|
|
361
299
|
{
|
|
@@ -395,6 +333,11 @@
|
|
|
395
333
|
"name": "amountFee",
|
|
396
334
|
"type": "uint256"
|
|
397
335
|
},
|
|
336
|
+
{
|
|
337
|
+
"internalType": "bool",
|
|
338
|
+
"name": "pullFromOwner",
|
|
339
|
+
"type": "bool"
|
|
340
|
+
},
|
|
398
341
|
{
|
|
399
342
|
"internalType": "address",
|
|
400
343
|
"name": "bridgeExtRouter",
|
|
@@ -480,6 +423,11 @@
|
|
|
480
423
|
"name": "receiver",
|
|
481
424
|
"type": "bytes32"
|
|
482
425
|
},
|
|
426
|
+
{
|
|
427
|
+
"internalType": "bool",
|
|
428
|
+
"name": "pullFromOwner",
|
|
429
|
+
"type": "bool"
|
|
430
|
+
},
|
|
483
431
|
{
|
|
484
432
|
"internalType": "address",
|
|
485
433
|
"name": "swapExecutor",
|
|
@@ -514,216 +462,35 @@
|
|
|
514
462
|
{
|
|
515
463
|
"inputs": [
|
|
516
464
|
{
|
|
517
|
-
"
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
"name": "owner",
|
|
521
|
-
"type": "address"
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
"internalType": "uint32",
|
|
525
|
-
"name": "boxId",
|
|
526
|
-
"type": "uint32"
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
"internalType": "uint256",
|
|
530
|
-
"name": "expiry",
|
|
531
|
-
"type": "uint256"
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
"internalType": "uint256",
|
|
535
|
-
"name": "nonce",
|
|
536
|
-
"type": "uint256"
|
|
537
|
-
},
|
|
538
|
-
{
|
|
539
|
-
"internalType": "address",
|
|
540
|
-
"name": "receiver",
|
|
541
|
-
"type": "address"
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
"internalType": "address",
|
|
545
|
-
"name": "token",
|
|
546
|
-
"type": "address"
|
|
547
|
-
},
|
|
548
|
-
{
|
|
549
|
-
"internalType": "uint256",
|
|
550
|
-
"name": "amountWithdraw",
|
|
551
|
-
"type": "uint256"
|
|
552
|
-
},
|
|
553
|
-
{
|
|
554
|
-
"internalType": "uint256",
|
|
555
|
-
"name": "amountFee",
|
|
556
|
-
"type": "uint256"
|
|
557
|
-
}
|
|
558
|
-
],
|
|
559
|
-
"internalType": "struct IPCrossChainSwapHub.WithdrawTokenMessage",
|
|
560
|
-
"name": "message",
|
|
561
|
-
"type": "tuple"
|
|
465
|
+
"internalType": "address",
|
|
466
|
+
"name": "owner",
|
|
467
|
+
"type": "address"
|
|
562
468
|
},
|
|
563
469
|
{
|
|
564
|
-
"internalType": "
|
|
565
|
-
"name": "
|
|
566
|
-
"type": "
|
|
470
|
+
"internalType": "uint32",
|
|
471
|
+
"name": "boxId",
|
|
472
|
+
"type": "uint32"
|
|
567
473
|
}
|
|
568
474
|
],
|
|
569
|
-
"name": "
|
|
570
|
-
"outputs": [
|
|
571
|
-
"stateMutability": "nonpayable",
|
|
572
|
-
"type": "function"
|
|
573
|
-
},
|
|
574
|
-
{
|
|
575
|
-
"inputs": [
|
|
475
|
+
"name": "computeDepositBox",
|
|
476
|
+
"outputs": [
|
|
576
477
|
{
|
|
577
|
-
"
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
"name": "owner",
|
|
581
|
-
"type": "address"
|
|
582
|
-
},
|
|
583
|
-
{
|
|
584
|
-
"internalType": "uint32",
|
|
585
|
-
"name": "boxId",
|
|
586
|
-
"type": "uint32"
|
|
587
|
-
},
|
|
588
|
-
{
|
|
589
|
-
"internalType": "uint256",
|
|
590
|
-
"name": "expiry",
|
|
591
|
-
"type": "uint256"
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
"internalType": "uint256",
|
|
595
|
-
"name": "nonce",
|
|
596
|
-
"type": "uint256"
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
"internalType": "address",
|
|
600
|
-
"name": "token",
|
|
601
|
-
"type": "address"
|
|
602
|
-
},
|
|
603
|
-
{
|
|
604
|
-
"internalType": "uint256",
|
|
605
|
-
"name": "amountBridge",
|
|
606
|
-
"type": "uint256"
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
"internalType": "uint256",
|
|
610
|
-
"name": "amountFee",
|
|
611
|
-
"type": "uint256"
|
|
612
|
-
},
|
|
613
|
-
{
|
|
614
|
-
"internalType": "address",
|
|
615
|
-
"name": "bridgeExtRouter",
|
|
616
|
-
"type": "address"
|
|
617
|
-
},
|
|
618
|
-
{
|
|
619
|
-
"internalType": "bytes",
|
|
620
|
-
"name": "bridgeCalldata",
|
|
621
|
-
"type": "bytes"
|
|
622
|
-
}
|
|
623
|
-
],
|
|
624
|
-
"internalType": "struct IPCrossChainSwapHub.BridgeTokenMessage",
|
|
625
|
-
"name": "message",
|
|
626
|
-
"type": "tuple"
|
|
478
|
+
"internalType": "address",
|
|
479
|
+
"name": "box",
|
|
480
|
+
"type": "address"
|
|
627
481
|
},
|
|
628
482
|
{
|
|
629
|
-
"internalType": "
|
|
630
|
-
"name": "
|
|
631
|
-
"type": "
|
|
632
|
-
}
|
|
633
|
-
],
|
|
634
|
-
"name": "claimFee",
|
|
635
|
-
"outputs": [],
|
|
636
|
-
"stateMutability": "nonpayable",
|
|
637
|
-
"type": "function"
|
|
638
|
-
},
|
|
639
|
-
{
|
|
640
|
-
"inputs": [
|
|
641
|
-
{
|
|
642
|
-
"components": [
|
|
643
|
-
{
|
|
644
|
-
"internalType": "address",
|
|
645
|
-
"name": "owner",
|
|
646
|
-
"type": "address"
|
|
647
|
-
},
|
|
648
|
-
{
|
|
649
|
-
"internalType": "uint32",
|
|
650
|
-
"name": "boxId",
|
|
651
|
-
"type": "uint32"
|
|
652
|
-
},
|
|
653
|
-
{
|
|
654
|
-
"internalType": "uint256",
|
|
655
|
-
"name": "expiry",
|
|
656
|
-
"type": "uint256"
|
|
657
|
-
},
|
|
658
|
-
{
|
|
659
|
-
"internalType": "uint256",
|
|
660
|
-
"name": "nonce",
|
|
661
|
-
"type": "uint256"
|
|
662
|
-
},
|
|
663
|
-
{
|
|
664
|
-
"internalType": "address",
|
|
665
|
-
"name": "tokenSpent",
|
|
666
|
-
"type": "address"
|
|
667
|
-
},
|
|
668
|
-
{
|
|
669
|
-
"internalType": "uint256",
|
|
670
|
-
"name": "amountSpent",
|
|
671
|
-
"type": "uint256"
|
|
672
|
-
},
|
|
673
|
-
{
|
|
674
|
-
"internalType": "uint256",
|
|
675
|
-
"name": "amountFee",
|
|
676
|
-
"type": "uint256"
|
|
677
|
-
},
|
|
678
|
-
{
|
|
679
|
-
"internalType": "address",
|
|
680
|
-
"name": "ptAdapter",
|
|
681
|
-
"type": "address"
|
|
682
|
-
},
|
|
683
|
-
{
|
|
684
|
-
"internalType": "uint256",
|
|
685
|
-
"name": "minPtReceived",
|
|
686
|
-
"type": "uint256"
|
|
687
|
-
},
|
|
688
|
-
{
|
|
689
|
-
"internalType": "uint32",
|
|
690
|
-
"name": "dstEid",
|
|
691
|
-
"type": "uint32"
|
|
692
|
-
},
|
|
693
|
-
{
|
|
694
|
-
"internalType": "bytes32",
|
|
695
|
-
"name": "receiver",
|
|
696
|
-
"type": "bytes32"
|
|
697
|
-
},
|
|
698
|
-
{
|
|
699
|
-
"internalType": "address",
|
|
700
|
-
"name": "swapExecutor",
|
|
701
|
-
"type": "address"
|
|
702
|
-
},
|
|
703
|
-
{
|
|
704
|
-
"internalType": "address",
|
|
705
|
-
"name": "swapExtRouter",
|
|
706
|
-
"type": "address"
|
|
707
|
-
},
|
|
708
|
-
{
|
|
709
|
-
"internalType": "bytes",
|
|
710
|
-
"name": "swapCalldata",
|
|
711
|
-
"type": "bytes"
|
|
712
|
-
}
|
|
713
|
-
],
|
|
714
|
-
"internalType": "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
|
|
715
|
-
"name": "message",
|
|
716
|
-
"type": "tuple"
|
|
483
|
+
"internalType": "bytes32",
|
|
484
|
+
"name": "salt",
|
|
485
|
+
"type": "bytes32"
|
|
717
486
|
},
|
|
718
487
|
{
|
|
719
|
-
"internalType": "
|
|
720
|
-
"name": "
|
|
721
|
-
"type": "
|
|
488
|
+
"internalType": "bool",
|
|
489
|
+
"name": "deployed",
|
|
490
|
+
"type": "bool"
|
|
722
491
|
}
|
|
723
492
|
],
|
|
724
|
-
"
|
|
725
|
-
"outputs": [],
|
|
726
|
-
"stateMutability": "nonpayable",
|
|
493
|
+
"stateMutability": "view",
|
|
727
494
|
"type": "function"
|
|
728
495
|
},
|
|
729
496
|
{
|
|
@@ -776,9 +543,14 @@
|
|
|
776
543
|
"type": "uint256"
|
|
777
544
|
},
|
|
778
545
|
{
|
|
779
|
-
"internalType": "
|
|
780
|
-
"name": "
|
|
781
|
-
"type": "
|
|
546
|
+
"internalType": "bool",
|
|
547
|
+
"name": "pullFromOwner",
|
|
548
|
+
"type": "bool"
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"internalType": "bool",
|
|
552
|
+
"name": "sendToOwner",
|
|
553
|
+
"type": "bool"
|
|
782
554
|
},
|
|
783
555
|
{
|
|
784
556
|
"internalType": "address",
|
|
@@ -799,41 +571,13 @@
|
|
|
799
571
|
"internalType": "struct IPCrossChainSwapHub.SwapTokenMessage",
|
|
800
572
|
"name": "message",
|
|
801
573
|
"type": "tuple"
|
|
802
|
-
},
|
|
803
|
-
{
|
|
804
|
-
"internalType": "bytes",
|
|
805
|
-
"name": "signature",
|
|
806
|
-
"type": "bytes"
|
|
807
|
-
}
|
|
808
|
-
],
|
|
809
|
-
"name": "claimFee",
|
|
810
|
-
"outputs": [],
|
|
811
|
-
"stateMutability": "nonpayable",
|
|
812
|
-
"type": "function"
|
|
813
|
-
},
|
|
814
|
-
{
|
|
815
|
-
"inputs": [
|
|
816
|
-
{
|
|
817
|
-
"internalType": "address",
|
|
818
|
-
"name": "owner",
|
|
819
|
-
"type": "address"
|
|
820
|
-
},
|
|
821
|
-
{
|
|
822
|
-
"internalType": "uint32",
|
|
823
|
-
"name": "boxId",
|
|
824
|
-
"type": "uint32"
|
|
825
574
|
}
|
|
826
575
|
],
|
|
827
|
-
"name": "
|
|
576
|
+
"name": "hashTypedData",
|
|
828
577
|
"outputs": [
|
|
829
|
-
{
|
|
830
|
-
"internalType": "address",
|
|
831
|
-
"name": "box",
|
|
832
|
-
"type": "address"
|
|
833
|
-
},
|
|
834
578
|
{
|
|
835
579
|
"internalType": "bytes32",
|
|
836
|
-
"name": "
|
|
580
|
+
"name": "",
|
|
837
581
|
"type": "bytes32"
|
|
838
582
|
}
|
|
839
583
|
],
|
|
@@ -866,51 +610,21 @@
|
|
|
866
610
|
},
|
|
867
611
|
{
|
|
868
612
|
"internalType": "address",
|
|
869
|
-
"name": "
|
|
613
|
+
"name": "token",
|
|
870
614
|
"type": "address"
|
|
871
615
|
},
|
|
872
616
|
{
|
|
873
617
|
"internalType": "uint256",
|
|
874
|
-
"name": "
|
|
618
|
+
"name": "amountWithdraw",
|
|
875
619
|
"type": "uint256"
|
|
876
620
|
},
|
|
877
621
|
{
|
|
878
622
|
"internalType": "uint256",
|
|
879
623
|
"name": "amountFee",
|
|
880
624
|
"type": "uint256"
|
|
881
|
-
},
|
|
882
|
-
{
|
|
883
|
-
"internalType": "address",
|
|
884
|
-
"name": "tokenReceived",
|
|
885
|
-
"type": "address"
|
|
886
|
-
},
|
|
887
|
-
{
|
|
888
|
-
"internalType": "uint256",
|
|
889
|
-
"name": "minReceived",
|
|
890
|
-
"type": "uint256"
|
|
891
|
-
},
|
|
892
|
-
{
|
|
893
|
-
"internalType": "address",
|
|
894
|
-
"name": "receiver",
|
|
895
|
-
"type": "address"
|
|
896
|
-
},
|
|
897
|
-
{
|
|
898
|
-
"internalType": "address",
|
|
899
|
-
"name": "swapExecutor",
|
|
900
|
-
"type": "address"
|
|
901
|
-
},
|
|
902
|
-
{
|
|
903
|
-
"internalType": "address",
|
|
904
|
-
"name": "swapExtRouter",
|
|
905
|
-
"type": "address"
|
|
906
|
-
},
|
|
907
|
-
{
|
|
908
|
-
"internalType": "bytes",
|
|
909
|
-
"name": "swapCalldata",
|
|
910
|
-
"type": "bytes"
|
|
911
625
|
}
|
|
912
626
|
],
|
|
913
|
-
"internalType": "struct IPCrossChainSwapHub.
|
|
627
|
+
"internalType": "struct IPCrossChainSwapHub.WithdrawTokenMessage",
|
|
914
628
|
"name": "message",
|
|
915
629
|
"type": "tuple"
|
|
916
630
|
}
|
|
@@ -985,6 +699,11 @@
|
|
|
985
699
|
"name": "receiver",
|
|
986
700
|
"type": "bytes32"
|
|
987
701
|
},
|
|
702
|
+
{
|
|
703
|
+
"internalType": "bool",
|
|
704
|
+
"name": "pullFromOwner",
|
|
705
|
+
"type": "bool"
|
|
706
|
+
},
|
|
988
707
|
{
|
|
989
708
|
"internalType": "address",
|
|
990
709
|
"name": "swapExecutor",
|
|
@@ -1056,6 +775,11 @@
|
|
|
1056
775
|
"name": "amountFee",
|
|
1057
776
|
"type": "uint256"
|
|
1058
777
|
},
|
|
778
|
+
{
|
|
779
|
+
"internalType": "bool",
|
|
780
|
+
"name": "pullFromOwner",
|
|
781
|
+
"type": "bool"
|
|
782
|
+
},
|
|
1059
783
|
{
|
|
1060
784
|
"internalType": "address",
|
|
1061
785
|
"name": "bridgeExtRouter",
|
|
@@ -1083,67 +807,6 @@
|
|
|
1083
807
|
"stateMutability": "view",
|
|
1084
808
|
"type": "function"
|
|
1085
809
|
},
|
|
1086
|
-
{
|
|
1087
|
-
"inputs": [
|
|
1088
|
-
{
|
|
1089
|
-
"components": [
|
|
1090
|
-
{
|
|
1091
|
-
"internalType": "address",
|
|
1092
|
-
"name": "owner",
|
|
1093
|
-
"type": "address"
|
|
1094
|
-
},
|
|
1095
|
-
{
|
|
1096
|
-
"internalType": "uint32",
|
|
1097
|
-
"name": "boxId",
|
|
1098
|
-
"type": "uint32"
|
|
1099
|
-
},
|
|
1100
|
-
{
|
|
1101
|
-
"internalType": "uint256",
|
|
1102
|
-
"name": "expiry",
|
|
1103
|
-
"type": "uint256"
|
|
1104
|
-
},
|
|
1105
|
-
{
|
|
1106
|
-
"internalType": "uint256",
|
|
1107
|
-
"name": "nonce",
|
|
1108
|
-
"type": "uint256"
|
|
1109
|
-
},
|
|
1110
|
-
{
|
|
1111
|
-
"internalType": "address",
|
|
1112
|
-
"name": "receiver",
|
|
1113
|
-
"type": "address"
|
|
1114
|
-
},
|
|
1115
|
-
{
|
|
1116
|
-
"internalType": "address",
|
|
1117
|
-
"name": "token",
|
|
1118
|
-
"type": "address"
|
|
1119
|
-
},
|
|
1120
|
-
{
|
|
1121
|
-
"internalType": "uint256",
|
|
1122
|
-
"name": "amountWithdraw",
|
|
1123
|
-
"type": "uint256"
|
|
1124
|
-
},
|
|
1125
|
-
{
|
|
1126
|
-
"internalType": "uint256",
|
|
1127
|
-
"name": "amountFee",
|
|
1128
|
-
"type": "uint256"
|
|
1129
|
-
}
|
|
1130
|
-
],
|
|
1131
|
-
"internalType": "struct IPCrossChainSwapHub.WithdrawTokenMessage",
|
|
1132
|
-
"name": "message",
|
|
1133
|
-
"type": "tuple"
|
|
1134
|
-
}
|
|
1135
|
-
],
|
|
1136
|
-
"name": "hashTypedData",
|
|
1137
|
-
"outputs": [
|
|
1138
|
-
{
|
|
1139
|
-
"internalType": "bytes32",
|
|
1140
|
-
"name": "",
|
|
1141
|
-
"type": "bytes32"
|
|
1142
|
-
}
|
|
1143
|
-
],
|
|
1144
|
-
"stateMutability": "view",
|
|
1145
|
-
"type": "function"
|
|
1146
|
-
},
|
|
1147
810
|
{
|
|
1148
811
|
"inputs": [
|
|
1149
812
|
{
|
|
@@ -1250,9 +913,14 @@
|
|
|
1250
913
|
"type": "uint256"
|
|
1251
914
|
},
|
|
1252
915
|
{
|
|
1253
|
-
"internalType": "
|
|
1254
|
-
"name": "
|
|
1255
|
-
"type": "
|
|
916
|
+
"internalType": "bool",
|
|
917
|
+
"name": "pullFromOwner",
|
|
918
|
+
"type": "bool"
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"internalType": "bool",
|
|
922
|
+
"name": "sendToOwner",
|
|
923
|
+
"type": "bool"
|
|
1256
924
|
},
|
|
1257
925
|
{
|
|
1258
926
|
"internalType": "address",
|
|
@@ -1309,11 +977,6 @@
|
|
|
1309
977
|
"name": "nonce",
|
|
1310
978
|
"type": "uint256"
|
|
1311
979
|
},
|
|
1312
|
-
{
|
|
1313
|
-
"internalType": "address",
|
|
1314
|
-
"name": "receiver",
|
|
1315
|
-
"type": "address"
|
|
1316
|
-
},
|
|
1317
980
|
{
|
|
1318
981
|
"internalType": "address",
|
|
1319
982
|
"name": "token",
|