Introduction to MakerDAO
Introduction
MakerDAO is a decentralized autonomous organization managing and issuing the stablecoin DAI, which is designed to maintain a 1:1 peg with the US Dollar.
Update (November 2026). MakerDAO has been renamed Sky. The same core contracts still issue DAI, and since September 2024 they also issue USDS, a 1:1 successor token. A new section, Versions, from Sai to Sky, lists what each version of the protocol introduced and describes the current mainnet configuration. Statements in the rest of the article now say which version they refer to.
Dai principle
Unlike traditional fiat-backed stablecoins that rely on a centralized entity to hold reserves, Dai is generated through a process called collateralized debt positions (CDPs). Users lock up collateral, typically in the form of Ethereum (ETH), in a smart contract, and in return, they receive Dai. This process ensures that Dai is always backed by collateral, maintaining its stability.
Since the Peg Stability Module (2020), part of the DAI supply is minted against USDC deposited at a 1:1 rate rather than against volatile collateral, so DAI is also partly backed by a centralised stablecoin.
General concept
Collateralized Debt Positions (CDPs)
CDPs are at the core of MakerDAO’s operation. When a user wants to generate Dai, they create a CDP by locking up a certain amount of collateral. The collateral is held in a smart contract, and based on the value of the collateral, a user can generate a specific amount of Dai. This mechanism allows users to access liquidity without having to sell their assets, providing a decentralized alternative to traditional lending platforms.
In Multi-Collateral DAI a CDP is called a vault: an urn of a collateral type (ilk) in the Vat. Its debt is art · rate (normalised debt times the fee accumulator of the ilk), and it is safe while art · rate ≤ ink · spot, where ink is the locked collateral and spot the collateral price divided by the liquidation ratio mat.
Vaults and Stability Fee
The collateral held in CDPs is stored in MakerDAO’s Vaults.
For the old Single-Collateral Dai version, the mechanism can be described thus
The stability of Dai is maintained by adjusting the stability fee, an interest rate charged on the generated Dai. If the value of the collateral falls, the stability fee is increased, encouraging users to close their CDPs and reduce the circulating supply of Dai. This dynamic system helps to stabilize Dai and ensures that it remains pegged to the US Dollar.
For the new version which introduces the MCD system, you can read the documentation on maker DAO
In Multi-Collateral DAI the fee is set per collateral type. The Jug contract holds a per-second rate duty for each ilk plus a global base; anyone can call drip(ilk), which multiplies the ilk’s rate and credits the accrued fee to the Vow (the system’s balance sheet) as surplus. On mainnet, the rates of many ilks are now moved by a rate-setter module (SP-BEAM) within bounds set by governance, rather than by each executive spell.
Reference: stability fee
Governance and MKR Token
MakerDAO operates as a decentralized autonomous organization (DAO): protocol parameters are set by token holder vote rather than by a company. Voting runs through the MKR token, the native governance token of the platform. MKR holders have the power to vote on proposals that impact the protocol, such as changes to the stability fee, adding new collateral types, or modifying the parameters of the system.
Since the Sky upgrade, the governance token is SKY, and the MKR_SKY contract converts MKR into SKY. Token holders vote in the Chief; the winning proposal, an executive spell, waits behind a pause delay (48 hours in the current configuration) before it runs with the authority of the pause proxy, which holds the admin rights on every core contract.
Versions, from Sai to Sky
The protocol has been upgraded in steps. The table below gives, for each step, what it introduced and the source used for the date. Dates come from the tags of the dss repository and from the dated folders of the executive spells archived in spells-mainnet; a spell date is the date of the executive vote, not always the date the code was deployed.

