@pendle/core-v2 6.3.2-swaphubtest2 → 6.3.2-swaphubtest3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (248) 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 +1 -1
  52. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
  53. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +157 -494
  54. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
  55. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.json +155 -492
  56. package/build/artifacts/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol/IPSwapExecutor.dbg.json +1 -1
  57. package/build/artifacts/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol/SwapExecutor.dbg.json +1 -1
  58. package/build/artifacts/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol/SwapExecutor.json +2 -2
  59. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  60. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.json +84 -421
  96. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  143. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  144. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  145. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  146. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  147. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  148. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  149. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  150. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  152. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  153. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  154. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  155. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  156. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  157. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  158. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  160. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  161. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  179. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  185. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  187. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  189. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  190. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  191. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  192. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  193. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  194. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  195. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  196. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  197. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  198. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  199. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  200. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  201. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  202. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  203. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  204. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  205. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  206. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  207. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  208. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  209. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  210. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  211. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  212. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  213. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  214. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  215. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  216. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  217. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  218. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  219. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  220. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  221. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  222. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  223. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  224. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  225. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  226. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  227. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  228. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  229. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  230. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  231. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  232. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  233. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  234. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  235. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  236. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  237. package/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol +70 -101
  238. package/contracts/cross-chain/swap-hub/SwapHubBase.sol +20 -29
  239. package/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol +2 -7
  240. package/contracts/interfaces/IPCrossChainSwapHub.sol +17 -39
  241. package/package.json +1 -1
  242. package/typechain-types/IPCrossChainSwapHub.ts +138 -302
  243. package/typechain-types/PendleCrossChainSwapHub.ts +138 -302
  244. package/typechain-types/SwapHubBase.ts +138 -302
  245. package/typechain-types/factories/IPCrossChainSwapHub__factory.ts +84 -421
  246. package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +156 -493
  247. package/typechain-types/factories/SwapExecutor__factory.ts +1 -1
  248. package/typechain-types/factories/SwapHubBase__factory.ts +155 -492
