Money Legos: How DeFi Protocols Stack (and What Each Layer Risks)
Composability, or money legos, explained through one real stack: ETH staked for stETH, stETH as loan collateral, borrowed dollars providing liquidity. What each layer earns, promises, and who pays.
TL;DR
- Composability, DeFi's "money legos," means any protocol's output can become another protocol's input, permissionlessly, because everything shares one chain and asks nobody's permission.
- The honest picture is a tower of rented floors: every floor collects rent, every floor adds a promise, and tenants inherit the landlord problems of every floor underneath.
- One worked stack proves it: ETH staked through Lido becomes stETH, stETH becomes Aave collateral, borrowed USDC becomes a liquidity position. One coin, three incomes, five promises.
- Who is paying? Someone nameable on every floor: the network pays the staking floor, borrowers pay the lending floor, traders pay the liquidity floor. If any payer goes quiet, that floor is decoration.
- The tallest tower does not win. Stacking accumulates rents and failure modes together, and the skill is counting floors, not climbing highest.
What is composability in DeFi?
Composability is the property that lets any DeFi protocol plug into any other: because every protocol lives on the same public chain and needs nobody's approval, one machine's output token can immediately become another machine's input. The affectionate name is money legos, and it is the single biggest structural difference between DeFi and traditional finance, where connecting two institutions takes contracts, lawyers, and months.
That is the claim, and claims are cheap. The way to actually understand composability is to build one stack and read what it is really made of. That is what this article does: one ETH, four machines you can name, and a habit at the end that insiders use constantly and rarely explain.
Why think of DeFi as a tower of rented floors?
Here is the frame that keeps you honest. Picture a tower where every protocol you use is a floor built on the one below it.
Two rules govern the whole building:
- Every floor collects rent. Each protocol you pass money through earns something, and the earnings genuinely add up.
- Every floor makes a promise. Each protocol also adds a condition that must keep holding: a receipt that must stay redeemable, a loan that must stay healthy, a ledger that must work out. And tenants inherit the landlord problems of every floor underneath them. Trouble on floor two is trouble for everyone above floor two.
Both columns of that ledger grow together, floor by floor, every time. Most DeFi marketing shows you only the rent column. Most DeFi panic shows you only the promise column. Reading both at once is the literacy this article is for. And to be clear about what kind of risk we mean: these promises are ordinary economics, terms and conditions that must keep holding, not some hidden trapdoor.
Time to build.
How does one ETH become a three-income stack?
We start at the ground: one ETH, sitting in a wallet. By itself it earns nothing, and everything we build above it will rise and fall with its price. The tower never stops standing on its ground.
Floor 1: the receipt (liquid staking)
Stake the ETH through Lido and you receive a receipt token: stETH, a deposit slip that behaves like money, tradable and usable while the underlying ETH works. This is liquid staking in one move.
What does the floor earn? The staking base rate, paid by the network itself in exchange for securing the chain. First income.
What does it promise? Your ETH is now someone's paper. The receipt is only as good as its issuer, and the arrangement that backs it. One floor up, one rent collected, one landlord problem inherited. Every floor will do both.
Floor 2: the counter (lending)
Walk the receipt to the lending counter: deposit stETH as collateral on Aave. This is DeFi lending doing exactly what it was built for. The counter pays a thin line of deposit interest, funded by the people borrowing on the other side, and it unlocks the real move: borrowing USDC against the receipt.
This floor is heavy with promises. Your loan now has a health factor that liquidation bots watch around the clock. Borrow rates are set by a utilization curve, so your cost of borrowing can spike overnight and nobody decides it: the curve does. Call it rate weather. And the loan's meter runs whether the floors above it pay or not.
Note what the loan itself is. The borrowed USDC earns nothing sitting there. It is fuel for the next floor, and its only demand is that the loan stays healthy.
Floor 3: the booth (liquidity provision)
Put the borrowed USDC to work as a liquidity position in a stablecoin pool. This floor earns swap fees, paid by traders who use the pool, while the staking yield keeps ticking two floors below. Third income.
Its promise is the LP's own ledger: fees earned against the gap that providing liquidity can open versus simply holding, the mechanic covered in impermanent loss. In a stable pool that gap is tame by design, but the ledger never disappears.
And a quieter promise sits underneath: this floor stands on a loan. If the loan below turns unhealthy, floor 3's furniture gets sold to save it. Tenants inherit the landlord problems underneath.
What does each floor earn and promise?
Step back and read the whole tower. One ETH has passed through four machines in one evening, through public doors, with nobody's permission. Composability is real. Now read what it actually built:
| Floor | What it earns | What it promises |
|---|---|---|
| Floor 3: the LP booth | Swap fees, paid by traders | The pool's ledger: fees against the gap |
| The loan (borrowed USDC) | Nothing; it is fuel | Stay healthy, or the bots close it |
| Floor 2: collateral on the counter | Thin deposit interest, paid by borrowers | The liquidation line, and rate weather |
| Floor 1: the stETH receipt | The base rate, paid by the network | The receipt is the issuer's paper |
| The ground: one ETH | Nothing by itself | Everything above moves with its price |
One coin. Three incomes. Five promises. Both columns grew together, floor by floor, exactly as the rules said they would.
Who is paying on each floor?
This is the question that turns a pitch into a readable document, so ask it of the tower explicitly. Who pays?
Someone different, and nameable, on every floor. The network pays floor 1, because it needs stakers to secure the chain and pays for that service. Borrowers pay floor 2, because they want leverage or liquidity and pay interest for it. Traders pay floor 3, because they want to swap now and pay fees for the convenience.
No floor's income is magic, and no floor's income is free. Each one exists because a real party wants something and pays for it. Which gives you the corollary that does most of the analytical work in DeFi: if any floor's payer goes quiet, that floor is decoration. If borrowing demand dries up, floor 2's interest thins toward nothing. If trading volume disappears, floor 3 earns dust. The yields are as alive as their payers, and only as alive. Where each of these income streams ultimately comes from, and which ones deserve the name "real yield," is its own topic: where DeFi yield actually comes from.
What happens to the stack when ETH's price falls?
A stack is best understood under stress, so shake the ground: ETH's price falls sharply. Which floor feels it first?
Not floor 3. The LP booth is a stable pool, both sides dollars, so ETH's fall does not touch its ledger directly. Not floor 1's income either: the network keeps paying the base rate regardless of price, and the yield ticks on.
The fall enters through floor 2. The collateral is a receipt for ETH, so its value drops with ETH, and the loan's health factor drops with it. If it drops far enough, liquidation triggers in your own tower, and floor 3 gets unwound to repay the loan whether the booth was profitable or not.
That is the signature of a stacked position: trouble does not stay where it starts. It travels up the tower, from the floor where the promise broke to every floor standing on it. Nothing exotic happened. A price moved, a promise came due, and the building reorganized itself exactly as the fine print said it would.
What is a "three yields in one token" pitch actually selling?
Now the payoff. Somewhere on your feed this week, a protocol promised staking yield plus lending yield plus trading fees, all in one token. Before this article you could not check that math. Now you can, because you have seen this tower before. You just built it.
The pitch is your exact stack, wrapped in a fourth floor. The wrapper token collects the tower's rents on your behalf and charges its own fee for the service. Nothing about that is illegitimate: the yields are real, and every one has a nameable payer. But the wrapper's holders inherit every promise below, plus the wrapper's own. It is five promises sold as one line of marketing, so the literate move is to count them as five plus one.
Two reflexive reactions both fail here, and it is worth naming them:
- "Stacked yields must be a scam" is lazy. Each yield in this pitch has a real payer: the network, borrowers, traders. Dismissal without reading is as unserious as belief without reading.
- "Three income streams, so the risk is spread" is backwards. Diversification spreads money across separate grounds. This is one ETH under everything. The floors are stacked, not spread, so trouble travels up the tower instead of staying in one corner.
The correct response is neither flinching nor applauding. It is the two-step: name every payer, then count every floor.
Does the tallest tower win?
One test left, because the frame has an edge. If every floor collects rent, a taller tower collects more. Stack receipts on receipts, wrap wrappers in wrappers: the incomes genuinely add up. So does the tallest tower win?
No, and the reason is the rule you already know: both columns grow together. Stacking never creates yield from nowhere. Every floor's rent exists because someone must be paid to carry that floor's promises, which means each additional floor adds income and conditions in the same motion. Height without reading is just promises you have not counted.
The opposite extreme fails too. "Never stack, insiders stay on the ground" is not how anyone experienced actually behaves. Insiders climb towers constantly. They just read every floor first, and they walk away when a floor's promise is not reflected in its rent. The lens does not say never stack. It says never stack uncounted.
How do you build the floor-counting habit?
The habit that leaves with you is small enough to fit in three questions, and it applies to any position, product, or pitch in DeFi:
- Where does this money actually sit? Trace it down to the ground. Every wrapper unwraps to a stack of specific machines.
- What does each floor earn, and who pays it? Name the payer. Network, borrowers, traders, or someone you cannot name, which is its own answer.
- What does each floor promise? Receipts that must stay good, loans that must stay healthy, ledgers that must work out. Count them all, including the wrapper's.
Run those three questions and most DeFi pitches become either transparent or suspicious within minutes, with no insider contacts required.
If you want to build this habit by actually doing it rather than reading about it, this article comes from a checkpoint of Your First 90 Days in DeFi, our free interactive course, where you assemble this exact tower floor by floor and get quizzed on where the cracks would show. The first three checkpoints need no account.
Related questions
What does composability mean in DeFi? It means protocols can plug into each other without permission: one protocol's output token (a staking receipt, an LP token, a deposit share) can immediately serve as another protocol's input, because they all live on the same public chain.
Why is DeFi called money legos? Because protocols snap together like bricks. A staking receipt can become loan collateral, a borrowed asset can become pool liquidity, and each combination creates a new position, the way lego bricks combine into structures none of them is alone.
Is composability risky? It is neither safe nor dangerous by itself. Each layer you add contributes income and a condition that must keep holding, and layered positions inherit every condition below them. The risk is not stacking; it is stacking without counting the layers.
What is an example of composability in DeFi? The classic stack: stake ETH through a liquid staking protocol to get stETH, deposit the stETH as collateral on a lending market, borrow stablecoins against it, and provide those stablecoins as liquidity in a pool. One asset, three income streams, one tower.
What happens if one layer in a DeFi stack fails? Trouble travels upward. If the collateral under a loan loses value, the loan can be liquidated, which forcibly unwinds the positions built on top of it. Layers above a broken promise get reorganized to settle it, regardless of how well they were performing.
Are protocols that combine multiple yields scams? Not by default. Stacked yields are usually real, each with a nameable payer. The honest questions are what fee the wrapper charges, and how many underlying promises you are holding at once, since the wrapper's holders carry all of them plus one.
Where to go next
Composability is the reason DeFi feels like one machine instead of a thousand disconnected apps, and the tower is the reason it deserves respect rather than either hype or fear. Every floor earns. Every floor promises. Both columns always grow together, and the count is your job, because nobody selling you the top floor will do it for you.
From here, two directions. Downward: the individual floors each have their own article worth reading before you stand on them, starting with liquid staking and DeFi lending. Upward: the question this whole tower kept postponing, where the rent on every floor ultimately comes from, is answered in where DeFi yield actually comes from. Or walk the whole map in order in the course below, one interactive checkpoint at a time.
Tagged