How Do Lending Protocols Specifically Use Oracles to Calculate Collateralization Ratios?
Lending protocols use oracles to obtain the real-time market value of both the collateral asset and the borrowed asset. The collateralization ratio is calculated as (Value of Collateral / Value of Loan).
The oracle's price is critical because if the collateral's value drops below a certain threshold (the liquidation ratio), the protocol's smart contract automatically allows for the collateral to be liquidated to repay the loan.