@@ -9,17 +9,17 @@ import type { SwapHubBase, SwapHubBaseInterface } from "../SwapHubBase";
9
9
  const _abi = [
10
10
  {
11
11
  inputs: [],
12
- name: "ActionExecuted",
12
+ name: "InsufficientTokenReceived",
13
13
  type: "error",
14
14
  },
15
15
  {
16
16
  inputs: [],
17
- name: "InsufficientTokenReceived",
17
+ name: "InvalidNonce",
18
18
  type: "error",
19
19
  },
20
20
  {
21
21
  inputs: [],
22
- name: "InvalidNonce",
22
+ name: "InvalidReceiver",
23
23
  type: "error",
24
24
  },
25
25
  {
@@ -47,12 +47,6 @@ const _abi = [
47
47
  name: "boxId",
48
48
  type: "uint32",
49
49
  },
50
- {
51
- indexed: false,
52
- internalType: "bytes32",
53
- name: "actionHash",
54
- type: "bytes32",
55
- },
56
50
  {
57
51
  indexed: false,
58
52
  internalType: "address",
@@ -77,6 +71,12 @@ const _abi = [
77
71
  name: "amountFee",
78
72
  type: "uint256",
79
73
  },
74
+ {
75
+ indexed: false,
76
+ internalType: "bool",
77
+ name: "pullFromOwner",
78
+ type: "bool",
79
+ },
80
80
  ],
81
81
  name: "BridgeToken",
82
82
  type: "event",
@@ -96,12 +96,6 @@ const _abi = [
96
96
  name: "boxId",
97
97
  type: "uint32",
98
98
  },
99
- {
100
- indexed: false,
101
- internalType: "bytes32",
102
- name: "actionHash",
103
- type: "bytes32",
104
- },
105
99
  {
106
100
  indexed: false,
107
101
  internalType: "address",
@@ -138,45 +132,14 @@ const _abi = [
138
132
  name: "netPtReceived",
139
133
  type: "uint256",
140
134
  },
141
- ],
142
- name: "BuyCrossChainPt",
143
- type: "event",
144
- },
145
- {
146
- anonymous: false,
147
- inputs: [
148
- {
149
- indexed: true,
150
- internalType: "address",
151
- name: "owner",
152
- type: "address",
153
- },
154
- {
155
- indexed: false,
156
- internalType: "uint32",
157
- name: "boxId",
158
- type: "uint32",
159
- },
160
135
  {
161
136
  indexed: false,
162
- internalType: "bytes32",
163
- name: "actionHash",
164
- type: "bytes32",
165
- },
166
- {
167
- indexed: false,
168
- internalType: "address",
169
- name: "token",
170
- type: "address",
171
- },
172
- {
173
- indexed: false,
174
- internalType: "uint256",
175
- name: "amount",
176
- type: "uint256",
137
+ internalType: "bool",
138
+ name: "pullFromOwner",
139
+ type: "bool",
177
140
  },
178
141
  ],
179
- name: "ClaimFeeForFailedAction",
142
+ name: "BuyCrossChainPt",
180
143
  type: "event",
181
144
  },
182
145
  {
@@ -251,12 +214,6 @@ const _abi = [
251
214
  name: "boxId",
252
215
  type: "uint32",
253
216
  },
254
- {
255
- indexed: false,
256
- internalType: "bytes32",
257
- name: "actionHash",
258
- type: "bytes32",
259
- },
260
217
  {
261
218
  indexed: false,
262
219
  internalType: "address",
@@ -287,6 +244,18 @@ const _abi = [
287
244
  name: "netTokenReceived",
288
245
  type: "uint256",
289
246
  },
247
+ {
248
+ indexed: false,
249
+ internalType: "bool",
250
+ name: "pullFromOwner",
251
+ type: "bool",
252
+ },
253
+ {
254
+ indexed: false,
255
+ internalType: "bool",
256
+ name: "sendToOwner",
257
+ type: "bool",
258
+ },
290
259
  ],
291
260
  name: "SwapToken",
292
261
  type: "event",
@@ -306,18 +275,6 @@ const _abi = [
306
275
  name: "boxId",
307
276
  type: "uint32",
308
277
  },
309
- {
310
- indexed: false,
311
- internalType: "bytes32",
312
- name: "actionHash",
313
- type: "bytes32",
314
- },
315
- {
316
- indexed: false,
317
- internalType: "address",
318
- name: "receiver",
319
- type: "address",
320
- },
321
278
  {
322
279
  indexed: false,
323
280
  internalType: "address",
@@ -332,285 +289,51 @@ const _abi = [
332
289
  },
333
290
  {
334
291
  indexed: false,
335
- internalType: "uint256",
336
- name: "amountFee",
337
- type: "uint256",
338
- },
339
- ],
340
- name: "WithdrawToken",
341
- type: "event",
342
- },
343
- {
344
- inputs: [],
345
- name: "BEACON_PROXY_CODE_CONTRACT",
346
- outputs: [
347
- {
348
- internalType: "address",
349
- name: "",
350
- type: "address",
351
- },
352
- ],
353
- stateMutability: "view",
354
- type: "function",
355
- },
356
- {
357
- inputs: [],
358
- name: "DEPOSIT_BOX_BEACON",
359
- outputs: [
360
- {
361
- internalType: "address",
362
- name: "",
363
- type: "address",
364
- },
365
- ],
366
- stateMutability: "view",
367
- type: "function",
368
- },
369
- {
370
- inputs: [],
371
- name: "DEPOSIT_BOX_CODE_HASH",
372
- outputs: [
373
- {
374
- internalType: "bytes32",
375
- name: "",
376
- type: "bytes32",
377
- },
378
- ],
379
- stateMutability: "view",
380
- type: "function",
381
- },
382
- {
383
- inputs: [
384
- {
385
- internalType: "bytes32",
386
- name: "actionStatus",
387
- type: "bytes32",
388
- },
389
- ],
390
- name: "actionStatus",
391
- outputs: [
392
- {
393
- internalType: "enum IPCrossChainSwapHub.ActionStatus",
394
- name: "",
395
- type: "uint8",
396
- },
397
- ],
398
- stateMutability: "view",
399
- type: "function",
400
- },
401
- {
402
- inputs: [
403
- {
404
- components: [
405
- {
406
- internalType: "address",
407
- name: "owner",
408
- type: "address",
409
- },
410
- {
411
- internalType: "uint32",
412
- name: "boxId",
413
- type: "uint32",
414
- },
415
- {
416
- internalType: "uint256",
417
- name: "expiry",
418
- type: "uint256",
419
- },
420
- {
421
- internalType: "uint256",
422
- name: "nonce",
423
- type: "uint256",
424
- },
425
- {
426
- internalType: "address",
427
- name: "token",
428
- type: "address",
429
- },
430
- {
431
- internalType: "uint256",
432
- name: "amountBridge",
433
- type: "uint256",
434
- },
435
- {
436
- internalType: "uint256",
437
- name: "amountFee",
438
- type: "uint256",
439
- },
440
- {
441
- internalType: "address",
442
- name: "bridgeExtRouter",
443
- type: "address",
444
- },
445
- {
446
- internalType: "bytes",
447
- name: "bridgeCalldata",
448
- type: "bytes",
449
- },
450
- ],
451
- internalType: "struct IPCrossChainSwapHub.BridgeTokenMessage",
452
- name: "message",
453
- type: "tuple",
454
- },
455
- {
456
- internalType: "bytes",
457
- name: "signature",
458
- type: "bytes",
459
- },
460
- ],
461
- name: "bridgeToken",
462
- outputs: [],
463
- stateMutability: "payable",
464
- type: "function",
465
- },
466
- {
467
- inputs: [
468
- {
469
- components: [
470
- {
471
- internalType: "address",
472
- name: "owner",
473
- type: "address",
474
- },
475
- {
476
- internalType: "uint32",
477
- name: "boxId",
478
- type: "uint32",
479
- },
480
- {
481
- internalType: "uint256",
482
- name: "expiry",
483
- type: "uint256",
484
- },
485
- {
486
- internalType: "uint256",
487
- name: "nonce",
488
- type: "uint256",
489
- },
490
- {
491
- internalType: "address",
492
- name: "tokenSpent",
493
- type: "address",
494
- },
495
- {
496
- internalType: "uint256",
497
- name: "amountSpent",
498
- type: "uint256",
499
- },
500
- {
501
- internalType: "uint256",
502
- name: "amountFee",
503
- type: "uint256",
504
- },
505
- {
506
- internalType: "address",
507
- name: "ptAdapter",
508
- type: "address",
509
- },
510
- {
511
- internalType: "uint256",
512
- name: "minPtReceived",
513
- type: "uint256",
514
- },
515
- {
516
- internalType: "uint32",
517
- name: "dstEid",
518
- type: "uint32",
519
- },
520
- {
521
- internalType: "bytes32",
522
- name: "receiver",
523
- type: "bytes32",
524
- },
525
- {
526
- internalType: "address",
527
- name: "swapExecutor",
528
- type: "address",
529
- },
530
- {
531
- internalType: "address",
532
- name: "swapExtRouter",
533
- type: "address",
534
- },
535
- {
536
- internalType: "bytes",
537
- name: "swapCalldata",
538
- type: "bytes",
539
- },
540
- ],
541
- internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
542
- name: "message",
543
- type: "tuple",
544
- },
545
- {
546
- internalType: "bytes",
547
- name: "signature",
548
- type: "bytes",
549
- },
550
- ],
551
- name: "buyCrossChainPt",
552
- outputs: [],
553
- stateMutability: "payable",
554
- type: "function",
555
- },
556
- {
557
- inputs: [
558
- {
559
- components: [
560
- {
561
- internalType: "address",
562
- name: "owner",
563
- type: "address",
564
- },
565
- {
566
- internalType: "uint32",
567
- name: "boxId",
568
- type: "uint32",
569
- },
570
- {
571
- internalType: "uint256",
572
- name: "expiry",
573
- type: "uint256",
574
- },
575
- {
576
- internalType: "uint256",
577
- name: "nonce",
578
- type: "uint256",
579
- },
580
- {
581
- internalType: "address",
582
- name: "receiver",
583
- type: "address",
584
- },
585
- {
586
- internalType: "address",
587
- name: "token",
588
- type: "address",
589
- },
590
- {
591
- internalType: "uint256",
592
- name: "amountWithdraw",
593
- type: "uint256",
594
- },
595
- {
596
- internalType: "uint256",
597
- name: "amountFee",
598
- type: "uint256",
599
- },
600
- ],
601
- internalType: "struct IPCrossChainSwapHub.WithdrawTokenMessage",
602
- name: "message",
603
- type: "tuple",
292
+ internalType: "uint256",
293
+ name: "amountFee",
294
+ type: "uint256",
604
295
  },
296
+ ],
297
+ name: "WithdrawToken",
298
+ type: "event",
299
+ },
300
+ {
301
+ inputs: [],
302
+ name: "BEACON_PROXY_CODE_CONTRACT",
303
+ outputs: [
605
304
  {
606
- internalType: "bytes",
607
- name: "signature",
608
- type: "bytes",
305
+ internalType: "address",
306
+ name: "",
307
+ type: "address",
609
308
  },
610
309
  ],
611
- name: "claimFee",
612
- outputs: [],
613
- stateMutability: "nonpayable",
310
+ stateMutability: "view",
311
+ type: "function",
312
+ },
313
+ {
314
+ inputs: [],
315
+ name: "DEPOSIT_BOX_BEACON",
316
+ outputs: [
317
+ {
318
+ internalType: "address",
319
+ name: "",
320
+ type: "address",
321
+ },
322
+ ],
323
+ stateMutability: "view",
324
+ type: "function",
325
+ },
326
+ {
327
+ inputs: [],
328
+ name: "DEPOSIT_BOX_CODE_HASH",
329
+ outputs: [
330
+ {
331
+ internalType: "bytes32",
332
+ name: "",
333
+ type: "bytes32",
334
+ },
335
+ ],
336
+ stateMutability: "view",
614
337
  type: "function",
615
338
  },
616
339
  {
@@ -652,6 +375,11 @@ const _abi = [
652
375
  name: "amountFee",
653
376
  type: "uint256",
654
377
  },
378
+ {
379
+ internalType: "bool",
380
+ name: "pullFromOwner",
381
+ type: "bool",
382
+ },
655
383
  {
656
384
  internalType: "address",
657
385
  name: "bridgeExtRouter",
@@ -673,9 +401,9 @@ const _abi = [
673
401
  type: "bytes",
674
402
  },
675
403
  ],
676
- name: "claimFee",
404
+ name: "bridgeToken",
677
405
  outputs: [],
678
- stateMutability: "nonpayable",
406
+ stateMutability: "payable",
679
407
  type: "function",
680
408
  },
681
409
  {
@@ -738,89 +466,9 @@ const _abi = [
738
466
  type: "bytes32",
739
467
  },
740
468
  {
741
- internalType: "address",
742
- name: "swapExecutor",
743
- type: "address",
744
- },
745
- {
746
- internalType: "address",
747
- name: "swapExtRouter",
748
- type: "address",
749
- },
750
- {
751
- internalType: "bytes",
752
- name: "swapCalldata",
753
- type: "bytes",
754
- },
755
- ],
756
- internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
757
- name: "message",
758
- type: "tuple",
759
- },
760
- {
761
- internalType: "bytes",
762
- name: "signature",
763
- type: "bytes",
764
- },
765
- ],
766
- name: "claimFee",
767
- outputs: [],
768
- stateMutability: "nonpayable",
769
- type: "function",
770
- },
771
- {
772
- inputs: [
773
- {
774
- components: [
775
- {
776
- internalType: "address",
777
- name: "owner",
778
- type: "address",
779
- },
780
- {
781
- internalType: "uint32",
782
- name: "boxId",
783
- type: "uint32",
784
- },
785
- {
786
- internalType: "uint256",
787
- name: "expiry",
788
- type: "uint256",
789
- },
790
- {
791
- internalType: "uint256",
792
- name: "nonce",
793
- type: "uint256",
794
- },
795
- {
796
- internalType: "address",
797
- name: "tokenSpent",
798
- type: "address",
799
- },
800
- {
801
- internalType: "uint256",
802
- name: "amountSpent",
803
- type: "uint256",
804
- },
805
- {
806
- internalType: "uint256",
807
- name: "amountFee",
808
- type: "uint256",
809
- },
810
- {
811
- internalType: "address",
812
- name: "tokenReceived",
813
- type: "address",
814
- },
815
- {
816
- internalType: "uint256",
817
- name: "minReceived",
818
- type: "uint256",
819
- },
820
- {
821
- internalType: "address",
822
- name: "receiver",
823
- type: "address",
469
+ internalType: "bool",
470
+ name: "pullFromOwner",
471
+ type: "bool",
824
472
  },
825
473
  {
826
474
  internalType: "address",
@@ -838,7 +486,7 @@ const _abi = [
838
486
  type: "bytes",
839
487
  },
840
488
  ],
841
- internalType: "struct IPCrossChainSwapHub.SwapTokenMessage",
489
+ internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
842
490
  name: "message",
843
491
  type: "tuple",
844
492
  },
@@ -848,9 +496,9 @@ const _abi = [
848
496
  type: "bytes",
849
497
  },
850
498
  ],
851
- name: "claimFee",
499
+ name: "buyCrossChainPt",
852
500
  outputs: [],
853
- stateMutability: "nonpayable",
501
+ stateMutability: "payable",
854
502
  type: "function",
855
503
  },
856
504
  {
@@ -885,6 +533,11 @@ const _abi = [
885
533
  name: "salt",
886
534
  type: "bytes32",
887
535
  },
536
+ {
537
+ internalType: "bool",
538
+ name: "deployed",
539
+ type: "bool",
540
+ },
888
541
  ],
889
542
  stateMutability: "view",
890
543
  type: "function",
@@ -982,9 +635,14 @@ const _abi = [
982
635
  type: "uint256",
983
636
  },
984
637
  {
985
- internalType: "address",
986
- name: "receiver",
987
- type: "address",
638
+ internalType: "bool",
639
+ name: "pullFromOwner",
640
+ type: "bool",
641
+ },
642
+ {
643
+ internalType: "bool",
644
+ name: "sendToOwner",
645
+ type: "bool",
988
646
  },
989
647
  {
990
648
  internalType: "address",
@@ -1044,12 +702,12 @@ const _abi = [
1044
702
  },
1045
703
  {
1046
704
  internalType: "address",
1047
- name: "tokenSpent",
705
+ name: "token",
1048
706
  type: "address",
1049
707
  },
1050
708
  {
1051
709
  internalType: "uint256",
1052
- name: "amountSpent",
710
+ name: "amountWithdraw",
1053
711
  type: "uint256",
1054
712
  },
1055
713
  {
@@ -1057,43 +715,8 @@ const _abi = [
1057
715
  name: "amountFee",
1058
716
  type: "uint256",
1059
717
  },
1060
- {
1061
- internalType: "address",
1062
- name: "ptAdapter",
1063
- type: "address",
1064
- },
1065
- {
1066
- internalType: "uint256",
1067
- name: "minPtReceived",
1068
- type: "uint256",
1069
- },
1070
- {
1071
- internalType: "uint32",
1072
- name: "dstEid",
1073
- type: "uint32",
1074
- },
1075
- {
1076
- internalType: "bytes32",
1077
- name: "receiver",
1078
- type: "bytes32",
1079
- },
1080
- {
1081
- internalType: "address",
1082
- name: "swapExecutor",
1083
- type: "address",
1084
- },
1085
- {
1086
- internalType: "address",
1087
- name: "swapExtRouter",
1088
- type: "address",
1089
- },
1090
- {
1091
- internalType: "bytes",
1092
- name: "swapCalldata",
1093
- type: "bytes",
1094
- },
1095
718
  ],
1096
- internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
719
+ internalType: "struct IPCrossChainSwapHub.WithdrawTokenMessage",
1097
720
  name: "message",
1098
721
  type: "tuple",
1099
722
  },
@@ -1135,12 +758,12 @@ const _abi = [
1135
758
  },
1136
759
  {
1137
760
  internalType: "address",
1138
- name: "token",
761
+ name: "tokenSpent",
1139
762
  type: "address",
1140
763
  },
1141
764
  {
1142
765
  internalType: "uint256",
1143
- name: "amountBridge",
766
+ name: "amountSpent",
1144
767
  type: "uint256",
1145
768
  },
1146
769
  {
@@ -1150,16 +773,46 @@ const _abi = [
1150
773
  },
1151
774
  {
1152
775
  internalType: "address",
1153
- name: "bridgeExtRouter",
776
+ name: "ptAdapter",
777
+ type: "address",
778
+ },
779
+ {
780
+ internalType: "uint256",
781
+ name: "minPtReceived",
782
+ type: "uint256",
783
+ },
784
+ {
785
+ internalType: "uint32",
786
+ name: "dstEid",
787
+ type: "uint32",
788
+ },
789
+ {
790
+ internalType: "bytes32",
791
+ name: "receiver",
792
+ type: "bytes32",
793
+ },
794
+ {
795
+ internalType: "bool",
796
+ name: "pullFromOwner",
797
+ type: "bool",
798
+ },
799
+ {
800
+ internalType: "address",
801
+ name: "swapExecutor",
802
+ type: "address",
803
+ },
804
+ {
805
+ internalType: "address",
806
+ name: "swapExtRouter",
1154
807
  type: "address",
1155
808
  },
1156
809
  {
1157
810
  internalType: "bytes",
1158
- name: "bridgeCalldata",
811
+ name: "swapCalldata",
1159
812
  type: "bytes",
1160
813
  },
1161
814
  ],
1162
- internalType: "struct IPCrossChainSwapHub.BridgeTokenMessage",
815
+ internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
1163
816
  name: "message",
1164
817
  type: "tuple",
1165
818
  },
