


Compound is where pooled lending onchain started: the protocol that first let a deposit earn from the block it landed and a borrow price itself against a live pool, and it has run continuously since 2018 through every market DeFi has had.
Its third version trades sprawl for discipline. Each market is built around exactly one borrowable asset, so lenders in a market are exposed to one kind of debt and nothing else, and the collateral behind it is held apart where no other borrower can touch it. Rates come off a published curve, every asset carries a supply cap, a collateral factor, and a liquidation line set in public, and the whole account reduces to a single balance that is either earning or owing. It is lending stripped to the parts that can be audited.
The design is clean; holding a position in it is not. The borrow rate that doubles when utilization crosses the kink in the curve. The collateral that sat comfortably inside its factor until the market moved overnight. The rewards accruing in a token you keep forgetting to claim. The liquidation that does not wait for your morning. Compound keeps its books every block, and it grades the position, not the intention.
Every number Compound keeps about a position is a step in a plug: the rate on each side of the market, the utilization behind it, the price and liquidation line of every collateral asset, the reward balance accruing, how much more the market will lend. Supply, withdraw, borrow, repay, collateral moves, and reward claims run when a condition is met rather than when a person happens to be looking.
A borrow that closes itself when the rate crosses your number and reopens when it falls back. Collateral topped up before the factor is tested instead of after. Rewards claimed and put back to work on a cadence instead of a memory. Debt that unwinds in order, automatically, the moment the market says it should.
The positions that have done well on Compound across three versions and eight years are the ones that never depended on someone being awake, and that has never been more literal than it is now.
Earn yield on Base · 12 plugs



Supplies the base asset to a Compound market to earn the supply rate.
Reach for it to earn yield on idle base asset, or as the last step of a strategy that has swapped into the base asset earlier in the transaction.



Borrows a Compound market's base asset against your supplied collateral.
Reach for it after supplying collateral in the same transaction, or to draw the base asset a later swap or deposit needs, holding the position action's isCollateralized true with a predicate.



Claims accrued COMP rewards for the wallet's activity in a Compound market.
Reach for it as a harvest step, then swap the COMP into the base asset and supply it back in the same transaction to compound.



Repays the wallet's base asset debt to a Compound market from the socket's balance.
Reach for it to clear debt before withdrawing collateral, to restore collateralization when the position action reports it lost, or to settle the borrow leg after an earlier swap has produced the base asset.



Supplies an asset as collateral to a Compound market.
Reach for it before a borrow in the same transaction, or to add margin to a position when the position action shows it drifting toward its liquidation factors.



Withdraws the wallet's supplied base asset from a Compound market back to the wallet.
Reach for it to exit a lending position or to pull the base asset a following swap or deposit needs, coiling the amount forward.



Withdraws the wallet's collateral from a Compound market back to the wallet.
Reach for it to free collateral after a repay earlier in the transaction, or to move margin between markets, holding isCollateralized true with a predicate on the position read.














Posts · 4