@pendle/core-v2 6.3.2-swaphubtest2 → 6.3.2-swaphubtest4
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/DepositBox.sol/DepositBox.json +10 -41
- 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 +170 -475
- 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 +128 -442
- 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 +101 -428
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.json +7 -33
- 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/DepositBox.sol +11 -17
- package/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol +98 -126
- package/contracts/cross-chain/swap-hub/SwapHubBase.sol +54 -52
- package/contracts/interfaces/IPCrossChainSwapHub.sol +20 -41
- package/contracts/interfaces/IPDepositBox.sol +3 -6
- package/package.json +1 -1
- package/typechain-types/DepositBox.ts +20 -64
- package/typechain-types/IPCrossChainSwapHub.ts +143 -304
- package/typechain-types/IPDepositBox.ts +20 -64
- package/typechain-types/PendleCrossChainSwapHub.ts +151 -299
- package/typechain-types/SwapHubBase.ts +151 -299
- package/typechain-types/factories/DepositBox__factory.ts +13 -50
- package/typechain-types/factories/IPCrossChainSwapHub__factory.ts +101 -428
- package/typechain-types/factories/IPDepositBox__factory.ts +7 -33
- package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +173 -474
- package/typechain-types/factories/SwapHubBase__factory.ts +128 -442
- package/typechain-types/hardhat.d.ts +0 -18
- package/typechain-types/index.ts +0 -4
- package/build/artifacts/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol/IPSwapExecutor.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol/IPSwapExecutor.json +0 -56
- package/build/artifacts/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol/SwapExecutor.dbg.json +0 -4
- package/build/artifacts/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol/SwapExecutor.json +0 -60
- package/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol +0 -14
- package/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol +0 -33
- package/typechain-types/IPSwapExecutor.ts +0 -129
- package/typechain-types/SwapExecutor.ts +0 -129
- package/typechain-types/factories/IPSwapExecutor__factory.ts +0 -71
- package/typechain-types/factories/SwapExecutor__factory.ts +0 -110
|
@@ -12,17 +12,17 @@ import type {
|
|
|
12
12
|
const _abi = [
|
|
13
13
|
{
|
|
14
14
|
inputs: [],
|
|
15
|
-
name: "
|
|
15
|
+
name: "InsufficientTokenReceived",
|
|
16
16
|
type: "error",
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
inputs: [],
|
|
20
|
-
name: "
|
|
20
|
+
name: "InvalidNonce",
|
|
21
21
|
type: "error",
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
inputs: [],
|
|
25
|
-
name: "
|
|
25
|
+
name: "InvalidReceiver",
|
|
26
26
|
type: "error",
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -50,12 +50,6 @@ const _abi = [
|
|
|
50
50
|
name: "boxId",
|
|
51
51
|
type: "uint32",
|
|
52
52
|
},
|
|
53
|
-
{
|
|
54
|
-
indexed: false,
|
|
55
|
-
internalType: "bytes32",
|
|
56
|
-
name: "actionHash",
|
|
57
|
-
type: "bytes32",
|
|
58
|
-
},
|
|
59
53
|
{
|
|
60
54
|
indexed: false,
|
|
61
55
|
internalType: "address",
|
|
@@ -80,6 +74,12 @@ const _abi = [
|
|
|
80
74
|
name: "amountFee",
|
|
81
75
|
type: "uint256",
|
|
82
76
|
},
|
|
77
|
+
{
|
|
78
|
+
indexed: false,
|
|
79
|
+
internalType: "bool",
|
|
80
|
+
name: "pullFromOwner",
|
|
81
|
+
type: "bool",
|
|
82
|
+
},
|
|
83
83
|
],
|
|
84
84
|
name: "BridgeToken",
|
|
85
85
|
type: "event",
|
|
@@ -99,12 +99,6 @@ const _abi = [
|
|
|
99
99
|
name: "boxId",
|
|
100
100
|
type: "uint32",
|
|
101
101
|
},
|
|
102
|
-
{
|
|
103
|
-
indexed: false,
|
|
104
|
-
internalType: "bytes32",
|
|
105
|
-
name: "actionHash",
|
|
106
|
-
type: "bytes32",
|
|
107
|
-
},
|
|
108
102
|
{
|
|
109
103
|
indexed: false,
|
|
110
104
|
internalType: "address",
|
|
@@ -141,45 +135,14 @@ const _abi = [
|
|
|
141
135
|
name: "netPtReceived",
|
|
142
136
|
type: "uint256",
|
|
143
137
|
},
|
|
144
|
-
],
|
|
145
|
-
name: "BuyCrossChainPt",
|
|
146
|
-
type: "event",
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
anonymous: false,
|
|
150
|
-
inputs: [
|
|
151
|
-
{
|
|
152
|
-
indexed: true,
|
|
153
|
-
internalType: "address",
|
|
154
|
-
name: "owner",
|
|
155
|
-
type: "address",
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
indexed: false,
|
|
159
|
-
internalType: "uint32",
|
|
160
|
-
name: "boxId",
|
|
161
|
-
type: "uint32",
|
|
162
|
-
},
|
|
163
138
|
{
|
|
164
139
|
indexed: false,
|
|
165
|
-
internalType: "
|
|
166
|
-
name: "
|
|
167
|
-
type: "
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
indexed: false,
|
|
171
|
-
internalType: "address",
|
|
172
|
-
name: "token",
|
|
173
|
-
type: "address",
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
indexed: false,
|
|
177
|
-
internalType: "uint256",
|
|
178
|
-
name: "amount",
|
|
179
|
-
type: "uint256",
|
|
140
|
+
internalType: "bool",
|
|
141
|
+
name: "pullFromOwner",
|
|
142
|
+
type: "bool",
|
|
180
143
|
},
|
|
181
144
|
],
|
|
182
|
-
name: "
|
|
145
|
+
name: "BuyCrossChainPt",
|
|
183
146
|
type: "event",
|
|
184
147
|
},
|
|
185
148
|
{
|
|
@@ -216,12 +179,6 @@ const _abi = [
|
|
|
216
179
|
name: "boxId",
|
|
217
180
|
type: "uint32",
|
|
218
181
|
},
|
|
219
|
-
{
|
|
220
|
-
indexed: false,
|
|
221
|
-
internalType: "bytes32",
|
|
222
|
-
name: "actionHash",
|
|
223
|
-
type: "bytes32",
|
|
224
|
-
},
|
|
225
182
|
{
|
|
226
183
|
indexed: false,
|
|
227
184
|
internalType: "address",
|
|
@@ -252,6 +209,18 @@ const _abi = [
|
|
|
252
209
|
name: "netTokenReceived",
|
|
253
210
|
type: "uint256",
|
|
254
211
|
},
|
|
212
|
+
{
|
|
213
|
+
indexed: false,
|
|
214
|
+
internalType: "bool",
|
|
215
|
+
name: "pullFromOwner",
|
|
216
|
+
type: "bool",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
indexed: false,
|
|
220
|
+
internalType: "bool",
|
|
221
|
+
name: "sendToOwner",
|
|
222
|
+
type: "bool",
|
|
223
|
+
},
|
|
255
224
|
],
|
|
256
225
|
name: "SwapToken",
|
|
257
226
|
type: "event",
|
|
@@ -271,18 +240,6 @@ const _abi = [
|
|
|
271
240
|
name: "boxId",
|
|
272
241
|
type: "uint32",
|
|
273
242
|
},
|
|
274
|
-
{
|
|
275
|
-
indexed: false,
|
|
276
|
-
internalType: "bytes32",
|
|
277
|
-
name: "actionHash",
|
|
278
|
-
type: "bytes32",
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
indexed: false,
|
|
282
|
-
internalType: "address",
|
|
283
|
-
name: "receiver",
|
|
284
|
-
type: "address",
|
|
285
|
-
},
|
|
286
243
|
{
|
|
287
244
|
indexed: false,
|
|
288
245
|
internalType: "address",
|
|
@@ -344,25 +301,6 @@ const _abi = [
|
|
|
344
301
|
stateMutability: "view",
|
|
345
302
|
type: "function",
|
|
346
303
|
},
|
|
347
|
-
{
|
|
348
|
-
inputs: [
|
|
349
|
-
{
|
|
350
|
-
internalType: "bytes32",
|
|
351
|
-
name: "actionHash",
|
|
352
|
-
type: "bytes32",
|
|
353
|
-
},
|
|
354
|
-
],
|
|
355
|
-
name: "actionStatus",
|
|
356
|
-
outputs: [
|
|
357
|
-
{
|
|
358
|
-
internalType: "enum IPCrossChainSwapHub.ActionStatus",
|
|
359
|
-
name: "",
|
|
360
|
-
type: "uint8",
|
|
361
|
-
},
|
|
362
|
-
],
|
|
363
|
-
stateMutability: "view",
|
|
364
|
-
type: "function",
|
|
365
|
-
},
|
|
366
304
|
{
|
|
367
305
|
inputs: [
|
|
368
306
|
{
|
|
@@ -402,11 +340,21 @@ const _abi = [
|
|
|
402
340
|
name: "amountFee",
|
|
403
341
|
type: "uint256",
|
|
404
342
|
},
|
|
343
|
+
{
|
|
344
|
+
internalType: "bool",
|
|
345
|
+
name: "pullFromOwner",
|
|
346
|
+
type: "bool",
|
|
347
|
+
},
|
|
405
348
|
{
|
|
406
349
|
internalType: "address",
|
|
407
350
|
name: "bridgeExtRouter",
|
|
408
351
|
type: "address",
|
|
409
352
|
},
|
|
353
|
+
{
|
|
354
|
+
internalType: "address",
|
|
355
|
+
name: "bridgeApprove",
|
|
356
|
+
type: "address",
|
|
357
|
+
},
|
|
410
358
|
{
|
|
411
359
|
internalType: "bytes",
|
|
412
360
|
name: "bridgeCalldata",
|
|
@@ -487,14 +435,19 @@ const _abi = [
|
|
|
487
435
|
name: "receiver",
|
|
488
436
|
type: "bytes32",
|
|
489
437
|
},
|
|
438
|
+
{
|
|
439
|
+
internalType: "bool",
|
|
440
|
+
name: "pullFromOwner",
|
|
441
|
+
type: "bool",
|
|
442
|
+
},
|
|
490
443
|
{
|
|
491
444
|
internalType: "address",
|
|
492
|
-
name: "
|
|
445
|
+
name: "swapExtRouter",
|
|
493
446
|
type: "address",
|
|
494
447
|
},
|
|
495
448
|
{
|
|
496
449
|
internalType: "address",
|
|
497
|
-
name: "
|
|
450
|
+
name: "swapApprove",
|
|
498
451
|
type: "address",
|
|
499
452
|
},
|
|
500
453
|
{
|
|
@@ -521,216 +474,35 @@ const _abi = [
|
|
|
521
474
|
{
|
|
522
475
|
inputs: [
|
|
523
476
|
{
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
name: "owner",
|
|
528
|
-
type: "address",
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
internalType: "uint32",
|
|
532
|
-
name: "boxId",
|
|
533
|
-
type: "uint32",
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
internalType: "uint256",
|
|
537
|
-
name: "expiry",
|
|
538
|
-
type: "uint256",
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
internalType: "uint256",
|
|
542
|
-
name: "nonce",
|
|
543
|
-
type: "uint256",
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
internalType: "address",
|
|
547
|
-
name: "receiver",
|
|
548
|
-
type: "address",
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
internalType: "address",
|
|
552
|
-
name: "token",
|
|
553
|
-
type: "address",
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
internalType: "uint256",
|
|
557
|
-
name: "amountWithdraw",
|
|
558
|
-
type: "uint256",
|
|
559
|
-
},
|
|
560
|
-
{
|
|
561
|
-
internalType: "uint256",
|
|
562
|
-
name: "amountFee",
|
|
563
|
-
type: "uint256",
|
|
564
|
-
},
|
|
565
|
-
],
|
|
566
|
-
internalType: "struct IPCrossChainSwapHub.WithdrawTokenMessage",
|
|
567
|
-
name: "message",
|
|
568
|
-
type: "tuple",
|
|
477
|
+
internalType: "address",
|
|
478
|
+
name: "owner",
|
|
479
|
+
type: "address",
|
|
569
480
|
},
|
|
570
481
|
{
|
|
571
|
-
internalType: "
|
|
572
|
-
name: "
|
|
573
|
-
type: "
|
|
482
|
+
internalType: "uint32",
|
|
483
|
+
name: "boxId",
|
|
484
|
+
type: "uint32",
|
|
574
485
|
},
|
|
575
486
|
],
|
|
576
|
-
name: "
|
|
577
|
-
outputs: [
|
|
578
|
-
stateMutability: "nonpayable",
|
|
579
|
-
type: "function",
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
inputs: [
|
|
583
|
-
{
|
|
584
|
-
components: [
|
|
585
|
-
{
|
|
586
|
-
internalType: "address",
|
|
587
|
-
name: "owner",
|
|
588
|
-
type: "address",
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
internalType: "uint32",
|
|
592
|
-
name: "boxId",
|
|
593
|
-
type: "uint32",
|
|
594
|
-
},
|
|
595
|
-
{
|
|
596
|
-
internalType: "uint256",
|
|
597
|
-
name: "expiry",
|
|
598
|
-
type: "uint256",
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
internalType: "uint256",
|
|
602
|
-
name: "nonce",
|
|
603
|
-
type: "uint256",
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
internalType: "address",
|
|
607
|
-
name: "token",
|
|
608
|
-
type: "address",
|
|
609
|
-
},
|
|
610
|
-
{
|
|
611
|
-
internalType: "uint256",
|
|
612
|
-
name: "amountBridge",
|
|
613
|
-
type: "uint256",
|
|
614
|
-
},
|
|
615
|
-
{
|
|
616
|
-
internalType: "uint256",
|
|
617
|
-
name: "amountFee",
|
|
618
|
-
type: "uint256",
|
|
619
|
-
},
|
|
620
|
-
{
|
|
621
|
-
internalType: "address",
|
|
622
|
-
name: "bridgeExtRouter",
|
|
623
|
-
type: "address",
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
internalType: "bytes",
|
|
627
|
-
name: "bridgeCalldata",
|
|
628
|
-
type: "bytes",
|
|
629
|
-
},
|
|
630
|
-
],
|
|
631
|
-
internalType: "struct IPCrossChainSwapHub.BridgeTokenMessage",
|
|
632
|
-
name: "message",
|
|
633
|
-
type: "tuple",
|
|
634
|
-
},
|
|
487
|
+
name: "computeDepositBox",
|
|
488
|
+
outputs: [
|
|
635
489
|
{
|
|
636
|
-
internalType: "
|
|
637
|
-
name: "
|
|
638
|
-
type: "
|
|
490
|
+
internalType: "address",
|
|
491
|
+
name: "box",
|
|
492
|
+
type: "address",
|
|
639
493
|
},
|
|
640
|
-
],
|
|
641
|
-
name: "claimFee",
|
|
642
|
-
outputs: [],
|
|
643
|
-
stateMutability: "nonpayable",
|
|
644
|
-
type: "function",
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
inputs: [
|
|
648
494
|
{
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
name: "owner",
|
|
653
|
-
type: "address",
|
|
654
|
-
},
|
|
655
|
-
{
|
|
656
|
-
internalType: "uint32",
|
|
657
|
-
name: "boxId",
|
|
658
|
-
type: "uint32",
|
|
659
|
-
},
|
|
660
|
-
{
|
|
661
|
-
internalType: "uint256",
|
|
662
|
-
name: "expiry",
|
|
663
|
-
type: "uint256",
|
|
664
|
-
},
|
|
665
|
-
{
|
|
666
|
-
internalType: "uint256",
|
|
667
|
-
name: "nonce",
|
|
668
|
-
type: "uint256",
|
|
669
|
-
},
|
|
670
|
-
{
|
|
671
|
-
internalType: "address",
|
|
672
|
-
name: "tokenSpent",
|
|
673
|
-
type: "address",
|
|
674
|
-
},
|
|
675
|
-
{
|
|
676
|
-
internalType: "uint256",
|
|
677
|
-
name: "amountSpent",
|
|
678
|
-
type: "uint256",
|
|
679
|
-
},
|
|
680
|
-
{
|
|
681
|
-
internalType: "uint256",
|
|
682
|
-
name: "amountFee",
|
|
683
|
-
type: "uint256",
|
|
684
|
-
},
|
|
685
|
-
{
|
|
686
|
-
internalType: "address",
|
|
687
|
-
name: "ptAdapter",
|
|
688
|
-
type: "address",
|
|
689
|
-
},
|
|
690
|
-
{
|
|
691
|
-
internalType: "uint256",
|
|
692
|
-
name: "minPtReceived",
|
|
693
|
-
type: "uint256",
|
|
694
|
-
},
|
|
695
|
-
{
|
|
696
|
-
internalType: "uint32",
|
|
697
|
-
name: "dstEid",
|
|
698
|
-
type: "uint32",
|
|
699
|
-
},
|
|
700
|
-
{
|
|
701
|
-
internalType: "bytes32",
|
|
702
|
-
name: "receiver",
|
|
703
|
-
type: "bytes32",
|
|
704
|
-
},
|
|
705
|
-
{
|
|
706
|
-
internalType: "address",
|
|
707
|
-
name: "swapExecutor",
|
|
708
|
-
type: "address",
|
|
709
|
-
},
|
|
710
|
-
{
|
|
711
|
-
internalType: "address",
|
|
712
|
-
name: "swapExtRouter",
|
|
713
|
-
type: "address",
|
|
714
|
-
},
|
|
715
|
-
{
|
|
716
|
-
internalType: "bytes",
|
|
717
|
-
name: "swapCalldata",
|
|
718
|
-
type: "bytes",
|
|
719
|
-
},
|
|
720
|
-
],
|
|
721
|
-
internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
|
|
722
|
-
name: "message",
|
|
723
|
-
type: "tuple",
|
|
495
|
+
internalType: "bytes32",
|
|
496
|
+
name: "salt",
|
|
497
|
+
type: "bytes32",
|
|
724
498
|
},
|
|
725
499
|
{
|
|
726
|
-
internalType: "
|
|
727
|
-
name: "
|
|
728
|
-
type: "
|
|
500
|
+
internalType: "bool",
|
|
501
|
+
name: "deployed",
|
|
502
|
+
type: "bool",
|
|
729
503
|
},
|
|
730
504
|
],
|
|
731
|
-
|
|
732
|
-
outputs: [],
|
|
733
|
-
stateMutability: "nonpayable",
|
|
505
|
+
stateMutability: "view",
|
|
734
506
|
type: "function",
|
|
735
507
|
},
|
|
736
508
|
{
|
|
@@ -783,18 +555,23 @@ const _abi = [
|
|
|
783
555
|
type: "uint256",
|
|
784
556
|
},
|
|
785
557
|
{
|
|
786
|
-
internalType: "
|
|
787
|
-
name: "
|
|
788
|
-
type: "
|
|
558
|
+
internalType: "bool",
|
|
559
|
+
name: "pullFromOwner",
|
|
560
|
+
type: "bool",
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
internalType: "bool",
|
|
564
|
+
name: "sendToOwner",
|
|
565
|
+
type: "bool",
|
|
789
566
|
},
|
|
790
567
|
{
|
|
791
568
|
internalType: "address",
|
|
792
|
-
name: "
|
|
569
|
+
name: "swapExtRouter",
|
|
793
570
|
type: "address",
|
|
794
571
|
},
|
|
795
572
|
{
|
|
796
573
|
internalType: "address",
|
|
797
|
-
name: "
|
|
574
|
+
name: "swapApprove",
|
|
798
575
|
type: "address",
|
|
799
576
|
},
|
|
800
577
|
{
|
|
@@ -807,40 +584,12 @@ const _abi = [
|
|
|
807
584
|
name: "message",
|
|
808
585
|
type: "tuple",
|
|
809
586
|
},
|
|
810
|
-
{
|
|
811
|
-
internalType: "bytes",
|
|
812
|
-
name: "signature",
|
|
813
|
-
type: "bytes",
|
|
814
|
-
},
|
|
815
587
|
],
|
|
816
|
-
name: "
|
|
817
|
-
outputs: [],
|
|
818
|
-
stateMutability: "nonpayable",
|
|
819
|
-
type: "function",
|
|
820
|
-
},
|
|
821
|
-
{
|
|
822
|
-
inputs: [
|
|
823
|
-
{
|
|
824
|
-
internalType: "address",
|
|
825
|
-
name: "owner",
|
|
826
|
-
type: "address",
|
|
827
|
-
},
|
|
828
|
-
{
|
|
829
|
-
internalType: "uint32",
|
|
830
|
-
name: "boxId",
|
|
831
|
-
type: "uint32",
|
|
832
|
-
},
|
|
833
|
-
],
|
|
834
|
-
name: "computeDepositBox",
|
|
588
|
+
name: "hashTypedData",
|
|
835
589
|
outputs: [
|
|
836
|
-
{
|
|
837
|
-
internalType: "address",
|
|
838
|
-
name: "box",
|
|
839
|
-
type: "address",
|
|
840
|
-
},
|
|
841
590
|
{
|
|
842
591
|
internalType: "bytes32",
|
|
843
|
-
name: "
|
|
592
|
+
name: "",
|
|
844
593
|
type: "bytes32",
|
|
845
594
|
},
|
|
846
595
|
],
|
|
@@ -873,12 +622,12 @@ const _abi = [
|
|
|
873
622
|
},
|
|
874
623
|
{
|
|
875
624
|
internalType: "address",
|
|
876
|
-
name: "
|
|
625
|
+
name: "token",
|
|
877
626
|
type: "address",
|
|
878
627
|
},
|
|
879
628
|
{
|
|
880
629
|
internalType: "uint256",
|
|
881
|
-
name: "
|
|
630
|
+
name: "amountWithdraw",
|
|
882
631
|
type: "uint256",
|
|
883
632
|
},
|
|
884
633
|
{
|
|
@@ -886,38 +635,8 @@ const _abi = [
|
|
|
886
635
|
name: "amountFee",
|
|
887
636
|
type: "uint256",
|
|
888
637
|
},
|
|
889
|
-
{
|
|
890
|
-
internalType: "address",
|
|
891
|
-
name: "tokenReceived",
|
|
892
|
-
type: "address",
|
|
893
|
-
},
|
|
894
|
-
{
|
|
895
|
-
internalType: "uint256",
|
|
896
|
-
name: "minReceived",
|
|
897
|
-
type: "uint256",
|
|
898
|
-
},
|
|
899
|
-
{
|
|
900
|
-
internalType: "address",
|
|
901
|
-
name: "receiver",
|
|
902
|
-
type: "address",
|
|
903
|
-
},
|
|
904
|
-
{
|
|
905
|
-
internalType: "address",
|
|
906
|
-
name: "swapExecutor",
|
|
907
|
-
type: "address",
|
|
908
|
-
},
|
|
909
|
-
{
|
|
910
|
-
internalType: "address",
|
|
911
|
-
name: "swapExtRouter",
|
|
912
|
-
type: "address",
|
|
913
|
-
},
|
|
914
|
-
{
|
|
915
|
-
internalType: "bytes",
|
|
916
|
-
name: "swapCalldata",
|
|
917
|
-
type: "bytes",
|
|
918
|
-
},
|
|
919
638
|
],
|
|
920
|
-
internalType: "struct IPCrossChainSwapHub.
|
|
639
|
+
internalType: "struct IPCrossChainSwapHub.WithdrawTokenMessage",
|
|
921
640
|
name: "message",
|
|
922
641
|
type: "tuple",
|
|
923
642
|
},
|
|
@@ -992,14 +711,19 @@ const _abi = [
|
|
|
992
711
|
name: "receiver",
|
|
993
712
|
type: "bytes32",
|
|
994
713
|
},
|
|
714
|
+
{
|
|
715
|
+
internalType: "bool",
|
|
716
|
+
name: "pullFromOwner",
|
|
717
|
+
type: "bool",
|
|
718
|
+
},
|
|
995
719
|
{
|
|
996
720
|
internalType: "address",
|
|
997
|
-
name: "
|
|
721
|
+
name: "swapExtRouter",
|
|
998
722
|
type: "address",
|
|
999
723
|
},
|
|
1000
724
|
{
|
|
1001
725
|
internalType: "address",
|
|
1002
|
-
name: "
|
|
726
|
+
name: "swapApprove",
|
|
1003
727
|
type: "address",
|
|
1004
728
|
},
|
|
1005
729
|
{
|
|
@@ -1064,78 +788,27 @@ const _abi = [
|
|
|
1064
788
|
type: "uint256",
|
|
1065
789
|
},
|
|
1066
790
|
{
|
|
1067
|
-
internalType: "
|
|
1068
|
-
name: "
|
|
1069
|
-
type: "
|
|
1070
|
-
},
|
|
1071
|
-
{
|
|
1072
|
-
internalType: "bytes",
|
|
1073
|
-
name: "bridgeCalldata",
|
|
1074
|
-
type: "bytes",
|
|
1075
|
-
},
|
|
1076
|
-
],
|
|
1077
|
-
internalType: "struct IPCrossChainSwapHub.BridgeTokenMessage",
|
|
1078
|
-
name: "message",
|
|
1079
|
-
type: "tuple",
|
|
1080
|
-
},
|
|
1081
|
-
],
|
|
1082
|
-
name: "hashTypedData",
|
|
1083
|
-
outputs: [
|
|
1084
|
-
{
|
|
1085
|
-
internalType: "bytes32",
|
|
1086
|
-
name: "",
|
|
1087
|
-
type: "bytes32",
|
|
1088
|
-
},
|
|
1089
|
-
],
|
|
1090
|
-
stateMutability: "view",
|
|
1091
|
-
type: "function",
|
|
1092
|
-
},
|
|
1093
|
-
{
|
|
1094
|
-
inputs: [
|
|
1095
|
-
{
|
|
1096
|
-
components: [
|
|
1097
|
-
{
|
|
1098
|
-
internalType: "address",
|
|
1099
|
-
name: "owner",
|
|
1100
|
-
type: "address",
|
|
1101
|
-
},
|
|
1102
|
-
{
|
|
1103
|
-
internalType: "uint32",
|
|
1104
|
-
name: "boxId",
|
|
1105
|
-
type: "uint32",
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
internalType: "uint256",
|
|
1109
|
-
name: "expiry",
|
|
1110
|
-
type: "uint256",
|
|
1111
|
-
},
|
|
1112
|
-
{
|
|
1113
|
-
internalType: "uint256",
|
|
1114
|
-
name: "nonce",
|
|
1115
|
-
type: "uint256",
|
|
791
|
+
internalType: "bool",
|
|
792
|
+
name: "pullFromOwner",
|
|
793
|
+
type: "bool",
|
|
1116
794
|
},
|
|
1117
795
|
{
|
|
1118
796
|
internalType: "address",
|
|
1119
|
-
name: "
|
|
797
|
+
name: "bridgeExtRouter",
|
|
1120
798
|
type: "address",
|
|
1121
799
|
},
|
|
1122
800
|
{
|
|
1123
801
|
internalType: "address",
|
|
1124
|
-
name: "
|
|
802
|
+
name: "bridgeApprove",
|
|
1125
803
|
type: "address",
|
|
1126
804
|
},
|
|
1127
805
|
{
|
|
1128
|
-
internalType: "
|
|
1129
|
-
name: "
|
|
1130
|
-
type: "
|
|
1131
|
-
},
|
|
1132
|
-
{
|
|
1133
|
-
internalType: "uint256",
|
|
1134
|
-
name: "amountFee",
|
|
1135
|
-
type: "uint256",
|
|
806
|
+
internalType: "bytes",
|
|
807
|
+
name: "bridgeCalldata",
|
|
808
|
+
type: "bytes",
|
|
1136
809
|
},
|
|
1137
810
|
],
|
|
1138
|
-
internalType: "struct IPCrossChainSwapHub.
|
|
811
|
+
internalType: "struct IPCrossChainSwapHub.BridgeTokenMessage",
|
|
1139
812
|
name: "message",
|
|
1140
813
|
type: "tuple",
|
|
1141
814
|
},
|
|
@@ -1257,18 +930,23 @@ const _abi = [
|
|
|
1257
930
|
type: "uint256",
|
|
1258
931
|
},
|
|
1259
932
|
{
|
|
1260
|
-
internalType: "
|
|
1261
|
-
name: "
|
|
1262
|
-
type: "
|
|
933
|
+
internalType: "bool",
|
|
934
|
+
name: "pullFromOwner",
|
|
935
|
+
type: "bool",
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
internalType: "bool",
|
|
939
|
+
name: "sendToOwner",
|
|
940
|
+
type: "bool",
|
|
1263
941
|
},
|
|
1264
942
|
{
|
|
1265
943
|
internalType: "address",
|
|
1266
|
-
name: "
|
|
944
|
+
name: "swapExtRouter",
|
|
1267
945
|
type: "address",
|
|
1268
946
|
},
|
|
1269
947
|
{
|
|
1270
948
|
internalType: "address",
|
|
1271
|
-
name: "
|
|
949
|
+
name: "swapApprove",
|
|
1272
950
|
type: "address",
|
|
1273
951
|
},
|
|
1274
952
|
{
|
|
@@ -1316,11 +994,6 @@ const _abi = [
|
|
|
1316
994
|
name: "nonce",
|
|
1317
995
|
type: "uint256",
|
|
1318
996
|
},
|
|
1319
|
-
{
|
|
1320
|
-
internalType: "address",
|
|
1321
|
-
name: "receiver",
|
|
1322
|
-
type: "address",
|
|
1323
|
-
},
|
|
1324
997
|
{
|
|
1325
998
|
internalType: "address",
|
|
1326
999
|
name: "token",
|