Lending Protocol is a component that is used for communication between the users and the pools. It is the place where all of the business logic is stored. It is highly customizable with a built in set of parameters that serve as security measures and as risk management tools.
Lending Protocol is built with users and maintainers in mind, which means that it should be easy to set up, easy to use and with flexible settings so it can follow the changes in the markets.
Most used (and most important) parts of the Lending Protocol are so-called user methods, which serve for the Users interaction with the protocol. Those are:
Deposit: User can deposit an asset to any pool that is open for depositing and can then use that deposit to accrue interest and as collateral for borrowing.
Borrow: User can borrow any asset that is open for borrowing using deposit as collateral.
Withdraw: User can withdraw their deposit as well as accrued interest if it's not locked as collateral for a loan.
Repay: User can repay their loan and accrued interest at any time.
You can find more details about them in the.
As part of the risk management, every user method can be locked by the admins if needed.