@pendle/core-v2 6.7.1 → 6.8.0

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