osmosis-labs / isotonic

Smart Contracts for the Lendex Protocol
MIT License
1 stars 0 forks source link

Simulate interest payments when querying balances #56

Closed ethanfrey closed 2 years ago

ethanfrey commented 2 years ago

This is done for users querying, as well as the CA calculating the CreditLine.

We do not update anything. We can just simulate the numbers using the same code we have for charging.