| Version | Date (source) | What it introduced |
|---|---|---|
| Single-Collateral DAI (Sai) | 2017 (general knowledge, code not reviewed) | One collateral (ETH), one CDP contract, the SAI token, a global settlement |
Multi-Collateral DAI (dss 1.0) |
tag 1.0.0 dated 2019-11-07, launch spell 2019-11-18 |
Vat accounting for several collateral types, Jug fees, Pot (DAI Savings Rate), Spot, Vow; liquidations by Cat + Flip English auctions; surplus auctions (Flap) and debt auctions (Flop); Emergency Shutdown (End) |
| Peg Stability Module | spell 2020-12-20 | PSM-USDC-A: swap USDC and DAI at 1:1, with a fee in (tin) and out (tout) |
| Liquidations 2.0 | dss commit “Liq 2.0” 2021-04-02, tag 1.3.0 2021-04-19; first spell 2021-04-19 (LINK-A) |
Dog + Clipper Dutch auctions, partial liquidations, limits hole/Hole, keeper incentives tip/chip, circuit breaker |
| Cure | dss commit 2022-05-18 |
Lets shutdown subtract DAI that is pre-minted but not in circulation |
| LitePSM | DAO resolution spell 2024-07-04, onboarding spell 2024-07-25 | A cheaper PSM over a pool of pre-minted DAI; the old PSM is migrated to it in phases (phase 3 in the 2024-10-04 spell) |
| Sky (Endgame) | spell 2024-09-13 | USDS, sUSDS (initial savings rate 6.25 %), the DAI ⇄ USDS converter, the SKY token and the MKR → SKY converter, the surplus Splitter |
| New surplus path | spells 2024-09-27 and 2025-10-30 | FlapperUniV2SwapOnly (surplus buys SKY on Uniswap V2), then the Kicker |
Single-Collateral DAI (Sai)
The first version, launched in December 2017 (general knowledge), accepted only ETH as collateral and issued what is now called SAI. Its contracts are not part of the local sources used for this update, so this article does not describe its internals beyond the stability-fee paragraph above. After the Multi-Collateral launch, SAI holders could migrate to DAI (general knowledge).
Multi-Collateral DAI (dss, 2019)
The dss repository (“DAI Stablecoin System”) is the core still in use. Its 1.0.0 tag holds vat.sol, jug.sol, pot.sol, spot.sol, cat.sol, flip.sol, flap.sol, flop.sol, vow.sol, end.sol, join.sol and dai.sol. The main changes compared with Sai:
- Several collateral types, each an
ilkwith its own liquidation ratio, fee, debt ceiling and minimum debt (dust), all accounted for in one contract, theVat. - DAI Savings Rate (
Pot): DAI deposited earns a rate paid by minting unbacked DAI against the Vow. - Liquidations by English auction.
Cat.biteseized an unsafe vault and started aFlipperauction in two phases: bidders first raised the DAI bid (tend) until the debt plus penalty was covered, then lowered the amount of collateral they accepted (dent). The code defaults are a 5 % minimum bid step, 3 hours per bid and 2 days at most per auction. - Surplus and debt auctions. The
Vowsold surplus DAI for MKR, which was burned (Flap), and covered bad debt by minting and selling MKR (Flop). After the March 2020 crash (“Black Thursday”, general knowledge), debt auctions minted MKR to cover the shortfall left by liquidation auctions that cleared at zero bid. - Emergency Shutdown.
Endfreezes the system and lets DAI holders redeem a fixed basket of collateral. The Emergency Shutdown Module (ESM), whose source is not indss, let MKR holders trigger it without a governance vote by depositing a threshold of MKR. This comes from general knowledge, although the spells of 2024 still set this threshold in MKR.
Peg Stability Module (2020)
The PSM, onboarded by the 2020-12-20 spell as the PSM-USDC-A collateral type, mints DAI against USDC at 1:1 (minus the fee tin) and gives USDC back for DAI (plus tout). The ilk has a 100 % ratio and no liquidation. It gives DAI a direct exit to USDC, but it also makes a large part of DAI depend on USDC.
Liquidations 2.0 (2021)
Liquidations 2.0 replaces Cat and Flipper with Dog and Clipper:
Dog.barkstarts a liquidation, possibly partial when the per-ilk (hole) or global (Hole) limit on DAI being raised binds.- The
Clippersells the collateral in a Dutch auction: the price starts above market (top = price · buf) and falls over time along one of the curves ofabaci.sol: linear, stair-step exponential or continuous exponential. The first buyer at an acceptable price takes the lot at once withtake; no bidding rounds. takesends the collateral before payment and can call the buyer back throughclipperCall, so a keeper can sell the collateral in the same transaction without holding DAI. This is a flash liquidation.- The keeper who starts an auction gets an incentive
tip + chip · tab, minted against the Vow. redorestarts an auction that ran too long (tail) or fell too far (cusp), andCLIPPER_MOMcan stop auctions without the pause delay.
The same 2021-04-19 spell deployed a new End and a new ESM wired to the Dog.
LitePSM (2024)
The DssLitePsm swaps USDC and DAI out of a pool of pre-minted DAI in two ERC-20 transfers, instead of touching the Vat on each swap. The USDC sits in a separate pocket; permissionless keepers call fill to mint more DAI into the pool, trim to burn excess DAI and chug to send fees to the Vow. DssLitePsmMom can halt either direction without the pause delay. Its README states that it assumes Emergency Shutdown can never be called.
Sky and USDS (2024)
The 2024-09-13 spell initialised the Endgame contracts:
- USDS, an ERC-20 behind a UUPS proxy, with its own join contract
UsdsJoin. Like DAI, it is a claim on the internal DAI balance of the Vat. - DaiUsds, a permissionless 1:1 converter in both directions. Converting does not change the system’s total debt.
- sUSDS, an ERC-4626 savings token paid the Sky Savings Rate (SSR), the USDS counterpart of the DSR.
- SKY, the new governance token, with the
MKR_SKYconverter. - The surplus Splitter, which sends part of the surplus to a SKY farm.
Current mainnet configuration (November 2026)
From the test configuration of spells-mainnet at commit 1f04284 (2026-11-09), which asserts the state after the 2026-11-05 spell:
| Parameter | Value | Effect |
|---|---|---|
vow_sump / vow_dump |
max / 0 | Debt auctions are off: bad debt is no longer covered by minting the governance token, only by the surplus buffer or a governance decision |
vow_hump / vow_bump |
max / 0 | The Vow’s own surplus auction (flap) is off |
Kicker khump / kbump |
-200 M USDS / 10,000 USDS | Surplus leaves through the Kicker into the Splitter and FlapperUniV2SwapOnly, which buys SKY on Uniswap V2 (flap_want 98 %) |
esm_min |
max | The ESM cannot be triggered by token holders: shutdown is reachable only by governance through End.cage |
pause_delay |
48 hours | Reaction window before a spell runs |
| DSR / SSR | set by SP-BEAM within 0-30 % / 2-30 % | Savings rates move without a full spell |
ETH-A / ETH-B / ETH-C mat |
145 % / 130 % / 170 % | Liquidation ratios of the ETH vault types |
The ESM threshold was raised in steps, to 300,000 MKR in the 2024-07-25 spell and to 500,000 MKR in the 2024-11-28 spell, before reaching its current maximum; the spell that set the maximum, and the ones that switched the Vow auctions off, were not identified in the sources used here. The 2026-11-05 spell also offboarded the GUSD and USDP PSMs.
Liquidation example
Example with ETH = $3,000 and a collateral ratio required of 1.5
1) Deposit 1 ETH into Maker 1) Borrow 1,000 DAI
Collateral ratio = 3’000 / 1’000 = 3
- Price of Ether drops to $1,400
- Collateral ratio drops to 1.4 due to 1,400 / 1,000 = 1.4 < 1.5
- Take my 1 ETH and auction it off (Dutch auction since Liquidations 2.0, English auction before)
- Raise enough DAI to pay back my borrow + liquidation fee
- Leftover collateral sent back to me, the owner of the liquidated position
The price used is the delayed price of the oracle security module (OSM), so in a fast crash a vault can fall under water before it can be liquidated. With Liquidations 2.0 the penalty is chop (13 % for ETH-A) and the auction can be partial when the liquidation limits are reached.
Reference: owen Thurm - How Does DAI & Maker DAO Work? - DeFi 101
Smart contracts
List of the main smart contracts
| Contract | Description |
|---|---|
| Collateral Module | The collateral module is deployed for every new collateral type added to Vat. It contains all the adapters and auction contracts for one specific collateral type. |
| Core Module | Contains the entire state of the Maker Protocol and controls the central mechanisms of the system while it is in the expected normal state of operation. One of its primary components is the Vat contract. The core Vault, Dai, and collateral state is kept in the Vat. |
| Dai Module | Contains the DAI token contract and all its key functionalities. |
| Emergency Shutdown Module | It has the ability to trigger the Shutdown of the Maker Protocol. On mainnet its threshold is now set to the maximum, so in practice only governance can trigger a shutdown. |
| Flash Module | Allows anyone to mint Dai up to a limit set by Maker Governance with the one condition that they pay it all back in the same transaction with a fee. It is very similar to the concept of flashloan |
| Governance Module | Contains the contracts that facilitate MKR voting, proposal execution, and voting security of the Maker Protocol. SKY has replaced MKR as the voting token. |
| MKR Module | Contains the MKR token, which is an ERC20 token that provides a standard ERC20 token interface. It also contains logic for burning and authorized minting of MKR. |
| Oracle Module | An oracle module is deployed for each collateral type, feeding it the price data for a corresponding collateral type to the Vat. |
| Proxy Module | Contains contract interfaces, proxies, and aliases to functions necessary for both DSR and Vault management and Maker governance. |
| Peg Stability Module (PSM) | Enables quick swapping of DAI with other stablecoins at a rate of 1:1 by creating a pooled collateralized-debt position with 100% collateralization ratio and 0% stability fees. The USDC PSM now runs on the LitePSM (DssLitePsm). |
| Rates Module | Accumulates stability fees on Vault debt balances, as well as interest on Dai Savings Rate (DSR) deposits. |
| Shutdown | Stops and gracefully settles the Maker Protocol while ensuring that all users, both Dai holders and Vault holders, receive the net value of assets they are entitled to. |
| System Stabilizer Module | Corrects the system when the value of the collateral backing Dai drops below the liquidation level (determined by governance) when the stability of the system is at risk. Its debt auctions and the Vow’s surplus auctions are switched off in the current configuration. |
| USDS, DaiUsds, sUSDS | The Sky tokens: USDS (1:1 successor of DAI), the DAI ⇄ USDS converter and the sUSDS savings token. |
Secondary contracts
| Contract | Module | Description |
|---|---|---|
| Vat | CoreModule | The Vat is the core Vault engine of dss. It stores Vaults and tracks all the associated Dai and Collateral balances. It also defines the rules by which Vaults and balances can be manipulated.The contract Vat is included in the Core Module contract |
| Spot | CoreModule | The Spot liaison between the oracles and the core contracts. It functions as an interface contract and only stores the current ilk list. A ilk is a given collateral type |
| Dog | Liquidation (2.0) | Starts liquidations (bark) and enforces the limits on DAI being raised (hole, Hole). Replaced Cat in 2021. |
| Clipper | Liquidation (2.0) | One per collateral type: the Dutch auction (kick, take, redo). Replaced Flipper in 2021. |
| Vow | System Stabilizer | Balance sheet: surplus (dai) against bad debt (sin), the debt queue and the auction triggers. |
Reference: makerDAO - Maker Protocol smart contract system
Vocabulary
| Term | Short | Definition |
|---|---|---|
| Risk Parameters | system variables | system variables adjusted through MKR governance to control various types of risk. Important parameters for each collateral type:Stability fee , Debt ceiling and Liquidation ratio |
| ilk | collateral type | each has its own set of risk parameters |
| urn | vault | an ethereum address can control one urn per collateral type |
| gem | unlocked collateral | gem is collateral that is not yet locked in a Vault but still recorded in the system |
| sin | system debt unit | a debt balance that is tracked during liquidation process |
| dai | stablecoin | a good debt token |
| chop | liquidation penalty | added to the debt of a liquidated vault (Liquidations 2.0) |
| spell | executive proposal | a contract that changes parameters once voted and after the pause delay |
Reference: Maker Protocol 101
Risks and Challenges
MakerDao faces different challenges:
- Its reliance on Ethereum as the underlying blockchain exposes MakerDAO to network congestion and scalability issues.
- Additionally, the stability of Dai is contingent on the collateral backing it, and extreme market volatility can pose risks to the system.
- USDC dependence. Through the PSM and then the LitePSM, a large share of DAI and USDS is backed by USDC held in the
pocket. A USDC depeg is absorbed at par, and once the pocket is empty DAI loses its 1:1 exit. - Losses with debt auctions off. An auction that ends with collateral sold out and debt left leaves bad debt in the Vow. With
sumpat its maximum, no debt auction mints the governance token, so only the surplus buffer or a governance action absorbs it. - Governance as the only shutdown path. With the ESM disabled, a majority of SKY votes controls the system, and the 48-hour pause is the only window to react. The “Mom” contracts (oracle, Clipper, debt ceiling, PSM) let governance act without that delay.
- Upgradeable tokens. USDS and sUSDS are UUPS proxies, whereas DAI and the Vat are not upgradeable.
References
-
ChatGPT with the input “Write a short article (about 500-1500) words on MakerDAO. Divide your article in topic with title”
- makerDAO - Maker Protocol smart contract system
- owen Thurm - How Does DAI & Maker DAO Work? - DeFi 101
- Maker Protocol 101
- Maker Protocol Technical Docs
- sky-ecosystem/dss: the Multi-Collateral DAI core (tags
1.0.0to1.3.0, commitfa4f663) - sky-ecosystem/dss-lite-psm: the LitePSM and its README (commit
dbf0022) - sky-ecosystem/usds: USDS,
UsdsJoinandDaiUsds(commitd65551d) - sky-ecosystem/spells-mainnet: the archived executive spells and
src/test/config.sol(commit1f04284) - sky-ecosystem/sky-protocol-info: deployments and source commits of each module
Related articles
- 10 Key Differences Between MakerDAO and Liquity
- How Liquity V1 Works - LUSD, Troves, the Stability Pool, Redemptions and Recovery Mode
- Stablecoins Under MiCA — Asset-Referenced Tokens and E-Money Tokens (Titles III and IV)
- How Frankencoin Works - an Oracle-Free Swiss Franc Stablecoin with Veto Governance and Challenge Auctions