DeFi
Decentralized finance concepts, mechanisms, and protocols
Key Glossary Terms
Essential vocabulary for this topic
AMM
intermediateAn Automated Market Maker (AMM) is a type of decentralized exchange protocol that relies on a mathematical formula to price assets instead of using a traditional order book. In an AMM, assets are pooled into smart contracts, known as liquidity pools, where traders interact with the pool rather than a counterparty. This infrastructure enables continuous liquidity and automated trade execution, removing the need for intermediaries such as market makers or centralized exchanges in the pricing and settlement process.
DeFi
Arbitrage
advancedArbitrage is the practice of capitalizing on price discrepancies of the same asset across different exchanges or liquidity pools. In the context of blockchain, arbitrageurs monitor various DEXs and CEXs, identifying moments where a token’s price on one platform is lower than on another. By buying low on one platform and selling high on another simultaneously, the arbitrageur profits from the spread, while simultaneously helping to unify and stabilize asset prices across the entire ecosystem.
DeFi
Automated Market Maker
intermediateA decentralized exchange mechanism that prices assets using a liquidity pool and mathematical formula instead of a traditional order book.
Borrowing
intermediateBorrowing in DeFi is the process of acquiring capital by providing collateral to a decentralized lending protocol. Users lock crypto assets into a smart contract to receive a loan in another asset. These protocols are typically over-collateralized, meaning the value of the deposited assets must exceed the value of the borrowed loan. This system allows users to leverage their positions or gain liquidity without having to sell their underlying assets.
DeFi
Collateral
intermediateCollateral refers to the assets that a borrower locks into a smart contract to secure a loan within a decentralized lending platform. Because DeFi protocols lack traditional credit scoring systems, they require assets of significant value to be deposited as security. If the borrower fails to meet the repayment terms or if the value of their collateral drops significantly, the protocol triggers a liquidation process to recover the debt and maintain the protocol's solvency.
DeFi
Collateral Factor
advancedA lending-protocol parameter determining how much borrowing power a supplied asset contributes relative to its market value.
Books
Recommended reading
Research Papers
Academic and industry research
SoK: Decentralized Finance (DeFi)
Sam Werner, Daniel Perez, Lewis Gudgeon, Ariah Klages-Mundt, William J. Knottenbelt
This Systematization of Knowledge (SoK) provides a rigorous academic foundation for understanding the burgeoning Decentralized Finance (DeFi) ecosystem. The authors categorize DeFi protocols based on their functional architecture, distinguishing between decentralized exchanges, lending platforms, derivatives, and stablecoins. By analyzing the structural components of these systems—such as automated market makers, collateralized debt positions, and liquidity pools—the paper establishes a taxonomy that clarifies the composition of the DeFi stack. The study highlights the inherent trade-offs between decentralization, capital efficiency, and user experience, while critically examining the systemic risks introduced by composability, such as contagion risk and oracle failure. This work serves as an essential reference for researchers and practitioners, offering a formal framework to evaluate the security, economic incentive structures, and operational mechanics of decentralized financial primitives. By synthesizing the literature and technical designs of the time, the authors clarify how blockchain technology facilitates trustless financial interactions and discuss the challenges of maintaining stability in an open, composable, and permissionless financial environment.
StableSwap - efficient mechanism for Static Coin trading
Michael Egorov
The StableSwap whitepaper introduces a specialized automated market maker (AMM) algorithm designed specifically for assets that maintain stable relative values, such as fiat-pegged stablecoins. Unlike traditional Constant Product Market Makers (like Uniswap's x*y=k) which exhibit high slippage when trading assets with low volatility, StableSwap utilizes a hybrid invariant. This invariant combines the properties of the Constant Product formula and the Constant Sum formula to minimize price impact during large trades between stable assets. The document details the mathematical model behind the 'Amplification Coefficient' (A), a parameter that allows liquidity pools to behave more like a constant sum when assets are in equilibrium, thereby enabling significantly lower slippage compared to existing models. The significance of this paper lies in its contribution to the efficiency of stablecoin liquidity, effectively reducing the cost of arbitrage and enabling more stable pegs across decentralized finance. By optimizing for assets with zero or low volatility, the mechanism set the stage for highly efficient cross-asset trading, which has become a foundational component of modern DeFi liquidity infrastructure.
Flash Boys 2.0: Frontrunning, Transaction Reordering, and Consensus Instability in Decentralized Exchanges
Philip Daian, Steven Goldfeder, Tyler Kell, Yunqi Li, Xueyuan Zhao, Iddo Bentov, Lorenz Breidenbach, Ari Juels
This foundational paper presents an extensive investigation into the phenomenon of Maximal Extractable Value (MEV) in the context of decentralized exchanges. The authors quantify the prevalence of frontrunning, backrunning, and sandwich attacks, documenting how sophisticated actors utilize transaction reordering to extract value from end-users. By analyzing the Ethereum network, the paper demonstrates how the mempool acts as a public information space where participants can observe unconfirmed transactions and insert their own transactions ahead of others for profit. The authors discuss the broader implications for blockchain consensus, arguing that these activities create perverse incentives for miners and validators, potentially leading to chain instability. The study provides a taxonomy of priority gas auctions (PGAs) and explains how these auctions essentially internalize profit-seeking behavior into the consensus layer itself. Beyond just a technical analysis, the paper warns of the social and economic consequences of unmitigated transaction reordering, emphasizing the need for protocol-level defenses and improved awareness of the risks inherent in transparent, permissionless transaction ordering. The work remains a cornerstone for understanding the conflict between decentralized design and profit-motivated transaction ordering.