@@ -1199,11 +852,6 @@ const _abi = [
1199
852
  name: "nonce",
1200
853
  type: "uint256",
1201
854
  },
1202
- {
1203
- internalType: "address",
1204
- name: "receiver",
1205
- type: "address",
1206
- },
1207
855
  {
1208
856
  internalType: "address",
1209
857
  name: "token",
@@ -1211,7 +859,7 @@ const _abi = [
1211
859
  },
1212
860
  {
1213
861
  internalType: "uint256",
1214
- name: "amountWithdraw",
862
+ name: "amountBridge",
1215
863
  type: "uint256",
1216
864
  },
1217
865
  {
@@ -1219,8 +867,23 @@ const _abi = [
1219
867
  name: "amountFee",
1220
868
  type: "uint256",
1221
869
  },
870
+ {
871
+ internalType: "bool",
872
+ name: "pullFromOwner",
873
+ type: "bool",
874
+ },
875
+ {
876
+ internalType: "address",
877
+ name: "bridgeExtRouter",
878
+ type: "address",
879
+ },
880
+ {
881
+ internalType: "bytes",
882
+ name: "bridgeCalldata",
883
+ type: "bytes",
884
+ },
1222
885
  ],
1223
- internalType: "struct IPCrossChainSwapHub.WithdrawTokenMessage",
886
+ internalType: "struct IPCrossChainSwapHub.BridgeTokenMessage",
1224
887
  name: "message",
1225
888
  type: "tuple",
1226
889
  },
@@ -1368,9 +1031,14 @@ const _abi = [
1368
1031
  type: "uint256",
1369
1032
  },
1370
1033
  {
1371
- internalType: "address",
1372
- name: "receiver",
1373
- type: "address",
1034
+ internalType: "bool",
1035
+ name: "pullFromOwner",
1036
+ type: "bool",
1037
+ },
1038
+ {
1039
+ internalType: "bool",
1040
+ name: "sendToOwner",
1041
+ type: "bool",
1374
1042
  },
1375
1043
  {
1376
1044
  internalType: "address",
@@ -1450,11 +1118,6 @@ const _abi = [
1450
1118
  name: "nonce",
1451
1119
  type: "uint256",
1452
1120
  },
1453
- {
1454
- internalType: "address",
1455
- name: "receiver",
1456
- type: "address",
1457
- },
1458
1121
  {
1459
1122
  internalType: "address",
1460
1123
  name: "token",