Skip to content

Commit

Permalink
Merge pull request #8 from bgd-labs/feat/improve-docs
Browse files Browse the repository at this point in the history
feat: improved 3.1 features docs
  • Loading branch information
kyzia551 authored May 2, 2024
2 parents 3a4588f + 246a54c commit 17d05a5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/Aave-v3.1-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ This new feature doesn’t create any incompatibility with Aave v3 integrations,

Given its implications and criticality, virtual accounting can be considered the major feature of Aave 3.1.

_Important_. Virtual balance doesn't fix the imprecision caused by other components of the protocol, its objective is to add stricter validations, reducing any type of vector to the minimum.
**Misc considerations & acknowledged limitations**

- Virtual balance doesn't fix the imprecision caused by other components of the protocol, its objective is to add stricter validations, reducing any type of attack vector to the minimum.
- An extra "soft" protection has been added on borrowing actions (flash loan and borrow): the amount borrowed of underlying should not be higher than the aToken supply. The idea behind is to add more defenses on inflation scenarios, even if we are aware total protection is not achieved (e.g. against certain edge iteration vectors).
Not using `accruedToTreasury` in the calculation is intentional.
- The addition of virtual accounting can create a situation over time that more liquidity will be available in the aToken contract than what the the virtual balance allows to withdraw/borrow. This is intended by design.

<br>

Expand Down

0 comments on commit 17d05a5

Please sign in to comment.