@pendle/core-v2 6.3.2-swaphubtest2 → 6.3.3

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 (326) 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/deprecated/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  52. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  53. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  54. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  55. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  56. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  132. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  133. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  134. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  135. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  136. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  137. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  138. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  139. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  140. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  141. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  142. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  143. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  144. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  145. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  146. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  147. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  148. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  149. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  150. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +4 -0
  152. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.json +102 -0
  153. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  154. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  155. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  156. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  157. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  158. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +4 -0
  159. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.json +102 -0
  160. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  161. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  179. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  184. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  185. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  186. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  187. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  188. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  189. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  190. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  191. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  192. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  193. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  194. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  195. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  196. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  197. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  198. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  199. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  200. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  201. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  202. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  203. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  204. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  205. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  206. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  207. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  208. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  209. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  210. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  211. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  212. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  213. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  214. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  215. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  216. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  217. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  218. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  219. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  220. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  221. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  222. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  223. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  224. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  225. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  226. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  227. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  228. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  229. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  230. package/contracts/offchain-helpers/PendleAPIFeeDepositor.sol +33 -0
  231. package/contracts/offchain-helpers/PendleMerkleDepositor.sol +64 -0
  232. package/deployments/1-core.json +2 -1
  233. package/deployments/10-core.json +2 -1
  234. package/deployments/146-core.json +2 -1
  235. package/deployments/42161-core.json +2 -1
  236. package/deployments/42161-offchain-helper.json +2 -1
  237. package/deployments/5000-core.json +2 -1
  238. package/deployments/56-core.json +2 -1
  239. package/deployments/80094-core.json +2 -1
  240. package/deployments/8453-core.json +2 -1
  241. package/deployments/9745-core.json +2 -1
  242. package/deployments/999-core.json +2 -1
  243. package/package.json +2 -2
  244. package/typechain-types/ActionCrossChain.ts +161 -0
  245. package/typechain-types/ActionDelegateBase.ts +57 -0
  246. package/typechain-types/BasePendleBridgedPrincipalToken.ts +1689 -0
  247. package/typechain-types/EIP712.ts +135 -0
  248. package/typechain-types/ERC20Permit.ts +586 -0
  249. package/typechain-types/IERC5267.ts +135 -0
  250. package/typechain-types/IPActionCrossChain.ts +161 -0
  251. package/typechain-types/IPMarketFactoryV3.ts +321 -0
  252. package/typechain-types/IPMarketV3.ts +1068 -0
  253. package/typechain-types/LimitBackendHelper.ts +287 -0
  254. package/typechain-types/OverfillMathLib.ts +81 -0
  255. package/typechain-types/PendleAPIFeeDepositor.ts +181 -0
  256. package/typechain-types/PendleBridgedPrincipalToken_18Decimals.ts +1689 -0
  257. package/typechain-types/PendleBridgedPrincipalToken_6Decimals.ts +1689 -0
  258. package/typechain-types/PendleBridgedPrincipalToken_8Decimals.ts +1689 -0
  259. package/typechain-types/PendleERC20Permit.ts +508 -0
  260. package/typechain-types/PendleERC20PermitUpg.ts +517 -0
  261. package/typechain-types/PendleERC20Upg.ts +348 -0
  262. package/typechain-types/PendleMarketFactoryV3.ts +719 -0
  263. package/typechain-types/PendleMarketV3.ts +1195 -0
  264. package/typechain-types/PendleMerkleDepositor.ts +171 -0
  265. package/typechain-types/PendleYieldContractFactory.ts +801 -0
  266. package/typechain-types/ShortStrings.ts +57 -0
  267. package/typechain-types/factories/ActionCrossChain__factory.ts +152 -0
  268. package/typechain-types/factories/ActionDelegateBase__factory.ts +80 -0
  269. package/typechain-types/factories/BasePendleBridgedPrincipalToken__factory.ts +1548 -0
  270. package/typechain-types/factories/EIP712__factory.ts +85 -0
  271. package/typechain-types/factories/ERC20Permit__factory.ts +433 -0
  272. package/typechain-types/factories/IERC5267__factory.ts +72 -0
  273. package/typechain-types/factories/IPActionCrossChain__factory.ts +114 -0
  274. package/typechain-types/factories/IPMarketFactoryV3__factory.ts +217 -0
  275. package/typechain-types/factories/IPMarketV3__factory.ts +845 -0
  276. package/typechain-types/factories/LimitBackendHelper__factory.ts +232 -0
  277. package/typechain-types/factories/OverfillMathLib__factory.ts +77 -0
  278. package/typechain-types/factories/PendleAPIFeeDepositor__factory.ts +164 -0
  279. package/typechain-types/factories/PendleBridgedPrincipalToken_18Decimals__factory.ts +1652 -0
  280. package/typechain-types/factories/PendleBridgedPrincipalToken_6Decimals__factory.ts +1650 -0
  281. package/typechain-types/factories/PendleBridgedPrincipalToken_8Decimals__factory.ts +1650 -0
  282. package/typechain-types/factories/PendleERC20PermitUpg__factory.ts +389 -0
  283. package/typechain-types/factories/PendleERC20Permit__factory.ts +470 -0
  284. package/typechain-types/factories/PendleERC20Upg__factory.ts +261 -0
  285. package/typechain-types/factories/PendleMarketFactoryV3__factory.ts +714 -0
  286. package/typechain-types/factories/PendleMarketV3__factory.ts +1211 -0
  287. package/typechain-types/factories/PendleMerkleDepositor__factory.ts +164 -0
  288. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +674 -0
  289. package/typechain-types/factories/ShortStrings__factory.ts +77 -0
  290. package/typechain-types/hardhat.d.ts +54 -72
  291. package/typechain-types/index.ts +12 -14
  292. package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.dbg.json +0 -4
  293. package/build/artifacts/contracts/cross-chain/swap-hub/DepositBox.sol/DepositBox.json +0 -201
  294. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +0 -4
  295. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +0 -1519
  296. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +0 -4
  297. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.json +0 -1490
  298. package/build/artifacts/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol/IPSwapExecutor.dbg.json +0 -4
  299. package/build/artifacts/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol/IPSwapExecutor.json +0 -56
  300. package/build/artifacts/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol/SwapExecutor.dbg.json +0 -4
  301. package/build/artifacts/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol/SwapExecutor.json +0 -60
  302. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +0 -4
  303. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.json +0 -1353
  304. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +0 -4
  305. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.json +0 -150
  306. package/contracts/cross-chain/swap-hub/DepositBox.sol +0 -72
  307. package/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol +0 -206
  308. package/contracts/cross-chain/swap-hub/SwapHubBase.sol +0 -273
  309. package/contracts/cross-chain/swap-hub/swap/IPSwapExecutor.sol +0 -14
  310. package/contracts/cross-chain/swap-hub/swap/SwapExecutor.sol +0 -33
  311. package/contracts/interfaces/IPCrossChainSwapHub.sol +0 -168
  312. package/contracts/interfaces/IPDepositBox.sol +0 -25
  313. package/typechain-types/DepositBox.ts +0 -304
  314. package/typechain-types/IPCrossChainSwapHub.ts +0 -1043
  315. package/typechain-types/IPDepositBox.ts +0 -257
  316. package/typechain-types/IPSwapExecutor.ts +0 -129
  317. package/typechain-types/PendleCrossChainSwapHub.ts +0 -1267
  318. package/typechain-types/SwapExecutor.ts +0 -129
  319. package/typechain-types/SwapHubBase.ts +0 -1242
  320. package/typechain-types/factories/DepositBox__factory.ts +0 -259
  321. package/typechain-types/factories/IPCrossChainSwapHub__factory.ts +0 -1368
  322. package/typechain-types/factories/IPDepositBox__factory.ts +0 -162
  323. package/typechain-types/factories/IPSwapExecutor__factory.ts +0 -71
  324. package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +0 -1588
  325. package/typechain-types/factories/SwapExecutor__factory.ts +0 -110
  326. package/typechain-types/factories/SwapHubBase__factory.ts +0 -1502
