@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,1550 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import {
5
- BaseContract,
6
- BigNumber,
7
- BigNumberish,
8
- BytesLike,
9
- CallOverrides,
10
- ContractTransaction,
11
- Overrides,
12
- PayableOverrides,
13
- PopulatedTransaction,
14
- Signer,
15
- utils,
16
- } from "ethers";
17
- import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
18
- import { Listener, Provider } from "@ethersproject/providers";
19
- import type {
20
- TypedEventFilter,
21
- TypedEvent,
22
- TypedListener,
23
- OnEvent,
24
- } from "./common";
25
-
26
- export declare namespace IPPTLooper {
27
- export type BoxPermitStruct = {
28
- owner: string;
29
- boxId: BytesLike;
30
- expiry: BigNumberish;
31
- ownerSigHash: BytesLike;
32
- nonce: BigNumberish;
33
- };
34
-
35
- export type BoxPermitStructOutput = [
36
- string,
37
- string,
38
- BigNumber,
39
- string,
40
- BigNumber
41
- ] & {
42
- owner: string;
43
- boxId: string;
44
- expiry: BigNumber;
45
- ownerSigHash: string;
46
- nonce: BigNumber;
47
- };
48
-
49
- export type BoxApprovedCallStruct = {
50
- extRouter: string;
51
- approve: string;
52
- callData: BytesLike;
53
- };
54
-
55
- export type BoxApprovedCallStructOutput = [string, string, string] & {
56
- extRouter: string;
57
- approve: string;
58
- callData: string;
59
- };
60
-
61
- export type DecreasePositionMessageStruct = {
62
- permit: IPPTLooper.BoxPermitStruct;
63
- swap: IPPTLooper.BoxApprovedCallStruct;
64
- bridge: IPPTLooper.BoxApprovedCallStruct;
65
- maxBridgeAmount: BigNumberish;
66
- bridgeNativeFee: BigNumberish;
67
- minDebtRepaid: BigNumberish;
68
- amountPtWithdrawn: BigNumberish;
69
- minPtWithdrawn: BigNumberish;
70
- postWithdrawMaxLTV: BigNumberish;
71
- };
72
-
73
- export type DecreasePositionMessageStructOutput = [
74
- IPPTLooper.BoxPermitStructOutput,
75
- IPPTLooper.BoxApprovedCallStructOutput,
76
- IPPTLooper.BoxApprovedCallStructOutput,
77
- BigNumber,
78
- BigNumber,
79
- BigNumber,
80
- BigNumber,
81
- BigNumber,
82
- BigNumber
83
- ] & {
84
- permit: IPPTLooper.BoxPermitStructOutput;
85
- swap: IPPTLooper.BoxApprovedCallStructOutput;
86
- bridge: IPPTLooper.BoxApprovedCallStructOutput;
87
- maxBridgeAmount: BigNumber;
88
- bridgeNativeFee: BigNumber;
89
- minDebtRepaid: BigNumber;
90
- amountPtWithdrawn: BigNumber;
91
- minPtWithdrawn: BigNumber;
92
- postWithdrawMaxLTV: BigNumber;
93
- };
94
-
95
- export type RequestHeaderStruct = {
96
- boxId: BytesLike;
97
- expiry: BigNumberish;
98
- sessionNonce: BigNumberish;
99
- permitNonceCap: BigNumberish;
100
- };
101
-
102
- export type RequestHeaderStructOutput = [
103
- string,
104
- BigNumber,
105
- number,
106
- number
107
- ] & {
108
- boxId: string;
109
- expiry: BigNumber;
110
- sessionNonce: number;
111
- permitNonceCap: number;
112
- };
113
-
114
- export type DecreasePositionRequestStruct = {
115
- header: IPPTLooper.RequestHeaderStruct;
116
- targetMaxDebt: BigNumberish;
117
- minPtToTokenSwapRate: BigNumberish;
118
- postWithdrawMaxLTV: BigNumberish;
119
- };
120
-
121
- export type DecreasePositionRequestStructOutput = [
122
- IPPTLooper.RequestHeaderStructOutput,
123
- BigNumber,
124
- BigNumber,
125
- BigNumber
126
- ] & {
127
- header: IPPTLooper.RequestHeaderStructOutput;
128
- targetMaxDebt: BigNumber;
129
- minPtToTokenSwapRate: BigNumber;
130
- postWithdrawMaxLTV: BigNumber;
131
- };
132
-
133
- export type SwapBridgeWithdrawAllRequestStruct = {
134
- header: IPPTLooper.RequestHeaderStruct;
135
- receiveOnSpoke: boolean;
136
- hubTokenOut: string;
137
- dstTokenOut: string;
138
- minTokenOut: BigNumberish;
139
- };
140
-
141
- export type SwapBridgeWithdrawAllRequestStructOutput = [
142
- IPPTLooper.RequestHeaderStructOutput,
143
- boolean,
144
- string,
145
- string,
146
- BigNumber
147
- ] & {
148
- header: IPPTLooper.RequestHeaderStructOutput;
149
- receiveOnSpoke: boolean;
150
- hubTokenOut: string;
151
- dstTokenOut: string;
152
- minTokenOut: BigNumber;
153
- };
154
-
155
- export type BatchDecPosThenWithdrawRequestStruct = {
156
- decreasePositionReq: IPPTLooper.DecreasePositionRequestStruct;
157
- swapBridgeWithdrawAllReq: IPPTLooper.SwapBridgeWithdrawAllRequestStruct;
158
- };
159
-
160
- export type BatchDecPosThenWithdrawRequestStructOutput = [
161
- IPPTLooper.DecreasePositionRequestStructOutput,
162
- IPPTLooper.SwapBridgeWithdrawAllRequestStructOutput
163
- ] & {
164
- decreasePositionReq: IPPTLooper.DecreasePositionRequestStructOutput;
165
- swapBridgeWithdrawAllReq: IPPTLooper.SwapBridgeWithdrawAllRequestStructOutput;
166
- };
167
-
168
- export type IncreasePositionMessageStruct = {
169
- permit: IPPTLooper.BoxPermitStruct;
170
- swap: IPPTLooper.BoxApprovedCallStruct;
171
- debtTokenFee: BigNumberish;
172
- bridge: IPPTLooper.BoxApprovedCallStruct;
173
- maxBridgeAmount: BigNumberish;
174
- bridgeNativeFee: BigNumberish;
175
- minPtLent: BigNumberish;
176
- amountDebtBorrowed: BigNumberish;
177
- minDebtBorrowed: BigNumberish;
178
- postBorrowMaxLTV: BigNumberish;
179
- };
180
-
181
- export type IncreasePositionMessageStructOutput = [
182
- IPPTLooper.BoxPermitStructOutput,
183
- IPPTLooper.BoxApprovedCallStructOutput,
184
- BigNumber,
185
- IPPTLooper.BoxApprovedCallStructOutput,
186
- BigNumber,
187
- BigNumber,
188
- BigNumber,
189
- BigNumber,
190
- BigNumber,
191
- BigNumber
192
- ] & {
193
- permit: IPPTLooper.BoxPermitStructOutput;
194
- swap: IPPTLooper.BoxApprovedCallStructOutput;
195
- debtTokenFee: BigNumber;
196
- bridge: IPPTLooper.BoxApprovedCallStructOutput;
197
- maxBridgeAmount: BigNumber;
198
- bridgeNativeFee: BigNumber;
199
- minPtLent: BigNumber;
200
- amountDebtBorrowed: BigNumber;
201
- minDebtBorrowed: BigNumber;
202
- postBorrowMaxLTV: BigNumber;
203
- };
204
-
205
- export type IncreasePositionRequestStruct = {
206
- header: IPPTLooper.RequestHeaderStruct;
207
- targetMinPt: BigNumberish;
208
- minTokenToPtSwapRate: BigNumberish;
209
- postBorrowMaxLTV: BigNumberish;
210
- isZeroPriceImpact: boolean;
211
- };
212
-
213
- export type IncreasePositionRequestStructOutput = [
214
- IPPTLooper.RequestHeaderStructOutput,
215
- BigNumber,
216
- BigNumber,
217
- BigNumber,
218
- boolean
219
- ] & {
220
- header: IPPTLooper.RequestHeaderStructOutput;
221
- targetMinPt: BigNumber;
222
- minTokenToPtSwapRate: BigNumber;
223
- postBorrowMaxLTV: BigNumber;
224
- isZeroPriceImpact: boolean;
225
- };
226
-
227
- export type SwapBridgeWithdrawAllMessageStruct = {
228
- permit: IPPTLooper.BoxPermitStruct;
229
- swap: IPPTLooper.BoxApprovedCallStruct;
230
- bridge: IPPTLooper.BoxApprovedCallStruct;
231
- maxBridgeAmount: BigNumberish;
232
- bridgeNativeFee: BigNumberish;
233
- };
234
-
235
- export type SwapBridgeWithdrawAllMessageStructOutput = [
236
- IPPTLooper.BoxPermitStructOutput,
237
- IPPTLooper.BoxApprovedCallStructOutput,
238
- IPPTLooper.BoxApprovedCallStructOutput,
239
- BigNumber,
240
- BigNumber
241
- ] & {
242
- permit: IPPTLooper.BoxPermitStructOutput;
243
- swap: IPPTLooper.BoxApprovedCallStructOutput;
244
- bridge: IPPTLooper.BoxApprovedCallStructOutput;
245
- maxBridgeAmount: BigNumber;
246
- bridgeNativeFee: BigNumber;
247
- };
248
-
249
- export type UserRequestStateSetMessageStruct = {
250
- permit: IPPTLooper.BoxPermitStruct;
251
- isInitiate: boolean;
252
- };
253
-
254
- export type UserRequestStateSetMessageStructOutput = [
255
- IPPTLooper.BoxPermitStructOutput,
256
- boolean
257
- ] & { permit: IPPTLooper.BoxPermitStructOutput; isInitiate: boolean };
258
-
259
- export type UserRequestInfoStruct = {
260
- sigHash: BytesLike;
261
- sessionNonce: BigNumberish;
262
- };
263
-
264
- export type UserRequestInfoStructOutput = [string, number] & {
265
- sigHash: string;
266
- sessionNonce: number;
267
- };
268
- }
269
-
270
- export declare namespace IMulticall {
271
- export type Call3Struct = { allowFailure: boolean; callData: BytesLike };
272
-
273
- export type Call3StructOutput = [boolean, string] & {
274
- allowFailure: boolean;
275
- callData: string;
276
- };
277
-
278
- export type ResultStruct = { success: boolean; returnData: BytesLike };
279
-
280
- export type ResultStructOutput = [boolean, string] & {
281
- success: boolean;
282
- returnData: string;
283
- };
284
- }
285
-
286
- export interface IPPTLooperInterface extends utils.Interface {
287
- contractName: "IPPTLooper";
288
- functions: {
289
- "POSITION_BOX_FACTORY()": FunctionFragment;
290
- "claimMoneyMarketRewards(address,bytes32)": FunctionFragment;
291
- "decreaseLoopPosition(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256,uint256,uint256,uint256,uint256),bytes,(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),((bytes32,uint256,uint32,uint32),bool,address,address,uint256)),bytes)": FunctionFragment;
292
- "depositToBox(bytes32,address,uint256,(address,address,bytes),uint256)": FunctionFragment;
293
- "executor()": FunctionFragment;
294
- "hashBoxApprovedCall((address,address,bytes))": FunctionFragment;
295
- "hashBoxPermit((address,bytes32,uint256,bytes32,uint256))": FunctionFragment;
296
- "hashRequestHeader((bytes32,uint256,uint32,uint32))": FunctionFragment;
297
- "hashTyped_BatchDecPosThenWithdrawReq((((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),((bytes32,uint256,uint32,uint32),bool,address,address,uint256)))": FunctionFragment;
298
- "hashTyped_DecreasePositionMsg(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
299
- "hashTyped_DecreasePositionReq(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256))": FunctionFragment;
300
- "hashTyped_IncreasePositionMsg(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),uint256,(address,address,bytes),uint256,uint256,uint256,uint256,uint256,uint256))": FunctionFragment;
301
- "hashTyped_IncreasePositionReq(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256,bool))": FunctionFragment;
302
- "hashTyped_SwapBridgeWithdrawAllMsg(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256))": FunctionFragment;
303
- "hashTyped_SwapBridgeWithdrawAllReq(((bytes32,uint256,uint32,uint32),bool,address,address,uint256))": FunctionFragment;
304
- "hashTyped_UserRequestStateSetMsg(((address,bytes32,uint256,bytes32,uint256),bool))": FunctionFragment;
305
- "increaseLoopPosition(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),uint256,(address,address,bytes),uint256,uint256,uint256,uint256,uint256,uint256),bytes,((bytes32,uint256,uint32,uint32),uint256,uint256,uint256,bool),bytes)": FunctionFragment;
306
- "multicall((bool,bytes)[])": FunctionFragment;
307
- "proposer()": FunctionFragment;
308
- "proposerNonce(bytes32)": FunctionFragment;
309
- "setExecutor(address)": FunctionFragment;
310
- "setProposer(address)": FunctionFragment;
311
- "setUserRequestState(((address,bytes32,uint256,bytes32,uint256),bool),bytes)": FunctionFragment;
312
- "swapBridgeWithdrawAll(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256),bytes,(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),((bytes32,uint256,uint32,uint32),bool,address,address,uint256)),bytes)": FunctionFragment;
313
- "userRequest(address,bytes32)": FunctionFragment;
314
- };
315
-
316
- encodeFunctionData(
317
- functionFragment: "POSITION_BOX_FACTORY",
318
- values?: undefined
319
- ): string;
320
- encodeFunctionData(
321
- functionFragment: "claimMoneyMarketRewards",
322
- values: [string, BytesLike]
323
- ): string;
324
- encodeFunctionData(
325
- functionFragment: "decreaseLoopPosition",
326
- values: [
327
- IPPTLooper.DecreasePositionMessageStruct,
328
- BytesLike,
329
- IPPTLooper.BatchDecPosThenWithdrawRequestStruct,
330
- BytesLike
331
- ]
332
- ): string;
333
- encodeFunctionData(
334
- functionFragment: "depositToBox",
335
- values: [
336
- BytesLike,
337
- string,
338
- BigNumberish,
339
- IPPTLooper.BoxApprovedCallStruct,
340
- BigNumberish
341
- ]
342
- ): string;
343
- encodeFunctionData(functionFragment: "executor", values?: undefined): string;
344
- encodeFunctionData(
345
- functionFragment: "hashBoxApprovedCall",
346
- values: [IPPTLooper.BoxApprovedCallStruct]
347
- ): string;
348
- encodeFunctionData(
349
- functionFragment: "hashBoxPermit",
350
- values: [IPPTLooper.BoxPermitStruct]
351
- ): string;
352
- encodeFunctionData(
353
- functionFragment: "hashRequestHeader",
354
- values: [IPPTLooper.RequestHeaderStruct]
355
- ): string;
356
- encodeFunctionData(
357
- functionFragment: "hashTyped_BatchDecPosThenWithdrawReq",
358
- values: [IPPTLooper.BatchDecPosThenWithdrawRequestStruct]
359
- ): string;
360
- encodeFunctionData(
361
- functionFragment: "hashTyped_DecreasePositionMsg",
362
- values: [IPPTLooper.DecreasePositionMessageStruct]
363
- ): string;
364
- encodeFunctionData(
365
- functionFragment: "hashTyped_DecreasePositionReq",
366
- values: [IPPTLooper.DecreasePositionRequestStruct]
367
- ): string;
368
- encodeFunctionData(
369
- functionFragment: "hashTyped_IncreasePositionMsg",
370
- values: [IPPTLooper.IncreasePositionMessageStruct]
371
- ): string;
372
- encodeFunctionData(
373
- functionFragment: "hashTyped_IncreasePositionReq",
374
- values: [IPPTLooper.IncreasePositionRequestStruct]
375
- ): string;
376
- encodeFunctionData(
377
- functionFragment: "hashTyped_SwapBridgeWithdrawAllMsg",
378
- values: [IPPTLooper.SwapBridgeWithdrawAllMessageStruct]
379
- ): string;
380
- encodeFunctionData(
381
- functionFragment: "hashTyped_SwapBridgeWithdrawAllReq",
382
- values: [IPPTLooper.SwapBridgeWithdrawAllRequestStruct]
383
- ): string;
384
- encodeFunctionData(
385
- functionFragment: "hashTyped_UserRequestStateSetMsg",
386
- values: [IPPTLooper.UserRequestStateSetMessageStruct]
387
- ): string;
388
- encodeFunctionData(
389
- functionFragment: "increaseLoopPosition",
390
- values: [
391
- IPPTLooper.IncreasePositionMessageStruct,
392
- BytesLike,
393
- IPPTLooper.IncreasePositionRequestStruct,
394
- BytesLike
395
- ]
396
- ): string;
397
- encodeFunctionData(
398
- functionFragment: "multicall",
399
- values: [IMulticall.Call3Struct[]]
400
- ): string;
401
- encodeFunctionData(functionFragment: "proposer", values?: undefined): string;
402
- encodeFunctionData(
403
- functionFragment: "proposerNonce",
404
- values: [BytesLike]
405
- ): string;
406
- encodeFunctionData(functionFragment: "setExecutor", values: [string]): string;
407
- encodeFunctionData(functionFragment: "setProposer", values: [string]): string;
408
- encodeFunctionData(
409
- functionFragment: "setUserRequestState",
410
- values: [IPPTLooper.UserRequestStateSetMessageStruct, BytesLike]
411
- ): string;
412
- encodeFunctionData(
413
- functionFragment: "swapBridgeWithdrawAll",
414
- values: [
415
- IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
416
- BytesLike,
417
- IPPTLooper.BatchDecPosThenWithdrawRequestStruct,
418
- BytesLike
419
- ]
420
- ): string;
421
- encodeFunctionData(
422
- functionFragment: "userRequest",
423
- values: [string, BytesLike]
424
- ): string;
425
-
426
- decodeFunctionResult(
427
- functionFragment: "POSITION_BOX_FACTORY",
428
- data: BytesLike
429
- ): Result;
430
- decodeFunctionResult(
431
- functionFragment: "claimMoneyMarketRewards",
432
- data: BytesLike
433
- ): Result;
434
- decodeFunctionResult(
435
- functionFragment: "decreaseLoopPosition",
436
- data: BytesLike
437
- ): Result;
438
- decodeFunctionResult(
439
- functionFragment: "depositToBox",
440
- data: BytesLike
441
- ): Result;
442
- decodeFunctionResult(functionFragment: "executor", data: BytesLike): Result;
443
- decodeFunctionResult(
444
- functionFragment: "hashBoxApprovedCall",
445
- data: BytesLike
446
- ): Result;
447
- decodeFunctionResult(
448
- functionFragment: "hashBoxPermit",
449
- data: BytesLike
450
- ): Result;
451
- decodeFunctionResult(
452
- functionFragment: "hashRequestHeader",
453
- data: BytesLike
454
- ): Result;
455
- decodeFunctionResult(
456
- functionFragment: "hashTyped_BatchDecPosThenWithdrawReq",
457
- data: BytesLike
458
- ): Result;
459
- decodeFunctionResult(
460
- functionFragment: "hashTyped_DecreasePositionMsg",
461
- data: BytesLike
462
- ): Result;
463
- decodeFunctionResult(
464
- functionFragment: "hashTyped_DecreasePositionReq",
465
- data: BytesLike
466
- ): Result;
467
- decodeFunctionResult(
468
- functionFragment: "hashTyped_IncreasePositionMsg",
469
- data: BytesLike
470
- ): Result;
471
- decodeFunctionResult(
472
- functionFragment: "hashTyped_IncreasePositionReq",
473
- data: BytesLike
474
- ): Result;
475
- decodeFunctionResult(
476
- functionFragment: "hashTyped_SwapBridgeWithdrawAllMsg",
477
- data: BytesLike
478
- ): Result;
479
- decodeFunctionResult(
480
- functionFragment: "hashTyped_SwapBridgeWithdrawAllReq",
481
- data: BytesLike
482
- ): Result;
483
- decodeFunctionResult(
484
- functionFragment: "hashTyped_UserRequestStateSetMsg",
485
- data: BytesLike
486
- ): Result;
487
- decodeFunctionResult(
488
- functionFragment: "increaseLoopPosition",
489
- data: BytesLike
490
- ): Result;
491
- decodeFunctionResult(functionFragment: "multicall", data: BytesLike): Result;
492
- decodeFunctionResult(functionFragment: "proposer", data: BytesLike): Result;
493
- decodeFunctionResult(
494
- functionFragment: "proposerNonce",
495
- data: BytesLike
496
- ): Result;
497
- decodeFunctionResult(
498
- functionFragment: "setExecutor",
499
- data: BytesLike
500
- ): Result;
501
- decodeFunctionResult(
502
- functionFragment: "setProposer",
503
- data: BytesLike
504
- ): Result;
505
- decodeFunctionResult(
506
- functionFragment: "setUserRequestState",
507
- data: BytesLike
508
- ): Result;
509
- decodeFunctionResult(
510
- functionFragment: "swapBridgeWithdrawAll",
511
- data: BytesLike
512
- ): Result;
513
- decodeFunctionResult(
514
- functionFragment: "userRequest",
515
- data: BytesLike
516
- ): Result;
517
-
518
- events: {
519
- "MoneyMarketLentThenBorrowed(address,uint256,uint256)": EventFragment;
520
- "MoneyMarketRepaidThenWithdrawn(address,uint256,uint256)": EventFragment;
521
- "PositionDecreased(address,bytes32,bytes32,uint256,uint256,uint256,uint256)": EventFragment;
522
- "PositionIncreased(address,bytes32,bytes32,uint256,uint256,uint256,uint256)": EventFragment;
523
- "SetExecutor(address)": EventFragment;
524
- "SetProposer(address)": EventFragment;
525
- "TokenBridged(address,address,uint256)": EventFragment;
526
- "TokenSwapped(address,address,uint256,address,uint256)": EventFragment;
527
- "UserRequestStateSet(address,bytes32,bytes32,uint32,bool)": EventFragment;
528
- "Withdrawn(address,bytes32,bytes32,uint256,address,uint256,uint256)": EventFragment;
529
- };
530
-
531
- getEvent(
532
- nameOrSignatureOrTopic: "MoneyMarketLentThenBorrowed"
533
- ): EventFragment;
534
- getEvent(
535
- nameOrSignatureOrTopic: "MoneyMarketRepaidThenWithdrawn"
536
- ): EventFragment;
537
- getEvent(nameOrSignatureOrTopic: "PositionDecreased"): EventFragment;
538
- getEvent(nameOrSignatureOrTopic: "PositionIncreased"): EventFragment;
539
- getEvent(nameOrSignatureOrTopic: "SetExecutor"): EventFragment;
540
- getEvent(nameOrSignatureOrTopic: "SetProposer"): EventFragment;
541
- getEvent(nameOrSignatureOrTopic: "TokenBridged"): EventFragment;
542
- getEvent(nameOrSignatureOrTopic: "TokenSwapped"): EventFragment;
543
- getEvent(nameOrSignatureOrTopic: "UserRequestStateSet"): EventFragment;
544
- getEvent(nameOrSignatureOrTopic: "Withdrawn"): EventFragment;
545
- }
546
-
547
- export type MoneyMarketLentThenBorrowedEvent = TypedEvent<
548
- [string, BigNumber, BigNumber],
549
- { box: string; ptLent: BigNumber; debtBorrowed: BigNumber }
550
- >;
551
-
552
- export type MoneyMarketLentThenBorrowedEventFilter =
553
- TypedEventFilter<MoneyMarketLentThenBorrowedEvent>;
554
-
555
- export type MoneyMarketRepaidThenWithdrawnEvent = TypedEvent<
556
- [string, BigNumber, BigNumber],
557
- { box: string; debtRepaid: BigNumber; ptWithdrawn: BigNumber }
558
- >;
559
-
560
- export type MoneyMarketRepaidThenWithdrawnEventFilter =
561
- TypedEventFilter<MoneyMarketRepaidThenWithdrawnEvent>;
562
-
563
- export type PositionDecreasedEvent = TypedEvent<
564
- [string, string, string, BigNumber, BigNumber, BigNumber, BigNumber],
565
- {
566
- owner: string;
567
- boxId: string;
568
- ownerSigHash: string;
569
- nonce: BigNumber;
570
- preDebtBalance: BigNumber;
571
- netPtToSwap: BigNumber;
572
- postDebtBalance: BigNumber;
573
- }
574
- >;
575
-
576
- export type PositionDecreasedEventFilter =
577
- TypedEventFilter<PositionDecreasedEvent>;
578
-
579
- export type PositionIncreasedEvent = TypedEvent<
580
- [string, string, string, BigNumber, BigNumber, BigNumber, BigNumber],
581
- {
582
- owner: string;
583
- boxId: string;
584
- ownerSigHash: string;
585
- nonce: BigNumber;
586
- preDebtBalance: BigNumber;
587
- netPtToMM: BigNumber;
588
- postDebtBalance: BigNumber;
589
- }
590
- >;
591
-
592
- export type PositionIncreasedEventFilter =
593
- TypedEventFilter<PositionIncreasedEvent>;
594
-
595
- export type SetExecutorEvent = TypedEvent<[string], { executor: string }>;
596
-
597
- export type SetExecutorEventFilter = TypedEventFilter<SetExecutorEvent>;
598
-
599
- export type SetProposerEvent = TypedEvent<[string], { proposer: string }>;
600
-
601
- export type SetProposerEventFilter = TypedEventFilter<SetProposerEvent>;
602
-
603
- export type TokenBridgedEvent = TypedEvent<
604
- [string, string, BigNumber],
605
- { box: string; token: string; amount: BigNumber }
606
- >;
607
-
608
- export type TokenBridgedEventFilter = TypedEventFilter<TokenBridgedEvent>;
609
-
610
- export type TokenSwappedEvent = TypedEvent<
611
- [string, string, BigNumber, string, BigNumber],
612
- {
613
- box: string;
614
- tokenIn: string;
615
- netIn: BigNumber;
616
- tokenOut: string;
617
- netOut: BigNumber;
618
- }
619
- >;
620
-
621
- export type TokenSwappedEventFilter = TypedEventFilter<TokenSwappedEvent>;
622
-
623
- export type UserRequestStateSetEvent = TypedEvent<
624
- [string, string, string, number, boolean],
625
- {
626
- owner: string;
627
- boxId: string;
628
- ownerSigHash: string;
629
- sessionNonce: number;
630
- isInitiate: boolean;
631
- }
632
- >;
633
-
634
- export type UserRequestStateSetEventFilter =
635
- TypedEventFilter<UserRequestStateSetEvent>;
636
-
637
- export type WithdrawnEvent = TypedEvent<
638
- [string, string, string, BigNumber, string, BigNumber, BigNumber],
639
- {
640
- owner: string;
641
- boxId: string;
642
- ownerSigHash: string;
643
- nonce: BigNumber;
644
- tokenOut: string;
645
- netOut: BigNumber;
646
- fee: BigNumber;
647
- }
648
- >;
649
-
650
- export type WithdrawnEventFilter = TypedEventFilter<WithdrawnEvent>;
651
-
652
- export interface IPPTLooper extends BaseContract {
653
- contractName: "IPPTLooper";
654
- connect(signerOrProvider: Signer | Provider | string): this;
655
- attach(addressOrName: string): this;
656
- deployed(): Promise<this>;
657
-
658
- interface: IPPTLooperInterface;
659
-
660
- queryFilter<TEvent extends TypedEvent>(
661
- event: TypedEventFilter<TEvent>,
662
- fromBlockOrBlockhash?: string | number | undefined,
663
- toBlock?: string | number | undefined
664
- ): Promise<Array<TEvent>>;
665
-
666
- listeners<TEvent extends TypedEvent>(
667
- eventFilter?: TypedEventFilter<TEvent>
668
- ): Array<TypedListener<TEvent>>;
669
- listeners(eventName?: string): Array<Listener>;
670
- removeAllListeners<TEvent extends TypedEvent>(
671
- eventFilter: TypedEventFilter<TEvent>
672
- ): this;
673
- removeAllListeners(eventName?: string): this;
674
- off: OnEvent<this>;
675
- on: OnEvent<this>;
676
- once: OnEvent<this>;
677
- removeListener: OnEvent<this>;
678
-
679
- functions: {
680
- POSITION_BOX_FACTORY(overrides?: CallOverrides): Promise<[string]>;
681
-
682
- claimMoneyMarketRewards(
683
- owner: string,
684
- boxId: BytesLike,
685
- overrides?: Overrides & { from?: string | Promise<string> }
686
- ): Promise<ContractTransaction>;
687
-
688
- "decreaseLoopPosition(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256,uint256,uint256,uint256,uint256),bytes,(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),((bytes32,uint256,uint32,uint32),bool,address,address,uint256)),bytes)"(
689
- ms: IPPTLooper.DecreasePositionMessageStruct,
690
- proposerSig: BytesLike,
691
- req: IPPTLooper.BatchDecPosThenWithdrawRequestStruct,
692
- ownerSig: BytesLike,
693
- overrides?: PayableOverrides & { from?: string | Promise<string> }
694
- ): Promise<ContractTransaction>;
695
-
696
- "decreaseLoopPosition(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256,uint256,uint256,uint256,uint256),bytes,((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),bytes)"(
697
- ms: IPPTLooper.DecreasePositionMessageStruct,
698
- proposerSig: BytesLike,
699
- req: IPPTLooper.DecreasePositionRequestStruct,
700
- ownerSig: BytesLike,
701
- overrides?: PayableOverrides & { from?: string | Promise<string> }
702
- ): Promise<ContractTransaction>;
703
-
704
- depositToBox(
705
- boxId: BytesLike,
706
- tokenIn: string,
707
- amountIn: BigNumberish,
708
- swapCall: IPPTLooper.BoxApprovedCallStruct,
709
- minDebtTokenSwapOut: BigNumberish,
710
- overrides?: PayableOverrides & { from?: string | Promise<string> }
711
- ): Promise<ContractTransaction>;
712
-
713
- executor(overrides?: CallOverrides): Promise<[string]>;
714
-
715
- hashBoxApprovedCall(
716
- call: IPPTLooper.BoxApprovedCallStruct,
717
- overrides?: CallOverrides
718
- ): Promise<[string]>;
719
-
720
- hashBoxPermit(
721
- permit: IPPTLooper.BoxPermitStruct,
722
- overrides?: CallOverrides
723
- ): Promise<[string]>;
724
-
725
- hashRequestHeader(
726
- header: IPPTLooper.RequestHeaderStruct,
727
- overrides?: CallOverrides
728
- ): Promise<[string]>;
729
-
730
- hashTyped_BatchDecPosThenWithdrawReq(
731
- req: IPPTLooper.BatchDecPosThenWithdrawRequestStruct,
732
- overrides?: CallOverrides
733
- ): Promise<[string]>;
734
-
735
- hashTyped_DecreasePositionMsg(
736
- message: IPPTLooper.DecreasePositionMessageStruct,
737
- overrides?: CallOverrides
738
- ): Promise<[string]>;
739
-
740
- hashTyped_DecreasePositionReq(
741
- request: IPPTLooper.DecreasePositionRequestStruct,
742
- overrides?: CallOverrides
743
- ): Promise<[string]>;
744
-
745
- hashTyped_IncreasePositionMsg(
746
- message: IPPTLooper.IncreasePositionMessageStruct,
747
- overrides?: CallOverrides
748
- ): Promise<[string]>;
749
-
750
- hashTyped_IncreasePositionReq(
751
- request: IPPTLooper.IncreasePositionRequestStruct,
752
- overrides?: CallOverrides
753
- ): Promise<[string]>;
754
-
755
- hashTyped_SwapBridgeWithdrawAllMsg(
756
- message: IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
757
- overrides?: CallOverrides
758
- ): Promise<[string]>;
759
-
760
- hashTyped_SwapBridgeWithdrawAllReq(
761
- request: IPPTLooper.SwapBridgeWithdrawAllRequestStruct,
762
- overrides?: CallOverrides
763
- ): Promise<[string]>;
764
-
765
- hashTyped_UserRequestStateSetMsg(
766
- msg: IPPTLooper.UserRequestStateSetMessageStruct,
767
- overrides?: CallOverrides
768
- ): Promise<[string]>;
769
-
770
- increaseLoopPosition(
771
- ms: IPPTLooper.IncreasePositionMessageStruct,
772
- proposerSig: BytesLike,
773
- req: IPPTLooper.IncreasePositionRequestStruct,
774
- ownerSig: BytesLike,
775
- overrides?: PayableOverrides & { from?: string | Promise<string> }
776
- ): Promise<ContractTransaction>;
777
-
778
- multicall(
779
- calls: IMulticall.Call3Struct[],
780
- overrides?: PayableOverrides & { from?: string | Promise<string> }
781
- ): Promise<ContractTransaction>;
782
-
783
- proposer(overrides?: CallOverrides): Promise<[string]>;
784
-
785
- proposerNonce(
786
- ownerSigHash: BytesLike,
787
- overrides?: CallOverrides
788
- ): Promise<[BigNumber]>;
789
-
790
- setExecutor(
791
- executor: string,
792
- overrides?: Overrides & { from?: string | Promise<string> }
793
- ): Promise<ContractTransaction>;
794
-
795
- setProposer(
796
- proposer: string,
797
- overrides?: Overrides & { from?: string | Promise<string> }
798
- ): Promise<ContractTransaction>;
799
-
800
- setUserRequestState(
801
- ms: IPPTLooper.UserRequestStateSetMessageStruct,
802
- proposerSignature: BytesLike,
803
- overrides?: Overrides & { from?: string | Promise<string> }
804
- ): Promise<ContractTransaction>;
805
-
806
- "swapBridgeWithdrawAll(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256),bytes,(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),((bytes32,uint256,uint32,uint32),bool,address,address,uint256)),bytes)"(
807
- ms: IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
808
- proposerSig: BytesLike,
809
- req: IPPTLooper.BatchDecPosThenWithdrawRequestStruct,
810
- ownerSig: BytesLike,
811
- overrides?: PayableOverrides & { from?: string | Promise<string> }
812
- ): Promise<ContractTransaction>;
813
-
814
- "swapBridgeWithdrawAll(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256),bytes,((bytes32,uint256,uint32,uint32),bool,address,address,uint256),bytes)"(
815
- ms: IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
816
- proposerSig: BytesLike,
817
- req: IPPTLooper.SwapBridgeWithdrawAllRequestStruct,
818
- ownerSig: BytesLike,
819
- overrides?: PayableOverrides & { from?: string | Promise<string> }
820
- ): Promise<ContractTransaction>;
821
-
822
- userRequest(
823
- owner: string,
824
- boxId: BytesLike,
825
- overrides?: CallOverrides
826
- ): Promise<[IPPTLooper.UserRequestInfoStructOutput]>;
827
- };
828
-
829
- POSITION_BOX_FACTORY(overrides?: CallOverrides): Promise<string>;
830
-
831
- claimMoneyMarketRewards(
832
- owner: string,
833
- boxId: BytesLike,
834
- overrides?: Overrides & { from?: string | Promise<string> }
835
- ): Promise<ContractTransaction>;
836
-
837
- "decreaseLoopPosition(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256,uint256,uint256,uint256,uint256),bytes,(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),((bytes32,uint256,uint32,uint32),bool,address,address,uint256)),bytes)"(
838
- ms: IPPTLooper.DecreasePositionMessageStruct,
839
- proposerSig: BytesLike,
840
- req: IPPTLooper.BatchDecPosThenWithdrawRequestStruct,
841
- ownerSig: BytesLike,
842
- overrides?: PayableOverrides & { from?: string | Promise<string> }
843
- ): Promise<ContractTransaction>;
844
-
845
- "decreaseLoopPosition(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256,uint256,uint256,uint256,uint256),bytes,((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),bytes)"(
846
- ms: IPPTLooper.DecreasePositionMessageStruct,
847
- proposerSig: BytesLike,
848
- req: IPPTLooper.DecreasePositionRequestStruct,
849
- ownerSig: BytesLike,
850
- overrides?: PayableOverrides & { from?: string | Promise<string> }
851
- ): Promise<ContractTransaction>;
852
-
853
- depositToBox(
854
- boxId: BytesLike,
855
- tokenIn: string,
856
- amountIn: BigNumberish,
857
- swapCall: IPPTLooper.BoxApprovedCallStruct,
858
- minDebtTokenSwapOut: BigNumberish,
859
- overrides?: PayableOverrides & { from?: string | Promise<string> }
860
- ): Promise<ContractTransaction>;
861
-
862
- executor(overrides?: CallOverrides): Promise<string>;
863
-
864
- hashBoxApprovedCall(
865
- call: IPPTLooper.BoxApprovedCallStruct,
866
- overrides?: CallOverrides
867
- ): Promise<string>;
868
-
869
- hashBoxPermit(
870
- permit: IPPTLooper.BoxPermitStruct,
871
- overrides?: CallOverrides
872
- ): Promise<string>;
873
-
874
- hashRequestHeader(
875
- header: IPPTLooper.RequestHeaderStruct,
876
- overrides?: CallOverrides
877
- ): Promise<string>;
878
-
879
- hashTyped_BatchDecPosThenWithdrawReq(
880
- req: IPPTLooper.BatchDecPosThenWithdrawRequestStruct,
881
- overrides?: CallOverrides
882
- ): Promise<string>;
883
-
884
- hashTyped_DecreasePositionMsg(
885
- message: IPPTLooper.DecreasePositionMessageStruct,
886
- overrides?: CallOverrides
887
- ): Promise<string>;
888
-
889
- hashTyped_DecreasePositionReq(
890
- request: IPPTLooper.DecreasePositionRequestStruct,
891
- overrides?: CallOverrides
892
- ): Promise<string>;
893
-
894
- hashTyped_IncreasePositionMsg(
895
- message: IPPTLooper.IncreasePositionMessageStruct,
896
- overrides?: CallOverrides
897
- ): Promise<string>;
898
-
899
- hashTyped_IncreasePositionReq(
900
- request: IPPTLooper.IncreasePositionRequestStruct,
901
- overrides?: CallOverrides
902
- ): Promise<string>;
903
-
904
- hashTyped_SwapBridgeWithdrawAllMsg(
905
- message: IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
906
- overrides?: CallOverrides
907
- ): Promise<string>;
908
-
909
- hashTyped_SwapBridgeWithdrawAllReq(
910
- request: IPPTLooper.SwapBridgeWithdrawAllRequestStruct,
911
- overrides?: CallOverrides
912
- ): Promise<string>;
913
-
914
- hashTyped_UserRequestStateSetMsg(
915
- msg: IPPTLooper.UserRequestStateSetMessageStruct,
916
- overrides?: CallOverrides
917
- ): Promise<string>;
918
-
919
- increaseLoopPosition(
920
- ms: IPPTLooper.IncreasePositionMessageStruct,
921
- proposerSig: BytesLike,
922
- req: IPPTLooper.IncreasePositionRequestStruct,
923
- ownerSig: BytesLike,
924
- overrides?: PayableOverrides & { from?: string | Promise<string> }
925
- ): Promise<ContractTransaction>;
926
-
927
- multicall(
928
- calls: IMulticall.Call3Struct[],
929
- overrides?: PayableOverrides & { from?: string | Promise<string> }
930
- ): Promise<ContractTransaction>;
931
-
932
- proposer(overrides?: CallOverrides): Promise<string>;
933
-
934
- proposerNonce(
935
- ownerSigHash: BytesLike,
936
- overrides?: CallOverrides
937
- ): Promise<BigNumber>;
938
-
939
- setExecutor(
940
- executor: string,
941
- overrides?: Overrides & { from?: string | Promise<string> }
942
- ): Promise<ContractTransaction>;
943
-
944
- setProposer(
945
- proposer: string,
946
- overrides?: Overrides & { from?: string | Promise<string> }
947
- ): Promise<ContractTransaction>;
948
-
949
- setUserRequestState(
950
- ms: IPPTLooper.UserRequestStateSetMessageStruct,
951
- proposerSignature: BytesLike,
952
- overrides?: Overrides & { from?: string | Promise<string> }
953
- ): Promise<ContractTransaction>;
954
-
955
- "swapBridgeWithdrawAll(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256),bytes,(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),((bytes32,uint256,uint32,uint32),bool,address,address,uint256)),bytes)"(
956
- ms: IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
957
- proposerSig: BytesLike,
958
- req: IPPTLooper.BatchDecPosThenWithdrawRequestStruct,
959
- ownerSig: BytesLike,
960
- overrides?: PayableOverrides & { from?: string | Promise<string> }
961
- ): Promise<ContractTransaction>;
962
-
963
- "swapBridgeWithdrawAll(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256),bytes,((bytes32,uint256,uint32,uint32),bool,address,address,uint256),bytes)"(
964
- ms: IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
965
- proposerSig: BytesLike,
966
- req: IPPTLooper.SwapBridgeWithdrawAllRequestStruct,
967
- ownerSig: BytesLike,
968
- overrides?: PayableOverrides & { from?: string | Promise<string> }
969
- ): Promise<ContractTransaction>;
970
-
971
- userRequest(
972
- owner: string,
973
- boxId: BytesLike,
974
- overrides?: CallOverrides
975
- ): Promise<IPPTLooper.UserRequestInfoStructOutput>;
976
-
977
- callStatic: {
978
- POSITION_BOX_FACTORY(overrides?: CallOverrides): Promise<string>;
979
-
980
- claimMoneyMarketRewards(
981
- owner: string,
982
- boxId: BytesLike,
983
- overrides?: CallOverrides
984
- ): Promise<void>;
985
-
986
- "decreaseLoopPosition(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256,uint256,uint256,uint256,uint256),bytes,(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),((bytes32,uint256,uint32,uint32),bool,address,address,uint256)),bytes)"(
987
- ms: IPPTLooper.DecreasePositionMessageStruct,
988
- proposerSig: BytesLike,
989
- req: IPPTLooper.BatchDecPosThenWithdrawRequestStruct,
990
- ownerSig: BytesLike,
991
- overrides?: CallOverrides
992
- ): Promise<void>;
993
-
994
- "decreaseLoopPosition(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256,uint256,uint256,uint256,uint256),bytes,((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),bytes)"(
995
- ms: IPPTLooper.DecreasePositionMessageStruct,
996
- proposerSig: BytesLike,
997
- req: IPPTLooper.DecreasePositionRequestStruct,
998
- ownerSig: BytesLike,
999
- overrides?: CallOverrides
1000
- ): Promise<void>;
1001
-
1002
- depositToBox(
1003
- boxId: BytesLike,
1004
- tokenIn: string,
1005
- amountIn: BigNumberish,
1006
- swapCall: IPPTLooper.BoxApprovedCallStruct,
1007
- minDebtTokenSwapOut: BigNumberish,
1008
- overrides?: CallOverrides
1009
- ): Promise<BigNumber>;
1010
-
1011
- executor(overrides?: CallOverrides): Promise<string>;
1012
-
1013
- hashBoxApprovedCall(
1014
- call: IPPTLooper.BoxApprovedCallStruct,
1015
- overrides?: CallOverrides
1016
- ): Promise<string>;
1017
-
1018
- hashBoxPermit(
1019
- permit: IPPTLooper.BoxPermitStruct,
1020
- overrides?: CallOverrides
1021
- ): Promise<string>;
1022
-
1023
- hashRequestHeader(
1024
- header: IPPTLooper.RequestHeaderStruct,
1025
- overrides?: CallOverrides
1026
- ): Promise<string>;
1027
-
1028
- hashTyped_BatchDecPosThenWithdrawReq(
1029
- req: IPPTLooper.BatchDecPosThenWithdrawRequestStruct,
1030
- overrides?: CallOverrides
1031
- ): Promise<string>;
1032
-
1033
- hashTyped_DecreasePositionMsg(
1034
- message: IPPTLooper.DecreasePositionMessageStruct,
1035
- overrides?: CallOverrides
1036
- ): Promise<string>;
1037
-
1038
- hashTyped_DecreasePositionReq(
1039
- request: IPPTLooper.DecreasePositionRequestStruct,
1040
- overrides?: CallOverrides
1041
- ): Promise<string>;
1042
-
1043
- hashTyped_IncreasePositionMsg(
1044
- message: IPPTLooper.IncreasePositionMessageStruct,
1045
- overrides?: CallOverrides
1046
- ): Promise<string>;
1047
-
1048
- hashTyped_IncreasePositionReq(
1049
- request: IPPTLooper.IncreasePositionRequestStruct,
1050
- overrides?: CallOverrides
1051
- ): Promise<string>;
1052
-
1053
- hashTyped_SwapBridgeWithdrawAllMsg(
1054
- message: IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
1055
- overrides?: CallOverrides
1056
- ): Promise<string>;
1057
-
1058
- hashTyped_SwapBridgeWithdrawAllReq(
1059
- request: IPPTLooper.SwapBridgeWithdrawAllRequestStruct,
1060
- overrides?: CallOverrides
1061
- ): Promise<string>;
1062
-
1063
- hashTyped_UserRequestStateSetMsg(
1064
- msg: IPPTLooper.UserRequestStateSetMessageStruct,
1065
- overrides?: CallOverrides
1066
- ): Promise<string>;
1067
-
1068
- increaseLoopPosition(
1069
- ms: IPPTLooper.IncreasePositionMessageStruct,
1070
- proposerSig: BytesLike,
1071
- req: IPPTLooper.IncreasePositionRequestStruct,
1072
- ownerSig: BytesLike,
1073
- overrides?: CallOverrides
1074
- ): Promise<void>;
1075
-
1076
- multicall(
1077
- calls: IMulticall.Call3Struct[],
1078
- overrides?: CallOverrides
1079
- ): Promise<IMulticall.ResultStructOutput[]>;
1080
-
1081
- proposer(overrides?: CallOverrides): Promise<string>;
1082
-
1083
- proposerNonce(
1084
- ownerSigHash: BytesLike,
1085
- overrides?: CallOverrides
1086
- ): Promise<BigNumber>;
1087
-
1088
- setExecutor(executor: string, overrides?: CallOverrides): Promise<void>;
1089
-
1090
- setProposer(proposer: string, overrides?: CallOverrides): Promise<void>;
1091
-
1092
- setUserRequestState(
1093
- ms: IPPTLooper.UserRequestStateSetMessageStruct,
1094
- proposerSignature: BytesLike,
1095
- overrides?: CallOverrides
1096
- ): Promise<void>;
1097
-
1098
- "swapBridgeWithdrawAll(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256),bytes,(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),((bytes32,uint256,uint32,uint32),bool,address,address,uint256)),bytes)"(
1099
- ms: IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
1100
- proposerSig: BytesLike,
1101
- req: IPPTLooper.BatchDecPosThenWithdrawRequestStruct,
1102
- ownerSig: BytesLike,
1103
- overrides?: CallOverrides
1104
- ): Promise<void>;
1105
-
1106
- "swapBridgeWithdrawAll(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256),bytes,((bytes32,uint256,uint32,uint32),bool,address,address,uint256),bytes)"(
1107
- ms: IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
1108
- proposerSig: BytesLike,
1109
- req: IPPTLooper.SwapBridgeWithdrawAllRequestStruct,
1110
- ownerSig: BytesLike,
1111
- overrides?: CallOverrides
1112
- ): Promise<void>;
1113
-
1114
- userRequest(
1115
- owner: string,
1116
- boxId: BytesLike,
1117
- overrides?: CallOverrides
1118
- ): Promise<IPPTLooper.UserRequestInfoStructOutput>;
1119
- };
1120
-
1121
- filters: {
1122
- "MoneyMarketLentThenBorrowed(address,uint256,uint256)"(
1123
- box?: string | null,
1124
- ptLent?: null,
1125
- debtBorrowed?: null
1126
- ): MoneyMarketLentThenBorrowedEventFilter;
1127
- MoneyMarketLentThenBorrowed(
1128
- box?: string | null,
1129
- ptLent?: null,
1130
- debtBorrowed?: null
1131
- ): MoneyMarketLentThenBorrowedEventFilter;
1132
-
1133
- "MoneyMarketRepaidThenWithdrawn(address,uint256,uint256)"(
1134
- box?: string | null,
1135
- debtRepaid?: null,
1136
- ptWithdrawn?: null
1137
- ): MoneyMarketRepaidThenWithdrawnEventFilter;
1138
- MoneyMarketRepaidThenWithdrawn(
1139
- box?: string | null,
1140
- debtRepaid?: null,
1141
- ptWithdrawn?: null
1142
- ): MoneyMarketRepaidThenWithdrawnEventFilter;
1143
-
1144
- "PositionDecreased(address,bytes32,bytes32,uint256,uint256,uint256,uint256)"(
1145
- owner?: string | null,
1146
- boxId?: BytesLike | null,
1147
- ownerSigHash?: null,
1148
- nonce?: null,
1149
- preDebtBalance?: null,
1150
- netPtToSwap?: null,
1151
- postDebtBalance?: null
1152
- ): PositionDecreasedEventFilter;
1153
- PositionDecreased(
1154
- owner?: string | null,
1155
- boxId?: BytesLike | null,
1156
- ownerSigHash?: null,
1157
- nonce?: null,
1158
- preDebtBalance?: null,
1159
- netPtToSwap?: null,
1160
- postDebtBalance?: null
1161
- ): PositionDecreasedEventFilter;
1162
-
1163
- "PositionIncreased(address,bytes32,bytes32,uint256,uint256,uint256,uint256)"(
1164
- owner?: string | null,
1165
- boxId?: BytesLike | null,
1166
- ownerSigHash?: null,
1167
- nonce?: null,
1168
- preDebtBalance?: null,
1169
- netPtToMM?: null,
1170
- postDebtBalance?: null
1171
- ): PositionIncreasedEventFilter;
1172
- PositionIncreased(
1173
- owner?: string | null,
1174
- boxId?: BytesLike | null,
1175
- ownerSigHash?: null,
1176
- nonce?: null,
1177
- preDebtBalance?: null,
1178
- netPtToMM?: null,
1179
- postDebtBalance?: null
1180
- ): PositionIncreasedEventFilter;
1181
-
1182
- "SetExecutor(address)"(executor?: null): SetExecutorEventFilter;
1183
- SetExecutor(executor?: null): SetExecutorEventFilter;
1184
-
1185
- "SetProposer(address)"(proposer?: null): SetProposerEventFilter;
1186
- SetProposer(proposer?: null): SetProposerEventFilter;
1187
-
1188
- "TokenBridged(address,address,uint256)"(
1189
- box?: string | null,
1190
- token?: string | null,
1191
- amount?: null
1192
- ): TokenBridgedEventFilter;
1193
- TokenBridged(
1194
- box?: string | null,
1195
- token?: string | null,
1196
- amount?: null
1197
- ): TokenBridgedEventFilter;
1198
-
1199
- "TokenSwapped(address,address,uint256,address,uint256)"(
1200
- box?: string | null,
1201
- tokenIn?: string | null,
1202
- netIn?: null,
1203
- tokenOut?: string | null,
1204
- netOut?: null
1205
- ): TokenSwappedEventFilter;
1206
- TokenSwapped(
1207
- box?: string | null,
1208
- tokenIn?: string | null,
1209
- netIn?: null,
1210
- tokenOut?: string | null,
1211
- netOut?: null
1212
- ): TokenSwappedEventFilter;
1213
-
1214
- "UserRequestStateSet(address,bytes32,bytes32,uint32,bool)"(
1215
- owner?: string | null,
1216
- boxId?: BytesLike | null,
1217
- ownerSigHash?: null,
1218
- sessionNonce?: null,
1219
- isInitiate?: null
1220
- ): UserRequestStateSetEventFilter;
1221
- UserRequestStateSet(
1222
- owner?: string | null,
1223
- boxId?: BytesLike | null,
1224
- ownerSigHash?: null,
1225
- sessionNonce?: null,
1226
- isInitiate?: null
1227
- ): UserRequestStateSetEventFilter;
1228
-
1229
- "Withdrawn(address,bytes32,bytes32,uint256,address,uint256,uint256)"(
1230
- owner?: string | null,
1231
- boxId?: BytesLike | null,
1232
- ownerSigHash?: null,
1233
- nonce?: null,
1234
- tokenOut?: null,
1235
- netOut?: null,
1236
- fee?: null
1237
- ): WithdrawnEventFilter;
1238
- Withdrawn(
1239
- owner?: string | null,
1240
- boxId?: BytesLike | null,
1241
- ownerSigHash?: null,
1242
- nonce?: null,
1243
- tokenOut?: null,
1244
- netOut?: null,
1245
- fee?: null
1246
- ): WithdrawnEventFilter;
1247
- };
1248
-
1249
- estimateGas: {
1250
- POSITION_BOX_FACTORY(overrides?: CallOverrides): Promise<BigNumber>;
1251
-
1252
- claimMoneyMarketRewards(
1253
- owner: string,
1254
- boxId: BytesLike,
1255
- overrides?: Overrides & { from?: string | Promise<string> }
1256
- ): Promise<BigNumber>;
1257
-
1258
- "decreaseLoopPosition(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256,uint256,uint256,uint256,uint256),bytes,(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),((bytes32,uint256,uint32,uint32),bool,address,address,uint256)),bytes)"(
1259
- ms: IPPTLooper.DecreasePositionMessageStruct,
1260
- proposerSig: BytesLike,
1261
- req: IPPTLooper.BatchDecPosThenWithdrawRequestStruct,
1262
- ownerSig: BytesLike,
1263
- overrides?: PayableOverrides & { from?: string | Promise<string> }
1264
- ): Promise<BigNumber>;
1265
-
1266
- "decreaseLoopPosition(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256,uint256,uint256,uint256,uint256),bytes,((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),bytes)"(
1267
- ms: IPPTLooper.DecreasePositionMessageStruct,
1268
- proposerSig: BytesLike,
1269
- req: IPPTLooper.DecreasePositionRequestStruct,
1270
- ownerSig: BytesLike,
1271
- overrides?: PayableOverrides & { from?: string | Promise<string> }
1272
- ): Promise<BigNumber>;
1273
-
1274
- depositToBox(
1275
- boxId: BytesLike,
1276
- tokenIn: string,
1277
- amountIn: BigNumberish,
1278
- swapCall: IPPTLooper.BoxApprovedCallStruct,
1279
- minDebtTokenSwapOut: BigNumberish,
1280
- overrides?: PayableOverrides & { from?: string | Promise<string> }
1281
- ): Promise<BigNumber>;
1282
-
1283
- executor(overrides?: CallOverrides): Promise<BigNumber>;
1284
-
1285
- hashBoxApprovedCall(
1286
- call: IPPTLooper.BoxApprovedCallStruct,
1287
- overrides?: CallOverrides
1288
- ): Promise<BigNumber>;
1289
-
1290
- hashBoxPermit(
1291
- permit: IPPTLooper.BoxPermitStruct,
1292
- overrides?: CallOverrides
1293
- ): Promise<BigNumber>;
1294
-
1295
- hashRequestHeader(
1296
- header: IPPTLooper.RequestHeaderStruct,
1297
- overrides?: CallOverrides
1298
- ): Promise<BigNumber>;
1299
-
1300
- hashTyped_BatchDecPosThenWithdrawReq(
1301
- req: IPPTLooper.BatchDecPosThenWithdrawRequestStruct,
1302
- overrides?: CallOverrides
1303
- ): Promise<BigNumber>;
1304
-
1305
- hashTyped_DecreasePositionMsg(
1306
- message: IPPTLooper.DecreasePositionMessageStruct,
1307
- overrides?: CallOverrides
1308
- ): Promise<BigNumber>;
1309
-
1310
- hashTyped_DecreasePositionReq(
1311
- request: IPPTLooper.DecreasePositionRequestStruct,
1312
- overrides?: CallOverrides
1313
- ): Promise<BigNumber>;
1314
-
1315
- hashTyped_IncreasePositionMsg(
1316
- message: IPPTLooper.IncreasePositionMessageStruct,
1317
- overrides?: CallOverrides
1318
- ): Promise<BigNumber>;
1319
-
1320
- hashTyped_IncreasePositionReq(
1321
- request: IPPTLooper.IncreasePositionRequestStruct,
1322
- overrides?: CallOverrides
1323
- ): Promise<BigNumber>;
1324
-
1325
- hashTyped_SwapBridgeWithdrawAllMsg(
1326
- message: IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
1327
- overrides?: CallOverrides
1328
- ): Promise<BigNumber>;
1329
-
1330
- hashTyped_SwapBridgeWithdrawAllReq(
1331
- request: IPPTLooper.SwapBridgeWithdrawAllRequestStruct,
1332
- overrides?: CallOverrides
1333
- ): Promise<BigNumber>;
1334
-
1335
- hashTyped_UserRequestStateSetMsg(
1336
- msg: IPPTLooper.UserRequestStateSetMessageStruct,
1337
- overrides?: CallOverrides
1338
- ): Promise<BigNumber>;
1339
-
1340
- increaseLoopPosition(
1341
- ms: IPPTLooper.IncreasePositionMessageStruct,
1342
- proposerSig: BytesLike,
1343
- req: IPPTLooper.IncreasePositionRequestStruct,
1344
- ownerSig: BytesLike,
1345
- overrides?: PayableOverrides & { from?: string | Promise<string> }
1346
- ): Promise<BigNumber>;
1347
-
1348
- multicall(
1349
- calls: IMulticall.Call3Struct[],
1350
- overrides?: PayableOverrides & { from?: string | Promise<string> }
1351
- ): Promise<BigNumber>;
1352
-
1353
- proposer(overrides?: CallOverrides): Promise<BigNumber>;
1354
-
1355
- proposerNonce(
1356
- ownerSigHash: BytesLike,
1357
- overrides?: CallOverrides
1358
- ): Promise<BigNumber>;
1359
-
1360
- setExecutor(
1361
- executor: string,
1362
- overrides?: Overrides & { from?: string | Promise<string> }
1363
- ): Promise<BigNumber>;
1364
-
1365
- setProposer(
1366
- proposer: string,
1367
- overrides?: Overrides & { from?: string | Promise<string> }
1368
- ): Promise<BigNumber>;
1369
-
1370
- setUserRequestState(
1371
- ms: IPPTLooper.UserRequestStateSetMessageStruct,
1372
- proposerSignature: BytesLike,
1373
- overrides?: Overrides & { from?: string | Promise<string> }
1374
- ): Promise<BigNumber>;
1375
-
1376
- "swapBridgeWithdrawAll(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256),bytes,(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),((bytes32,uint256,uint32,uint32),bool,address,address,uint256)),bytes)"(
1377
- ms: IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
1378
- proposerSig: BytesLike,
1379
- req: IPPTLooper.BatchDecPosThenWithdrawRequestStruct,
1380
- ownerSig: BytesLike,
1381
- overrides?: PayableOverrides & { from?: string | Promise<string> }
1382
- ): Promise<BigNumber>;
1383
-
1384
- "swapBridgeWithdrawAll(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256),bytes,((bytes32,uint256,uint32,uint32),bool,address,address,uint256),bytes)"(
1385
- ms: IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
1386
- proposerSig: BytesLike,
1387
- req: IPPTLooper.SwapBridgeWithdrawAllRequestStruct,
1388
- ownerSig: BytesLike,
1389
- overrides?: PayableOverrides & { from?: string | Promise<string> }
1390
- ): Promise<BigNumber>;
1391
-
1392
- userRequest(
1393
- owner: string,
1394
- boxId: BytesLike,
1395
- overrides?: CallOverrides
1396
- ): Promise<BigNumber>;
1397
- };
1398
-
1399
- populateTransaction: {
1400
- POSITION_BOX_FACTORY(
1401
- overrides?: CallOverrides
1402
- ): Promise<PopulatedTransaction>;
1403
-
1404
- claimMoneyMarketRewards(
1405
- owner: string,
1406
- boxId: BytesLike,
1407
- overrides?: Overrides & { from?: string | Promise<string> }
1408
- ): Promise<PopulatedTransaction>;
1409
-
1410
- "decreaseLoopPosition(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256,uint256,uint256,uint256,uint256),bytes,(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),((bytes32,uint256,uint32,uint32),bool,address,address,uint256)),bytes)"(
1411
- ms: IPPTLooper.DecreasePositionMessageStruct,
1412
- proposerSig: BytesLike,
1413
- req: IPPTLooper.BatchDecPosThenWithdrawRequestStruct,
1414
- ownerSig: BytesLike,
1415
- overrides?: PayableOverrides & { from?: string | Promise<string> }
1416
- ): Promise<PopulatedTransaction>;
1417
-
1418
- "decreaseLoopPosition(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256,uint256,uint256,uint256,uint256),bytes,((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),bytes)"(
1419
- ms: IPPTLooper.DecreasePositionMessageStruct,
1420
- proposerSig: BytesLike,
1421
- req: IPPTLooper.DecreasePositionRequestStruct,
1422
- ownerSig: BytesLike,
1423
- overrides?: PayableOverrides & { from?: string | Promise<string> }
1424
- ): Promise<PopulatedTransaction>;
1425
-
1426
- depositToBox(
1427
- boxId: BytesLike,
1428
- tokenIn: string,
1429
- amountIn: BigNumberish,
1430
- swapCall: IPPTLooper.BoxApprovedCallStruct,
1431
- minDebtTokenSwapOut: BigNumberish,
1432
- overrides?: PayableOverrides & { from?: string | Promise<string> }
1433
- ): Promise<PopulatedTransaction>;
1434
-
1435
- executor(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1436
-
1437
- hashBoxApprovedCall(
1438
- call: IPPTLooper.BoxApprovedCallStruct,
1439
- overrides?: CallOverrides
1440
- ): Promise<PopulatedTransaction>;
1441
-
1442
- hashBoxPermit(
1443
- permit: IPPTLooper.BoxPermitStruct,
1444
- overrides?: CallOverrides
1445
- ): Promise<PopulatedTransaction>;
1446
-
1447
- hashRequestHeader(
1448
- header: IPPTLooper.RequestHeaderStruct,
1449
- overrides?: CallOverrides
1450
- ): Promise<PopulatedTransaction>;
1451
-
1452
- hashTyped_BatchDecPosThenWithdrawReq(
1453
- req: IPPTLooper.BatchDecPosThenWithdrawRequestStruct,
1454
- overrides?: CallOverrides
1455
- ): Promise<PopulatedTransaction>;
1456
-
1457
- hashTyped_DecreasePositionMsg(
1458
- message: IPPTLooper.DecreasePositionMessageStruct,
1459
- overrides?: CallOverrides
1460
- ): Promise<PopulatedTransaction>;
1461
-
1462
- hashTyped_DecreasePositionReq(
1463
- request: IPPTLooper.DecreasePositionRequestStruct,
1464
- overrides?: CallOverrides
1465
- ): Promise<PopulatedTransaction>;
1466
-
1467
- hashTyped_IncreasePositionMsg(
1468
- message: IPPTLooper.IncreasePositionMessageStruct,
1469
- overrides?: CallOverrides
1470
- ): Promise<PopulatedTransaction>;
1471
-
1472
- hashTyped_IncreasePositionReq(
1473
- request: IPPTLooper.IncreasePositionRequestStruct,
1474
- overrides?: CallOverrides
1475
- ): Promise<PopulatedTransaction>;
1476
-
1477
- hashTyped_SwapBridgeWithdrawAllMsg(
1478
- message: IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
1479
- overrides?: CallOverrides
1480
- ): Promise<PopulatedTransaction>;
1481
-
1482
- hashTyped_SwapBridgeWithdrawAllReq(
1483
- request: IPPTLooper.SwapBridgeWithdrawAllRequestStruct,
1484
- overrides?: CallOverrides
1485
- ): Promise<PopulatedTransaction>;
1486
-
1487
- hashTyped_UserRequestStateSetMsg(
1488
- msg: IPPTLooper.UserRequestStateSetMessageStruct,
1489
- overrides?: CallOverrides
1490
- ): Promise<PopulatedTransaction>;
1491
-
1492
- increaseLoopPosition(
1493
- ms: IPPTLooper.IncreasePositionMessageStruct,
1494
- proposerSig: BytesLike,
1495
- req: IPPTLooper.IncreasePositionRequestStruct,
1496
- ownerSig: BytesLike,
1497
- overrides?: PayableOverrides & { from?: string | Promise<string> }
1498
- ): Promise<PopulatedTransaction>;
1499
-
1500
- multicall(
1501
- calls: IMulticall.Call3Struct[],
1502
- overrides?: PayableOverrides & { from?: string | Promise<string> }
1503
- ): Promise<PopulatedTransaction>;
1504
-
1505
- proposer(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1506
-
1507
- proposerNonce(
1508
- ownerSigHash: BytesLike,
1509
- overrides?: CallOverrides
1510
- ): Promise<PopulatedTransaction>;
1511
-
1512
- setExecutor(
1513
- executor: string,
1514
- overrides?: Overrides & { from?: string | Promise<string> }
1515
- ): Promise<PopulatedTransaction>;
1516
-
1517
- setProposer(
1518
- proposer: string,
1519
- overrides?: Overrides & { from?: string | Promise<string> }
1520
- ): Promise<PopulatedTransaction>;
1521
-
1522
- setUserRequestState(
1523
- ms: IPPTLooper.UserRequestStateSetMessageStruct,
1524
- proposerSignature: BytesLike,
1525
- overrides?: Overrides & { from?: string | Promise<string> }
1526
- ): Promise<PopulatedTransaction>;
1527
-
1528
- "swapBridgeWithdrawAll(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256),bytes,(((bytes32,uint256,uint32,uint32),uint256,uint256,uint256),((bytes32,uint256,uint32,uint32),bool,address,address,uint256)),bytes)"(
1529
- ms: IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
1530
- proposerSig: BytesLike,
1531
- req: IPPTLooper.BatchDecPosThenWithdrawRequestStruct,
1532
- ownerSig: BytesLike,
1533
- overrides?: PayableOverrides & { from?: string | Promise<string> }
1534
- ): Promise<PopulatedTransaction>;
1535
-
1536
- "swapBridgeWithdrawAll(((address,bytes32,uint256,bytes32,uint256),(address,address,bytes),(address,address,bytes),uint256,uint256),bytes,((bytes32,uint256,uint32,uint32),bool,address,address,uint256),bytes)"(
1537
- ms: IPPTLooper.SwapBridgeWithdrawAllMessageStruct,
1538
- proposerSig: BytesLike,
1539
- req: IPPTLooper.SwapBridgeWithdrawAllRequestStruct,
1540
- ownerSig: BytesLike,
1541
- overrides?: PayableOverrides & { from?: string | Promise<string> }
1542
- ): Promise<PopulatedTransaction>;
1543
-
1544
- userRequest(
1545
- owner: string,
1546
- boxId: BytesLike,
1547
- overrides?: CallOverrides
1548
- ): Promise<PopulatedTransaction>;
1549
- };
1550
- }