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