@pendle/core-v2 6.3.1 → 6.3.2-swaphubtest

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.
Files changed (324) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV6Upg.sol/PendleMarketFactoryV6Upg.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/Market/PendleMarketV6.sol/PendleMarketV6.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  47. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
  48. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
  49. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  50. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  51. package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.dbg.json +4 -0
  52. package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.json +201 -0
  53. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +4 -0
  54. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +1301 -0
  55. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +4 -0
  56. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.json +1272 -0
  57. package/build/artifacts/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol/IPSwapExecutor.dbg.json +4 -0
  58. package/build/artifacts/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol/IPSwapExecutor.json +56 -0
  59. package/build/artifacts/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol/SwapExecutor.dbg.json +4 -0
  60. package/build/artifacts/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol/SwapExecutor.json +60 -0
  61. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  62. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +4 -0
  68. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.json +141 -0
  69. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +4 -0
  98. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.json +1135 -0
  99. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +4 -0
  100. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.json +150 -0
  101. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  144. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  147. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  148. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  149. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  150. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  152. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  153. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  154. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  155. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  156. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  157. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  158. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  160. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  161. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +4 -0
  165. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +314 -0
  166. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  179. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  185. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  187. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  189. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  190. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  191. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  192. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  193. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  194. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  195. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  196. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  197. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  198. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  199. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  200. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  201. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  202. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  203. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  204. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  205. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  206. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  207. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  208. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  209. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  210. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  211. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  212. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  213. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  214. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  215. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  216. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  217. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  218. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  219. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  220. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  221. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  222. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  223. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  224. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  225. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  226. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  227. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  228. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  229. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  230. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  231. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  232. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  233. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  234. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  235. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  236. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  237. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  238. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  239. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  240. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  241. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  242. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  243. package/contracts/cross-chain/swap-hub/DepositBox.sol +72 -0
  244. package/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol +162 -0
  245. package/contracts/cross-chain/swap-hub/SwapHubBase.sol +303 -0
  246. package/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol +14 -0
  247. package/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol +33 -0
  248. package/contracts/interfaces/IMarketSweed.sol +23 -0
  249. package/contracts/interfaces/IPCrossChainSwapHub.sol +163 -0
  250. package/contracts/interfaces/IPDepositBox.sol +25 -0
  251. package/contracts/offchain-helpers/MarketSweed.sol +250 -0
  252. package/contracts/router/swap-aggregator/OKXScaleHelper.sol +25 -90
  253. package/deployments/1-core.json +2 -1
  254. package/deployments/10-core.json +2 -1
  255. package/deployments/146-core.json +2 -1
  256. package/deployments/42161-core.json +2 -1
  257. package/deployments/5000-core.json +2 -1
  258. package/deployments/56-core.json +2 -1
  259. package/deployments/80094-core.json +2 -1
  260. package/deployments/8453-core.json +2 -1
  261. package/deployments/9745-core.json +2 -1
  262. package/deployments/999-core.json +2 -1
  263. package/package.json +2 -2
  264. package/typechain-types/DepositBox.ts +304 -0
  265. package/typechain-types/IMarketSweed.ts +203 -0
  266. package/typechain-types/IPCrossChainSwapHub.ts +1002 -0
  267. package/typechain-types/IPDepositBox.ts +257 -0
  268. package/typechain-types/IPSwapExecutor.ts +129 -0
  269. package/typechain-types/MarketSweed.ts +242 -0
  270. package/typechain-types/PendleCrossChainSwapHub.ts +1226 -0
  271. package/typechain-types/SwapExecutor.ts +129 -0
  272. package/typechain-types/SwapHubBase.ts +1201 -0
  273. package/typechain-types/factories/DepositBox__factory.ts +259 -0
  274. package/typechain-types/factories/{IPActionCrossChain__factory.ts → IMarketSweed__factory.ts} +61 -22
  275. package/typechain-types/factories/IPCrossChainSwapHub__factory.ts +1152 -0
  276. package/typechain-types/factories/IPDepositBox__factory.ts +162 -0
  277. package/typechain-types/factories/IPSwapExecutor__factory.ts +71 -0
  278. package/typechain-types/factories/MarketSweed__factory.ts +364 -0
  279. package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +1372 -0
  280. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  281. package/typechain-types/factories/SwapExecutor__factory.ts +110 -0
  282. package/typechain-types/factories/{BasePendleBridgedPrincipalToken__factory.ts → SwapHubBase__factory.ts} +693 -955
  283. package/typechain-types/hardhat.d.ts +90 -54
  284. package/typechain-types/index.ts +18 -12
  285. package/typechain-types/ActionCrossChain.ts +0 -161
  286. package/typechain-types/ActionDelegateBase.ts +0 -57
  287. package/typechain-types/BasePendleBridgedPrincipalToken.ts +0 -1689
  288. package/typechain-types/EIP712.ts +0 -135
  289. package/typechain-types/ERC20Permit.ts +0 -586
  290. package/typechain-types/IERC5267.ts +0 -135
  291. package/typechain-types/IPActionCrossChain.ts +0 -161
  292. package/typechain-types/IPMarketFactoryV3.ts +0 -321
  293. package/typechain-types/IPMarketV3.ts +0 -1068
  294. package/typechain-types/LimitBackendHelper.ts +0 -287
  295. package/typechain-types/OverfillMathLib.ts +0 -81
  296. package/typechain-types/PendleBridgedPrincipalToken_18Decimals.ts +0 -1689
  297. package/typechain-types/PendleBridgedPrincipalToken_6Decimals.ts +0 -1689
  298. package/typechain-types/PendleBridgedPrincipalToken_8Decimals.ts +0 -1689
  299. package/typechain-types/PendleERC20Permit.ts +0 -508
  300. package/typechain-types/PendleERC20PermitUpg.ts +0 -517
  301. package/typechain-types/PendleERC20Upg.ts +0 -348
  302. package/typechain-types/PendleMarketFactoryV3.ts +0 -719
  303. package/typechain-types/PendleMarketV3.ts +0 -1195
  304. package/typechain-types/PendleYieldContractFactory.ts +0 -801
  305. package/typechain-types/ShortStrings.ts +0 -57
  306. package/typechain-types/factories/ActionCrossChain__factory.ts +0 -152
  307. package/typechain-types/factories/ActionDelegateBase__factory.ts +0 -80
  308. package/typechain-types/factories/EIP712__factory.ts +0 -85
  309. package/typechain-types/factories/ERC20Permit__factory.ts +0 -433
  310. package/typechain-types/factories/IERC5267__factory.ts +0 -72
  311. package/typechain-types/factories/IPMarketFactoryV3__factory.ts +0 -217
  312. package/typechain-types/factories/IPMarketV3__factory.ts +0 -845
  313. package/typechain-types/factories/LimitBackendHelper__factory.ts +0 -232
  314. package/typechain-types/factories/OverfillMathLib__factory.ts +0 -77
  315. package/typechain-types/factories/PendleBridgedPrincipalToken_18Decimals__factory.ts +0 -1652
  316. package/typechain-types/factories/PendleBridgedPrincipalToken_6Decimals__factory.ts +0 -1650
  317. package/typechain-types/factories/PendleBridgedPrincipalToken_8Decimals__factory.ts +0 -1650
  318. package/typechain-types/factories/PendleERC20PermitUpg__factory.ts +0 -389
  319. package/typechain-types/factories/PendleERC20Permit__factory.ts +0 -470
  320. package/typechain-types/factories/PendleERC20Upg__factory.ts +0 -261
  321. package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +0 -714
  322. package/typechain-types/factories/PendleMarketV3__factory.ts +0 -1211
  323. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +0 -674
  324. package/typechain-types/factories/ShortStrings__factory.ts +0 -77
