I’m trying to understand how borrowing and lending pools work on platforms like AAVE. If I lend money to the pool and someone borrows that money but I later take my money back, what happens?
Basically what happens when there’s low liquidity (lenders removing liquidity) and there’s outstanding loans??
If every token is lent out you obviously can’t withdraw, you have to wait till someone pays back to gets liquidated.
Given that it’s over collateralized, it can only happen to certain pools and others will have the collateral of that debt