IMPCT Institute
← Course outline
Module 15·Part 3DeFi & Applications

What is DeFi (decentralized finance)?

By Deven Davis·8 min read

DeFi is financial infrastructure built entirely out of smart contracts. No banks. No brokers. No clearinghouses. The most ambitious thing crypto has built — and the part of the on-chain economy that compounds the fastest.

By the end of this module

You will be able to:

  • Define DeFi precisely — not just 'finance on the blockchain' but financial primitives operating without intermediaries.
  • Identify the core categories of DeFi (DEXs, lending, derivatives, stablecoins, oracles) and how they fit together.
  • Explain composability — why every DeFi protocol can use every other one, and why that compounds.
  • Apply the 'where is trust required' test to evaluate any DeFi protocol you encounter.
What is DeFi (decentralized finance)?

Module Overview

DeFi is what the rest of Part 3 actually covers in detail. Getting the umbrella concept right is the prerequisite for the seven specific protocols and patterns we will walk through over the next six modules.

  • DeFi (decentralized finance) is financial infrastructure built out of smart contracts that runs without intermediaries — no banks, no brokers, no clearinghouses.
  • The core categories: decentralized exchanges (Uniswap, Curve), lending (Aave, Compound), stablecoins (USDC, DAI), oracles (Chainlink), derivatives (Synthetix, dYdX).
  • Composability is the moat — any DeFi protocol can call any other, so new applications inherit decades of working primitives instantly.
  • DeFi total value locked (TVL) peaked above $200B in 2021, collapsed in 2022, and rebuilt to over $150B by 2026 — the protocols that survived are now more battle-tested than most traditional finance infrastructure.
  • The 2022 DeFi survival test was definitive: while centralized lenders (Celsius, Voyager, BlockFi) failed, the major DeFi protocols (Aave, Maker, Uniswap) kept operating without missing a transaction.

Key Terms

The vocabulary this module unlocks. Skim before you read.

DeFi (Decentralized Finance)
Financial services implemented as smart contracts rather than as company-run businesses.
TVL (Total Value Locked)
The total dollar value of assets deposited into a DeFi protocol or across the DeFi ecosystem. The most-used headline metric for DeFi.
Permissionless
Describes a protocol that anyone can interact with without applying for access or being approved.
Composability
The property that lets DeFi protocols use each other as building blocks. "Money legos."
Flash loan
A loan that exists for a single transaction. Borrow without collateral, use the funds, repay (plus fees) all before the transaction ends. If you can't repay, the entire transaction reverts.

The lineage before 2008

  1. Dec 2017

    MakerDAO launches

    First production DeFi protocol. Single-collateral DAI minted against ETH.

  2. Sep 2018

    Compound v1 ships

    First major pooled lending protocol. Algorithmic interest rates based on utilization.

  3. Nov 2018

    Uniswap v1 launches

    Automated Market Maker model arrives. Permissionless trading without order books.

  4. Jan 2020

    Aave launches

    Flash loans + multi-collateral lending. Pushes the lending category forward.

  5. Jun 2020

    DeFi Summer begins

    Compound launches COMP. Yield farming triggers a 100x+ growth in TVL over six months.

  6. May 2022

    Terra/UST collapse

    Algorithmic stablecoin failure triggers contagion. 3AC, Celsius, Voyager, BlockFi all fall within months.

  7. Nov 2022

    FTX collapses — DeFi survives

    Centralized custodial businesses fail catastrophically. Aave, Compound, MakerDAO, Uniswap keep running without missing a transaction.

  8. 2024+

    Survivor era

    DeFi TVL rebuilds. Protocols that survived 2022 are now more battle-tested than most traditional finance infrastructure.

What we actually mean by DeFi

DeFi is one of the most-overused terms in crypto. To be useful, it needs a precise definition.

DeFi is financial infrastructure built out of smart contracts that operates without intermediaries. Not "any financial service that uses crypto." Not "anything innovative happening on chain." DeFi specifically refers to financial primitives — lending, trading, derivatives, stablecoins — built entirely as smart contracts, with no central party operating them.

Coinbase is not DeFi. Coinbase is a company that uses crypto. You deposit money, they hold it, they let you trade. That is centralized finance with a crypto wrapper. We covered the structural difference in Module 10.

