Glossary · C
Composability
Key takeaway
The ability of DeFi protocols to interoperate — to use each other's tokens, liquidity, and mechanisms as building blocks without permission. Because DeFi protocols share a common on-chain state, LP tokens from Uniswap can be used as collateral in Aave, which can be used to borrow tokens for Curve, and so on. Composability is sometimes called 'money Legos' — the distinguishing feature that makes DeFi more than the sum of its parts.
Last updated
How Composability works in practice
Composability is the ability of protocols to build on each other without permission — the property that lets a token from one protocol be collateral in a second and be wrapped by a third. It is DeFi's biggest structural advantage and its biggest systemic risk.
Worked example
You stake ETH for a liquid staking token, supply that as collateral to borrow a stablecoin, and deposit the stablecoin in a yield vault. One deposit, four protocols, each depending on the ones beneath it.
Figures are illustrative and chosen to be checkable, not live market data.
The mistake that costs people money
Stacked positions inherit every underlying risk. A failure at the bottom of the stack — a depeg, an oracle error, a contract bug — propagates upward, and the top layer usually has no way to react in time.
Related guides & comparisons
Composability: common questions
What is Composability?
Which DeFi concepts are most closely linked to Composability?
What is the main risk or misconception around Composability?
Which guide covers Composability in practice?
Related DeFi glossary terms
- Collateral Assets deposited as security for a loan. In DeFi lending (Aave, Compound), collateral must exceed the borrowed amount — called overcollateralisation. If the collateral value falls below the required ratio, it is automatically liquidated to repay the loan.
- CDP (Collateralised Debt Position) A smart contract mechanism where users lock crypto assets as collateral to mint (borrow) a stablecoin. The CDP enforces over-collateralisation — you must deposit more value than you borrow — and automatically liquidates collateral if the value falls below the minimum ratio. MakerDAO's Vault (which mints DAI), Liquity's Trove (which mints LUSD), and Curve's crvUSD positions are all CDPs.
- Oracle A service that provides external data — typically asset prices — to smart contracts on a blockchain. DeFi protocols rely on oracles to determine collateral values and trigger liquidations. Chainlink is the dominant decentralised oracle network. Oracle manipulation is a common attack vector in DeFi exploits.
- Block A data structure containing a batch of validated transactions on a blockchain. Each block references the previous block (via a hash), forming a chain. On Ethereum, a new block is added approximately every 12 seconds. Block size limits how many transactions can be included per block.
- Health Factor A numeric score in DeFi lending protocols (Aave, Compound, Morpho) that represents the safety of a collateralised borrowing position. Health Factor = (collateral value × liquidation threshold) ÷ borrow amount. A health factor above 1 means the position is safe; below 1 triggers automatic liquidation. Maintaining a health factor of 1.5+ is a common recommendation for comfortable buffer against liquidation from market volatility.
- Protocol In DeFi, a protocol is a set of smart contracts deployed on a blockchain that provides a specific financial service — lending, trading, yield generation, etc. Examples: Aave (lending protocol), Uniswap (trading protocol), Lido (liquid staking protocol). The term is often used interchangeably with 'platform' or 'application'.