---
title: "DeFi Vault — definition | Nuri Glossary"
description: "A contract that runs one yield strategy so depositors do not have to manage positions themselves."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/automated-vault"
---

# DeFi Vault

A contract that runs one yield strategy so depositors do not have to manage positions themselves.

## Basically

A DeFi vault is a smart contract that automatically follows a set plan to earn returns. You deposit funds and can earn without managing the plan yourself.

## Key Takeaways

- A DeFi vault is a smart contract that pools user deposits and automatically executes a yield strategy. Depositors receive share tokens representing their proportional claim on the vault's assets, including any accumulated returns.
- Common vault strategies range from auto-compounding rewards to delta-neutral hedging and leveraged yield farming, each with a distinct risk profile. Fees typically include a management fee of 1–2% annually and a performance fee of 10–20% of generated yield.
- Vaults inherit risk from every protocol they interact with, including oracle manipulation, liquidation, and smart contract exploits. These risks can compound when strategies stack across multiple lending protocols and AMMs.

## What Is a DeFi Vault?

A DeFi vault, sometimes called an automated vault or yield vault, is a smart contract that accepts token deposits, pools them together, and deploys the capital into a predefined yield-generating strategy. You deposit assets and receive share tokens in return, while the vault handles everything else: harvesting rewards, reinvesting profits, rebalancing positions, and paying gas fees.
Simple staking locks tokens in a single protocol, and lending deposits assets into one market, while vaults automate multi-step strategies across multiple protocols. Vaults form the asset management layer of DeFi: you pick a vault matching your risk tolerance, deposit, and earn yield without touching the underlying positions.
Yearn Finance pioneered the model in 2020 with its yVaults, and the pattern has since become a foundational DeFi primitive. Yield aggregators like Yearn, Beefy Finance, and Morpho collectively manage billions of dollars in vault deposits. As of March 2026, vaults conforming to the ERC-4626 and ERC-7540 standards alone account for over $15 billion in total value locked.

## How It Works

A vault system typically consists of two smart contracts working together: the vault contract and the strategy contract. Each contract has a separate role in managing your deposit and executing the yield strategy.

## Vault and Strategy Architecture

The vault contract is the user-facing layer that accepts deposits, issues share tokens, and handles withdrawals. You can think of it as an accountant that tracks who owns what share of the pool.
The strategy contract is the execution layer. It tells the vault where to deploy capital: which lending markets to supply, which liquidity pools to enter, when to harvest rewards, and how to reinvest. A single vault can connect to multiple strategies, spreading capital across several yield sources.
The end-to-end flow works as follows: the vault contract manages deposits and shares, while the strategy contract handles the yield-generating steps. You interact with the vault contract rather than managing each strategy position yourself.

## Share Token Math

Share tokens track each depositor's claim on the vault. The value of each share increases relative to the underlying asset as the vault earns yield. The maths is straightforward:
Rounding rules favour the vault to prevent rounding exploits. The contract rounds down when issuing shares to depositors and rounds up when calculating the shares required for withdrawal.

## ERC-4626: The Tokenized Vault Standard

Vault protocols each used their own interface before ERC-4626. Integrating vaults from different projects required custom adapters, increasing complexity and audit surface.
ERC-4626, finalised in March 2022, standardises the interface for tokenised vaults built on ERC-20 tokens. It defines a common set of functions: deposit(), withdraw(), mint(), redeem(), and preview methods that let you simulate transactions before committing. Any protocol can now compose with any ERC-4626 vault using a single, predictable API.
ERC-7540, finalised in March 2024, extends ERC-4626 to support asynchronous deposits and redemptions. This matters for vaults backed by real-world assets where settlement cannot happen in the same transaction.

## Auto-Compounding

Auto-compounding is the simplest and most widely used strategy. The vault harvests reward tokens, often governance tokens earned from lending or LP farming, sells them for the deposit asset, and reinvests the proceeds, converting a simple APR into a compounding APY. Beefy Finance operates over 1,500 auto-compounding vaults across 25+ blockchains, making it the largest pure auto-compounder by strategy count.

## Delta-Neutral Strategies

Delta-neutral vaults use hedging to generate yield without directional market exposure. A common approach is basis trading: the vault holds spot assets while shorting the same assets via perpetual futures, profiting from the funding rate differential. The goal is yield with minimised price risk, though imperfect hedging and funding rate volatility can still produce losses.

## Leveraged Yield Farming

Leveraged yield farming vaults amplify returns through looping: deposited assets serve as collateral to borrow more of the same asset, which is then redeployed into the yield strategy, and the cycle repeats to multiply effective exposure. Advertised APYs can reach 20–40%, but these strategies carry significant liquidation risk. If collateral value drops below the protocol's threshold, the position is automatically unwound at a loss.

## Concentrated Liquidity Management

AMMs like Uniswap v3 allow liquidity providers to concentrate capital within specific price ranges for higher fee income. Managing these positions manually is labour-intensive because ranges must be adjusted as prices move. Vault protocols like Kamino on Solana automate range rebalancing, fee harvesting, and impermanent loss mitigation, handling the complexity behind a simple deposit interface.

## Fee Structure

Vault fees compensate strategists, auditors, and protocol treasuries. The industry has converged on two primary fee types:
Fee models vary significantly across protocols, with Beefy Finance charging no deposit or withdrawal fees and taking up to 9.5% of each harvest as a performance fee. Yearn's newer yvUSD vault charges zero fees entirely to attract liquidity. Morpho's curator model lets risk managers set their own fee schedules, typically 5–15% of yield, with some large vaults running at 0%.

## Passive Yield on Stablecoins

Stablecoin vaults are the largest category by TVL, letting depositors earn stablecoin yield without managing positions across lending markets. Morpho's curated stablecoin vaults, managed by risk analysts at firms like Gauntlet and Steakhouse, oversee billions in deposits and generate 3–8% APY on conservative strategies. For a deeper look at how these returns are generated, see the stablecoin yield analysis.

## Institutional Treasury Management

ERC-4626 standardisation has enabled institutional adoption. Coinbase built its USDC lending product on Morpho vaults, and Apollo Global Management launched an institutional vault for tokenised fund management. The standardised interface reduces integration complexity and audit costs, making vaults accessible to regulated entities.

## Bitcoin DeFi

Vault designs are expanding to Bitcoin Layer 2 networks. On Stacks, Hermetica launched hBTC, a self-custodial Bitcoin yield vault that converts staking rewards to BTC daily, while Zest Protocol operates Bitcoin collateral vaults allowing BTC holders to borrow stablecoins without moving assets off Bitcoin L1. Although still nascent compared with the Ethereum and Solana ecosystems, Bitcoin DeFi vaults are growing rapidly: stablecoin volume on Stacks grew 23x since Q1 2025; for more on this emerging space, see the BTC DeFi overview.

## Smart Contract Risk

Every vault is only as secure as the code it runs on, and vulnerabilities like reentrancy, access control flaws, or logic errors can lead to complete fund loss. In 2024, blockchain hacks caused approximately $730 million in losses across DeFi. Even audited contracts carry residual risk: audits reduce the probability of exploits but cannot eliminate them.

## Composability Risk

Vaults that deploy capital across three or four protocols inherit the combined risk surface of all of them. DeFi composability works in reverse here: a single vulnerability in one underlying protocol can cascade and drain assets across the entire strategy stack. A flash loan exploit on a lending market used by a vault's strategy, for example, could compromise every depositor's funds.

## Oracle and Liquidation Risk

Leveraged vaults depend on accurate price feeds, and an attacker who manipulates an oracle can cause the vault to calculate incorrect collateral ratios, triggering improper liquidations or enabling exploits. In January 2026, an attacker used a $280 million flash loan to manipulate an oracle and drain roughly $4 million from a DeFi protocol. Even without manipulation, volatile markets can trigger liquidation cascades that unwind leveraged vault positions at steep losses.

## Strategy Risk

A vault's strategy may underperform or fail entirely under certain market conditions when an ineffective rebalancing algorithm, a shift in funding rates, or a sudden liquidity crunch in an underlying pool erodes returns. Unlike smart contract risk, where code is exploited, strategy risk is the possibility that the logic works correctly but the market moves against it. You should evaluate both the protocol's security and the strategy's assumptions before depositing.

## Liquidity Risk

Underlying protocols may not have sufficient liquidity for immediate withdrawals during extreme market stress. Lending markets can become fully utilised, with 100% of deposits borrowed, and AMM pools can become imbalanced. Some vaults implement withdrawal queues or timelocks to manage this, but you should not assume instant liquidity under all conditions.

## Why It Matters

DeFi vaults make sophisticated yield strategies accessible to anyone with a wallet. Before vaults, earning yield required manually managing positions across multiple protocols: supplying to lending markets, harvesting rewards, selling governance tokens, reinvesting, and rebalancing when conditions changed, with each step costing gas and demanding expertise.
Vaults abstract this complexity into a single deposit transaction, and the ERC-4626 standard takes this further by making vaults composable: protocols can build on other vaults, creating layered strategies that would be impractical to manage manually. As vault infrastructure expands to Bitcoin Layer 2 networks and integrates real-world assets, the design pattern bridges the gap between traditional asset management and on-chain finance.
Vault architecture offers builders in the Bitcoin ecosystem a model for how yield-bearing stablecoins and automated strategies might work on platforms like Spark. These designs could develop as programmable Bitcoin layers mature.
The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
