v3 Periphery maintenance

Share on X
Raw-Ipfs
For

328.61K

Against

0

Voters

Voting power

Support

aci.eth

112.77K

For

0x2cc...54Df1

103.04K

For

winte...e.eth

41,739.25

For

stabl...b.eth

41,004.50

For

gover...y.eth

21,394.26

For

Payload 1/10
Show more
Created

20 Mar 2024, 12:16 PM

Open for voting

21 Mar 2024, 12:35 PM

Voting closed

24 Mar 2024, 12:36 PM

Passed

Finished

26 Mar 2024, 3:20 PM

Executed

v3 Periphery maintenance

Created

20 Mar 2024, 12:16 PM

Open for voting

21 Mar 2024, 12:35 PM

Voting closed

24 Mar 2024, 12:36 PM

Passed

Finished

26 Mar 2024, 3:20 PM

Executed

Author

BGD Labs

Creator

0xf71fc92e2949ccF6A5Fd369a0b402ba80Bc61E02

Copy

Simple Summary

Purely technical proposal to do minor improvements on two Aave v3’s periphery components: stataTokens and Sequencer Uptime Feed on Scroll (also known as PriceOracleSentinel).

Motivation

Price oracle sentinel

The Sequencer Uptime Feed (also known as “price oracle sentinel”) is a feature baked into Aave v3 that pauses liquidations & borrowing for a limited amount of time whenever a sequencer downtime is detected on a Chainlink oracle (l2 sequencer feed).

This pause should give users the ability to refill or repay their positions in case the market moved while the sequencer was down.

As the Chainlink Scroll l2 sequencer feed was not yet available when the pool launched, the Sequencer Uptime Feed on Aave was disabled until now.

Stata tokens

In our continuous effort to enhance the security of the aave protocol and the surrounding ecosystem we discovered some minor issues with the Static a token implementation.

  • For reserves without a supplyCap the maxMint function on the static aToken would revert. While there is currently no reserve without a supplyCap on any network, we think it’s reasonable to fix the issue to prevent unforeseen issues for integrators in the future.
  • Similar to an issue fixed on the aave core, the static-a-token is prone to permit griefing. While there is no financial incentive for an attacker to perform griefing, we used the upgrade to close the griefing vector & upgrade the token to rely on the open-zeppelin ECDSA library.

Specification

Upon execution, the proposal will call

  • POOL_ADDRESSES_PROVIDER.setPriceOracleSentinel(NEW_PRICE_ORACLE_SENTINEL) on the addresses provider contract and set the new implementation of the PriceOracleSentinel contract on Aave V3 Scroll
  • upgrade(token, NEW_TOKEN_IMPLEMENTATION) for all the existing stata tokens
  • upgrade(token, NEW_FACTORY_IMPLEMENTATION) for all the existing stata factories

References

Copyright

Copyright and related rights waived via CC0.

by BGD Labs