Uniswap is DeFi. Uniswap is a set of smart contracts that anyone can interact with. You connect your wallet, you trade, the contract executes. No company is operating the trades. No company custodies your funds during the trade. The contract is the entire service.

Lending on Aave is DeFi. Borrowing through Compound is DeFi. Minting DAI through MakerDAO is DeFi. Trading on Curve is DeFi. Earning yield on staked ETH through Lido is DeFi.

Sending Bitcoin to a friend is not DeFi. That is just using a public blockchain. DeFi is specifically about financial primitives that previously required intermediaries and now run on smart contracts.

The core categories

DeFi covers roughly five main categories, and they fit together in specific ways.

Decentralized exchanges (DEXs). Smart contracts that let users swap one token for another without an intermediary. The dominant pattern is the Automated Market Maker, pioneered by Uniswap in 2018. Curve specializes in stablecoins. 1inch and Matcha are aggregators that route trades across multiple DEXs for the best price. We covered the architecture in Module 10; Module 17 goes deeper on the mechanics.

Lending protocols. Smart contracts that let users deposit crypto to earn interest, or borrow crypto by posting over-collateral. Aave is the largest. Compound is the pioneer. MakerDAO operates a different model where you mint the DAI stablecoin by depositing crypto collateral. Module 16 covers these in detail.

Stablecoins. Tokens that maintain a stable peg to a fiat currency. We covered the three categories in Module 9. USDC and USDT are fiat-backed; DAI is crypto-backed; algorithmic stablecoins (Terra/UST) collapsed and remain structurally suspicious. Stablecoins are the medium of exchange that the rest of DeFi runs on.

Oracles. Smart contracts that bring real-world data on chain. Without oracles, smart contracts cannot know the current price of ETH or USD — they live inside the blockchain and cannot see out. Chainlink is the dominant oracle network. Module 19 covers oracles in depth.

Derivatives and structured products. Smart contracts that create synthetic exposure, options, perpetual futures, and other financial instruments. Synthetix, dYdX, and GMX are major examples. These layer on top of the more foundational categories.

Each category has multiple competing protocols. The major ones in each category have years of operational history and meaningful capital deployed. The smaller ones often have higher headline yields but much higher risk.

Composability — the moat

The single most important structural feature of DeFi is composability. Every smart contract on Ethereum (and other EVM chains) can read from and call any other smart contract. A new protocol can use the existing infrastructure of every previous protocol without asking permission.

A new lending protocol can use Chainlink for prices, USDC as the stablecoin, Uniswap for liquidations. A new yield aggregator can deposit into Aave, Compound, and Morpho simultaneously and rebalance based on rates. A new options protocol can use existing AMMs for hedging.

The cumulative effect is that DeFi infrastructure compounds in ways traditional finance cannot. In traditional finance, every integration requires legal contracts, API access agreements, and operational onboarding. In DeFi, integration is a code-level call. The marginal cost of trying a new idea is low because every previous primitive is already public.

The popular shorthand is "money legos." Every primitive built on Ethereum becomes a building block for the next one.

This compounding is what produced the cumulative growth of DeFi from millions of dollars in 2019 to over $200 billion in 2021. Each new protocol made it easier and cheaper to build the next one.

The 2022 survival test

The DeFi category went through its first real stress test in 2022, and the result was definitive.

Three centralized crypto lenders failed in cascade: Celsius (June), Voyager (July), BlockFi (November). FTX collapsed in November. Terra/Luna and the algorithmic stablecoin UST collapsed in May. Roughly $200B in market cap was wiped out across the crypto economy.

Through all of this, the major DeFi protocols kept operating without missing a transaction. Aave kept processing loans. Compound kept calculating interest. MakerDAO kept handling DAI mints and liquidations. Uniswap kept executing swaps. The smart contracts simply did what they were programmed to do, with no operator to fail and no balance sheet to mismanage.

This was not a coincidence. It was the structural payoff of designing financial infrastructure without intermediaries. The 2022 failures were all centralized businesses making bad decisions with customer funds — rehypothecating, over-lending, lying about reserves. DeFi protocols cannot do those things because they have no human discretion. The contracts execute as written, or they do not execute at all.

