Liquidation is the process of selling collateral to cover the amount of Dai a user has generated from their Vault.
    Liquidation helps to ensure that Dai is always backed by an appropriate amount of collateral by closing-out Vaults that are under their minimum required Collateralization Ratio for their given collateral type.
    How Liquidation Works

    A Vault can be liquidated if the value of its collateral falls below the required minimum level, called the Liquidation Ratio.
    To make sure that the required surplus of collateral exists at all times, a class of users called Keepers are incentivized to maintain a constant watch for Vaults that become under-collateralized.
    During the Liquidation process, enough collateral is sold to cover the debt along with a Liquidation Penalty, leaving the remaining collateral available for withdrawal.
    Liquidation Ratio

    The Liquidation Ratio is the minimum required collateralization level for each Vault type before it is considered undercollateralized and subject to liquidation.
    The Maker Protocol’s oracles provide the system with pricing data that is used to track Vaults for when their Liquidation Ratio is breached. Once breached, they are available for Liquidation.
    Each Vault type’s Liquidation Ratio is determined by a combination of the collateral’s risk profile and the Stability Fee. There may be multiple Vault types for each collateral, with varying Liquidation Ratios and Stability Fees.
    The Liquidation Ratio of a Vault is typically displayed on front-ends that offer Vaults.
    To calculate a Liquidation Ratio, simply use the following formula:
    Liquidation Ratio = (Collateral Amount x Collateral Price) ÷ Generated Dai × 100


    For example, a Vault with a 150% Liquidation Ratio will require a minimum $1.50 of collateral value for every $1 of Dai generated.
    If the value of the collateral falls to ≤ \$1.49 it will be Liquidated to cover the generated Dai in addition to a fee called the Liquidation Penalty.
    Liquidation Price

    The Liquidation Price is the price at which a Vault becomes vulnerable to liquidation.
    Vault owners can lower their liquidation price by adding more collateral or returning Dai to the Vault.
    The Liquidation Price of a Vault is typically displayed on front-ends that offer Vaults.
    To calculate a Liquidation Price, simply use the following formula:
    Liquidation Price = (Generated Dai * Liquidation Ratio) / (Amount of Collateral)
    Liquidation Penalty

    A Liquidation Penalty is a fee paid by Vault owners when the value of their collateral reaches the Vault's Liquidation Price.
    The Liquidation Penalty is added to the Vault’s total outstanding generated DAI when liquidation occurs, which results in more collateral being sold at auction.
    Proceeds from Liquidation Penalties are put towards the Surplus Auctions, which result in burned MKR.
    Liquidation Penalties prevent Auction Grinding Attacks, which allow an attacker to break the Maker Protocol's auction mechanism and exploit the Maker Protocol for profit.
    Liquidations 2.0

    Maker updated the Liquidations System, which was approved and executed by Maker governance in April 2021. The importance and benefits of the updated Liquidations system, also known as Liquidations 2.0, is summarized in this Maker Blog Post. For a complete technical overview of the system, read the Liquidations 2.0 Module documentation.