You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
availableToBorrow returns an amount that would move utilization to exactly $U_2$, but trying to borrow this amount would result in BorrowingMoreThanU2ForbiddenException because of use of incorrect sign in calcBorrowRate.
The text was updated successfully, but these errors were encountered:
In this PR:
* Small fixes in `calcBorrowRate` and `availableToBorrow` to address #194
* Small gas optimizations like removing redundant getters and evaluating some expressions at compile time
In this PR:
* Small fixes in `calcBorrowRate` and `availableToBorrow` to address #194
* Small gas optimizations like removing redundant getters and evaluating some expressions at compile time
In this PR:
* Small fixes in `calcBorrowRate` and `availableToBorrow` to address #194
* Small gas optimizations like removing redundant getters and evaluating some expressions at compile time
availableToBorrow
returns an amount that would move utilization to exactlyBorrowingMoreThanU2ForbiddenException
because of use of incorrect sign incalcBorrowRate
.The text was updated successfully, but these errors were encountered: