Vault (DeFi Vault)

DeFi

In DeFi, a vault is a smart contract that automatically manages a strategy for deposited funds, with the goal of generating yield with minimal manual intervention from the depositor.

In DeFi, a vault is a smart contract that automatically manages a strategy for deposited funds, with the goal of generating yield with minimal manual intervention from the depositor. You deposit a token, the vault puts it to work — lending it, providing liquidity, farming rewards, compounding those rewards back into the position — and you receive vault shares (similar to LP tokens) representing your proportional ownership of everything the vault holds.

Vaults were pioneered by Yearn Finance and became a foundational piece of the DeFi ecosystem. The core idea is to democratize complex yield farming strategies: instead of requiring each user to manually move funds, claim rewards, swap them for more base tokens, and redeposit — potentially many times per day — a vault does all of this automatically for hundreds of users at once, spreading the gas costs across everyone and executing the strategy more efficiently than any individual could alone.

Vault strategies range from conservative (depositing stablecoins into a single lending protocol) to highly aggressive (using leverage, bridging across chains, combining multiple protocols). The vault’s underlying strategy is usually written by independent developers and reviewed by the community. Risks include smart contract bugs in any of the protocols the vault interacts with, the strategy becoming outdated as market conditions change, and the possibility that compounded complexity hides risks that are not immediately obvious to depositors.

Example: You join an investment club. Instead of each member researching stocks individually, you pool your money and hire a manager who moves the funds strategically, reinvests dividends, and reports back with regular statements. You hold a share certificate in the pool rather than the underlying assets directly. The club can access opportunities and execute more cheaply than any individual member could alone.