Added MorphoBlueMarket to integrate USDC ARM to Morpho markets - #329
Open
naddison36 wants to merge 11 commits into
Open
naddison36 wants to merge 11 commits into
naddison36 wants to merge 11 commits into
Conversation
clement-ux
reviewed
Aug 12, 2026
…ding # Conflicts: # test/smoke/PaxosARMSmokeTest.t.sol
…nicka/morpho-blue-lending # Conflicts: # test/smoke/PaxosARMSmokeTest.t.sol
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds direct Morpho Blue lending-market support for the USDC ARM.
MorphoBlueMarketwrapper around a single Morpho Blue market.End-to-End ARM Allocation Costs
This benchmark compares:
Morpho market gas comparison
Added isolated mainnet-fork benchmarks comparing:
MorphoBlueMarket, supplying directly to Morpho Blue.MorphoMarketpath through the WETH ARM MetaMorpho V1.1 vault.Both paths use the same underlying weETH/WETH 94.5% LLTV Morpho Blue market, so the results isolate the overhead of the MetaMorpho vault layer.
The benchmark is pinned to mainnet block
25,873,533and measures steady-state operations with existing positions.Results
convertToAssetsmaxWithdrawmaxRedeembalanceOfThe direct integration is substantially cheaper for every operation except the simple share-balance lookup.
These figures measure the market-wrapper calls themselves. Fixed ARM allocation overhead is excluded equally from both paths.
Deployment
Adds deployment
043, which deploys and registers wrappers for:0xb8fef900b383db2dbbf4458c7f46acf5b140f26d603a6d1829963f241b82510e0x3a85e619751152991742810df6ec69ce473daef99e28a64ab2340d7b7ccfee490xba3ba077d9c838696b76e29a394ae9f0d1517a372e30fd9a0fc19c516fb4c5a70x64d65c9a2d91c36d56fbc42d69e979335320169b3df63bf92789e2c8883fcc64The deployment:
Testing
Adds unit coverage for: