Interest accrual skipped #668
MerlinEgalite
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
if$totalBorrowAssets * borrowRate.wTaylorCompounded(elapsed) < 1e18$ no interest is accrued.
Some computations:
https://docs.google.com/spreadsheets/d/1NoT_hMJEphm8Mjm-txx5tzpQhw7vGU-GrQXvyI5l2dk/edit?usp=sharing
Let’s take the worst case:
Thus$borrowRate.wTaylorCompounded(elapsed) = 31 715 105$
Then if$totalBorrowAssets < 315 307 716 683$ no interest is accrued.
It means 315 WBTC or 31.5k USDC.
In case elapsed = 12 (ethereum case),$borrowRate.wTaylorCompounded(elapsed) = 389700239$
Then if$totalBorrowAssets < 2566074895$ no interest is accrued.
It means 25.6 WBTC or 2.5k USDC.
Beta Was this translation helpful? Give feedback.
All reactions