The lesson from 2022 was not that crypto is broken. It was that the intermediary layer of crypto — exchanges, lenders, custodial yield platforms — is subject to the same failure modes as any unregulated financial business. The protocol layer underneath, the actual DeFi, kept doing what it was built to do.

This is the contrast worth remembering as we go deeper into specific DeFi mechanics in the next six modules. The protocols are the durable layer. The companies built on top of them are not.

What DeFi cannot do

The DeFi model has clear limits and pretending otherwise is misleading.

DeFi cannot, on its own, connect to fiat. You need a centralized exchange or onramp service to convert dollars to crypto. Once you are on chain, DeFi handles everything else.

DeFi cannot reverse mistakes. Sending tokens to the wrong address, approving a malicious contract, signing the wrong transaction — there is no customer service to call. The contracts execute as written.

DeFi cannot replace regulated financial products that require regulatory standing. You cannot get a mortgage from a DeFi protocol. You cannot file SEC-required disclosures through a smart contract. Anything that requires institutional reporting, KYC at the protocol level, or compliance with specific national financial laws cannot happen purely in DeFi.

DeFi cannot resolve disputes through human judgment. The code is the law. If the code does something unintended, it does that thing anyway.

These limits are real, and they are why DeFi remains a complement to the traditional financial system rather than a wholesale replacement. The categories where DeFi excels — permissionless trading, transparent lending, programmable money — are real. The categories where it cannot operate are also real.

The practical takeaway

DeFi is the most ambitious thing crypto has built. It is the part of the on-chain economy that compounds the fastest because composability lets new protocols inherit decades of working primitives instantly. It is also the part that has the cleanest operational track record — the major protocols have processed hundreds of billions of dollars without the kind of catastrophic failures that defined the centralized crypto businesses of 2022.

For users, the practical implications are: stablecoins for on-chain dollars, AMMs for token swaps, lending protocols for yield on holdings, oracles invisibly providing the price data that all of it depends on. The next six modules of Part 3 walk through each layer in detail.

The next module looks at the largest single category of DeFi: lending. How borrowing against crypto collateral actually works, what makes the model durable, and why Aave, Compound, and MakerDAO have been the survivors of every market cycle they have been through.

Key takeaways

Carry these with you

01

DeFi is not a single product. It is a category of permissionless financial primitives that can be composed into nearly anything traditional finance can do — and some things it cannot.

02

Composability is what makes DeFi compound. A new lending protocol can use an existing oracle, an existing stablecoin, an existing exchange — building on what already works.

03

The 2022 failures were of CeFi, not DeFi. Knowing the structural difference protects you from confusing the categories the next time something breaks.

04

The question for every protocol is the same one from Module 1: where is trust required, and what happens if that trust is misplaced?

What you should now be able to do

  1. 01.Define DeFi precisely — not just 'finance on the blockchain' but financial primitives operating without intermediaries.
  2. 02.Identify the core categories of DeFi (DEXs, lending, derivatives, stablecoins, oracles) and how they fit together.
  3. 03.Explain composability — why every DeFi protocol can use every other one, and why that compounds.
  4. 04.Apply the 'where is trust required' test to evaluate any DeFi protocol you encounter.

Module quiz

Test what you learned

Pick an answer, see the result immediately, and check your reasoning against the explanation. The questions are tied directly to the outcomes promised at the top of this module.

  1. Question 1 of 6

    What is DeFi?

  2. Question 2 of 6

    Which of these is NOT a core DeFi category?

  3. Question 3 of 6

    What does 'composability' mean in DeFi?

  4. Question 4 of 6

    What happened to DeFi during the 2022 crypto crashes?

  5. Question 5 of 6

    Why is DeFi described as 'permissionless'?

  6. Question 6 of 6

    What is TVL (Total Value Locked)?

Read deeper

Curated readings for Module 15

Up next

Module 16 · Beginner · 9 min

Lending and borrowing on chain

Back to Module 14 · Part 2 recap — the ecosystem, decoded

Preview reader

You are reading a private preview of IMPCT Institute. If something landed, didn't land, or felt confusing on this lesson, tell us. Short notes are useful. Long notes are useful. No notes are also fine.

Send feedback on Module 15Opens your email with a short template prefilled.