@@ -1,1588 +0,0 @@
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: "ActionExecuted",
31
- type: "error",
32
- },
33
- {
34
- inputs: [],
35
- name: "InsufficientTokenReceived",
36
- type: "error",
37
- },
38
- {
39
- inputs: [],
40
- name: "InvalidNonce",
41
- type: "error",
42
- },
43
- {
44
- inputs: [],
45
- name: "InvalidSignature",
46
- type: "error",
47
- },
48
- {
49
- inputs: [],
50
- name: "MessageExpired",
51
- type: "error",
52
- },
53
- {
54
- anonymous: false,
55
- inputs: [
56
- {
57
- indexed: true,
58
- internalType: "address",
59
- name: "owner",
60
- type: "address",
61
- },
62
- {
63
- indexed: false,
64
- internalType: "uint32",
65
- name: "boxId",
66
- type: "uint32",
67
- },
68
- {
69
- indexed: false,
70
- internalType: "bytes32",
71
- name: "actionHash",
72
- type: "bytes32",
73
- },
74
- {
75
- indexed: false,
76
- internalType: "address",
77
- name: "bridgeExtRouter",
78
- type: "address",
79
- },
80
- {
81
- indexed: false,
82
- internalType: "address",
83
- name: "token",
84
- type: "address",
85
- },
86
- {
87
- indexed: false,
88
- internalType: "uint256",
89
- name: "amountBridge",
90
- type: "uint256",
91
- },
92
- {
93
- indexed: false,
94
- internalType: "uint256",
95
- name: "amountFee",
96
- type: "uint256",
97
- },
98
- ],
99
- name: "BridgeToken",
100
- type: "event",
101
- },
102
- {
103
- anonymous: false,
104
- inputs: [
105
- {
106
- indexed: true,
107
- internalType: "address",
108
- name: "owner",
109
- type: "address",
110
- },
111
- {
112
- indexed: false,
113
- internalType: "uint32",
114
- name: "boxId",
115
- type: "uint32",
116
- },
117
- {
118
- indexed: false,
119
- internalType: "bytes32",
120
- name: "actionHash",
121
- type: "bytes32",
122
- },
123
- {
124
- indexed: false,
125
- internalType: "address",
126
- name: "tokenSpent",
127
- type: "address",
128
- },
129
- {
130
- indexed: false,
131
- internalType: "uint256",
132
- name: "amountSpent",
133
- type: "uint256",
134
- },
135
- {
136
- indexed: false,
137
- internalType: "uint256",
138
- name: "amountFee",
139
- type: "uint256",
140
- },
141
- {
142
- indexed: false,
143
- internalType: "address",
144
- name: "ptAdapter",
145
- type: "address",
146
- },
147
- {
148
- indexed: false,
149
- internalType: "address",
150
- name: "pt",
151
- type: "address",
152
- },
153
- {
154
- indexed: false,
155
- internalType: "uint256",
156
- name: "netPtReceived",
157
- type: "uint256",
158
- },
159
- ],
160
- name: "BuyCrossChainPt",
161
- type: "event",
162
- },
163
- {
164
- anonymous: false,
165
- inputs: [
166
- {
167
- indexed: true,
168
- internalType: "address",
169
- name: "owner",
170
- type: "address",
171
- },
172
- {
173
- indexed: false,
174
- internalType: "uint32",
175
- name: "boxId",
176
- type: "uint32",
177
- },
178
- {
179
- indexed: false,
180
- internalType: "bytes32",
181
- name: "actionHash",
182
- type: "bytes32",
183
- },
184
- {
185
- indexed: false,
186
- internalType: "address",
187
- name: "token",
188
- type: "address",
189
- },
190
- {
191
- indexed: false,
192
- internalType: "uint256",
193
- name: "amount",
194
- type: "uint256",
195
- },
196
- ],
197
- name: "ClaimFeeForFailedAction",
198
- type: "event",
199
- },
200
- {
201
- anonymous: false,
202
- inputs: [],
203
- name: "EIP712DomainChanged",
204
- type: "event",
205
- },
206
- {
207
- anonymous: false,
208
- inputs: [
209
- {
210
- indexed: false,
211
- internalType: "uint8",
212
- name: "version",
213
- type: "uint8",
214
- },
215
- ],
216
- name: "Initialized",
217
- type: "event",
218
- },
219
- {
220
- anonymous: false,
221
- inputs: [
222
- {
223
- indexed: true,
224
- internalType: "address",
225
- name: "previousOwner",
226
- type: "address",
227
- },
228
- {
229
- indexed: true,
230
- internalType: "address",
231
- name: "newOwner",
232
- type: "address",
233
- },
234
- ],
235
- name: "OwnershipTransferred",
236
- type: "event",
237
- },
238
- {
239
- anonymous: false,
240
- inputs: [
241
- {
242
- indexed: true,
243
- internalType: "address",
244
- name: "executor",
245
- type: "address",
246
- },
247
- {
248
- indexed: false,
249
- internalType: "bool",
250
- name: "isExecutor",
251
- type: "bool",
252
- },
253
- ],
254
- name: "SetExecutor",
255
- type: "event",
256
- },
257
- {
258
- anonymous: false,
259
- inputs: [
260
- {
261
- indexed: true,
262
- internalType: "address",
263
- name: "owner",
264
- type: "address",
265
- },
266
- {
267
- indexed: false,
268
- internalType: "uint32",
269
- name: "boxId",
270
- type: "uint32",
271
- },
272
- {
273
- indexed: false,
274
- internalType: "bytes32",
275
- name: "actionHash",
276
- type: "bytes32",
277
- },
278
- {
279
- indexed: false,
280
- internalType: "address",
281
- name: "tokenSpent",
282
- type: "address",
283
- },
284
- {
285
- indexed: false,
286
- internalType: "uint256",
287
- name: "amountSpent",
288
- type: "uint256",
289
- },
290
- {
291
- indexed: false,
292
- internalType: "uint256",
293
- name: "amountFee",
294
- type: "uint256",
295
- },
296
- {
297
- indexed: false,
298
- internalType: "address",
299
- name: "tokenReceived",
300
- type: "address",
301
- },
302
- {
303
- indexed: false,
304
- internalType: "uint256",
305
- name: "netTokenReceived",
306
- type: "uint256",
307
- },
308
- ],
309
- name: "SwapToken",
310
- type: "event",
311
- },
312
- {
313
- anonymous: false,
314
- inputs: [
315
- {
316
- indexed: true,
317
- internalType: "address",
318
- name: "owner",
319
- type: "address",
320
- },
321
- {
322
- indexed: false,
323
- internalType: "uint32",
324
- name: "boxId",
325
- type: "uint32",
326
- },
327
- {
328
- indexed: false,
329
- internalType: "bytes32",
330
- name: "actionHash",
331
- type: "bytes32",
332
- },
333
- {
334
- indexed: false,
335
- internalType: "address",
336
- name: "receiver",
337
- type: "address",
338
- },
339
- {
340
- indexed: false,
341
- internalType: "address",
342
- name: "token",
343
- type: "address",
344
- },
345
- {
346
- indexed: false,
347
- internalType: "uint256",
348
- name: "amountWithdraw",
349
- type: "uint256",
350
- },
351
- {
352
- indexed: false,
353
- internalType: "uint256",
354
- name: "amountFee",
355
- type: "uint256",
356
- },
357
- ],
358
- name: "WithdrawToken",
359
- type: "event",
360
- },
361
- {
362
- inputs: [],
363
- name: "BEACON_PROXY_CODE_CONTRACT",
364
- outputs: [
365
- {
366
- internalType: "address",
367
- name: "",
368
- type: "address",
369
- },
370
- ],
371
- stateMutability: "view",
372
- type: "function",
373
- },
374
- {
375
- inputs: [],
376
- name: "DEPOSIT_BOX_BEACON",
377
- outputs: [
378
- {
379
- internalType: "address",
380
- name: "",
381
- type: "address",
382
- },
383
- ],
384
- stateMutability: "view",
385
- type: "function",
386
- },
387
- {
388
- inputs: [],
389
- name: "DEPOSIT_BOX_CODE_HASH",
390
- outputs: [
391
- {
392
- internalType: "bytes32",
393
- name: "",
394
- type: "bytes32",
395
- },
396
- ],
397
- stateMutability: "view",
398
- type: "function",
399
- },
400
- {
401
- inputs: [
402
- {
403
- internalType: "bytes32",
404
- name: "actionStatus",
405
- type: "bytes32",
406
- },
407
- ],
408
- name: "actionStatus",
409
- outputs: [
410
- {
411
- internalType: "enum IPCrossChainSwapHub.ActionStatus",
412
- name: "",
413
- type: "uint8",
414
- },
415
- ],
416
- stateMutability: "view",
417
- type: "function",
418
- },
419
- {
420
- inputs: [
421
- {
422
- components: [
423
- {
424
- internalType: "address",
425
- name: "owner",
426
- type: "address",
427
- },
428
- {
429
- internalType: "uint32",
430
- name: "boxId",
431
- type: "uint32",
432
- },
433
- {
434
- internalType: "uint256",
435
- name: "expiry",
436
- type: "uint256",
437
- },
438
- {
439
- internalType: "uint256",
440
- name: "nonce",
441
- type: "uint256",
442
- },
443
- {
444
- internalType: "address",
445
- name: "token",
446
- type: "address",
447
- },
448
- {
449
- internalType: "uint256",
450
- name: "amountBridge",
451
- type: "uint256",
452
- },
453
- {
454
- internalType: "uint256",
455
- name: "amountFee",
456
- type: "uint256",
457
- },
458
- {
459
- internalType: "address",
460
- name: "bridgeExtRouter",
461
- type: "address",
462
- },
463
- {
464
- internalType: "bytes",
465
- name: "bridgeCalldata",
466
- type: "bytes",
467
- },
468
- ],
469
- internalType: "struct IPCrossChainSwapHub.BridgeTokenMessage",
470
- name: "ms",
471
- type: "tuple",
472
- },
473
- {
474
- internalType: "bytes",
475
- name: "sig",
476
- type: "bytes",
477
- },
478
- ],
479
- name: "bridgeToken",
480
- outputs: [],
481
- stateMutability: "payable",
482
- type: "function",
483
- },
484
- {
485
- inputs: [
486
- {
487
- components: [
488
- {
489
- internalType: "address",
490
- name: "owner",
491
- type: "address",
492
- },
493
- {
494
- internalType: "uint32",
495
- name: "boxId",
496
- type: "uint32",
497
- },
498
- {
499
- internalType: "uint256",
500
- name: "expiry",
501
- type: "uint256",
502
- },
503
- {
504
- internalType: "uint256",
505
- name: "nonce",
506
- type: "uint256",
507
- },
508
- {
509
- internalType: "address",
510
- name: "tokenSpent",
511
- type: "address",
512
- },
513
- {
514
- internalType: "uint256",
515
- name: "amountSpent",
516
- type: "uint256",
517
- },
518
- {
519
- internalType: "uint256",
520
- name: "amountFee",
521
- type: "uint256",
522
- },
523
- {
524
- internalType: "address",
525
- name: "ptAdapter",
526
- type: "address",
527
- },
528
- {
529
- internalType: "uint256",
530
- name: "minPtReceived",
531
- type: "uint256",
532
- },
533
- {
534
- internalType: "uint32",
535
- name: "dstEid",
536
- type: "uint32",
537
- },
538
- {
539
- internalType: "bytes32",
540
- name: "receiver",
541
- type: "bytes32",
542
- },
543
- {
544
- internalType: "address",
545
- name: "swapExecutor",
546
- type: "address",
547
- },
548
- {
549
- internalType: "address",
550
- name: "swapExtRouter",
551
- type: "address",
552
- },
553
- {
554
- internalType: "bytes",
555
- name: "swapCalldata",
556
- type: "bytes",
557
- },
558
- ],
559
- internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
560
- name: "ms",
561
- type: "tuple",
562
- },
563
- {
564
- internalType: "bytes",
565
- name: "sig",
566
- type: "bytes",
567
- },
568
- ],
569
- name: "buyCrossChainPt",
570
- outputs: [],
571
- stateMutability: "payable",
572
- type: "function",
573
- },
574
- {
575
- inputs: [
576
- {
577
- components: [
578
- {
579
- internalType: "address",
580
- name: "owner",
581
- type: "address",
582
- },
583
- {
584
- internalType: "uint32",
585
- name: "boxId",
586
- type: "uint32",
587
- },
588
- {
589
- internalType: "uint256",
590
- name: "expiry",
591
- type: "uint256",
592
- },
593
- {
594
- internalType: "uint256",
595
- name: "nonce",
596
- type: "uint256",
597
- },
598
- {
599
- internalType: "address",
600
- name: "receiver",
601
- type: "address",
602
- },
603
- {
604
- internalType: "address",
605
- name: "token",
606
- type: "address",
607
- },
608
- {
609
- internalType: "uint256",
610
- name: "amountWithdraw",
611
- type: "uint256",
612
- },
613
- {
614
- internalType: "uint256",
615
- name: "amountFee",
616
- type: "uint256",
617
- },
618
- ],
619
- internalType: "struct IPCrossChainSwapHub.WithdrawTokenMessage",
620
- name: "ms",
621
- type: "tuple",
622
- },
623
- {
624
- internalType: "bytes",
625
- name: "sig",
626
- type: "bytes",
627
- },
628
- ],
629
- name: "claimFee",
630
- outputs: [],
631
- stateMutability: "nonpayable",
632
- type: "function",
633
- },
634
- {
635
- inputs: [
636
- {
637
- components: [
638
- {
639
- internalType: "address",
640
- name: "owner",
641
- type: "address",
642
- },
643
- {
644
- internalType: "uint32",
645
- name: "boxId",
646
- type: "uint32",
647
- },
648
- {
649
- internalType: "uint256",
650
- name: "expiry",
651
- type: "uint256",
652
- },
653
- {
654
- internalType: "uint256",
655
- name: "nonce",
656
- type: "uint256",
657
- },
658
- {
659
- internalType: "address",
660
- name: "token",
661
- type: "address",
662
- },
663
- {
664
- internalType: "uint256",
665
- name: "amountBridge",
666
- type: "uint256",
667
- },
668
- {
669
- internalType: "uint256",
670
- name: "amountFee",
671
- type: "uint256",
672
- },
673
- {
674
- internalType: "address",
675
- name: "bridgeExtRouter",
676
- type: "address",
677
- },
678
- {
679
- internalType: "bytes",
680
- name: "bridgeCalldata",
681
- type: "bytes",
682
- },
683
- ],
684
- internalType: "struct IPCrossChainSwapHub.BridgeTokenMessage",
685
- name: "ms",
686
- type: "tuple",
687
- },
688
- {
689
- internalType: "bytes",
690
- name: "sig",
691
- type: "bytes",
692
- },
693
- ],
694
- name: "claimFee",
695
- outputs: [],
696
- stateMutability: "nonpayable",
697
- type: "function",
698
- },
699
- {
700
- inputs: [
701
- {
702
- components: [
703
- {
704
- internalType: "address",
705
- name: "owner",
706
- type: "address",
707
- },
708
- {
709
- internalType: "uint32",
710
- name: "boxId",
711
- type: "uint32",
712
- },
713
- {
714
- internalType: "uint256",
715
- name: "expiry",
716
- type: "uint256",
717
- },
718
- {
719
- internalType: "uint256",
720
- name: "nonce",
721
- type: "uint256",
722
- },
723
- {
724
- internalType: "address",
725
- name: "tokenSpent",
726
- type: "address",
727
- },
728
- {
729
- internalType: "uint256",
730
- name: "amountSpent",
731
- type: "uint256",
732
- },
733
- {
734
- internalType: "uint256",
735
- name: "amountFee",
736
- type: "uint256",
737
- },
738
- {
739
- internalType: "address",
740
- name: "ptAdapter",
741
- type: "address",
742
- },
743
- {
744
- internalType: "uint256",
745
- name: "minPtReceived",
746
- type: "uint256",
747
- },
748
- {
749
- internalType: "uint32",
750
- name: "dstEid",
751
- type: "uint32",
752
- },
753
- {
754
- internalType: "bytes32",
755
- name: "receiver",
756
- type: "bytes32",
757
- },
758
- {
759
- internalType: "address",
760
- name: "swapExecutor",
761
- type: "address",
762
- },
763
- {
764
- internalType: "address",
765
- name: "swapExtRouter",
766
- type: "address",
767
- },
768
- {
769
- internalType: "bytes",
770
- name: "swapCalldata",
771
- type: "bytes",
772
- },
773
- ],
774
- internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
775
- name: "ms",
776
- type: "tuple",
777
- },
778
- {
779
- internalType: "bytes",
780
- name: "sig",
781
- type: "bytes",
782
- },
783
- ],
784
- name: "claimFee",
785
- outputs: [],
786
- stateMutability: "nonpayable",
787
- type: "function",
788
- },
789
- {
790
- inputs: [
791
- {
792
- components: [
793
- {
794
- internalType: "address",
795
- name: "owner",
796
- type: "address",
797
- },
798
- {
799
- internalType: "uint32",
800
- name: "boxId",
801
- type: "uint32",
802
- },
803
- {
804
- internalType: "uint256",
805
- name: "expiry",
806
- type: "uint256",
807
- },
808
- {
809
- internalType: "uint256",
810
- name: "nonce",
811
- type: "uint256",
812
- },
813
- {
814
- internalType: "address",
815
- name: "tokenSpent",
816
- type: "address",
817
- },
818
- {
819
- internalType: "uint256",
820
- name: "amountSpent",
821
- type: "uint256",
822
- },
823
- {
824
- internalType: "uint256",
825
- name: "amountFee",
826
- type: "uint256",
827
- },
828
- {
829
- internalType: "address",
830
- name: "tokenReceived",
831
- type: "address",
832
- },
833
- {
834
- internalType: "uint256",
835
- name: "minReceived",
836
- type: "uint256",
837
- },
838
- {
839
- internalType: "address",
840
- name: "receiver",
841
- type: "address",
842
- },
843
- {
844
- internalType: "address",
845
- name: "swapExecutor",
846
- type: "address",
847
- },
848
- {
849
- internalType: "address",
850
- name: "swapExtRouter",
851
- type: "address",
852
- },
853
- {
854
- internalType: "bytes",
855
- name: "swapCalldata",
856
- type: "bytes",
857
- },
858
- ],
859
- internalType: "struct IPCrossChainSwapHub.SwapTokenMessage",
860
- name: "ms",
861
- type: "tuple",
862
- },
863
- {
864
- internalType: "bytes",
865
- name: "sig",
866
- type: "bytes",
867
- },
868
- ],
869
- name: "claimFee",
870
- outputs: [],
871
- stateMutability: "nonpayable",
872
- type: "function",
873
- },
874
- {
875
- inputs: [],
876
- name: "claimOwnership",
877
- outputs: [],
878
- stateMutability: "nonpayable",
879
- type: "function",
880
- },
881
- {
882
- inputs: [
883
- {
884
- internalType: "address",
885
- name: "owner",
886
- type: "address",
887
- },
888
- {
889
- internalType: "uint32",
890
- name: "boxId",
891
- type: "uint32",
892
- },
893
- ],
894
- name: "computeDepositBox",
895
- outputs: [
896
- {
897
- internalType: "address",
898
- name: "box",
899
- type: "address",
900
- },
901
- {
902
- internalType: "bytes32",
903
- name: "salt",
904
- type: "bytes32",
905
- },
906
- ],
907
- stateMutability: "view",
908
- type: "function",
909
- },
910
- {
911
- inputs: [],
912
- name: "eip712Domain",
913
- outputs: [
914
- {
915
- internalType: "bytes1",
916
- name: "fields",
917
- type: "bytes1",
918
- },
919
- {
920
- internalType: "string",
921
- name: "name",
922
- type: "string",
923
- },
924
- {
925
- internalType: "string",
926
- name: "version",
927
- type: "string",
928
- },
929
- {
930
- internalType: "uint256",
931
- name: "chainId",
932
- type: "uint256",
933
- },
934
- {
935
- internalType: "address",
936
- name: "verifyingContract",
937
- type: "address",
938
- },
939
- {
940
- internalType: "bytes32",
941
- name: "salt",
942
- type: "bytes32",
943
- },
944
- {
945
- internalType: "uint256[]",
946
- name: "extensions",
947
- type: "uint256[]",
948
- },
949
- ],
950
- stateMutability: "view",
951
- type: "function",
952
- },
953
- {
954
- inputs: [
955
- {
956
- components: [
957
- {
958
- internalType: "address",
959
- name: "owner",
960
- type: "address",
961
- },
962
- {
963
- internalType: "uint32",
964
- name: "boxId",
965
- type: "uint32",
966
- },
967
- {
968
- internalType: "uint256",
969
- name: "expiry",
970
- type: "uint256",
971
- },
972
- {
973
- internalType: "uint256",
974
- name: "nonce",
975
- type: "uint256",
976
- },
977
- {
978
- internalType: "address",
979
- name: "tokenSpent",
980
- type: "address",
981
- },
982
- {
983
- internalType: "uint256",
984
- name: "amountSpent",
985
- type: "uint256",
986
- },
987
- {
988
- internalType: "uint256",
989
- name: "amountFee",
990
- type: "uint256",
991
- },
992
- {
993
- internalType: "address",
994
- name: "tokenReceived",
995
- type: "address",
996
- },
997
- {
998
- internalType: "uint256",
999
- name: "minReceived",
1000
- type: "uint256",
1001
- },
1002
- {
1003
- internalType: "address",
1004
- name: "receiver",
1005
- type: "address",
1006
- },
1007
- {
1008
- internalType: "address",
1009
- name: "swapExecutor",
1010
- type: "address",
1011
- },
1012
- {
1013
- internalType: "address",
1014
- name: "swapExtRouter",
1015
- type: "address",
1016
- },
1017
- {
1018
- internalType: "bytes",
1019
- name: "swapCalldata",
1020
- type: "bytes",
1021
- },
1022
- ],
1023
- internalType: "struct IPCrossChainSwapHub.SwapTokenMessage",
1024
- name: "message",
1025
- type: "tuple",
1026
- },
1027
- ],
1028
- name: "hashTypedData",
1029
- outputs: [
1030
- {
1031
- internalType: "bytes32",
1032
- name: "",
1033
- type: "bytes32",
1034
- },
1035
- ],
1036
- stateMutability: "view",
1037
- type: "function",
1038
- },
1039
- {
1040
- inputs: [
1041
- {
1042
- components: [
1043
- {
1044
- internalType: "address",
1045
- name: "owner",
1046
- type: "address",
1047
- },
1048
- {
1049
- internalType: "uint32",
1050
- name: "boxId",
1051
- type: "uint32",
1052
- },
1053
- {
1054
- internalType: "uint256",
1055
- name: "expiry",
1056
- type: "uint256",
1057
- },
1058
- {
1059
- internalType: "uint256",
1060
- name: "nonce",
1061
- type: "uint256",
1062
- },
1063
- {
1064
- internalType: "address",
1065
- name: "tokenSpent",
1066
- type: "address",
1067
- },
1068
- {
1069
- internalType: "uint256",
1070
- name: "amountSpent",
1071
- type: "uint256",
1072
- },
1073
- {
1074
- internalType: "uint256",
1075
- name: "amountFee",
1076
- type: "uint256",
1077
- },
1078
- {
1079
- internalType: "address",
1080
- name: "ptAdapter",
1081
- type: "address",
1082
- },
1083
- {
1084
- internalType: "uint256",
1085
- name: "minPtReceived",
1086
- type: "uint256",
1087
- },
1088
- {
1089
- internalType: "uint32",
1090
- name: "dstEid",
1091
- type: "uint32",
1092
- },
1093
- {
1094
- internalType: "bytes32",
1095
- name: "receiver",
1096
- type: "bytes32",
1097
- },
1098
- {
1099
- internalType: "address",
1100
- name: "swapExecutor",
1101
- type: "address",
1102
- },
1103
- {
1104
- internalType: "address",
1105
- name: "swapExtRouter",
1106
- type: "address",
1107
- },
1108
- {
1109
- internalType: "bytes",
1110
- name: "swapCalldata",
1111
- type: "bytes",
1112
- },
1113
- ],
1114
- internalType: "struct IPCrossChainSwapHub.BuyCrossChainPtMessage",
1115
- name: "message",
1116
- type: "tuple",
1117
- },
1118
- ],
1119
- name: "hashTypedData",
1120
- outputs: [
1121
- {
1122
- internalType: "bytes32",
1123
- name: "",
1124
- type: "bytes32",
1125
- },
1126
- ],
1127
- stateMutability: "view",
1128
- type: "function",
1129
- },
1130
- {
1131
- inputs: [
1132
- {
1133
- components: [
1134
- {
1135
- internalType: "address",
1136
- name: "owner",
1137
- type: "address",
1138
- },
1139
- {
1140
- internalType: "uint32",
1141
- name: "boxId",
1142
- type: "uint32",
1143
- },
1144
- {
1145
- internalType: "uint256",
1146
- name: "expiry",
1147
- type: "uint256",
1148
- },
1149
- {
1150
- internalType: "uint256",
1151
- name: "nonce",
1152
- type: "uint256",
1153
- },
1154
- {
1155
- internalType: "address",
1156
- name: "token",
1157
- type: "address",
1158
- },
1159
- {
1160
- internalType: "uint256",
1161
- name: "amountBridge",
1162
- type: "uint256",
1163
- },
1164
- {
1165
- internalType: "uint256",
1166
- name: "amountFee",
1167
- type: "uint256",
1168
- },
1169
- {
1170
- internalType: "address",
1171
- name: "bridgeExtRouter",
1172
- type: "address",
1173
- },
1174
- {
1175
- internalType: "bytes",
1176
- name: "bridgeCalldata",
1177
- type: "bytes",
1178
- },
1179
- ],
1180
- internalType: "struct IPCrossChainSwapHub.BridgeTokenMessage",
1181
- name: "message",
1182
- type: "tuple",
1183
- },
1184
- ],
1185
- name: "hashTypedData",
1186
- outputs: [
1187
- {
1188
- internalType: "bytes32",
1189
- name: "",
1190
- type: "bytes32",
1191
- },
1192
- ],
1193
- stateMutability: "view",
1194
- type: "function",
1195
- },
1196
- {
1197
- inputs: [
1198
- {
1199
- components: [
1200
- {
1201
- internalType: "address",
1202
- name: "owner",
1203
- type: "address",
1204
- },
1205
- {
1206
- internalType: "uint32",
1207
- name: "boxId",
1208
- type: "uint32",
1209
- },
1210
- {
1211
- internalType: "uint256",
1212
- name: "expiry",
1213
- type: "uint256",
1214
- },
1215
- {
1216
- internalType: "uint256",
1217
- name: "nonce",
1218
- type: "uint256",
1219
- },
1220
- {
1221
- internalType: "address",
1222
- name: "receiver",
1223
- type: "address",
1224
- },
1225
- {
1226
- internalType: "address",
1227
- name: "token",
1228
- type: "address",
1229
- },
1230
- {
1231
- internalType: "uint256",
1232
- name: "amountWithdraw",
1233
- type: "uint256",
1234
- },
1235
- {
1236
- internalType: "uint256",
1237
- name: "amountFee",
1238
- type: "uint256",
1239
- },
1240
- ],
1241
- internalType: "struct IPCrossChainSwapHub.WithdrawTokenMessage",
1242
- name: "message",
1243
- type: "tuple",
1244
- },
1245
- ],
1246
- name: "hashTypedData",
1247
- outputs: [
1248
- {
1249
- internalType: "bytes32",
1250
- name: "",
1251
- type: "bytes32",
1252
- },
1253
- ],
1254
- stateMutability: "view",
1255
- type: "function",
1256
- },
1257
- {
1258
- inputs: [
1259
- {
1260
- internalType: "address",
1261
- name: "_owner",
1262
- type: "address",
1263
- },
1264
- ],
1265
- name: "initialize",
1266
- outputs: [],
1267
- stateMutability: "nonpayable",
1268
- type: "function",
1269
- },
1270
- {
1271
- inputs: [
1272
- {
1273
- internalType: "address",
1274
- name: "executor",
1275
- type: "address",
1276
- },
1277
- ],
1278
- name: "isExecutor",
1279
- outputs: [
1280
- {
1281
- internalType: "bool",
1282
- name: "",
1283
- type: "bool",
1284
- },
1285
- ],
1286
- stateMutability: "view",
1287
- type: "function",
1288
- },
1289
- {
1290
- inputs: [],
1291
- name: "owner",
1292
- outputs: [
1293
- {
1294
- internalType: "address",
1295
- name: "",
1296
- type: "address",
1297
- },
1298
- ],
1299
- stateMutability: "view",
1300
- type: "function",
1301
- },
1302
- {
1303
- inputs: [
1304
- {
1305
- internalType: "address",
1306
- name: "owner",
1307
- type: "address",
1308
- },
1309
- ],
1310
- name: "ownerNonce",
1311
- outputs: [
1312
- {
1313
- internalType: "uint256",
1314
- name: "nonce",
1315
- type: "uint256",
1316
- },
1317
- ],
1318
- stateMutability: "view",
1319
- type: "function",
1320
- },
1321
- {
1322
- inputs: [],
1323
- name: "pendingOwner",
1324
- outputs: [
1325
- {
1326
- internalType: "address",
1327
- name: "",
1328
- type: "address",
1329
- },
1330
- ],
1331
- stateMutability: "view",
1332
- type: "function",
1333
- },
1334
- {
1335
- inputs: [
1336
- {
1337
- internalType: "address",
1338
- name: "executor",
1339
- type: "address",
1340
- },
1341
- {
1342
- internalType: "bool",
1343
- name: "isExecutor_",
1344
- type: "bool",
1345
- },
1346
- ],
1347
- name: "setExecutor",
1348
- outputs: [],
1349
- stateMutability: "nonpayable",
1350
- type: "function",
1351
- },
1352
- {
1353
- inputs: [
1354
- {
1355
- components: [
1356
- {
1357
- internalType: "address",
1358
- name: "owner",
1359
- type: "address",
1360
- },
1361
- {
1362
- internalType: "uint32",
1363
- name: "boxId",
1364
- type: "uint32",
1365
- },
1366
- {
1367
- internalType: "uint256",
1368
- name: "expiry",
1369
- type: "uint256",
1370
- },
1371
- {
1372
- internalType: "uint256",
1373
- name: "nonce",
1374
- type: "uint256",
1375
- },
1376
- {
1377
- internalType: "address",
1378
- name: "tokenSpent",
1379
- type: "address",
1380
- },
1381
- {
1382
- internalType: "uint256",
1383
- name: "amountSpent",
1384
- type: "uint256",
1385
- },
1386
- {
1387
- internalType: "uint256",
1388
- name: "amountFee",
1389
- type: "uint256",
1390
- },
1391
- {
1392
- internalType: "address",
1393
- name: "tokenReceived",
1394
- type: "address",
1395
- },
1396
- {
1397
- internalType: "uint256",
1398
- name: "minReceived",
1399
- type: "uint256",
1400
- },
1401
- {
1402
- internalType: "address",
1403
- name: "receiver",
1404
- type: "address",
1405
- },
1406
- {
1407
- internalType: "address",
1408
- name: "swapExecutor",
1409
- type: "address",
1410
- },
1411
- {
1412
- internalType: "address",
1413
- name: "swapExtRouter",
1414
- type: "address",
1415
- },
1416
- {
1417
- internalType: "bytes",
1418
- name: "swapCalldata",
1419
- type: "bytes",
1420
- },
1421
- ],
1422
- internalType: "struct IPCrossChainSwapHub.SwapTokenMessage",
1423
- name: "ms",
1424
- type: "tuple",
1425
- },
1426
- {
1427
- internalType: "bytes",
1428
- name: "sig",
1429
- type: "bytes",
1430
- },
1431
- ],
1432
- name: "swapToken",
1433
- outputs: [],
1434
- stateMutability: "nonpayable",
1435
- type: "function",
1436
- },
1437
- {
1438
- inputs: [
1439
- {
1440
- internalType: "address",
1441
- name: "newOwner",
1442
- type: "address",
1443
- },
1444
- {
1445
- internalType: "bool",
1446
- name: "direct",
1447
- type: "bool",
1448
- },
1449
- {
1450
- internalType: "bool",
1451
- name: "renounce",
1452
- type: "bool",
1453
- },
1454
- ],
1455
- name: "transferOwnership",
1456
- outputs: [],
1457
- stateMutability: "nonpayable",
1458
- type: "function",
1459
- },
1460
- {
1461
- inputs: [
1462
- {
1463
- components: [
1464
- {
1465
- internalType: "address",
1466
- name: "owner",
1467
- type: "address",
1468
- },
1469
- {
1470
- internalType: "uint32",
1471
- name: "boxId",
1472
- type: "uint32",
1473
- },
1474
- {
1475
- internalType: "uint256",
1476
- name: "expiry",
1477
- type: "uint256",
1478
- },
1479
- {
1480
- internalType: "uint256",
1481
- name: "nonce",
1482
- type: "uint256",
1483
- },
1484
- {
1485
- internalType: "address",
1486
- name: "receiver",
1487
- type: "address",
1488
- },
1489
- {
1490
- internalType: "address",
1491
- name: "token",
1492
- type: "address",
1493
- },
1494
- {
1495
- internalType: "uint256",
1496
- name: "amountWithdraw",
1497
- type: "uint256",
1498
- },
1499
- {
1500
- internalType: "uint256",
1501
- name: "amountFee",
1502
- type: "uint256",
1503
- },
1504
- ],
1505
- internalType: "struct IPCrossChainSwapHub.WithdrawTokenMessage",
1506
- name: "ms",
1507
- type: "tuple",
1508
- },
1509
- {
1510
- internalType: "bytes",
1511
- name: "sig",
1512
- type: "bytes",
1513
- },
1514
- ],
1515
- name: "withdrawToken",
1516
- outputs: [],
1517
- stateMutability: "nonpayable",
1518
- type: "function",
1519
- },
1520
- ];
1521
-
1522
- const _bytecode =
1523
- "0x60e080604052346101e357604081613e79803803809161001f82856101e7565b8339810103126101e35761003e60206100378361020a565b920161020a565b608082905260a0819052813b6001600160401b0381116101cf576100c8916100d6915f604051956100796020601f19601f86011601886101e7565b82875260208701903c6040519060018060a01b031660208201526040808201525f6060820152606081526100ae6080826101e7565b6040519283916100c260208401809761021e565b9061021e565b03601f1981018352826101e7565b51902060c05260015460ff8160a81c1661017a5760ff808260a01c1603610137575b604051613c3190816102488239608051818181611d9a0152613263015260a051818181611ed301526132c9015260c051818181611afe0152612d3c0152f35b60ff60a01b191660ff60a01b1760015560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249890602090a15f6100f8565b60405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b6064820152608490fd5b634e487b7160e01b5f52604160045260245ffd5b5f80fd5b601f909101601f19168101906001600160401b038211908210176101cf57604052565b51906001600160a01b03821682036101e357565b908151915f5b838110610234575050015f815290565b806020809284010151818501520161022456fe60806040526004361015610011575f80fd5b5f5f3560e01c8063078dfbe714611ef75780631122f54e14611e895780631e1bff3f14611dbe5780632d610bb014611d5057806337eb9e8314611c915780634d83daf814611c3a5780634e71e0c814611b215780635a3f0e6b14611ac95780635ad330b8146118fe57806384b0196e146117975780638da5cb5b14611747578063a533ad02146116c6578063acbcad4f1461166f578063b6866f0414611616578063c0f29fa614611454578063c4d66de814610db3578063ca0be18414610d5a578063d0e0239714610c4b578063d9f022ef1461068b578063db50f4e014610632578063debfda30146105ca578063e30c397814610579578063e748fd271461030c578063e8ad29b4146102a9578063ebf65ba6146101b15763f22e9dd414610138575f80fd5b346101ae5760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ae5761016f6120cb565b6024359163ffffffff831683036101ae57604061018c8484612ccc565b73ffffffffffffffffffffffffffffffffffffffff8351921682526020820152f35b80fd5b50346101ae576101007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ae57604051906101ef8261211e565b60043573ffffffffffffffffffffffffffffffffffffffff811681036102a557825260243563ffffffff811681036102a55760208301526044356040830152606435606083015260843573ffffffffffffffffffffffffffffffffffffffff811681036102a557608083015260a4359073ffffffffffffffffffffffffffffffffffffffff821682036101ae57602061029d848460a082015260c43560c082015260e43560e0820152612bef565b604051908152f35b5080fd5b50346101ae5760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101ae57604060209173ffffffffffffffffffffffffffffffffffffffff6102fb6120cb565b168152606683522054604051908152f35b50346105755761031b36612261565b919091335f52606860205261033660ff60405f2054166127b7565b61036e600161034485612bef565b928373ffffffffffffffffffffffffffffffffffffffff8751166040880151606089015191613055565b73ffffffffffffffffffffffffffffffffffffffff8351169061039d602085019263ffffffff8451169061324a565b73ffffffffffffffffffffffffffffffffffffffff8116608086019173ffffffffffffffffffffffffffffffffffffffff8351169160a088019273ffffffffffffffffffffffffffffffffffffffff8451169060c08a0192835190803b15610575576040517fc3b35a7e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff938416600482015293909216602484015260448301525f908290606490829084905af1801561056a57610528575b5090829173ffffffffffffffffffffffffffffffffffffffff8063ffffffff817f65a166ed1af9dcde94a1a740cb370a571f5782f38120bf3a9fb1e8841859f4669a9b9c6104c48b836105229b511660e08401998a5192613520565b51169a5116965116935116905191519260405196879687929373ffffffffffffffffffffffffffffffffffffffff60a09581939998979463ffffffff60c088019b168752602087015216604085015216606083015260808201520152565b0390a280f35b7f65a166ed1af9dcde94a1a740cb370a571f5782f38120bf3a9fb1e8841859f4669697509061055c5f61052295949361218f565b5f9796509192909190610468565b6040513d5f823e3d90fd5b5f80fd5b34610575575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261057557602073ffffffffffffffffffffffffffffffffffffffff60015416604051908152f35b346105755760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126105755773ffffffffffffffffffffffffffffffffffffffff6106166120cb565b165f526068602052602060ff60405f2054166040519015158152f35b346105755760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126105755760043567ffffffffffffffff81116105755761029d610686602092369060040161232d565b612af6565b61069436612708565b335f5260686020526106ac60ff60405f2054166127b7565b6106e460016106ba8461298a565b928373ffffffffffffffffffffffffffffffffffffffff8651166040870151606088015191613055565b73ffffffffffffffffffffffffffffffffffffffff82511691610713602082019363ffffffff8551169061324a565b60e08201906004602073ffffffffffffffffffffffffffffffffffffffff845116604051928380927ffc0c546a0000000000000000000000000000000000000000000000000000000082525afa90811561056a575f91610bfc575b50608084019273ffffffffffffffffffffffffffffffffffffffff8451169060a0860193845173ffffffffffffffffffffffffffffffffffffffff806101808a015116956101a08a015192604051966107c688612157565b8752602087015216948560408601526060850152608084015261081e73ffffffffffffffffffffffffffffffffffffffff6101608901511673ffffffffffffffffffffffffffffffffffffffff8316948591846137d6565b63ffffffff6101208901511693610140890151946040519060e0820182811067ffffffffffffffff821117610bad57604052815260208101958652604081019583875260608201965f8852602097889160405161087b848261218f565b5f815260808601908152604051610892858261218f565b5f815260a08701908152604051916108aa868461218f565b5f835260c08801928352604051946108c186612173565b348652868601945f86528d5173ffffffffffffffffffffffffffffffffffffffff16986040519a8b998a017fc7c7f5b300000000000000000000000000000000000000000000000000000000905260248a01608090525163ffffffff1660a48a01525160c48901525160e48801525161010487015251610124860160e09052610184860161094e916125bc565b9051908581037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5c01610144870152610985916125bc565b9051908481037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5c016101648601526109bc916125bc565b91516044840152516064830152336084830152037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0810183526109ff908361218f565b60405193610a0c8561213b565b88855287850152604084015260608301526040518080937f704a2e9b000000000000000000000000000000000000000000000000000000008252336004830191610a5592613752565b0381345a945f95f190811561056a575f91610bda575b508051810181858201910360c081126105755760801361057557604051906060820182811067ffffffffffffffff821117610bad57604052858301518252604083015167ffffffffffffffff811681036105755786938360a09286610ae49601526040610adb85606085016137ae565b910152016137ae565b0151946101008801518610610b85577fe40c4805f2bb7aa5797fae437979ec2fd5f79f4ae3c5062b977066da6d15f0ca9873ffffffffffffffffffffffffffffffffffffffff8063ffffffff816101009c610b4b828e51169860c08301998a519189613520565b51169d5116995116925193519451169460405198895288015260408701526060860152608085015260a084015260c083015260e0820152a2005b7f4af147aa000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b610bf691503d805f833e610bee818361218f565b8101906136f3565b8a610a6b565b90506020813d602011610c43575b81610c176020938361218f565b81010312610575575173ffffffffffffffffffffffffffffffffffffffff81168103610575578661076e565b3d9150610c0a565b34610575577f156e5f1d501299aebbb7dacba3cb9fe3df463ec82ba1672e112e346c0cf3699f610c7a36612551565b919091335f526068602052610c9560ff60405f2054166127b7565b610ca25f6103448561281c565b73ffffffffffffffffffffffffffffffffffffffff83511692610d55610cd4602083019563ffffffff8751169061324a565b73ffffffffffffffffffffffffffffffffffffffff63ffffffff816080860195610d0a828851169560c08301968751918b613629565b5116975116935116905190604051948594859094939273ffffffffffffffffffffffffffffffffffffffff9060609363ffffffff608085019816845260208401521660408201520152565b0390a2005b346105755760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126105755760043567ffffffffffffffff81116105755761029d610dae60209236906004016125ff565b61298a565b346105755760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261057557610dea6120cb565b60015460ff8160a81c161590818092611444575b801561142a575b156113a65781740100000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff831617600155611363575b50604090815192610e5e838561218f565b601b84527f50656e646c652043726f737320436861696e20537761702048756200000000006020850152825193610e95848661218f565b600185527f31000000000000000000000000000000000000000000000000000000000000006020860152610ed960ff60015460a81c16610ed481612fca565b612fca565b80519067ffffffffffffffff8211610bad578190610ef8600454612d72565b601f81116112b8575b50602090601f83116001146111f9575f926111ee575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c1916176004555b835167ffffffffffffffff8111610bad57610f66600554612d72565b601f811161114d575b506020601f821160011461107757819073ffffffffffffffffffffffffffffffffffffffff9495965f9261106c575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c1916176005555b5f6002555f600355610fea60ff60015460a81c16612fca565b167fffffffffffffffffffffffff00000000000000000000000000000000000000005f5416175f5561101857005b60207f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498917fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff600154166001555160018152a1005b015190508680610f9e565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082169560055f527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db0965f5b81811061113557509173ffffffffffffffffffffffffffffffffffffffff959697918460019594106110fe575b505050811b01600555610fd1565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c191690558680806110f0565b838301518955600190980197602093840193016110c3565b60055f52601f820160051c7f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00190602083106111c6575b601f0160051c7f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db001905b8181106111bb5750610f6f565b5f81556001016111ae565b7f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db09150611184565b015190508680610f17565b917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169160045f527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b925f5b8181106112a05750908460019594939210611269575b505050811b01600455610f4a565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c1916905586808061125b565b92936020600181928786015181550195019301611245565b90915060045f52601f830160051c7f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01906020841061133b575b90601f8493920160051c7f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b01905b81811061132d5750610f01565b5f8155849350600101611320565b7f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b91506112f2565b7fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff1675010100000000000000000000000000000000000000001760015582610e4d565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152fd5b50303b158015610e055750600160ff8260a01c1614610e05565b50600160ff8260a01c1610610dfe565b61145d366123ea565b90335f52606860205261147660ff60405f2054166127b7565b6114ae600161148483612af6565b938473ffffffffffffffffffffffffffffffffffffffff8551166040860151606087015191613055565b73ffffffffffffffffffffffffffffffffffffffff815116916114dd602083019363ffffffff8551169061324a565b61157c6080840173ffffffffffffffffffffffffffffffffffffffff8151169260a086015f81519560e089019673ffffffffffffffffffffffffffffffffffffffff8851166101008b015191604051936115368561213b565b8452602084015260408301526060820152604051809681927f704a2e9b000000000000000000000000000000000000000000000000000000008352339060048401613752565b03813473ffffffffffffffffffffffffffffffffffffffff87165af1801561056a5773ffffffffffffffffffffffffffffffffffffffff63ffffffff817fedabfad097fb65358a27734c2c5ee86961880bfc2a229b236f81e89b6cd37fe49a610d559882956115fc575b506104c48b838a511660c08401998a5192613520565b61160f903d805f833e610bee818361218f565b508d6115e6565b346105755760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126105755760043567ffffffffffffffff81116105755761029d61166a6020923690600401612454565b61281c565b34610575577f156e5f1d501299aebbb7dacba3cb9fe3df463ec82ba1672e112e346c0cf3699f61169e36612708565b919091335f5260686020526116b960ff60405f2054166127b7565b610ca25f6103448561298a565b346105755760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610575576004355f52606760205260ff60405f205416604051600382101561171a576020918152f35b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b34610575575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261057557602073ffffffffffffffffffffffffffffffffffffffff5f5416604051908152f35b34610575575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126105755760025415806118f4575b156118965761183a6117df612dc3565b6117e7612e98565b6020611848604051926117fa838561218f565b5f84525f3681376040519586957f0f00000000000000000000000000000000000000000000000000000000000000875260e08588015260e08701906125bc565b9085820360408701526125bc565b4660608501523060808501525f60a085015283810360c08501528180845192838152019301915f5b82811061187f57505050500390f35b835185528695509381019392810192600101611870565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4549503731323a20556e696e697469616c697a656400000000000000000000006044820152fd5b50600354156117cf565b346105755761190c36612551565b335f52606860205261192460ff60405f2054166127b7565b61193260016106ba8461281c565b73ffffffffffffffffffffffffffffffffffffffff82511691611961602082019363ffffffff8551169061324a565b608082019073ffffffffffffffffffffffffffffffffffffffff8251169360a0840194611a2e86519160e087019273ffffffffffffffffffffffffffffffffffffffff84511673ffffffffffffffffffffffffffffffffffffffff6101608a015116906101808a015192604051946119d886612157565b8552602085015260408401526060830152608082015273ffffffffffffffffffffffffffffffffffffffff610140880151169073ffffffffffffffffffffffffffffffffffffffff6101208901511691866137d6565b926101008601518410610b85577f1df20376fafb2f4c5f977c06f11edd22f419d97f6af3cf440fd7c2bfd8db0b7a9673ffffffffffffffffffffffffffffffffffffffff8063ffffffff8160e09a611a92828c51169760c08301988951918c613520565b51169b51169751169151925193511693604051968752602087015260408601526060850152608084015260a083015260c0820152a2005b34610575575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126105755760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b34610575575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126105755760015473ffffffffffffffffffffffffffffffffffffffff811690813303611bdc577fffffffffffffffffffffffff000000000000000000000000000000000000000091825f548273ffffffffffffffffffffffffffffffffffffffff82167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a316175f5516600155005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152fd5b34610575577f156e5f1d501299aebbb7dacba3cb9fe3df463ec82ba1672e112e346c0cf3699f611c69366123ea565b919091335f526068602052611c8460ff60405f2054166127b7565b610ca25f61034485612af6565b34610575577f156e5f1d501299aebbb7dacba3cb9fe3df463ec82ba1672e112e346c0cf3699f611cc036612261565b919091335f526068602052611cdb60ff60405f2054166127b7565b611ce85f61034485612bef565b73ffffffffffffffffffffffffffffffffffffffff83511692610d55611d1a602083019563ffffffff8751169061324a565b73ffffffffffffffffffffffffffffffffffffffff63ffffffff8160a0860195610d0a828851169560e08301968751918b613629565b34610575575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261057557602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b346105755760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261057557611df56120cb565b7f827c394aebf0fcbf2d4f5c0107a0031a3860ec0d5e06756e03aacccfb8d2836e602073ffffffffffffffffffffffffffffffffffffffff611e3561210f565b93611e44825f54163314612752565b1692835f526068825260405f20901515907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0081541660ff8316179055604051908152a2005b34610575575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261057557602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b346105755760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261057557611f2e6120cb565b611f3661210f565b9060443591821515830361057557611f6673ffffffffffffffffffffffffffffffffffffffff5f54163314612752565b156120865773ffffffffffffffffffffffffffffffffffffffff169081159081159161207e575b5015612020577fffffffffffffffffffffffff00000000000000000000000000000000000000005f548273ffffffffffffffffffffffffffffffffffffffff82167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a316175f55600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4f776e61626c653a207a65726f206164647265737300000000000000000000006044820152fd5b905082611f8d565b73ffffffffffffffffffffffffffffffffffffffff9150167fffffffffffffffffffffffff000000000000000000000000000000000000000060015416176001555f80f35b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361057557565b359073ffffffffffffffffffffffffffffffffffffffff8216820361057557565b60243590811515820361057557565b610100810190811067ffffffffffffffff821117610bad57604052565b6080810190811067ffffffffffffffff821117610bad57604052565b60a0810190811067ffffffffffffffff821117610bad57604052565b6040810190811067ffffffffffffffff821117610bad57604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff821117610bad57604052565b359063ffffffff8216820361057557565b67ffffffffffffffff8111610bad57601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b81601f8201121561057557803590612232826121e1565b92612240604051948561218f565b8284526020838301011161057557815f926020809301838601378301015290565b906101207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc83011261057557600461010081840312610575576040516122a68161211e565b6122af826120ee565b81526122bd602083016121d0565b602082015260408201356040820152606082013560608201526122e2608083016120ee565b60808201526122f360a083016120ee565b60a082015260c082013560c082015260e082013560e0820152926101043567ffffffffffffffff81116105755761232a920161221b565b90565b9190610120838203126105755760405190610120820182811067ffffffffffffffff821117610bad576040528193612364816120ee565b8352612372602082016121d0565b60208401526040810135604084015260608101356060840152612397608082016120ee565b608084015260a081013560a084015260c081013560c08401526123bc60e082016120ee565b60e08401526101008101359167ffffffffffffffff831161057557610100926123e5920161221b565b910152565b9060407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc8301126105755760043567ffffffffffffffff811161057557826124349160040161232d565b916024359067ffffffffffffffff82116105755761232a9160040161221b565b91906101a08382031261057557604051906101a0820182811067ffffffffffffffff821117610bad57604052819361248b816120ee565b8352612499602082016121d0565b602084015260408101356040840152606081013560608401526124be608082016120ee565b608084015260a081013560a084015260c081013560c08401526124e360e082016120ee565b60e084015261010081013561010084015261250161012082016120ee565b61012084015261251461014082016120ee565b61014084015261252761016082016120ee565b6101608401526101808101359167ffffffffffffffff831161057557610180926123e5920161221b565b9060407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc8301126105755760043567ffffffffffffffff8111610575578261243491600401612454565b5f5b8381106125ac5750505f910152565b818101518382015260200161259d565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f6020936125f88151809281875287808801910161259b565b0116010190565b91906101c08382031261057557604051906101c0820182811067ffffffffffffffff821117610bad576040528193612636816120ee565b8352612644602082016121d0565b60208401526040810135604084015260608101356060840152612669608082016120ee565b608084015260a081013560a084015260c081013560c084015261268e60e082016120ee565b60e08401526101008101356101008401526126ac61012082016121d0565b6101208401526101408101356101408401526126cb61016082016120ee565b6101608401526126de61018082016120ee565b6101808401526101a08101359167ffffffffffffffff8311610575576101a0926123e5920161221b565b9060407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc8301126105755760043567ffffffffffffffff81116105755782612434916004016125ff565b1561275957565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b156127be57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f537761704875623a2063616c6c6572206973206e6f74206578656375746f72006044820152fd5b805173ffffffffffffffffffffffffffffffffffffffff16602082015163ffffffff16916040810151906060810151608082015173ffffffffffffffffffffffffffffffffffffffff1660a083015160c084015160e085015173ffffffffffffffffffffffffffffffffffffffff16906101008601519261012087015173ffffffffffffffffffffffffffffffffffffffff169461014088015173ffffffffffffffffffffffffffffffffffffffff169661016089015173ffffffffffffffffffffffffffffffffffffffff1698610180015180519060200120996040519c8d9c60208e019e8f7fcc93cf28b6244dcac0d0a0a79492dd77c61376e600f05cf308e408c91c2e0ea590526040015260608d015260808c015260a08b015260c08a015260e08901526101008801526101208701526101408601526101608501526101808401526101a08301526101c08201526101c0815261297e6101e08261218f565b51902061232a90612f2d565b61232a9073ffffffffffffffffffffffffffffffffffffffff8151169063ffffffff602082015116906040810151606082015173ffffffffffffffffffffffffffffffffffffffff60808401511660a084015160c085015173ffffffffffffffffffffffffffffffffffffffff60e087015116906101008701519263ffffffff61012089015116946101408901519673ffffffffffffffffffffffffffffffffffffffff6101608b015116986101a073ffffffffffffffffffffffffffffffffffffffff6101808d0151169b0151602081519101209b60606040519e8f907f0e74175aebbf2257d976f3d96a8d37047015c30a6cebcfd45015bc36ff49af6660208301526040820152015260808d015260a08c015260c08b015260e08a01526101008901526101208801526101408701526101608601526101808501526101a08401526101c08301526101e08201526101e08152612aea6102008261218f565b60208151910120612f2d565b61232a9073ffffffffffffffffffffffffffffffffffffffff8151169063ffffffff60208201511690604081015190606081015173ffffffffffffffffffffffffffffffffffffffff60808301511660a08301519060c08401519261010073ffffffffffffffffffffffffffffffffffffffff60e08701511695015160208151910120956040519760208901997f9aa30ef4edc8664bcfca0f4d3315ffffc82457eca06db50bc15f2f519376da908b5260408a01526060890152608088015260a087015260c086015260e08501526101008401526101208301526101408201526101408152612be76101608261218f565b519020612f2d565b61232a9073ffffffffffffffffffffffffffffffffffffffff8151169063ffffffff60208201511690604081015190606081015173ffffffffffffffffffffffffffffffffffffffff60808301511673ffffffffffffffffffffffffffffffffffffffff60a0840151169160e060c0850151940151946040519660208801987f524af02ec392e00fb8bcddd2290ff51b22682ab86282574951a3808c1bbb53bd8a5260408901526060880152608087015260a086015260c085015260e08401526101008301526101208201526101208152612be76101408261218f565b6040805173ffffffffffffffffffffffffffffffffffffffff9092166020830190815263ffffffff90931690820152612d3081606081015b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0810183528261218f565b5190206055600b6040517f000000000000000000000000000000000000000000000000000000000000000060408201528360208201523081520160ff81532091565b90600182811c92168015612db9575b6020831014612d8c57565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b91607f1691612d81565b604051905f8260045491612dd683612d72565b8083529260018116908115612e5b5750600114612dfc575b612dfa9250038361218f565b565b5060045f90815290917f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b818310612e3f575050906020612dfa92820101612dee565b6020919350806001915483858901015201910190918492612e27565b60209250612dfa9491507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001682840152151560051b820101612dee565b604051905f8260055491612eab83612d72565b8083529260018116908115612e5b5750600114612ece57612dfa9250038361218f565b5060055f90815290917f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db05b818310612f11575050906020612dfa92820101612dee565b6020919350806001915483858901015201910190918492612ef9565b604290612f38613acd565b612f40613b18565b6040519060208201927f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f8452604083015260608201524660808201523060a082015260a08152612f9160c08261218f565b51902090604051917f19010000000000000000000000000000000000000000000000000000000000008352600283015260228201522090565b15612fd157565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152fd5b93909194926130648282613b3e565b600581949294101561171a57159283613227575b508215613146575b50501561311e574210156130f657613096575050565b73ffffffffffffffffffffffffffffffffffffffff16805f5260666020528160405f205410156130ce575f52606660205260405f2055565b7f756688fe000000000000000000000000000000000000000000000000000000005f5260045ffd5b7ff753ba40000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f8baa579f000000000000000000000000000000000000000000000000000000005f5260045ffd5b5f925090612d04613196849360405192839160208301957f1626ba7e00000000000000000000000000000000000000000000000000000000875260248401526040604484015260648301906125bc565b5190865afa3d15613220573d6131ab816121e1565b906131b9604051928361218f565b81523d5f602083013e5b81613212575b816131d7575b505f80613080565b905060208180518101031261057557602001517f1626ba7e00000000000000000000000000000000000000000000000000000000145f6131cf565b9050602081511015906131c9565b60606131c3565b73ffffffffffffffffffffffffffffffffffffffff87811691161492505f613078565b906132558183612ccc565b8193913b6135045761332d907f000000000000000000000000000000000000000000000000000000000000000061335b813b613290816121e1565b9061329e604051928361218f565b8082525f6020830180953c60206040518181019073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001682526040808201525f60608201526060815261330660808261218f565b60405197889461331e8587019889925192839161259b565b8501915180938584019061259b565b0101037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0810185528461218f565b8251156134a65773ffffffffffffffffffffffffffffffffffffffff9251905ff5169283156134485773ffffffffffffffffffffffffffffffffffffffff1680930361341b57823b15610575576040517fc5e4c9f900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91909116600482015263ffffffff9190911660248201525f8160448183865af1801561056a57613411575090565b5f61232a9161218f565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52600160045260245ffd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f437265617465323a204661696c6564206f6e206465706c6f79000000000000006044820152fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f6044820152fd5b50505073ffffffffffffffffffffffffffffffffffffffff1690565b90815f52606760205260ff60405f205416600381101561171a576136015773ffffffffffffffffffffffffffffffffffffffff915f52606760205260405f2060017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008254161790551691823b15610575576040517fef36298000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152905f908290818381604481015b03925af1801561056a576135f75750565b5f612dfa9161218f565b7f13710274000000000000000000000000000000000000000000000000000000005f5260045ffd5b90815f52606760205260ff60405f205416600381101561171a576136015773ffffffffffffffffffffffffffffffffffffffff915f52606760205260405f2060027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008254161790551691823b15610575576040517fef36298000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152905f908290818381604481016135e6565b6020818303126105755780519067ffffffffffffffff8211610575570181601f82011215610575578051613726816121e1565b92613734604051948561218f565b818452602082840101116105755761232a916020808501910161259b565b9073ffffffffffffffffffffffffffffffffffffffff6137a760606020939695966040865283815116604087015284810151828701528360408201511660808701520151608060a086015260c08501906125bc565b9416910152565b9190826040910312610575576040516137c681612173565b6020808294805184520151910152565b73ffffffffffffffffffffffffffffffffffffffff9093919316918051925f936020830191825191813b15610575576040517fc3b35a7e00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff898116600483015291909116602482015260448101929092525f908290606490829084905af1801561056a57613a09575b50604082019173ffffffffffffffffffffffffffffffffffffffff6138998185511686613a1e565b961691823b15613a055761397092869283608093604051968795869485937fc3a7e1ce00000000000000000000000000000000000000000000000000000000855273ffffffffffffffffffffffffffffffffffffffff8d1660048601526040602486015273ffffffffffffffffffffffffffffffffffffffff825116604486015251606485015273ffffffffffffffffffffffffffffffffffffffff8b5116608485015273ffffffffffffffffffffffffffffffffffffffff60608201511660a4850152015160a060c484015260e48301906125bc565b03925af180156139fa579084916139e1575b50509073ffffffffffffffffffffffffffffffffffffffff6139a692511690613a1e565b9182039182116139b4575090565b807f4e487b7100000000000000000000000000000000000000000000000000000000602492526011600452fd5b816139eb9161218f565b6139f657825f613982565b8280fd5b6040513d86823e3d90fd5b8580fd5b613a169194505f9061218f565b5f925f613871565b9073ffffffffffffffffffffffffffffffffffffffff1680613a3f57503190565b9073ffffffffffffffffffffffffffffffffffffffff602460209260405194859384927f70a082310000000000000000000000000000000000000000000000000000000084521660048301525afa90811561056a575f91613a9e575090565b90506020813d602011613ac5575b81613ab96020938361218f565b81010312610575575190565b3d9150613aac565b613ad5612dc3565b8051908115613ae5576020012090565b50506002548015613af35790565b507fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47090565b613b20612e98565b8051908115613b30576020012090565b50506003548015613af35790565b9060418151145f14613b6a57613b6691602082015190606060408401519301515f1a90613b73565b9091565b50505f90600290565b7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411613bf0576020935f9360ff60809460405194855216868401526040830152606082015282805260015afa1561056a575f5173ffffffffffffffffffffffffffffffffffffffff811615613be857905f90565b505f90600190565b505050505f9060039056fea2646970667358221220484bc956e7d0ef18e6edcd440ebe38c30e6b13d2b268e8090b025fe568d9ace464736f6c634300081e0033";
1524
-
1525
- type PendleCrossChainSwapHubConstructorParams =
1526
- | [signer?: Signer]
1527
- | ConstructorParameters<typeof ContractFactory>;
1528
-
1529
- const isSuperArgs = (
1530
- xs: PendleCrossChainSwapHubConstructorParams
1531
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
1532
-
1533
- export class PendleCrossChainSwapHub__factory extends ContractFactory {
1534
- constructor(...args: PendleCrossChainSwapHubConstructorParams) {
1535
- if (isSuperArgs(args)) {
1536
- super(...args);
1537
- } else {
1538
- super(_abi, _bytecode, args[0]);
1539
- }
1540
- this.contractName = "PendleCrossChainSwapHub";
1541
- }
1542
-
1543
- deploy(
1544
- beaconProxyCodeContract_: string,
1545
- depositBoxBeacon_: string,
1546
- overrides?: Overrides & { from?: string | Promise<string> }
1547
- ): Promise<PendleCrossChainSwapHub> {
1548
- return super.deploy(
1549
- beaconProxyCodeContract_,
1550
- depositBoxBeacon_,
1551
- overrides || {}
1552
- ) as Promise<PendleCrossChainSwapHub>;
1553
- }
1554
- getDeployTransaction(
1555
- beaconProxyCodeContract_: string,
1556
- depositBoxBeacon_: string,
1557
- overrides?: Overrides & { from?: string | Promise<string> }
1558
- ): TransactionRequest {
1559
- return super.getDeployTransaction(
1560
- beaconProxyCodeContract_,
1561
- depositBoxBeacon_,
1562
- overrides || {}
1563
- );
1564
- }
1565
- attach(address: string): PendleCrossChainSwapHub {
1566
- return super.attach(address) as PendleCrossChainSwapHub;
1567
- }
1568
- connect(signer: Signer): PendleCrossChainSwapHub__factory {
1569
- return super.connect(signer) as PendleCrossChainSwapHub__factory;
1570
- }
1571
- static readonly contractName: "PendleCrossChainSwapHub";
1572
- public readonly contractName: "PendleCrossChainSwapHub";
1573
- static readonly bytecode = _bytecode;
1574
- static readonly abi = _abi;
1575
- static createInterface(): PendleCrossChainSwapHubInterface {
1576
- return new utils.Interface(_abi) as PendleCrossChainSwapHubInterface;
1577
- }
1578
- static connect(
1579
- address: string,
1580
- signerOrProvider: Signer | Provider
1581
- ): PendleCrossChainSwapHub {
1582
- return new Contract(
1583
- address,
1584
- _abi,
1585
- signerOrProvider
1586
- ) as PendleCrossChainSwapHub;
1587
- }
1588
- }