The lending vaults can only lend and borrow assets. When you deposit, you get a vault token, and when you want your money back, you use your vault token into the vault (by clicking "Withdraw on the UI), and it gives you back your assets + your interest yield.
When users borrow, they pay interest. Users borrow for many reasons, detailed here in our docs..
It can take up to 10 days for interest on your loan to “settle”. This is because all loans are 10 day terms, so as the lender, you “accrue” the interest in real time, but the interest only settles when the borrower pays it. The borrower must pay the interest by the end of the 10 days, and they have the option to pay it back sooner, if they want to unwind the loan sooner. Hence, we recommend, if you intend to use the lending vault, to deposit for at least 10 days.
You withdraw from the lending vault by clicking “Withdraw”, which will prompt a window for you to use your wlUSDm tokens to withdraw your USDM. In other words, you give your wlUSDm tokens back to the lending vault, and it gives you your principal + interest payment automatically.