Back to Glossary
IntermediateDeFi

Composability

Definition

The ability of DeFi protocols and smart contracts to seamlessly interact with and build upon each other, often called 'money legos.' Composability allows developers to combine existing protocols to create more complex financial products without needing permission, because all smart contracts on the same blockchain can call each other.

Example

A yield optimizer can combine Uniswap for swaps, Aave for lending, and Curve for stablecoin liquidity — all in a single transaction — because Ethereum smart contracts are composable.

Related Terms