@pendle/core-v2 6.6.0 → 6.7.0

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 (554) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.json +2 -88
  10. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +2 -122
  12. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  46. package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.dbg.json +4 -0
  47. package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.json +766 -0
  48. package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.dbg.json +4 -0
  49. package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.json +99 -0
  50. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
  51. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
  52. package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.dbg.json +4 -0
  53. package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.json +1388 -0
  54. package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +4 -0
  55. package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.json +210 -0
  56. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +4 -0
  57. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.json +1326 -0
  58. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  59. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.json +46 -14
  60. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.dbg.json +4 -0
  61. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.json +1541 -0
  62. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.dbg.json +4 -0
  63. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.json +1570 -0
  64. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  65. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.json +57 -35
  66. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.dbg.json +4 -0
  67. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.json +1624 -0
  68. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
  69. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
  70. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +0 -88
  92. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.dbg.json +4 -0
  99. package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.json +85 -0
  100. package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.dbg.json +4 -0
  101. package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.json +1026 -0
  102. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.json +11 -0
  104. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMSwapCallback.dbg.json +4 -0
  118. package/build/artifacts/contracts/interfaces/{IPFixedPricePTAMM.sol → IPFixedPricePTAMMV2.sol}/IPFixedPricePTAMMSwapCallback.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.dbg.json +4 -0
  120. package/build/artifacts/contracts/interfaces/{IPFixedPricePTAMM.sol/IPFixedPricePTAMM.json → IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.json} +285 -93
  121. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.json +156 -0
  130. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.json +0 -67
  136. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.json +0 -120
  141. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  144. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  147. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  148. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  149. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  150. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  151. package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IPSwapHelper.sol/IPSwapHelper.dbg.json +4 -0
  153. package/build/artifacts/contracts/interfaces/{IPActionCrossChain.sol/IPActionCrossChain.json → IPSwapHelper.sol/IPSwapHelper.json} +2 -2
  154. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  155. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  156. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  157. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  158. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  159. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  160. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  161. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  162. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  163. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  164. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  165. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  166. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  167. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  168. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.json +258 -1
  169. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  170. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +265 -3
  171. package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.dbg.json +4 -0
  172. package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.json +156 -0
  173. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  179. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  185. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
  186. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  187. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  189. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +2 -2
  190. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  191. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +2 -2
  192. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  193. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
  194. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  195. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  196. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.json +33 -2
  197. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  198. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  199. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  200. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
  201. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  202. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  203. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  204. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  205. package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.dbg.json +4 -0
  206. package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.json +171 -0
  207. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  208. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  209. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  210. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  211. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  212. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
  213. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  214. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  215. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  216. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  217. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
  218. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  219. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  220. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  221. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  222. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  223. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  224. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  225. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  226. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  227. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  228. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  229. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  230. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  231. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  232. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  233. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  234. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  235. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
  236. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  237. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
  238. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  239. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  240. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  241. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  242. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  243. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  244. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  245. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  246. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  247. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  248. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  249. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  250. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  251. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  252. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  253. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  254. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  255. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  256. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  257. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  258. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  259. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  260. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  261. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  262. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  263. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  264. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  265. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  266. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  267. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  268. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  269. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  270. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  271. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  272. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  273. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  274. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  275. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  276. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  277. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  278. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  279. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  280. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  281. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  282. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  283. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  284. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  285. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  286. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  287. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  288. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  289. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  290. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  291. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  292. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  293. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  294. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  295. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
  296. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  297. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
  298. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  299. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  300. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  301. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  302. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  303. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  304. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  305. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  306. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  307. package/contracts/LiquidityMining/PendleMerkleDistributor.sol +1 -28
  308. package/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol +1 -36
  309. package/contracts/cross-chain/FixedPricePTAMMV2.sol +162 -0
  310. package/contracts/{router/ActionCrossChain.sol → cross-chain/PendleSwapHelper.sol} +11 -7
  311. package/contracts/cross-chain/factory/PendleBridgePTFactory.sol +495 -0
  312. package/contracts/cross-chain/funder/BridgeFunder.sol +61 -0
  313. package/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol +56 -0
  314. package/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol +14 -6
  315. package/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol +11 -0
  316. package/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol +52 -0
  317. package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol +33 -24
  318. package/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol +55 -0
  319. package/contracts/interfaces/IPAllActionTypeV3.sol +1 -0
  320. package/contracts/interfaces/IPAllActionV3.sol +1 -3
  321. package/contracts/interfaces/IPBridgeFunder.sol +17 -0
  322. package/contracts/interfaces/IPBridgePTFactory.sol +129 -0
  323. package/contracts/interfaces/IPBridgedPrincipalToken.sol +4 -2
  324. package/contracts/interfaces/IPFixedPricePTAMMV2.sol +58 -0
  325. package/contracts/interfaces/IPLimitRouter.sol +22 -0
  326. package/contracts/interfaces/IPMerkleDistributor.sol +0 -7
  327. package/contracts/interfaces/IPMultiTokenMerkleDistributor.sol +0 -10
  328. package/contracts/interfaces/{IPActionCrossChain.sol → IPSwapHelper.sol} +1 -1
  329. package/contracts/limit/LimitRouterBase.sol +101 -47
  330. package/contracts/limit/PendleLimitRouter.sol +1 -1
  331. package/contracts/limit/helpers/MintSyHelper.sol +114 -0
  332. package/contracts/offchain-helpers/PendleFeeSetter.sol +19 -1
  333. package/contracts/offchain-helpers/PendleProxyAdmin.sol +11 -0
  334. package/contracts/router/base/ActionBase.sol +16 -2
  335. package/contracts/router/swap-aggregator/OKXScaleHelper.sol +4 -1
  336. package/deployments/1-core.json +1 -0
  337. package/deployments/1-offchain-helper.json +1 -1
  338. package/deployments/10-core.json +1 -0
  339. package/deployments/10-offchain-helper.json +1 -1
  340. package/deployments/130-core.json +1 -0
  341. package/deployments/143-core.json +39 -2
  342. package/deployments/143-offchain-helper.json +11 -0
  343. package/deployments/146-core.json +1 -0
  344. package/deployments/146-offchain-helper.json +1 -1
  345. package/deployments/42161-core.json +1 -0
  346. package/deployments/42161-offchain-helper.json +1 -1
  347. package/deployments/4217-core.json +15 -0
  348. package/deployments/43114-core.json +2 -0
  349. package/deployments/5000-core.json +1 -0
  350. package/deployments/5000-offchain-helper.json +1 -1
  351. package/deployments/56-core.json +1 -0
  352. package/deployments/56-offchain-helper.json +1 -1
  353. package/deployments/57073-core.json +3 -0
  354. package/deployments/747474-core.json +3 -0
  355. package/deployments/80094-core.json +1 -0
  356. package/deployments/80094-offchain-helper.json +1 -1
  357. package/deployments/8453-core.json +1 -0
  358. package/deployments/8453-offchain-helper.json +1 -1
  359. package/deployments/9745-core.json +1 -0
  360. package/deployments/9745-offchain-helper.json +1 -1
  361. package/deployments/999-core.json +1 -0
  362. package/deployments/999-offchain-helper.json +1 -1
  363. package/package.json +12 -9
  364. package/typechain-types/AaveMoneyMarket.ts +763 -0
  365. package/typechain-types/AaveMoneyMarketView.ts +460 -0
  366. package/typechain-types/BaseMoneyMarket.ts +697 -0
  367. package/typechain-types/BaseMoneyMarketView.ts +362 -0
  368. package/typechain-types/BridgeFunder.ts +344 -0
  369. package/typechain-types/DVNOptions.ts +57 -0
  370. package/typechain-types/ExecutorOptions.ts +57 -0
  371. package/typechain-types/FixedPricePTAMMV2.ts +1104 -0
  372. package/typechain-types/IAToken.ts +358 -0
  373. package/typechain-types/IAaveOracle.ts +235 -0
  374. package/typechain-types/IAaveRewardsController.ts +1186 -0
  375. package/typechain-types/IDefaultReserveInterestRateStrategyV3.ts +431 -0
  376. package/typechain-types/IDefaultReserveInterestRateStrategyV31.ts +606 -0
  377. package/typechain-types/IDssPsm.ts +194 -0
  378. package/typechain-types/IERC4626.ts +864 -0
  379. package/typechain-types/IFlashLoanReceiver.ts +125 -0
  380. package/typechain-types/IIrm.ts +260 -0
  381. package/typechain-types/IMoneyMarket.ts +700 -0
  382. package/typechain-types/IMoneyMarketEvents.ts +196 -0
  383. package/typechain-types/IMoneyMarketView.ts +331 -0
  384. package/typechain-types/IMorpho.ts +1147 -0
  385. package/typechain-types/IMorphoOracle.ts +81 -0
  386. package/typechain-types/IMulticall.ts +117 -0
  387. package/typechain-types/IPAllActionV3.ts +0 -54
  388. package/typechain-types/IPBridgeFunder.ts +165 -0
  389. package/typechain-types/IPBridgePTFactory.ts +936 -0
  390. package/typechain-types/IPFixedPricePTAMMV2.ts +864 -0
  391. package/typechain-types/IPLimitRouter.ts +104 -0
  392. package/typechain-types/IPLoopPositionBox.ts +298 -0
  393. package/typechain-types/IPLoopPositionBoxFactory.ts +434 -0
  394. package/typechain-types/IPMerkleDistributor.ts +0 -90
  395. package/typechain-types/IPMultiTokenMerkleDistributor.ts +0 -158
  396. package/typechain-types/IPPTLooper.ts +1550 -0
  397. package/typechain-types/IPPTLooperView.ts +468 -0
  398. package/typechain-types/IPSwapHelper.ts +161 -0
  399. package/typechain-types/IPool.ts +2220 -0
  400. package/typechain-types/IPoolAddressesProvider.ts +789 -0
  401. package/typechain-types/IPoolDataProviderV3.ts +865 -0
  402. package/typechain-types/IPoolDataProviderV31.ts +933 -0
  403. package/typechain-types/IPot.ts +181 -0
  404. package/typechain-types/IPriceOracleGetter.ts +133 -0
  405. package/typechain-types/ISDAI.ts +877 -0
  406. package/typechain-types/LimitRouterBase.ts +233 -5
  407. package/typechain-types/LoopPositionBox.ts +309 -0
  408. package/typechain-types/LoopPositionBoxFactory.ts +609 -0
  409. package/typechain-types/MintSyHelper.ts +230 -0
  410. package/typechain-types/MorphoBlueMoneyMarket.ts +731 -0
  411. package/typechain-types/MorphoBlueMoneyMarketView.ts +396 -0
  412. package/typechain-types/Multicall.ts +117 -0
  413. package/typechain-types/OAppPreCrimeSimulatorUpgradeable.ts +410 -0
  414. package/typechain-types/OFTAdapterAltImpl.ts +1381 -0
  415. package/typechain-types/OFTAdapterImpl.ts +50 -19
  416. package/typechain-types/OFTAdapterUpgradeable.ts +1337 -0
  417. package/typechain-types/OFTCoreUpgradeable.ts +1337 -0
  418. package/typechain-types/OFTUpgradeable.ts +1681 -0
  419. package/typechain-types/OptionsBuilder.ts +57 -0
  420. package/typechain-types/PTLooperBase.ts +1759 -0
  421. package/typechain-types/PTLooperView.ts +618 -0
  422. package/typechain-types/PendleBridgePTFactory.ts +1311 -0
  423. package/typechain-types/PendleBridgedPrincipalToken.ts +67 -20
  424. package/typechain-types/PendleBridgedPrincipalTokenAlt.ts +1755 -0
  425. package/typechain-types/PendleFeeSetter.ts +53 -0
  426. package/typechain-types/PendleLimitRouter.ts +233 -5
  427. package/typechain-types/PendleMerkleDistributor.ts +0 -106
  428. package/typechain-types/PendleMultiTokenMerkleDistributor.ts +0 -158
  429. package/typechain-types/PendleOFT.ts +1675 -0
  430. package/typechain-types/PendleOFTAlt.ts +1694 -0
  431. package/typechain-types/PendlePTLooper.ts +1784 -0
  432. package/typechain-types/PendlePTLooperView.ts +648 -0
  433. package/typechain-types/PendleProxyAdmin.ts +341 -0
  434. package/typechain-types/PendleSwapHelper.ts +161 -0
  435. package/typechain-types/ProxyAdmin.ts +341 -0
  436. package/typechain-types/UUPSUpgradeable.ts +0 -9
  437. package/typechain-types/factories/AaveMoneyMarketView__factory.ts +450 -0
  438. package/typechain-types/factories/AaveMoneyMarket__factory.ts +726 -0
  439. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  440. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  441. package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
  442. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  443. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  444. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  445. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  446. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  447. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  448. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  449. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  450. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  451. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  452. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  453. package/typechain-types/factories/BaseMoneyMarketView__factory.ts +279 -0
  454. package/typechain-types/factories/BaseMoneyMarket__factory.ts +599 -0
  455. package/typechain-types/factories/BridgeFunder__factory.ts +265 -0
  456. package/typechain-types/factories/DVNOptions__factory.ts +77 -0
  457. package/typechain-types/factories/ExecutorOptions__factory.ts +84 -0
  458. package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
  459. package/typechain-types/factories/FixedPricePTAMMV2__factory.ts +824 -0
  460. package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
  461. package/typechain-types/factories/IAToken__factory.ts +258 -0
  462. package/typechain-types/factories/IAaveOracle__factory.ts +132 -0
  463. package/typechain-types/factories/IAaveRewardsController__factory.ts +743 -0
  464. package/typechain-types/factories/IDefaultReserveInterestRateStrategyV31__factory.ts +441 -0
  465. package/typechain-types/factories/IDefaultReserveInterestRateStrategyV3__factory.ts +278 -0
  466. package/typechain-types/factories/IDssPsm__factory.ts +122 -0
  467. package/typechain-types/factories/IERC4626__factory.ts +635 -0
  468. package/typechain-types/factories/IFlashLoanReceiver__factory.ts +65 -0
  469. package/typechain-types/factories/IIrm__factory.ts +243 -0
  470. package/typechain-types/factories/IMoneyMarketEvents__factory.ts +225 -0
  471. package/typechain-types/factories/IMoneyMarketView__factory.ts +253 -0
  472. package/typechain-types/factories/IMoneyMarket__factory.ts +596 -0
  473. package/typechain-types/factories/IMorphoOracle__factory.ts +36 -0
  474. package/typechain-types/factories/IMorpho__factory.ts +1045 -0
  475. package/typechain-types/factories/IMulticall__factory.ts +66 -0
  476. package/typechain-types/factories/IOFT__factory.ts +11 -0
  477. package/typechain-types/factories/IPAllActionV3__factory.ts +0 -88
  478. package/typechain-types/factories/IPBridgeFunder__factory.ts +100 -0
  479. package/typechain-types/factories/IPBridgePTFactory__factory.ts +1041 -0
  480. package/typechain-types/factories/IPBridgedPrincipalToken__factory.ts +11 -0
  481. package/typechain-types/factories/IPFixedPricePTAMMV2__factory.ts +621 -0
  482. package/typechain-types/factories/IPLimitRouter__factory.ts +156 -0
  483. package/typechain-types/factories/IPLoopPositionBoxFactory__factory.ts +420 -0
  484. package/typechain-types/factories/IPLoopPositionBox__factory.ts +198 -0
  485. package/typechain-types/factories/IPMerkleDistributor__factory.ts +0 -67
  486. package/typechain-types/factories/IPMultiTokenMerkleDistributor__factory.ts +0 -120
  487. package/typechain-types/factories/IPPTLooperView__factory.ts +331 -0
  488. package/typechain-types/factories/IPPTLooper__factory.ts +2506 -0
  489. package/typechain-types/factories/IPSwapHelper__factory.ts +111 -0
  490. package/typechain-types/factories/IPoolAddressesProvider__factory.ts +526 -0
  491. package/typechain-types/factories/IPoolDataProviderV31__factory.ts +596 -0
  492. package/typechain-types/factories/IPoolDataProviderV3__factory.ts +554 -0
  493. package/typechain-types/factories/IPool__factory.ts +1609 -0
  494. package/typechain-types/factories/IPot__factory.ts +98 -0
  495. package/typechain-types/factories/IPriceOracleGetter__factory.ts +71 -0
  496. package/typechain-types/factories/ISDAI__factory.ts +645 -0
  497. package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
  498. package/typechain-types/factories/LimitRouterBase__factory.ts +258 -1
  499. package/typechain-types/factories/LoopPositionBoxFactory__factory.ts +648 -0
  500. package/typechain-types/factories/LoopPositionBox__factory.ts +277 -0
  501. package/typechain-types/factories/MarketSweed__factory.ts +1 -1
  502. package/typechain-types/factories/MintSyHelper__factory.ts +168 -0
  503. package/typechain-types/factories/MorphoBlueMoneyMarketView__factory.ts +384 -0
  504. package/typechain-types/factories/MorphoBlueMoneyMarket__factory.ts +691 -0
  505. package/typechain-types/factories/Multicall__factory.ts +104 -0
  506. package/typechain-types/factories/OAppPreCrimeSimulatorUpgradeable__factory.ts +311 -0
  507. package/typechain-types/factories/OFTAdapterAltImpl__factory.ts +1387 -0
  508. package/typechain-types/factories/OFTAdapterImpl__factory.ts +49 -25
  509. package/typechain-types/factories/OFTAdapterUpgradeable__factory.ts +1287 -0
  510. package/typechain-types/factories/OFTAdapter__factory.ts +11 -0
  511. package/typechain-types/factories/OFTCoreUpgradeable__factory.ts +1283 -0
  512. package/typechain-types/factories/OFTCore__factory.ts +11 -0
  513. package/typechain-types/factories/OFTUpgradeable__factory.ts +1553 -0
  514. package/typechain-types/factories/OFT__factory.ts +11 -0
  515. package/typechain-types/factories/OptionsBuilder__factory.ts +91 -0
  516. package/typechain-types/factories/PTLooperBase__factory.ts +2656 -0
  517. package/typechain-types/factories/PTLooperView__factory.ts +467 -0
  518. package/typechain-types/factories/PendleBridgePTFactory__factory.ts +1481 -0
  519. package/typechain-types/factories/PendleBridgedPrincipalTokenAlt__factory.ts +1704 -0
  520. package/typechain-types/factories/PendleBridgedPrincipalToken__factory.ts +60 -58
  521. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
  522. package/typechain-types/factories/PendleFeeSetter__factory.ts +36 -1
  523. package/typechain-types/factories/PendleLimitRouter__factory.ts +268 -3
  524. package/typechain-types/factories/PendleMerkleDistributor__factory.ts +1 -87
  525. package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -121
  526. package/typechain-types/factories/PendleOFTAlt__factory.ts +1628 -0
  527. package/typechain-types/factories/PendleOFT__factory.ts +1599 -0
  528. package/typechain-types/factories/PendlePTLooperView__factory.ts +499 -0
  529. package/typechain-types/factories/PendlePTLooper__factory.ts +2738 -0
  530. package/typechain-types/factories/PendlePTOFTAdapterFactory__factory.ts +1 -1
  531. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
  532. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  533. package/typechain-types/factories/PendleProxyAdmin__factory.ts +229 -0
  534. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  535. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  536. package/typechain-types/factories/PendleSwapHelper__factory.ts +152 -0
  537. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  538. package/typechain-types/factories/ProxyAdmin__factory.ts +210 -0
  539. package/typechain-types/factories/Reflector__factory.ts +1 -1
  540. package/typechain-types/factories/UUPSUpgradeable__factory.ts +0 -13
  541. package/typechain-types/hardhat.d.ts +196 -34
  542. package/typechain-types/index.ts +46 -10
  543. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +0 -4
  544. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.json +0 -667
  545. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +0 -4
  546. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.json +0 -280
  547. package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +0 -4
  548. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +0 -4
  549. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +0 -4
  550. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +0 -4
  551. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +0 -99
  552. package/contracts/cross-chain/FixedPricePTAMM.sol +0 -200
  553. package/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol +0 -38
  554. package/contracts/interfaces/IPFixedPricePTAMM.sol +0 -69
