@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
|
@@ -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
|
{
|
|
@@ -247,12 +210,6 @@
|
|
|
247
210
|
"name": "boxId",
|
|
248
211
|
"type": "uint32"
|
|
249
212
|
},
|
|
250
|
-
{
|
|
251
|
-
"indexed": false,
|
|
252
|
-
"internalType": "bytes32",
|
|
253
|
-
"name": "actionHash",
|
|
254
|
-
"type": "bytes32"
|
|
255
|
-
},
|
|
256
213
|
{
|
|
257
214
|
"indexed": false,
|
|
258
215
|
"internalType": "address",
|
|
@@ -282,6 +239,18 @@
|
|
|
282
239
|
"internalType": "uint256",
|
|
283
240
|
"name": "netTokenReceived",
|
|
284
241
|
"type": "uint256"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"indexed": false,
|
|
245
|
+
"internalType": "bool",
|
|
246
|
+
"name": "pullFromOwner",
|
|
247
|
+
"type": "bool"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"indexed": false,
|
|
251
|
+
"internalType": "bool",
|
|
252
|
+
"name": "sendToOwner",
|
|
253
|
+
"type": "bool"
|
|
285
254
|
}
|
|
286
255
|
],
|
|
287
256
|
"name": "SwapToken",
|
|
@@ -302,18 +271,6 @@
|
|
|
302
271
|
"name": "boxId",
|
|
303
272
|
"type": "uint32"
|
|
304
273
|
},
|
|
305
|
-
{
|
|
306
|
-
"indexed": false,
|
|
307
|
-
"internalType": "bytes32",
|
|
308
|
-
"name": "actionHash",
|
|
309
|
-
"type": "bytes32"
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
"indexed": false,
|
|
313
|
-
"internalType": "address",
|
|
314
|
-
"name": "receiver",
|
|
315
|
-
"type": "address"
|
|
316
|
-
},
|
|
317
274
|
{
|
|
318
275
|
"indexed": false,
|
|
319
276
|
"internalType": "address",
|
|
@@ -376,19 +333,13 @@
|
|
|
376
333
|
"type": "function"
|
|
377
334
|
},
|
|
378
335
|
{
|
|
379
|
-
"inputs": [
|
|
380
|
-
|
|
381
|
-
"internalType": "bytes32",
|
|
382
|
-
"name": "actionStatus",
|
|
383
|
-
"type": "bytes32"
|
|
384
|
-
}
|
|
385
|
-
],
|
|
386
|
-
"name": "actionStatus",
|
|
336
|
+
"inputs": [],
|
|
337
|
+
"name": "TREASURY",
|
|
387
338
|
"outputs": [
|
|
388
339
|
{
|
|
389
|
-
"internalType": "
|
|
340
|
+
"internalType": "address",
|
|
390
341
|
"name": "",
|
|
391
|
-
"type": "
|
|
342
|
+
"type": "address"
|
|
392
343
|
}
|
|
393
344
|
],
|
|
394
345
|
"stateMutability": "view",
|
|
@@ -434,223 +385,18 @@
|
|
|
434
385
|
"type": "uint256"
|
|
435
386
|
},
|
|
436
387
|
{
|
|
437
|
-
"internalType": "
|
|
438
|
-
"name": "
|
|
439
|
-
"type": "
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
"internalType": "bytes",
|
|
443
|
-
"name": "bridgeCalldata",
|
|
444
|
-
"type": "bytes"
|
|
445
|
-
}
|
|
446
|
-
],
|
|
447
|
-
"internalType": "struct IPCrossChainSwapHub.BridgeTokenMessage",
|
|
448
|
-
"name": "message",
|
|
449
|
-
"type": "tuple"
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"internalType": "bytes",
|
|
453
|
-
"name": "signature",
|
|
454
|
-
"type": "bytes"
|
|
455
|
-
}
|
|
456
|
-
],
|
|
457
|
-
"name": "bridgeToken",
|
|
458
|
-
"outputs": [],
|
|
459
|
-
"stateMutability": "payable",
|
|
460
|
-
"type": "function"
|
|
461
|
-
},
|
|
462
|
-
{
|
|
463
|
-
"inputs": [
|
|
464
|
-
{
|
|
465
|
-
"components": [
|
|
466
|
-
{
|
|
467
|
-
"internalType": "address",
|
|
468
|
-
"name": "owner",
|
|
469
|
-
"type": "address"
|
|
470
|
-
},
|
|
471
|
-
{
|
|
472
|
-
"internalType": "uint32",
|
|
473
|
-
"name": "boxId",
|
|
474
|
-
"type": "uint32"
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
"internalType": "uint256",
|
|
478
|
-
"name": "expiry",
|
|
479
|
-
"type": "uint256"
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
"internalType": "uint256",
|
|
483
|
-
"name": "nonce",
|
|
484
|
-
"type": "uint256"
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
"internalType": "address",
|
|
488
|
-
"name": "tokenSpent",
|
|
489
|
-
"type": "address"
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
"internalType": "uint256",
|
|
493
|
-
"name": "amountSpent",
|
|
494
|
-
"type": "uint256"
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
"internalType": "uint256",
|
|
498
|
-
"name": "amountFee",
|
|
499
|
-
"type": "uint256"
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
"internalType": "address",
|
|
503
|
-
"name": "ptAdapter",
|
|
504
|
-
"type": "address"
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
"internalType": "uint256",
|
|
508
|
-
"name": "minPtReceived",
|
|
509
|
-
"type": "uint256"
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
"internalType": "uint32",
|
|
513
|
-
"name": "dstEid",
|
|
514
|
-
"type": "uint32"
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
"internalType": "bytes32",
|
|
518
|
-
"name": "receiver",
|
|
519
|
-
"type": "bytes32"
|
|
520
|
-
},
|
|
521
|
-
{
|
|
522
|
-
"internalType": "address",
|
|
523
|
-
"name": "swapExecutor",
|
|
524
|
-
"type": "address"
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
"internalType": "address",
|
|
528
|
-
"name": "swapExtRouter",
|
|
529
|
-
"type": "address"
|
|
530
|
-
},
|
|
531
|
-
{
|
|
532
|
-
"internalType": "bytes",
|
|
533
|
-
"name": "swapCalldata",
|
|
534
|
-
"type": "bytes"
|
|
535
|
-
}
|
|
536
|
-
],
|
|
537
|
-
"internalType": "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
|
|
538
|
-
"name": "message",
|
|
539
|
-
"type": "tuple"
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
"internalType": "bytes",
|
|
543
|
-
"name": "signature",
|
|
544
|
-
"type": "bytes"
|
|
545
|
-
}
|
|
546
|
-
],
|
|
547
|
-
"name": "buyCrossChainPt",
|
|
548
|
-
"outputs": [],
|
|
549
|
-
"stateMutability": "payable",
|
|
550
|
-
"type": "function"
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"inputs": [
|
|
554
|
-
{
|
|
555
|
-
"components": [
|
|
556
|
-
{
|
|
557
|
-
"internalType": "address",
|
|
558
|
-
"name": "owner",
|
|
559
|
-
"type": "address"
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
"internalType": "uint32",
|
|
563
|
-
"name": "boxId",
|
|
564
|
-
"type": "uint32"
|
|
565
|
-
},
|
|
566
|
-
{
|
|
567
|
-
"internalType": "uint256",
|
|
568
|
-
"name": "expiry",
|
|
569
|
-
"type": "uint256"
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
"internalType": "uint256",
|
|
573
|
-
"name": "nonce",
|
|
574
|
-
"type": "uint256"
|
|
575
|
-
},
|
|
576
|
-
{
|
|
577
|
-
"internalType": "address",
|
|
578
|
-
"name": "receiver",
|
|
579
|
-
"type": "address"
|
|
388
|
+
"internalType": "bool",
|
|
389
|
+
"name": "pullFromOwner",
|
|
390
|
+
"type": "bool"
|
|
580
391
|
},
|
|
581
392
|
{
|
|
582
393
|
"internalType": "address",
|
|
583
|
-
"name": "
|
|
584
|
-
"type": "address"
|
|
585
|
-
},
|
|
586
|
-
{
|
|
587
|
-
"internalType": "uint256",
|
|
588
|
-
"name": "amountWithdraw",
|
|
589
|
-
"type": "uint256"
|
|
590
|
-
},
|
|
591
|
-
{
|
|
592
|
-
"internalType": "uint256",
|
|
593
|
-
"name": "amountFee",
|
|
594
|
-
"type": "uint256"
|
|
595
|
-
}
|
|
596
|
-
],
|
|
597
|
-
"internalType": "struct IPCrossChainSwapHub.WithdrawTokenMessage",
|
|
598
|
-
"name": "message",
|
|
599
|
-
"type": "tuple"
|
|
600
|
-
},
|
|
601
|
-
{
|
|
602
|
-
"internalType": "bytes",
|
|
603
|
-
"name": "signature",
|
|
604
|
-
"type": "bytes"
|
|
605
|
-
}
|
|
606
|
-
],
|
|
607
|
-
"name": "claimFee",
|
|
608
|
-
"outputs": [],
|
|
609
|
-
"stateMutability": "nonpayable",
|
|
610
|
-
"type": "function"
|
|
611
|
-
},
|
|
612
|
-
{
|
|
613
|
-
"inputs": [
|
|
614
|
-
{
|
|
615
|
-
"components": [
|
|
616
|
-
{
|
|
617
|
-
"internalType": "address",
|
|
618
|
-
"name": "owner",
|
|
619
|
-
"type": "address"
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
"internalType": "uint32",
|
|
623
|
-
"name": "boxId",
|
|
624
|
-
"type": "uint32"
|
|
625
|
-
},
|
|
626
|
-
{
|
|
627
|
-
"internalType": "uint256",
|
|
628
|
-
"name": "expiry",
|
|
629
|
-
"type": "uint256"
|
|
630
|
-
},
|
|
631
|
-
{
|
|
632
|
-
"internalType": "uint256",
|
|
633
|
-
"name": "nonce",
|
|
634
|
-
"type": "uint256"
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
"internalType": "address",
|
|
638
|
-
"name": "token",
|
|
394
|
+
"name": "bridgeExtRouter",
|
|
639
395
|
"type": "address"
|
|
640
396
|
},
|
|
641
|
-
{
|
|
642
|
-
"internalType": "uint256",
|
|
643
|
-
"name": "amountBridge",
|
|
644
|
-
"type": "uint256"
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
"internalType": "uint256",
|
|
648
|
-
"name": "amountFee",
|
|
649
|
-
"type": "uint256"
|
|
650
|
-
},
|
|
651
397
|
{
|
|
652
398
|
"internalType": "address",
|
|
653
|
-
"name": "
|
|
399
|
+
"name": "bridgeApprove",
|
|
654
400
|
"type": "address"
|
|
655
401
|
},
|
|
656
402
|
{
|
|
@@ -669,9 +415,9 @@
|
|
|
669
415
|
"type": "bytes"
|
|
670
416
|
}
|
|
671
417
|
],
|
|
672
|
-
"name": "
|
|
418
|
+
"name": "bridgeToken",
|
|
673
419
|
"outputs": [],
|
|
674
|
-
"stateMutability": "
|
|
420
|
+
"stateMutability": "payable",
|
|
675
421
|
"type": "function"
|
|
676
422
|
},
|
|
677
423
|
{
|
|
@@ -734,98 +480,18 @@
|
|
|
734
480
|
"type": "bytes32"
|
|
735
481
|
},
|
|
736
482
|
{
|
|
737
|
-
"internalType": "
|
|
738
|
-
"name": "
|
|
739
|
-
"type": "
|
|
483
|
+
"internalType": "bool",
|
|
484
|
+
"name": "pullFromOwner",
|
|
485
|
+
"type": "bool"
|
|
740
486
|
},
|
|
741
487
|
{
|
|
742
488
|
"internalType": "address",
|
|
743
489
|
"name": "swapExtRouter",
|
|
744
490
|
"type": "address"
|
|
745
491
|
},
|
|
746
|
-
{
|
|
747
|
-
"internalType": "bytes",
|
|
748
|
-
"name": "swapCalldata",
|
|
749
|
-
"type": "bytes"
|
|
750
|
-
}
|
|
751
|
-
],
|
|
752
|
-
"internalType": "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
|
|
753
|
-
"name": "message",
|
|
754
|
-
"type": "tuple"
|
|
755
|
-
},
|
|
756
|
-
{
|
|
757
|
-
"internalType": "bytes",
|
|
758
|
-
"name": "signature",
|
|
759
|
-
"type": "bytes"
|
|
760
|
-
}
|
|
761
|
-
],
|
|
762
|
-
"name": "claimFee",
|
|
763
|
-
"outputs": [],
|
|
764
|
-
"stateMutability": "nonpayable",
|
|
765
|
-
"type": "function"
|
|
766
|
-
},
|
|
767
|
-
{
|
|
768
|
-
"inputs": [
|
|
769
|
-
{
|
|
770
|
-
"components": [
|
|
771
|
-
{
|
|
772
|
-
"internalType": "address",
|
|
773
|
-
"name": "owner",
|
|
774
|
-
"type": "address"
|
|
775
|
-
},
|
|
776
|
-
{
|
|
777
|
-
"internalType": "uint32",
|
|
778
|
-
"name": "boxId",
|
|
779
|
-
"type": "uint32"
|
|
780
|
-
},
|
|
781
|
-
{
|
|
782
|
-
"internalType": "uint256",
|
|
783
|
-
"name": "expiry",
|
|
784
|
-
"type": "uint256"
|
|
785
|
-
},
|
|
786
|
-
{
|
|
787
|
-
"internalType": "uint256",
|
|
788
|
-
"name": "nonce",
|
|
789
|
-
"type": "uint256"
|
|
790
|
-
},
|
|
791
|
-
{
|
|
792
|
-
"internalType": "address",
|
|
793
|
-
"name": "tokenSpent",
|
|
794
|
-
"type": "address"
|
|
795
|
-
},
|
|
796
|
-
{
|
|
797
|
-
"internalType": "uint256",
|
|
798
|
-
"name": "amountSpent",
|
|
799
|
-
"type": "uint256"
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
"internalType": "uint256",
|
|
803
|
-
"name": "amountFee",
|
|
804
|
-
"type": "uint256"
|
|
805
|
-
},
|
|
806
|
-
{
|
|
807
|
-
"internalType": "address",
|
|
808
|
-
"name": "tokenReceived",
|
|
809
|
-
"type": "address"
|
|
810
|
-
},
|
|
811
|
-
{
|
|
812
|
-
"internalType": "uint256",
|
|
813
|
-
"name": "minReceived",
|
|
814
|
-
"type": "uint256"
|
|
815
|
-
},
|
|
816
|
-
{
|
|
817
|
-
"internalType": "address",
|
|
818
|
-
"name": "receiver",
|
|
819
|
-
"type": "address"
|
|
820
|
-
},
|
|
821
|
-
{
|
|
822
|
-
"internalType": "address",
|
|
823
|
-
"name": "swapExecutor",
|
|
824
|
-
"type": "address"
|
|
825
|
-
},
|
|
826
492
|
{
|
|
827
493
|
"internalType": "address",
|
|
828
|
-
"name": "
|
|
494
|
+
"name": "swapApprove",
|
|
829
495
|
"type": "address"
|
|
830
496
|
},
|
|
831
497
|
{
|
|
@@ -834,7 +500,7 @@
|
|
|
834
500
|
"type": "bytes"
|
|
835
501
|
}
|
|
836
502
|
],
|
|
837
|
-
"internalType": "struct IPCrossChainSwapHub.
|
|
503
|
+
"internalType": "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
|
|
838
504
|
"name": "message",
|
|
839
505
|
"type": "tuple"
|
|
840
506
|
},
|
|
@@ -844,9 +510,9 @@
|
|
|
844
510
|
"type": "bytes"
|
|
845
511
|
}
|
|
846
512
|
],
|
|
847
|
-
"name": "
|
|
513
|
+
"name": "buyCrossChainPt",
|
|
848
514
|
"outputs": [],
|
|
849
|
-
"stateMutability": "
|
|
515
|
+
"stateMutability": "payable",
|
|
850
516
|
"type": "function"
|
|
851
517
|
},
|
|
852
518
|
{
|
|
@@ -880,6 +546,11 @@
|
|
|
880
546
|
"internalType": "bytes32",
|
|
881
547
|
"name": "salt",
|
|
882
548
|
"type": "bytes32"
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"internalType": "bool",
|
|
552
|
+
"name": "deployed",
|
|
553
|
+
"type": "bool"
|
|
883
554
|
}
|
|
884
555
|
],
|
|
885
556
|
"stateMutability": "view",
|
|
@@ -978,18 +649,23 @@
|
|
|
978
649
|
"type": "uint256"
|
|
979
650
|
},
|
|
980
651
|
{
|
|
981
|
-
"internalType": "
|
|
982
|
-
"name": "
|
|
983
|
-
"type": "
|
|
652
|
+
"internalType": "bool",
|
|
653
|
+
"name": "pullFromOwner",
|
|
654
|
+
"type": "bool"
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"internalType": "bool",
|
|
658
|
+
"name": "sendToOwner",
|
|
659
|
+
"type": "bool"
|
|
984
660
|
},
|
|
985
661
|
{
|
|
986
662
|
"internalType": "address",
|
|
987
|
-
"name": "
|
|
663
|
+
"name": "swapExtRouter",
|
|
988
664
|
"type": "address"
|
|
989
665
|
},
|
|
990
666
|
{
|
|
991
667
|
"internalType": "address",
|
|
992
|
-
"name": "
|
|
668
|
+
"name": "swapApprove",
|
|
993
669
|
"type": "address"
|
|
994
670
|
},
|
|
995
671
|
{
|
|
@@ -1040,56 +716,21 @@
|
|
|
1040
716
|
},
|
|
1041
717
|
{
|
|
1042
718
|
"internalType": "address",
|
|
1043
|
-
"name": "
|
|
719
|
+
"name": "token",
|
|
1044
720
|
"type": "address"
|
|
1045
721
|
},
|
|
1046
722
|
{
|
|
1047
723
|
"internalType": "uint256",
|
|
1048
|
-
"name": "
|
|
724
|
+
"name": "amountWithdraw",
|
|
1049
725
|
"type": "uint256"
|
|
1050
726
|
},
|
|
1051
727
|
{
|
|
1052
728
|
"internalType": "uint256",
|
|
1053
729
|
"name": "amountFee",
|
|
1054
730
|
"type": "uint256"
|
|
1055
|
-
},
|
|
1056
|
-
{
|
|
1057
|
-
"internalType": "address",
|
|
1058
|
-
"name": "ptAdapter",
|
|
1059
|
-
"type": "address"
|
|
1060
|
-
},
|
|
1061
|
-
{
|
|
1062
|
-
"internalType": "uint256",
|
|
1063
|
-
"name": "minPtReceived",
|
|
1064
|
-
"type": "uint256"
|
|
1065
|
-
},
|
|
1066
|
-
{
|
|
1067
|
-
"internalType": "uint32",
|
|
1068
|
-
"name": "dstEid",
|
|
1069
|
-
"type": "uint32"
|
|
1070
|
-
},
|
|
1071
|
-
{
|
|
1072
|
-
"internalType": "bytes32",
|
|
1073
|
-
"name": "receiver",
|
|
1074
|
-
"type": "bytes32"
|
|
1075
|
-
},
|
|
1076
|
-
{
|
|
1077
|
-
"internalType": "address",
|
|
1078
|
-
"name": "swapExecutor",
|
|
1079
|
-
"type": "address"
|
|
1080
|
-
},
|
|
1081
|
-
{
|
|
1082
|
-
"internalType": "address",
|
|
1083
|
-
"name": "swapExtRouter",
|
|
1084
|
-
"type": "address"
|
|
1085
|
-
},
|
|
1086
|
-
{
|
|
1087
|
-
"internalType": "bytes",
|
|
1088
|
-
"name": "swapCalldata",
|
|
1089
|
-
"type": "bytes"
|
|
1090
731
|
}
|
|
1091
732
|
],
|
|
1092
|
-
"internalType": "struct IPCrossChainSwapHub.
|
|
733
|
+
"internalType": "struct IPCrossChainSwapHub.WithdrawTokenMessage",
|
|
1093
734
|
"name": "message",
|
|
1094
735
|
"type": "tuple"
|
|
1095
736
|
}
|
|
@@ -1131,12 +772,12 @@
|
|
|
1131
772
|
},
|
|
1132
773
|
{
|
|
1133
774
|
"internalType": "address",
|
|
1134
|
-
"name": "
|
|
775
|
+
"name": "tokenSpent",
|
|
1135
776
|
"type": "address"
|
|
1136
777
|
},
|
|
1137
778
|
{
|
|
1138
779
|
"internalType": "uint256",
|
|
1139
|
-
"name": "
|
|
780
|
+
"name": "amountSpent",
|
|
1140
781
|
"type": "uint256"
|
|
1141
782
|
},
|
|
1142
783
|
{
|
|
@@ -1146,16 +787,46 @@
|
|
|
1146
787
|
},
|
|
1147
788
|
{
|
|
1148
789
|
"internalType": "address",
|
|
1149
|
-
"name": "
|
|
790
|
+
"name": "ptAdapter",
|
|
791
|
+
"type": "address"
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
"internalType": "uint256",
|
|
795
|
+
"name": "minPtReceived",
|
|
796
|
+
"type": "uint256"
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
"internalType": "uint32",
|
|
800
|
+
"name": "dstEid",
|
|
801
|
+
"type": "uint32"
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"internalType": "bytes32",
|
|
805
|
+
"name": "receiver",
|
|
806
|
+
"type": "bytes32"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"internalType": "bool",
|
|
810
|
+
"name": "pullFromOwner",
|
|
811
|
+
"type": "bool"
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"internalType": "address",
|
|
815
|
+
"name": "swapExtRouter",
|
|
816
|
+
"type": "address"
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"internalType": "address",
|
|
820
|
+
"name": "swapApprove",
|
|
1150
821
|
"type": "address"
|
|
1151
822
|
},
|
|
1152
823
|
{
|
|
1153
824
|
"internalType": "bytes",
|
|
1154
|
-
"name": "
|
|
825
|
+
"name": "swapCalldata",
|
|
1155
826
|
"type": "bytes"
|
|
1156
827
|
}
|
|
1157
828
|
],
|
|
1158
|
-
"internalType": "struct IPCrossChainSwapHub.
|
|
829
|
+
"internalType": "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
|
|
1159
830
|
"name": "message",
|
|
1160
831
|
"type": "tuple"
|
|
1161
832
|
}
|
|
@@ -1195,11 +866,6 @@
|
|
|
1195
866
|
"name": "nonce",
|
|
1196
867
|
"type": "uint256"
|
|
1197
868
|
},
|
|
1198
|
-
{
|
|
1199
|
-
"internalType": "address",
|
|
1200
|
-
"name": "receiver",
|
|
1201
|
-
"type": "address"
|
|
1202
|
-
},
|
|
1203
869
|
{
|
|
1204
870
|
"internalType": "address",
|
|
1205
871
|
"name": "token",
|
|
@@ -1207,16 +873,36 @@
|
|
|
1207
873
|
},
|
|
1208
874
|
{
|
|
1209
875
|
"internalType": "uint256",
|
|
1210
|
-
"name": "
|
|
876
|
+
"name": "amountBridge",
|
|
1211
877
|
"type": "uint256"
|
|
1212
878
|
},
|
|
1213
879
|
{
|
|
1214
880
|
"internalType": "uint256",
|
|
1215
881
|
"name": "amountFee",
|
|
1216
882
|
"type": "uint256"
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"internalType": "bool",
|
|
886
|
+
"name": "pullFromOwner",
|
|
887
|
+
"type": "bool"
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
"internalType": "address",
|
|
891
|
+
"name": "bridgeExtRouter",
|
|
892
|
+
"type": "address"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"internalType": "address",
|
|
896
|
+
"name": "bridgeApprove",
|
|
897
|
+
"type": "address"
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
"internalType": "bytes",
|
|
901
|
+
"name": "bridgeCalldata",
|
|
902
|
+
"type": "bytes"
|
|
1217
903
|
}
|
|
1218
904
|
],
|
|
1219
|
-
"internalType": "struct IPCrossChainSwapHub.
|
|
905
|
+
"internalType": "struct IPCrossChainSwapHub.BridgeTokenMessage",
|
|
1220
906
|
"name": "message",
|
|
1221
907
|
"type": "tuple"
|
|
1222
908
|
}
|
|
@@ -1364,18 +1050,23 @@
|
|
|
1364
1050
|
"type": "uint256"
|
|
1365
1051
|
},
|
|
1366
1052
|
{
|
|
1367
|
-
"internalType": "
|
|
1368
|
-
"name": "
|
|
1369
|
-
"type": "
|
|
1053
|
+
"internalType": "bool",
|
|
1054
|
+
"name": "pullFromOwner",
|
|
1055
|
+
"type": "bool"
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"internalType": "bool",
|
|
1059
|
+
"name": "sendToOwner",
|
|
1060
|
+
"type": "bool"
|
|
1370
1061
|
},
|
|
1371
1062
|
{
|
|
1372
1063
|
"internalType": "address",
|
|
1373
|
-
"name": "
|
|
1064
|
+
"name": "swapExtRouter",
|
|
1374
1065
|
"type": "address"
|
|
1375
1066
|
},
|
|
1376
1067
|
{
|
|
1377
1068
|
"internalType": "address",
|
|
1378
|
-
"name": "
|
|
1069
|
+
"name": "swapApprove",
|
|
1379
1070
|
"type": "address"
|
|
1380
1071
|
},
|
|
1381
1072
|
{
|
|
@@ -1446,11 +1137,6 @@
|
|
|
1446
1137
|
"name": "nonce",
|
|
1447
1138
|
"type": "uint256"
|
|
1448
1139
|
},
|
|
1449
|
-
{
|
|
1450
|
-
"internalType": "address",
|
|
1451
|
-
"name": "receiver",
|
|
1452
|
-
"type": "address"
|
|
1453
|
-
},
|
|
1454
1140
|
{
|
|
1455
1141
|
"internalType": "address",
|
|
1456
1142
|
"name": "token",
|