@pendle/core-v2 6.7.1 → 6.8.1

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