@@ -0,0 +1,2506 @@
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 { IPPTLooper, IPPTLooperInterface } from "../IPPTLooper";
8
+
9
+ const _abi = [
10
+ {
11
+ anonymous: false,
12
+ inputs: [
13
+ {
14
+ indexed: true,
15
+ internalType: "contract IPLoopPositionBox",
16
+ name: "box",
17
+ type: "address",
18
+ },
19
+ {
20
+ indexed: false,
21
+ internalType: "uint256",
22
+ name: "ptLent",
23
+ type: "uint256",
24
+ },
25
+ {
26
+ indexed: false,
27
+ internalType: "uint256",
28
+ name: "debtBorrowed",
29
+ type: "uint256",
30
+ },
31
+ ],
32
+ name: "MoneyMarketLentThenBorrowed",
33
+ type: "event",
34
+ },
35
+ {
36
+ anonymous: false,
37
+ inputs: [
38
+ {
39
+ indexed: true,
40
+ internalType: "contract IPLoopPositionBox",
41
+ name: "box",
42
+ type: "address",
43
+ },
44
+ {
45
+ indexed: false,
46
+ internalType: "uint256",
47
+ name: "debtRepaid",
48
+ type: "uint256",
49
+ },
50
+ {
51
+ indexed: false,
52
+ internalType: "uint256",
53
+ name: "ptWithdrawn",
54
+ type: "uint256",
55
+ },
56
+ ],
57
+ name: "MoneyMarketRepaidThenWithdrawn",
58
+ type: "event",
59
+ },
60
+ {
61
+ anonymous: false,
62
+ inputs: [
63
+ {
64
+ indexed: true,
65
+ internalType: "address",
66
+ name: "owner",
67
+ type: "address",
68
+ },
69
+ {
70
+ indexed: true,
71
+ internalType: "bytes32",
72
+ name: "boxId",
73
+ type: "bytes32",
74
+ },
75
+ {
76
+ indexed: false,
77
+ internalType: "bytes32",
78
+ name: "ownerSigHash",
79
+ type: "bytes32",
80
+ },
81
+ {
82
+ indexed: false,
83
+ internalType: "uint256",
84
+ name: "nonce",
85
+ type: "uint256",
86
+ },
87
+ {
88
+ indexed: false,
89
+ internalType: "uint256",
90
+ name: "preDebtBalance",
91
+ type: "uint256",
92
+ },
93
+ {
94
+ indexed: false,
95
+ internalType: "uint256",
96
+ name: "netPtToSwap",
97
+ type: "uint256",
98
+ },
99
+ {
100
+ indexed: false,
101
+ internalType: "uint256",
102
+ name: "postDebtBalance",
103
+ type: "uint256",
104
+ },
105
+ ],
106
+ name: "PositionDecreased",
107
+ type: "event",
108
+ },
109
+ {
110
+ anonymous: false,
111
+ inputs: [
112
+ {
113
+ indexed: true,
114
+ internalType: "address",
115
+ name: "owner",
116
+ type: "address",
117
+ },
118
+ {
119
+ indexed: true,
120
+ internalType: "bytes32",
121
+ name: "boxId",
122
+ type: "bytes32",
123
+ },
124
+ {
125
+ indexed: false,
126
+ internalType: "bytes32",
127
+ name: "ownerSigHash",
128
+ type: "bytes32",
129
+ },
130
+ {
131
+ indexed: false,
132
+ internalType: "uint256",
133
+ name: "nonce",
134
+ type: "uint256",
135
+ },
136
+ {
137
+ indexed: false,
138
+ internalType: "uint256",
139
+ name: "preDebtBalance",
140
+ type: "uint256",
141
+ },
142
+ {
143
+ indexed: false,
144
+ internalType: "uint256",
145
+ name: "netPtToMM",
146
+ type: "uint256",
147
+ },
148
+ {
149
+ indexed: false,
150
+ internalType: "uint256",
151
+ name: "postDebtBalance",
152
+ type: "uint256",
153
+ },
154
+ ],
155
+ name: "PositionIncreased",
156
+ type: "event",
157
+ },
158
+ {
159
+ anonymous: false,
160
+ inputs: [
161
+ {
162
+ indexed: false,
163
+ internalType: "address",
164
+ name: "executor",
165
+ type: "address",
166
+ },
167
+ ],
168
+ name: "SetExecutor",
169
+ type: "event",
170
+ },
171
+ {
172
+ anonymous: false,
173
+ inputs: [
174
+ {
175
+ indexed: false,
176
+ internalType: "address",
177
+ name: "proposer",
178
+ type: "address",
179
+ },
180
+ ],
181
+ name: "SetProposer",
182
+ type: "event",
183
+ },
184
+ {
185
+ anonymous: false,
186
+ inputs: [
187
+ {
188
+ indexed: true,
189
+ internalType: "contract IPLoopPositionBox",
190
+ name: "box",
191
+ type: "address",
192
+ },
193
+ {
194
+ indexed: true,
195
+ internalType: "address",
196
+ name: "token",
197
+ type: "address",
198
+ },
199
+ {
200
+ indexed: false,
201
+ internalType: "uint256",
202
+ name: "amount",
203
+ type: "uint256",
204
+ },
205
+ ],
206
+ name: "TokenBridged",
207
+ type: "event",
208
+ },
209
+ {
210
+ anonymous: false,
211
+ inputs: [
212
+ {
213
+ indexed: true,
214
+ internalType: "contract IPLoopPositionBox",
215
+ name: "box",
216
+ type: "address",
217
+ },
218
+ {
219
+ indexed: true,
220
+ internalType: "address",
221
+ name: "tokenIn",
222
+ type: "address",
223
+ },
224
+ {
225
+ indexed: false,
226
+ internalType: "uint256",
227
+ name: "netIn",
228
+ type: "uint256",
229
+ },
230
+ {
231
+ indexed: true,
232
+ internalType: "address",
233
+ name: "tokenOut",
234
+ type: "address",
235
+ },
236
+ {
237
+ indexed: false,
238
+ internalType: "uint256",
239
+ name: "netOut",
240
+ type: "uint256",
241
+ },
242
+ ],
243
+ name: "TokenSwapped",
244
+ type: "event",
245
+ },
246
+ {
247
+ anonymous: false,
248
+ inputs: [
249
+ {
250
+ indexed: true,
251
+ internalType: "address",
252
+ name: "owner",
253
+ type: "address",
254
+ },
255
+ {
256
+ indexed: true,
257
+ internalType: "bytes32",
258
+ name: "boxId",
259
+ type: "bytes32",
260
+ },
261
+ {
262
+ indexed: false,
263
+ internalType: "bytes32",
264
+ name: "ownerSigHash",
265
+ type: "bytes32",
266
+ },
267
+ {
268
+ indexed: false,
269
+ internalType: "uint32",
270
+ name: "sessionNonce",
271
+ type: "uint32",
272
+ },
273
+ {
274
+ indexed: false,
275
+ internalType: "bool",
276
+ name: "isInitiate",
277
+ type: "bool",
278
+ },
279
+ ],
280
+ name: "UserRequestStateSet",
281
+ type: "event",
282
+ },
283
+ {
284
+ anonymous: false,
285
+ inputs: [
286
+ {
287
+ indexed: true,
288
+ internalType: "address",
289
+ name: "owner",
290
+ type: "address",
291
+ },
292
+ {
293
+ indexed: true,
294
+ internalType: "bytes32",
295
+ name: "boxId",
296
+ type: "bytes32",
297
+ },
298
+ {
299
+ indexed: false,
300
+ internalType: "bytes32",
301
+ name: "ownerSigHash",
302
+ type: "bytes32",
303
+ },
304
+ {
305
+ indexed: false,
306
+ internalType: "uint256",
307
+ name: "nonce",
308
+ type: "uint256",
309
+ },
310
+ {
311
+ indexed: false,
312
+ internalType: "address",
313
+ name: "tokenOut",
314
+ type: "address",
315
+ },
316
+ {
317
+ indexed: false,
318
+ internalType: "uint256",
319
+ name: "netOut",
320
+ type: "uint256",
321
+ },
322
+ {
323
+ indexed: false,
324
+ internalType: "uint256",
325
+ name: "fee",
326
+ type: "uint256",
327
+ },
328
+ ],
329
+ name: "Withdrawn",
330
+ type: "event",
331
+ },
332
+ {
333
+ inputs: [],
334
+ name: "POSITION_BOX_FACTORY",
335
+ outputs: [
336
+ {
337
+ internalType: "contract IPLoopPositionBoxFactory",
338
+ name: "",
339
+ type: "address",
340
+ },
341
+ ],
342
+ stateMutability: "view",
343
+ type: "function",
344
+ },
345
+ {
346
+ inputs: [
347
+ {
348
+ internalType: "address",
349
+ name: "owner",
350
+ type: "address",
351
+ },
352
+ {
353
+ internalType: "bytes32",
354
+ name: "boxId",
355
+ type: "bytes32",
356
+ },
357
+ ],
358
+ name: "claimMoneyMarketRewards",
359
+ outputs: [],
360
+ stateMutability: "nonpayable",
361
+ type: "function",
362
+ },
363
+ {
364
+ inputs: [
365
+ {
366
+ components: [
367
+ {
368
+ components: [
369
+ {
370
+ internalType: "address",
371
+ name: "owner",
372
+ type: "address",
373
+ },
374
+ {
375
+ internalType: "bytes32",
376
+ name: "boxId",
377
+ type: "bytes32",
378
+ },
379
+ {
380
+ internalType: "uint256",
381
+ name: "expiry",
382
+ type: "uint256",
383
+ },
384
+ {
385
+ internalType: "bytes32",
386
+ name: "ownerSigHash",
387
+ type: "bytes32",
388
+ },
389
+ {
390
+ internalType: "uint256",
391
+ name: "nonce",
392
+ type: "uint256",
393
+ },
394
+ ],
395
+ internalType: "struct IPPTLooper.BoxPermit",
396
+ name: "permit",
397
+ type: "tuple",
398
+ },
399
+ {
400
+ components: [
401
+ {
402
+ internalType: "address",
403
+ name: "extRouter",
404
+ type: "address",
405
+ },
406
+ {
407
+ internalType: "address",
408
+ name: "approve",
409
+ type: "address",
410
+ },
411
+ {
412
+ internalType: "bytes",
413
+ name: "callData",
414
+ type: "bytes",
415
+ },
416
+ ],
417
+ internalType: "struct IPPTLooper.BoxApprovedCall",
418
+ name: "swap",
419
+ type: "tuple",
420
+ },
421
+ {
422
+ components: [
423
+ {
424
+ internalType: "address",
425
+ name: "extRouter",
426
+ type: "address",
427
+ },
428
+ {
429
+ internalType: "address",
430
+ name: "approve",
431
+ type: "address",
432
+ },
433
+ {
434
+ internalType: "bytes",
435
+ name: "callData",
436
+ type: "bytes",
437
+ },
438
+ ],
439
+ internalType: "struct IPPTLooper.BoxApprovedCall",
440
+ name: "bridge",
441
+ type: "tuple",
442
+ },
443
+ {
444
+ internalType: "uint256",
445
+ name: "maxBridgeAmount",
446
+ type: "uint256",
447
+ },
448
+ {
449
+ internalType: "uint256",
450
+ name: "bridgeNativeFee",
451
+ type: "uint256",
452
+ },
453
+ {
454
+ internalType: "uint256",
455
+ name: "minDebtRepaid",
456
+ type: "uint256",
457
+ },
458
+ {
459
+ internalType: "uint256",
460
+ name: "amountPtWithdrawn",
461
+ type: "uint256",
462
+ },
463
+ {
464
+ internalType: "uint256",
465
+ name: "minPtWithdrawn",
466
+ type: "uint256",
467
+ },
468
+ {
469
+ internalType: "uint256",
470
+ name: "postWithdrawMaxLTV",
471
+ type: "uint256",
472
+ },
473
+ ],
474
+ internalType: "struct IPPTLooper.DecreasePositionMessage",
475
+ name: "ms",
476
+ type: "tuple",
477
+ },
478
+ {
479
+ internalType: "bytes",
480
+ name: "proposerSig",
481
+ type: "bytes",
482
+ },
483
+ {
484
+ components: [
485
+ {
486
+ components: [
487
+ {
488
+ components: [
489
+ {
490
+ internalType: "bytes32",
491
+ name: "boxId",
492
+ type: "bytes32",
493
+ },
494
+ {
495
+ internalType: "uint256",
496
+ name: "expiry",
497
+ type: "uint256",
498
+ },
499
+ {
500
+ internalType: "uint32",
501
+ name: "sessionNonce",
502
+ type: "uint32",
503
+ },
504
+ {
505
+ internalType: "uint32",
506
+ name: "permitNonceCap",
507
+ type: "uint32",
508
+ },
509
+ ],
510
+ internalType: "struct IPPTLooper.RequestHeader",
511
+ name: "header",
512
+ type: "tuple",
513
+ },
514
+ {
515
+ internalType: "uint256",
516
+ name: "targetMaxDebt",
517
+ type: "uint256",
518
+ },
519
+ {
520
+ internalType: "uint256",
521
+ name: "minPtToTokenSwapRate",
522
+ type: "uint256",
523
+ },
524
+ {
525
+ internalType: "uint256",
526
+ name: "postWithdrawMaxLTV",
527
+ type: "uint256",
528
+ },
529
+ ],
530
+ internalType: "struct IPPTLooper.DecreasePositionRequest",
531
+ name: "decreasePositionReq",
532
+ type: "tuple",
533
+ },
534
+ {
535
+ components: [
536
+ {
537
+ components: [
538
+ {
539
+ internalType: "bytes32",
540
+ name: "boxId",
541
+ type: "bytes32",
542
+ },
543
+ {
544
+ internalType: "uint256",
545
+ name: "expiry",
546
+ type: "uint256",
547
+ },
548
+ {
549
+ internalType: "uint32",
550
+ name: "sessionNonce",
551
+ type: "uint32",
552
+ },
553
+ {
554
+ internalType: "uint32",
555
+ name: "permitNonceCap",
556
+ type: "uint32",
557
+ },
558
+ ],
559
+ internalType: "struct IPPTLooper.RequestHeader",
560
+ name: "header",
561
+ type: "tuple",
562
+ },
563
+ {
564
+ internalType: "bool",
565
+ name: "receiveOnSpoke",
566
+ type: "bool",
567
+ },
568
+ {
569
+ internalType: "address",
570
+ name: "hubTokenOut",
571
+ type: "address",
572
+ },
573
+ {
574
+ internalType: "address",
575
+ name: "dstTokenOut",
576
+ type: "address",
577
+ },
578
+ {
579
+ internalType: "uint256",
580
+ name: "minTokenOut",
581
+ type: "uint256",
582
+ },
583
+ ],
584
+ internalType: "struct IPPTLooper.SwapBridgeWithdrawAllRequest",
585
+ name: "swapBridgeWithdrawAllReq",
586
+ type: "tuple",
587
+ },
588
+ ],
589
+ internalType: "struct IPPTLooper.BatchDecPosThenWithdrawRequest",
590
+ name: "req",
591
+ type: "tuple",
592
+ },
593
+ {
594
+ internalType: "bytes",
595
+ name: "ownerSig",
596
+ type: "bytes",
597
+ },
598
+ ],
599
+ name: "decreaseLoopPosition",
600
+ outputs: [],
601
+ stateMutability: "payable",
602
+ type: "function",
603
+ },
604
+ {
605
+ inputs: [
606
+ {
607
+ components: [
608
+ {
609
+ components: [
610
+ {
611
+ internalType: "address",
612
+ name: "owner",
613
+ type: "address",
614
+ },
615
+ {
616
+ internalType: "bytes32",
617
+ name: "boxId",
618
+ type: "bytes32",
619
+ },
620
+ {
621
+ internalType: "uint256",
622
+ name: "expiry",
623
+ type: "uint256",
624
+ },
625
+ {
626
+ internalType: "bytes32",
627
+ name: "ownerSigHash",
628
+ type: "bytes32",
629
+ },
630
+ {
631
+ internalType: "uint256",
632
+ name: "nonce",
633
+ type: "uint256",
634
+ },
635
+ ],
636
+ internalType: "struct IPPTLooper.BoxPermit",
637
+ name: "permit",
638
+ type: "tuple",
639
+ },
640
+ {
641
+ components: [
642
+ {
643
+ internalType: "address",
644
+ name: "extRouter",
645
+ type: "address",
646
+ },
647
+ {
648
+ internalType: "address",
649
+ name: "approve",
650
+ type: "address",
651
+ },
652
+ {
653
+ internalType: "bytes",
654
+ name: "callData",
655
+ type: "bytes",
656
+ },
657
+ ],
658
+ internalType: "struct IPPTLooper.BoxApprovedCall",
659
+ name: "swap",
660
+ type: "tuple",
661
+ },
662
+ {
663
+ components: [
664
+ {
665
+ internalType: "address",
666
+ name: "extRouter",
667
+ type: "address",
668
+ },
669
+ {
670
+ internalType: "address",
671
+ name: "approve",
672
+ type: "address",
673
+ },
674
+ {
675
+ internalType: "bytes",
676
+ name: "callData",
677
+ type: "bytes",
678
+ },
679
+ ],
680
+ internalType: "struct IPPTLooper.BoxApprovedCall",
681
+ name: "bridge",
682
+ type: "tuple",
683
+ },
684
+ {
685
+ internalType: "uint256",
686
+ name: "maxBridgeAmount",
687
+ type: "uint256",
688
+ },
689
+ {
690
+ internalType: "uint256",
691
+ name: "bridgeNativeFee",
692
+ type: "uint256",
693
+ },
694
+ {
695
+ internalType: "uint256",
696
+ name: "minDebtRepaid",
697
+ type: "uint256",
698
+ },
699
+ {
700
+ internalType: "uint256",
701
+ name: "amountPtWithdrawn",
702
+ type: "uint256",
703
+ },
704
+ {
705
+ internalType: "uint256",
706
+ name: "minPtWithdrawn",
707
+ type: "uint256",
708
+ },
709
+ {
710
+ internalType: "uint256",
711
+ name: "postWithdrawMaxLTV",
712
+ type: "uint256",
713
+ },
714
+ ],
715
+ internalType: "struct IPPTLooper.DecreasePositionMessage",
716
+ name: "ms",
717
+ type: "tuple",
718
+ },
719
+ {
720
+ internalType: "bytes",
721
+ name: "proposerSig",
722
+ type: "bytes",
723
+ },
724
+ {
725
+ components: [
726
+ {
727
+ components: [
728
+ {
729
+ internalType: "bytes32",
730
+ name: "boxId",
731
+ type: "bytes32",
732
+ },
733
+ {
734
+ internalType: "uint256",
735
+ name: "expiry",
736
+ type: "uint256",
737
+ },
738
+ {
739
+ internalType: "uint32",
740
+ name: "sessionNonce",
741
+ type: "uint32",
742
+ },
743
+ {
744
+ internalType: "uint32",
745
+ name: "permitNonceCap",
746
+ type: "uint32",
747
+ },
748
+ ],
749
+ internalType: "struct IPPTLooper.RequestHeader",
750
+ name: "header",
751
+ type: "tuple",
752
+ },
753
+ {
754
+ internalType: "uint256",
755
+ name: "targetMaxDebt",
756
+ type: "uint256",
757
+ },
758
+ {
759
+ internalType: "uint256",
760
+ name: "minPtToTokenSwapRate",
761
+ type: "uint256",
762
+ },
763
+ {
764
+ internalType: "uint256",
765
+ name: "postWithdrawMaxLTV",
766
+ type: "uint256",
767
+ },
768
+ ],
769
+ internalType: "struct IPPTLooper.DecreasePositionRequest",
770
+ name: "req",
771
+ type: "tuple",
772
+ },
773
+ {
774
+ internalType: "bytes",
775
+ name: "ownerSig",
776
+ type: "bytes",
777
+ },
778
+ ],
779
+ name: "decreaseLoopPosition",
780
+ outputs: [],
781
+ stateMutability: "payable",
782
+ type: "function",
783
+ },
784
+ {
785
+ inputs: [
786
+ {
787
+ internalType: "bytes32",
788
+ name: "boxId",
789
+ type: "bytes32",
790
+ },
791
+ {
792
+ internalType: "address",
793
+ name: "tokenIn",
794
+ type: "address",
795
+ },
796
+ {
797
+ internalType: "uint256",
798
+ name: "amountIn",
799
+ type: "uint256",
800
+ },
801
+ {
802
+ components: [
803
+ {
804
+ internalType: "address",
805
+ name: "extRouter",
806
+ type: "address",
807
+ },
808
+ {
809
+ internalType: "address",
810
+ name: "approve",
811
+ type: "address",
812
+ },
813
+ {
814
+ internalType: "bytes",
815
+ name: "callData",
816
+ type: "bytes",
817
+ },
818
+ ],
819
+ internalType: "struct IPPTLooper.BoxApprovedCall",
820
+ name: "swapCall",
821
+ type: "tuple",
822
+ },
823
+ {
824
+ internalType: "uint256",
825
+ name: "minDebtTokenSwapOut",
826
+ type: "uint256",
827
+ },
828
+ ],
829
+ name: "depositToBox",
830
+ outputs: [
831
+ {
832
+ internalType: "uint256",
833
+ name: "amountDeposited",
834
+ type: "uint256",
835
+ },
836
+ ],
837
+ stateMutability: "payable",
838
+ type: "function",
839
+ },
840
+ {
841
+ inputs: [],
842
+ name: "executor",
843
+ outputs: [
844
+ {
845
+ internalType: "address",
846
+ name: "",
847
+ type: "address",
848
+ },
849
+ ],
850
+ stateMutability: "view",
851
+ type: "function",
852
+ },
853
+ {
854
+ inputs: [
855
+ {
856
+ components: [
857
+ {
858
+ internalType: "address",
859
+ name: "extRouter",
860
+ type: "address",
861
+ },
862
+ {
863
+ internalType: "address",
864
+ name: "approve",
865
+ type: "address",
866
+ },
867
+ {
868
+ internalType: "bytes",
869
+ name: "callData",
870
+ type: "bytes",
871
+ },
872
+ ],
873
+ internalType: "struct IPPTLooper.BoxApprovedCall",
874
+ name: "call",
875
+ type: "tuple",
876
+ },
877
+ ],
878
+ name: "hashBoxApprovedCall",
879
+ outputs: [
880
+ {
881
+ internalType: "bytes32",
882
+ name: "",
883
+ type: "bytes32",
884
+ },
885
+ ],
886
+ stateMutability: "view",
887
+ type: "function",
888
+ },
889
+ {
890
+ inputs: [
891
+ {
892
+ components: [
893
+ {
894
+ internalType: "address",
895
+ name: "owner",
896
+ type: "address",
897
+ },
898
+ {
899
+ internalType: "bytes32",
900
+ name: "boxId",
901
+ type: "bytes32",
902
+ },
903
+ {
904
+ internalType: "uint256",
905
+ name: "expiry",
906
+ type: "uint256",
907
+ },
908
+ {
909
+ internalType: "bytes32",
910
+ name: "ownerSigHash",
911
+ type: "bytes32",
912
+ },
913
+ {
914
+ internalType: "uint256",
915
+ name: "nonce",
916
+ type: "uint256",
917
+ },
918
+ ],
919
+ internalType: "struct IPPTLooper.BoxPermit",
920
+ name: "permit",
921
+ type: "tuple",
922
+ },
923
+ ],
924
+ name: "hashBoxPermit",
925
+ outputs: [
926
+ {
927
+ internalType: "bytes32",
928
+ name: "",
929
+ type: "bytes32",
930
+ },
931
+ ],
932
+ stateMutability: "view",
933
+ type: "function",
934
+ },
935
+ {
936
+ inputs: [
937
+ {
938
+ components: [
939
+ {
940
+ internalType: "bytes32",
941
+ name: "boxId",
942
+ type: "bytes32",
943
+ },
944
+ {
945
+ internalType: "uint256",
946
+ name: "expiry",
947
+ type: "uint256",
948
+ },
949
+ {
950
+ internalType: "uint32",
951
+ name: "sessionNonce",
952
+ type: "uint32",
953
+ },
954
+ {
955
+ internalType: "uint32",
956
+ name: "permitNonceCap",
957
+ type: "uint32",
958
+ },
959
+ ],
960
+ internalType: "struct IPPTLooper.RequestHeader",
961
+ name: "header",
962
+ type: "tuple",
963
+ },
964
+ ],
965
+ name: "hashRequestHeader",
966
+ outputs: [
967
+ {
968
+ internalType: "bytes32",
969
+ name: "",
970
+ type: "bytes32",
971
+ },
972
+ ],
973
+ stateMutability: "view",
974
+ type: "function",
975
+ },
976
+ {
977
+ inputs: [
978
+ {
979
+ components: [
980
+ {
981
+ components: [
982
+ {
983
+ components: [
984
+ {
985
+ internalType: "bytes32",
986
+ name: "boxId",
987
+ type: "bytes32",
988
+ },
989
+ {
990
+ internalType: "uint256",
991
+ name: "expiry",
992
+ type: "uint256",
993
+ },
994
+ {
995
+ internalType: "uint32",
996
+ name: "sessionNonce",
997
+ type: "uint32",
998
+ },
999
+ {
1000
+ internalType: "uint32",
1001
+ name: "permitNonceCap",
1002
+ type: "uint32",
1003
+ },
1004
+ ],
1005
+ internalType: "struct IPPTLooper.RequestHeader",
1006
+ name: "header",
1007
+ type: "tuple",
1008
+ },
1009
+ {
1010
+ internalType: "uint256",
1011
+ name: "targetMaxDebt",
1012
+ type: "uint256",
1013
+ },
1014
+ {
1015
+ internalType: "uint256",
1016
+ name: "minPtToTokenSwapRate",
1017
+ type: "uint256",
1018
+ },
1019
+ {
1020
+ internalType: "uint256",
1021
+ name: "postWithdrawMaxLTV",
1022
+ type: "uint256",
1023
+ },
1024
+ ],
1025
+ internalType: "struct IPPTLooper.DecreasePositionRequest",
1026
+ name: "decreasePositionReq",
1027
+ type: "tuple",
1028
+ },
1029
+ {
1030
+ components: [
1031
+ {
1032
+ components: [
1033
+ {
1034
+ internalType: "bytes32",
1035
+ name: "boxId",
1036
+ type: "bytes32",
1037
+ },
1038
+ {
1039
+ internalType: "uint256",
1040
+ name: "expiry",
1041
+ type: "uint256",
1042
+ },
1043
+ {
1044
+ internalType: "uint32",
1045
+ name: "sessionNonce",
1046
+ type: "uint32",
1047
+ },
1048
+ {
1049
+ internalType: "uint32",
1050
+ name: "permitNonceCap",
1051
+ type: "uint32",
1052
+ },
1053
+ ],
1054
+ internalType: "struct IPPTLooper.RequestHeader",
1055
+ name: "header",
1056
+ type: "tuple",
1057
+ },
1058
+ {
1059
+ internalType: "bool",
1060
+ name: "receiveOnSpoke",
1061
+ type: "bool",
1062
+ },
1063
+ {
1064
+ internalType: "address",
1065
+ name: "hubTokenOut",
1066
+ type: "address",
1067
+ },
1068
+ {
1069
+ internalType: "address",
1070
+ name: "dstTokenOut",
1071
+ type: "address",
1072
+ },
1073
+ {
1074
+ internalType: "uint256",
1075
+ name: "minTokenOut",
1076
+ type: "uint256",
1077
+ },
1078
+ ],
1079
+ internalType: "struct IPPTLooper.SwapBridgeWithdrawAllRequest",
1080
+ name: "swapBridgeWithdrawAllReq",
1081
+ type: "tuple",
1082
+ },
1083
+ ],
1084
+ internalType: "struct IPPTLooper.BatchDecPosThenWithdrawRequest",
1085
+ name: "req",
1086
+ type: "tuple",
1087
+ },
1088
+ ],
1089
+ name: "hashTyped_BatchDecPosThenWithdrawReq",
1090
+ outputs: [
1091
+ {
1092
+ internalType: "bytes32",
1093
+ name: "",
1094
+ type: "bytes32",
1095
+ },
1096
+ ],
1097
+ stateMutability: "view",
1098
+ type: "function",
1099
+ },
1100
+ {
1101
+ inputs: [
1102
+ {
1103
+ components: [
1104
+ {
1105
+ components: [
1106
+ {
1107
+ internalType: "address",
1108
+ name: "owner",
1109
+ type: "address",
1110
+ },
1111
+ {
1112
+ internalType: "bytes32",
1113
+ name: "boxId",
1114
+ type: "bytes32",
1115
+ },
1116
+ {
1117
+ internalType: "uint256",
1118
+ name: "expiry",
1119
+ type: "uint256",
1120
+ },
1121
+ {
1122
+ internalType: "bytes32",
1123
+ name: "ownerSigHash",
1124
+ type: "bytes32",
1125
+ },
1126
+ {
1127
+ internalType: "uint256",
1128
+ name: "nonce",
1129
+ type: "uint256",
1130
+ },
1131
+ ],
1132
+ internalType: "struct IPPTLooper.BoxPermit",
1133
+ name: "permit",
1134
+ type: "tuple",
1135
+ },
1136
+ {
1137
+ components: [
1138
+ {
1139
+ internalType: "address",
1140
+ name: "extRouter",
1141
+ type: "address",
1142
+ },
1143
+ {
1144
+ internalType: "address",
1145
+ name: "approve",
1146
+ type: "address",
1147
+ },
1148
+ {
1149
+ internalType: "bytes",
1150
+ name: "callData",
1151
+ type: "bytes",
1152
+ },
1153
+ ],
1154
+ internalType: "struct IPPTLooper.BoxApprovedCall",
1155
+ name: "swap",
1156
+ type: "tuple",
1157
+ },
1158
+ {
1159
+ components: [
1160
+ {
1161
+ internalType: "address",
1162
+ name: "extRouter",
1163
+ type: "address",
1164
+ },
1165
+ {
1166
+ internalType: "address",
1167
+ name: "approve",
1168
+ type: "address",
1169
+ },
1170
+ {
1171
+ internalType: "bytes",
1172
+ name: "callData",
1173
+ type: "bytes",
1174
+ },
1175
+ ],
1176
+ internalType: "struct IPPTLooper.BoxApprovedCall",
1177
+ name: "bridge",
1178
+ type: "tuple",
1179
+ },
1180
+ {
1181
+ internalType: "uint256",
1182
+ name: "maxBridgeAmount",
1183
+ type: "uint256",
1184
+ },
1185
+ {
1186
+ internalType: "uint256",
1187
+ name: "bridgeNativeFee",
1188
+ type: "uint256",
1189
+ },
1190
+ {
1191
+ internalType: "uint256",
1192
+ name: "minDebtRepaid",
1193
+ type: "uint256",
1194
+ },
1195
+ {
1196
+ internalType: "uint256",
1197
+ name: "amountPtWithdrawn",
1198
+ type: "uint256",
1199
+ },
1200
+ {
1201
+ internalType: "uint256",
1202
+ name: "minPtWithdrawn",
1203
+ type: "uint256",
1204
+ },
1205
+ {
1206
+ internalType: "uint256",
1207
+ name: "postWithdrawMaxLTV",
1208
+ type: "uint256",
1209
+ },
1210
+ ],
1211
+ internalType: "struct IPPTLooper.DecreasePositionMessage",
1212
+ name: "message",
1213
+ type: "tuple",
1214
+ },
1215
+ ],
1216
+ name: "hashTyped_DecreasePositionMsg",
1217
+ outputs: [
1218
+ {
1219
+ internalType: "bytes32",
1220
+ name: "",
1221
+ type: "bytes32",
1222
+ },
1223
+ ],
1224
+ stateMutability: "view",
1225
+ type: "function",
1226
+ },
1227
+ {
1228
+ inputs: [
1229
+ {
1230
+ components: [
1231
+ {
1232
+ components: [
1233
+ {
1234
+ internalType: "bytes32",
1235
+ name: "boxId",
1236
+ type: "bytes32",
1237
+ },
1238
+ {
1239
+ internalType: "uint256",
1240
+ name: "expiry",
1241
+ type: "uint256",
1242
+ },
1243
+ {
1244
+ internalType: "uint32",
1245
+ name: "sessionNonce",
1246
+ type: "uint32",
1247
+ },
1248
+ {
1249
+ internalType: "uint32",
1250
+ name: "permitNonceCap",
1251
+ type: "uint32",
1252
+ },
1253
+ ],
1254
+ internalType: "struct IPPTLooper.RequestHeader",
1255
+ name: "header",
1256
+ type: "tuple",
1257
+ },
1258
+ {
1259
+ internalType: "uint256",
1260
+ name: "targetMaxDebt",
1261
+ type: "uint256",
1262
+ },
1263
+ {
1264
+ internalType: "uint256",
1265
+ name: "minPtToTokenSwapRate",
1266
+ type: "uint256",
1267
+ },
1268
+ {
1269
+ internalType: "uint256",
1270
+ name: "postWithdrawMaxLTV",
1271
+ type: "uint256",
1272
+ },
1273
+ ],
1274
+ internalType: "struct IPPTLooper.DecreasePositionRequest",
1275
+ name: "request",
1276
+ type: "tuple",
1277
+ },
1278
+ ],
1279
+ name: "hashTyped_DecreasePositionReq",
1280
+ outputs: [
1281
+ {
1282
+ internalType: "bytes32",
1283
+ name: "",
1284
+ type: "bytes32",
1285
+ },
1286
+ ],
1287
+ stateMutability: "view",
1288
+ type: "function",
1289
+ },
1290
+ {
1291
+ inputs: [
1292
+ {
1293
+ components: [
1294
+ {
1295
+ components: [
1296
+ {
1297
+ internalType: "address",
1298
+ name: "owner",
1299
+ type: "address",
1300
+ },
1301
+ {
1302
+ internalType: "bytes32",
1303
+ name: "boxId",
1304
+ type: "bytes32",
1305
+ },
1306
+ {
1307
+ internalType: "uint256",
1308
+ name: "expiry",
1309
+ type: "uint256",
1310
+ },
1311
+ {
1312
+ internalType: "bytes32",
1313
+ name: "ownerSigHash",
1314
+ type: "bytes32",
1315
+ },
1316
+ {
1317
+ internalType: "uint256",
1318
+ name: "nonce",
1319
+ type: "uint256",
1320
+ },
1321
+ ],
1322
+ internalType: "struct IPPTLooper.BoxPermit",
1323
+ name: "permit",
1324
+ type: "tuple",
1325
+ },
1326
+ {
1327
+ components: [
1328
+ {
1329
+ internalType: "address",
1330
+ name: "extRouter",
1331
+ type: "address",
1332
+ },
1333
+ {
1334
+ internalType: "address",
1335
+ name: "approve",
1336
+ type: "address",
1337
+ },
1338
+ {
1339
+ internalType: "bytes",
1340
+ name: "callData",
1341
+ type: "bytes",
1342
+ },
1343
+ ],
1344
+ internalType: "struct IPPTLooper.BoxApprovedCall",
1345
+ name: "swap",
1346
+ type: "tuple",
1347
+ },
1348
+ {
1349
+ internalType: "uint256",
1350
+ name: "debtTokenFee",
1351
+ type: "uint256",
1352
+ },
1353
+ {
1354
+ components: [
1355
+ {
1356
+ internalType: "address",
1357
+ name: "extRouter",
1358
+ type: "address",
1359
+ },
1360
+ {
1361
+ internalType: "address",
1362
+ name: "approve",
1363
+ type: "address",
1364
+ },
1365
+ {
1366
+ internalType: "bytes",
1367
+ name: "callData",
1368
+ type: "bytes",
1369
+ },
1370
+ ],
1371
+ internalType: "struct IPPTLooper.BoxApprovedCall",
1372
+ name: "bridge",
1373
+ type: "tuple",
1374
+ },
1375
+ {
1376
+ internalType: "uint256",
1377
+ name: "maxBridgeAmount",
1378
+ type: "uint256",
1379
+ },
1380
+ {
1381
+ internalType: "uint256",
1382
+ name: "bridgeNativeFee",
1383
+ type: "uint256",
1384
+ },
1385
+ {
1386
+ internalType: "uint256",
1387
+ name: "minPtLent",
1388
+ type: "uint256",
1389
+ },
1390
+ {
1391
+ internalType: "uint256",
1392
+ name: "amountDebtBorrowed",
1393
+ type: "uint256",
1394
+ },
1395
+ {
1396
+ internalType: "uint256",
1397
+ name: "minDebtBorrowed",
1398
+ type: "uint256",
1399
+ },
1400
+ {
1401
+ internalType: "uint256",
1402
+ name: "postBorrowMaxLTV",
1403
+ type: "uint256",
1404
+ },
1405
+ ],
1406
+ internalType: "struct IPPTLooper.IncreasePositionMessage",
1407
+ name: "message",
1408
+ type: "tuple",
1409
+ },
1410
+ ],
1411
+ name: "hashTyped_IncreasePositionMsg",
1412
+ outputs: [
1413
+ {
1414
+ internalType: "bytes32",
1415
+ name: "",
1416
+ type: "bytes32",
1417
+ },
1418
+ ],
1419
+ stateMutability: "view",
1420
+ type: "function",
1421
+ },
1422
+ {
1423
+ inputs: [
1424
+ {
1425
+ components: [
1426
+ {
1427
+ components: [
1428
+ {
1429
+ internalType: "bytes32",
1430
+ name: "boxId",
1431
+ type: "bytes32",
1432
+ },
1433
+ {
1434
+ internalType: "uint256",
1435
+ name: "expiry",
1436
+ type: "uint256",
1437
+ },
1438
+ {
1439
+ internalType: "uint32",
1440
+ name: "sessionNonce",
1441
+ type: "uint32",
1442
+ },
1443
+ {
1444
+ internalType: "uint32",
1445
+ name: "permitNonceCap",
1446
+ type: "uint32",
1447
+ },
1448
+ ],
1449
+ internalType: "struct IPPTLooper.RequestHeader",
1450
+ name: "header",
1451
+ type: "tuple",
1452
+ },
1453
+ {
1454
+ internalType: "uint256",
1455
+ name: "targetMinPt",
1456
+ type: "uint256",
1457
+ },
1458
+ {
1459
+ internalType: "uint256",
1460
+ name: "minTokenToPtSwapRate",
1461
+ type: "uint256",
1462
+ },
1463
+ {
1464
+ internalType: "uint256",
1465
+ name: "postBorrowMaxLTV",
1466
+ type: "uint256",
1467
+ },
1468
+ {
1469
+ internalType: "bool",
1470
+ name: "isZeroPriceImpact",
1471
+ type: "bool",
1472
+ },
1473
+ ],
1474
+ internalType: "struct IPPTLooper.IncreasePositionRequest",
1475
+ name: "request",
1476
+ type: "tuple",
1477
+ },
1478
+ ],
1479
+ name: "hashTyped_IncreasePositionReq",
1480
+ outputs: [
1481
+ {
1482
+ internalType: "bytes32",
1483
+ name: "",
1484
+ type: "bytes32",
1485
+ },
1486
+ ],
1487
+ stateMutability: "view",
1488
+ type: "function",
1489
+ },
1490
+ {
1491
+ inputs: [
1492
+ {
1493
+ components: [
1494
+ {
1495
+ components: [
1496
+ {
1497
+ internalType: "address",
1498
+ name: "owner",
1499
+ type: "address",
1500
+ },
1501
+ {
1502
+ internalType: "bytes32",
1503
+ name: "boxId",
1504
+ type: "bytes32",
1505
+ },
1506
+ {
1507
+ internalType: "uint256",
1508
+ name: "expiry",
1509
+ type: "uint256",
1510
+ },
1511
+ {
1512
+ internalType: "bytes32",
1513
+ name: "ownerSigHash",
1514
+ type: "bytes32",
1515
+ },
1516
+ {
1517
+ internalType: "uint256",
1518
+ name: "nonce",
1519
+ type: "uint256",
1520
+ },
1521
+ ],
1522
+ internalType: "struct IPPTLooper.BoxPermit",
1523
+ name: "permit",
1524
+ type: "tuple",
1525
+ },
1526
+ {
1527
+ components: [
1528
+ {
1529
+ internalType: "address",
1530
+ name: "extRouter",
1531
+ type: "address",
1532
+ },
1533
+ {
1534
+ internalType: "address",
1535
+ name: "approve",
1536
+ type: "address",
1537
+ },
1538
+ {
1539
+ internalType: "bytes",
1540
+ name: "callData",
1541
+ type: "bytes",
1542
+ },
1543
+ ],
1544
+ internalType: "struct IPPTLooper.BoxApprovedCall",
1545
+ name: "swap",
1546
+ type: "tuple",
1547
+ },
1548
+ {
1549
+ components: [
1550
+ {
1551
+ internalType: "address",
1552
+ name: "extRouter",
1553
+ type: "address",
1554
+ },
1555
+ {
1556
+ internalType: "address",
1557
+ name: "approve",
1558
+ type: "address",
1559
+ },
1560
+ {
1561
+ internalType: "bytes",
1562
+ name: "callData",
1563
+ type: "bytes",
1564
+ },
1565
+ ],
1566
+ internalType: "struct IPPTLooper.BoxApprovedCall",
1567
+ name: "bridge",
1568
+ type: "tuple",
1569
+ },
1570
+ {
1571
+ internalType: "uint256",
1572
+ name: "maxBridgeAmount",
1573
+ type: "uint256",
1574
+ },
1575
+ {
1576
+ internalType: "uint256",
1577
+ name: "bridgeNativeFee",
1578
+ type: "uint256",
1579
+ },
1580
+ ],
1581
+ internalType: "struct IPPTLooper.SwapBridgeWithdrawAllMessage",
1582
+ name: "message",
1583
+ type: "tuple",
1584
+ },
1585
+ ],
1586
+ name: "hashTyped_SwapBridgeWithdrawAllMsg",
1587
+ outputs: [
1588
+ {
1589
+ internalType: "bytes32",
1590
+ name: "",
1591
+ type: "bytes32",
1592
+ },
1593
+ ],
1594
+ stateMutability: "view",
1595
+ type: "function",
1596
+ },
1597
+ {
1598
+ inputs: [
1599
+ {
1600
+ components: [
1601
+ {
1602
+ components: [
1603
+ {
1604
+ internalType: "bytes32",
1605
+ name: "boxId",
1606
+ type: "bytes32",
1607
+ },
1608
+ {
1609
+ internalType: "uint256",
1610
+ name: "expiry",
1611
+ type: "uint256",
1612
+ },
1613
+ {
1614
+ internalType: "uint32",
1615
+ name: "sessionNonce",
1616
+ type: "uint32",
1617
+ },
1618
+ {
1619
+ internalType: "uint32",
1620
+ name: "permitNonceCap",
1621
+ type: "uint32",
1622
+ },
1623
+ ],
1624
+ internalType: "struct IPPTLooper.RequestHeader",
1625
+ name: "header",
1626
+ type: "tuple",
1627
+ },
1628
+ {
1629
+ internalType: "bool",
1630
+ name: "receiveOnSpoke",
1631
+ type: "bool",
1632
+ },
1633
+ {
1634
+ internalType: "address",
1635
+ name: "hubTokenOut",
1636
+ type: "address",
1637
+ },
1638
+ {
1639
+ internalType: "address",
1640
+ name: "dstTokenOut",
1641
+ type: "address",
1642
+ },
1643
+ {
1644
+ internalType: "uint256",
1645
+ name: "minTokenOut",
1646
+ type: "uint256",
1647
+ },
1648
+ ],
1649
+ internalType: "struct IPPTLooper.SwapBridgeWithdrawAllRequest",
1650
+ name: "request",
1651
+ type: "tuple",
1652
+ },
1653
+ ],
1654
+ name: "hashTyped_SwapBridgeWithdrawAllReq",
1655
+ outputs: [
1656
+ {
1657
+ internalType: "bytes32",
1658
+ name: "",
1659
+ type: "bytes32",
1660
+ },
1661
+ ],
1662
+ stateMutability: "view",
1663
+ type: "function",
1664
+ },
1665
+ {
1666
+ inputs: [
1667
+ {
1668
+ components: [
1669
+ {
1670
+ components: [
1671
+ {
1672
+ internalType: "address",
1673
+ name: "owner",
1674
+ type: "address",
1675
+ },
1676
+ {
1677
+ internalType: "bytes32",
1678
+ name: "boxId",
1679
+ type: "bytes32",
1680
+ },
1681
+ {
1682
+ internalType: "uint256",
1683
+ name: "expiry",
1684
+ type: "uint256",
1685
+ },
1686
+ {
1687
+ internalType: "bytes32",
1688
+ name: "ownerSigHash",
1689
+ type: "bytes32",
1690
+ },
1691
+ {
1692
+ internalType: "uint256",
1693
+ name: "nonce",
1694
+ type: "uint256",
1695
+ },
1696
+ ],
1697
+ internalType: "struct IPPTLooper.BoxPermit",
1698
+ name: "permit",
1699
+ type: "tuple",
1700
+ },
1701
+ {
1702
+ internalType: "bool",
1703
+ name: "isInitiate",
1704
+ type: "bool",
1705
+ },
1706
+ ],
1707
+ internalType: "struct IPPTLooper.UserRequestStateSetMessage",
1708
+ name: "msg",
1709
+ type: "tuple",
1710
+ },
1711
+ ],
1712
+ name: "hashTyped_UserRequestStateSetMsg",
1713
+ outputs: [
1714
+ {
1715
+ internalType: "bytes32",
1716
+ name: "",
1717
+ type: "bytes32",
1718
+ },
1719
+ ],
1720
+ stateMutability: "view",
1721
+ type: "function",
1722
+ },
1723
+ {
1724
+ inputs: [
1725
+ {
1726
+ components: [
1727
+ {
1728
+ components: [
1729
+ {
1730
+ internalType: "address",
1731
+ name: "owner",
1732
+ type: "address",
1733
+ },
1734
+ {
1735
+ internalType: "bytes32",
1736
+ name: "boxId",
1737
+ type: "bytes32",
1738
+ },
1739
+ {
1740
+ internalType: "uint256",
1741
+ name: "expiry",
1742
+ type: "uint256",
1743
+ },
1744
+ {
1745
+ internalType: "bytes32",
1746
+ name: "ownerSigHash",
1747
+ type: "bytes32",
1748
+ },
1749
+ {
1750
+ internalType: "uint256",
1751
+ name: "nonce",
1752
+ type: "uint256",
1753
+ },
1754
+ ],
1755
+ internalType: "struct IPPTLooper.BoxPermit",
1756
+ name: "permit",
1757
+ type: "tuple",
1758
+ },
1759
+ {
1760
+ components: [
1761
+ {
1762
+ internalType: "address",
1763
+ name: "extRouter",
1764
+ type: "address",
1765
+ },
1766
+ {
1767
+ internalType: "address",
1768
+ name: "approve",
1769
+ type: "address",
1770
+ },
1771
+ {
1772
+ internalType: "bytes",
1773
+ name: "callData",
1774
+ type: "bytes",
1775
+ },
1776
+ ],
1777
+ internalType: "struct IPPTLooper.BoxApprovedCall",
1778
+ name: "swap",
1779
+ type: "tuple",
1780
+ },
1781
+ {
1782
+ internalType: "uint256",
1783
+ name: "debtTokenFee",
1784
+ type: "uint256",
1785
+ },
1786
+ {
1787
+ components: [
1788
+ {
1789
+ internalType: "address",
1790
+ name: "extRouter",
1791
+ type: "address",
1792
+ },
1793
+ {
1794
+ internalType: "address",
1795
+ name: "approve",
1796
+ type: "address",
1797
+ },
1798
+ {
1799
+ internalType: "bytes",
1800
+ name: "callData",
1801
+ type: "bytes",
1802
+ },
1803
+ ],
1804
+ internalType: "struct IPPTLooper.BoxApprovedCall",
1805
+ name: "bridge",
1806
+ type: "tuple",
1807
+ },
1808
+ {
1809
+ internalType: "uint256",
1810
+ name: "maxBridgeAmount",
1811
+ type: "uint256",
1812
+ },
1813
+ {
1814
+ internalType: "uint256",
1815
+ name: "bridgeNativeFee",
1816
+ type: "uint256",
1817
+ },
1818
+ {
1819
+ internalType: "uint256",
1820
+ name: "minPtLent",
1821
+ type: "uint256",
1822
+ },
1823
+ {
1824
+ internalType: "uint256",
1825
+ name: "amountDebtBorrowed",
1826
+ type: "uint256",
1827
+ },
1828
+ {
1829
+ internalType: "uint256",
1830
+ name: "minDebtBorrowed",
1831
+ type: "uint256",
1832
+ },
1833
+ {
1834
+ internalType: "uint256",
1835
+ name: "postBorrowMaxLTV",
1836
+ type: "uint256",
1837
+ },
1838
+ ],
1839
+ internalType: "struct IPPTLooper.IncreasePositionMessage",
1840
+ name: "ms",
1841
+ type: "tuple",
1842
+ },
1843
+ {
1844
+ internalType: "bytes",
1845
+ name: "proposerSig",
1846
+ type: "bytes",
1847
+ },
1848
+ {
1849
+ components: [
1850
+ {
1851
+ components: [
1852
+ {
1853
+ internalType: "bytes32",
1854
+ name: "boxId",
1855
+ type: "bytes32",
1856
+ },
1857
+ {
1858
+ internalType: "uint256",
1859
+ name: "expiry",
1860
+ type: "uint256",
1861
+ },
1862
+ {
1863
+ internalType: "uint32",
1864
+ name: "sessionNonce",
1865
+ type: "uint32",
1866
+ },
1867
+ {
1868
+ internalType: "uint32",
1869
+ name: "permitNonceCap",
1870
+ type: "uint32",
1871
+ },
1872
+ ],
1873
+ internalType: "struct IPPTLooper.RequestHeader",
1874
+ name: "header",
1875
+ type: "tuple",
1876
+ },
1877
+ {
1878
+ internalType: "uint256",
1879
+ name: "targetMinPt",
1880
+ type: "uint256",
1881
+ },
1882
+ {
1883
+ internalType: "uint256",
1884
+ name: "minTokenToPtSwapRate",
1885
+ type: "uint256",
1886
+ },
1887
+ {
1888
+ internalType: "uint256",
1889
+ name: "postBorrowMaxLTV",
1890
+ type: "uint256",
1891
+ },
1892
+ {
1893
+ internalType: "bool",
1894
+ name: "isZeroPriceImpact",
1895
+ type: "bool",
1896
+ },
1897
+ ],
1898
+ internalType: "struct IPPTLooper.IncreasePositionRequest",
1899
+ name: "req",
1900
+ type: "tuple",
1901
+ },
1902
+ {
1903
+ internalType: "bytes",
1904
+ name: "ownerSig",
1905
+ type: "bytes",
1906
+ },
1907
+ ],
1908
+ name: "increaseLoopPosition",
1909
+ outputs: [],
1910
+ stateMutability: "payable",
1911
+ type: "function",
1912
+ },
1913
+ {
1914
+ inputs: [
1915
+ {
1916
+ components: [
1917
+ {
1918
+ internalType: "bool",
1919
+ name: "allowFailure",
1920
+ type: "bool",
1921
+ },
1922
+ {
1923
+ internalType: "bytes",
1924
+ name: "callData",
1925
+ type: "bytes",
1926
+ },
1927
+ ],
1928
+ internalType: "struct IMulticall.Call3[]",
1929
+ name: "calls",
1930
+ type: "tuple[]",
1931
+ },
1932
+ ],
1933
+ name: "multicall",
1934
+ outputs: [
1935
+ {
1936
+ components: [
1937
+ {
1938
+ internalType: "bool",
1939
+ name: "success",
1940
+ type: "bool",
1941
+ },
1942
+ {
1943
+ internalType: "bytes",
1944
+ name: "returnData",
1945
+ type: "bytes",
1946
+ },
1947
+ ],
1948
+ internalType: "struct IMulticall.Result[]",
1949
+ name: "results",
1950
+ type: "tuple[]",
1951
+ },
1952
+ ],
1953
+ stateMutability: "payable",
1954
+ type: "function",
1955
+ },
1956
+ {
1957
+ inputs: [],
1958
+ name: "proposer",
1959
+ outputs: [
1960
+ {
1961
+ internalType: "address",
1962
+ name: "",
1963
+ type: "address",
1964
+ },
1965
+ ],
1966
+ stateMutability: "view",
1967
+ type: "function",
1968
+ },
1969
+ {
1970
+ inputs: [
1971
+ {
1972
+ internalType: "bytes32",
1973
+ name: "ownerSigHash",
1974
+ type: "bytes32",
1975
+ },
1976
+ ],
1977
+ name: "proposerNonce",
1978
+ outputs: [
1979
+ {
1980
+ internalType: "uint256",
1981
+ name: "",
1982
+ type: "uint256",
1983
+ },
1984
+ ],
1985
+ stateMutability: "view",
1986
+ type: "function",
1987
+ },
1988
+ {
1989
+ inputs: [
1990
+ {
1991
+ internalType: "address",
1992
+ name: "executor",
1993
+ type: "address",
1994
+ },
1995
+ ],
1996
+ name: "setExecutor",
1997
+ outputs: [],
1998
+ stateMutability: "nonpayable",
1999
+ type: "function",
2000
+ },
2001
+ {
2002
+ inputs: [
2003
+ {
2004
+ internalType: "address",
2005
+ name: "proposer",
2006
+ type: "address",
2007
+ },
2008
+ ],
2009
+ name: "setProposer",
2010
+ outputs: [],
2011
+ stateMutability: "nonpayable",
2012
+ type: "function",
2013
+ },
2014
+ {
2015
+ inputs: [
2016
+ {
2017
+ components: [
2018
+ {
2019
+ components: [
2020
+ {
2021
+ internalType: "address",
2022
+ name: "owner",
2023
+ type: "address",
2024
+ },
2025
+ {
2026
+ internalType: "bytes32",
2027
+ name: "boxId",
2028
+ type: "bytes32",
2029
+ },
2030
+ {
2031
+ internalType: "uint256",
2032
+ name: "expiry",
2033
+ type: "uint256",
2034
+ },
2035
+ {
2036
+ internalType: "bytes32",
2037
+ name: "ownerSigHash",
2038
+ type: "bytes32",
2039
+ },
2040
+ {
2041
+ internalType: "uint256",
2042
+ name: "nonce",
2043
+ type: "uint256",
2044
+ },
2045
+ ],
2046
+ internalType: "struct IPPTLooper.BoxPermit",
2047
+ name: "permit",
2048
+ type: "tuple",
2049
+ },
2050
+ {
2051
+ internalType: "bool",
2052
+ name: "isInitiate",
2053
+ type: "bool",
2054
+ },
2055
+ ],
2056
+ internalType: "struct IPPTLooper.UserRequestStateSetMessage",
2057
+ name: "ms",
2058
+ type: "tuple",
2059
+ },
2060
+ {
2061
+ internalType: "bytes",
2062
+ name: "proposerSignature",
2063
+ type: "bytes",
2064
+ },
2065
+ ],
2066
+ name: "setUserRequestState",
2067
+ outputs: [],
2068
+ stateMutability: "nonpayable",
2069
+ type: "function",
2070
+ },
2071
+ {
2072
+ inputs: [
2073
+ {
2074
+ components: [
2075
+ {
2076
+ components: [
2077
+ {
2078
+ internalType: "address",
2079
+ name: "owner",
2080
+ type: "address",
2081
+ },
2082
+ {
2083
+ internalType: "bytes32",
2084
+ name: "boxId",
2085
+ type: "bytes32",
2086
+ },
2087
+ {
2088
+ internalType: "uint256",
2089
+ name: "expiry",
2090
+ type: "uint256",
2091
+ },
2092
+ {
2093
+ internalType: "bytes32",
2094
+ name: "ownerSigHash",
2095
+ type: "bytes32",
2096
+ },
2097
+ {
2098
+ internalType: "uint256",
2099
+ name: "nonce",
2100
+ type: "uint256",
2101
+ },
2102
+ ],
2103
+ internalType: "struct IPPTLooper.BoxPermit",
2104
+ name: "permit",
2105
+ type: "tuple",
2106
+ },
2107
+ {
2108
+ components: [
2109
+ {
2110
+ internalType: "address",
2111
+ name: "extRouter",
2112
+ type: "address",
2113
+ },
2114
+ {
2115
+ internalType: "address",
2116
+ name: "approve",
2117
+ type: "address",
2118
+ },
2119
+ {
2120
+ internalType: "bytes",
2121
+ name: "callData",
2122
+ type: "bytes",
2123
+ },
2124
+ ],
2125
+ internalType: "struct IPPTLooper.BoxApprovedCall",
2126
+ name: "swap",
2127
+ type: "tuple",
2128
+ },
2129
+ {
2130
+ components: [
2131
+ {
2132
+ internalType: "address",
2133
+ name: "extRouter",
2134
+ type: "address",
2135
+ },
2136
+ {
2137
+ internalType: "address",
2138
+ name: "approve",
2139
+ type: "address",
2140
+ },
2141
+ {
2142
+ internalType: "bytes",
2143
+ name: "callData",
2144
+ type: "bytes",
2145
+ },
2146
+ ],
2147
+ internalType: "struct IPPTLooper.BoxApprovedCall",
2148
+ name: "bridge",
2149
+ type: "tuple",
2150
+ },
2151
+ {
2152
+ internalType: "uint256",
2153
+ name: "maxBridgeAmount",
2154
+ type: "uint256",
2155
+ },
2156
+ {
2157
+ internalType: "uint256",
2158
+ name: "bridgeNativeFee",
2159
+ type: "uint256",
2160
+ },
2161
+ ],
2162
+ internalType: "struct IPPTLooper.SwapBridgeWithdrawAllMessage",
2163
+ name: "ms",
2164
+ type: "tuple",
2165
+ },
2166
+ {
2167
+ internalType: "bytes",
2168
+ name: "proposerSig",
2169
+ type: "bytes",
2170
+ },
2171
+ {
2172
+ components: [
2173
+ {
2174
+ components: [
2175
+ {
2176
+ components: [
2177
+ {
2178
+ internalType: "bytes32",
2179
+ name: "boxId",
2180
+ type: "bytes32",
2181
+ },
2182
+ {
2183
+ internalType: "uint256",
2184
+ name: "expiry",
2185
+ type: "uint256",
2186
+ },
2187
+ {
2188
+ internalType: "uint32",
2189
+ name: "sessionNonce",
2190
+ type: "uint32",
2191
+ },
2192
+ {
2193
+ internalType: "uint32",
2194
+ name: "permitNonceCap",
2195
+ type: "uint32",
2196
+ },
2197
+ ],
2198
+ internalType: "struct IPPTLooper.RequestHeader",
2199
+ name: "header",
2200
+ type: "tuple",
2201
+ },
2202
+ {
2203
+ internalType: "uint256",
2204
+ name: "targetMaxDebt",
2205
+ type: "uint256",
2206
+ },
2207
+ {
2208
+ internalType: "uint256",
2209
+ name: "minPtToTokenSwapRate",
2210
+ type: "uint256",
2211
+ },
2212
+ {
2213
+ internalType: "uint256",
2214
+ name: "postWithdrawMaxLTV",
2215
+ type: "uint256",
2216
+ },
2217
+ ],
2218
+ internalType: "struct IPPTLooper.DecreasePositionRequest",
2219
+ name: "decreasePositionReq",
2220
+ type: "tuple",
2221
+ },
2222
+ {
2223
+ components: [
2224
+ {
2225
+ components: [
2226
+ {
2227
+ internalType: "bytes32",
2228
+ name: "boxId",
2229
+ type: "bytes32",
2230
+ },
2231
+ {
2232
+ internalType: "uint256",
2233
+ name: "expiry",
2234
+ type: "uint256",
2235
+ },
2236
+ {
2237
+ internalType: "uint32",
2238
+ name: "sessionNonce",
2239
+ type: "uint32",
2240
+ },
2241
+ {
2242
+ internalType: "uint32",
2243
+ name: "permitNonceCap",
2244
+ type: "uint32",
2245
+ },
2246
+ ],
2247
+ internalType: "struct IPPTLooper.RequestHeader",
2248
+ name: "header",
2249
+ type: "tuple",
2250
+ },
2251
+ {
2252
+ internalType: "bool",
2253
+ name: "receiveOnSpoke",
2254
+ type: "bool",
2255
+ },
2256
+ {
2257
+ internalType: "address",
2258
+ name: "hubTokenOut",
2259
+ type: "address",
2260
+ },
2261
+ {
2262
+ internalType: "address",
2263
+ name: "dstTokenOut",
2264
+ type: "address",
2265
+ },
2266
+ {
2267
+ internalType: "uint256",
2268
+ name: "minTokenOut",
2269
+ type: "uint256",
2270
+ },
2271
+ ],
2272
+ internalType: "struct IPPTLooper.SwapBridgeWithdrawAllRequest",
2273
+ name: "swapBridgeWithdrawAllReq",
2274
+ type: "tuple",
2275
+ },
2276
+ ],
2277
+ internalType: "struct IPPTLooper.BatchDecPosThenWithdrawRequest",
2278
+ name: "req",
2279
+ type: "tuple",
2280
+ },
2281
+ {
2282
+ internalType: "bytes",
2283
+ name: "ownerSig",
2284
+ type: "bytes",
2285
+ },
2286
+ ],
2287
+ name: "swapBridgeWithdrawAll",
2288
+ outputs: [],
2289
+ stateMutability: "payable",
2290
+ type: "function",
2291
+ },
2292
+ {
2293
+ inputs: [
2294
+ {
2295
+ components: [
2296
+ {
2297
+ components: [
2298
+ {
2299
+ internalType: "address",
2300
+ name: "owner",
2301
+ type: "address",
2302
+ },
2303
+ {
2304
+ internalType: "bytes32",
2305
+ name: "boxId",
2306
+ type: "bytes32",
2307
+ },
2308
+ {
2309
+ internalType: "uint256",
2310
+ name: "expiry",
2311
+ type: "uint256",
2312
+ },
2313
+ {
2314
+ internalType: "bytes32",
2315
+ name: "ownerSigHash",
2316
+ type: "bytes32",
2317
+ },
2318
+ {
2319
+ internalType: "uint256",
2320
+ name: "nonce",
2321
+ type: "uint256",
2322
+ },
2323
+ ],
2324
+ internalType: "struct IPPTLooper.BoxPermit",
2325
+ name: "permit",
2326
+ type: "tuple",
2327
+ },
2328
+ {
2329
+ components: [
2330
+ {
2331
+ internalType: "address",
2332
+ name: "extRouter",
2333
+ type: "address",
2334
+ },
2335
+ {
2336
+ internalType: "address",
2337
+ name: "approve",
2338
+ type: "address",
2339
+ },
2340
+ {
2341
+ internalType: "bytes",
2342
+ name: "callData",
2343
+ type: "bytes",
2344
+ },
2345
+ ],
2346
+ internalType: "struct IPPTLooper.BoxApprovedCall",
2347
+ name: "swap",
2348
+ type: "tuple",
2349
+ },
2350
+ {
2351
+ components: [
2352
+ {
2353
+ internalType: "address",
2354
+ name: "extRouter",
2355
+ type: "address",
2356
+ },
2357
+ {
2358
+ internalType: "address",
2359
+ name: "approve",
2360
+ type: "address",
2361
+ },
2362
+ {
2363
+ internalType: "bytes",
2364
+ name: "callData",
2365
+ type: "bytes",
2366
+ },
2367
+ ],
2368
+ internalType: "struct IPPTLooper.BoxApprovedCall",
2369
+ name: "bridge",
2370
+ type: "tuple",
2371
+ },
2372
+ {
2373
+ internalType: "uint256",
2374
+ name: "maxBridgeAmount",
2375
+ type: "uint256",
2376
+ },
2377
+ {
2378
+ internalType: "uint256",
2379
+ name: "bridgeNativeFee",
2380
+ type: "uint256",
2381
+ },
2382
+ ],
2383
+ internalType: "struct IPPTLooper.SwapBridgeWithdrawAllMessage",
2384
+ name: "ms",
2385
+ type: "tuple",
2386
+ },
2387
+ {
2388
+ internalType: "bytes",
2389
+ name: "proposerSig",
2390
+ type: "bytes",
2391
+ },
2392
+ {
2393
+ components: [
2394
+ {
2395
+ components: [
2396
+ {
2397
+ internalType: "bytes32",
2398
+ name: "boxId",
2399
+ type: "bytes32",
2400
+ },
2401
+ {
2402
+ internalType: "uint256",
2403
+ name: "expiry",
2404
+ type: "uint256",
2405
+ },
2406
+ {
2407
+ internalType: "uint32",
2408
+ name: "sessionNonce",
2409
+ type: "uint32",
2410
+ },
2411
+ {
2412
+ internalType: "uint32",
2413
+ name: "permitNonceCap",
2414
+ type: "uint32",
2415
+ },
2416
+ ],
2417
+ internalType: "struct IPPTLooper.RequestHeader",
2418
+ name: "header",
2419
+ type: "tuple",
2420
+ },
2421
+ {
2422
+ internalType: "bool",
2423
+ name: "receiveOnSpoke",
2424
+ type: "bool",
2425
+ },
2426
+ {
2427
+ internalType: "address",
2428
+ name: "hubTokenOut",
2429
+ type: "address",
2430
+ },
2431
+ {
2432
+ internalType: "address",
2433
+ name: "dstTokenOut",
2434
+ type: "address",
2435
+ },
2436
+ {
2437
+ internalType: "uint256",
2438
+ name: "minTokenOut",
2439
+ type: "uint256",
2440
+ },
2441
+ ],
2442
+ internalType: "struct IPPTLooper.SwapBridgeWithdrawAllRequest",
2443
+ name: "req",
2444
+ type: "tuple",
2445
+ },
2446
+ {
2447
+ internalType: "bytes",
2448
+ name: "ownerSig",
2449
+ type: "bytes",
2450
+ },
2451
+ ],
2452
+ name: "swapBridgeWithdrawAll",
2453
+ outputs: [],
2454
+ stateMutability: "payable",
2455
+ type: "function",
2456
+ },
2457
+ {
2458
+ inputs: [
2459
+ {
2460
+ internalType: "address",
2461
+ name: "owner",
2462
+ type: "address",
2463
+ },
2464
+ {
2465
+ internalType: "bytes32",
2466
+ name: "boxId",
2467
+ type: "bytes32",
2468
+ },
2469
+ ],
2470
+ name: "userRequest",
2471
+ outputs: [
2472
+ {
2473
+ components: [
2474
+ {
2475
+ internalType: "bytes32",
2476
+ name: "sigHash",
2477
+ type: "bytes32",
2478
+ },
2479
+ {
2480
+ internalType: "uint32",
2481
+ name: "sessionNonce",
2482
+ type: "uint32",
2483
+ },
2484
+ ],
2485
+ internalType: "struct IPPTLooper.UserRequestInfo",
2486
+ name: "",
2487
+ type: "tuple",
2488
+ },
2489
+ ],
2490
+ stateMutability: "view",
2491
+ type: "function",
2492
+ },
2493
+ ];
2494
+
2495
+ export class IPPTLooper__factory {
2496
+ static readonly abi = _abi;
2497
+ static createInterface(): IPPTLooperInterface {
2498
+ return new utils.Interface(_abi) as IPPTLooperInterface;
2499
+ }
2500
+ static connect(
2501
+ address: string,
2502
+ signerOrProvider: Signer | Provider
2503
+ ): IPPTLooper {
2504
+ return new Contract(address, _abi, signerOrProvider) as IPPTLooper;
2505
+ }
2506
+ }