Balances
For the V1 protocol, we use multiple ether balances to manage all activities of lenders. For each one of them, we have created a set of balances.
They are involved in loan creation; interests generated tracking; withdrawals handling and another one for idle ethers.
This way we can control the flow of ethers more accurately and generate statistics on a lender basis.
Last updated