{"id":26054990,"url":"https://github.com/morpho-org/morpho-optimizers-vaults","last_synced_at":"2025-07-31T11:37:07.180Z","repository":{"id":59314424,"uuid":"503681913","full_name":"morpho-org/morpho-optimizers-vaults","owner":"morpho-org","description":"ERC4626 vaults to ease interaction with Morpho Optimizers.","archived":false,"fork":false,"pushed_at":"2024-03-20T08:12:03.000Z","size":4760,"stargazers_count":43,"open_issues_count":0,"forks_count":3,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-11T02:56:10.249Z","etag":null,"topics":["defi","erc4626","ethereum","morpho","vault"],"latest_commit_sha":null,"homepage":"https://vaults.morpho.org","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/morpho-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":"audits/Morpho Vaults Security Analysis by Pessimistic.pdf","citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-15T08:34:48.000Z","updated_at":"2025-03-10T15:48:41.000Z","dependencies_parsed_at":"2025-03-08T10:01:53.107Z","dependency_job_id":"557576da-a37b-4bc6-91d6-a2fc5d4e8e46","html_url":"https://github.com/morpho-org/morpho-optimizers-vaults","commit_stats":null,"previous_names":["morpho-org/morpho-v1-optimizers-vaults","morpho-org/morpho-tokenized-vaults","morpho-org/morpho-optimizers-vaults"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/morpho-org/morpho-optimizers-vaults","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morpho-org%2Fmorpho-optimizers-vaults","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morpho-org%2Fmorpho-optimizers-vaults/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morpho-org%2Fmorpho-optimizers-vaults/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morpho-org%2Fmorpho-optimizers-vaults/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morpho-org","download_url":"https://codeload.github.com/morpho-org/morpho-optimizers-vaults/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morpho-org%2Fmorpho-optimizers-vaults/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261110603,"owners_count":23111063,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["defi","erc4626","ethereum","morpho","vault"],"created_at":"2025-03-08T10:00:34.846Z","updated_at":"2025-06-21T11:05:48.503Z","avatar_url":"https://github.com/morpho-org.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Morpho Optimizers Vaults\n\n[![Test](https://github.com/morpho-labs/morpho-contracts/actions/workflows/ci-foundry.yml/badge.svg)](https://github.com/morpho-dao/morpho-tokenized-vaults/actions/workflows/ci-foundry.yml)\n\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://i.imgur.com/uLq5V14.png\"\u003e\n  \u003cimg alt=\"\" src=\"https://i.imgur.com/ZiL1Lr2.png\"\u003e\n\u003c/picture\u003e\n\n---\n\n## Morpho Optimizers vaults\n\nMorpho Optimizers vaults represent tokenized supply positions on Morpho. Vaults are compliant with the ERC4626 standard and can be easily integrated. Please take a look at the [vaults documentation](https://developers-vaults.morpho.org/) for more information.\n\n---\n\n## Audits\n\nVaults' audits are accessible in the [audits](https://github.com/morpho-dao/morpho-tokenized-vaults/tree/main/audits)' folder.\nAll Morpho audits are accessible in the [audits section of the Morpho documentation](https://docs.morpho.org/security/audits).\n\n---\n\n## Deployment Addresses\n\n### Morpho-Compound Optimizer (Ethereum)\n\n#### Supply Vaults\n\n- mcDAI: [0x8F88EaE3e1c01d60bccdc3DB3CBD5362Dd55d707](https://etherscan.io/address/0x8F88EaE3e1c01d60bccdc3DB3CBD5362Dd55d707)\n- mcWETH: [0x676E1B7d5856f4f69e10399685e17c2299370E95](https://etherscan.io/address/0x676E1B7d5856f4f69e10399685e17c2299370E95)\n- mcCOMP: [0xaA768b85eC827cCc36D882c1814bcd27ec4A8593](https://etherscan.io/address/0xaA768b85eC827cCc36D882c1814bcd27ec4A8593)\n- mcUNI: [0x496da625C736a2fF122638Dc26dCf1bFdEf1778c](https://etherscan.io/address/0x496da625C736a2fF122638Dc26dCf1bFdEf1778c)\n- mcUSDC: [0xba9E3b3b684719F80657af1A19DEbc3C772494a0](https://etherscan.io/address/0xba9E3b3b684719F80657af1A19DEbc3C772494a0)\n- mcUSDT: [0xC2A4fBA93d4120d304c94E4fd986e0f9D213eD8A](https://etherscan.io/address/0xC2A4fBA93d4120d304c94E4fd986e0f9D213eD8A)\n- mcWBTC: [0xF31AC95fe692190b9C67112d8c912bA9973944F2](https://etherscan.io/address/0xF31AC95fe692190b9C67112d8c912bA9973944F2)\n- Implementation: [0x07b7319aaf04f8a28c74fd5ca3ec01aa4af66069](https://etherscan.io/address/0x07b7319aaf04f8a28c74fd5ca3ec01aa4af66069)\n\n### Morpho-AaveV2 Optimizer (Ethereum)\n\n#### Supply Vaults\n\n- maWBTC: [0xd508f85f1511aaec63434e26aeb6d10be0188dc7](https://etherscan.io/address/0xd508f85f1511aaec63434e26aeb6d10be0188dc7)\n- maWETH: [0x490bbbc2485e99989ba39b34802fafa58e26aba4](https://etherscan.io/address/0x490bbbc2485e99989ba39b34802fafa58e26aba4)\n- maDAI: [0x36f8d0d0573ae92326827c4a82fe4ce4c244cab6](https://etherscan.io/address/0x36f8d0d0573ae92326827c4a82fe4ce4c244cab6)\n- maUSDC: [0xa5269a8e31b93ff27b887b56720a25f844db0529](https://etherscan.io/address/0xa5269a8e31b93ff27b887b56720a25f844db0529)\n- maUSDT: [0xafe7131a57e44f832cb2de78ade38cad644aac2f](https://etherscan.io/address/0xafe7131a57e44f832cb2de78ade38cad644aac2f)\n- maCRV: [0x9dc7094530cb1bcf5442c3b9389ee386738a190c](https://etherscan.io/address/0x9dc7094530cb1bcf5442c3b9389ee386738a190c)\n- Implementation: [0x86d61e37f68194b55d7590c230077e0f8607f563](https://etherscan.io/address/0x86d61e37f68194b55d7590c230077e0f8607f563)\n\n### Common Contracts (Ethereum)\n\n- ProxyAdmin: [0x99917ca0426fbc677e84f873fb0b726bb4799cd8](https://etherscan.io/address/0x99917ca0426fbc677e84f873fb0b726bb4799cd8)\n\n---\n\n## Testing with [Foundry](https://github.com/foundry-rs/foundry) 🔨\n\nTests are run against a fork of real networks, allowing us to interact directly with Compound or Aave liquidity pools. Note that you need an RPC provider with access to Ethereum or Polygon.\n\nFor testing, make sure `yarn` and `foundry` are installed and install dependencies (node_modules, git submodules) with:\n\n```bash\nmake install\n```\n\nAlternatively, if you only want to set up\n\nRefer to the `env.example` for the required environment variable.\n\nTo run tests on different protocols, navigate a Unix terminal to the root folder of the project and run the command of your choice:\n\nTo run every test of a specific protocol (e.g. for Morpho-Compound):\n\n```bash\nmake test PROTOCOL=compound\n```\n\nOr to run only a specific set of tests of a specific protocol (e.g. for Morpho-Aave V2):\n\n```bash\nmake c-TestSupplyVault PROTOCOL=aave-v2\n```\n\nOr to run an individual test of a specific protocol (e.g. for Morpho-Aave V2):\n\n```bash\nmake s-testShouldDepositAmount PROTOCOL=aave-v2\n```\n\nFor the other commands, check the [Makefile](./Makefile).\n\n---\n\n## Test coverage\n\nTest coverage is reported using [foundry](https://github.com/foundry-rs/foundry) coverage with [lcov](https://github.com/linux-test-project/lcov) report formatting (and optionally, [genhtml](https://manpages.ubuntu.com/manpages/xenial/man1/genhtml.1.html) transformer).\n\nTo generate the `lcov` report, run the following:\n\n```bash\nmake coverage\n```\n\nThe report is then usable either:\n\n- via [Coverage Gutters](https://marketplace.visualstudio.com/items?itemName=ryanluker.vscode-coverage-gutters) following [this tutorial](https://mirror.xyz/devanon.eth/RrDvKPnlD-pmpuW7hQeR5wWdVjklrpOgPCOA-PJkWFU)\n- via html, using `make lcov-html` to transform the report\n\n---\n\n## Questions \u0026 Feedback\n\nFor any question or feedback, email [merlin@morpho.org](mailto:merlin@morpho.org).\n\n---\n\n## Licensing\n\nThe code is under the GNU AFFERO GENERAL PUBLIC LICENSE v3.0, see [`LICENSE`](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorpho-org%2Fmorpho-optimizers-vaults","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorpho-org%2Fmorpho-optimizers-vaults","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorpho-org%2Fmorpho-optimizers-vaults/lists"}