π¦Lending Contract
How does the lending protocol work?
The Lending contract is a key component of the Crunch Network, and it is responsible for several features, including:
Deposit: Users can deposit their cryptocurrency assets into the Lending contract to supply liquidity to the protocol. When a user deposits an asset, they receive cTokens in return, which represent their share of the pool.
Borrow: Users can borrow funds from the protocol by supplying their cryptocurrency assets as collateral. The amount that a user can borrow is determined by their collateral balance and other factors such as interest rates and loan-to-value ratios.
Rates: The Lending contract calculates interest rates based on several factors such as supply and demand for specific assets, market conditions, and risk profiles of borrowers. These interest rates are denominated in Crunch Tokens and are used to incentivize lenders to supply liquidity to the protocol.
Repay: Borrowers can repay their loans at any time by returning the borrowed asset plus interest to the protocol. When a borrower repays their loan, they receive back their collateral minus any fees or penalties.
Loans: The Lending contract manages all aspects of loans, including loan origination, repayment schedules, interest calculations, and liquidation procedures.
Liquidation: If a borrower's collateral value falls below a certain threshold (known as the liquidation ratio), their position is automatically liquidated by the protocol to protect lenders from losses due to market volatility or default risk. The Lending contract handles all aspects of liquidation procedures, including auctioning off collateral assets and distributing proceeds to lenders.
In summary, the lending contract plays a crucial role in managing liquidity on the Crunch Network while also providing users with access to funds through transparent and trustless borrowing mechanisms.
Last updated