Skip to content

Latest commit

 

History

History

20221207-aave-rebalanced-linear-pool-v3

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

2022-12-07 - Aave Rebalanced Linear Pool v3

⚠️ DEPRECATED: do not use ⚠️

Superseded by Aave Linear Pool V4, which fixes the reentrancy issue described in this forum post.

Deployment of the AaveLinearPoolFactory, for Linear Pools with a wrapped aToken. This new deployment includes:

  • A fix for the AaveLinearPool being susceptible to spoofed revert data from the external call to fetch the wrapped token rate, potentially resulting in manipulation of the exchange rate used by AaveLinearPoolRebalancer.
  • A fix for the AaveLinearPoolRebalancer to handle tokens which do not allow setting an approval without first setting the approval to zero.

This is version 3 because it is the third generation of Aave Linear Pools, the other two being 20211208-aave-linear-pool and 20220817-aave-rebalanced-linear-pool.

Useful Files