Skip to content

[WIP] Add Morpho rewards collector module #2574

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

shahthepro
Copy link
Collaborator

  • Adds a module that can collect Morpho and Legacy Morpho tokens from the strategies to the Safe contract
  • Works only if the governance of the contracts are transferred to the 2/8 Guardian

Code Change Checklist

To be completed before internal review begins:

  • The contract code is complete
  • Executable deployment file
  • Fork tests that test after the deployment file runs
  • Unit tests *if needed
  • The owner has done a full checklist review of the code + tests

Internal review:

  • Two approvals by internal reviewers

Copy link

github-actions bot commented Jul 7, 2025

Warnings
⚠️ 👀 This PR needs at least 2 reviewers

Generated by 🚫 dangerJS against 959d6b6

Copy link

codecov bot commented Jul 7, 2025

Codecov Report

Attention: Patch coverage is 58.97436% with 16 lines in your changes missing coverage. Please review.

Project coverage is 42.80%. Comparing base (13fe752) to head (959d6b6).

Files with missing lines Patch % Lines
.../contracts/automation/ClaimMorphoRewardsModule.sol 58.97% 16 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2574      +/-   ##
==========================================
+ Coverage   42.40%   42.80%   +0.40%     
==========================================
  Files         111      112       +1     
  Lines        5318     5357      +39     
  Branches     1407     1420      +13     
==========================================
+ Hits         2255     2293      +38     
- Misses       3060     3061       +1     
  Partials        3        3              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@shahthepro
Copy link
Collaborator Author

Closing this in favor of #2575

@shahthepro shahthepro closed this Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant