@pendle/core-v2 6.7.0 → 6.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (348) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +1 -1
  18. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  44. package/build/artifacts/contracts/cross-chain/FixedPricePTAMMV2.sol/FixedPricePTAMMV2.dbg.json +1 -1
  45. package/build/artifacts/contracts/cross-chain/OFTPTSwapper.sol/OFTPTSwapper.dbg.json +4 -0
  46. package/build/artifacts/contracts/cross-chain/OFTPTSwapper.sol/OFTPTSwapper.json +99 -0
  47. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
  48. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
  49. package/build/artifacts/contracts/cross-chain/funder/BridgeFunder.sol/BridgeFunder.dbg.json +1 -1
  50. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterAltImpl.sol/OFTAdapterAltImpl.dbg.json +1 -1
  51. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  52. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFT.sol/PendleOFT.dbg.json +1 -1
  53. package/build/artifacts/contracts/cross-chain/oftImpl/pendleOft/PendleOFTAlt.sol/PendleOFTAlt.dbg.json +1 -1
  54. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  55. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalTokenAlt.sol/PendleBridgedPrincipalTokenAlt.dbg.json +1 -1
  56. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
  57. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
  58. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPBridgeFunder.sol/IPBridgeFunder.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPBridgePTFactory.sol/IPBridgePTFactory.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMMV2.sol/IPFixedPricePTAMMV2.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPOFTPTSwapper.sol/IPOFTPTSwapper.dbg.json +4 -0
  121. package/build/artifacts/contracts/interfaces/{IPSwapHelper.sol/IPSwapHelper.json → IPOFTPTSwapper.sol/IPOFTPTSwapper.json} +2 -2
  122. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  143. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  144. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  145. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  146. package/build/artifacts/contracts/limit/helpers/MintSyHelper.sol/MintSyHelper.dbg.json +1 -1
  147. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  148. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  149. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  150. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  152. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  153. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  154. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +1 -1
  155. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  156. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  157. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  158. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  160. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  161. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/PendleProxyAdmin.sol/PendleProxyAdmin.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  179. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  185. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  187. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  189. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  190. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  191. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  192. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  193. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  194. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  195. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  196. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  197. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  198. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  199. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  200. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  201. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  202. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  203. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  204. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  205. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  206. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  207. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  208. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  209. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  210. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  211. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  212. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  213. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  214. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  215. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  216. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  217. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  218. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  219. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  220. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  221. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  222. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  223. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  224. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  225. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  226. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  227. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  228. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  229. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  230. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  231. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  232. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  233. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  234. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  235. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  236. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  237. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  238. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  239. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  240. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  241. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  242. package/contracts/cross-chain/{PendleSwapHelper.sol → OFTPTSwapper.sol} +4 -3
  243. package/contracts/interfaces/{IPSwapHelper.sol → IPOFTPTSwapper.sol} +1 -1
  244. package/deployments/1-core.json +2 -1
  245. package/deployments/130-core.json +2 -1
  246. package/deployments/143-core.json +2 -1
  247. package/deployments/42161-core.json +2 -1
  248. package/deployments/4217-core.json +2 -1
  249. package/deployments/43114-core.json +2 -1
  250. package/deployments/56-core.json +2 -1
  251. package/deployments/57073-core.json +2 -1
  252. package/deployments/747474-core.json +2 -1
  253. package/deployments/8453-core.json +2 -1
  254. package/deployments/9745-core.json +2 -1
  255. package/deployments/999-core.json +2 -1
  256. package/package.json +1 -1
  257. package/typechain-types/IPOFTPTSwapper.ts +161 -0
  258. package/typechain-types/OFTPTSwapper.ts +161 -0
  259. package/typechain-types/UUPSUpgradeable.ts +9 -0
  260. package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
  261. package/typechain-types/factories/FixedPricePTAMM__factory.ts +1 -1
  262. package/typechain-types/factories/IPOFTPTSwapper__factory.ts +114 -0
  263. package/typechain-types/factories/OFTPTSwapper__factory.ts +149 -0
  264. package/typechain-types/factories/PendlePTOFTAdapterFactory__factory.ts +1 -1
  265. package/typechain-types/factories/UUPSUpgradeable__factory.ts +13 -0
  266. package/typechain-types/hardhat.d.ts +22 -22
  267. package/typechain-types/index.ts +6 -6
  268. package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.dbg.json +0 -4
  269. package/build/artifacts/contracts/cross-chain/PendleSwapHelper.sol/PendleSwapHelper.json +0 -99
  270. package/build/artifacts/contracts/interfaces/IPSwapHelper.sol/IPSwapHelper.dbg.json +0 -4
  271. package/typechain-types/AaveMoneyMarket.ts +0 -763
  272. package/typechain-types/AaveMoneyMarketView.ts +0 -460
  273. package/typechain-types/BaseMoneyMarket.ts +0 -697
  274. package/typechain-types/BaseMoneyMarketView.ts +0 -362
  275. package/typechain-types/IAToken.ts +0 -358
  276. package/typechain-types/IAaveOracle.ts +0 -235
  277. package/typechain-types/IAaveRewardsController.ts +0 -1186
  278. package/typechain-types/IDefaultReserveInterestRateStrategyV3.ts +0 -431
  279. package/typechain-types/IDefaultReserveInterestRateStrategyV31.ts +0 -606
  280. package/typechain-types/IDssPsm.ts +0 -194
  281. package/typechain-types/IERC4626.ts +0 -864
  282. package/typechain-types/IFlashLoanReceiver.ts +0 -125
  283. package/typechain-types/IIrm.ts +0 -260
  284. package/typechain-types/IMoneyMarket.ts +0 -700
  285. package/typechain-types/IMoneyMarketEvents.ts +0 -196
  286. package/typechain-types/IMoneyMarketView.ts +0 -331
  287. package/typechain-types/IMorpho.ts +0 -1147
  288. package/typechain-types/IMorphoOracle.ts +0 -81
  289. package/typechain-types/IMulticall.ts +0 -117
  290. package/typechain-types/IPLoopPositionBox.ts +0 -298
  291. package/typechain-types/IPLoopPositionBoxFactory.ts +0 -434
  292. package/typechain-types/IPPTLooper.ts +0 -1550
  293. package/typechain-types/IPPTLooperView.ts +0 -468
  294. package/typechain-types/IPool.ts +0 -2220
  295. package/typechain-types/IPoolAddressesProvider.ts +0 -789
  296. package/typechain-types/IPoolDataProviderV3.ts +0 -865
  297. package/typechain-types/IPoolDataProviderV31.ts +0 -933
  298. package/typechain-types/IPot.ts +0 -181
  299. package/typechain-types/IPriceOracleGetter.ts +0 -133
  300. package/typechain-types/ISDAI.ts +0 -877
  301. package/typechain-types/LoopPositionBox.ts +0 -309
  302. package/typechain-types/LoopPositionBoxFactory.ts +0 -609
  303. package/typechain-types/MorphoBlueMoneyMarket.ts +0 -731
  304. package/typechain-types/MorphoBlueMoneyMarketView.ts +0 -396
  305. package/typechain-types/Multicall.ts +0 -117
  306. package/typechain-types/PTLooperBase.ts +0 -1759
  307. package/typechain-types/PTLooperView.ts +0 -618
  308. package/typechain-types/PendlePTLooper.ts +0 -1784
  309. package/typechain-types/PendlePTLooperView.ts +0 -648
  310. package/typechain-types/factories/AaveMoneyMarketView__factory.ts +0 -450
  311. package/typechain-types/factories/AaveMoneyMarket__factory.ts +0 -726
  312. package/typechain-types/factories/BaseMoneyMarketView__factory.ts +0 -279
  313. package/typechain-types/factories/BaseMoneyMarket__factory.ts +0 -599
  314. package/typechain-types/factories/IAToken__factory.ts +0 -258
  315. package/typechain-types/factories/IAaveOracle__factory.ts +0 -132
  316. package/typechain-types/factories/IAaveRewardsController__factory.ts +0 -743
  317. package/typechain-types/factories/IDefaultReserveInterestRateStrategyV31__factory.ts +0 -441
  318. package/typechain-types/factories/IDefaultReserveInterestRateStrategyV3__factory.ts +0 -278
  319. package/typechain-types/factories/IDssPsm__factory.ts +0 -122
  320. package/typechain-types/factories/IERC4626__factory.ts +0 -635
  321. package/typechain-types/factories/IFlashLoanReceiver__factory.ts +0 -65
  322. package/typechain-types/factories/IIrm__factory.ts +0 -243
  323. package/typechain-types/factories/IMoneyMarketEvents__factory.ts +0 -225
  324. package/typechain-types/factories/IMoneyMarketView__factory.ts +0 -253
  325. package/typechain-types/factories/IMoneyMarket__factory.ts +0 -596
  326. package/typechain-types/factories/IMorphoOracle__factory.ts +0 -36
  327. package/typechain-types/factories/IMorpho__factory.ts +0 -1045
  328. package/typechain-types/factories/IMulticall__factory.ts +0 -66
  329. package/typechain-types/factories/IPLoopPositionBoxFactory__factory.ts +0 -420
  330. package/typechain-types/factories/IPLoopPositionBox__factory.ts +0 -198
  331. package/typechain-types/factories/IPPTLooperView__factory.ts +0 -331
  332. package/typechain-types/factories/IPPTLooper__factory.ts +0 -2506
  333. package/typechain-types/factories/IPoolAddressesProvider__factory.ts +0 -526
  334. package/typechain-types/factories/IPoolDataProviderV31__factory.ts +0 -596
  335. package/typechain-types/factories/IPoolDataProviderV3__factory.ts +0 -554
  336. package/typechain-types/factories/IPool__factory.ts +0 -1609
  337. package/typechain-types/factories/IPot__factory.ts +0 -98
  338. package/typechain-types/factories/IPriceOracleGetter__factory.ts +0 -71
  339. package/typechain-types/factories/ISDAI__factory.ts +0 -645
  340. package/typechain-types/factories/LoopPositionBoxFactory__factory.ts +0 -648
  341. package/typechain-types/factories/LoopPositionBox__factory.ts +0 -277
  342. package/typechain-types/factories/MorphoBlueMoneyMarketView__factory.ts +0 -384
  343. package/typechain-types/factories/MorphoBlueMoneyMarket__factory.ts +0 -691
  344. package/typechain-types/factories/Multicall__factory.ts +0 -104
  345. package/typechain-types/factories/PTLooperBase__factory.ts +0 -2656
  346. package/typechain-types/factories/PTLooperView__factory.ts +0 -467
  347. package/typechain-types/factories/PendlePTLooperView__factory.ts +0 -499
  348. package/typechain-types/factories/PendlePTLooper__factory.ts +0 -2738
