Dapp Use Cases
Lending Health Factor
Assert that the health factor of a lending protocol is above a certain threshold
Use Case
Check that the health factor of a position in a lending protocol is above a certain threshold. In this specific example we use Morpho as a lending protocol, but this could be any lending protocol.
Explanation
The health factor is a measure of the riskiness of a position in a lending protocol. It is calculated as the ratio of the total value of the collateral to the total value of the debt.