@@ -0,0 +1,1135 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IPCrossChainSwapHub",
4
+ "sourceName": "contracts/interfaces/IPCrossChainSwapHub.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ExcessiveNativeFee",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "InsufficientTokenReceived",
14
+ "type": "error"
15
+ },
16
+ {
17
+ "inputs": [],
18
+ "name": "IntentExecuted",
19
+ "type": "error"
20
+ },
21
+ {
22
+ "inputs": [],
23
+ "name": "IntentHashMismatch",
24
+ "type": "error"
25
+ },
26
+ {
27
+ "inputs": [],
28
+ "name": "InvalidAmountIn",
29
+ "type": "error"
30
+ },
31
+ {
32
+ "inputs": [],
33
+ "name": "InvalidNonce",
34
+ "type": "error"
35
+ },
36
+ {
37
+ "inputs": [],
38
+ "name": "InvalidSignature",
39
+ "type": "error"
40
+ },
41
+ {
42
+ "inputs": [],
43
+ "name": "InvalidValidator",
44
+ "type": "error"
45
+ },
46
+ {
47
+ "inputs": [],
48
+ "name": "MessageExpired",
49
+ "type": "error"
50
+ },
51
+ {
52
+ "anonymous": false,
53
+ "inputs": [
54
+ {
55
+ "indexed": true,
56
+ "internalType": "address",
57
+ "name": "owner",
58
+ "type": "address"
59
+ },
60
+ {
61
+ "indexed": false,
62
+ "internalType": "uint32",
63
+ "name": "boxId",
64
+ "type": "uint32"
65
+ },
66
+ {
67
+ "indexed": false,
68
+ "internalType": "address",
69
+ "name": "bridgeExtRouter",
70
+ "type": "address"
71
+ },
72
+ {
73
+ "indexed": false,
74
+ "internalType": "address",
75
+ "name": "token",
76
+ "type": "address"
77
+ },
78
+ {
79
+ "indexed": false,
80
+ "internalType": "uint256",
81
+ "name": "bridgeAmount",
82
+ "type": "uint256"
83
+ },
84
+ {
85
+ "indexed": false,
86
+ "internalType": "uint256",
87
+ "name": "feeAmount",
88
+ "type": "uint256"
89
+ }
90
+ ],
91
+ "name": "BridgeToken",
92
+ "type": "event"
93
+ },
94
+ {
95
+ "anonymous": false,
96
+ "inputs": [
97
+ {
98
+ "indexed": true,
99
+ "internalType": "address",
100
+ "name": "owner",
101
+ "type": "address"
102
+ },
103
+ {
104
+ "indexed": false,
105
+ "internalType": "uint32",
106
+ "name": "boxId",
107
+ "type": "uint32"
108
+ },
109
+ {
110
+ "indexed": false,
111
+ "internalType": "bytes32",
112
+ "name": "intentHash",
113
+ "type": "bytes32"
114
+ },
115
+ {
116
+ "indexed": false,
117
+ "internalType": "address",
118
+ "name": "tokenSpent",
119
+ "type": "address"
120
+ },
121
+ {
122
+ "indexed": false,
123
+ "internalType": "uint256",
124
+ "name": "amountSpent",
125
+ "type": "uint256"
126
+ },
127
+ {
128
+ "indexed": false,
129
+ "internalType": "address",
130
+ "name": "pt",
131
+ "type": "address"
132
+ },
133
+ {
134
+ "indexed": false,
135
+ "internalType": "address",
136
+ "name": "ptAdapter",
137
+ "type": "address"
138
+ },
139
+ {
140
+ "indexed": false,
141
+ "internalType": "uint256",
142
+ "name": "netPtReceived",
143
+ "type": "uint256"
144
+ }
145
+ ],
146
+ "name": "BuyCrossChainPt",
147
+ "type": "event"
148
+ },
149
+ {
150
+ "anonymous": false,
151
+ "inputs": [
152
+ {
153
+ "indexed": true,
154
+ "internalType": "address",
155
+ "name": "executor",
156
+ "type": "address"
157
+ },
158
+ {
159
+ "indexed": false,
160
+ "internalType": "bool",
161
+ "name": "isExecutor",
162
+ "type": "bool"
163
+ }
164
+ ],
165
+ "name": "SetExecutor",
166
+ "type": "event"
167
+ },
168
+ {
169
+ "anonymous": false,
170
+ "inputs": [
171
+ {
172
+ "indexed": true,
173
+ "internalType": "address",
174
+ "name": "validator",
175
+ "type": "address"
176
+ },
177
+ {
178
+ "indexed": false,
179
+ "internalType": "bool",
180
+ "name": "isValidator",
181
+ "type": "bool"
182
+ }
183
+ ],
184
+ "name": "SetValidator",
185
+ "type": "event"
186
+ },
187
+ {
188
+ "anonymous": false,
189
+ "inputs": [
190
+ {
191
+ "indexed": true,
192
+ "internalType": "address",
193
+ "name": "owner",
194
+ "type": "address"
195
+ },
196
+ {
197
+ "indexed": false,
198
+ "internalType": "uint32",
199
+ "name": "boxId",
200
+ "type": "uint32"
201
+ },
202
+ {
203
+ "indexed": false,
204
+ "internalType": "address",
205
+ "name": "tokenSpent",
206
+ "type": "address"
207
+ },
208
+ {
209
+ "indexed": false,
210
+ "internalType": "uint256",
211
+ "name": "amountSpent",
212
+ "type": "uint256"
213
+ },
214
+ {
215
+ "indexed": false,
216
+ "internalType": "address",
217
+ "name": "tokenReceived",
218
+ "type": "address"
219
+ },
220
+ {
221
+ "indexed": false,
222
+ "internalType": "uint256",
223
+ "name": "netTokenReceived",
224
+ "type": "uint256"
225
+ }
226
+ ],
227
+ "name": "SwapToken",
228
+ "type": "event"
229
+ },
230
+ {
231
+ "anonymous": false,
232
+ "inputs": [
233
+ {
234
+ "indexed": true,
235
+ "internalType": "address",
236
+ "name": "owner",
237
+ "type": "address"
238
+ },
239
+ {
240
+ "indexed": false,
241
+ "internalType": "uint32",
242
+ "name": "boxId",
243
+ "type": "uint32"
244
+ },
245
+ {
246
+ "indexed": false,
247
+ "internalType": "address",
248
+ "name": "receiver",
249
+ "type": "address"
250
+ },
251
+ {
252
+ "indexed": false,
253
+ "internalType": "address",
254
+ "name": "token",
255
+ "type": "address"
256
+ },
257
+ {
258
+ "indexed": false,
259
+ "internalType": "uint256",
260
+ "name": "withdrawAmount",
261
+ "type": "uint256"
262
+ },
263
+ {
264
+ "indexed": false,
265
+ "internalType": "uint256",
266
+ "name": "feeAmount",
267
+ "type": "uint256"
268
+ }
269
+ ],
270
+ "name": "WithdrawToken",
271
+ "type": "event"
272
+ },
273
+ {
274
+ "inputs": [],
275
+ "name": "BEACON_PROXY_CODE_CONTRACT",
276
+ "outputs": [
277
+ {
278
+ "internalType": "address",
279
+ "name": "",
280
+ "type": "address"
281
+ }
282
+ ],
283
+ "stateMutability": "view",
284
+ "type": "function"
285
+ },
286
+ {
287
+ "inputs": [],
288
+ "name": "DEPOSIT_BOX_BEACON",
289
+ "outputs": [
290
+ {
291
+ "internalType": "address",
292
+ "name": "",
293
+ "type": "address"
294
+ }
295
+ ],
296
+ "stateMutability": "view",
297
+ "type": "function"
298
+ },
299
+ {
300
+ "inputs": [],
301
+ "name": "DEPOSIT_BOX_CODE_HASH",
302
+ "outputs": [
303
+ {
304
+ "internalType": "bytes32",
305
+ "name": "",
306
+ "type": "bytes32"
307
+ }
308
+ ],
309
+ "stateMutability": "view",
310
+ "type": "function"
311
+ },
312
+ {
313
+ "inputs": [
314
+ {
315
+ "components": [
316
+ {
317
+ "internalType": "address",
318
+ "name": "owner",
319
+ "type": "address"
320
+ },
321
+ {
322
+ "internalType": "uint32",
323
+ "name": "boxId",
324
+ "type": "uint32"
325
+ },
326
+ {
327
+ "internalType": "uint256",
328
+ "name": "expiry",
329
+ "type": "uint256"
330
+ },
331
+ {
332
+ "internalType": "uint256",
333
+ "name": "nonce",
334
+ "type": "uint256"
335
+ },
336
+ {
337
+ "internalType": "address",
338
+ "name": "token",
339
+ "type": "address"
340
+ },
341
+ {
342
+ "internalType": "uint256",
343
+ "name": "bridgeAmount",
344
+ "type": "uint256"
345
+ },
346
+ {
347
+ "internalType": "uint256",
348
+ "name": "feeAmount",
349
+ "type": "uint256"
350
+ },
351
+ {
352
+ "internalType": "address",
353
+ "name": "bridgeExtRouter",
354
+ "type": "address"
355
+ },
356
+ {
357
+ "internalType": "bytes",
358
+ "name": "bridgeCalldata",
359
+ "type": "bytes"
360
+ }
361
+ ],
362
+ "internalType": "struct IPCrossChainSwapHub.BridgeTokenMessage",
363
+ "name": "message",
364
+ "type": "tuple"
365
+ },
366
+ {
367
+ "internalType": "bytes",
368
+ "name": "signature",
369
+ "type": "bytes"
370
+ }
371
+ ],
372
+ "name": "bridgeToken",
373
+ "outputs": [],
374
+ "stateMutability": "payable",
375
+ "type": "function"
376
+ },
377
+ {
378
+ "inputs": [
379
+ {
380
+ "components": [
381
+ {
382
+ "internalType": "address",
383
+ "name": "owner",
384
+ "type": "address"
385
+ },
386
+ {
387
+ "internalType": "uint32",
388
+ "name": "boxId",
389
+ "type": "uint32"
390
+ },
391
+ {
392
+ "internalType": "uint256",
393
+ "name": "salt",
394
+ "type": "uint256"
395
+ },
396
+ {
397
+ "internalType": "uint256",
398
+ "name": "expiry",
399
+ "type": "uint256"
400
+ },
401
+ {
402
+ "internalType": "address",
403
+ "name": "tokenSpent",
404
+ "type": "address"
405
+ },
406
+ {
407
+ "internalType": "uint256",
408
+ "name": "maxAmountSpent",
409
+ "type": "uint256"
410
+ },
411
+ {
412
+ "internalType": "address",
413
+ "name": "pt",
414
+ "type": "address"
415
+ },
416
+ {
417
+ "internalType": "address",
418
+ "name": "ptAdapter",
419
+ "type": "address"
420
+ },
421
+ {
422
+ "internalType": "uint256",
423
+ "name": "minPtReceived",
424
+ "type": "uint256"
425
+ },
426
+ {
427
+ "internalType": "uint32",
428
+ "name": "dstLzEid",
429
+ "type": "uint32"
430
+ },
431
+ {
432
+ "internalType": "bytes32",
433
+ "name": "receiver",
434
+ "type": "bytes32"
435
+ }
436
+ ],
437
+ "internalType": "struct IPCrossChainSwapHub.BuyCrossChainPtIntent",
438
+ "name": "intent",
439
+ "type": "tuple"
440
+ },
441
+ {
442
+ "internalType": "bytes",
443
+ "name": "intentSig",
444
+ "type": "bytes"
445
+ },
446
+ {
447
+ "components": [
448
+ {
449
+ "internalType": "address",
450
+ "name": "validator",
451
+ "type": "address"
452
+ },
453
+ {
454
+ "internalType": "bytes32",
455
+ "name": "intentHash",
456
+ "type": "bytes32"
457
+ },
458
+ {
459
+ "internalType": "uint256",
460
+ "name": "amountSpent",
461
+ "type": "uint256"
462
+ },
463
+ {
464
+ "internalType": "uint256",
465
+ "name": "feeAmount",
466
+ "type": "uint256"
467
+ },
468
+ {
469
+ "internalType": "address",
470
+ "name": "swapExecutor",
471
+ "type": "address"
472
+ },
473
+ {
474
+ "internalType": "address",
475
+ "name": "swapExtRouter",
476
+ "type": "address"
477
+ },
478
+ {
479
+ "internalType": "bytes",
480
+ "name": "swapCalldata",
481
+ "type": "bytes"
482
+ },
483
+ {
484
+ "internalType": "uint256",
485
+ "name": "expiry",
486
+ "type": "uint256"
487
+ }
488
+ ],
489
+ "internalType": "struct IPCrossChainSwapHub.ExecuteBuyCrossChainPtMessage",
490
+ "name": "execMsg",
491
+ "type": "tuple"
492
+ },
493
+ {
494
+ "internalType": "bytes",
495
+ "name": "execSig",
496
+ "type": "bytes"
497
+ }
498
+ ],
499
+ "name": "buyCrossChainPt",
500
+ "outputs": [],
501
+ "stateMutability": "payable",
502
+ "type": "function"
503
+ },
504
+ {
505
+ "inputs": [
506
+ {
507
+ "internalType": "address",
508
+ "name": "owner",
509
+ "type": "address"
510
+ },
511
+ {
512
+ "internalType": "uint32",
513
+ "name": "boxId",
514
+ "type": "uint32"
515
+ }
516
+ ],
517
+ "name": "computeDepositBox",
518
+ "outputs": [
519
+ {
520
+ "internalType": "address",
521
+ "name": "box",
522
+ "type": "address"
523
+ },
524
+ {
525
+ "internalType": "bytes32",
526
+ "name": "salt",
527
+ "type": "bytes32"
528
+ }
529
+ ],
530
+ "stateMutability": "view",
531
+ "type": "function"
532
+ },
533
+ {
534
+ "inputs": [
535
+ {
536
+ "components": [
537
+ {
538
+ "internalType": "address",
539
+ "name": "owner",
540
+ "type": "address"
541
+ },
542
+ {
543
+ "internalType": "uint32",
544
+ "name": "boxId",
545
+ "type": "uint32"
546
+ },
547
+ {
548
+ "internalType": "uint256",
549
+ "name": "expiry",
550
+ "type": "uint256"
551
+ },
552
+ {
553
+ "internalType": "uint256",
554
+ "name": "nonce",
555
+ "type": "uint256"
556
+ },
557
+ {
558
+ "internalType": "address",
559
+ "name": "tokenSpent",
560
+ "type": "address"
561
+ },
562
+ {
563
+ "internalType": "uint256",
564
+ "name": "amountSpent",
565
+ "type": "uint256"
566
+ },
567
+ {
568
+ "internalType": "address",
569
+ "name": "tokenReceived",
570
+ "type": "address"
571
+ },
572
+ {
573
+ "internalType": "uint256",
574
+ "name": "minReceived",
575
+ "type": "uint256"
576
+ },
577
+ {
578
+ "internalType": "uint256",
579
+ "name": "feeAmount",
580
+ "type": "uint256"
581
+ },
582
+ {
583
+ "internalType": "address",
584
+ "name": "swapExecutor",
585
+ "type": "address"
586
+ },
587
+ {
588
+ "internalType": "address",
589
+ "name": "swapExtRouter",
590
+ "type": "address"
591
+ },
592
+ {
593
+ "internalType": "bytes",
594
+ "name": "swapCalldata",
595
+ "type": "bytes"
596
+ }
597
+ ],
598
+ "internalType": "struct IPCrossChainSwapHub.SwapTokenMessage",
599
+ "name": "message",
600
+ "type": "tuple"
601
+ }
602
+ ],
603
+ "name": "hashTypedData",
604
+ "outputs": [
605
+ {
606
+ "internalType": "bytes32",
607
+ "name": "",
608
+ "type": "bytes32"
609
+ }
610
+ ],
611
+ "stateMutability": "view",
612
+ "type": "function"
613
+ },
614
+ {
615
+ "inputs": [
616
+ {
617
+ "components": [
618
+ {
619
+ "internalType": "address",
620
+ "name": "validator",
621
+ "type": "address"
622
+ },
623
+ {
624
+ "internalType": "bytes32",
625
+ "name": "intentHash",
626
+ "type": "bytes32"
627
+ },
628
+ {
629
+ "internalType": "uint256",
630
+ "name": "amountSpent",
631
+ "type": "uint256"
632
+ },
633
+ {
634
+ "internalType": "uint256",
635
+ "name": "feeAmount",
636
+ "type": "uint256"
637
+ },
638
+ {
639
+ "internalType": "address",
640
+ "name": "swapExecutor",
641
+ "type": "address"
642
+ },
643
+ {
644
+ "internalType": "address",
645
+ "name": "swapExtRouter",
646
+ "type": "address"
647
+ },
648
+ {
649
+ "internalType": "bytes",
650
+ "name": "swapCalldata",
651
+ "type": "bytes"
652
+ },
653
+ {
654
+ "internalType": "uint256",
655
+ "name": "expiry",
656
+ "type": "uint256"
657
+ }
658
+ ],
659
+ "internalType": "struct IPCrossChainSwapHub.ExecuteBuyCrossChainPtMessage",
660
+ "name": "message",
661
+ "type": "tuple"
662
+ }
663
+ ],
664
+ "name": "hashTypedData",
665
+ "outputs": [
666
+ {
667
+ "internalType": "bytes32",
668
+ "name": "",
669
+ "type": "bytes32"
670
+ }
671
+ ],
672
+ "stateMutability": "view",
673
+ "type": "function"
674
+ },
675
+ {
676
+ "inputs": [
677
+ {
678
+ "components": [
679
+ {
680
+ "internalType": "address",
681
+ "name": "owner",
682
+ "type": "address"
683
+ },
684
+ {
685
+ "internalType": "uint32",
686
+ "name": "boxId",
687
+ "type": "uint32"
688
+ },
689
+ {
690
+ "internalType": "uint256",
691
+ "name": "salt",
692
+ "type": "uint256"
693
+ },
694
+ {
695
+ "internalType": "uint256",
696
+ "name": "expiry",
697
+ "type": "uint256"
698
+ },
699
+ {
700
+ "internalType": "address",
701
+ "name": "tokenSpent",
702
+ "type": "address"
703
+ },
704
+ {
705
+ "internalType": "uint256",
706
+ "name": "maxAmountSpent",
707
+ "type": "uint256"
708
+ },
709
+ {
710
+ "internalType": "address",
711
+ "name": "pt",
712
+ "type": "address"
713
+ },
714
+ {
715
+ "internalType": "address",
716
+ "name": "ptAdapter",
717
+ "type": "address"
718
+ },
719
+ {
720
+ "internalType": "uint256",
721
+ "name": "minPtReceived",
722
+ "type": "uint256"
723
+ },
724
+ {
725
+ "internalType": "uint32",
726
+ "name": "dstLzEid",
727
+ "type": "uint32"
728
+ },
729
+ {
730
+ "internalType": "bytes32",
731
+ "name": "receiver",
732
+ "type": "bytes32"
733
+ }
734
+ ],
735
+ "internalType": "struct IPCrossChainSwapHub.BuyCrossChainPtIntent",
736
+ "name": "intent",
737
+ "type": "tuple"
738
+ }
739
+ ],
740
+ "name": "hashTypedData",
741
+ "outputs": [
742
+ {
743
+ "internalType": "bytes32",
744
+ "name": "",
745
+ "type": "bytes32"
746
+ }
747
+ ],
748
+ "stateMutability": "view",
749
+ "type": "function"
750
+ },
751
+ {
752
+ "inputs": [
753
+ {
754
+ "components": [
755
+ {
756
+ "internalType": "address",
757
+ "name": "owner",
758
+ "type": "address"
759
+ },
760
+ {
761
+ "internalType": "uint32",
762
+ "name": "boxId",
763
+ "type": "uint32"
764
+ },
765
+ {
766
+ "internalType": "uint256",
767
+ "name": "expiry",
768
+ "type": "uint256"
769
+ },
770
+ {
771
+ "internalType": "uint256",
772
+ "name": "nonce",
773
+ "type": "uint256"
774
+ },
775
+ {
776
+ "internalType": "address",
777
+ "name": "token",
778
+ "type": "address"
779
+ },
780
+ {
781
+ "internalType": "uint256",
782
+ "name": "bridgeAmount",
783
+ "type": "uint256"
784
+ },
785
+ {
786
+ "internalType": "uint256",
787
+ "name": "feeAmount",
788
+ "type": "uint256"
789
+ },
790
+ {
791
+ "internalType": "address",
792
+ "name": "bridgeExtRouter",
793
+ "type": "address"
794
+ },
795
+ {
796
+ "internalType": "bytes",
797
+ "name": "bridgeCalldata",
798
+ "type": "bytes"
799
+ }
800
+ ],
801
+ "internalType": "struct IPCrossChainSwapHub.BridgeTokenMessage",
802
+ "name": "message",
803
+ "type": "tuple"
804
+ }
805
+ ],
806
+ "name": "hashTypedData",
807
+ "outputs": [
808
+ {
809
+ "internalType": "bytes32",
810
+ "name": "",
811
+ "type": "bytes32"
812
+ }
813
+ ],
814
+ "stateMutability": "view",
815
+ "type": "function"
816
+ },
817
+ {
818
+ "inputs": [
819
+ {
820
+ "components": [
821
+ {
822
+ "internalType": "address",
823
+ "name": "owner",
824
+ "type": "address"
825
+ },
826
+ {
827
+ "internalType": "uint32",
828
+ "name": "boxId",
829
+ "type": "uint32"
830
+ },
831
+ {
832
+ "internalType": "uint256",
833
+ "name": "expiry",
834
+ "type": "uint256"
835
+ },
836
+ {
837
+ "internalType": "uint256",
838
+ "name": "nonce",
839
+ "type": "uint256"
840
+ },
841
+ {
842
+ "internalType": "address",
843
+ "name": "receiver",
844
+ "type": "address"
845
+ },
846
+ {
847
+ "internalType": "address",
848
+ "name": "token",
849
+ "type": "address"
850
+ },
851
+ {
852
+ "internalType": "uint256",
853
+ "name": "withdrawAmount",
854
+ "type": "uint256"
855
+ },
856
+ {
857
+ "internalType": "uint256",
858
+ "name": "feeAmount",
859
+ "type": "uint256"
860
+ }
861
+ ],
862
+ "internalType": "struct IPCrossChainSwapHub.WithdrawTokenMessage",
863
+ "name": "message",
864
+ "type": "tuple"
865
+ }
866
+ ],
867
+ "name": "hashTypedData",
868
+ "outputs": [
869
+ {
870
+ "internalType": "bytes32",
871
+ "name": "",
872
+ "type": "bytes32"
873
+ }
874
+ ],
875
+ "stateMutability": "view",
876
+ "type": "function"
877
+ },
878
+ {
879
+ "inputs": [
880
+ {
881
+ "internalType": "address",
882
+ "name": "executor",
883
+ "type": "address"
884
+ }
885
+ ],
886
+ "name": "isExecutor",
887
+ "outputs": [
888
+ {
889
+ "internalType": "bool",
890
+ "name": "",
891
+ "type": "bool"
892
+ }
893
+ ],
894
+ "stateMutability": "view",
895
+ "type": "function"
896
+ },
897
+ {
898
+ "inputs": [
899
+ {
900
+ "internalType": "bytes32",
901
+ "name": "intentHash",
902
+ "type": "bytes32"
903
+ }
904
+ ],
905
+ "name": "isIntentExecuted",
906
+ "outputs": [
907
+ {
908
+ "internalType": "bool",
909
+ "name": "",
910
+ "type": "bool"
911
+ }
912
+ ],
913
+ "stateMutability": "view",
914
+ "type": "function"
915
+ },
916
+ {
917
+ "inputs": [
918
+ {
919
+ "internalType": "address",
920
+ "name": "validator",
921
+ "type": "address"
922
+ }
923
+ ],
924
+ "name": "isValidator",
925
+ "outputs": [
926
+ {
927
+ "internalType": "bool",
928
+ "name": "",
929
+ "type": "bool"
930
+ }
931
+ ],
932
+ "stateMutability": "view",
933
+ "type": "function"
934
+ },
935
+ {
936
+ "inputs": [
937
+ {
938
+ "internalType": "address",
939
+ "name": "owner",
940
+ "type": "address"
941
+ }
942
+ ],
943
+ "name": "ownerNonce",
944
+ "outputs": [
945
+ {
946
+ "internalType": "uint256",
947
+ "name": "",
948
+ "type": "uint256"
949
+ }
950
+ ],
951
+ "stateMutability": "view",
952
+ "type": "function"
953
+ },
954
+ {
955
+ "inputs": [
956
+ {
957
+ "internalType": "address",
958
+ "name": "executor",
959
+ "type": "address"
960
+ },
961
+ {
962
+ "internalType": "bool",
963
+ "name": "isExecutor",
964
+ "type": "bool"
965
+ }
966
+ ],
967
+ "name": "setExecutor",
968
+ "outputs": [],
969
+ "stateMutability": "nonpayable",
970
+ "type": "function"
971
+ },
972
+ {
973
+ "inputs": [
974
+ {
975
+ "internalType": "address",
976
+ "name": "validator",
977
+ "type": "address"
978
+ },
979
+ {
980
+ "internalType": "bool",
981
+ "name": "isValidator",
982
+ "type": "bool"
983
+ }
984
+ ],
985
+ "name": "setValidator",
986
+ "outputs": [],
987
+ "stateMutability": "nonpayable",
988
+ "type": "function"
989
+ },
990
+ {
991
+ "inputs": [
992
+ {
993
+ "components": [
994
+ {
995
+ "internalType": "address",
996
+ "name": "owner",
997
+ "type": "address"
998
+ },
999
+ {
1000
+ "internalType": "uint32",
1001
+ "name": "boxId",
1002
+ "type": "uint32"
1003
+ },
1004
+ {
1005
+ "internalType": "uint256",
1006
+ "name": "expiry",
1007
+ "type": "uint256"
1008
+ },
1009
+ {
1010
+ "internalType": "uint256",
1011
+ "name": "nonce",
1012
+ "type": "uint256"
1013
+ },
1014
+ {
1015
+ "internalType": "address",
1016
+ "name": "tokenSpent",
1017
+ "type": "address"
1018
+ },
1019
+ {
1020
+ "internalType": "uint256",
1021
+ "name": "amountSpent",
1022
+ "type": "uint256"
1023
+ },
1024
+ {
1025
+ "internalType": "address",
1026
+ "name": "tokenReceived",
1027
+ "type": "address"
1028
+ },
1029
+ {
1030
+ "internalType": "uint256",
1031
+ "name": "minReceived",
1032
+ "type": "uint256"
1033
+ },
1034
+ {
1035
+ "internalType": "uint256",
1036
+ "name": "feeAmount",
1037
+ "type": "uint256"
1038
+ },
1039
+ {
1040
+ "internalType": "address",
1041
+ "name": "swapExecutor",
1042
+ "type": "address"
1043
+ },
1044
+ {
1045
+ "internalType": "address",
1046
+ "name": "swapExtRouter",
1047
+ "type": "address"
1048
+ },
1049
+ {
1050
+ "internalType": "bytes",
1051
+ "name": "swapCalldata",
1052
+ "type": "bytes"
1053
+ }
1054
+ ],
1055
+ "internalType": "struct IPCrossChainSwapHub.SwapTokenMessage",
1056
+ "name": "message",
1057
+ "type": "tuple"
1058
+ },
1059
+ {
1060
+ "internalType": "bytes",
1061
+ "name": "signature",
1062
+ "type": "bytes"
1063
+ }
1064
+ ],
1065
+ "name": "swapToken",
1066
+ "outputs": [],
1067
+ "stateMutability": "nonpayable",
1068
+ "type": "function"
1069
+ },
1070
+ {
1071
+ "inputs": [
1072
+ {
1073
+ "components": [
1074
+ {
1075
+ "internalType": "address",
1076
+ "name": "owner",
1077
+ "type": "address"
1078
+ },
1079
+ {
1080
+ "internalType": "uint32",
1081
+ "name": "boxId",
1082
+ "type": "uint32"
1083
+ },
1084
+ {
1085
+ "internalType": "uint256",
1086
+ "name": "expiry",
1087
+ "type": "uint256"
1088
+ },
1089
+ {
1090
+ "internalType": "uint256",
1091
+ "name": "nonce",
1092
+ "type": "uint256"
1093
+ },
1094
+ {
1095
+ "internalType": "address",
1096
+ "name": "receiver",
1097
+ "type": "address"
1098
+ },
1099
+ {
1100
+ "internalType": "address",
1101
+ "name": "token",
1102
+ "type": "address"
1103
+ },
1104
+ {
1105
+ "internalType": "uint256",
1106
+ "name": "withdrawAmount",
1107
+ "type": "uint256"
1108
+ },
1109
+ {
1110
+ "internalType": "uint256",
1111
+ "name": "feeAmount",
1112
+ "type": "uint256"
1113
+ }
1114
+ ],
1115
+ "internalType": "struct IPCrossChainSwapHub.WithdrawTokenMessage",
1116
+ "name": "message",
1117
+ "type": "tuple"
1118
+ },
1119
+ {
1120
+ "internalType": "bytes",
1121
+ "name": "signature",
1122
+ "type": "bytes"
1123
+ }
1124
+ ],
1125
+ "name": "withdrawToken",
1126
+ "outputs": [],
1127
+ "stateMutability": "nonpayable",
1128
+ "type": "function"
1129
+ }
1130
+ ],
1131
+ "bytecode": "0x",
1132
+ "deployedBytecode": "0x",
1133
+ "linkReferences": {},
1134
+ "deployedLinkReferences": {}
1135
+ }