@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,691 +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
- MorphoBlueMoneyMarket,
8
- MorphoBlueMoneyMarketInterface,
9
- } from "../MorphoBlueMoneyMarket";
10
-
11
- const _abi = [
12
- {
13
- inputs: [
14
- {
15
- internalType: "address",
16
- name: "ptLooper",
17
- type: "address",
18
- },
19
- {
20
- internalType: "address",
21
- name: "_morpho",
22
- type: "address",
23
- },
24
- ],
25
- stateMutability: "nonpayable",
26
- type: "constructor",
27
- },
28
- {
29
- inputs: [
30
- {
31
- internalType: "contract IPLoopPositionBox",
32
- name: "",
33
- type: "address",
34
- },
35
- ],
36
- name: "InvalidIPLoopPositionBox",
37
- type: "error",
38
- },
39
- {
40
- inputs: [
41
- {
42
- internalType: "address",
43
- name: "token",
44
- type: "address",
45
- },
46
- ],
47
- name: "TokenCantBeRetrieved",
48
- type: "error",
49
- },
50
- {
51
- anonymous: false,
52
- inputs: [
53
- {
54
- indexed: true,
55
- internalType: "contract IPLoopPositionBox",
56
- name: "",
57
- type: "address",
58
- },
59
- {
60
- indexed: true,
61
- internalType: "address",
62
- name: "asset",
63
- type: "address",
64
- },
65
- {
66
- indexed: false,
67
- internalType: "uint256",
68
- name: "amount",
69
- type: "uint256",
70
- },
71
- {
72
- indexed: false,
73
- internalType: "uint256",
74
- name: "balanceBefore",
75
- type: "uint256",
76
- },
77
- ],
78
- name: "Borrowed",
79
- type: "event",
80
- },
81
- {
82
- anonymous: false,
83
- inputs: [
84
- {
85
- indexed: true,
86
- internalType: "contract IPLoopPositionBox",
87
- name: "",
88
- type: "address",
89
- },
90
- {
91
- indexed: true,
92
- internalType: "address",
93
- name: "asset",
94
- type: "address",
95
- },
96
- {
97
- indexed: false,
98
- internalType: "uint256",
99
- name: "amount",
100
- type: "uint256",
101
- },
102
- {
103
- indexed: false,
104
- internalType: "uint256",
105
- name: "balanceBefore",
106
- type: "uint256",
107
- },
108
- ],
109
- name: "Lent",
110
- type: "event",
111
- },
112
- {
113
- anonymous: false,
114
- inputs: [
115
- {
116
- indexed: true,
117
- internalType: "contract IPLoopPositionBox",
118
- name: "",
119
- type: "address",
120
- },
121
- {
122
- indexed: true,
123
- internalType: "address",
124
- name: "asset",
125
- type: "address",
126
- },
127
- {
128
- indexed: false,
129
- internalType: "uint256",
130
- name: "amount",
131
- type: "uint256",
132
- },
133
- {
134
- indexed: false,
135
- internalType: "uint256",
136
- name: "balanceBefore",
137
- type: "uint256",
138
- },
139
- ],
140
- name: "Repaid",
141
- type: "event",
142
- },
143
- {
144
- anonymous: false,
145
- inputs: [
146
- {
147
- indexed: true,
148
- internalType: "contract IPLoopPositionBox",
149
- name: "",
150
- type: "address",
151
- },
152
- {
153
- indexed: true,
154
- internalType: "address",
155
- name: "token",
156
- type: "address",
157
- },
158
- {
159
- indexed: false,
160
- internalType: "uint256",
161
- name: "amount",
162
- type: "uint256",
163
- },
164
- ],
165
- name: "Retrieved",
166
- type: "event",
167
- },
168
- {
169
- anonymous: false,
170
- inputs: [
171
- {
172
- indexed: true,
173
- internalType: "contract IPLoopPositionBox",
174
- name: "",
175
- type: "address",
176
- },
177
- {
178
- indexed: false,
179
- internalType: "address",
180
- name: "to",
181
- type: "address",
182
- },
183
- ],
184
- name: "RewardsClaimed",
185
- type: "event",
186
- },
187
- {
188
- anonymous: false,
189
- inputs: [
190
- {
191
- indexed: true,
192
- internalType: "contract IPLoopPositionBox",
193
- name: "",
194
- type: "address",
195
- },
196
- {
197
- indexed: true,
198
- internalType: "address",
199
- name: "rewardsToken",
200
- type: "address",
201
- },
202
- {
203
- indexed: false,
204
- internalType: "address",
205
- name: "to",
206
- type: "address",
207
- },
208
- {
209
- indexed: false,
210
- internalType: "uint256",
211
- name: "rewardsAmount",
212
- type: "uint256",
213
- },
214
- ],
215
- name: "RewardsClaimed",
216
- type: "event",
217
- },
218
- {
219
- anonymous: false,
220
- inputs: [
221
- {
222
- indexed: true,
223
- internalType: "contract IPLoopPositionBox",
224
- name: "",
225
- type: "address",
226
- },
227
- {
228
- indexed: true,
229
- internalType: "address",
230
- name: "asset",
231
- type: "address",
232
- },
233
- {
234
- indexed: false,
235
- internalType: "uint256",
236
- name: "amount",
237
- type: "uint256",
238
- },
239
- {
240
- indexed: false,
241
- internalType: "uint256",
242
- name: "balanceBefore",
243
- type: "uint256",
244
- },
245
- ],
246
- name: "Withdrawn",
247
- type: "event",
248
- },
249
- {
250
- inputs: [],
251
- name: "MORPHO",
252
- outputs: [
253
- {
254
- internalType: "contract IMorpho",
255
- name: "",
256
- type: "address",
257
- },
258
- ],
259
- stateMutability: "view",
260
- type: "function",
261
- },
262
- {
263
- inputs: [],
264
- name: "NEEDS_ACCOUNT",
265
- outputs: [
266
- {
267
- internalType: "bool",
268
- name: "",
269
- type: "bool",
270
- },
271
- ],
272
- stateMutability: "view",
273
- type: "function",
274
- },
275
- {
276
- inputs: [],
277
- name: "ORACLE_PRICE_DECIMALS",
278
- outputs: [
279
- {
280
- internalType: "uint256",
281
- name: "",
282
- type: "uint256",
283
- },
284
- ],
285
- stateMutability: "view",
286
- type: "function",
287
- },
288
- {
289
- inputs: [
290
- {
291
- internalType: "contract IPLoopPositionBox",
292
- name: "box",
293
- type: "address",
294
- },
295
- {
296
- internalType: "bytes32",
297
- name: "mmPayload",
298
- type: "bytes32",
299
- },
300
- {
301
- internalType: "address",
302
- name: "asset",
303
- type: "address",
304
- },
305
- {
306
- internalType: "uint256",
307
- name: "amount",
308
- type: "uint256",
309
- },
310
- {
311
- internalType: "address",
312
- name: "to",
313
- type: "address",
314
- },
315
- {
316
- internalType: "uint256",
317
- name: "minAmount",
318
- type: "uint256",
319
- },
320
- ],
321
- name: "borrow",
322
- outputs: [
323
- {
324
- internalType: "uint256",
325
- name: "borrowed",
326
- type: "uint256",
327
- },
328
- {
329
- internalType: "uint256",
330
- name: "postDebtBalance",
331
- type: "uint256",
332
- },
333
- ],
334
- stateMutability: "nonpayable",
335
- type: "function",
336
- },
337
- {
338
- inputs: [
339
- {
340
- internalType: "contract IPLoopPositionBox",
341
- name: "box",
342
- type: "address",
343
- },
344
- {
345
- internalType: "bytes32",
346
- name: "mmPayload",
347
- type: "bytes32",
348
- },
349
- {
350
- internalType: "address",
351
- name: "collateralAsset",
352
- type: "address",
353
- },
354
- {
355
- internalType: "address",
356
- name: "debtAsset",
357
- type: "address",
358
- },
359
- {
360
- internalType: "address",
361
- name: "to",
362
- type: "address",
363
- },
364
- ],
365
- name: "claimRewards",
366
- outputs: [],
367
- stateMutability: "nonpayable",
368
- type: "function",
369
- },
370
- {
371
- inputs: [
372
- {
373
- internalType: "contract IPLoopPositionBox",
374
- name: "",
375
- type: "address",
376
- },
377
- {
378
- internalType: "bytes32",
379
- name: "mmPayload",
380
- type: "bytes32",
381
- },
382
- {
383
- internalType: "address",
384
- name: "",
385
- type: "address",
386
- },
387
- ],
388
- name: "collateralBalance",
389
- outputs: [
390
- {
391
- internalType: "uint256",
392
- name: "balance",
393
- type: "uint256",
394
- },
395
- ],
396
- stateMutability: "view",
397
- type: "function",
398
- },
399
- {
400
- inputs: [
401
- {
402
- internalType: "contract IPLoopPositionBox",
403
- name: "",
404
- type: "address",
405
- },
406
- {
407
- internalType: "bytes32",
408
- name: "mmPayload",
409
- type: "bytes32",
410
- },
411
- {
412
- internalType: "address",
413
- name: "",
414
- type: "address",
415
- },
416
- ],
417
- name: "debtBalance",
418
- outputs: [
419
- {
420
- internalType: "uint256",
421
- name: "balance",
422
- type: "uint256",
423
- },
424
- ],
425
- stateMutability: "nonpayable",
426
- type: "function",
427
- },
428
- {
429
- inputs: [
430
- {
431
- internalType: "contract IPLoopPositionBox",
432
- name: "box",
433
- type: "address",
434
- },
435
- {
436
- internalType: "bytes32",
437
- name: "mmPayload",
438
- type: "bytes32",
439
- },
440
- {
441
- internalType: "address",
442
- name: "collateralAsset",
443
- type: "address",
444
- },
445
- {
446
- internalType: "address",
447
- name: "debtAsset",
448
- type: "address",
449
- },
450
- ],
451
- name: "initialize",
452
- outputs: [],
453
- stateMutability: "nonpayable",
454
- type: "function",
455
- },
456
- {
457
- inputs: [
458
- {
459
- internalType: "contract IPLoopPositionBox",
460
- name: "box",
461
- type: "address",
462
- },
463
- {
464
- internalType: "bytes32",
465
- name: "mmPayload",
466
- type: "bytes32",
467
- },
468
- {
469
- internalType: "address",
470
- name: "asset",
471
- type: "address",
472
- },
473
- {
474
- internalType: "uint256",
475
- name: "amount",
476
- type: "uint256",
477
- },
478
- {
479
- internalType: "uint256",
480
- name: "minAmount",
481
- type: "uint256",
482
- },
483
- ],
484
- name: "lend",
485
- outputs: [
486
- {
487
- internalType: "uint256",
488
- name: "lent",
489
- type: "uint256",
490
- },
491
- {
492
- internalType: "uint256",
493
- name: "postCollateralBalance",
494
- type: "uint256",
495
- },
496
- ],
497
- stateMutability: "nonpayable",
498
- type: "function",
499
- },
500
- {
501
- inputs: [
502
- {
503
- internalType: "contract IPLoopPositionBox",
504
- name: "",
505
- type: "address",
506
- },
507
- {
508
- internalType: "bytes32",
509
- name: "mmPayload",
510
- type: "bytes32",
511
- },
512
- {
513
- internalType: "address",
514
- name: "",
515
- type: "address",
516
- },
517
- {
518
- internalType: "address",
519
- name: "",
520
- type: "address",
521
- },
522
- ],
523
- name: "oraclePtDebtRate",
524
- outputs: [
525
- {
526
- internalType: "uint256",
527
- name: "",
528
- type: "uint256",
529
- },
530
- ],
531
- stateMutability: "view",
532
- type: "function",
533
- },
534
- {
535
- inputs: [
536
- {
537
- internalType: "contract IPLoopPositionBox",
538
- name: "box",
539
- type: "address",
540
- },
541
- {
542
- internalType: "bytes32",
543
- name: "mmPayload",
544
- type: "bytes32",
545
- },
546
- {
547
- internalType: "address",
548
- name: "asset",
549
- type: "address",
550
- },
551
- {
552
- internalType: "uint256",
553
- name: "amount",
554
- type: "uint256",
555
- },
556
- {
557
- internalType: "uint256",
558
- name: "minAmount",
559
- type: "uint256",
560
- },
561
- ],
562
- name: "repay",
563
- outputs: [
564
- {
565
- internalType: "uint256",
566
- name: "repaid",
567
- type: "uint256",
568
- },
569
- {
570
- internalType: "uint256",
571
- name: "postDebtBalance",
572
- type: "uint256",
573
- },
574
- ],
575
- stateMutability: "nonpayable",
576
- type: "function",
577
- },
578
- {
579
- inputs: [
580
- {
581
- internalType: "contract IPLoopPositionBox",
582
- name: "box",
583
- type: "address",
584
- },
585
- {
586
- internalType: "bytes32",
587
- name: "mmPayload",
588
- type: "bytes32",
589
- },
590
- {
591
- internalType: "address",
592
- name: "asset",
593
- type: "address",
594
- },
595
- {
596
- internalType: "uint256",
597
- name: "amount",
598
- type: "uint256",
599
- },
600
- {
601
- internalType: "address",
602
- name: "to",
603
- type: "address",
604
- },
605
- {
606
- internalType: "uint256",
607
- name: "minAmount",
608
- type: "uint256",
609
- },
610
- ],
611
- name: "withdraw",
612
- outputs: [
613
- {
614
- internalType: "uint256",
615
- name: "withdrawn",
616
- type: "uint256",
617
- },
618
- {
619
- internalType: "uint256",
620
- name: "postCollateralBalance",
621
- type: "uint256",
622
- },
623
- ],
624
- stateMutability: "nonpayable",
625
- type: "function",
626
- },
627
- ];
628
-
629
- const _bytecode =
630
- "0x60e060405234801561000f575f5ffd5b50604051611faa380380611faa83398101604081905261002e916100d0565b6001600160a01b03821660808190526040805163ca6f50fd60e01b8152905184929163ca6f50fd9160048083019260209291908290030181865afa158015610078573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061009c9190610108565b6001600160a01b0390811660a0529190911660c0525061012a9050565b6001600160a01b03811681146100cd575f5ffd5b50565b5f5f604083850312156100e1575f5ffd5b82516100ec816100b9565b60208401519092506100fd816100b9565b809150509250929050565b5f60208284031215610118575f5ffd5b8151610123816100b9565b9392505050565b60805160a05160c051611ddf6101cb5f395f8181610111015281816103320152818161040b015281816104820152818161057c0152818161088801528181610b7c01528181610cb001528181610cda01528181610d1601528181610e2001528181610ed501528181610f4b015261108201525f6106fc01525f81816101d90152818161066c01528181610758015281816109200152610a4e0152611ddf5ff3fe608060405234801561000f575f5ffd5b50600436106100a2575f3560e01c806308c790b5146100a65780630e786cd0146100d0578063151600c9146100f15780631a070739146101045780633acb56241461010c5780636f45c8c01461014057806396c9f17e1461015557806396f721ac1461016857806399f8ad351461017b578063e54650261461018e578063f75d217f146101a1578063fbf36710146101b9575b5f5ffd5b6100b96100b436600461165b565b6101cc565b6040516100c79291906116be565b60405180910390f35b6100e36100de3660046116cc565b610318565b6040519081526020016100c7565b6100e36100ff36600461170b565b610556565b6100e3602481565b6101337f000000000000000000000000000000000000000000000000000000000000000081565b6040516100c7919061175b565b61015361014e36600461176f565b610661565b005b61015361016336600461170b565b6106f1565b6100b961017636600461165b565b61074b565b6100e36101893660046116cc565b61086f565b6100b961019c3660046117d3565b610913565b6101a9600181565b60405190151581526020016100c7565b6100b96101c73660046117d3565b610a41565b5f80336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461021f5760405162461bcd60e51b815260040161021690611821565b60405180910390fd5b5f61022b89898961086f565b9050851580610238575080155b15610247575f9250905061030d565b610255898989898986610b64565b92506102618382611868565b9150838310156102be5760405162461bcd60e51b815260206004820152602260248201527f4d6f6e65794d61726b65743a2077697468647261776e203c206d696e416d6f756044820152611b9d60f21b6064820152608401610216565b866001600160a01b0316896001600160a01b03167f91fb9d98b786c57d74c099ccd2beca1739e9f6a81fb49001ca465c4b7591bbe285846040516103039291906116be565b60405180910390a3505b965096945050505050565b604051632c3c915760e01b8152600481018390525f9083907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063151c1ade908290632c3c91579060240160a060405180830381865afa158015610387573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103ab919061187b565b6040518263ffffffff1660e01b81526004016103c79190611956565b5f604051808303815f87803b1580156103de575f5ffd5b505af11580156103f0573d5f5f3e3d5ffd5b5050604051632e3071cd60e11b8152600481018490525f92507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169150635c60e39a9060240160c060405180830381865afa158015610459573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061047d919061197f565b90505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166393c5206284306040518363ffffffff1660e01b81526004016104ce929190611a29565b606060405180830381865afa1580156104e9573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061050d9190611a40565b905061054b82604001516001600160801b031683606001516001600160801b031683602001516001600160801b0316610c4f9092919063ffffffff16565b979650505050505050565b5f6106566105666024600a611b93565b604051632c3c915760e01b8152600481018790527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632c3c91579060240160a060405180830381865afa1580156105c9573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ed919061187b565b604001516001600160a01b031663a035b1fe6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561062c573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106509190611b9e565b90610c73565b90505b949350505050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106a95760405162461bcd60e51b815260040161021690611821565b846001600160a01b03167f76fefaa578826cd28a6d72d47460f755534b9a481c773721143222296cc4cc5a826040516106e2919061175b565b60405180910390a25050505050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146107395760405162461bcd60e51b815260040161021690611821565b61074584848484610caa565b50505050565b5f80336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146107955760405162461bcd60e51b815260040161021690611821565b5f6107a1898989610318565b9050855f036107b4575f9250905061030d565b6107c2898989898986610cfe565b92506107ce8184611bb5565b91508383101561082a5760405162461bcd60e51b815260206004820152602160248201527f4d6f6e65794d61726b65743a20626f72726f776564203c206d696e416d6f756e6044820152601d60fa1b6064820152608401610216565b866001600160a01b0316896001600160a01b03167fc14e9e6b4d98a542b05a0f6b64acd5f4cbdb914be88432d87486b664e97071a785846040516103039291906116be565b6040516349e2903160e11b81525f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906393c52062906108bf9086903090600401611a29565b606060405180830381865afa1580156108da573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108fe9190611a40565b604001516001600160801b0316949350505050565b5f80336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461095d5760405162461bcd60e51b815260040161021690611821565b5f61096988888861086f565b9050845f0361097c575f92509050610a37565b61098a888888888c86610dfe565b92506109968184611bb5565b9150838310156109e85760405162461bcd60e51b815260206004820152601d60248201527f4d6f6e65794d61726b65743a206c656e74203c206d696e416d6f756e740000006044820152606401610216565b856001600160a01b0316886001600160a01b03167fb07c18dba66f7fd615f13c777549719e8ea100489339e0fdc30b7076bd77d6048584604051610a2d9291906116be565b60405180910390a3505b9550959350505050565b5f80336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610a8b5760405162461bcd60e51b815260040161021690611821565b5f610a97888888610318565b9050841580610aa4575080155b15610ab3575f92509050610a37565b610ac1888888888c86610eb9565b9250610acd8382611868565b915083831015610b1f5760405162461bcd60e51b815260206004820152601f60248201527f4d6f6e65794d61726b65743a20726570616964203c206d696e416d6f756e74006044820152606401610216565b856001600160a01b0316886001600160a01b03167fe62a777dbd48d3912f68a1b9445813ee02bc3ac18b97dc129ca462cc77bb641b8584604051610a2d9291906116be565b604051632c3c915760e01b8152600481018690525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690638720316d908290632c3c91579060240160a060405180830381865afa158015610bd1573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf5919061187b565b8630876040518563ffffffff1660e01b8152600401610c179493929190611bc8565b5f604051808303815f87803b158015610c2e575f5ffd5b505af1158015610c40573d5f5f3e3d5ffd5b50959998505050505050505050565b5f610659610c5e600185611bb5565b610c6b620f424085611bb5565b86919061116e565b5f80610c87670de0b6b3a764000085611bfc565b9050828181610c9857610c98611c13565b049150505b92915050565b5050505050565b610cd4827f0000000000000000000000000000000000000000000000000000000000000000611199565b610745817f0000000000000000000000000000000000000000000000000000000000000000611199565b604051632c3c915760e01b8152600481018690525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906350d8cd4b908290632c3c91579060240160a060405180830381865afa158015610d6b573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d8f919061187b565b865f30886040518663ffffffff1660e01b8152600401610db3959493929190611c27565b60408051808303815f875af1158015610dce573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610df29190611c63565b50979650505050505050565b5f610e0a858486611259565b604051632c3c915760e01b8152600481018790527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063238d6579908290632c3c91579060240160a060405180830381865afa158015610e75573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e99919061187b565b86306040518463ffffffff1660e01b8152600401610c1793929190611c85565b604051632e3071cd60e11b8152600481018690525f90869082907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690635c60e39a9060240160c060405180830381865afa158015610f22573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f46919061197f565b90505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166393c5206284306040518363ffffffff1660e01b8152600401610f97929190611a29565b606060405180830381865afa158015610fb2573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fd69190611a40565b602001516001600160801b031690505f61101e61101884604001516001600160801b031685606001516001600160801b03168b6112c59092919063ffffffff16565b836112e9565b905080156111605761106c8988848414611038578a611259565b61106786604001516001600160801b031687606001516001600160801b031686610c4f9092919063ffffffff16565b611259565b604051632c3c915760e01b8152600481018590527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906320b76e81908290632c3c91579060240160a060405180830381865afa1580156110d7573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110fb919061187b565b5f84306040518563ffffffff1660e01b815260040161111d9493929190611cbd565b60408051808303815f875af1158015611138573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115c9190611c63565b5094505b505050509695505050505050565b5f8161117b600182611868565b6111858587611bfc565b61118f9190611bb5565b6106599190611cfe565b6001600160a01b0382166111ab575050565b6111bd60026001600160601b03611d11565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa158015611214573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112389190611b9e565b10156112555761124982825f611300565b61125582825f19611300565b5050565b6001600160a01b0383166112aa578034146112a55760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610216565b505050565b80156112a5576112a56001600160a01b0384168330846113fe565b5f6106596112d6620f424084611bb5565b6112e1600186611bb5565b869190611458565b5f8183106112f757816112f9565b825b9392505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b17905291515f9283929087169161135b9190611d3f565b5f604051808303815f865af19150503d805f8114611394576040519150601f19603f3d011682016040523d82523d5f602084013e611399565b606091505b50915091508180156113c35750805115806113c35750808060200190518101906113c39190611d55565b610ca35760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401610216565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610745908590611464565b5f8161118f8486611bfc565b5f6114b8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166115379092919063ffffffff16565b905080515f14806114d85750808060200190518101906114d89190611d55565b6112a55760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610216565b606061065984845f85855f5f866001600160a01b0316858760405161155c9190611d3f565b5f6040518083038185875af1925050503d805f8114611596576040519150601f19603f3d011682016040523d82523d5f602084013e61159b565b606091505b509150915061054b87838387606083156116155782515f0361160e576001600160a01b0385163b61160e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610216565b5081610659565b610659838381511561162a5781518083602001fd5b8060405162461bcd60e51b81526004016102169190611d74565b6001600160a01b0381168114611658575f5ffd5b50565b5f5f5f5f5f5f60c08789031215611670575f5ffd5b863561167b81611644565b955060208701359450604087013561169281611644565b93506060870135925060808701356116a981611644565b9598949750929591949360a090920135925050565b918252602082015260400190565b5f5f5f606084860312156116de575f5ffd5b83356116e981611644565b925060208401359150604084013561170081611644565b809150509250925092565b5f5f5f5f6080858703121561171e575f5ffd5b843561172981611644565b935060208501359250604085013561174081611644565b9150606085013561175081611644565b939692955090935050565b6001600160a01b0391909116815260200190565b5f5f5f5f5f60a08688031215611783575f5ffd5b853561178e81611644565b94506020860135935060408601356117a581611644565b925060608601356117b581611644565b915060808601356117c581611644565b809150509295509295909350565b5f5f5f5f5f60a086880312156117e7575f5ffd5b85356117f281611644565b945060208601359350604086013561180981611644565b94979396509394606081013594506080013592915050565b602080825260199082015278135bdb995e53585c9ad95d0e881d5b985d5d1a1bdc9a5e9959603a1b604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610c9d57610c9d611854565b5f60a082840312801561188c575f5ffd5b5060405160a081016001600160401b03811182821017156118bb57634e487b7160e01b5f52604160045260245ffd5b60405282516118c981611644565b815260208301516118d981611644565b602082015260408301516118ec81611644565b604082015260608301516118ff81611644565b60608201526080928301519281019290925250919050565b80516001600160a01b03908116835260208083015182169084015260408083015182169084015260608083015190911690830152608090810151910152565b60a08101610c9d8284611917565b80516001600160801b038116811461197a575f5ffd5b919050565b5f60c0828403128015611990575f5ffd5b5060405160c081016001600160401b03811182821017156119bf57634e487b7160e01b5f52604160045260245ffd5b6040526119cb83611964565b81526119d960208401611964565b60208201526119ea60408401611964565b60408201526119fb60608401611964565b6060820152611a0c60808401611964565b6080820152611a1d60a08401611964565b60a08201529392505050565b9182526001600160a01b0316602082015260400190565b5f6060828403128015611a51575f5ffd5b50604051606081016001600160401b0381118282101715611a8057634e487b7160e01b5f52604160045260245ffd5b60405282518152611a9360208401611964565b6020820152611aa460408401611964565b60408201529392505050565b6001815b6001841115611aeb57808504811115611acf57611acf611854565b6001841615611add57908102905b60019390931c928002611ab4565b935093915050565b5f82611b0157506001610c9d565b81611b0d57505f610c9d565b8160018114611b235760028114611b2d57611b49565b6001915050610c9d565b60ff841115611b3e57611b3e611854565b50506001821b610c9d565b5060208310610133831016604e8410600b8410161715611b6c575081810a610c9d565b611b785f198484611ab0565b805f1904821115611b8b57611b8b611854565b029392505050565b5f6112f98383611af3565b5f60208284031215611bae575f5ffd5b5051919050565b80820180821115610c9d57610c9d611854565b6101008101611bd78287611917565b60a08201949094526001600160a01b0392831660c0820152911660e090910152919050565b8082028115828204841417610c9d57610c9d611854565b634e487b7160e01b5f52601260045260245ffd5b6101208101611c368288611917565b60a082019590955260c08101939093526001600160a01b0391821660e08401521661010090910152919050565b5f5f60408385031215611c74575f5ffd5b505080516020909101519092909150565b611c8f8185611917565b60a08101929092526001600160a01b031660c082015261010060e082018190525f9082015261012001919050565b611cc78186611917565b60a081019390935260c08301919091526001600160a01b031660e082015261012061010082018190525f9082015261014001919050565b5f82611d0c57611d0c611c13565b500490565b5f6001600160601b03831680611d2957611d29611c13565b6001600160601b03929092169190910492915050565b5f82518060208501845e5f920191825250919050565b5f60208284031215611d65575f5ffd5b815180151581146112f9575f5ffd5b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f8301168401019150509291505056fea264697066735822122001453c30e24ce2240251f0297ce899a246737a9f6fac506863e77dd61bcd193464736f6c634300081e0033";
631
-
632
- type MorphoBlueMoneyMarketConstructorParams =
633
- | [signer?: Signer]
634
- | ConstructorParameters<typeof ContractFactory>;
635
-
636
- const isSuperArgs = (
637
- xs: MorphoBlueMoneyMarketConstructorParams
638
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
639
-
640
- export class MorphoBlueMoneyMarket__factory extends ContractFactory {
641
- constructor(...args: MorphoBlueMoneyMarketConstructorParams) {
642
- if (isSuperArgs(args)) {
643
- super(...args);
644
- } else {
645
- super(_abi, _bytecode, args[0]);
646
- }
647
- this.contractName = "MorphoBlueMoneyMarket";
648
- }
649
-
650
- deploy(
651
- ptLooper: string,
652
- _morpho: string,
653
- overrides?: Overrides & { from?: string | Promise<string> }
654
- ): Promise<MorphoBlueMoneyMarket> {
655
- return super.deploy(
656
- ptLooper,
657
- _morpho,
658
- overrides || {}
659
- ) as Promise<MorphoBlueMoneyMarket>;
660
- }
661
- getDeployTransaction(
662
- ptLooper: string,
663
- _morpho: string,
664
- overrides?: Overrides & { from?: string | Promise<string> }
665
- ): TransactionRequest {
666
- return super.getDeployTransaction(ptLooper, _morpho, overrides || {});
667
- }
668
- attach(address: string): MorphoBlueMoneyMarket {
669
- return super.attach(address) as MorphoBlueMoneyMarket;
670
- }
671
- connect(signer: Signer): MorphoBlueMoneyMarket__factory {
672
- return super.connect(signer) as MorphoBlueMoneyMarket__factory;
673
- }
674
- static readonly contractName: "MorphoBlueMoneyMarket";
675
- public readonly contractName: "MorphoBlueMoneyMarket";
676
- static readonly bytecode = _bytecode;
677
- static readonly abi = _abi;
678
- static createInterface(): MorphoBlueMoneyMarketInterface {
679
- return new utils.Interface(_abi) as MorphoBlueMoneyMarketInterface;
680
- }
681
- static connect(
682
- address: string,
683
- signerOrProvider: Signer | Provider
684
- ): MorphoBlueMoneyMarket {
685
- return new Contract(
686
- address,
687
- _abi,
688
- signerOrProvider
689
- ) as MorphoBlueMoneyMarket;
690
- }
691
- }