{"id":18263717,"url":"https://github.com/yearn/yearn-vaults-v3","last_synced_at":"2025-10-31T05:54:51.283Z","repository":{"id":36953874,"uuid":"501599744","full_name":"yearn/yearn-vaults-v3","owner":"yearn","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-01T04:15:42.000Z","size":1336,"stargazers_count":133,"open_issues_count":4,"forks_count":55,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-08-07T04:39:19.336Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/yearn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":"audits/06-2023-Yearn-Vault-V3_yAcademy_Reports.pdf","citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-09T10:06:03.000Z","updated_at":"2025-08-07T03:02:58.000Z","dependencies_parsed_at":"2024-08-29T21:40:22.003Z","dependency_job_id":"dde0b197-b19e-4088-ad5f-1e99f6fa111e","html_url":"https://github.com/yearn/yearn-vaults-v3","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/yearn/yearn-vaults-v3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yearn%2Fyearn-vaults-v3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yearn%2Fyearn-vaults-v3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yearn%2Fyearn-vaults-v3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yearn%2Fyearn-vaults-v3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yearn","download_url":"https://codeload.github.com/yearn/yearn-vaults-v3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yearn%2Fyearn-vaults-v3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281937760,"owners_count":26586774,"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","status":"online","status_checked_at":"2025-10-31T02:00:07.401Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-05T11:12:24.874Z","updated_at":"2025-10-31T05:54:51.248Z","avatar_url":"https://github.com/yearn.png","language":"Python","funding_links":[],"categories":["DeFi Agents"],"sub_categories":["Benchmark Reality Check (real-world tool use)"],"readme":"# Yearn V3 Vaults\n\nThis repository contains the Smart Contracts for Yearns V3 vault implementation.\n\n[VaultFactory.vy](contracts/VaultFactory.vy) - The base factory that all vaults will be deployed from and used to configure protocol fees\n\n[Vault.vy](contracts/VaultV3.vy) - The ERC4626 compliant Vault that will handle all logic associated with deposits, withdraws, strategy management, profit reporting etc.\n\nFor the most updated deployment addresses see the [docs](https://docs.yearn.fi/developers/addresses/v3-contracts). And read more about V3 and how to manage your own multi strategy vault here https://docs.yearn.fi/developers/v3/overview\n\nFor the V3 strategy implementation see the [Tokenized Strategy](https://github.com/yearn/tokenized-strategy) repo.\n\n## Requirements\n\nThis repository runs on [ApeWorx](https://www.apeworx.io/). A python based development tool kit.\n\nYou will need:\n - Python 3.8 or later\n - [Vyper 0.3.7](https://docs.vyperlang.org/en/stable/installing-vyper.html)\n - [Foundry](https://book.getfoundry.sh/getting-started/installation)\n - Linux or macOS\n - Windows: Install Windows Subsystem Linux (WSL) with Python 3.8 or later\n - [Hardhat](https://hardhat.org/) installed globally\n\n## Installation\n\nFork the repository and clone onto your local device \n\n```\ngit clone --recursive https://github.com/user/yearn-vaults-v3\ncd yearn-vaults-v3\n```\n\nSet up your python virtual environment and activate it.\n\n```\npython3 -m venv venv\nsource venv/bin/activate\n```\n\nInstall requirements.\n\n```\npython3 -m pip install -r requirements.txt\nyarn\n```\n\nFetch the ape plugins:\n\n```\nape plugins install .\n```\n\nCompile smart contracts with:\n\n```\nape compile\n```\n\nand test smart contracts with:\n\n```\nape test\n```\n\nTo run the Foundry tests\n \nNOTE: You will need to first compile with Ape before running foundry tests.\n```\nforge test\n```\n\n## Deployment\n\nDeployments of the Vault Factory are done using create2 to be at a deterministic address on any EVM chain.\n\nCheck the [docs](https://docs.yearn.fi/developers/addresses/v3-contracts) for the most updated deployment address.\n\nDeployments on new chains can be done permissionlessly by anyone using the included script.\n```\nape run scripts/deploy.py --network YOUR_RPC_URL\n```\n\nIf the deployments do not end at the same address you can also manually send the calldata used in the previous deployments on other chains.\n\n### To make a contribution please follow the [guidelines](https://github.com/yearn/yearn-vaults-v3/bloc/master/CONTRIBUTING.md)\n\nSee the ApeWorx [documentation](https://docs.apeworx.io/ape/stable/) and [github](https://github.com/ApeWorX/ape) for more information.\n\nYou will need hardhat to run the test `yarn`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyearn%2Fyearn-vaults-v3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyearn%2Fyearn-vaults-v3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyearn%2Fyearn-vaults-v3/lists"}