@pendle/core-v2 6.7.0 → 6.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (680) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.json +2 -2
  9. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
  11. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.json +2 -2
  13. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.json +2 -2
  15. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.json +2 -2
  17. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  19. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  21. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  24. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  26. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  28. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  29. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.json +2 -2
  30. package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +1 -1
  31. package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.json +2 -2
  32. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  34. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  36. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.json +2 -2
  39. package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.json +5 -5
  41. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  45. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.json +2 -2
  47. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  50. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.json +2 -2
  52. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  54. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +2 -2
  56. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.json +2 -2
  58. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +2 -2
  60. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.json +2 -2
  62. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.json +2 -2
  64. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +2 -2
  67. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  68. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.json +2 -2
  69. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  70. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.json +2 -2
  71. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  72. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.json +2 -2
  73. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  74. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  75. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.json +2 -2
  76. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  77. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.json +2 -2
  78. package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.dbg.json +1 -1
  79. package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.json +2 -2
  80. package/build/artifacts/contracts/cross-chain/OFTPTSwapper.sol/OFTPTSwapper.dbg.json +4 -0
  81. package/build/artifacts/contracts/cross-chain/OFTPTSwapper.sol/OFTPTSwapper.json +99 -0
  82. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
  83. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.json +2 -2
  84. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
  85. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.json +2 -2
  86. package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.dbg.json +1 -1
  87. package/build/artifacts/contracts/cross-chain/factory/PendleBridgePTFactory.sol/PendleBridgePTFactory.json +2 -2
  88. package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +1 -1
  89. package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.json +2 -2
  90. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +1 -1
  91. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.json +2 -2
  92. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  93. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.json +2 -2
  94. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.dbg.json +1 -1
  95. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.json +2 -2
  96. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.dbg.json +1 -1
  97. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.json +2 -2
  98. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  99. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.json +2 -2
  100. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.dbg.json +1 -1
  101. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.json +2 -2
  102. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
  103. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +2 -2
  104. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
  105. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  106. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.json +2 -2
  107. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IMoneyMarket.sol/IMoneyMarket.dbg.json +4 -0
  113. package/build/artifacts/contracts/interfaces/IMoneyMarket.sol/IMoneyMarket.json +578 -0
  114. package/build/artifacts/contracts/interfaces/IMoneyMarket.sol/IMoneyMarketEvents.dbg.json +4 -0
  115. package/build/artifacts/contracts/interfaces/IMoneyMarket.sol/IMoneyMarketEvents.json +160 -0
  116. package/build/artifacts/contracts/interfaces/IMoneyMarketView.sol/IMoneyMarketView.dbg.json +4 -0
  117. package/build/artifacts/contracts/interfaces/IMoneyMarketView.sol/IMoneyMarketView.json +238 -0
  118. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IPBridgeDataVerifier.sol/IPBridgeDataVerifier.dbg.json +4 -0
  140. package/build/artifacts/contracts/interfaces/IPBridgeDataVerifier.sol/IPBridgeDataVerifier.json +81 -0
  141. package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  144. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  147. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  148. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  149. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  150. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
  151. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +1 -1
  153. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  154. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  155. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  156. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  157. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  158. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.dbg.json +1 -1
  159. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  160. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  161. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  162. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  163. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  164. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  165. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  166. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  167. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  168. package/build/artifacts/contracts/interfaces/IPLoopPositionBox.sol/IPLoopPositionBox.dbg.json +4 -0
  169. package/build/artifacts/contracts/interfaces/IPLoopPositionBox.sol/IPLoopPositionBox.json +170 -0
  170. package/build/artifacts/contracts/interfaces/IPLoopPositionBoxFactory.sol/IPLoopPositionBoxFactory.dbg.json +4 -0
  171. package/build/artifacts/contracts/interfaces/IPLoopPositionBoxFactory.sol/IPLoopPositionBoxFactory.json +377 -0
  172. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  173. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  174. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  175. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  176. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  177. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  178. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  179. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  180. package/build/artifacts/contracts/interfaces/IPOFTPTSwapper.sol/IPOFTPTSwapper.dbg.json +4 -0
  181. package/build/artifacts/contracts/interfaces/{IPSwapHelper.sol/IPSwapHelper.json → IPOFTPTSwapper.sol/IPOFTPTSwapper.json} +2 -2
  182. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  183. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  184. package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooper.dbg.json +4 -0
  185. package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooper.json +2476 -0
  186. package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooperEIP712Types.dbg.json +4 -0
  187. package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooperEIP712Types.json +10 -0
  188. package/build/artifacts/contracts/interfaces/IPPTLooperView.sol/IPPTLooperView.dbg.json +4 -0
  189. package/build/artifacts/contracts/interfaces/IPPTLooperView.sol/IPPTLooperView.json +209 -0
  190. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  191. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  192. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  193. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  194. package/build/artifacts/contracts/interfaces/IPPostPtLoopStateChecker.sol/IPPostPtLoopStateChecker.dbg.json +4 -0
  195. package/build/artifacts/contracts/interfaces/IPPostPtLoopStateChecker.sol/IPPostPtLoopStateChecker.json +29 -0
  196. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  197. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  198. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  199. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  200. package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +1 -1
  201. package/build/artifacts/contracts/interfaces/IPStaticQuoter.sol/IPStaticQuoter.dbg.json +4 -0
  202. package/build/artifacts/contracts/interfaces/IPStaticQuoter.sol/IPStaticQuoter.json +55 -0
  203. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  204. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  205. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  206. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  207. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  208. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  209. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  210. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  211. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  212. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  213. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  214. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  215. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  216. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  217. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  218. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
  219. package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.dbg.json +1 -1
  220. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  221. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.json +2 -2
  222. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  223. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.json +2 -2
  224. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  225. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  226. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  227. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  228. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  229. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.json +2 -2
  230. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +1 -1
  231. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  232. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +2 -2
  233. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  234. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.json +2 -2
  235. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  236. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.json +2 -2
  237. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  238. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
  239. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  240. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.json +2 -2
  241. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  242. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  243. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +2 -2
  244. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  245. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +2 -2
  246. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  247. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.json +2 -2
  248. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
  249. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.json +2 -2
  250. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  251. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.json +2 -2
  252. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  253. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.json +2 -2
  254. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  255. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.json +2 -2
  256. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  257. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.json +2 -2
  258. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  259. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.json +2 -2
  260. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
  261. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.json +2 -2
  262. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  263. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.json +2 -2
  264. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  265. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.json +2 -2
  266. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  267. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.json +2 -2
  268. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  269. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.json +2 -2
  270. package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.dbg.json +1 -1
  271. package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.json +2 -2
  272. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  273. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.json +2 -2
  274. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  275. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.json +2 -2
  276. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  277. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  278. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.json +2 -2
  279. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  280. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
  281. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  282. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.json +2 -2
  283. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  284. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  285. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  286. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
  287. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  288. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.json +2 -2
  289. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  290. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.json +2 -2
  291. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  292. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  293. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  294. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  295. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  296. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  297. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  298. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  299. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  300. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  301. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  302. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  303. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  304. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  305. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  306. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
  307. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  308. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
  309. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  310. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  311. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  312. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.json +2 -2
  313. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  314. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.json +2 -2
  315. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  316. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.json +2 -2
  317. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  318. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
  319. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  320. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.json +2 -2
  321. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  322. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.json +2 -2
  323. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  324. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
  325. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  326. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
  327. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  328. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
  329. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  330. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  331. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
  332. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  333. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
  334. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  335. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  336. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.json +2 -2
  337. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  338. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.json +2 -2
  339. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  340. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.json +2 -2
  341. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  342. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.json +2 -2
  343. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  344. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  345. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.json +2 -2
  346. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  347. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.json +2 -2
  348. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  349. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json +2 -2
  350. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  351. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  352. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.json +2 -2
  353. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  354. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +2 -2
  355. package/build/artifacts/contracts/pt-looping/BridgeDataVerifier.sol/BridgeDataVerifier.dbg.json +4 -0
  356. package/build/artifacts/contracts/pt-looping/BridgeDataVerifier.sol/BridgeDataVerifier.json +405 -0
  357. package/build/artifacts/contracts/pt-looping/PTLooperBase.sol/PTLooperBase.dbg.json +4 -0
  358. package/build/artifacts/contracts/pt-looping/PTLooperBase.sol/PTLooperBase.json +2626 -0
  359. package/build/artifacts/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol/PTLooperEIP712TypesEncodeDataLib.dbg.json +4 -0
  360. package/build/artifacts/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol/PTLooperEIP712TypesEncodeDataLib.json +10 -0
  361. package/build/artifacts/contracts/pt-looping/PendlePTLooper.sol/PendlePTLooper.dbg.json +4 -0
  362. package/build/artifacts/contracts/pt-looping/PendlePTLooper.sol/PendlePTLooper.json +2660 -0
  363. package/build/artifacts/contracts/pt-looping/PendlePTLooperView.sol/PendlePTLooperView.dbg.json +4 -0
  364. package/build/artifacts/contracts/pt-looping/PendlePTLooperView.sol/PendlePTLooperView.json +334 -0
  365. package/build/artifacts/contracts/pt-looping/PostPtLoopStateChecker.sol/PostPtLoopStateChecker.dbg.json +4 -0
  366. package/build/artifacts/contracts/pt-looping/PostPtLoopStateChecker.sol/PostPtLoopStateChecker.json +79 -0
  367. package/build/artifacts/contracts/pt-looping/StaticStableQuoter.sol/StaticStableQuoter.dbg.json +4 -0
  368. package/build/artifacts/contracts/pt-looping/StaticStableQuoter.sol/StaticStableQuoter.json +233 -0
  369. package/build/artifacts/contracts/pt-looping/loop-position-box/LoopPositionBox.sol/LoopPositionBox.dbg.json +4 -0
  370. package/build/artifacts/contracts/pt-looping/loop-position-box/LoopPositionBox.sol/LoopPositionBox.json +198 -0
  371. package/build/artifacts/contracts/pt-looping/loop-position-box/LoopPositionBoxFactory.sol/LoopPositionBoxFactory.dbg.json +4 -0
  372. package/build/artifacts/contracts/pt-looping/loop-position-box/LoopPositionBoxFactory.sol/LoopPositionBoxFactory.json +555 -0
  373. package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarket.sol/BaseMoneyMarket.dbg.json +4 -0
  374. package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarket.sol/BaseMoneyMarket.json +604 -0
  375. package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarketView.sol/BaseMoneyMarketView.dbg.json +4 -0
  376. package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarketView.sol/BaseMoneyMarketView.json +264 -0
  377. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMMPayloadLib.sol/AaveMMPayloadLib.dbg.json +4 -0
  378. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMMPayloadLib.sol/AaveMMPayloadLib.json +10 -0
  379. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarket.sol/AaveMoneyMarket.dbg.json +4 -0
  380. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarket.sol/AaveMoneyMarket.json +659 -0
  381. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarketView.sol/AaveMoneyMarketView.dbg.json +4 -0
  382. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarketView.sol/AaveMoneyMarketView.json +355 -0
  383. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/AaveDataTypes.sol/AaveDataTypes.dbg.json +4 -0
  384. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/AaveDataTypes.sol/AaveDataTypes.json +10 -0
  385. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAToken.sol/IAToken.dbg.json +4 -0
  386. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAToken.sol/IAToken.json +246 -0
  387. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveOracle.sol/IAaveOracle.dbg.json +4 -0
  388. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveOracle.sol/IAaveOracle.json +120 -0
  389. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +4 -0
  390. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveRewardsController.sol/IAaveRewardsController.json +724 -0
  391. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPool.sol/IPool.dbg.json +4 -0
  392. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPool.sol/IPool.json +1600 -0
  393. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolAddressesProvider.sol/IPoolAddressesProvider.dbg.json +4 -0
  394. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolAddressesProvider.sol/IPoolAddressesProvider.json +507 -0
  395. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolDataProviderV3.sol/IPoolDataProviderV3.dbg.json +4 -0
  396. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolDataProviderV3.sol/IPoolDataProviderV3.json +577 -0
  397. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPriceOracleGetter.sol/IPriceOracleGetter.dbg.json +4 -0
  398. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/dependencies/IPriceOracleGetter.sol/IPriceOracleGetter.json +56 -0
  399. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarket.sol/MorphoBlueMoneyMarket.dbg.json +4 -0
  400. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarket.sol/MorphoBlueMoneyMarket.json +633 -0
  401. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarketView.sol/MorphoBlueMoneyMarketView.dbg.json +4 -0
  402. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarketView.sol/MorphoBlueMoneyMarketView.json +298 -0
  403. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol/IIrm.dbg.json +4 -0
  404. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol/IIrm.json +234 -0
  405. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol/IMorpho.dbg.json +4 -0
  406. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol/IMorpho.json +1033 -0
  407. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorphoOracle.sol/IMorphoOracle.dbg.json +4 -0
  408. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorphoOracle.sol/IMorphoOracle.json +24 -0
  409. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/MathLib.sol/MathLib.dbg.json +4 -0
  410. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/MathLib.sol/MathLib.json +10 -0
  411. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/SharesMathLib.sol/SharesMathLib.dbg.json +4 -0
  412. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/dependencies/SharesMathLib.sol/SharesMathLib.json +10 -0
  413. package/build/artifacts/contracts/pt-looping/vendor/bungee/IBungeeInbox.sol/IBungeeSORInbox.dbg.json +4 -0
  414. package/build/artifacts/contracts/pt-looping/vendor/bungee/IBungeeInbox.sol/IBungeeSORInbox.json +143 -0
  415. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  416. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  417. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  418. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  419. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  420. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  421. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  422. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  423. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  424. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  425. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  426. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  427. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  428. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  429. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  430. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  431. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  432. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  433. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  434. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  435. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  436. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  437. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  438. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  439. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  440. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  441. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.json +2 -2
  442. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  443. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  444. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  445. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  446. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  447. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
  448. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  449. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
  450. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  451. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  452. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  453. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  454. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  455. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.json +2 -2
  456. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  457. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  458. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  459. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  460. package/contracts/cross-chain/{PendleSwapHelper.sol → OFTPTSwapper.sol} +4 -3
  461. package/contracts/interfaces/IMoneyMarket.sol +60 -0
  462. package/contracts/interfaces/IMoneyMarketView.sol +42 -0
  463. package/contracts/interfaces/IPBridgeDataVerifier.sol +23 -0
  464. package/contracts/interfaces/IPLoopPositionBox.sol +38 -0
  465. package/contracts/interfaces/IPLoopPositionBoxFactory.sol +37 -0
  466. package/contracts/interfaces/{IPSwapHelper.sol → IPOFTPTSwapper.sol} +1 -1
  467. package/contracts/interfaces/IPPTLooper.sol +301 -0
  468. package/contracts/interfaces/IPPTLooperView.sol +35 -0
  469. package/contracts/interfaces/IPPostPtLoopStateChecker.sol +8 -0
  470. package/contracts/interfaces/IPStaticQuoter.sol +13 -0
  471. package/contracts/pt-looping/BridgeDataVerifier.sol +158 -0
  472. package/contracts/pt-looping/PTLooperBase.sol +236 -0
  473. package/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol +210 -0
  474. package/contracts/pt-looping/PendlePTLooper.sol +318 -0
  475. package/contracts/pt-looping/PendlePTLooperView.sol +42 -0
  476. package/contracts/pt-looping/PostPtLoopStateChecker.sol +79 -0
  477. package/contracts/pt-looping/StaticStableQuoter.sol +46 -0
  478. package/contracts/pt-looping/loop-position-box/LoopPositionBox.sol +85 -0
  479. package/contracts/pt-looping/loop-position-box/LoopPositionBoxFactory.sol +123 -0
  480. package/contracts/pt-looping/money-market/BaseMoneyMarket.sol +129 -0
  481. package/contracts/pt-looping/money-market/BaseMoneyMarketView.sol +123 -0
  482. package/contracts/pt-looping/money-market/implementations/aave/AaveMMPayloadLib.sol +16 -0
  483. package/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarket.sol +123 -0
  484. package/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarketView.sol +200 -0
  485. package/contracts/pt-looping/money-market/implementations/aave/dependencies/AaveDataTypes.sol +259 -0
  486. package/contracts/pt-looping/money-market/implementations/aave/dependencies/IAToken.sol +8 -0
  487. package/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveOracle.sol +33 -0
  488. package/contracts/pt-looping/money-market/implementations/aave/dependencies/IAaveRewardsController.sol +68 -0
  489. package/contracts/pt-looping/money-market/implementations/aave/dependencies/IPool.sol +664 -0
  490. package/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolAddressesProvider.sol +227 -0
  491. package/contracts/pt-looping/money-market/implementations/aave/dependencies/IPoolDataProviderV3.sol +228 -0
  492. package/contracts/pt-looping/money-market/implementations/aave/dependencies/IPriceOracleGetter.sol +32 -0
  493. package/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarket.sol +123 -0
  494. package/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarketView.sol +66 -0
  495. package/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorpho.sol +300 -0
  496. package/contracts/pt-looping/money-market/implementations/morpho/dependencies/IMorphoOracle.sol +14 -0
  497. package/contracts/pt-looping/money-market/implementations/morpho/dependencies/MathLib.sol +35 -0
  498. package/contracts/pt-looping/money-market/implementations/morpho/dependencies/SharesMathLib.sol +42 -0
  499. package/contracts/pt-looping/vendor/bungee/IBungeeInbox.sol +36 -0
  500. package/contracts/router/swap-aggregator/OKXScaleHelper.sol +4 -1
  501. package/deployments/1-core.json +4 -1
  502. package/deployments/130-core.json +2 -1
  503. package/deployments/143-core.json +2 -1
  504. package/deployments/42161-core.json +2 -1
  505. package/deployments/4217-core.json +5 -1
  506. package/deployments/43114-core.json +2 -1
  507. package/deployments/56-core.json +2 -1
  508. package/deployments/57073-core.json +2 -1
  509. package/deployments/747474-core.json +2 -1
  510. package/deployments/8453-core.json +2 -1
  511. package/deployments/9745-core.json +2 -1
  512. package/deployments/999-core.json +2 -1
  513. package/package.json +2 -1
  514. package/typechain-types/AaveMoneyMarket.ts +147 -290
  515. package/typechain-types/AaveMoneyMarketView.ts +0 -13
  516. package/typechain-types/BaseMoneyMarket.ts +147 -271
  517. package/typechain-types/BridgeDataVerifier.ts +564 -0
  518. package/typechain-types/IBungeeSORInbox.ts +192 -0
  519. package/typechain-types/IMoneyMarket.ts +124 -282
  520. package/typechain-types/IMoneyMarketEvents.ts +31 -56
  521. package/typechain-types/IPBridgeDataVerifier.ts +148 -0
  522. package/typechain-types/IPLoopPositionBox.ts +0 -13
  523. package/typechain-types/IPLoopPositionBoxFactory.ts +5 -39
  524. package/typechain-types/IPOFTPTSwapper.ts +161 -0
  525. package/typechain-types/IPPTLooper.ts +658 -695
  526. package/typechain-types/IPPTLooperView.ts +56 -251
  527. package/typechain-types/IPPostPtLoopStateChecker.ts +106 -0
  528. package/typechain-types/IPStaticQuoter.ts +132 -0
  529. package/typechain-types/IPool.ts +8 -8
  530. package/typechain-types/IPoolDataProviderV3.ts +76 -8
  531. package/typechain-types/LoopPositionBox.ts +25 -38
  532. package/typechain-types/LoopPositionBoxFactory.ts +17 -51
  533. package/typechain-types/MorphoBlueMoneyMarket.ts +141 -286
  534. package/typechain-types/MorphoBlueMoneyMarketView.ts +0 -21
  535. package/typechain-types/OFTPTSwapper.ts +161 -0
  536. package/typechain-types/PTLooperBase.ts +671 -708
  537. package/typechain-types/PendlePTLooper.ts +671 -708
  538. package/typechain-types/PendlePTLooperView.ts +71 -266
  539. package/typechain-types/PostPtLoopStateChecker.ts +151 -0
  540. package/typechain-types/StaticStableQuoter.ts +395 -0
  541. package/typechain-types/factories/AaveMoneyMarketView__factory.ts +1 -23
  542. package/typechain-types/factories/AaveMoneyMarket__factory.ts +265 -267
  543. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  544. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  545. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  546. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  547. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  548. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  549. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  550. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  551. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  552. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  553. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  554. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  555. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  556. package/typechain-types/factories/AddressCast__factory.ts +1 -1
  557. package/typechain-types/factories/AddressProvider__factory.ts +1 -1
  558. package/typechain-types/factories/BalanceReader__factory.ts +1 -1
  559. package/typechain-types/factories/BaseMoneyMarket__factory.ts +264 -244
  560. package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +1 -1
  561. package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
  562. package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
  563. package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
  564. package/typechain-types/factories/BridgeDataVerifier__factory.ts +463 -0
  565. package/typechain-types/factories/BridgeFunder__factory.ts +1 -1
  566. package/typechain-types/factories/DVNOptions__factory.ts +1 -1
  567. package/typechain-types/factories/DepositBoxFactory__factory.ts +1 -1
  568. package/typechain-types/factories/DepositBox__factory.ts +1 -1
  569. package/typechain-types/factories/ERC1967Proxy__factory.ts +1 -1
  570. package/typechain-types/factories/ERC20Upgradeable__factory.ts +1 -1
  571. package/typechain-types/factories/ERC20__factory.ts +1 -1
  572. package/typechain-types/factories/EmptyUUPS__factory.ts +1 -1
  573. package/typechain-types/factories/Errors__factory.ts +1 -1
  574. package/typechain-types/factories/ExchangeRateMsgCodec__factory.ts +1 -1
  575. package/typechain-types/factories/ExecutorOptions__factory.ts +1 -1
  576. package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
  577. package/typechain-types/factories/FixedPricePTAMMV2__factory.ts +1 -1
  578. package/typechain-types/factories/IBungeeSORInbox__factory.ts +158 -0
  579. package/typechain-types/factories/IMoneyMarketEvents__factory.ts +11 -61
  580. package/typechain-types/factories/IMoneyMarket__factory.ts +250 -256
  581. package/typechain-types/factories/IPBridgeDataVerifier__factory.ts +100 -0
  582. package/typechain-types/factories/IPLoopPositionBoxFactory__factory.ts +8 -32
  583. package/typechain-types/factories/IPLoopPositionBox__factory.ts +0 -13
  584. package/typechain-types/factories/IPOFTPTSwapper__factory.ts +114 -0
  585. package/typechain-types/factories/IPPTLooperView__factory.ts +94 -201
  586. package/typechain-types/factories/IPPTLooper__factory.ts +1030 -1043
  587. package/typechain-types/factories/IPPostPtLoopStateChecker__factory.ts +48 -0
  588. package/typechain-types/factories/IPStaticQuoter__factory.ts +70 -0
  589. package/typechain-types/factories/IPoolDataProviderV3__factory.ts +39 -1
  590. package/typechain-types/factories/IPool__factory.ts +2 -2
  591. package/typechain-types/factories/LegacyNFTHelper__factory.ts +1 -1
  592. package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
  593. package/typechain-types/factories/LoopPositionBoxFactory__factory.ts +26 -50
  594. package/typechain-types/factories/LoopPositionBox__factory.ts +11 -35
  595. package/typechain-types/factories/MarketSweed__factory.ts +1 -1
  596. package/typechain-types/factories/MorphoBlueMoneyMarketView__factory.ts +1 -14
  597. package/typechain-types/factories/MorphoBlueMoneyMarket__factory.ts +257 -250
  598. package/typechain-types/factories/Multicall2__factory.ts +1 -1
  599. package/typechain-types/factories/NonceManager__factory.ts +1 -1
  600. package/typechain-types/factories/OFTAdapterAltImpl__factory.ts +1 -1
  601. package/typechain-types/factories/OFTAdapterImpl__factory.ts +1 -1
  602. package/typechain-types/factories/OFTAdapter__factory.ts +0 -11
  603. package/typechain-types/factories/OFTPTSwapper__factory.ts +149 -0
  604. package/typechain-types/factories/OptionsBuilder__factory.ts +1 -1
  605. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  606. package/typechain-types/factories/PTLooperBase__factory.ts +1122 -1135
  607. package/typechain-types/factories/PendleAPIFeeDepositor__factory.ts +1 -1
  608. package/typechain-types/factories/PendleBoringOneracle__factory.ts +1 -1
  609. package/typechain-types/factories/PendleBoringSolvBTCOneracle__factory.ts +1 -1
  610. package/typechain-types/factories/PendleBridgePTFactory__factory.ts +1 -1
  611. package/typechain-types/factories/PendleBridgedPrincipalTokenAlt__factory.ts +1 -1
  612. package/typechain-types/factories/PendleBridgedPrincipalToken__factory.ts +1 -1
  613. package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
  614. package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -1
  615. package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -1
  616. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
  617. package/typechain-types/factories/PendleCommonSYFactory__factory.ts +1 -1
  618. package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +1 -1
  619. package/typechain-types/factories/PendleERC20__factory.ts +1 -1
  620. package/typechain-types/factories/PendleExchangeRateOracleApp__factory.ts +1 -1
  621. package/typechain-types/factories/PendleExchangeRateOracleV2__factory.ts +1 -1
  622. package/typechain-types/factories/PendleExchangeRateOracle__factory.ts +1 -1
  623. package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +1 -1
  624. package/typechain-types/factories/PendleFeeSetter__factory.ts +1 -1
  625. package/typechain-types/factories/PendleGaugeControllerUpg__factory.ts +1 -1
  626. package/typechain-types/factories/PendleGovernanceProxy__factory.ts +1 -1
  627. package/typechain-types/factories/PendleLPWrapperFactory__factory.ts +1 -1
  628. package/typechain-types/factories/PendleLPWrapper__factory.ts +1 -1
  629. package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
  630. package/typechain-types/factories/PendleLinearDiscountOracleWrapper__factory.ts +1 -1
  631. package/typechain-types/factories/PendleLpLinearDiscountOracleFactory__factory.ts +1 -1
  632. package/typechain-types/factories/PendleLpLinearDiscountOracle__factory.ts +1 -1
  633. package/typechain-types/factories/PendleMarketFactoryV7Upg__factory.ts +1 -1
  634. package/typechain-types/factories/PendleMarketV7__factory.ts +1 -1
  635. package/typechain-types/factories/PendleMerkleDepositor__factory.ts +1 -1
  636. package/typechain-types/factories/PendleMerkleDistributor__factory.ts +1 -1
  637. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  638. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  639. package/typechain-types/factories/PendleMultiTokenMerkleDistributor__factory.ts +1 -1
  640. package/typechain-types/factories/PendleMulticallOwnerV1__factory.ts +1 -1
  641. package/typechain-types/factories/PendleMulticallV1__factory.ts +1 -1
  642. package/typechain-types/factories/PendleMulticallV2__factory.ts +1 -1
  643. package/typechain-types/factories/PendleOFTAlt__factory.ts +1 -1
  644. package/typechain-types/factories/PendleOFT__factory.ts +1 -1
  645. package/typechain-types/factories/PendleOffchainStorage__factory.ts +1 -1
  646. package/typechain-types/factories/PendlePTLooperView__factory.ts +100 -207
  647. package/typechain-types/factories/PendlePTLooper__factory.ts +1132 -1136
  648. package/typechain-types/factories/PendlePTOFTAdapterFactory__factory.ts +1 -1
  649. package/typechain-types/factories/PendlePYLpOracle__factory.ts +1 -1
  650. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
  651. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  652. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  653. package/typechain-types/factories/PendleProxyAdmin__factory.ts +1 -1
  654. package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +1 -1
  655. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  656. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  657. package/typechain-types/factories/PendleSparkLinearDiscountOracleFactoryWrapper__factory.ts +1 -1
  658. package/typechain-types/factories/PendleSparkLinearDiscountOracleFactory__factory.ts +1 -1
  659. package/typechain-types/factories/PendleSparkLinearDiscountOracle__factory.ts +1 -1
  660. package/typechain-types/factories/PendleSwapHelper__factory.ts +1 -1
  661. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  662. package/typechain-types/factories/PendleWstETHPriceFeed__factory.ts +1 -1
  663. package/typechain-types/factories/PendleYieldContractFactoryUpg__factory.ts +1 -1
  664. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  665. package/typechain-types/factories/PostPtLoopStateChecker__factory.ts +141 -0
  666. package/typechain-types/factories/ProxyAdmin__factory.ts +1 -1
  667. package/typechain-types/factories/Reflector__factory.ts +1 -1
  668. package/typechain-types/factories/SDKErrorsDirectory__factory.ts +1 -1
  669. package/typechain-types/factories/SimulateHelper__factory.ts +1 -1
  670. package/typechain-types/factories/StakedPendle__factory.ts +1 -1
  671. package/typechain-types/factories/StaticStableQuoter__factory.ts +286 -0
  672. package/typechain-types/factories/SupplyCapReader__factory.ts +1 -1
  673. package/typechain-types/factories/TransparentUpgradeableProxy__factory.ts +1 -1
  674. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  675. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  676. package/typechain-types/hardhat.d.ts +360 -0
  677. package/typechain-types/index.ts +80 -0
  678. package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.dbg.json +0 -4
  679. package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.json +0 -99
  680. package/build/artifacts/contracts/interfaces/IPSwapHelper.sol/IPSwapHelper.dbg.json +0 -4
