Added MorphoBlueMarket to integrate USDC ARM to Morpho markets - #329
Open
naddison36 wants to merge 6 commits into
Open
Added MorphoBlueMarket to integrate USDC ARM to Morpho markets#329naddison36 wants to merge 6 commits into
naddison36 wants to merge 6 commits into
Conversation
clement-ux
reviewed
Aug 12, 2026
Comment on lines
+80
to
+83
| address public arm; | ||
| address public asset; | ||
| MorphoMarketId public marketId; | ||
| MorphoMarketParams public marketParams; |
Collaborator
There was a problem hiding this comment.
Maybe we could mark them all as immutable?
| address public harvester; | ||
| IDistributor public merkleDistributor; | ||
|
|
||
| uint256[42] private _gap; |
Collaborator
There was a problem hiding this comment.
I think I lack of context here, why using 42 for the gap and not 50?
| /// @param tokens The incentive tokens to collect. | ||
| /// @return amounts The amount of each corresponding token transferred. | ||
| function collectRewards(address[] calldata tokens) external returns (uint256[] memory amounts) { | ||
| require(msg.sender == harvester, "Only harvester can collect"); |
Collaborator
There was a problem hiding this comment.
We’re currently using a mix of require statements and custom error. Should we standardize on custom errors?
…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.Deployment
Adds deployment
043, which deploys and registers wrappers for:0xb8fef900b383db2dbbf4458c7f46acf5b140f26d603a6d1829963f241b82510e0x3a85e619751152991742810df6ec69ce473daef99e28a64ab2340d7b7ccfee490xba3ba077d9c838696b76e29a394ae9f0d1517a372e30fd9a0fc19c516fb4c5a70x64d65c9a2d91c36d56fbc42d69e979335320169b3df63bf92789e2c8883fcc64The deployment:
Testing
Adds unit coverage for: