bgd-labs / aave-v3-origin

Aave v3.1 protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aave V3.1 Origin

Aave v3.1 Origin_banner

Aave v3.1 complete codebase, Foundry-based.

Coverage badge

Dependencies

  • Foundry, how-to install (we recommend also update to the last version with foundryup)
  • Lcov
    • Optional, only needed for coverage testing
    • For Ubuntu, you can install via apt install lcov
    • For Mac, you can install via brew install lcov

Setup

cp .env.example .env

forge install

# optional, to install prettier
bun install

Tests

  • To run the full test suite: make test
  • To re-generate the coverage report: make coverage

Documentation


Security

Aave v3.1 is an upgraded version of Aave v3, more precisely on top of the initial Aave v3 release and a follow-up 3.0.2 later update.

The following are the security procedures historically applied to Aave v3.X versions.


-> Aave v3


-> Aave v3.0.1 - December 2022


-> Aave v3.0.2 - April 2023


-> Aave v3.1 - April 2024

  • Certora
  • MixBytes
  • An internal review by SterMi on the virtual accounting feature was conducted on an initial phase of the codebase.
  • Cantina competition report
  • Additionally, Certora properties have been improved over time since the Aave v3 release. More details HERE.

Bug bounty

This repository will be subjected to this bug bounty once the Aave Governance upgrades the smart contracts in the applicable production instances.


License

Copyright © 2024, Aave DAO, represented by its governance smart contracts.

The BUSL1.1 license of this repository allows for any usage of the software, if respecting the Additional Use Grant limitations, forbidding any use case damaging anyhow the Aave DAO's interests. Interfaces and other components required for integrations are explicitly MIT licensed.

About

Aave v3.1 protocol

License:Other


Languages

Language:Solidity 89.5%Language:Python 7.3%Language:Ruby 2.5%Language:Shell 0.4%Language:Makefile 0.2%