Wiki/Keepers and Auctions in the DAI Liquidation System
Keepers and Auctions in the DAI Liquidation System - Biturai Wiki Knowledge
ADVANCED | BITURAI KNOWLEDGE

Keepers and Auctions in the DAI Liquidation System

The DAI stablecoin relies on a sophisticated liquidation system to maintain its peg, involving automated actors known as Keepers and a series of auctions. This mechanism ensures that undercollateralized loans are swiftly addressed,

Biturai Knowledge
Biturai Knowledge
Research library
Updated: 6/28/2026
Technically checked

Structure, readability, internal linking, and SEO metadata were automatically checked. This article is continuously updated and is educational content, not financial advice.

Definition

In the realm of decentralized finance (DeFi), liquidation refers to the forced closure of a collateralized loan position when the value of the collateral falls below a predefined threshold. This process is fundamental to the stability of lending protocols, preventing systemic risk by ensuring that outstanding debts remain adequately backed. Within the MakerDAO ecosystem, which issues the decentralized stablecoin DAI, this concept is meticulously implemented through a system involving specialized participants called Keepers and a series of auctions.

Liquidation in MakerDAO: The automated process by which a Vault (formerly known as a Collateralized Debt Position or CDP) is closed, its collateral seized, and sold to cover the outstanding DAI debt, plus a liquidation penalty, when its collateralization ratio falls below a minimum threshold.

Keepers are autonomous agents, often bots, that constantly monitor the blockchain for Vaults that have become undercollateralized. Their role is to identify these vulnerable positions and initiate the liquidation process, acting as a decentralized enforcement mechanism. Once a liquidation is triggered, the system moves into an auction phase, designed to efficiently sell the seized collateral and repay the system's outstanding debt, thereby maintaining the solvency and stability of DAI.

Key Takeaway

The stability of the DAI stablecoin is fundamentally underpinned by its robust liquidation system, which employs Keepers to identify and trigger the closure of undercollateralized Vaults, followed by a series of auctions to efficiently sell the seized collateral and cover the outstanding debt. This decentralized, incentive-driven mechanism is vital for maintaining DAI's peg to the US dollar and ensuring the overall health of the MakerDAO protocol, demonstrating a self-correcting financial architecture.

Mechanics

The MakerDAO liquidation system is a multi-stage process designed to be efficient and resilient. It begins with a user creating a Vault by depositing approved crypto assets, such as Ethereum (ETH) or Wrapped Bitcoin (wBTC), as collateral. In return, the user can generate (borrow) DAI against this collateral. Each Vault has a collateralization ratio, which is the value of the collateral divided by the amount of DAI borrowed. MakerDAO enforces a minimum collateralization ratio, typically 150% or higher, meaning the collateral must always be worth at least 1.5 times the borrowed DAI.

When the market price of the collateral asset drops, or the amount of DAI borrowed increases without additional collateral, the Vault's collateralization ratio can fall below this minimum threshold. This is where Keepers come into play. Keepers are independent, profit-seeking actors who run specialized software to monitor the blockchain for Vaults that are at risk of liquidation. They continuously check the collateralization ratios against real-time oracle price feeds. When a Vault's ratio drops below the liquidation threshold, a Keeper can trigger its liquidation by sending a transaction to the MakerDAO smart contracts. For successfully triggering a liquidation, Keepers are typically compensated with a portion of the liquidation penalty or through arbitrage opportunities in the subsequent auctions.