@@ -1,277 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
- import { Provider, TransactionRequest } from "@ethersproject/providers";
6
- import type {
7
- LoopPositionBox,
8
- LoopPositionBoxInterface,
9
- } from "../LoopPositionBox";
10
-
11
- const _abi = [
12
- {
13
- inputs: [
14
- {
15
- internalType: "address",
16
- name: "manager_",
17
- type: "address",
18
- },
19
- {
20
- internalType: "address",
21
- name: "factory_",
22
- type: "address",
23
- },
24
- ],
25
- stateMutability: "nonpayable",
26
- type: "constructor",
27
- },
28
- {
29
- anonymous: false,
30
- inputs: [
31
- {
32
- indexed: false,
33
- internalType: "uint8",
34
- name: "version",
35
- type: "uint8",
36
- },
37
- ],
38
- name: "Initialized",
39
- type: "event",
40
- },
41
- {
42
- inputs: [],
43
- name: "BOX_ID",
44
- outputs: [
45
- {
46
- internalType: "bytes32",
47
- name: "",
48
- type: "bytes32",
49
- },
50
- ],
51
- stateMutability: "view",
52
- type: "function",
53
- },
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
- {
68
- inputs: [],
69
- name: "MANAGER",
70
- outputs: [
71
- {
72
- internalType: "address",
73
- name: "",
74
- type: "address",
75
- },
76
- ],
77
- stateMutability: "view",
78
- type: "function",
79
- },
80
- {
81
- inputs: [],
82
- name: "OWNER",
83
- outputs: [
84
- {
85
- internalType: "address",
86
- name: "",
87
- type: "address",
88
- },
89
- ],
90
- stateMutability: "view",
91
- type: "function",
92
- },
93
- {
94
- inputs: [],
95
- name: "SPOKE_MONEY_MARKET",
96
- outputs: [
97
- {
98
- internalType: "address",
99
- name: "",
100
- type: "address",
101
- },
102
- ],
103
- stateMutability: "view",
104
- type: "function",
105
- },
106
- {
107
- inputs: [
108
- {
109
- components: [
110
- {
111
- internalType: "address",
112
- name: "token",
113
- type: "address",
114
- },
115
- {
116
- internalType: "uint256",
117
- name: "amount",
118
- type: "uint256",
119
- },
120
- {
121
- internalType: "address",
122
- name: "approveTo",
123
- type: "address",
124
- },
125
- {
126
- internalType: "address",
127
- name: "callTo",
128
- type: "address",
129
- },
130
- {
131
- internalType: "bytes",
132
- name: "data",
133
- type: "bytes",
134
- },
135
- ],
136
- internalType: "struct ApprovedCall",
137
- name: "call",
138
- type: "tuple",
139
- },
140
- {
141
- internalType: "address",
142
- name: "nativeRefund",
143
- type: "address",
144
- },
145
- ],
146
- name: "approveAndCall",
147
- outputs: [
148
- {
149
- internalType: "bytes",
150
- name: "result",
151
- type: "bytes",
152
- },
153
- ],
154
- stateMutability: "payable",
155
- type: "function",
156
- },
157
- {
158
- inputs: [
159
- {
160
- internalType: "address",
161
- name: "owner_",
162
- type: "address",
163
- },
164
- {
165
- internalType: "bytes32",
166
- name: "boxId_",
167
- type: "bytes32",
168
- },
169
- {
170
- internalType: "address",
171
- name: "spokeMoneyMarket_",
172
- type: "address",
173
- },
174
- {
175
- internalType: "address",
176
- name: "ptToApprove_",
177
- type: "address",
178
- },
179
- {
180
- internalType: "address",
181
- name: "debtTokenToApprove_",
182
- type: "address",
183
- },
184
- ],
185
- name: "initialize",
186
- outputs: [],
187
- stateMutability: "nonpayable",
188
- type: "function",
189
- },
190
- {
191
- inputs: [
192
- {
193
- internalType: "address",
194
- name: "to",
195
- type: "address",
196
- },
197
- {
198
- internalType: "address",
199
- name: "token",
200
- type: "address",
201
- },
202
- {
203
- internalType: "uint256",
204
- name: "amount",
205
- type: "uint256",
206
- },
207
- ],
208
- name: "withdrawTo",
209
- outputs: [],
210
- stateMutability: "nonpayable",
211
- type: "function",
212
- },
213
- {
214
- stateMutability: "payable",
215
- type: "receive",
216
- },
217
- ];
218
-
219
- const _bytecode =
220
- "0x60c060405234801561000f575f5ffd5b506040516110e23803806110e283398101604081905261002e91610060565b6001600160a01b039182166080521660a052610091565b80516001600160a01b038116811461005b575f5ffd5b919050565b5f5f60408385031215610071575f5ffd5b61007a83610045565b915061008860208401610045565b90509250929050565b60805160a0516110236100bf5f395f61013701525f818160c301528181610338015261044701526110235ff3fe60806040526004361061006d575f3560e01c8063117803e3146100785780631b2df850146100b257806326a15d18146100e557806328dc8307146101065780632dd3100014610126578063746381a314610159578063a817c11314610178578063c3b35a7e1461019b575f5ffd5b3661007457005b5f5ffd5b348015610083575f5ffd5b505f5461009c906201000090046001600160a01b031681565b6040516100a99190610c20565b60405180910390f35b3480156100bd575f5ffd5b5061009c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156100f0575f5ffd5b506101046100ff366004610c4f565b6101ba565b005b610119610114366004610d15565b61032b565b6040516100a99190610e59565b348015610131575f5ffd5b5061009c7f000000000000000000000000000000000000000000000000000000000000000081565b348015610164575f5ffd5b5060025461009c906001600160a01b031681565b348015610183575f5ffd5b5061018d60015481565b6040519081526020016100a9565b3480156101a6575f5ffd5b506101046101b5366004610e6b565b61043c565b5f54610100900460ff16158080156101d857505f54600160ff909116105b806101f857506101e730610494565b1580156101f857505f5460ff166001145b6102605760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b5f805460ff191660011790558015610281575f805461ff0019166101001790555b5f80546001600160a01b03808916620100000262010000600160b01b0319909216919091179091556001869055600280549186166001600160a01b031990921682179055156102de576102d483856104a3565b6102de82856104a3565b8015610323575f805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b6060336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146103755760405162461bcd60e51b815260040161025790610ea5565b82515f906001600160a01b03161561038d575f610393565b83602001515b9050345f81836103a283610563565b6103ac9190610eff565b6103b69190610eff565b90506103ce865f015187604001518860200151610574565b60808601516103f6906103e18486610f12565b60608901516001600160a01b0316919061059b565b935061040a865f015187604001515f610574565b5f6104145f610563565b905081811115610432576104325f8761042d8585610eff565b6105c9565b5050505092915050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104845760405162461bcd60e51b815260040161025790610ea5565b61048f8284836105c9565b505050565b6001600160a01b03163b151590565b6001600160a01b0382166104b5575050565b6104c760026001600160601b03610f25565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa15801561051e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105429190610f5f565b101561055f5761055382825f6106a1565b61055f82825f196106a1565b5050565b5f61056e30836107b0565b92915050565b6001600160a01b03831661058757505050565b61048f6001600160a01b0384168383610843565b60606105c1848484604051806060016040528060298152602001610fc56029913961090d565b949350505050565b8015806105de57506001600160a01b03821630145b156105e857505050565b6001600160a01b03831661068d575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f811461063f576040519150601f19603f3d011682016040523d82523d5f602084013e610644565b606091505b50509050806106875760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610257565b50505050565b61048f6001600160a01b03841683836109e4565b5f5f846001600160a01b031663095ea7b360e01b85856040516024016106c8929190610f76565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b03199094169390931790925290516107069190610f8f565b5f604051808303815f865af19150503d805f811461073f576040519150601f19603f3d011682016040523d82523d5f602084013e610744565b606091505b509150915081801561076e57508051158061076e57508080602001905181019061076e9190610fa5565b6107a95760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401610257565b5050505050565b5f6001600160a01b03821615610830576040516370a0823160e01b81526001600160a01b038316906370a08231906107ec908690600401610c20565b602060405180830381865afa158015610807573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082b9190610f5f565b61083c565b826001600160a01b0316315b9392505050565b5f63095ea7b360e01b838360405160240161085f929190610f76565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152905061089d8482610a03565b610687576040516001600160a01b03841660248201525f604482015261090390859063095ea7b360e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610a9f565b6106878482610a9f565b60608247101561096e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610257565b5f5f866001600160a01b031685876040516109899190610f8f565b5f6040518083038185875af1925050503d805f81146109c3576040519150601f19603f3d011682016040523d82523d5f602084013e6109c8565b606091505b50915091506109d987838387610b72565b979650505050505050565b61048f8363a9059cbb60e01b84846040516024016108cc929190610f76565b5f5f5f846001600160a01b031684604051610a1e9190610f8f565b5f604051808303815f865af19150503d805f8114610a57576040519150601f19603f3d011682016040523d82523d5f602084013e610a5c565b606091505b5091509150818015610a86575080511580610a86575080806020019051810190610a869190610fa5565b8015610a965750610a9685610494565b95945050505050565b5f610af3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610be89092919063ffffffff16565b905080515f1480610b13575080806020019051810190610b139190610fa5565b61048f5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610257565b60608315610bde5782515f03610bd757610b8b85610494565b610bd75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610257565b50816105c1565b6105c18383610bf6565b60606105c184845f8561090d565b815115610c065781518083602001fd5b8060405162461bcd60e51b81526004016102579190610e59565b6001600160a01b0391909116815260200190565b80356001600160a01b0381168114610c4a575f5ffd5b919050565b5f5f5f5f5f60a08688031215610c63575f5ffd5b610c6c86610c34565b945060208601359350610c8160408701610c34565b9250610c8f60608701610c34565b9150610c9d60808701610c34565b90509295509295909350565b634e487b7160e01b5f52604160045260245ffd5b60405160a081016001600160401b0381118282101715610cdf57610cdf610ca9565b60405290565b604051601f8201601f191681016001600160401b0381118282101715610d0d57610d0d610ca9565b604052919050565b5f5f60408385031215610d26575f5ffd5b82356001600160401b03811115610d3b575f5ffd5b830160a08186031215610d4c575f5ffd5b610d54610cbd565b610d5d82610c34565b815260208281013590820152610d7560408301610c34565b6040820152610d8660608301610c34565b606082015260808201356001600160401b03811115610da3575f5ffd5b80830192505085601f830112610db7575f5ffd5b81356001600160401b03811115610dd057610dd0610ca9565b610de3601f8201601f1916602001610ce5565b818152876020838601011115610df7575f5ffd5b816020850160208301375f6020838301015280608084015250508093505050610e2260208401610c34565b90509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f61083c6020830184610e2b565b5f5f5f60608486031215610e7d575f5ffd5b610e8684610c34565b9250610e9460208501610c34565b929592945050506040919091013590565b60208082526026908201527f4c6f6f70506f736974696f6e426f783a2063616c6c6572206973206e6f74206d60408201526530b730b3b2b960d11b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561056e5761056e610eeb565b8082018082111561056e5761056e610eeb565b5f6001600160601b03831680610f4957634e487b7160e01b5f52601260045260245ffd5b6001600160601b03929092169190910492915050565b5f60208284031215610f6f575f5ffd5b5051919050565b6001600160a01b03929092168252602082015260400190565b5f82518060208501845e5f920191825250919050565b5f60208284031215610fb5575f5ffd5b8151801515811461083c575f5ffdfe416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564a26469706673582212205369a0e25303b7651d1abcc0af44084ea2988badd741c9935010e57bf59e211264736f6c634300081e0033";
221
-
222
- type LoopPositionBoxConstructorParams =
223
- | [signer?: Signer]
224
- | ConstructorParameters<typeof ContractFactory>;
225
-
226
- const isSuperArgs = (
227
- xs: LoopPositionBoxConstructorParams
228
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
229
-
230
- export class LoopPositionBox__factory extends ContractFactory {
231
- constructor(...args: LoopPositionBoxConstructorParams) {
232
- if (isSuperArgs(args)) {
233
- super(...args);
234
- } else {
235
- super(_abi, _bytecode, args[0]);
236
- }
237
- this.contractName = "LoopPositionBox";
238
- }
239
-
240
- deploy(
241
- manager_: string,
242
- factory_: string,
243
- overrides?: Overrides & { from?: string | Promise<string> }
244
- ): Promise<LoopPositionBox> {
245
- return super.deploy(
246
- manager_,
247
- factory_,
248
- overrides || {}
249
- ) as Promise<LoopPositionBox>;
250
- }
251
- getDeployTransaction(
252
- manager_: string,
253
- factory_: string,
254
- overrides?: Overrides & { from?: string | Promise<string> }
255
- ): TransactionRequest {
256
- return super.getDeployTransaction(manager_, factory_, overrides || {});
257
- }
258
- attach(address: string): LoopPositionBox {
259
- return super.attach(address) as LoopPositionBox;
260
- }
261
- connect(signer: Signer): LoopPositionBox__factory {
262
- return super.connect(signer) as LoopPositionBox__factory;
263
- }
264
- static readonly contractName: "LoopPositionBox";
265
- public readonly contractName: "LoopPositionBox";
266
- static readonly bytecode = _bytecode;
267
- static readonly abi = _abi;
268
- static createInterface(): LoopPositionBoxInterface {
269
- return new utils.Interface(_abi) as LoopPositionBoxInterface;
270
- }
271
- static connect(
272
- address: string,
273
- signerOrProvider: Signer | Provider
274
- ): LoopPositionBox {
275
- return new Contract(address, _abi, signerOrProvider) as LoopPositionBox;
276
- }
277
- }
@@ -1,384 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
- import { Provider, TransactionRequest } from "@ethersproject/providers";
6
- import type {
7
- MorphoBlueMoneyMarketView,
8
- MorphoBlueMoneyMarketViewInterface,
9
- } from "../MorphoBlueMoneyMarketView";
10
-
11
- const _abi = [
12
- {
13
- inputs: [
14
- {
15
- internalType: "string",
16
- name: "_moneyMarketName",
17
- type: "string",
18
- },
19
- {
20
- internalType: "address",
21
- name: "_ptLooper",
22
- type: "address",
23
- },
24
- {
25
- internalType: "address",
26
- name: "_morpho",
27
- type: "address",
28
- },
29
- ],
30
- stateMutability: "nonpayable",
31
- type: "constructor",
32
- },
33
- {
34
- inputs: [],
35
- name: "MORPHO",
36
- outputs: [
37
- {
38
- internalType: "contract IMorpho",
39
- name: "",
40
- type: "address",
41
- },
42
- ],
43
- stateMutability: "view",
44
- type: "function",
45
- },
46
- {
47
- inputs: [],
48
- name: "ORACLE_PRICE_DECIMALS",
49
- outputs: [
50
- {
51
- internalType: "uint256",
52
- name: "",
53
- type: "uint256",
54
- },
55
- ],
56
- stateMutability: "view",
57
- type: "function",
58
- },
59
- {
60
- inputs: [],
61
- name: "POSITION_BOX_FACTORY",
62
- outputs: [
63
- {
64
- internalType: "contract IPLoopPositionBoxFactory",
65
- name: "",
66
- type: "address",
67
- },
68
- ],
69
- stateMutability: "view",
70
- type: "function",
71
- },
72
- {
73
- inputs: [],
74
- name: "PT_LOOPER",
75
- outputs: [
76
- {
77
- internalType: "contract IPPTLooper",
78
- name: "",
79
- type: "address",
80
- },
81
- ],
82
- stateMutability: "view",
83
- type: "function",
84
- },
85
- {
86
- inputs: [
87
- {
88
- internalType: "contract IPLoopPositionBox",
89
- name: "box",
90
- type: "address",
91
- },
92
- ],
93
- name: "limits",
94
- outputs: [
95
- {
96
- components: [
97
- {
98
- internalType: "uint256",
99
- name: "minBorrowing",
100
- type: "uint256",
101
- },
102
- {
103
- internalType: "uint256",
104
- name: "maxBorrowing",
105
- type: "uint256",
106
- },
107
- {
108
- internalType: "uint256",
109
- name: "minBorrowingForRewards",
110
- type: "uint256",
111
- },
112
- {
113
- internalType: "uint256",
114
- name: "minLending",
115
- type: "uint256",
116
- },
117
- {
118
- internalType: "uint256",
119
- name: "maxLending",
120
- type: "uint256",
121
- },
122
- {
123
- internalType: "uint256",
124
- name: "minLendingForRewards",
125
- type: "uint256",
126
- },
127
- ],
128
- internalType: "struct Limits",
129
- name: "limits_",
130
- type: "tuple",
131
- },
132
- ],
133
- stateMutability: "view",
134
- type: "function",
135
- },
136
- {
137
- inputs: [
138
- {
139
- internalType: "contract IPLoopPositionBox",
140
- name: "box",
141
- type: "address",
142
- },
143
- ],
144
- name: "liquidity",
145
- outputs: [
146
- {
147
- internalType: "uint256",
148
- name: "borrowing",
149
- type: "uint256",
150
- },
151
- {
152
- internalType: "uint256",
153
- name: "lending",
154
- type: "uint256",
155
- },
156
- ],
157
- stateMutability: "view",
158
- type: "function",
159
- },
160
- {
161
- inputs: [
162
- {
163
- internalType: "contract IPLoopPositionBox",
164
- name: "box",
165
- type: "address",
166
- },
167
- ],
168
- name: "moneyMarketBalances",
169
- outputs: [
170
- {
171
- internalType: "uint256",
172
- name: "mmPtBalance",
173
- type: "uint256",
174
- },
175
- {
176
- internalType: "uint256",
177
- name: "mmDebtBalance",
178
- type: "uint256",
179
- },
180
- ],
181
- stateMutability: "nonpayable",
182
- type: "function",
183
- },
184
- {
185
- inputs: [],
186
- name: "moneyMarketName",
187
- outputs: [
188
- {
189
- internalType: "string",
190
- name: "",
191
- type: "string",
192
- },
193
- ],
194
- stateMutability: "view",
195
- type: "function",
196
- },
197
- {
198
- inputs: [
199
- {
200
- internalType: "contract IPLoopPositionBox",
201
- name: "box",
202
- type: "address",
203
- },
204
- ],
205
- name: "ptDebtRate",
206
- outputs: [
207
- {
208
- internalType: "uint256",
209
- name: "",
210
- type: "uint256",
211
- },
212
- ],
213
- stateMutability: "view",
214
- type: "function",
215
- },
216
- {
217
- inputs: [
218
- {
219
- internalType: "contract IPLoopPositionBox",
220
- name: "box",
221
- type: "address",
222
- },
223
- ],
224
- name: "rates",
225
- outputs: [
226
- {
227
- internalType: "uint256",
228
- name: "borrowing",
229
- type: "uint256",
230
- },
231
- {
232
- internalType: "uint256",
233
- name: "lending",
234
- type: "uint256",
235
- },
236
- ],
237
- stateMutability: "view",
238
- type: "function",
239
- },
240
- {
241
- inputs: [
242
- {
243
- internalType: "contract IPLoopPositionBox",
244
- name: "box",
245
- type: "address",
246
- },
247
- ],
248
- name: "rewards",
249
- outputs: [
250
- {
251
- components: [
252
- {
253
- internalType: "address",
254
- name: "token",
255
- type: "address",
256
- },
257
- {
258
- internalType: "uint256",
259
- name: "claimable",
260
- type: "uint256",
261
- },
262
- ],
263
- internalType: "struct Reward[]",
264
- name: "borrowing",
265
- type: "tuple[]",
266
- },
267
- {
268
- components: [
269
- {
270
- internalType: "address",
271
- name: "token",
272
- type: "address",
273
- },
274
- {
275
- internalType: "uint256",
276
- name: "claimable",
277
- type: "uint256",
278
- },
279
- ],
280
- internalType: "struct Reward[]",
281
- name: "lending",
282
- type: "tuple[]",
283
- },
284
- ],
285
- stateMutability: "nonpayable",
286
- type: "function",
287
- },
288
- {
289
- inputs: [
290
- {
291
- internalType: "contract IPLoopPositionBox",
292
- name: "box",
293
- type: "address",
294
- },
295
- ],
296
- name: "thresholds",
297
- outputs: [
298
- {
299
- internalType: "uint256",
300
- name: "ltv",
301
- type: "uint256",
302
- },
303
- {
304
- internalType: "uint256",
305
- name: "liquidationThreshold",
306
- type: "uint256",
307
- },
308
- ],
309
- stateMutability: "view",
310
- type: "function",
311
- },
312
- ];
313
-
314
- const _bytecode =
315
- "0x60e060405234801561000f575f5ffd5b5060405161211038038061211083398101604081905261002e91610102565b82825f61003b8382610256565b506001600160a01b03811660808190526040805163ca6f50fd60e01b8152905163ca6f50fd916004808201926020929091908290030181865afa158015610084573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100a89190610310565b6001600160a01b0390811660a0529290921660c0525061033292505050565b634e487b7160e01b5f52604160045260245ffd5b6001600160a01b03811681146100ef575f5ffd5b50565b80516100fd816100db565b919050565b5f5f5f60608486031215610114575f5ffd5b83516001600160401b03811115610129575f5ffd5b8401601f81018613610139575f5ffd5b80516001600160401b03811115610152576101526100c7565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610180576101806100c7565b604052818152828201602001881015610197575f5ffd5b8160208401602083015e5f602083830101528095505050506101bb602085016100f2565b91506101c9604085016100f2565b90509250925092565b600181811c908216806101e657607f821691505b60208210810361020457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561025157805f5260205f20601f840160051c8101602085101561022f5750805b601f840160051c820191505b8181101561024e575f815560010161023b565b50505b505050565b81516001600160401b0381111561026f5761026f6100c7565b6102838161027d84546101d2565b8461020a565b6020601f8211600181146102b5575f831561029e5750848201515b5f19600385901b1c1916600184901b17845561024e565b5f84815260208120601f198516915b828110156102e457878501518255602094850194600190920191016102c4565b508482101561030157868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610320575f5ffd5b815161032b816100db565b9392505050565b60805160a05160c051611d7661039a5f395f818161019c015281816105e4015281816106b80152818161073c0152818161083b0152818161098d01528181610a1001528181610a890152610b0001525f818161022401526104ba01525f60ff0152611d765ff3fe608060405234801561000f575f5ffd5b50600436106100a1575f3560e01c8062ca6997146100a55780630700037d146100c35780631a070739146100e45780631a174fc4146100fa57806320d7bec1146101395780633acb56241461019757806374eadf76146101be5780639df5f6bd146101d1578063a8734f0b146101f9578063b8c876b11461020c578063ca6f50fd1461021f578063f59bbd5f14610246575b5f5ffd5b6100ad610259565b6040516100ba91906117b0565b60405180910390f35b6100d66100d13660046117fc565b6102e4565b6040516100ba929190611866565b6100ec602481565b6040519081526020016100ba565b6101217f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100ba565b61014c6101473660046117fc565b610306565b6040516100ba91905f60c082019050825182526020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015292915050565b6101217f000000000000000000000000000000000000000000000000000000000000000081565b6100ec6101cc3660046117fc565b610326565b6101e46101df3660046117fc565b610428565b604080519283526020830191909152016100ba565b6101e46102073660046117fc565b61043c565b6101e461021a3660046117fc565b610450565b6101217f000000000000000000000000000000000000000000000000000000000000000081565b6101e46102543660046117fc565b610464565b5f80546102659061188a565b80601f01602080910402602001604051908101604052809291908181526020018280546102919061188a565b80156102dc5780601f106102b3576101008083540402835291602001916102dc565b820191905f5260205f20905b8154815290600101906020018083116102bf57829003601f168201915b505050505081565b6060806102fd836102f485610478565b50606091829150565b91509150915091565b61030e611780565b6103208261031b84610478565b6105ac565b92915050565b5f5f61033183610478565b9050826001600160a01b031663746381a36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561036f573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061039391906118d2565b60e0820151608083015160a084015160405163151600c960e01b81526001600160a01b038881166004830152602482019490945291831660448301528216606482015291169063151600c990608401602060405180830381865afa1580156103fd573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061042191906118ed565b9392505050565b5f5f6102fd8361043785610478565b6105e0565b5f5f6102fd8361044b85610478565b610687565b5f5f6102fd8361045f85610478565b610836565b5f5f6102fd8361047385610478565b61095c565b60408051610100810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101919091527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166327409695836001600160a01b031663a817c1136040518163ffffffff1660e01b8152600401602060405180830381865afa158015610523573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061054791906118ed565b6040518263ffffffff1660e01b815260040161056591815260200190565b61012060405180830381865afa158015610581573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105a5919061195b565b5092915050565b6105b4611780565b5f60a08201819052604082018190526060820181905281525f1960808201819052602082015292915050565b5f5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632c3c915761061c8560e0015190565b6040518263ffffffff1660e01b815260040161063a91815260200190565b60a060405180830381865afa158015610655573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106799190611a1a565b608001519485945092505050565b5f5f5f6106958460e0015190565b604051632c3c915760e01b8152600481018290529091505f906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690632c3c91579060240160a060405180830381865afa1580156106fd573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107219190611a1a565b905061082a81606001516001600160a01b0316638c00bf6b837f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635c60e39a876040518263ffffffff1660e01b815260040161078891815260200190565b60c060405180830381865afa1580156107a3573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c79190611acc565b6040518363ffffffff1660e01b81526004016107e4929190611bb5565b602060405180830381865afa1580156107ff573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082391906118ed565b6001610c55565b965f9650945050505050565b5f5f5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635c60e39a6108738660e0015190565b6040518263ffffffff1660e01b815260040161089191815260200190565b60c060405180830381865afa1580156108ac573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108d09190611acc565b604081015181519192506108e391611c33565b6001600160801b0316925083608001516001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561092e573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061095291906118ed565b9150509250929050565b5f5f5f61096a8460e0015190565b604051632c3c915760e01b8152600481018290529091505f906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690632c3c91579060240160a060405180830381865afa1580156109d2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f69190611a1a565b604051630a8e0d6f60e11b81529091506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063151c1ade90610a45908490600401611c52565b5f604051808303815f87803b158015610a5c575f5ffd5b505af1158015610a6e573d5f5f3e3d5ffd5b5050604051632e3071cd60e11b8152600481018590525f92507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169150635c60e39a9060240160c060405180830381865afa158015610ad7573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afb9190611acc565b90505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166393c52062858a6001600160a01b031663746381a36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b6a573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8e91906118d2565b6040516001600160e01b031960e085901b16815260048101929092526001600160a01b03166024820152604401606060405180830381865afa158015610bd6573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bfa9190611c60565b905080604001516001600160801b03169550610c4882604001516001600160801b031683606001516001600160801b031683602001516001600160801b0316610cab9092919063ffffffff16565b9450505050509250929050565b5f8082610c658562015180611cd0565b610c6f9190611cfb565b90506813c9647e25a9940000670de0b6b3a7640000610c9882610c928386611d1a565b90610cd7565b610ca29190611d2d565b95945050505050565b5f610ccf610cba600185611d1a565b610cc7620f424085611d1a565b869190610e89565b949350505050565b5f815f03610cee5750670de0b6b3a7640000610320565b825f03610cfc57505f610320565b600160ff1b8310610d465760405162461bcd60e51b815260206004820152600f60248201526e78206f7574206f6620626f756e647360881b60448201526064015b60405180910390fd5b82770bce5086492111aea88f4bb1ca6bcf584181ea8059f765328310610da05760405162461bcd60e51b815260206004820152600f60248201526e79206f7574206f6620626f756e647360881b6044820152606401610d3d565b825f670c7d713b49da000083138015610dc05750670f43fc2c04ee000083125b15610df6575f610dcf84610eb4565b9050670de0b6b3a764000080820784020583670de0b6b3a764000083050201915050610e04565b81610e0084610fd1565b0290505b670de0b6b3a76400009005680238fd42c5cf03ffff198112801590610e32575068070c1cc73b00c800008113155b610e765760405162461bcd60e51b815260206004820152601560248201527470726f64756374206f7574206f6620626f756e647360581b6044820152606401610d3d565b610e7f8161136f565b9695505050505050565b5f81610e96600182611d2d565b610ea08587611cd0565b610eaa9190611d1a565b610ccf9190611cfb565b670de0b6b3a7640000025f806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff1985010281610ef457610ef4611ce7565b0590505f6a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b5f670de0b6b3a764000082121561101057611008826a0c097ce7bc90715b34b9f160241b8161100257611002611ce7565b05610fd1565b5f0392915050565b5f775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b831261105a5772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b8312611091576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff008400083126110d9576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312611114576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf850831261114b57693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e2831261118257690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d0383126111b75768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb4174612111083126111e257680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d8312611217576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f1775788937937831261124c576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b2866038312611280576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac83126112b4576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b5f68056bc75e2d63100000840168056bc75e2d6310000080860302816112dc576112dc611ce7565b0590505f68056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b5f680238fd42c5cf03ffff198212158015611393575068070c1cc73b00c800008213155b6113d25760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b6044820152606401610d3d565b5f821215611408576113e5825f0361136f565b6a0c097ce7bc90715b34b9f160241b8161140157611401611ce7565b0592915050565b5f6806f05b59d3b2000000831261144557506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b61147b565b6803782dace9d9000000831261147757506803782dace9d8ffffff19909101906b1425982cf597cd205cef738061147b565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac6200000084126114cb5768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d6310000008412611507576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b18800000841261154157682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c400000841261157b576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac620000084126115b457680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d6310000084126115ed5768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412611626576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c40000841261165f5768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b6040518060c001604052805f81526020015f81526020015f81526020015f81526020015f81526020015f81525090565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146117f9575f5ffd5b50565b5f6020828403121561180c575f5ffd5b8135610421816117e5565b5f8151808452602084019350602083015f5b8281101561185c57815180516001600160a01b031687526020908101518188015260409096019590910190600101611829565b5093949350505050565b604081525f6118786040830185611817565b8281036020840152610ca28185611817565b600181811c9082168061189e57607f821691505b6020821081036118bc57634e487b7160e01b5f52602260045260245ffd5b50919050565b80516118cd816117e5565b919050565b5f602082840312156118e2575f5ffd5b8151610421816117e5565b5f602082840312156118fd575f5ffd5b5051919050565b60405161010081016001600160401b038111828210171561193357634e487b7160e01b5f52604160045260245ffd5b60405290565b805163ffffffff811681146118cd575f5ffd5b805180151581146118cd575f5ffd5b5f5f82840361012081121561196e575f5ffd5b61010081121561197c575f5ffd5b50611985611904565b61198e84611939565b815261199c60208501611939565b602082015260408401516119af816117e5565b60408201526119c0606085016118c2565b60608201526119d1608085016118c2565b60808201526119e260a085016118c2565b60a08201526119f360c085016118c2565b60c082015260e084810151908201529150611a11610100840161194c565b90509250929050565b5f60a0828403128015611a2b575f5ffd5b5060405160a081016001600160401b0381118282101715611a5a57634e487b7160e01b5f52604160045260245ffd5b6040528251611a68816117e5565b81526020830151611a78816117e5565b60208201526040830151611a8b816117e5565b60408201526060830151611a9e816117e5565b60608201526080928301519281019290925250919050565b80516001600160801b03811681146118cd575f5ffd5b5f60c0828403128015611add575f5ffd5b5060405160c081016001600160401b0381118282101715611b0c57634e487b7160e01b5f52604160045260245ffd5b604052611b1883611ab6565b8152611b2660208401611ab6565b6020820152611b3760408401611ab6565b6040820152611b4860608401611ab6565b6060820152611b5960808401611ab6565b6080820152611b6a60a08401611ab6565b60a08201529392505050565b80516001600160a01b03908116835260208083015182169084015260408083015182169084015260608083015190911690830152608090810151910152565b6101608101611bc48285611b76565b82516001600160801b0390811660a0848101919091526020850151821660c08501526040850151821660e085015260608501518216610100850152608085015182166101208501529093015190921661014090910152919050565b634e487b7160e01b5f52601160045260245ffd5b6001600160801b03828116828216039081111561032057610320611c1f565b60a081016103208284611b76565b5f6060828403128015611c71575f5ffd5b50604051606081016001600160401b0381118282101715611ca057634e487b7160e01b5f52604160045260245ffd5b60405282518152611cb360208401611ab6565b6020820152611cc460408401611ab6565b60408201529392505050565b808202811582820484141761032057610320611c1f565b634e487b7160e01b5f52601260045260245ffd5b5f82611d1557634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561032057610320611c1f565b8181038181111561032057610320611c1f56fea2646970667358221220a30add264c2188a4cd0d2ea5411ff9c6a9c7e3db1ac8238828cf0a7cbca0c14064736f6c634300081e0033";
316
-
317
- type MorphoBlueMoneyMarketViewConstructorParams =
318
- | [signer?: Signer]
319
- | ConstructorParameters<typeof ContractFactory>;
320
-
321
- const isSuperArgs = (
322
- xs: MorphoBlueMoneyMarketViewConstructorParams
323
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
324
-
325
- export class MorphoBlueMoneyMarketView__factory extends ContractFactory {
326
- constructor(...args: MorphoBlueMoneyMarketViewConstructorParams) {
327
- if (isSuperArgs(args)) {
328
- super(...args);
329
- } else {
330
- super(_abi, _bytecode, args[0]);
331
- }
332
- this.contractName = "MorphoBlueMoneyMarketView";
333
- }
334
-
335
- deploy(
336
- _moneyMarketName: string,
337
- _ptLooper: string,
338
- _morpho: string,
339
- overrides?: Overrides & { from?: string | Promise<string> }
340
- ): Promise<MorphoBlueMoneyMarketView> {
341
- return super.deploy(
342
- _moneyMarketName,
343
- _ptLooper,
344
- _morpho,
345
- overrides || {}
346
- ) as Promise<MorphoBlueMoneyMarketView>;
347
- }
348
- getDeployTransaction(
349
- _moneyMarketName: string,
350
- _ptLooper: string,
351
- _morpho: string,
352
- overrides?: Overrides & { from?: string | Promise<string> }
353
- ): TransactionRequest {
354
- return super.getDeployTransaction(
355
- _moneyMarketName,
356
- _ptLooper,
357
- _morpho,
358
- overrides || {}
359
- );
360
- }
361
- attach(address: string): MorphoBlueMoneyMarketView {
362
- return super.attach(address) as MorphoBlueMoneyMarketView;
363
- }
364
- connect(signer: Signer): MorphoBlueMoneyMarketView__factory {
365
- return super.connect(signer) as MorphoBlueMoneyMarketView__factory;
366
- }
367
- static readonly contractName: "MorphoBlueMoneyMarketView";
368
- public readonly contractName: "MorphoBlueMoneyMarketView";
369
- static readonly bytecode = _bytecode;
370
- static readonly abi = _abi;
371
- static createInterface(): MorphoBlueMoneyMarketViewInterface {
372
- return new utils.Interface(_abi) as MorphoBlueMoneyMarketViewInterface;
373
- }
374
- static connect(
375
- address: string,
376
- signerOrProvider: Signer | Provider
377
- ): MorphoBlueMoneyMarketView {
378
- return new Contract(
379
- address,
380
- _abi,
381
- signerOrProvider
382
- ) as MorphoBlueMoneyMarketView;
383
- }
384
- }