@pendle/core-v2 6.7.0 → 6.7.1

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