Once a Vault is liquidated, its collateral is seized by the MakerDAO protocol. The system then initiates a series of auctions to manage this seized collateral and ensure the protocol remains solvent. The primary goal is to sell enough of the seized collateral to cover the outstanding DAI debt, plus a liquidation penalty (a fee charged to the liquidated Vault owner, which helps fund the system's Surplus Buffer). Initially, the system attempts a Debt Auction (also known as a Flap Auction), where Keepers bid DAI to cover the outstanding debt. If there isn't enough DAI to cover the debt, or if the collateral is sold for less than the debt, the system might resort to a Collateral Auction (or Flip Auction), where the seized collateral is sold for DAI. In extreme cases, if the system incurs a deficit, MKR tokens (MakerDAO's governance token) can be minted and sold in a Debt Auction (Flap Auction) to recapitalize the protocol, effectively diluting existing MKR holders. Conversely, if the system generates a surplus from liquidations and stability fees, this surplus is used to buy back and burn MKR tokens, benefiting MKR holders.

Trading Relevance

The DAI liquidation system holds significant trading relevance for various market participants, extending beyond just those directly borrowing DAI. For users who have opened Vaults, understanding their liquidation price is paramount. Traders often use sophisticated tools and strategies to monitor their collateralization ratios, setting alerts or employing automated deleveraging mechanisms to avoid liquidation. A forced liquidation not only results in the loss of collateral but also incurs a penalty, making it a costly event that directly impacts a trader's capital efficiency and overall portfolio performance.

For professional traders and specialized entities, the liquidation system presents opportunities. Keepers are essentially arbitrageurs who profit by being the first to identify and liquidate undercollateralized Vaults. They compete in a highly technical environment, optimizing their transaction speeds and gas fees to ensure their liquidation transactions are processed ahead of others. Furthermore, the subsequent collateral auctions can be attractive to traders looking to acquire assets at potentially discounted prices. These auctions operate on a Dutch auction model, where the price of the collateral gradually decreases until a bid is accepted, or an English auction model, where bidders compete to offer the most DAI for the collateral. Participating in these auctions requires deep market understanding, technical expertise, and often, significant capital to capitalize on the price discrepancies and system incentives.

Risks

The DAI liquidation system, while robust, is not without its risks, impacting both individual users and the broader protocol. For Vault owners, the primary risk is liquidation itself. A sudden and sharp drop in the collateral asset's price can quickly push a Vault below its minimum collateralization ratio, leading to the seizure of collateral and the imposition of a liquidation penalty. This can result in significant capital loss, especially if the market downturn is severe and rapid, leaving little time for the user to add more collateral or repay their DAI debt. The psychological impact of losing collateral can also be substantial, leading to panic selling or poor decision-making.

From a systemic perspective, oracle failures or manipulation pose a critical risk. MakerDAO relies on decentralized oracles to provide accurate, real-time price feeds for collateral assets. If these oracles are compromised or provide incorrect data, healthy Vaults could be erroneously liquidated, or undercollateralized Vaults could remain undetected, jeopardizing the protocol's solvency. Another significant risk is market volatility, particularly during extreme events. A rapid, large-scale market crash, often referred to as a 'Black Thursday' event, can lead to a cascade of liquidations. If the volume of liquidations overwhelms the system's capacity, or if network congestion and high gas fees prevent Keepers from participating effectively in auctions, it can lead to a 'debt tower' scenario. In such a situation, the seized collateral might not be sufficient to cover the outstanding debts, forcing the protocol to mint and sell new MKR tokens to recapitalize. This dilution of MKR holders can erode confidence in the system and its long-term stability.

History and Examples

The history of the MakerDAO liquidation system is closely intertwined with the development of the DAI stablecoin and the broader DeFi landscape. Initially, MakerDAO launched with Single-Collateral DAI (SAI), which was solely backed by ETH. The liquidation system was a core component from the outset, ensuring SAI's stability. With the introduction of Multi-Collateral DAI (DAI) in 2019, the system became more complex and robust, as it now had to manage a variety of collateral types, each with its own risk parameters and liquidation thresholds.

A prominent example of the system's resilience and challenges is the 'Black Thursday' event on March 12, 2020. On this day, the crypto market experienced an unprecedented crash, with the price of Ethereum falling by over 50% within a few hours. This triggered a massive wave of liquidations within the MakerDAO protocol. The extremely high network congestion on Ethereum and the associated skyrocketing gas fees meant that many Keepers were unable to execute their liquidation transactions in a timely or cost-effective manner. Some auctions even concluded with bids of 0 DAI, as no Keepers were willing to pay the exorbitant gas fees to participate. This resulted in a significant protocol deficit, as the seized collateral was insufficient to cover the outstanding DAI debts. In response, MakerDAO had to mint and sell MKR tokens in a debt auction to cover the deficit. This event was a critical test for the system and led to important improvements, including the introduction of 'Liquidation 2.0' auctions with optimized parameters and the diversification of collateral to reduce reliance on a single asset and enhance resilience against extreme market conditions.

Common Misunderstandings

A widespread misconception regarding the DAI liquidation system is that a liquidation signifies the total loss of all funds for the borrower. This is incorrect. A liquidation specifically affects the collateral deposited in the Vault and the associated DAI debt. The borrower loses the seized collateral and must pay a liquidation penalty, but other assets outside the Vault remain untouched. The system is designed to sell only as much collateral as necessary to cover the debt and the penalty. Any remaining collateral is returned to the original Vault owner, although in practice, due to penalties and auction dynamics, this often represents only a small residual value.

Another misunderstanding concerns the role of Keepers. Many mistakenly view Keepers as malicious actors aiming to harm borrowers. In reality, Keepers are an essential component of system stability. Their profit-driven activity of liquidating undercollateralized Vaults is the mechanism that ensures the protocol remains solvent and the DAI peg is maintained. Without Keepers, there would be no decentralized enforcement of collateralization rules, which could lead to a collapse of the entire system. They act as decentralized guardians, motivated by economic incentives to protect the integrity of the MakerDAO protocol. Furthermore, it is often assumed that DAI is backed 1:1 by USD, similar to centralized stablecoins. However, DAI is overcollateralized by a variety of crypto assets, not by fiat currencies held in a bank account. The liquidation mechanisms are precisely designed to dynamically maintain this overcollateralization and ensure the stability of DAI's value.

Summary

The DAI liquidation system, consisting of Keepers and a complex auction mechanism, is a cornerstone of the stability of the MakerDAO protocol and the DAI stablecoin. Keepers are automated actors who tirelessly monitor the blockchain to identify undercollateralized Vaults and trigger their liquidation. This proactive monitoring is essential to ensure the system's solvency and maintain the overcollateralization of DAI debts. The subsequent auctions – debt auctions and collateral auctions – serve to efficiently realize the seized collateral and cover outstanding DAI debts, thereby recapitalizing the protocol and protecting DAI's peg to the US dollar. While the system carries risks for Vault owners, particularly the loss of collateral and liquidation penalties, it is an indispensable mechanism that underpins the decentralized nature and resilience of DAI in a volatile crypto market. Understanding these mechanisms is fundamental for anyone interacting with DAI or navigating the DeFi ecosystem.

OKX · Official Biturai Partner

Trade smarter with OKX.

Access spot and derivatives markets, automate strategies with trading bots, use advanced order tools, and verify 1:1 reserves every month.

  • Spot and derivatives markets
  • Trading bots and advanced orders
  • 1:1 reserves with monthly Proof of Reserves
  • Account protection and 24/7 monitoring
Open your OKX account

Partner link · Biturai may receive compensation when it is used · not investment advice

OKX

Disclaimer

This article is for informational purposes only. The content does not constitute financial advice, investment recommendation, or solicitation to buy or sell securities or cryptocurrencies. Biturai assumes no liability for the accuracy, completeness, or timeliness of the information. Investment decisions should always be made based on your own research and considering your personal financial situation.

Transparency

Biturai may use AI-assisted tools to research, structure, or update Wiki articles. Editorially reviewed articles are marked separately; all content remains educational and does not replace your own review.