aave-ui icon indicating copy to clipboard operation
aave-ui copied to clipboard

Show warning when reserve is close to being fully utilized

Open sakulstra opened this issue 4 years ago • 3 comments

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

When I try to withdraw from a close to fully utilized reserve, there#s a good chance that someone else will do the same and thus one transaction will fail. While this can't be prevented, I think the ui should show a warning that this might happen, so people can increase gas or wait till utilization cycles back to equilibrium.

Examples 🌈

image

Motivation 🔦

There should be less users wasting gas on failing transactions.

sakulstra avatar Oct 25 '21 10:10 sakulstra

I think with the borrow and supply caps we have these scenarios in the flows. Is that sufficient @sendra ?

Screen Shot 2021-12-10 at 12 25 59 PM

foodaka avatar Dec 10 '21 12:12 foodaka

Screen Shot 2021-12-10 at 12 28 34 PM

foodaka avatar Dec 10 '21 12:12 foodaka

I think with the borrow and supply caps we have these scenarios in the flows. Is that sufficient @sendra ?

Screen Shot 2021-12-10 at 12 25 59 PM

I still think that we should kind of put a breakdown or explanation on the amount indicated by the Available to borrow. I think it can be confusing, as we will not see here the differenciation between wallet balance and cap

sendra avatar Dec 10 '21 12:12 sendra