{"id":18704985,"url":"https://github.com/aave/aave-vault","last_synced_at":"2025-10-29T23:31:43.714Z","repository":{"id":154979245,"uuid":"556743438","full_name":"aave/Aave-Vault","owner":"aave","description":"ERC4626 vault to hold aToken assets","archived":false,"fork":false,"pushed_at":"2024-08-14T10:25:45.000Z","size":3061,"stargazers_count":52,"open_issues_count":1,"forks_count":29,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-02-07T04:04:13.288Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aave.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":"audits/01-03-2023_OpenZeppelin_Wrapped_AToken_Vault.pdf","citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-24T12:37:13.000Z","updated_at":"2025-01-24T16:25:52.000Z","dependencies_parsed_at":"2025-01-16T15:08:14.861Z","dependency_job_id":"3c5950eb-250a-4d5e-ac8a-ff5ea74f12f8","html_url":"https://github.com/aave/Aave-Vault","commit_stats":{"total_commits":258,"total_committers":4,"mean_commits":64.5,"dds":"0.36046511627906974","last_synced_commit":"c7b416b322f183586f55895f5156f332bf39ea79"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aave%2FAave-Vault","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aave%2FAave-Vault/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aave%2FAave-Vault/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aave%2FAave-Vault/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aave","download_url":"https://codeload.github.com/aave/Aave-Vault/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238777999,"owners_count":19528821,"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":[],"created_at":"2024-11-07T12:09:21.094Z","updated_at":"2025-10-29T23:31:42.106Z","avatar_url":"https://github.com/aave.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Foundry][foundry-badge]][foundry]\n\n[foundry]: https://getfoundry.sh/\n[foundry-badge]: https://img.shields.io/badge/Built%20with-Foundry-FFDB1C.svg\n\n# Aave Vault\n\nAn ERC-4626 vault which allows users to deposit/withdraw ERC-20 tokens supported by Aave v3, manages the supply and withdrawal of these assets in Aave, and allows a vault manager to take a fee on yield earned.\n\n## Instructions\n\nTo compile/build the project, run `forge build`.\n\nTo run the test suite, run `forge test`.\n\n## Tests\n\nSome of the tests rely on an RPC connection for forking network state. Make sure you have an `.env` file in the root directory of the repo with the following keys and values:\n\n```\nPOLYGON_RPC_URL=[Your favourite Polygon RPC URL]\nAVALANCHE_RPC_URL=[Your favourite Avalanche RPC URL]\n```\n\nThe fork tests all use Polygon, except tests for claiming Aave rewards, which use Avalanche.\n\nThis test suite also includes a16z's [ERC-4626 Property Tests](https://a16zcrypto.com/generalized-property-tests-for-erc4626-vaults/), which are in the `ATokenVaultProperties.t.sol` file. These tests do not use a forked network state but rather use mock contracts, found in the `test/mocks` folder.\n\n## Deployment\n\nTo deploy the vault contract, first check that the deployment parameters in `script/Deploy.s.sol` are configured correctly, then check that your `.env` file contains these keys:\n\n```\nPOLYGON_RPC_URL=xxx\nMUMBAI_RPC_URL=xxx\nETHERSCAN_API_KEY=xxx\nPRIVATE_KEY=xxx\n```\n\nThen run:\n\n```bash\nsource .env\n```\n\nThen run one of the following commands:\n\nMumbai Testnet:\n\n```bash\nforge script script/Deploy.s.sol:Deploy --rpc-url $MUMBAI_RPC_URL --broadcast --verify --legacy -vvvv\n```\n\nPolygon Mainnet:\n\n```bash\nforge script script/Deploy.s.sol:Deploy --rpc-url $POLYGON_RPC_URL --broadcast --verify --legacy -vvvv\n```\n\n## Audits\n\nYou can find all audit reports under the audits folder\n\n- [01-03-2023 OpenZeppelin](./audits/01-03-2023_OpenZeppelin_Wrapped_AToken_Vault.pdf)\n- [03-03-2023 PeckShield](./audits/03-03-2023_Peckshield_Wrapped_AToken_Vault.pdf)\n- [18-06-2023 Certora](./certora/report/Aave-Vault-Formal-Verification.pdf)\n\n\n## License\n\nAll Rights Reserved © Aave Labs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faave%2Faave-vault","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faave%2Faave-vault","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faave%2Faave-vault/lists"}