What happens if a borrower does not repay a loan before it expires?
I assume this type of event is referred to as “Auto Repay” in the documentation (https://docs.tomochain.com/masternode-and-dex/tomox/tomox-p2p-lending), is that right?
If that happens, how exactly is the value of the collateral determined?
Also, will the lender receive some kind of penalty? The potential issue I have in mind is the following: a borrower could borrow a big amoung of USDT with Tomo collateral. If the Auto Repay function uses the spot price of Tomo, the borrower may prefer to keep the USDT since it would be equivalent to a sale withtout slippage (so if I want to sell 100,000 Tomo without slippage, I could borrow USDT with Tomo collateral for a 1-day loan and not reimburse the loan). On the other hand, the lender would then have 100,000 tomo on hands and for sure he will not be able to reconvert to USDT without slippage. Hence, the lender will have to assume a big loss versus the interests earned for a 1-day loan.
This seems like a potential “attack” vector to me depending on how the auto repay function works.
Thank you for the details.