@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,1372 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
+ import { Provider, TransactionRequest } from "@ethersproject/providers";
6
+ import type {
7
+ PendleCrossChainSwapHub,
8
+ PendleCrossChainSwapHubInterface,
9
+ } from "../PendleCrossChainSwapHub";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [
14
+ {
15
+ internalType: "address",
16
+ name: "beaconProxyCodeContract_",
17
+ type: "address",
18
+ },
19
+ {
20
+ internalType: "address",
21
+ name: "depositBoxBeacon_",
22
+ type: "address",
23
+ },
24
+ ],
25
+ stateMutability: "nonpayable",
26
+ type: "constructor",
27
+ },
28
+ {
29
+ inputs: [],
30
+ name: "ExcessiveNativeFee",
31
+ type: "error",
32
+ },
33
+ {
34
+ inputs: [],
35
+ name: "InsufficientTokenReceived",
36
+ type: "error",
37
+ },
38
+ {
39
+ inputs: [],
40
+ name: "IntentExecuted",
41
+ type: "error",
42
+ },
43
+ {
44
+ inputs: [],
45
+ name: "IntentHashMismatch",
46
+ type: "error",
47
+ },
48
+ {
49
+ inputs: [],
50
+ name: "InvalidAmountIn",
51
+ type: "error",
52
+ },
53
+ {
54
+ inputs: [],
55
+ name: "InvalidNonce",
56
+ type: "error",
57
+ },
58
+ {
59
+ inputs: [],
60
+ name: "InvalidSignature",
61
+ type: "error",
62
+ },
63
+ {
64
+ inputs: [],
65
+ name: "InvalidValidator",
66
+ type: "error",
67
+ },
68
+ {
69
+ inputs: [],
70
+ name: "MessageExpired",
71
+ type: "error",
72
+ },
73
+ {
74
+ anonymous: false,
75
+ inputs: [
76
+ {
77
+ indexed: true,
78
+ internalType: "address",
79
+ name: "owner",
80
+ type: "address",
81
+ },
82
+ {
83
+ indexed: false,
84
+ internalType: "uint32",
85
+ name: "boxId",
86
+ type: "uint32",
87
+ },
88
+ {
89
+ indexed: false,
90
+ internalType: "address",
91
+ name: "bridgeExtRouter",
92
+ type: "address",
93
+ },
94
+ {
95
+ indexed: false,
96
+ internalType: "address",
97
+ name: "token",
98
+ type: "address",
99
+ },
100
+ {
101
+ indexed: false,
102
+ internalType: "uint256",
103
+ name: "bridgeAmount",
104
+ type: "uint256",
105
+ },
106
+ {
107
+ indexed: false,
108
+ internalType: "uint256",
109
+ name: "feeAmount",
110
+ type: "uint256",
111
+ },
112
+ ],
113
+ name: "BridgeToken",
114
+ type: "event",
115
+ },
116
+ {
117
+ anonymous: false,
118
+ inputs: [
119
+ {
120
+ indexed: true,
121
+ internalType: "address",
122
+ name: "owner",
123
+ type: "address",
124
+ },
125
+ {
126
+ indexed: false,
127
+ internalType: "uint32",
128
+ name: "boxId",
129
+ type: "uint32",
130
+ },
131
+ {
132
+ indexed: false,
133
+ internalType: "bytes32",
134
+ name: "intentHash",
135
+ type: "bytes32",
136
+ },
137
+ {
138
+ indexed: false,
139
+ internalType: "address",
140
+ name: "tokenSpent",
141
+ type: "address",
142
+ },
143
+ {
144
+ indexed: false,
145
+ internalType: "uint256",
146
+ name: "amountSpent",
147
+ type: "uint256",
148
+ },
149
+ {
150
+ indexed: false,
151
+ internalType: "address",
152
+ name: "pt",
153
+ type: "address",
154
+ },
155
+ {
156
+ indexed: false,
157
+ internalType: "address",
158
+ name: "ptAdapter",
159
+ type: "address",
160
+ },
161
+ {
162
+ indexed: false,
163
+ internalType: "uint256",
164
+ name: "netPtReceived",
165
+ type: "uint256",
166
+ },
167
+ ],
168
+ name: "BuyCrossChainPt",
169
+ type: "event",
170
+ },
171
+ {
172
+ anonymous: false,
173
+ inputs: [],
174
+ name: "EIP712DomainChanged",
175
+ type: "event",
176
+ },
177
+ {
178
+ anonymous: false,
179
+ inputs: [
180
+ {
181
+ indexed: false,
182
+ internalType: "uint8",
183
+ name: "version",
184
+ type: "uint8",
185
+ },
186
+ ],
187
+ name: "Initialized",
188
+ type: "event",
189
+ },
190
+ {
191
+ anonymous: false,
192
+ inputs: [
193
+ {
194
+ indexed: true,
195
+ internalType: "address",
196
+ name: "previousOwner",
197
+ type: "address",
198
+ },
199
+ {
200
+ indexed: true,
201
+ internalType: "address",
202
+ name: "newOwner",
203
+ type: "address",
204
+ },
205
+ ],
206
+ name: "OwnershipTransferred",
207
+ type: "event",
208
+ },
209
+ {
210
+ anonymous: false,
211
+ inputs: [
212
+ {
213
+ indexed: true,
214
+ internalType: "address",
215
+ name: "executor",
216
+ type: "address",
217
+ },
218
+ {
219
+ indexed: false,
220
+ internalType: "bool",
221
+ name: "isExecutor",
222
+ type: "bool",
223
+ },
224
+ ],
225
+ name: "SetExecutor",
226
+ type: "event",
227
+ },
228
+ {
229
+ anonymous: false,
230
+ inputs: [
231
+ {
232
+ indexed: true,
233
+ internalType: "address",
234
+ name: "validator",
235
+ type: "address",
236
+ },
237
+ {
238
+ indexed: false,
239
+ internalType: "bool",
240
+ name: "isValidator",
241
+ type: "bool",
242
+ },
243
+ ],
244
+ name: "SetValidator",
245
+ type: "event",
246
+ },
247
+ {
248
+ anonymous: false,
249
+ inputs: [
250
+ {
251
+ indexed: true,
252
+ internalType: "address",
253
+ name: "owner",
254
+ type: "address",
255
+ },
256
+ {
257
+ indexed: false,
258
+ internalType: "uint32",
259
+ name: "boxId",
260
+ type: "uint32",
261
+ },
262
+ {
263
+ indexed: false,
264
+ internalType: "address",
265
+ name: "tokenSpent",
266
+ type: "address",
267
+ },
268
+ {
269
+ indexed: false,
270
+ internalType: "uint256",
271
+ name: "amountSpent",
272
+ type: "uint256",
273
+ },
274
+ {
275
+ indexed: false,
276
+ internalType: "address",
277
+ name: "tokenReceived",
278
+ type: "address",
279
+ },
280
+ {
281
+ indexed: false,
282
+ internalType: "uint256",
283
+ name: "netTokenReceived",
284
+ type: "uint256",
285
+ },
286
+ ],
287
+ name: "SwapToken",
288
+ type: "event",
289
+ },
290
+ {
291
+ anonymous: false,
292
+ inputs: [
293
+ {
294
+ indexed: true,
295
+ internalType: "address",
296
+ name: "owner",
297
+ type: "address",
298
+ },
299
+ {
300
+ indexed: false,
301
+ internalType: "uint32",
302
+ name: "boxId",
303
+ type: "uint32",
304
+ },
305
+ {
306
+ indexed: false,
307
+ internalType: "address",
308
+ name: "receiver",
309
+ type: "address",
310
+ },
311
+ {
312
+ indexed: false,
313
+ internalType: "address",
314
+ name: "token",
315
+ type: "address",
316
+ },
317
+ {
318
+ indexed: false,
319
+ internalType: "uint256",
320
+ name: "withdrawAmount",
321
+ type: "uint256",
322
+ },
323
+ {
324
+ indexed: false,
325
+ internalType: "uint256",
326
+ name: "feeAmount",
327
+ type: "uint256",
328
+ },
329
+ ],
330
+ name: "WithdrawToken",
331
+ type: "event",
332
+ },
333
+ {
334
+ inputs: [],
335
+ name: "BEACON_PROXY_CODE_CONTRACT",
336
+ outputs: [
337
+ {
338
+ internalType: "address",
339
+ name: "",
340
+ type: "address",
341
+ },
342
+ ],
343
+ stateMutability: "view",
344
+ type: "function",
345
+ },
346
+ {
347
+ inputs: [],
348
+ name: "DEPOSIT_BOX_BEACON",
349
+ outputs: [
350
+ {
351
+ internalType: "address",
352
+ name: "",
353
+ type: "address",
354
+ },
355
+ ],
356
+ stateMutability: "view",
357
+ type: "function",
358
+ },
359
+ {
360
+ inputs: [],
361
+ name: "DEPOSIT_BOX_CODE_HASH",
362
+ outputs: [
363
+ {
364
+ internalType: "bytes32",
365
+ name: "",
366
+ type: "bytes32",
367
+ },
368
+ ],
369
+ stateMutability: "view",
370
+ type: "function",
371
+ },
372
+ {
373
+ inputs: [
374
+ {
375
+ components: [
376
+ {
377
+ internalType: "address",
378
+ name: "owner",
379
+ type: "address",
380
+ },
381
+ {
382
+ internalType: "uint32",
383
+ name: "boxId",
384
+ type: "uint32",
385
+ },
386
+ {
387
+ internalType: "uint256",
388
+ name: "expiry",
389
+ type: "uint256",
390
+ },
391
+ {
392
+ internalType: "uint256",
393
+ name: "nonce",
394
+ type: "uint256",
395
+ },
396
+ {
397
+ internalType: "address",
398
+ name: "token",
399
+ type: "address",
400
+ },
401
+ {
402
+ internalType: "uint256",
403
+ name: "bridgeAmount",
404
+ type: "uint256",
405
+ },
406
+ {
407
+ internalType: "uint256",
408
+ name: "feeAmount",
409
+ type: "uint256",
410
+ },
411
+ {
412
+ internalType: "address",
413
+ name: "bridgeExtRouter",
414
+ type: "address",
415
+ },
416
+ {
417
+ internalType: "bytes",
418
+ name: "bridgeCalldata",
419
+ type: "bytes",
420
+ },
421
+ ],
422
+ internalType: "struct IPCrossChainSwapHub.BridgeTokenMessage",
423
+ name: "ms",
424
+ type: "tuple",
425
+ },
426
+ {
427
+ internalType: "bytes",
428
+ name: "sig",
429
+ type: "bytes",
430
+ },
431
+ ],
432
+ name: "bridgeToken",
433
+ outputs: [],
434
+ stateMutability: "payable",
435
+ type: "function",
436
+ },
437
+ {
438
+ inputs: [
439
+ {
440
+ components: [
441
+ {
442
+ internalType: "address",
443
+ name: "owner",
444
+ type: "address",
445
+ },
446
+ {
447
+ internalType: "uint32",
448
+ name: "boxId",
449
+ type: "uint32",
450
+ },
451
+ {
452
+ internalType: "uint256",
453
+ name: "salt",
454
+ type: "uint256",
455
+ },
456
+ {
457
+ internalType: "uint256",
458
+ name: "expiry",
459
+ type: "uint256",
460
+ },
461
+ {
462
+ internalType: "address",
463
+ name: "tokenSpent",
464
+ type: "address",
465
+ },
466
+ {
467
+ internalType: "uint256",
468
+ name: "maxAmountSpent",
469
+ type: "uint256",
470
+ },
471
+ {
472
+ internalType: "address",
473
+ name: "pt",
474
+ type: "address",
475
+ },
476
+ {
477
+ internalType: "address",
478
+ name: "ptAdapter",
479
+ type: "address",
480
+ },
481
+ {
482
+ internalType: "uint256",
483
+ name: "minPtReceived",
484
+ type: "uint256",
485
+ },
486
+ {
487
+ internalType: "uint32",
488
+ name: "dstLzEid",
489
+ type: "uint32",
490
+ },
491
+ {
492
+ internalType: "bytes32",
493
+ name: "receiver",
494
+ type: "bytes32",
495
+ },
496
+ ],
497
+ internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtIntent",
498
+ name: "intent",
499
+ type: "tuple",
500
+ },
501
+ {
502
+ internalType: "bytes",
503
+ name: "intentSig",
504
+ type: "bytes",
505
+ },
506
+ {
507
+ components: [
508
+ {
509
+ internalType: "address",
510
+ name: "validator",
511
+ type: "address",
512
+ },
513
+ {
514
+ internalType: "bytes32",
515
+ name: "intentHash",
516
+ type: "bytes32",
517
+ },
518
+ {
519
+ internalType: "uint256",
520
+ name: "amountSpent",
521
+ type: "uint256",
522
+ },
523
+ {
524
+ internalType: "uint256",
525
+ name: "feeAmount",
526
+ type: "uint256",
527
+ },
528
+ {
529
+ internalType: "address",
530
+ name: "swapExecutor",
531
+ type: "address",
532
+ },
533
+ {
534
+ internalType: "address",
535
+ name: "swapExtRouter",
536
+ type: "address",
537
+ },
538
+ {
539
+ internalType: "bytes",
540
+ name: "swapCalldata",
541
+ type: "bytes",
542
+ },
543
+ {
544
+ internalType: "uint256",
545
+ name: "expiry",
546
+ type: "uint256",
547
+ },
548
+ ],
549
+ internalType:
550
+ "struct IPCrossChainSwapHub.ExecuteBuyCrossChainPtMessage",
551
+ name: "execMsg",
552
+ type: "tuple",
553
+ },
554
+ {
555
+ internalType: "bytes",
556
+ name: "execSig",
557
+ type: "bytes",
558
+ },
559
+ ],
560
+ name: "buyCrossChainPt",
561
+ outputs: [],
562
+ stateMutability: "payable",
563
+ type: "function",
564
+ },
565
+ {
566
+ inputs: [],
567
+ name: "claimOwnership",
568
+ outputs: [],
569
+ stateMutability: "nonpayable",
570
+ type: "function",
571
+ },
572
+ {
573
+ inputs: [
574
+ {
575
+ internalType: "address",
576
+ name: "owner",
577
+ type: "address",
578
+ },
579
+ {
580
+ internalType: "uint32",
581
+ name: "boxId",
582
+ type: "uint32",
583
+ },
584
+ ],
585
+ name: "computeDepositBox",
586
+ outputs: [
587
+ {
588
+ internalType: "address",
589
+ name: "box",
590
+ type: "address",
591
+ },
592
+ {
593
+ internalType: "bytes32",
594
+ name: "salt",
595
+ type: "bytes32",
596
+ },
597
+ ],
598
+ stateMutability: "view",
599
+ type: "function",
600
+ },
601
+ {
602
+ inputs: [],
603
+ name: "eip712Domain",
604
+ outputs: [
605
+ {
606
+ internalType: "bytes1",
607
+ name: "fields",
608
+ type: "bytes1",
609
+ },
610
+ {
611
+ internalType: "string",
612
+ name: "name",
613
+ type: "string",
614
+ },
615
+ {
616
+ internalType: "string",
617
+ name: "version",
618
+ type: "string",
619
+ },
620
+ {
621
+ internalType: "uint256",
622
+ name: "chainId",
623
+ type: "uint256",
624
+ },
625
+ {
626
+ internalType: "address",
627
+ name: "verifyingContract",
628
+ type: "address",
629
+ },
630
+ {
631
+ internalType: "bytes32",
632
+ name: "salt",
633
+ type: "bytes32",
634
+ },
635
+ {
636
+ internalType: "uint256[]",
637
+ name: "extensions",
638
+ type: "uint256[]",
639
+ },
640
+ ],
641
+ stateMutability: "view",
642
+ type: "function",
643
+ },
644
+ {
645
+ inputs: [
646
+ {
647
+ components: [
648
+ {
649
+ internalType: "address",
650
+ name: "owner",
651
+ type: "address",
652
+ },
653
+ {
654
+ internalType: "uint32",
655
+ name: "boxId",
656
+ type: "uint32",
657
+ },
658
+ {
659
+ internalType: "uint256",
660
+ name: "expiry",
661
+ type: "uint256",
662
+ },
663
+ {
664
+ internalType: "uint256",
665
+ name: "nonce",
666
+ type: "uint256",
667
+ },
668
+ {
669
+ internalType: "address",
670
+ name: "tokenSpent",
671
+ type: "address",
672
+ },
673
+ {
674
+ internalType: "uint256",
675
+ name: "amountSpent",
676
+ type: "uint256",
677
+ },
678
+ {
679
+ internalType: "address",
680
+ name: "tokenReceived",
681
+ type: "address",
682
+ },
683
+ {
684
+ internalType: "uint256",
685
+ name: "minReceived",
686
+ type: "uint256",
687
+ },
688
+ {
689
+ internalType: "uint256",
690
+ name: "feeAmount",
691
+ type: "uint256",
692
+ },
693
+ {
694
+ internalType: "address",
695
+ name: "swapExecutor",
696
+ type: "address",
697
+ },
698
+ {
699
+ internalType: "address",
700
+ name: "swapExtRouter",
701
+ type: "address",
702
+ },
703
+ {
704
+ internalType: "bytes",
705
+ name: "swapCalldata",
706
+ type: "bytes",
707
+ },
708
+ ],
709
+ internalType: "struct IPCrossChainSwapHub.SwapTokenMessage",
710
+ name: "message",
711
+ type: "tuple",
712
+ },
713
+ ],
714
+ name: "hashTypedData",
715
+ outputs: [
716
+ {
717
+ internalType: "bytes32",
718
+ name: "",
719
+ type: "bytes32",
720
+ },
721
+ ],
722
+ stateMutability: "view",
723
+ type: "function",
724
+ },
725
+ {
726
+ inputs: [
727
+ {
728
+ components: [
729
+ {
730
+ internalType: "address",
731
+ name: "validator",
732
+ type: "address",
733
+ },
734
+ {
735
+ internalType: "bytes32",
736
+ name: "intentHash",
737
+ type: "bytes32",
738
+ },
739
+ {
740
+ internalType: "uint256",
741
+ name: "amountSpent",
742
+ type: "uint256",
743
+ },
744
+ {
745
+ internalType: "uint256",
746
+ name: "feeAmount",
747
+ type: "uint256",
748
+ },
749
+ {
750
+ internalType: "address",
751
+ name: "swapExecutor",
752
+ type: "address",
753
+ },
754
+ {
755
+ internalType: "address",
756
+ name: "swapExtRouter",
757
+ type: "address",
758
+ },
759
+ {
760
+ internalType: "bytes",
761
+ name: "swapCalldata",
762
+ type: "bytes",
763
+ },
764
+ {
765
+ internalType: "uint256",
766
+ name: "expiry",
767
+ type: "uint256",
768
+ },
769
+ ],
770
+ internalType:
771
+ "struct IPCrossChainSwapHub.ExecuteBuyCrossChainPtMessage",
772
+ name: "message",
773
+ type: "tuple",
774
+ },
775
+ ],
776
+ name: "hashTypedData",
777
+ outputs: [
778
+ {
779
+ internalType: "bytes32",
780
+ name: "",
781
+ type: "bytes32",
782
+ },
783
+ ],
784
+ stateMutability: "view",
785
+ type: "function",
786
+ },
787
+ {
788
+ inputs: [
789
+ {
790
+ components: [
791
+ {
792
+ internalType: "address",
793
+ name: "owner",
794
+ type: "address",
795
+ },
796
+ {
797
+ internalType: "uint32",
798
+ name: "boxId",
799
+ type: "uint32",
800
+ },
801
+ {
802
+ internalType: "uint256",
803
+ name: "salt",
804
+ type: "uint256",
805
+ },
806
+ {
807
+ internalType: "uint256",
808
+ name: "expiry",
809
+ type: "uint256",
810
+ },
811
+ {
812
+ internalType: "address",
813
+ name: "tokenSpent",
814
+ type: "address",
815
+ },
816
+ {
817
+ internalType: "uint256",
818
+ name: "maxAmountSpent",
819
+ type: "uint256",
820
+ },
821
+ {
822
+ internalType: "address",
823
+ name: "pt",
824
+ type: "address",
825
+ },
826
+ {
827
+ internalType: "address",
828
+ name: "ptAdapter",
829
+ type: "address",
830
+ },
831
+ {
832
+ internalType: "uint256",
833
+ name: "minPtReceived",
834
+ type: "uint256",
835
+ },
836
+ {
837
+ internalType: "uint32",
838
+ name: "dstLzEid",
839
+ type: "uint32",
840
+ },
841
+ {
842
+ internalType: "bytes32",
843
+ name: "receiver",
844
+ type: "bytes32",
845
+ },
846
+ ],
847
+ internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtIntent",
848
+ name: "intent",
849
+ type: "tuple",
850
+ },
851
+ ],
852
+ name: "hashTypedData",
853
+ outputs: [
854
+ {
855
+ internalType: "bytes32",
856
+ name: "",
857
+ type: "bytes32",
858
+ },
859
+ ],
860
+ stateMutability: "view",
861
+ type: "function",
862
+ },
863
+ {
864
+ inputs: [
865
+ {
866
+ components: [
867
+ {
868
+ internalType: "address",
869
+ name: "owner",
870
+ type: "address",
871
+ },
872
+ {
873
+ internalType: "uint32",
874
+ name: "boxId",
875
+ type: "uint32",
876
+ },
877
+ {
878
+ internalType: "uint256",
879
+ name: "expiry",
880
+ type: "uint256",
881
+ },
882
+ {
883
+ internalType: "uint256",
884
+ name: "nonce",
885
+ type: "uint256",
886
+ },
887
+ {
888
+ internalType: "address",
889
+ name: "token",
890
+ type: "address",
891
+ },
892
+ {
893
+ internalType: "uint256",
894
+ name: "bridgeAmount",
895
+ type: "uint256",
896
+ },
897
+ {
898
+ internalType: "uint256",
899
+ name: "feeAmount",
900
+ type: "uint256",
901
+ },
902
+ {
903
+ internalType: "address",
904
+ name: "bridgeExtRouter",
905
+ type: "address",
906
+ },
907
+ {
908
+ internalType: "bytes",
909
+ name: "bridgeCalldata",
910
+ type: "bytes",
911
+ },
912
+ ],
913
+ internalType: "struct IPCrossChainSwapHub.BridgeTokenMessage",
914
+ name: "message",
915
+ type: "tuple",
916
+ },
917
+ ],
918
+ name: "hashTypedData",
919
+ outputs: [
920
+ {
921
+ internalType: "bytes32",
922
+ name: "",
923
+ type: "bytes32",
924
+ },
925
+ ],
926
+ stateMutability: "view",
927
+ type: "function",
928
+ },
929
+ {
930
+ inputs: [
931
+ {
932
+ components: [
933
+ {
934
+ internalType: "address",
935
+ name: "owner",
936
+ type: "address",
937
+ },
938
+ {
939
+ internalType: "uint32",
940
+ name: "boxId",
941
+ type: "uint32",
942
+ },
943
+ {
944
+ internalType: "uint256",
945
+ name: "expiry",
946
+ type: "uint256",
947
+ },
948
+ {
949
+ internalType: "uint256",
950
+ name: "nonce",
951
+ type: "uint256",
952
+ },
953
+ {
954
+ internalType: "address",
955
+ name: "receiver",
956
+ type: "address",
957
+ },
958
+ {
959
+ internalType: "address",
960
+ name: "token",
961
+ type: "address",
962
+ },
963
+ {
964
+ internalType: "uint256",
965
+ name: "withdrawAmount",
966
+ type: "uint256",
967
+ },
968
+ {
969
+ internalType: "uint256",
970
+ name: "feeAmount",
971
+ type: "uint256",
972
+ },
973
+ ],
974
+ internalType: "struct IPCrossChainSwapHub.WithdrawTokenMessage",
975
+ name: "message",
976
+ type: "tuple",
977
+ },
978
+ ],
979
+ name: "hashTypedData",
980
+ outputs: [
981
+ {
982
+ internalType: "bytes32",
983
+ name: "",
984
+ type: "bytes32",
985
+ },
986
+ ],
987
+ stateMutability: "view",
988
+ type: "function",
989
+ },
990
+ {
991
+ inputs: [
992
+ {
993
+ internalType: "address",
994
+ name: "_owner",
995
+ type: "address",
996
+ },
997
+ ],
998
+ name: "initialize",
999
+ outputs: [],
1000
+ stateMutability: "nonpayable",
1001
+ type: "function",
1002
+ },
1003
+ {
1004
+ inputs: [
1005
+ {
1006
+ internalType: "address",
1007
+ name: "executor",
1008
+ type: "address",
1009
+ },
1010
+ ],
1011
+ name: "isExecutor",
1012
+ outputs: [
1013
+ {
1014
+ internalType: "bool",
1015
+ name: "",
1016
+ type: "bool",
1017
+ },
1018
+ ],
1019
+ stateMutability: "view",
1020
+ type: "function",
1021
+ },
1022
+ {
1023
+ inputs: [
1024
+ {
1025
+ internalType: "bytes32",
1026
+ name: "intentHash",
1027
+ type: "bytes32",
1028
+ },
1029
+ ],
1030
+ name: "isIntentExecuted",
1031
+ outputs: [
1032
+ {
1033
+ internalType: "bool",
1034
+ name: "",
1035
+ type: "bool",
1036
+ },
1037
+ ],
1038
+ stateMutability: "view",
1039
+ type: "function",
1040
+ },
1041
+ {
1042
+ inputs: [
1043
+ {
1044
+ internalType: "address",
1045
+ name: "validator",
1046
+ type: "address",
1047
+ },
1048
+ ],
1049
+ name: "isValidator",
1050
+ outputs: [
1051
+ {
1052
+ internalType: "bool",
1053
+ name: "",
1054
+ type: "bool",
1055
+ },
1056
+ ],
1057
+ stateMutability: "view",
1058
+ type: "function",
1059
+ },
1060
+ {
1061
+ inputs: [],
1062
+ name: "owner",
1063
+ outputs: [
1064
+ {
1065
+ internalType: "address",
1066
+ name: "",
1067
+ type: "address",
1068
+ },
1069
+ ],
1070
+ stateMutability: "view",
1071
+ type: "function",
1072
+ },
1073
+ {
1074
+ inputs: [
1075
+ {
1076
+ internalType: "address",
1077
+ name: "owner",
1078
+ type: "address",
1079
+ },
1080
+ ],
1081
+ name: "ownerNonce",
1082
+ outputs: [
1083
+ {
1084
+ internalType: "uint256",
1085
+ name: "nonce",
1086
+ type: "uint256",
1087
+ },
1088
+ ],
1089
+ stateMutability: "view",
1090
+ type: "function",
1091
+ },
1092
+ {
1093
+ inputs: [],
1094
+ name: "pendingOwner",
1095
+ outputs: [
1096
+ {
1097
+ internalType: "address",
1098
+ name: "",
1099
+ type: "address",
1100
+ },
1101
+ ],
1102
+ stateMutability: "view",
1103
+ type: "function",
1104
+ },
1105
+ {
1106
+ inputs: [
1107
+ {
1108
+ internalType: "address",
1109
+ name: "executor",
1110
+ type: "address",
1111
+ },
1112
+ {
1113
+ internalType: "bool",
1114
+ name: "isExecutor_",
1115
+ type: "bool",
1116
+ },
1117
+ ],
1118
+ name: "setExecutor",
1119
+ outputs: [],
1120
+ stateMutability: "nonpayable",
1121
+ type: "function",
1122
+ },
1123
+ {
1124
+ inputs: [
1125
+ {
1126
+ internalType: "address",
1127
+ name: "validator",
1128
+ type: "address",
1129
+ },
1130
+ {
1131
+ internalType: "bool",
1132
+ name: "isValidator_",
1133
+ type: "bool",
1134
+ },
1135
+ ],
1136
+ name: "setValidator",
1137
+ outputs: [],
1138
+ stateMutability: "nonpayable",
1139
+ type: "function",
1140
+ },
1141
+ {
1142
+ inputs: [
1143
+ {
1144
+ components: [
1145
+ {
1146
+ internalType: "address",
1147
+ name: "owner",
1148
+ type: "address",
1149
+ },
1150
+ {
1151
+ internalType: "uint32",
1152
+ name: "boxId",
1153
+ type: "uint32",
1154
+ },
1155
+ {
1156
+ internalType: "uint256",
1157
+ name: "expiry",
1158
+ type: "uint256",
1159
+ },
1160
+ {
1161
+ internalType: "uint256",
1162
+ name: "nonce",
1163
+ type: "uint256",
1164
+ },
1165
+ {
1166
+ internalType: "address",
1167
+ name: "tokenSpent",
1168
+ type: "address",
1169
+ },
1170
+ {
1171
+ internalType: "uint256",
1172
+ name: "amountSpent",
1173
+ type: "uint256",
1174
+ },
1175
+ {
1176
+ internalType: "address",
1177
+ name: "tokenReceived",
1178
+ type: "address",
1179
+ },
1180
+ {
1181
+ internalType: "uint256",
1182
+ name: "minReceived",
1183
+ type: "uint256",
1184
+ },
1185
+ {
1186
+ internalType: "uint256",
1187
+ name: "feeAmount",
1188
+ type: "uint256",
1189
+ },
1190
+ {
1191
+ internalType: "address",
1192
+ name: "swapExecutor",
1193
+ type: "address",
1194
+ },
1195
+ {
1196
+ internalType: "address",
1197
+ name: "swapExtRouter",
1198
+ type: "address",
1199
+ },
1200
+ {
1201
+ internalType: "bytes",
1202
+ name: "swapCalldata",
1203
+ type: "bytes",
1204
+ },
1205
+ ],
1206
+ internalType: "struct IPCrossChainSwapHub.SwapTokenMessage",
1207
+ name: "ms",
1208
+ type: "tuple",
1209
+ },
1210
+ {
1211
+ internalType: "bytes",
1212
+ name: "sig",
1213
+ type: "bytes",
1214
+ },
1215
+ ],
1216
+ name: "swapToken",
1217
+ outputs: [],
1218
+ stateMutability: "nonpayable",
1219
+ type: "function",
1220
+ },
1221
+ {
1222
+ inputs: [
1223
+ {
1224
+ internalType: "address",
1225
+ name: "newOwner",
1226
+ type: "address",
1227
+ },
1228
+ {
1229
+ internalType: "bool",
1230
+ name: "direct",
1231
+ type: "bool",
1232
+ },
1233
+ {
1234
+ internalType: "bool",
1235
+ name: "renounce",
1236
+ type: "bool",
1237
+ },
1238
+ ],
1239
+ name: "transferOwnership",
1240
+ outputs: [],
1241
+ stateMutability: "nonpayable",
1242
+ type: "function",
1243
+ },
1244
+ {
1245
+ inputs: [
1246
+ {
1247
+ components: [
1248
+ {
1249
+ internalType: "address",
1250
+ name: "owner",
1251
+ type: "address",
1252
+ },
1253
+ {
1254
+ internalType: "uint32",
1255
+ name: "boxId",
1256
+ type: "uint32",
1257
+ },
1258
+ {
1259
+ internalType: "uint256",
1260
+ name: "expiry",
1261
+ type: "uint256",
1262
+ },
1263
+ {
1264
+ internalType: "uint256",
1265
+ name: "nonce",
1266
+ type: "uint256",
1267
+ },
1268
+ {
1269
+ internalType: "address",
1270
+ name: "receiver",
1271
+ type: "address",
1272
+ },
1273
+ {
1274
+ internalType: "address",
1275
+ name: "token",
1276
+ type: "address",
1277
+ },
1278
+ {
1279
+ internalType: "uint256",
1280
+ name: "withdrawAmount",
1281
+ type: "uint256",
1282
+ },
1283
+ {
1284
+ internalType: "uint256",
1285
+ name: "feeAmount",
1286
+ type: "uint256",
1287
+ },
1288
+ ],
1289
+ internalType: "struct IPCrossChainSwapHub.WithdrawTokenMessage",
1290
+ name: "ms",
1291
+ type: "tuple",
1292
+ },
1293
+ {
1294
+ internalType: "bytes",
1295
+ name: "sig",
1296
+ type: "bytes",
1297
+ },
1298
+ ],
1299
+ name: "withdrawToken",
1300
+ outputs: [],
1301
+ stateMutability: "nonpayable",
1302
+ type: "function",
1303
+ },
1304
+ ];
1305
+
1306
+ const _bytecode =
1307
+ "0x60e060405234801561000f575f5ffd5b5060405161354e38038061354e83398101604081905261002e916101b8565b6001600160a01b03808316608081905290821660a05260408051823b8181016020908101909352808252859385935f91908401903c604080516001600160a01b0384166020820152808201919091525f606082015260800160408051601f19818403018152908290526100a49291602001610216565b60408051601f19818403018152919052805160209091012060c052506100ca90506100d1565b5050610232565b600154600160a81b900460ff161561013f5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff9081161461019b576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b80516001600160a01b03811681146101b3575f5ffd5b919050565b5f5f604083850312156101c9575f5ffd5b6101d28361019d565b91506101e06020840161019d565b90509250929050565b5f81515f5b8181101561020857602081850181015186830152016101ee565b505f93019283525090919050565b5f61022a61022483866101e9565b846101e9565b949350505050565b60805160a05160c0516132dd6102715f395f8181610269015261138f01525f818161015b015261155201525f81816101d6015261150101526132dd5ff3fe608060405260043610610125575f3560e01c8063078dfbe7146101295780631122f54e1461014a5780631e1bff3f1461019357806322126144146101b25780632d610bb0146101c55780634623c91d146101f85780634e71e0c8146102175780635172e4141461022b5780635a3f0e6b146102585780636661b84b1461028b5780636eeee43f146102aa57806384b0196e146102e85780638da5cb5b1461030f578063b047db001461032d578063c0f29fa61461034c578063c4d66de81461035f578063c5c6e1d61461037e578063db50f4e01461039d578063debfda30146103bc578063e30c3978146103ea578063e748fd2714610409578063e8ad29b414610428578063ebf65ba614610453578063f22e9dd414610472578063facd743b1461049f575b5f5ffd5b348015610134575f5ffd5b506101486101433660046121eb565b6104cd565b005b348015610155575f5ffd5b5061017d7f000000000000000000000000000000000000000000000000000000000000000081565b60405161018a9190612238565b60405180910390f35b34801561019e575f5ffd5b506101486101ad36600461224c565b6105ce565b6101486101c0366004612539565b610656565b3480156101d0575f5ffd5b5061017d7f000000000000000000000000000000000000000000000000000000000000000081565b348015610203575f5ffd5b5061014861021236600461224c565b61089d565b348015610222575f5ffd5b5061014861091d565b348015610236575f5ffd5b5061024a6102453660046126be565b6109c5565b60405190815260200161018a565b348015610263575f5ffd5b5061024a7f000000000000000000000000000000000000000000000000000000000000000081565b348015610296575f5ffd5b506101486102a53660046126ef565b610a6d565b3480156102b5575f5ffd5b506102d86102c4366004612752565b60676020525f908152604090205460ff1681565b604051901515815260200161018a565b3480156102f3575f5ffd5b506102fc610bf6565b60405161018a97969594939291906127b6565b34801561031a575f5ffd5b505f5461017d906001600160a01b031681565b348015610338575f5ffd5b5061024a61034736600461284c565b610c8f565b61014861035a366004612930565b610d44565b34801561036a575f5ffd5b50610148610379366004612962565b610e6e565b348015610389575f5ffd5b5061024a61039836600461297b565b610fee565b3480156103a8575f5ffd5b5061024a6103b7366004612996565b611067565b3480156103c7575f5ffd5b506102d86103d6366004612962565b60686020525f908152604090205460ff1681565b3480156103f5575f5ffd5b5060015461017d906001600160a01b031681565b348015610414575f5ffd5b50610148610423366004612a50565b61112d565b348015610433575f5ffd5b5061024a610442366004612962565b60666020525f908152604090205481565b34801561045e575f5ffd5b5061024a61046d366004612a87565b6112a8565b34801561047d575f5ffd5b5061049161048c366004612aa2565b61135c565b60405161018a929190612aca565b3480156104aa575f5ffd5b506102d86104b9366004612962565b60696020525f908152604090205460ff1681565b5f546001600160a01b031633146104ff5760405162461bcd60e51b81526004016104f690612ae3565b60405180910390fd5b81156105ad576001600160a01b0383161515806105195750805b61055d5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016104f6565b5f80546040516001600160a01b03808716939216915f5160206132885f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b5f546001600160a01b031633146105f75760405162461bcd60e51b81526004016104f690612ae3565b6001600160a01b0382165f81815260686020908152604091829020805460ff191685151590811790915591519182527f827c394aebf0fcbf2d4f5c0107a0031a3860ec0d5e06756e03aacccfb8d2836e91015b60405180910390a25050565b335f9081526068602052604090205460ff166106845760405162461bcd60e51b81526004016104f690612b18565b61069f845f0151856060015161069987610fee565b866113bc565b6106ba825f01518360e001516106b485610c8f565b8461140a565b5f846040516020016106cc9190612b4f565b6040516020818303038152906040528051906020012090506106f283602001518261146a565b5f610704865f015187602001516114d4565b90505f8460600151610717888785611646565b6107219190612c06565b60c088015160608701516040516301de6c5360e71b81529293506001600160a01b0385169263ef3629809261075a929091600401612aca565b5f604051808303815f87803b158015610771575f5ffd5b505af1158015610783573d5f5f3e3d5ffd5b5050505060e08701516001600160a01b03166107bd5734156107b8576040516350f6bc5760e01b815260040160405180910390fd5b6107cc565b6107c9878383346116f7565b90505b8661010001518110156107f257604051632578a3d560e11b815260040160405180910390fd5b865f01516001600160a01b03167fd2bd82e459ebe49956443a8300f02a6dc2872bcf22e3fde66a5955d7896e4ae18860200151858a6080015189604001518c60c001518d60e001518860405161088c979695949392919063ffffffff97909716875260208701959095526001600160a01b0393841660408701526060860192909252821660808501521660a083015260c082015260e00190565b60405180910390a250505050505050565b5f546001600160a01b031633146108c65760405162461bcd60e51b81526004016104f690612ae3565b6001600160a01b0382165f81815260696020908152604091829020805460ff191685151590811790915591519182527ff777a2dd5104082173537070fa5bc14b35ab543cc11a90836e264f3cef55c064910161064a565b6001546001600160a01b03163381146109785760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016104f6565b5f80546040516001600160a01b03808516939216915f5160206132885f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b5f610a677fe07c2f14f77ceaf30254671ba25d3940e18a280d418ec04f30a421b76fec8e21835f015184602001518560400151866060015187608001518860a001518960c001518a60e001518b61010001518c61012001518d61014001518e610160015180519060200120604051602001610a4c9d9c9b9a99989796959493929190612c25565b60405160208183030381529060405280519060200120611894565b92915050565b335f9081526068602052604090205460ff16610a9b5760405162461bcd60e51b81526004016104f690612b18565b610abb825f015183604001518460600151610ab5866109c5565b856118c0565b5f610acd835f015184602001516114d4565b90505f836101000151610ae085846118dd565b610aea9190612c06565b60c08501516101008601516040516301de6c5360e71b81529293506001600160a01b0385169263ef36298092610b24929091600401612aca565b5f604051808303815f87803b158015610b3b575f5ffd5b505af1158015610b4d573d5f5f3e3d5ffd5b505050508360e00151811015610b7657604051632578a3d560e11b815260040160405180910390fd5b835160208086015160808088015160a0808a015160c08b01516040805163ffffffff90971687526001600160a01b0394851697870197909752958501529381166060840152908201859052909216917f96af82ad65d3deec4f3d60fccfd90dccdbaab9813fb8a008aeae79742c775e01910160405180910390a250505050565b5f6060805f5f5f60606002545f5f1b148015610c125750600354155b610c565760405162461bcd60e51b81526020600482015260156024820152741152540dcc4c8e88155b9a5b9a5d1a585b1a5e9959605a1b60448201526064016104f6565b610c5e611951565b610c666119e1565b604080515f80825260208201909252600f60f81b9b939a50919850469750309650945092509050565b5f610a677f345607f719c1866f84a751ece95dae332cdc57f1ac7b9a3c0f57d85467f6b855835f015184602001518560400151866060015187608001518860a001518960c00151805190602001208a60e00151604051602001610a4c999897969594939291909889526001600160a01b0397881660208a0152604089019690965260608801949094526080870192909252841660a086015290921660c084015260e08301919091526101008201526101200190565b335f9081526068602052604090205460ff16610d725760405162461bcd60e51b81526004016104f690612b18565b610d8c825f015183604001518460600151610ab586611067565b5f610d9e835f015184602001516114d4565b9050610dab8382346119f0565b608083015160c08401516040516301de6c5360e71b81526001600160a01b0384169263ef36298092610ddf92600401612aca565b5f604051808303815f87803b158015610df6575f5ffd5b505af1158015610e08573d5f5f3e3d5ffd5b50508451602086015160e0870151608088015160a089015160c08a01516040516001600160a01b0390961697507f0e0f64c3d50163af7cbbbfccc4856d259e68800f812d791f6310603cd734e8419650610e6195612cb2565b60405180910390a2505050565b600154600160a81b900460ff1615808015610e94575060018054600160a01b900460ff16105b80610eb45750303b158015610eb4575060018054600160a01b900460ff16145b610f175760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016104f6565b6001805460ff60a01b1916600160a01b1790558015610f44576001805460ff60a81b1916600160a81b1790555b610f9a6040518060400160405280601b81526020017a2832b73236329021b937b9b99021b430b4b71029bbb0b810243ab160291b815250604051806040016040528060018152602001603160f81b815250611a97565b610fa382611aca565b8015610fea576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b5f610a677fb0495383b38434498bc2572bbcd98ce300312a41ea78569ae7c34883312098f8835f015184602001518560400151866060015187608001518860a001518960c001518a60e001518b61010001518c61012001518d6101400151604051602001610a4c9c9b9a99989796959493929190612ce9565b5f610a677f7ef2c3495d9c54f20199df4ec535ba2e5fdd12b43641d162c97bd6472c912ba3835f015184602001518560400151866060015187608001518860a001518960c001518a60e001518b610100015180519060200120604051602001610a4c9a99989796959493929190998a526001600160a01b0398891660208b015263ffffffff9790971660408a01526060890195909552608088019390935290851660a087015260c086015260e08501529091166101008301526101208201526101400190565b335f9081526068602052604090205460ff1661115b5760405162461bcd60e51b81526004016104f690612b18565b611175825f015183604001518460600151610ab5866112a8565b5f611187835f015184602001516114d4565b9050806001600160a01b031663c3b35a7e84608001518560a001518660c001516040518463ffffffff1660e01b81526004016111c593929190612d6d565b5f604051808303815f87803b1580156111dc575f5ffd5b505af11580156111ee573d5f5f3e3d5ffd5b5050505060a083015160e08401516040516301de6c5360e71b81526001600160a01b0384169263ef3629809261122692600401612aca565b5f604051808303815f87803b15801561123d575f5ffd5b505af115801561124f573d5f5f3e3d5ffd5b505084516020860151608087015160a088015160c089015160e08a01516040516001600160a01b0390961697507f852c900c43a40fa3535c1461c76efc47e92768df6752f1b92c782415b29bd8f89650610e6195612cb2565b5f610a677fc3a5c2101c4567506dd16b560c791a943b26fb6b941c74a0a439da06a0d5fa17835f015184602001518560400151866060015187608001518860a001518960c001518a60e00151604051602001610a4c999897969594939291909889526001600160a01b0397881660208a015263ffffffff96909616604089015260608801949094526080870192909252841660a086015290921660c084015260e08301919091526101008201526101200190565b5f5f8383604051602001611371929190612d91565b6040516020818303038152906040528051906020012090506113b3817f0000000000000000000000000000000000000000000000000000000000000000611b14565b91509250929050565b6113c7848383611b27565b6113e457604051638baa579f60e01b815260040160405180910390fd5b428311611404576040516303dd4ee960e61b815260040160405180910390fd5b50505050565b611415848383611b27565b61143257604051638baa579f60e01b815260040160405180910390fd5b6001600160a01b0384165f9081526069602052604090205460ff166113e457604051631a0a9b9f60e21b815260040160405180910390fd5b80821461148a57604051637e5d179b60e01b815260040160405180910390fd5b5f8181526067602052604090205460ff16156114b957604051634d6cea5760e11b815260040160405180910390fd5b5f908152606760205260409020805460ff1916600117905550565b5f5f5f6114e1858561135c565b90925090506001600160a01b0382163b156114fe57509050610a67565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b806020016040519081016040528181525f908060200190933c604080516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166020820152808201919091525f606082015260800160408051601f19818403018152908290526115a59291602001612db0565b6040516020818303038152906040529050826001600160a01b03166115cb5f8484611b85565b6001600160a01b0316146115e1576115e1612dde565b60405163c5e4c9f960e01b81526001600160a01b0384169063c5e4c9f99061160f9089908990600401612d91565b5f604051808303815f87803b158015611626575f5ffd5b505af1158015611638573d5f5f3e3d5ffd5b509498975050505050505050565b5f6116628460a0015161165d848760800151611c83565b611d12565b83604001511115611686576040516365719fe160e11b815260040160405180910390fd5b5f6040518060a0016040528086608001516001600160a01b03168152602001856040015181526020018660c001516001600160a01b031681526020018560a001516001600160a01b031681526020018560c0015181525090506116ee83856080015183611d27565b95945050505050565b5f5f6040518060e0016040528087610120015163ffffffff16815260200187610140015181526020018581526020015f815260200160405180602001604052805f815250815260200160405180602001604052805f815250815260200160405180602001604052805f81525081525090505f60405180604001604052808581526020015f81525090505f60405180608001604052808960c001516001600160a01b031681526020018781526020018960e001516001600160a01b031681526020018484336040516024016117cd93929190612df2565b60408051601f198184030181529181526020820180516001600160e01b031663c7c7f5b360e01b17905291525163704a2e9b60e01b81529091505f906001600160a01b0389169063704a2e9b90889061182c9086903390600401612ea2565b5f6040518083038185885af1158015611847573d5f5f3e3d5ffd5b50505050506040513d5f823e601f3d908101601f1916820160405261186f9190810190612f03565b8060200190518101906118829190612fb7565b602001519a9950505050505050505050565b5f610a676118a0611e11565b8360405161190160f01b8152600281019290925260228201526042902090565b6118cc858584846113bc565b6118d68584611e1f565b5050505050565b5f5f6040518060a0016040528085608001516001600160a01b031681526020018560a0015181526020018560c001516001600160a01b031681526020018561014001516001600160a01b0316815260200185610160015181525090506119498385610120015183611d27565b949350505050565b6060600480546119609061303f565b80601f016020809104026020016040519081016040528092919081815260200182805461198c9061303f565b80156119d75780601f106119ae576101008083540402835291602001916119d7565b820191905f5260205f20905b8154815290600101906020018083116119ba57829003601f168201915b5050505050905090565b6060600580546119609061303f565b60408051608080820183528501516001600160a01b03908116825260a0860151602083015260e08601518116828401526101008601516060830152915163704a2e9b60e01b8152909184169063704a2e9b908490611a549085903390600401612ea2565b5f6040518083038185885af1158015611a6f573d5f5f3e3d5ffd5b50505050506040513d5f823e601f3d908101601f191682016040526118d69190810190612f03565b600154600160a81b900460ff16611ac05760405162461bcd60e51b81526004016104f690613077565b610fea8282611e71565b600154600160a81b900460ff16611af35760405162461bcd60e51b81526004016104f690613077565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b5f611b20838330611ec1565b9392505050565b5f5f5f611b348585611eea565b90925090505f816004811115611b4c57611b4c6130c2565b148015611b6a5750856001600160a01b0316826001600160a01b0316145b80611b7b5750611b7b868686611f2c565b9695505050505050565b5f83471015611bd65760405162461bcd60e51b815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e636500000060448201526064016104f6565b81515f03611c265760405162461bcd60e51b815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f60448201526064016104f6565b8282516020840186f590506001600160a01b038116611b205760405162461bcd60e51b8152602060048201526019602482015278437265617465323a204661696c6564206f6e206465706c6f7960381b60448201526064016104f6565b5f6001600160a01b03821615611d03576040516370a0823160e01b81526001600160a01b038316906370a0823190611cbf908690600401612238565b602060405180830381865afa158015611cda573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cfe91906130d6565b611b20565b50506001600160a01b03163190565b5f818310611d205781611b20565b5090919050565b805160208201516040516361d9ad3f60e11b81525f926001600160a01b0387169263c3b35a7e92611d5e9288929091600401612d6d565b5f604051808303815f87803b158015611d75575f5ffd5b505af1158015611d87573d5f5f3e3d5ffd5b505050505f611d9a858460400151611c83565b6040516361d3f0e760e11b81529091506001600160a01b0385169063c3a7e1ce90611dcb90889087906004016130ed565b5f604051808303815f87803b158015611de2575f5ffd5b505af1158015611df4573d5f5f3e3d5ffd5b5050505080611e07868560400151611c83565b6116ee9190612c06565b5f611e1a612013565b905090565b6001600160a01b0382165f908152606660205260409020548111611e5657604051633ab3447f60e11b815260040160405180910390fd5b6001600160a01b039091165f90815260666020526040902055565b600154600160a81b900460ff16611e9a5760405162461bcd60e51b81526004016104f690613077565b6004611ea6838261319a565b506005611eb3828261319a565b50505f600281905560035550565b5f604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b5f5f8251604103611f1e576020830151604084015160608501515f1a611f1287828585612086565b94509450505050611f25565b505f905060025b9250929050565b5f5f5f856001600160a01b0316631626ba7e60e01b8686604051602401611f54929190613254565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051611f92919061326c565b5f60405180830381855afa9150503d805f8114611fca576040519150601f19603f3d011682016040523d82523d5f602084013e611fcf565b606091505b5091509150818015611fe357506020815110155b8015611b7b57508051630b135d3f60e11b9061200890830160209081019084016130d6565b149695505050505050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f61203d612139565b612045612191565b60408051602081019490945283019190915260608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b5f806fa2a8918ca85bafe22016d0b997e4df60600160ff1b038311156120b157505f90506003612130565b604080515f8082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612102573d5f5f3e3d5ffd5b5050604051601f1901519150506001600160a01b03811661212a575f60019250925050612130565b91505f90505b94509492505050565b5f5f612143611951565b80519091501561215a578051602090910120919050565b60025480156121695792915050565b7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4709250505090565b5f5f61219b6119e1565b8051909150156121b2578051602090910120919050565b60035480156121695792915050565b80356001600160a01b03811681146121d7575f5ffd5b919050565b803580151581146121d7575f5ffd5b5f5f5f606084860312156121fd575f5ffd5b612206846121c1565b9250612214602085016121dc565b9150612222604085016121dc565b90509250925092565b6001600160a01b03169052565b6001600160a01b0391909116815260200190565b5f5f6040838503121561225d575f5ffd5b612266836121c1565b9150612274602084016121dc565b90509250929050565b634e487b7160e01b5f52604160045260245ffd5b60405161016081016001600160401b03811182821017156122b4576122b461227d565b60405290565b60405161010081016001600160401b03811182821017156122b4576122b461227d565b60405161018081016001600160401b03811182821017156122b4576122b461227d565b60405161012081016001600160401b03811182821017156122b4576122b461227d565b604051601f8201601f191681016001600160401b038111828210171561234b5761234b61227d565b604052919050565b803563ffffffff811681146121d7575f5ffd5b5f6101608284031215612377575f5ffd5b61237f612291565b905061238a826121c1565b815261239860208301612353565b602082015260408281013590820152606080830135908201526123bd608083016121c1565b608082015260a082810135908201526123d860c083016121c1565b60c08201526123e960e083016121c1565b60e082015261010082810135908201526124066101208301612353565b6101208201526101409182013591810191909152919050565b5f6001600160401b038211156124375761243761227d565b50601f01601f191660200190565b5f82601f830112612454575f5ffd5b81356124676124628261241f565b612323565b81815284602083860101111561247b575f5ffd5b816020850160208301375f918101602001919091529392505050565b5f61010082840312156124a8575f5ffd5b6124b06122ba565b90506124bb826121c1565b81526020828101359082015260408083013590820152606080830135908201526124e7608083016121c1565b60808201526124f860a083016121c1565b60a082015260c08201356001600160401b03811115612515575f5ffd5b61252184828501612445565b60c08301525060e09182013591810191909152919050565b5f5f5f5f6101c0858703121561254d575f5ffd5b6125578686612366565b93506101608501356001600160401b03811115612572575f5ffd5b61257e87828801612445565b9350506101808501356001600160401b0381111561259a575f5ffd5b6125a687828801612497565b9250506101a08501356001600160401b038111156125c2575f5ffd5b6125ce87828801612445565b91505092959194509250565b5f61018082840312156125eb575f5ffd5b6125f36122dd565b90506125fe826121c1565b815261260c60208301612353565b60208201526040828101359082015260608083013590820152612631608083016121c1565b608082015260a0828101359082015261264c60c083016121c1565b60c082015260e08281013590820152610100808301359082015261267361012083016121c1565b61012082015261268661014083016121c1565b6101408201526101608201356001600160401b038111156126a5575f5ffd5b6126b184828501612445565b6101608301525092915050565b5f602082840312156126ce575f5ffd5b81356001600160401b038111156126e3575f5ffd5b611949848285016125da565b5f5f60408385031215612700575f5ffd5b82356001600160401b03811115612715575f5ffd5b612721858286016125da565b92505060208301356001600160401b0381111561273c575f5ffd5b61274885828601612445565b9150509250929050565b5f60208284031215612762575f5ffd5b5035919050565b5f5b8381101561278357818101518382015260200161276b565b50505f910152565b5f81518084526127a2816020860160208601612769565b601f01601f19169290920160200192915050565b60ff60f81b8816815260e060208201525f6127d460e083018961278b565b82810360408401526127e6818961278b565b606084018890526001600160a01b038716608085015260a0840186905283810360c0850152845180825260208087019350909101905f5b8181101561283b57835183526020938401939092019160010161281d565b50909b9a5050505050505050505050565b5f6020828403121561285c575f5ffd5b81356001600160401b03811115612871575f5ffd5b61194984828501612497565b5f610120828403121561288e575f5ffd5b612896612300565b90506128a1826121c1565b81526128af60208301612353565b602082015260408281013590820152606080830135908201526128d4608083016121c1565b608082015260a0828101359082015260c080830135908201526128f960e083016121c1565b60e08201526101008201356001600160401b03811115612917575f5ffd5b61292384828501612445565b6101008301525092915050565b5f5f60408385031215612941575f5ffd5b82356001600160401b03811115612956575f5ffd5b6127218582860161287d565b5f60208284031215612972575f5ffd5b611b20826121c1565b5f610160828403121561298c575f5ffd5b611b208383612366565b5f602082840312156129a6575f5ffd5b81356001600160401b038111156129bb575f5ffd5b6119498482850161287d565b5f61010082840312156129d8575f5ffd5b6129e06122ba565b90506129eb826121c1565b81526129f960208301612353565b60208201526040828101359082015260608083013590820152612a1e608083016121c1565b6080820152612a2f60a083016121c1565b60a082015260c0828101359082015260e09182013591810191909152919050565b5f5f6101208385031215612a62575f5ffd5b612a6c84846129c7565b91506101008301356001600160401b0381111561273c575f5ffd5b5f6101008284031215612a98575f5ffd5b611b2083836129c7565b5f5f60408385031215612ab3575f5ffd5b612abc836121c1565b915061227460208401612353565b6001600160a01b03929092168252602082015260400190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f537761704875623a2063616c6c6572206973206e6f74206578656375746f7200604082015260600190565b5f61016082019050612b6282845161222b565b6020830151612b79602084018263ffffffff169052565b5060408301516040830152606083015160608301526080830151612ba0608084018261222b565b5060a083015160a083015260c0830151612bbd60c084018261222b565b5060e0830151612bd060e084018261222b565b50610100830151610100830152610120830151612bf661012084018263ffffffff169052565b5061014092830151919092015290565b81810381811115610a6757634e487b7160e01b5f52601160045260245ffd5b8d81526001600160a01b038d8116602083015263ffffffff8d166040830152606082018c9052608082018b905289811660a083015260c08201899052871660e0820152610100810186905261012081018590526101a08101612c8b61014083018661222b565b612c9961016083018561222b565b826101808301529e9d5050505050505050505050505050565b63ffffffff9590951685526001600160a01b0393841660208601529190921660408401526060830191909152608082015260a00190565b8c81526001600160a01b038c8116602083015263ffffffff8c166040830152606082018b9052608082018a905288811660a083015260c0820188905286811660e0830152851661010082015261012081018490526101808101612d5561014083018563ffffffff169052565b826101608301529d9c50505050505050505050505050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b0392909216825263ffffffff16602082015260400190565b5f8351612dc1818460208801612769565b835190830190612dd5818360208801612769565b01949350505050565b634e487b7160e01b5f52600160045260245ffd5b6080815263ffffffff8451166080820152602084015160a0820152604084015160c0820152606084015160e08201525f608085015160e0610100840152612e3d61016084018261278b565b905060a0860151607f1984830301610120850152612e5b828261278b565b91505060c0860151607f1984830301610140850152612e7a828261278b565b92505050612e95602083018580518252602090810151910152565b611949606083018461222b565b6040815260018060a01b0383511660408201526020830151606082015260018060a01b0360408401511660808201525f6060840151608060a0840152612eeb60c084018261278b565b91505060018060a01b03831660208301529392505050565b5f60208284031215612f13575f5ffd5b81516001600160401b03811115612f28575f5ffd5b8201601f81018413612f38575f5ffd5b8051612f466124628261241f565b818152856020838501011115612f5a575f5ffd5b6116ee826020830160208601612769565b5f60408284031215612f7b575f5ffd5b604080519081016001600160401b0381118282101715612f9d57612f9d61227d565b604052825181526020928301519281019290925250919050565b5f5f82840360c0811215612fc9575f5ffd5b6080811215612fd6575f5ffd5b50604051606081016001600160401b0381118282101715612ff957612ff961227d565b6040528351815260208401516001600160401b0381168114613019575f5ffd5b602082015261302b8560408601612f6b565b604082015291506122748460808501612f6b565b600181811c9082168061305357607f821691505b60208210810361307157634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b634e487b7160e01b5f52602160045260245ffd5b5f602082840312156130e6575f5ffd5b5051919050565b60018060a01b03831681526040602082015260018060a01b0382511660408201526020820151606082015260018060a01b03604083015116608082015260018060a01b0360608301511660a08201525f608083015160a060c08401526116ee60e084018261278b565b601f8211156105c957805f5260205f20601f840160051c8101602085101561317b5750805b601f840160051c820191505b818110156118d6575f8155600101613187565b81516001600160401b038111156131b3576131b361227d565b6131c7816131c1845461303f565b84613156565b6020601f8211600181146131f9575f83156131e25750848201515b5f19600385901b1c1916600184901b1784556118d6565b5f84815260208120601f198516915b828110156132285787850151825560209485019460019092019101613208565b508482101561324557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b828152604060208201525f611949604083018461278b565b5f825161327d818460208701612769565b919091019291505056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a26469706673582212202606bf28d44ccc348ccd7fe996f15acb07ffabb116d230ad1abbf7b6fbef885364736f6c634300081e0033";
1308
+
1309
+ type PendleCrossChainSwapHubConstructorParams =
1310
+ | [signer?: Signer]
1311
+ | ConstructorParameters<typeof ContractFactory>;
1312
+
1313
+ const isSuperArgs = (
1314
+ xs: PendleCrossChainSwapHubConstructorParams
1315
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
1316
+
1317
+ export class PendleCrossChainSwapHub__factory extends ContractFactory {
1318
+ constructor(...args: PendleCrossChainSwapHubConstructorParams) {
1319
+ if (isSuperArgs(args)) {
1320
+ super(...args);
1321
+ } else {
1322
+ super(_abi, _bytecode, args[0]);
1323
+ }
1324
+ this.contractName = "PendleCrossChainSwapHub";
1325
+ }
1326
+
1327
+ deploy(
1328
+ beaconProxyCodeContract_: string,
1329
+ depositBoxBeacon_: string,
1330
+ overrides?: Overrides & { from?: string | Promise<string> }
1331
+ ): Promise<PendleCrossChainSwapHub> {
1332
+ return super.deploy(
1333
+ beaconProxyCodeContract_,
1334
+ depositBoxBeacon_,
1335
+ overrides || {}
1336
+ ) as Promise<PendleCrossChainSwapHub>;
1337
+ }
1338
+ getDeployTransaction(
1339
+ beaconProxyCodeContract_: string,
1340
+ depositBoxBeacon_: string,
1341
+ overrides?: Overrides & { from?: string | Promise<string> }
1342
+ ): TransactionRequest {
1343
+ return super.getDeployTransaction(
1344
+ beaconProxyCodeContract_,
1345
+ depositBoxBeacon_,
1346
+ overrides || {}
1347
+ );
1348
+ }
1349
+ attach(address: string): PendleCrossChainSwapHub {
1350
+ return super.attach(address) as PendleCrossChainSwapHub;
1351
+ }
1352
+ connect(signer: Signer): PendleCrossChainSwapHub__factory {
1353
+ return super.connect(signer) as PendleCrossChainSwapHub__factory;
1354
+ }
1355
+ static readonly contractName: "PendleCrossChainSwapHub";
1356
+ public readonly contractName: "PendleCrossChainSwapHub";
1357
+ static readonly bytecode = _bytecode;
1358
+ static readonly abi = _abi;
1359
+ static createInterface(): PendleCrossChainSwapHubInterface {
1360
+ return new utils.Interface(_abi) as PendleCrossChainSwapHubInterface;
1361
+ }
1362
+ static connect(
1363
+ address: string,
1364
+ signerOrProvider: Signer | Provider
1365
+ ): PendleCrossChainSwapHub {
1366
+ return new Contract(
1367
+ address,
1368
+ _abi,
1369
+ signerOrProvider
1370
+ ) as PendleCrossChainSwapHub;
1371
+ }
1372
+ }