@@ -0,0 +1,48 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ IPPostPtLoopStateChecker,
9
+ IPPostPtLoopStateCheckerInterface,
10
+ } from "../IPPostPtLoopStateChecker";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "contract IPLoopPositionBox",
17
+ name: "box",
18
+ type: "address",
19
+ },
20
+ {
21
+ internalType: "bytes",
22
+ name: "data",
23
+ type: "bytes",
24
+ },
25
+ ],
26
+ name: "check",
27
+ outputs: [],
28
+ stateMutability: "nonpayable",
29
+ type: "function",
30
+ },
31
+ ];
32
+
33
+ export class IPPostPtLoopStateChecker__factory {
34
+ static readonly abi = _abi;
35
+ static createInterface(): IPPostPtLoopStateCheckerInterface {
36
+ return new utils.Interface(_abi) as IPPostPtLoopStateCheckerInterface;
37
+ }
38
+ static connect(
39
+ address: string,
40
+ signerOrProvider: Signer | Provider
41
+ ): IPPostPtLoopStateChecker {
42
+ return new Contract(
43
+ address,
44
+ _abi,
45
+ signerOrProvider
46
+ ) as IPPostPtLoopStateChecker;
47
+ }
48
+ }
@@ -0,0 +1,70 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ IPStaticQuoter,
9
+ IPStaticQuoterInterface,
10
+ } from "../IPStaticQuoter";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "uint256",
17
+ name: "chainidIn",
18
+ type: "uint256",
19
+ },
20
+ {
21
+ internalType: "address",
22
+ name: "tokenIn",
23
+ type: "address",
24
+ },
25
+ {
26
+ internalType: "uint256",
27
+ name: "amountIn",
28
+ type: "uint256",
29
+ },
30
+ {
31
+ internalType: "uint256",
32
+ name: "chainIdOut",
33
+ type: "uint256",
34
+ },
35
+ {
36
+ internalType: "address",
37
+ name: "tokenOut",
38
+ type: "address",
39
+ },
40
+ {
41
+ internalType: "uint256",
42
+ name: "slippage",
43
+ type: "uint256",
44
+ },
45
+ ],
46
+ name: "quote",
47
+ outputs: [
48
+ {
49
+ internalType: "uint256",
50
+ name: "minAmountOut",
51
+ type: "uint256",
52
+ },
53
+ ],
54
+ stateMutability: "view",
55
+ type: "function",
56
+ },
57
+ ];
58
+
59
+ export class IPStaticQuoter__factory {
60
+ static readonly abi = _abi;
61
+ static createInterface(): IPStaticQuoterInterface {
62
+ return new utils.Interface(_abi) as IPStaticQuoterInterface;
63
+ }
64
+ static connect(
65
+ address: string,
66
+ signerOrProvider: Signer | Provider
67
+ ): IPStaticQuoter {
68
+ return new Contract(address, _abi, signerOrProvider) as IPStaticQuoter;
69
+ }
70
+ }
@@ -162,6 +162,25 @@ const _abi = [
162
162
  stateMutability: "view",
163
163
  type: "function",
164
164
  },
