@pendle/core-v2 6.3.2-pendle-merkle-transfer → 6.3.2-swaphubtest2

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