Closed uint closed 2 years ago
Will rebase in a few.
Math checks out, although I'd still rather have @ethanfrey to confirm this just in case. Because bug here is an original design - maybe there was reason for it.
Did you mean this one? https://github.com/confio/isotonic/pull/109
Yup, having opened two reviews at same time. :man_shrugging:
Closes #56
I pulled out the interest calculation stuff into an immutable
calculate_interest
function. Now it's used for both charging and queries.This PR handles including interest calculations in these queries:
TokenBalance
Configuration
(last_charged
)Reserve
CreditLine
Let me know if I missed something.