165
+ {
166
+ inputs: [
167
+ {
168
+ internalType: "address",
169
+ name: "asset",
170
+ type: "address",
171
+ },
172
+ ],
173
+ name: "getIsVirtualAccActive",
174
+ outputs: [
175
+ {
176
+ internalType: "bool",
177
+ name: "",
178
+ type: "bool",
179
+ },
180
+ ],
181
+ stateMutability: "view",
182
+ type: "function",
183
+ },
165
184
  {
166
185
  inputs: [
167
186
  {
@@ -377,7 +396,7 @@ const _abi = [
377
396
  type: "address",
378
397
  },
379
398
  ],
380
- name: "getReserveEModeCategory",
399
+ name: "getReserveDeficit",
381
400
  outputs: [
382
401
  {
383
402
  internalType: "uint256",
@@ -538,6 +557,25 @@ const _abi = [
538
557
  stateMutability: "view",
539
558
  type: "function",
540
559
  },
560
+ {
561
+ inputs: [
562
+ {
563
+ internalType: "address",
564
+ name: "asset",
565
+ type: "address",
566
+ },
567
+ ],
568
+ name: "getVirtualUnderlyingBalance",
569
+ outputs: [
570
+ {
571
+ internalType: "uint256",
572
+ name: "",
573
+ type: "uint256",
574
+ },
575
+ ],
576
+ stateMutability: "view",
577
+ type: "function",
578
+ },
541
579
  ];
542
580
 
543
581
  export class IPoolDataProviderV3__factory {
@@ -161,7 +161,7 @@ const _abi = [
161
161
  {
162
162
  indexed: true,
163
163
  internalType: "address",
164
- name: "collateralAsset",
164
+ name: "collateral",
165
165
  type: "address",
166
166
  },
167
167
  {
@@ -1158,7 +1158,7 @@ const _abi = [
1158
1158
  inputs: [
1159
1159
  {
1160
1160
  internalType: "contract IERC20Metadata",
1161
- name: "collateralAsset",
1161
+ name: "collateral",
1162
1162
  type: "address",
1163
1163
  },
1164
1164
  {
@@ -31,7 +31,7 @@ const _abi = [
31
31
  ];
32
32
 
33
33
  const _bytecode =
34
- "0x6080604052348015600e575f5ffd5b506102368061001c5f395ff3fe608060405234801561000f575f5ffd5b5060043610610029575f3560e01c8063402f51fa1461002d575b5f5ffd5b61004061003b366004610179565b610052565b60405190815260200160405180910390f35b5f5f739b1bfa5d13375e8e21fdcb0a5f965974f9dcfdd16001600160a01b031663bc479c3a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100a4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100c891906101a6565b90505f805b82811015610171576040516362dc7bb960e11b81526001600160a01b038616600482015260248101829052739b1bfa5d13375e8e21fdcb0a5f965974f9dcfdd19063c5b8f77290604401602060405180830381865afa158015610132573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061015691906101bd565b156101695781610165816101dc565b9250505b6001016100cd565b509392505050565b5f60208284031215610189575f5ffd5b81356001600160a01b038116811461019f575f5ffd5b9392505050565b5f602082840312156101b6575f5ffd5b5051919050565b5f602082840312156101cd575f5ffd5b8151801515811461019f575f5ffd5b5f600182016101f957634e487b7160e01b5f52601160045260245ffd5b506001019056fea2646970667358221220bdbad5d417c33c8b24a71fd048478e4f31ddbe0fd370c7d3b72e3037b2472ff664736f6c634300081e0033";
34
+ "0x6080604052348015600e575f5ffd5b506102368061001c5f395ff3fe608060405234801561000f575f5ffd5b5060043610610029575f3560e01c8063402f51fa1461002d575b5f5ffd5b61004061003b366004610179565b610052565b60405190815260200160405180910390f35b5f5f739b1bfa5d13375e8e21fdcb0a5f965974f9dcfdd16001600160a01b031663bc479c3a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100a4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100c891906101a6565b90505f805b82811015610171576040516362dc7bb960e11b81526001600160a01b038616600482015260248101829052739b1bfa5d13375e8e21fdcb0a5f965974f9dcfdd19063c5b8f77290604401602060405180830381865afa158015610132573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061015691906101bd565b156101695781610165816101dc565b9250505b6001016100cd565b509392505050565b5f60208284031215610189575f5ffd5b81356001600160a01b038116811461019f575f5ffd5b9392505050565b5f602082840312156101b6575f5ffd5b5051919050565b5f602082840312156101cd575f5ffd5b8151801515811461019f575f5ffd5b5f600182016101f957634e487b7160e01b5f52601160045260245ffd5b506001019056fea26469706673582212204433d4b2af670bd343b0d7ece83a21d4a85e9af1609f1cc7e09e50e9dd94dfd064736f6c634300081e0033";
35
35
 
36
36
  type LegacyNFTHelperConstructorParams =
37
37
  | [signer?: Signer]
@@ -174,7 +174,7 @@ const _abi = [
174
174
  ];
175
175
 
176
176
  const _bytecode =
177
- "0x60c060405234801561000f575f5ffd5b5060405161181938038061181983398101604081905261002e91610043565b6001600160a01b03166080523060a052610070565b5f60208284031215610053575f5ffd5b81516001600160a01b0381168114610069575f5ffd5b9392505050565b60805160a05161177b61009e5f395f61065f01525f818160ce0152818161012c015261019f015261177b5ff3fe608060405234801561000f575f5ffd5b506004361061004a575f3560e01c8063083c1fce1461004e578063152c3db71461006357806319585e1a1461008d5780632d36a6d3146100ae575b5f5ffd5b61006161005c36600461115e565b6100c1565b005b6100766100713660046111f3565b6102b7565b6040516100849291906112ae565b60405180910390f35b6100a061009b3660046112db565b61054b565b6040516100849291906113d6565b6100766100bc36600461144b565b6107ef565b6100cc8285836109f5565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480156101955750604051637d2d278360e11b81526001600160a01b0384169063fa5a4f0690610154907f0000000000000000000000000000000000000000000000000000000000000000906004016114ae565b602060405180830381865afa15801561016f573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061019391906114d6565b155b156101c9576101c57f00000000000000000000000000000000000000000000000000000000000000005f83610a61565b5f91505b6101d38284610b1e565b5f806001600160a01b03808616908516156101ee575f6101f0565b835b6040513060248201526001600160a01b0387166044820152606481018690525f608482015260a40160408051601f198184030181529181526020820180516001600160e01b03166320e8c56560e01b1790525161024d91906114f6565b5f6040518083038185875af1925050503d805f8114610287576040519150601f19603f3d011682016040523d82523d5f602084013e61028c565b606091505b5091509150818160405163032695f960e31b81526004016102ae929190611511565b60405180910390fd5b6060808584146102fb5760405162461bcd60e51b815260206004820152600f60248201526e098cadccee8d040dad2e6dac2e8c6d608b1b60448201526064016102ae565b836001600160401b038111156103135761031361152b565b60405190808252806020026020018201604052801561033c578160200160208202803683370190505b509150836001600160401b038111156103575761035761152b565b604051908082528060200260200182016040528015610380578160200160208202803683370190505b5090505f5b848110156105405787878281811061039f5761039f61153f565b90506020020160208101906103b49190611553565b6001600160a01b03166370a082318787848181106103d4576103d461153f565b90506020020160208101906103e99190611553565b6040518263ffffffff1660e01b815260040161040591906114ae565b602060405180830381865afa158015610420573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610444919061156e565b8382815181106104565761045661153f565b6020026020010181815250508787828181106104745761047461153f565b90506020020160208101906104899190611553565b6001600160a01b031663dd62ed3e8787848181106104a9576104a961153f565b90506020020160208101906104be9190611553565b866040518363ffffffff1660e01b81526004016104dc929190611585565b602060405180830381865afa1580156104f7573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051b919061156e565b82828151811061052d5761052d61153f565b6020908102919091010152600101610385565b509550959350505050565b6060805f8888905090505f8a6001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610592573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105b6919061159f565b9050816001600160401b038111156105d0576105d061152b565b6040519080825280602002602001820160405280156105f9578160200160208202803683370190505b509350816001600160401b038111156106145761061461152b565b60405190808252806020026020018201604052801561064757816020015b60608152602001906001900390816106325790505b5092505f5b828110156107e0575f6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163063083c1fce8e8e868181106106975761069761153f565b90506020020160208101906106ac9190611553565b868e8e888181106106bf576106bf61153f565b90506020020160208101906106d49190611553565b8d8d898181106106e6576106e661153f565b6040516001600160a01b039687166024820152948616604486015292909416606484015260209091020135608482015260a401905060408051601f198184030181529181526020820180516001600160e01b031660e09490941b93909317909252905161075392506114f6565b5f60405180830381855af49150503d805f811461078b576040519150601f19603f3d011682016040523d82523d5f602084013e610790565b606091505b5091505061079d81610bd9565b8784815181106107af576107af61153f565b602002602001018785815181106107c8576107c861153f565b6020908102919091010191909152525060010161064c565b50505097509795505050505050565b606080836001600160401b0381111561080a5761080a61152b565b604051908082528060200260200182016040528015610833578160200160208202803683370190505b509150836001600160401b0381111561084e5761084e61152b565b604051908082528060200260200182016040528015610877578160200160208202803683370190505b5090505f5b848110156109eb57866001600160a01b03166370a082318787848181106108a5576108a561153f565b90506020020160208101906108ba9190611553565b6040518263ffffffff1660e01b81526004016108d691906114ae565b602060405180830381865afa1580156108f1573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610915919061156e565b8382815181106109275761092761153f565b602002602001018181525050866001600160a01b031663dd62ed3e8787848181106109545761095461153f565b90506020020160208101906109699190611553565b866040518363ffffffff1660e01b8152600401610987929190611585565b602060405180830381865afa1580156109a2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109c6919061156e565b8282815181106109d8576109d861153f565b602090810291909101015260010161087c565b5094509492505050565b6001600160a01b038316610a4657803414610a415760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064016102ae565b505050565b8015610a4157610a416001600160a01b038416833084610c79565b6001600160a01b038316610ac457816001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004015f604051808303818588803b158015610aa8575f5ffd5b505af1158015610aba573d5f5f3e3d5ffd5b5050505050505050565b604051632e1a7d4d60e01b8152600481018290526001600160a01b03841690632e1a7d4d906024015f604051808303815f87803b158015610b03575f5ffd5b505af1158015610b15573d5f5f3e3d5ffd5b50505050505050565b6001600160a01b038216610b30575050565b610b4260026001600160601b036115ce565b6001600160601b0316826001600160a01b031663dd62ed3e30846040518363ffffffff1660e01b8152600401610b79929190611585565b602060405180830381865afa158015610b94573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb8919061156e565b1015610bd557610bc982825f610cd9565b610bd582825f19610cd9565b5050565b5f60605f6004845110158015610c07575063032695f960e31b610bfb85611608565b6001600160e01b031916145b905080610c1757505f1993915050565b5f5f610c31866004808951610c2c9190611646565b610dde565b806020019051810190610c44919061165f565b915091508115610c695780806020019051810190610c62919061156e565b9450610c71565b5f1994508093505b505050915091565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610cd3908590610eea565b50505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b17905291515f92839290871691610d3491906114f6565b5f604051808303815f865af19150503d805f8114610d6d576040519150601f19603f3d011682016040523d82523d5f602084013e610d72565b606091505b5091509150818015610d9c575080511580610d9c575080806020019051810190610d9c91906114d6565b610dd75760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b60448201526064016102ae565b5050505050565b606081610dec81601f611720565b1015610e2b5760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016102ae565b610e358284611720565b84511015610e795760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016102ae565b606082158015610e975760405191505f825260208201604052610ee1565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015610ed0578051835260209283019201610eb8565b5050858452601f01601f1916604052505b50949350505050565b5f610f3e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610fbd9092919063ffffffff16565b905080515f1480610f5e575080806020019051810190610f5e91906114d6565b610a415760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102ae565b6060610fcb84845f85610fd3565b949350505050565b6060824710156110345760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102ae565b5f5f866001600160a01b0316858760405161104f91906114f6565b5f6040518083038185875af1925050503d805f8114611089576040519150601f19603f3d011682016040523d82523d5f602084013e61108e565b606091505b509150915061109f878383876110aa565b979650505050505050565b606083156111185782515f03611111576001600160a01b0385163b6111115760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102ae565b5081610fcb565b610fcb838381511561112d5781518083602001fd5b8060405162461bcd60e51b81526004016102ae9190611733565b6001600160a01b038116811461115b575f5ffd5b50565b5f5f5f5f60808587031215611171575f5ffd5b843561117c81611147565b9350602085013561118c81611147565b9250604085013561119c81611147565b9396929550929360600135925050565b5f5f83601f8401126111bc575f5ffd5b5081356001600160401b038111156111d2575f5ffd5b6020830191508360208260051b85010111156111ec575f5ffd5b9250929050565b5f5f5f5f5f60608688031215611207575f5ffd5b85356001600160401b0381111561121c575f5ffd5b611228888289016111ac565b90965094505060208601356001600160401b03811115611246575f5ffd5b611252888289016111ac565b909450925050604086013561126681611147565b809150509295509295909350565b5f8151808452602084019350602083015f5b828110156112a4578151865260209586019590910190600101611286565b5093949350505050565b604081525f6112c06040830185611274565b82810360208401526112d28185611274565b95945050505050565b5f5f5f5f5f5f5f6080888a0312156112f1575f5ffd5b87356112fc81611147565b965060208801356001600160401b03811115611316575f5ffd5b6113228a828b016111ac565b90975095505060408801356001600160401b03811115611340575f5ffd5b61134c8a828b016111ac565b90955093505060608801356001600160401b0381111561136a575f5ffd5b6113768a828b016111ac565b989b979a50959850939692959293505050565b5f5b838110156113a357818101518382015260200161138b565b50505f910152565b5f81518084526113c2816020860160208601611389565b601f01601f19169290920160200192915050565b604081525f6113e86040830185611274565b828103602084015280845180835260208301915060208160051b840101602087015f5b8381101561143d57601f198684030185526114278383516113ab565b602095860195909350919091019060010161140b565b509098975050505050505050565b5f5f5f5f6060858703121561145e575f5ffd5b843561146981611147565b935060208501356001600160401b03811115611483575f5ffd5b61148f878288016111ac565b90945092505060408501356114a381611147565b939692955090935050565b6001600160a01b0391909116815260200190565b805180151581146114d1575f5ffd5b919050565b5f602082840312156114e6575f5ffd5b6114ef826114c2565b9392505050565b5f8251611507818460208701611389565b9190910192915050565b8215158152604060208201525f610fcb60408301846113ab565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611563575f5ffd5b81356114ef81611147565b5f6020828403121561157e575f5ffd5b5051919050565b6001600160a01b0392831681529116602082015260400190565b5f602082840312156115af575f5ffd5b81516114ef81611147565b634e487b7160e01b5f52601160045260245ffd5b5f6001600160601b038316806115f257634e487b7160e01b5f52601260045260245ffd5b6001600160601b03929092169190910492915050565b805160208201516001600160e01b031981169190600482101561163f576001600160e01b0319600483900360031b81901b82161692505b5050919050565b81810381811115611659576116596115ba565b92915050565b5f5f60408385031215611670575f5ffd5b611679836114c2565b60208401519092506001600160401b03811115611694575f5ffd5b8301601f810185136116a4575f5ffd5b80516001600160401b038111156116bd576116bd61152b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156116eb576116eb61152b565b604052818152828201602001871015611702575f5ffd5b611713826020830160208601611389565b8093505050509250929050565b80820180821115611659576116596115ba565b602081525f6114ef60208301846113ab56fea2646970667358221220383e8441ff53e3d00bbc0f052924b49f80915632c40e6058d26a25dd46a3c9b664736f6c634300081e0033";
177
+ "0x60c060405234801561000f575f5ffd5b506040516117f63803806117f683398101604081905261002e91610043565b6001600160a01b03166080523060a052610070565b5f60208284031215610053575f5ffd5b81516001600160a01b0381168114610069575f5ffd5b9392505050565b60805160a05161175861009e5f395f61065f01525f818160ce0152818161012c015261019f01526117585ff3fe608060405234801561000f575f5ffd5b506004361061004a575f3560e01c8063083c1fce1461004e578063152c3db71461006357806319585e1a1461008d5780632d36a6d3146100ae575b5f5ffd5b61006161005c36600461115e565b6100c1565b005b6100766100713660046111f3565b6102b7565b6040516100849291906112ae565b60405180910390f35b6100a061009b3660046112db565b61054b565b6040516100849291906113b7565b6100766100bc36600461142c565b6107ef565b6100cc8285836109f5565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161480156101955750604051637d2d278360e11b81526001600160a01b0384169063fa5a4f0690610154907f00000000000000000000000000000000000000000000000000000000000000009060040161148f565b602060405180830381865afa15801561016f573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061019391906114b7565b155b156101c9576101c57f00000000000000000000000000000000000000000000000000000000000000005f83610a61565b5f91505b6101d38284610b1e565b5f806001600160a01b03808616908516156101ee575f6101f0565b835b6040513060248201526001600160a01b0387166044820152606481018690525f608482015260a40160408051601f198184030181529181526020820180516001600160e01b03166320e8c56560e01b1790525161024d91906114d7565b5f6040518083038185875af1925050503d805f8114610287576040519150601f19603f3d011682016040523d82523d5f602084013e61028c565b606091505b5091509150818160405163032695f960e31b81526004016102ae9291906114ed565b60405180910390fd5b6060808584146102fb5760405162461bcd60e51b815260206004820152600f60248201526e098cadccee8d040dad2e6dac2e8c6d608b1b60448201526064016102ae565b836001600160401b0381111561031357610313611507565b60405190808252806020026020018201604052801561033c578160200160208202803683370190505b509150836001600160401b0381111561035757610357611507565b604051908082528060200260200182016040528015610380578160200160208202803683370190505b5090505f5b848110156105405787878281811061039f5761039f61151b565b90506020020160208101906103b4919061152f565b6001600160a01b03166370a082318787848181106103d4576103d461151b565b90506020020160208101906103e9919061152f565b6040518263ffffffff1660e01b8152600401610405919061148f565b602060405180830381865afa158015610420573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610444919061154a565b8382815181106104565761045661151b565b6020026020010181815250508787828181106104745761047461151b565b9050602002016020810190610489919061152f565b6001600160a01b031663dd62ed3e8787848181106104a9576104a961151b565b90506020020160208101906104be919061152f565b866040518363ffffffff1660e01b81526004016104dc929190611561565b602060405180830381865afa1580156104f7573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051b919061154a565b82828151811061052d5761052d61151b565b6020908102919091010152600101610385565b509550959350505050565b6060805f8888905090505f8a6001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa158015610592573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105b6919061157b565b9050816001600160401b038111156105d0576105d0611507565b6040519080825280602002602001820160405280156105f9578160200160208202803683370190505b509350816001600160401b0381111561061457610614611507565b60405190808252806020026020018201604052801561064757816020015b60608152602001906001900390816106325790505b5092505f5b828110156107e0575f6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163063083c1fce8e8e868181106106975761069761151b565b90506020020160208101906106ac919061152f565b868e8e888181106106bf576106bf61151b565b90506020020160208101906106d4919061152f565b8d8d898181106106e6576106e661151b565b6040516001600160a01b039687166024820152948616604486015292909416606484015260209091020135608482015260a401905060408051601f198184030181529181526020820180516001600160e01b031660e09490941b93909317909252905161075392506114d7565b5f60405180830381855af49150503d805f811461078b576040519150601f19603f3d011682016040523d82523d5f602084013e610790565b606091505b5091505061079d81610bd9565b8784815181106107af576107af61151b565b602002602001018785815181106107c8576107c861151b565b6020908102919091010191909152525060010161064c565b50505097509795505050505050565b606080836001600160401b0381111561080a5761080a611507565b604051908082528060200260200182016040528015610833578160200160208202803683370190505b509150836001600160401b0381111561084e5761084e611507565b604051908082528060200260200182016040528015610877578160200160208202803683370190505b5090505f5b848110156109eb57866001600160a01b03166370a082318787848181106108a5576108a561151b565b90506020020160208101906108ba919061152f565b6040518263ffffffff1660e01b81526004016108d6919061148f565b602060405180830381865afa1580156108f1573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610915919061154a565b8382815181106109275761092761151b565b602002602001018181525050866001600160a01b031663dd62ed3e8787848181106109545761095461151b565b9050602002016020810190610969919061152f565b866040518363ffffffff1660e01b8152600401610987929190611561565b602060405180830381865afa1580156109a2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109c6919061154a565b8282815181106109d8576109d861151b565b602090810291909101015260010161087c565b5094509492505050565b6001600160a01b038316610a4657803414610a415760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064016102ae565b505050565b8015610a4157610a416001600160a01b038416833084610c79565b6001600160a01b038316610ac457816001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004015f604051808303818588803b158015610aa8575f5ffd5b505af1158015610aba573d5f5f3e3d5ffd5b5050505050505050565b604051632e1a7d4d60e01b8152600481018290526001600160a01b03841690632e1a7d4d906024015f604051808303815f87803b158015610b03575f5ffd5b505af1158015610b15573d5f5f3e3d5ffd5b50505050505050565b6001600160a01b038216610b30575050565b610b4260026001600160601b036115aa565b6001600160601b0316826001600160a01b031663dd62ed3e30846040518363ffffffff1660e01b8152600401610b79929190611561565b602060405180830381865afa158015610b94573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb8919061154a565b1015610bd557610bc982825f610cd9565b610bd582825f19610cd9565b5050565b5f60605f6004845110158015610c07575063032695f960e31b610bfb856115e4565b6001600160e01b031916145b905080610c1757505f1993915050565b5f5f610c31866004808951610c2c9190611622565b610dde565b806020019051810190610c44919061163b565b915091508115610c695780806020019051810190610c62919061154a565b9450610c71565b5f1994508093505b505050915091565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610cd3908590610eea565b50505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b17905291515f92839290871691610d3491906114d7565b5f604051808303815f865af19150503d805f8114610d6d576040519150601f19603f3d011682016040523d82523d5f602084013e610d72565b606091505b5091509150818015610d9c575080511580610d9c575080806020019051810190610d9c91906114b7565b610dd75760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b60448201526064016102ae565b5050505050565b606081610dec81601f6116fd565b1015610e2b5760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b60448201526064016102ae565b610e3582846116fd565b84511015610e795760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016102ae565b606082158015610e975760405191505f825260208201604052610ee1565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015610ed0578051835260209283019201610eb8565b5050858452601f01601f1916604052505b50949350505050565b5f610f3e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610fbd9092919063ffffffff16565b905080515f1480610f5e575080806020019051810190610f5e91906114b7565b610a415760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102ae565b6060610fcb84845f85610fd3565b949350505050565b6060824710156110345760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102ae565b5f5f866001600160a01b0316858760405161104f91906114d7565b5f6040518083038185875af1925050503d805f8114611089576040519150601f19603f3d011682016040523d82523d5f602084013e61108e565b606091505b509150915061109f878383876110aa565b979650505050505050565b606083156111185782515f03611111576001600160a01b0385163b6111115760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102ae565b5081610fcb565b610fcb838381511561112d5781518083602001fd5b8060405162461bcd60e51b81526004016102ae9190611710565b6001600160a01b038116811461115b575f5ffd5b50565b5f5f5f5f60808587031215611171575f5ffd5b843561117c81611147565b9350602085013561118c81611147565b9250604085013561119c81611147565b9396929550929360600135925050565b5f5f83601f8401126111bc575f5ffd5b5081356001600160401b038111156111d2575f5ffd5b6020830191508360208260051b85010111156111ec575f5ffd5b9250929050565b5f5f5f5f5f60608688031215611207575f5ffd5b85356001600160401b0381111561121c575f5ffd5b611228888289016111ac565b90965094505060208601356001600160401b03811115611246575f5ffd5b611252888289016111ac565b909450925050604086013561126681611147565b809150509295509295909350565b5f8151808452602084019350602083015f5b828110156112a4578151865260209586019590910190600101611286565b5093949350505050565b604081525f6112c06040830185611274565b82810360208401526112d28185611274565b95945050505050565b5f5f5f5f5f5f5f6080888a0312156112f1575f5ffd5b87356112fc81611147565b965060208801356001600160401b03811115611316575f5ffd5b6113228a828b016111ac565b90975095505060408801356001600160401b03811115611340575f5ffd5b61134c8a828b016111ac565b90955093505060608801356001600160401b0381111561136a575f5ffd5b6113768a828b016111ac565b989b979a50959850939692959293505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b604081525f6113c96040830185611274565b828103602084015280845180835260208301915060208160051b840101602087015f5b8381101561141e57601f19868403018552611408838351611389565b60209586019590935091909101906001016113ec565b509098975050505050505050565b5f5f5f5f6060858703121561143f575f5ffd5b843561144a81611147565b935060208501356001600160401b03811115611464575f5ffd5b611470878288016111ac565b909450925050604085013561148481611147565b939692955090935050565b6001600160a01b0391909116815260200190565b805180151581146114b2575f5ffd5b919050565b5f602082840312156114c7575f5ffd5b6114d0826114a3565b9392505050565b5f82518060208501845e5f920191825250919050565b8215158152604060208201525f610fcb6040830184611389565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561153f575f5ffd5b81356114d081611147565b5f6020828403121561155a575f5ffd5b5051919050565b6001600160a01b0392831681529116602082015260400190565b5f6020828403121561158b575f5ffd5b81516114d081611147565b634e487b7160e01b5f52601160045260245ffd5b5f6001600160601b038316806115ce57634e487b7160e01b5f52601260045260245ffd5b6001600160601b03929092169190910492915050565b805160208201516001600160e01b031981169190600482101561161b576001600160e01b0319600483900360031b81901b82161692505b5050919050565b8181038181111561163557611635611596565b92915050565b5f5f6040838503121561164c575f5ffd5b611655836114a3565b60208401519092506001600160401b03811115611670575f5ffd5b8301601f81018513611680575f5ffd5b80516001600160401b0381111561169957611699611507565b604051601f8201601f19908116603f011681016001600160401b03811182821017156116c7576116c7611507565b6040528181528282016020018710156116de575f5ffd5b8160208401602083015e5f602083830101528093505050509250929050565b8082018082111561163557611635611596565b602081525f6114d0602083018461138956fea2646970667358221220e9bf3c440fc5bf720efe79e34802c8b2ec85368f99055cc6a685ca6cf5d9542264736f6c634300081e0033";
178
178
 
179
179
  type LimitBackendHelperV2ConstructorParams =
180
180
  | [signer?: Signer]
@@ -13,12 +13,12 @@ const _abi = [
13
13
  inputs: [
14
14
  {
15
15
  internalType: "address",
16
- name: "beaconProxyCodeContract_",
16
+ name: "_beaconProxyCodeContract",
17
17
  type: "address",
18
18
  },
19
19
  {
20
20
  internalType: "address",
21
- name: "positionBoxBeacon_",
21
+ name: "_positionBoxBeacon",
22
22
  type: "address",
23
23
  },
24
24
  ],
@@ -67,8 +67,8 @@ const _abi = [
67
67
  type: "address",
68
68
  },
69
69
  {
70
- internalType: "contract IMoneyMarket",
71
- name: "spokeMMMaster",
70
+ internalType: "address",
71
+ name: "spokeMMBeacon",
72
72
  type: "address",
73
73
  },
74
74
  {
@@ -200,8 +200,8 @@ const _abi = [
200
200
  type: "address",
201
201
  },
202
202
  {
203
- internalType: "contract IMoneyMarket",
204
- name: "spokeMMMaster",
203
+ internalType: "address",
204
+ name: "spokeMMBeacon",
205
205
  type: "address",
206
206
  },
207
207
  {
@@ -211,33 +211,9 @@ const _abi = [
211
211
  },
212
212
  ],
213
213
  internalType: "struct BoxData",
214
- name: "",
214
+ name: "bd",
215
215
  type: "tuple",
216
216
  },
217
- {
218
- internalType: "bool",
219
- name: "needsAccount",
220
- type: "bool",
221
- },
222
- ],
223
- stateMutability: "view",
224
- type: "function",
225
- },
226
- {
227
- inputs: [
228
- {
229
- internalType: "bytes32",
230
- name: "boxId",
231
- type: "bytes32",
232
- },
233
- ],
234
- name: "boxDataMMPayload",
235
- outputs: [
236
- {
237
- internalType: "bytes32",
238
- name: "",
239
- type: "bytes32",
240
- },
241
217
  ],
242
218
  stateMutability: "view",
243
219
  type: "function",
@@ -334,12 +310,12 @@ const _abi = [
334
310
  outputs: [
335
311
  {
336
312
  internalType: "contract IPLoopPositionBox",
337
- name: "ibox",
313
+ name: "box",
338
314
  type: "address",
339
315
  },
340
316
  {
341
317
  internalType: "contract IMoneyMarket",
342
- name: "imm",
318
+ name: "mm",
343
319
  type: "address",
344
320
  },
345
321
  {
@@ -375,8 +351,8 @@ const _abi = [
375
351
  type: "address",
376
352
  },
377
353
  {
378
- internalType: "contract IMoneyMarket",
379
- name: "spokeMMMaster",
354
+ internalType: "address",
355
+ name: "spokeMMBeacon",
380
356
  type: "address",
381
357
  },
382
358
  {
@@ -428,8 +404,8 @@ const _abi = [
428
404
  type: "address",
429
405
  },
430
406
  {
431
- internalType: "contract IMoneyMarket",
432
- name: "spokeMMMaster",
407
+ internalType: "address",
408
+ name: "spokeMMBeacon",
433
409
  type: "address",
434
410
  },
435
411
  {
@@ -439,7 +415,7 @@ const _abi = [
439
415
  },
440
416
  ],
441
417
  internalType: "struct BoxData",
442
- name: "res",
418
+ name: "bd",
443
419
  type: "tuple",
444
420
  },
445
421
  ],
@@ -458,7 +434,7 @@ const _abi = [
458
434
  inputs: [
459
435
  {
460
436
  internalType: "address",
461
- name: "owner_",
437
+ name: "_owner",
462
438
  type: "address",
463
439
  },
464
440
  ],
@@ -528,8 +504,8 @@ const _abi = [
528
504
  type: "address",
529
505
  },
530
506
  {
531
- internalType: "contract IMoneyMarket",
532
- name: "spokeMMMaster",
507
+ internalType: "address",
508
+ name: "spokeMMBeacon",
533
509
  type: "address",
534
510
  },
535
511
  {
@@ -580,7 +556,7 @@ const _abi = [
580
556
  ];
581
557
 
582
558
  const _bytecode =
583
- "0x60e060405234801561000f575f5ffd5b5060405161186e38038061186e83398101604081905261002e916101b2565b6100366100cb565b6001600160a01b03828116608081905290821660a052604080516020833b808301820190935282825290925f918401903c604080516001600160a01b0384166020820152808201919091525f606082015260800160408051601f19818403018152908290526100a892916020016101fa565b60408051601f19818403018152919052805160209091012060c052506102169050565b600154600160a81b900460ff16156101395760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff90811614610195576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b80516001600160a01b03811681146101ad575f5ffd5b919050565b5f5f604083850312156101c3575f5ffd5b6101cc83610197565b91506101da60208401610197565b90509250929050565b5f81518060208401855e5f93019283525090919050565b5f61020e61020883866101e3565b846101e3565b949350505050565b60805160a05160c0516116196102555f395f81816101d401526104ca01525f818161016b015261069601525f818161010b015261064501526116195ff3fe608060405234801561000f575f5ffd5b50600436106100c3575f3560e01c8063078dfbe7146100c757806327409695146100dc5780632d610bb0146101065780632f06558114610145578063311d5b0b146101665780634e71e0c81461018d57806351e91dff146101955780635fa98ef7146101cf5780638da5cb5b146101f657806390ffcea614610208578063a92572fb1461021b578063b6492d041461023d578063c2cb1adf14610250578063c4d66de814610263578063e30c397814610276575b5f5ffd5b6100da6100d5366004611195565b610289565b005b6100ef6100ea3660046111dd565b61038b565b6040516100fd929190611284565b60405180910390f35b61012d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100fd565b6101586101533660046112b6565b6103bf565b6040519081526020016100fd565b61012d7f000000000000000000000000000000000000000000000000000000000000000081565b6100da6103ee565b6101a86101a336600461137f565b610496565b604080516001600160a01b03909416845260208401929092521515908201526060016100fd565b6101587f000000000000000000000000000000000000000000000000000000000000000081565b5f5461012d906001600160a01b031681565b6101586102163660046111dd565b610506565b61022e61022936600461137f565b61051a565b6040516100fd939291906113a9565b61015861024b3660046113d7565b6107d2565b6101a861025e36600461137f565b610b4c565b6100da6102713660046113f1565b610b6a565b60015461012d906001600160a01b031681565b5f546001600160a01b031633146102bb5760405162461bcd60e51b81526004016102b29061140c565b60405180910390fd5b8115610369576001600160a01b0383161515806102d55750805b6103195760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016102b2565b5f80546040516001600160a01b03808716939216915f5160206115c45f395f51905f5291a35f80546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0385166001600160a01b0319909116179055505050565b610393611123565b5f5f61039e84610c94565b90506103a981610d17565b90549094600160401b90910460ff169350915050565b5f816040516020016103d19190611441565b604051602081830303815290604052805190602001209050919050565b6001546001600160a01b03163381146104495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016102b2565b5f80546040516001600160a01b03808516939216915f5160206115c45f395f51905f5291a35f80546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b5f5f5f84846040516020016104ac929190611478565b6040516020818303038152906040528051906020012091506104ee827f0000000000000000000000000000000000000000000000000000000000000000610d9c565b92505f836001600160a01b03163b1190509250925092565b5f61051082610c94565b6005015492915050565b5f5f610524611123565b5f5f5f5f5f6105338a8a610db1565b9450945094509450945084965061054981610d17565b95506001600160a01b03851615801590610561575081155b15610622576001600160a01b038086169061057e90861685610e74565b6001600160a01b03161461059457610594611491565b5f61059f8b8b610496565b505060e0880151608089015160a08a0151604051634b64f8bf60e11b81526001600160a01b03808616600483015260248201949094529183166044830152821660648201529192508916906396c9f17e906084015f604051808303815f87803b15801561060a575f5ffd5b505af115801561061c573d5f5f3e3d5ffd5b50505050505b50505050505f5f5f6106348888610496565b925092509250829550806107c8575f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316803b806020016040519081016040528181525f908060200190933c604080516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166020820152808201919091525f606082015260800160408051601f19818403018152908290526106e992916020016114bc565b6040516020818303038152906040529050836001600160a01b031661070f5f8584610f08565b6001600160a01b03161461072557610725611491565b5f806001600160a01b038816156107455786608001518760a00151610748565b5f5f5b6040516304d42ba360e31b81526001600160a01b038e81166004830152602482018e90528b8116604483015280841660648301528083166084830152929450909250908a16906326a15d189060a4015f604051808303815f87803b1580156107ae575f5ffd5b505af11580156107c0573d5f5f3e3d5ffd5b505050505050505b5050509250925092565b5f80546001600160a01b031633146107fc5760405162461bcd60e51b81526004016102b29061140c565b4661080a60208401846114d0565b63ffffffff16148061083057504661082860408401602085016114d0565b63ffffffff16145b61088d5760405162461bcd60e51b815260206004820152602860248201527f4c6f6f70506f736974696f6e426f78466163746f72793a20696e76616c69642060448201526718da185a5b881a5960c21b60648201526084016102b2565b5f4661089f60408501602086016114d0565b63ffffffff1614801561091c57506108bd60e0840160c085016113f1565b6001600160a01b031663f75d217f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108f8573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091c91906114e9565b9050610930610153368590038501856112b6565b6040805161012081019091529092508061094d60208601866114d0565b63ffffffff16815260200184602001602081019061096b91906114d0565b63ffffffff168152602001821515815260200184604001602081019061099191906113f1565b6001600160a01b031681526020016109af60808601606087016113f1565b6001600160a01b031681526020016109cd60a08601608087016113f1565b6001600160a01b031681526020016109eb60c0860160a087016113f1565b6001600160a01b03168152602001610a0960e0860160c087016113f1565b6001600160a01b03908116825260e0808701356020938401525f8681526032845260409081902085518154958701518784015160608901518716600160481b02600160481b600160e81b0319911515600160401b0291909116600160401b600160e81b031963ffffffff938416600160201b026001600160401b0319909a16939094169290921797909717919091161794909417845560808501516001850180549185166001600160a01b031992831617905560a086015160028601805491861691831691909117905560c08601516003860180549186169183169190911790559185015160048501805491909416921691909117909155610100909201516005909101555182907fe24d9bdb0d8927f21ed21989f9e1dd86fafbe7cedb9e3ec1c8d60f12c17cfe4890610b3e908690611504565b60405180910390a250919050565b5f5f5f610b598585610db1565b509298909750919550909350505050565b600154600160a81b900460ff1615808015610b90575060018054600160a01b900460ff16105b80610bb05750303b158015610bb0575060018054600160a01b900460ff16145b610c135760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016102b2565b6001805460ff60a01b1916600160a01b1790558015610c40576001805460ff60a81b1916600160a81b1790555b610c498261100d565b8015610c90576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b5f8181526032602052604090208054600160481b90046001600160a01b0316610d125760405162461bcd60e51b815260206004820152602a60248201527f4c6f6f70506f736974696f6e426f78466163746f72793a20626f78206e6f74206044820152691c9959da5cdd195c995960b21b60648201526084016102b2565b919050565b610d1f611123565b506040805161010081018252825463ffffffff8082168352600160201b82041660208301526001600160a01b03600160481b9091048116928201929092526001830154821660608201526002830154821660808201526003830154821660a0820152600483015490911660c082015260059091015460e082015290565b5f610da883833061109b565b90505b92915050565b5f5f5f5f5f610dbf86610c94565b805490915063ffffffff600160201b909104164614610de9575f9450849350839250829150610e6a565b600481015481546001600160a01b039091169450600160401b900460ff1615610e62578686604051602001610e1f929190611478565b60408051601f1981840301815291905280516020909101209250610e4c6001600160a01b038516846110c4565b94505f856001600160a01b03163b119150610e6a565b839450600191505b9295509295909350565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008360601b60e81c175f526e5af43d82803e903d91602b57fd5bf38360781b1760205281603760095ff590506001600160a01b038116610dab5760405162461bcd60e51b8152602060048201526017602482015276115490cc4c4d8dce8818dc99585d194c8819985a5b1959604a1b60448201526064016102b2565b5f83471015610f595760405162461bcd60e51b815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e636500000060448201526064016102b2565b81515f03610fa95760405162461bcd60e51b815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f60448201526064016102b2565b8282516020840186f590506001600160a01b0381166110065760405162461bcd60e51b8152602060048201526019602482015278437265617465323a204661696c6564206f6e206465706c6f7960381b60448201526064016102b2565b9392505050565b600154600160a81b900460ff1661107a5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016102b2565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b5f604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b6040513060388201526f5af43d82803e903d91602b57fd5bf3ff602482015260148101839052733d602d80600a3d3981f3363d3d373d3d3d363d738152605881018290526037600c820120607882015260556043909101205f90610da8565b60408051610100810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e081019190915290565b6001600160a01b038116811461117a575f5ffd5b50565b8035610d1281611166565b801515811461117a575f5ffd5b5f5f5f606084860312156111a7575f5ffd5b83356111b281611166565b925060208401356111c281611188565b915060408401356111d281611188565b809150509250925092565b5f602082840312156111ed575f5ffd5b5035919050565b6001600160a01b03169052565b63ffffffff815116825263ffffffff602082015116602083015260018060a01b036040820151166040830152606081015161123f60608401826111f4565b50608081015161125260808401826111f4565b5060a081015161126560a08401826111f4565b5060c081015161127860c08401826111f4565b5060e090810151910152565b61012081016112938285611201565b8215156101008301529392505050565b803563ffffffff81168114610d12575f5ffd5b5f6101008284031280156112c8575f5ffd5b5060405161010081016001600160401b03811182821017156112f857634e487b7160e01b5f52604160045260245ffd5b604052611304836112a3565b8152611312602084016112a3565b60208201526113236040840161117d565b60408201526113346060840161117d565b60608201526113456080840161117d565b608082015261135660a0840161117d565b60a082015261136760c0840161117d565b60c082015260e0928301359281019290925250919050565b5f5f60408385031215611390575f5ffd5b823561139b81611166565b946020939093013593505050565b6001600160a01b0384811682528316602082015261014081016113cf6040830184611201565b949350505050565b5f6101008284031280156113e9575f5ffd5b509092915050565b5f60208284031215611401575f5ffd5b813561100681611166565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b610120808252600f908201526e098dedee0a0dee6d2e8d2dedc84def608b1b6101408201526101608101610dab6020830184611201565b6001600160a01b03929092168252602082015260400190565b634e487b7160e01b5f52600160045260245ffd5b5f81518060208401855e5f93019283525090919050565b5f6113cf6114ca83866114a5565b846114a5565b5f602082840312156114e0575f5ffd5b610da8826112a3565b5f602082840312156114f9575f5ffd5b815161100681611188565b610100810163ffffffff611517846112a3565b16825263ffffffff61152b602085016112a3565b166020830152604083013561153f81611166565b6001600160a01b031660408301526115596060840161117d565b61156660608401826111f4565b506115736080840161117d565b61158060808401826111f4565b5061158d60a0840161117d565b61159a60a08401826111f4565b506115a760c0840161117d565b6115b460c08401826111f4565b5060e09283013591909201529056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0a2646970667358221220baa36b92d3a8fd1d2c326275e22287301cc0a0b0a08824192c07db5c8db1a12664736f6c634300081e0033";
559
+ "0x60e080604052346101f957604081611df7803803809161001f82856101fd565b8339810103126101f95761003e602061003783610220565b9201610220565b9060015460ff8160a81c166101a45760ff808260a01c1603610161575b50608081905260a08290526001600160a01b0316803b91906001600160401b03831161014d57610108906040519361009d6020601f19601f84011601866101fd565b8085525f6020860180933c6020604051938185019060018060a01b031681526040808601525f6060860152606085526100d76080866101fd565b60405194859383850197518091895e840190838201905f8252519283915e01015f815203601f1981018352826101fd565b51902060c052604051611bc290816102358239608051818181610f410152611a6b015260a0518181816109a00152610e8d015260c051818181610c8b01526118390152f35b634e487b7160e01b5f52604160045260245ffd5b60ff60a01b191660ff60a01b1760015560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249890602090a15f61005b565b60405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b6064820152608490fd5b5f80fd5b601f909101601f19168101906001600160401b0382119082101761014d57604052565b51906001600160a01b03821682036101f95756fe60806040526004361015610011575f80fd5b5f5f3560e01c8063078dfbe71461106f5780632740969514610f655780632d610bb014610ef75780632f06558114610eb1578063311d5b0b14610e435780634e71e0c814610d2a57806351e91dff14610cae5780635fa98ef714610c565780638da5cb5b14610c06578063a92572fb146107ed578063b6492d0414610445578063c2cb1adf146103c2578063c4d66de8146101085763e30c3978146100b4575f80fd5b3461010557807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261010557602073ffffffffffffffffffffffffffffffffffffffff60015416604051908152f35b80fd5b50346101055760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261010557610140611247565b6001549060ff8260a81c1615918280936103b2575b8015610398575b156103145782740100000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff8316176001556102d1575b5060ff60015460a81c161561024d5773ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff00000000000000000000000000000000000000008354161782556101f75780f35b7fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff600154166001557f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498602060405160018152a180f35b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152fd5b7fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff167501010000000000000000000000000000000000000000176001555f6101a4565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152fd5b50303b15801561015c5750600160ff8260a01c161461015c565b50600160ff8260a01c1610610155565b50346101055760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261010557610441610409610400611247565b602435906118c0565b506040805173ffffffffffffffffffffffffffffffffffffffff90951685526020850192909252151590830152509081906060820190565b0390f35b5034610105576101007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101055761049873ffffffffffffffffffffffffffffffffffffffff8254163314611434565b6104a061189a565b63ffffffff16461480156107d7575b15610753576104c56104c036611311565b611645565b908181526032602052604081209163ffffffff6104e061189a565b169183549067ffffffff000000006104f66118ad565b60201b16916044359273ffffffffffffffffffffffffffffffffffffffff84169586850361074b577fffffffff000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffff00000000000000008660401b16931617171785556064359073ffffffffffffffffffffffffffffffffffffffff821680830361074f5760018701817fffffffffffffffffffffffff000000000000000000000000000000000000000082541617905560843573ffffffffffffffffffffffffffffffffffffffff811680820361074b5760028901817fffffffffffffffffffffffff000000000000000000000000000000000000000082541617905560a4359173ffffffffffffffffffffffffffffffffffffffff8316938484036107475760038b01857fffffffffffffffffffffffff000000000000000000000000000000000000000082541617905560c4359673ffffffffffffffffffffffffffffffffffffffff88169a8b8903610743576005999a9b9c8d60048201907fffffffffffffffffffffffff000000000000000000000000000000000000000082541617905560e4359a8b9101556040519a60043563ffffffff811680910361073f578c5260243563ffffffff811680910361073f579360209e97938f938f9e9b97937fe24d9bdb0d8927f21ed21989f9e1dd86fafbe7cedb9e3ec1c8d60f12c17cfe489e9b976101009e9a968e01525060408c01525060608a01525060808801525060a0860152505060c083015260e0820152a2604051908152f35b8980fd5b8780fd5b8580fd5b8380fd5b5080fd5b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4c6f6f70506f736974696f6e426f78466163746f72793a20696e76616c69642060448201527f636861696e2069640000000000000000000000000000000000000000000000006064820152fd5b504663ffffffff6107e66118ad565b16146104af565b5034610bf95760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610bf95773ffffffffffffffffffffffffffffffffffffffff9061083b611247565b60243591610847611499565b5061085283836117d1565b9391959095169373ffffffffffffffffffffffffffffffffffffffff61087882846118c0565b9a9398929894909416809881159586159081610bfd575b50610abb575b5050501561097e575b6101408761097c8a896040519384526020840152604083019060e0809163ffffffff815116845263ffffffff602082015116602085015273ffffffffffffffffffffffffffffffffffffffff604082015116604085015273ffffffffffffffffffffffffffffffffffffffff606082015116606085015273ffffffffffffffffffffffffffffffffffffffff608082015116608085015273ffffffffffffffffffffffffffffffffffffffff60a08201511660a085015273ffffffffffffffffffffffffffffffffffffffff60c08201511660c08501520151910152565bf35b8673ffffffffffffffffffffffffffffffffffffffff6109ca6109d1936109c47f0000000000000000000000000000000000000000000000000000000000000000611a69565b9061197e565b1614611866565b15610a7f578283915b863b15610a7b5773ffffffffffffffffffffffffffffffffffffffff9291839182604051967f26a15d180000000000000000000000000000000000000000000000000000000088521660048701526024860152866044860152166064840152166084820152818160a48183885af18015610a7057610a5b575b80808061089e565b610a668280926112d0565b6101055780610a53565b6040513d84823e3d90fd5b8480fd5b73ffffffffffffffffffffffffffffffffffffffff60808701511673ffffffffffffffffffffffffffffffffffffffff60a088015116916109da565b6109ca73ffffffffffffffffffffffffffffffffffffffff91610add9461197e565b5f6060604051610aec8161126a565b828152826020820152826040820152015260e089015173ffffffffffffffffffffffffffffffffffffffff60808b01511673ffffffffffffffffffffffffffffffffffffffff60a08c01511660405192610b458461126a565b8b84526020840190815260408401928352606084019182528a3b15610bf95773ffffffffffffffffffffffffffffffffffffffff92839182604051967ef1a3d60000000000000000000000000000000000000000000000000000000088525116600487015251602486015251166044840152511660648201525f81608481838c5af18015610bee57610bd9575b8781610895565b610be69196505f906112d0565b5f945f610bd2565b6040513d5f823e3d90fd5b5f80fd5b9050155f61088f565b34610bf9575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610bf957602073ffffffffffffffffffffffffffffffffffffffff5f5416604051908152f35b34610bf9575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610bf95760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b34610bf95760407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610bf957610441610cf4610ceb611247565b602435906117d1565b6040805173ffffffffffffffffffffffffffffffffffffffff909416845260208401929092521515908201529081906060820190565b34610bf9575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610bf95760015473ffffffffffffffffffffffffffffffffffffffff811690813303610de5577fffffffffffffffffffffffff000000000000000000000000000000000000000091825f548273ffffffffffffffffffffffffffffffffffffffff82167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a316175f5516600155005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152fd5b34610bf9575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610bf957602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b34610bf9576101007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610bf9576020610eef6104c036611311565b604051908152f35b34610bf9575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610bf957602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b34610bf95760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610bf957610100610fa26004356114d5565b61097c604051809260e0809163ffffffff815116845263ffffffff602082015116602085015273ffffffffffffffffffffffffffffffffffffffff604082015116604085015273ffffffffffffffffffffffffffffffffffffffff606082015116606085015273ffffffffffffffffffffffffffffffffffffffff608082015116608085015273ffffffffffffffffffffffffffffffffffffffff60a08201511660a085015273ffffffffffffffffffffffffffffffffffffffff60c08201511660c08501520151910152565b34610bf95760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610bf9576110a6611247565b602435908115158203610bf957604435918215158303610bf9576110e273ffffffffffffffffffffffffffffffffffffffff5f54163314611434565b156112025773ffffffffffffffffffffffffffffffffffffffff16908115908115916111fa575b501561119c577fffffffffffffffffffffffff00000000000000000000000000000000000000005f548273ffffffffffffffffffffffffffffffffffffffff82167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a316175f55600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4f776e61626c653a207a65726f206164647265737300000000000000000000006044820152fd5b905082611109565b73ffffffffffffffffffffffffffffffffffffffff9150167fffffffffffffffffffffffff000000000000000000000000000000000000000060015416176001555f80f35b6004359073ffffffffffffffffffffffffffffffffffffffff82168203610bf957565b6080810190811067ffffffffffffffff82111761128657604052565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b610100810190811067ffffffffffffffff82111761128657604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761128657604052565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc610100910112610bf95760405190611349826112b3565b8160043563ffffffff81168103610bf957815260243563ffffffff81168103610bf957602082015260443573ffffffffffffffffffffffffffffffffffffffff81168103610bf957604082015260643573ffffffffffffffffffffffffffffffffffffffff81168103610bf957606082015260843573ffffffffffffffffffffffffffffffffffffffff81168103610bf957608082015260a43573ffffffffffffffffffffffffffffffffffffffff81168103610bf95760a082015260c43573ffffffffffffffffffffffffffffffffffffffff81168103610bf95760c082015260e060e435910152565b1561143b57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b604051906114a6826112b3565b5f60e0838281528260208201528260408201528260608201528260808201528260a08201528260c08201520152565b6114dd611499565b505f52603260205260405f20906040516114f6816112b3565b600573ffffffffffffffffffffffffffffffffffffffff845463ffffffff8116845263ffffffff8160201c16602085015260401c169384604084015273ffffffffffffffffffffffffffffffffffffffff600182015416606084015273ffffffffffffffffffffffffffffffffffffffff600282015416608084015273ffffffffffffffffffffffffffffffffffffffff60038201541660a084015273ffffffffffffffffffffffffffffffffffffffff60048201541660c0840152015460e082015291156115c157565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4c6f6f70506f736974696f6e426f78466163746f72793a20626f78206e6f742060448201527f72656769737465726564000000000000000000000000000000000000000000006064820152fd5b61179a6117cb6101606040519361165d6040866112d0565b600f85527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f602087017f4c6f6f70506f736974696f6e426f780000000000000000000000000000000000815260405196879460208601996101208b52518093816101408901528888015e5f878488010152604086019060e0809163ffffffff815116845263ffffffff602082015116602085015273ffffffffffffffffffffffffffffffffffffffff604082015116604085015273ffffffffffffffffffffffffffffffffffffffff606082015116606085015273ffffffffffffffffffffffffffffffffffffffff608082015116608085015273ffffffffffffffffffffffffffffffffffffffff60a08201511660a085015273ffffffffffffffffffffffffffffffffffffffff60c08201511660c08501520151910152565b0116810103017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081018352826112d0565b51902090565b6040805173ffffffffffffffffffffffffffffffffffffffff909216602083019081529082019290925261183081606081015b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081018352826112d0565b51902061185e307f000000000000000000000000000000000000000000000000000000000000000083611b6c565b91823b151590565b1561186d57565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52600160045260245ffd5b60043563ffffffff81168103610bf95790565b60243563ffffffff81168103610bf95790565b9190916118cb611499565b506118d5836114d5565b9263ffffffff6020850151164603611960576040805173ffffffffffffffffffffffffffffffffffffffff90931660208401908152908301919091529061191f8160608101611804565b51902061194573ffffffffffffffffffffffffffffffffffffffff60c085015116611a69565b9161195883516020850120309084611b6c565b93843b151591565b5050905f916040516119736020826112d0565b5f8152915f915f9190565b90805115611a0b576020815191015ff59073ffffffffffffffffffffffffffffffffffffffff8216156119ad57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f437265617465323a204661696c6564206f6e206465706c6f79000000000000006044820152fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f6044820152fd5b7f000000000000000000000000000000000000000000000000000000000000000090813b67ffffffffffffffff8111611286576020611b6992817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160192611ad860405194856112d0565b8084525f83850180973c60405173ffffffffffffffffffffffffffffffffffffffff838201921682526040808201525f606082015260608152611b1c6080826112d0565b6040519586945180918587015e840190838201905f8252519283915e01015f8152037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081018352826112d0565b90565b90605592600b92604051926040840152602083015281520160ff8153209056fea2646970667358221220fc87855b48469b9cea3545280a9eae4ec3e9bc6281f596a2587052e10489a40564736f6c634300081e0033";
584
560
 
585
561
  type LoopPositionBoxFactoryConstructorParams =
586
562
  | [signer?: Signer]
@@ -601,24 +577,24 @@ export class LoopPositionBoxFactory__factory extends ContractFactory {
601
577
  }
602
578
 
603
579
  deploy(
604
- beaconProxyCodeContract_: string,
605
- positionBoxBeacon_: string,
580
+ _beaconProxyCodeContract: string,
581
+ _positionBoxBeacon: string,
606
582
  overrides?: Overrides & { from?: string | Promise<string> }
607
583
  ): Promise<LoopPositionBoxFactory> {
608
584
  return super.deploy(
609
- beaconProxyCodeContract_,
610
- positionBoxBeacon_,
585
+ _beaconProxyCodeContract,
586
+ _positionBoxBeacon,
611
587
  overrides || {}
612
588
  ) as Promise<LoopPositionBoxFactory>;
613
589
  }
614
590
  getDeployTransaction(
615
- beaconProxyCodeContract_: string,
616
- positionBoxBeacon_: string,
591
+ _beaconProxyCodeContract: string,
592
+ _positionBoxBeacon: string,
617
593
  overrides?: Overrides & { from?: string | Promise<string> }
618
594
  ): TransactionRequest {
619
595
  return super.getDeployTransaction(
620
- beaconProxyCodeContract_,
621
- positionBoxBeacon_,
596
+ _beaconProxyCodeContract,
597
+ _positionBoxBeacon,
622
598
  overrides || {}
623
599
  );
624
600
  }
@@ -13,12 +13,7 @@ const _abi = [
13
13
  inputs: [
14
14
  {
15
15
  internalType: "address",
16
- name: "manager_",
17
- type: "address",
18
- },
19
- {
20
- internalType: "address",
21
- name: "factory_",
16
+ name: "_manager",
22
17
  type: "address",
23
18
  },
24
19
  ],
@@ -51,19 +46,6 @@ const _abi = [
51
46
  stateMutability: "view",
52
47
  type: "function",
53
48
  },
54
- {
55
- inputs: [],
56
- name: "FACTORY",
57
- outputs: [
58
- {
59
- internalType: "address",
60
- name: "",
61
- type: "address",
62
- },
63
- ],
64
- stateMutability: "view",
65
- type: "function",
66
- },
67
49
  {
68
50
  inputs: [],
69
51
  name: "MANAGER",
@@ -158,27 +140,27 @@ const _abi = [
158
140
  inputs: [
159
141
  {
160
142
  internalType: "address",
161
- name: "owner_",
143
+ name: "_owner",
162
144
  type: "address",
163
145
  },
164
146
  {
165
147
  internalType: "bytes32",
166
- name: "boxId_",
148
+ name: "_boxId",
167
149
  type: "bytes32",
168
150
  },
169
151
  {
170
152
  internalType: "address",
171
- name: "spokeMoneyMarket_",
153
+ name: "_spokeMoneyMarket",
172
154
  type: "address",
173
155
  },
174
156
  {
175
157
  internalType: "address",
176
- name: "ptToApprove_",
158
+ name: "_ptToApprove",
177
159
  type: "address",
178
160
  },
179
161
  {
180
162
  internalType: "address",
181
- name: "debtTokenToApprove_",
163
+ name: "_debtTokenToApprove",
182
164
  type: "address",
183
165
  },
184
166
  ],
@@ -217,7 +199,7 @@ const _abi = [
217
199
  ];
218
200
 
219
201
  const _bytecode =
220
- "0x60c060405234801561000f575f5ffd5b506040516110e23803806110e283398101604081905261002e91610060565b6001600160a01b039182166080521660a052610091565b80516001600160a01b038116811461005b575f5ffd5b919050565b5f5f60408385031215610071575f5ffd5b61007a83610045565b915061008860208401610045565b90509250929050565b60805160a0516110236100bf5f395f61013701525f818160c301528181610338015261044701526110235ff3fe60806040526004361061006d575f3560e01c8063117803e3146100785780631b2df850146100b257806326a15d18146100e557806328dc8307146101065780632dd3100014610126578063746381a314610159578063a817c11314610178578063c3b35a7e1461019b575f5ffd5b3661007457005b5f5ffd5b348015610083575f5ffd5b505f5461009c906201000090046001600160a01b031681565b6040516100a99190610c20565b60405180910390f35b3480156100bd575f5ffd5b5061009c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156100f0575f5ffd5b506101046100ff366004610c4f565b6101ba565b005b610119610114366004610d15565b61032b565b6040516100a99190610e59565b348015610131575f5ffd5b5061009c7f000000000000000000000000000000000000000000000000000000000000000081565b348015610164575f5ffd5b5060025461009c906001600160a01b031681565b348015610183575f5ffd5b5061018d60015481565b6040519081526020016100a9565b3480156101a6575f5ffd5b506101046101b5366004610e6b565b61043c565b5f54610100900460ff16158080156101d857505f54600160ff909116105b806101f857506101e730610494565b1580156101f857505f5460ff166001145b6102605760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b5f805460ff191660011790558015610281575f805461ff0019166101001790555b5f80546001600160a01b03808916620100000262010000600160b01b0319909216919091179091556001869055600280549186166001600160a01b031990921682179055156102de576102d483856104a3565b6102de82856104a3565b8015610323575f805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b6060336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103755760405162461bcd60e51b815260040161025790610ea5565b82515f906001600160a01b03161561038d575f610393565b83602001515b9050345f81836103a283610563565b6103ac9190610eff565b6103b69190610eff565b90506103ce865f015187604001518860200151610574565b60808601516103f6906103e18486610f12565b60608901516001600160a01b0316919061059b565b935061040a865f015187604001515f610574565b5f6104145f610563565b905081811115610432576104325f8761042d8585610eff565b6105c9565b5050505092915050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104845760405162461bcd60e51b815260040161025790610ea5565b61048f8284836105c9565b505050565b6001600160a01b03163b151590565b6001600160a01b0382166104b5575050565b6104c760026001600160601b03610f25565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa15801561051e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105429190610f5f565b101561055f5761055382825f6106a1565b61055f82825f196106a1565b5050565b5f61056e30836107b0565b92915050565b6001600160a01b03831661058757505050565b61048f6001600160a01b0384168383610843565b60606105c1848484604051806060016040528060298152602001610fc56029913961090d565b949350505050565b8015806105de57506001600160a01b03821630145b156105e857505050565b6001600160a01b03831661068d575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f811461063f576040519150601f19603f3d011682016040523d82523d5f602084013e610644565b606091505b50509050806106875760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610257565b50505050565b61048f6001600160a01b03841683836109e4565b5f5f846001600160a01b031663095ea7b360e01b85856040516024016106c8929190610f76565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516107069190610f8f565b5f604051808303815f865af19150503d805f811461073f576040519150601f19603f3d011682016040523d82523d5f602084013e610744565b606091505b509150915081801561076e57508051158061076e57508080602001905181019061076e9190610fa5565b6107a95760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401610257565b5050505050565b5f6001600160a01b03821615610830576040516370a0823160e01b81526001600160a01b038316906370a08231906107ec908690600401610c20565b602060405180830381865afa158015610807573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082b9190610f5f565b61083c565b826001600160a01b0316315b9392505050565b5f63095ea7b360e01b838360405160240161085f929190610f76565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152905061089d8482610a03565b610687576040516001600160a01b03841660248201525f604482015261090390859063095ea7b360e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610a9f565b6106878482610a9f565b60608247101561096e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610257565b5f5f866001600160a01b031685876040516109899190610f8f565b5f6040518083038185875af1925050503d805f81146109c3576040519150601f19603f3d011682016040523d82523d5f602084013e6109c8565b606091505b50915091506109d987838387610b72565b979650505050505050565b61048f8363a9059cbb60e01b84846040516024016108cc929190610f76565b5f5f5f846001600160a01b031684604051610a1e9190610f8f565b5f604051808303815f865af19150503d805f8114610a57576040519150601f19603f3d011682016040523d82523d5f602084013e610a5c565b606091505b5091509150818015610a86575080511580610a86575080806020019051810190610a869190610fa5565b8015610a965750610a9685610494565b95945050505050565b5f610af3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610be89092919063ffffffff16565b905080515f1480610b13575080806020019051810190610b139190610fa5565b61048f5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610257565b60608315610bde5782515f03610bd757610b8b85610494565b610bd75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610257565b50816105c1565b6105c18383610bf6565b60606105c184845f8561090d565b815115610c065781518083602001fd5b8060405162461bcd60e51b81526004016102579190610e59565b6001600160a01b0391909116815260200190565b80356001600160a01b0381168114610c4a575f5ffd5b919050565b5f5f5f5f5f60a08688031215610c63575f5ffd5b610c6c86610c34565b945060208601359350610c8160408701610c34565b9250610c8f60608701610c34565b9150610c9d60808701610c34565b90509295509295909350565b634e487b7160e01b5f52604160045260245ffd5b60405160a081016001600160401b0381118282101715610cdf57610cdf610ca9565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610d0d57610d0d610ca9565b604052919050565b5f5f60408385031215610d26575f5ffd5b82356001600160401b03811115610d3b575f5ffd5b830160a08186031215610d4c575f5ffd5b610d54610cbd565b610d5d82610c34565b815260208281013590820152610d7560408301610c34565b6040820152610d8660608301610c34565b606082015260808201356001600160401b03811115610da3575f5ffd5b80830192505085601f830112610db7575f5ffd5b81356001600160401b03811115610dd057610dd0610ca9565b610de3601f8201601f1916602001610ce5565b818152876020838601011115610df7575f5ffd5b816020850160208301375f6020838301015280608084015250508093505050610e2260208401610c34565b90509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61083c6020830184610e2b565b5f5f5f60608486031215610e7d575f5ffd5b610e8684610c34565b9250610e9460208501610c34565b929592945050506040919091013590565b60208082526026908201527f4c6f6f70506f736974696f6e426f783a2063616c6c6572206973206e6f74206d60408201526530b730b3b2b960d11b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561056e5761056e610eeb565b8082018082111561056e5761056e610eeb565b5f6001600160601b03831680610f4957634e487b7160e01b5f52601260045260245ffd5b6001600160601b03929092169190910492915050565b5f60208284031215610f6f575f5ffd5b5051919050565b6001600160a01b03929092168252602082015260400190565b5f82518060208501845e5f920191825250919050565b5f60208284031215610fb5575f5ffd5b8151801515811461083c575f5ffdfe416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564a26469706673582212205369a0e25303b7651d1abcc0af44084ea2988badd741c9935010e57bf59e211264736f6c634300081e0033";
202
+ "0x60a0604052348015600e575f5ffd5b5060405161108a38038061108a833981016040819052602b91603b565b6001600160a01b03166080526066565b5f60208284031215604a575f5ffd5b81516001600160a01b0381168114605f575f5ffd5b9392505050565b608051610fff61008b5f395f818160b8015281816102fa01526104090152610fff5ff3fe608060405260043610610062575f3560e01c8063117803e31461006d5780631b2df850146100a757806326a15d18146100da57806328dc8307146100fb578063746381a31461011b578063a817c1131461013a578063c3b35a7e1461015d575f5ffd5b3661006957005b5f5ffd5b348015610078575f5ffd5b505f54610091906201000090046001600160a01b031681565b60405161009e9190610bfc565b60405180910390f35b3480156100b2575f5ffd5b506100917f000000000000000000000000000000000000000000000000000000000000000081565b3480156100e5575f5ffd5b506100f96100f4366004610c2b565b61017c565b005b61010e610109366004610cf1565b6102ed565b60405161009e9190610e35565b348015610126575f5ffd5b50600254610091906001600160a01b031681565b348015610145575f5ffd5b5061014f60015481565b60405190815260200161009e565b348015610168575f5ffd5b506100f9610177366004610e47565b6103fe565b5f54610100900460ff161580801561019a57505f54600160ff909116105b806101ba57506101a930610456565b1580156101ba57505f5460ff166001145b6102225760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b5f805460ff191660011790558015610243575f805461ff0019166101001790555b5f80546001600160a01b03808916620100000262010000600160b01b0319909216919091179091556001869055600280549186166001600160a01b031990921682179055156102a0576102968385610465565b6102a08285610465565b80156102e5575f805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b6060336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103375760405162461bcd60e51b815260040161021990610e81565b82515f906001600160a01b03161561034f575f610355565b83602001515b9050345f818361036483610525565b61036e9190610edb565b6103789190610edb565b9050610390865f015187604001518860200151610536565b60808601516103b8906103a38486610eee565b60608901516001600160a01b03169190610577565b93506103cc865f015187604001515f610536565b5f6103d65f610525565b9050818111156103f4576103f45f876103ef8585610edb565b6105a5565b5050505092915050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104465760405162461bcd60e51b815260040161021990610e81565b6104518284836105a5565b505050565b6001600160a01b03163b151590565b6001600160a01b038216610477575050565b61048960026001600160601b03610f01565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa1580156104e0573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105049190610f3b565b10156105215761051582825f61067d565b61052182825f1961067d565b5050565b5f610530308361078c565b92915050565b6001600160a01b038316158061055957506002546001600160a01b038381169116145b1561056357505050565b6104516001600160a01b038416838361081f565b606061059d848484604051806060016040528060298152602001610fa1602991396108e9565b949350505050565b8015806105ba57506001600160a01b03821630145b156105c457505050565b6001600160a01b038316610669575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f811461061b576040519150601f19603f3d011682016040523d82523d5f602084013e610620565b606091505b50509050806106635760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610219565b50505050565b6104516001600160a01b03841683836109c0565b5f5f846001600160a01b031663095ea7b360e01b85856040516024016106a4929190610f52565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516106e29190610f6b565b5f604051808303815f865af19150503d805f811461071b576040519150601f19603f3d011682016040523d82523d5f602084013e610720565b606091505b509150915081801561074a57508051158061074a57508080602001905181019061074a9190610f81565b6107855760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401610219565b5050505050565b5f6001600160a01b0382161561080c576040516370a0823160e01b81526001600160a01b038316906370a08231906107c8908690600401610bfc565b602060405180830381865afa1580156107e3573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108079190610f3b565b610818565b826001600160a01b0316315b9392505050565b5f63095ea7b360e01b838360405160240161083b929190610f52565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152905061087984826109df565b610663576040516001600160a01b03841660248201525f60448201526108df90859063095ea7b360e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610a7b565b6106638482610a7b565b60608247101561094a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610219565b5f5f866001600160a01b031685876040516109659190610f6b565b5f6040518083038185875af1925050503d805f811461099f576040519150601f19603f3d011682016040523d82523d5f602084013e6109a4565b606091505b50915091506109b587838387610b4e565b979650505050505050565b6104518363a9059cbb60e01b84846040516024016108a8929190610f52565b5f5f5f846001600160a01b0316846040516109fa9190610f6b565b5f604051808303815f865af19150503d805f8114610a33576040519150601f19603f3d011682016040523d82523d5f602084013e610a38565b606091505b5091509150818015610a62575080511580610a62575080806020019051810190610a629190610f81565b8015610a725750610a7285610456565b95945050505050565b5f610acf826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610bc49092919063ffffffff16565b905080515f1480610aef575080806020019051810190610aef9190610f81565b6104515760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610219565b60608315610bba5782515f03610bb357610b6785610456565b610bb35760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610219565b508161059d565b61059d8383610bd2565b606061059d84845f856108e9565b815115610be25781518083602001fd5b8060405162461bcd60e51b81526004016102199190610e35565b6001600160a01b0391909116815260200190565b80356001600160a01b0381168114610c26575f5ffd5b919050565b5f5f5f5f5f60a08688031215610c3f575f5ffd5b610c4886610c10565b945060208601359350610c5d60408701610c10565b9250610c6b60608701610c10565b9150610c7960808701610c10565b90509295509295909350565b634e487b7160e01b5f52604160045260245ffd5b60405160a081016001600160401b0381118282101715610cbb57610cbb610c85565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610ce957610ce9610c85565b604052919050565b5f5f60408385031215610d02575f5ffd5b82356001600160401b03811115610d17575f5ffd5b830160a08186031215610d28575f5ffd5b610d30610c99565b610d3982610c10565b815260208281013590820152610d5160408301610c10565b6040820152610d6260608301610c10565b606082015260808201356001600160401b03811115610d7f575f5ffd5b80830192505085601f830112610d93575f5ffd5b81356001600160401b03811115610dac57610dac610c85565b610dbf601f8201601f1916602001610cc1565b818152876020838601011115610dd3575f5ffd5b816020850160208301375f6020838301015280608084015250508093505050610dfe60208401610c10565b90509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6108186020830184610e07565b5f5f5f60608486031215610e59575f5ffd5b610e6284610c10565b9250610e7060208501610c10565b929592945050506040919091013590565b60208082526026908201527f4c6f6f70506f736974696f6e426f783a2063616c6c6572206973206e6f74206d60408201526530b730b3b2b960d11b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561053057610530610ec7565b8082018082111561053057610530610ec7565b5f6001600160601b03831680610f2557634e487b7160e01b5f52601260045260245ffd5b6001600160601b03929092169190910492915050565b5f60208284031215610f4b575f5ffd5b5051919050565b6001600160a01b03929092168252602082015260400190565b5f82518060208501845e5f920191825250919050565b5f60208284031215610f91575f5ffd5b81518015158114610818575f5ffdfe416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564a26469706673582212204e30cab62b3950b7d8a7bd041a2cadd6736f4cc8f646fbca400cd4c0b4e67f6164736f6c634300081e0033";
221
203
 
222
204
  type LoopPositionBoxConstructorParams =
223
205
  | [signer?: Signer]
@@ -238,22 +220,16 @@ export class LoopPositionBox__factory extends ContractFactory {
238
220
  }
239
221
 
240
222
  deploy(
241
- manager_: string,
242
- factory_: string,
223
+ _manager: string,
243
224
  overrides?: Overrides & { from?: string | Promise<string> }
244
225
  ): Promise<LoopPositionBox> {
245
- return super.deploy(
246
- manager_,
247
- factory_,
248
- overrides || {}
249
- ) as Promise<LoopPositionBox>;
226
+ return super.deploy(_manager, overrides || {}) as Promise<LoopPositionBox>;
250
227
  }
251
228
  getDeployTransaction(
252
- manager_: string,
253
- factory_: string,
229
+ _manager: string,
254
230
  overrides?: Overrides & { from?: string | Promise<string> }
255
231
  ): TransactionRequest {
256
- return super.getDeployTransaction(manager_, factory_, overrides || {});
232
+ return super.getDeployTransaction(_manager, overrides || {});
257
233
  }
258
234
  attach(address: string): LoopPositionBox {
259
235
  return super.attach(address) as LoopPositionBox;