Yearnvaults pool deposits for automated yield
Yearnvaults pool crypto deposits in smart contracts that deploy assets into yield-generating strategies and compound earned returns. These Yearn vaults, also called yVaults, issue shares representing a depositor's interest in pooled assets. The chosen vault determines the underlying asset, strategy exposure, fees, and withdrawal conditions.
Automated reinvestment inside a pooled position
A vault automates the harvesting and reinvestment that its strategies require to compound returns. Smart contracts handle recurring operations, while the vault accounts for each depositor's interest through shares in the pooled position.
Vaults accept deposits and track ownership; strategies deploy those assets into external DeFi opportunities. The vault is the pooled position, and the strategy contains the logic that puts its assets to work. Deposits and vault activity occur on public blockchains, where the onchain position is inspectable. That visibility also makes wallet-linked financial activity public.
A depositor's share count measures ownership, while assets backing those shares can grow through compounding without increasing the number of shares held.
Deposit assets and optional conversion routes
The asset accepted by a vault determines the position that a direct deposit creates. A single-asset vault takes its specified token, while a liquidity-pool vault takes the relevant liquidity-provider token, commonly called an LP token. That LP token already represents a pool position. Depositing it into a vault adds automated yield management to the existing exposure; it does not convert the position into a simple holding of one pool asset.
Yearn's vault interface includes asset categories such as ETH, USDS, USDC, and crvUSD. Some vaults also offer zaps that convert another asset during entry or exit, with routes that depend on the vault and available quote. Their expected output and slippage tolerance matter separately from the vault's displayed yield. Third-party swap routes can also exchange vault positions, subject to route availability and quoted output.
Harvests and the recognition of profit
Harvest timing affects when earned rewards become part of a vault's reported assets. The documented v2 factory process for Curve vaults separates reward swaps from harvesting. A harvest can collect rewards, a separate permissioned swap converts them into the underlying asset, and a later harvest recognizes the resulting profit. Traditional v2 strategies can combine reward conversion and rebalancing in one harvest transaction. Keepers continue automating factory harvests, with timing affected by network congestion and transaction viability. Rewards awaiting conversion differ from profit that the vault has already recognized.
Net APY and realized returns
The net annual percentage yield, or APY, shown by Yearn is net of vault fees and includes compounding. That figure summarizes a rate estimate; it does not assign a fixed future gain to each deposit. Historical performance often supplies the estimate because harvests arrive at irregular intervals. A position held over a different period can experience different returns.
Gross annual percentage rate, or APR, is calculated before fee deductions, so a comparison with net APY needs consistent fee treatment and compounding assumptions. Returns measured in underlying-token units also differ from returns measured in another currency. More underlying tokens can still have a lower market value if their price falls. The unit of account therefore matters when interpreting a balance alongside its yield.
Fee bases and changing vault settings
Performance and management fees use different charging bases. A vault's performance fee is a share of its earned yield. In v2, a management fee, where configured, charges an annual rate against deposited assets. Where management fees accrue through share issuance, the vault mints fee shares at harvest and dilutes existing holders. That mechanism calculates the charge using the time since the previous harvest.
Before YIP-69, vaults used a 20% performance fee and a 2% annual management fee; subsequent fee settings became variable by vault. The documented v2 factory schedule specifies a 10% performance fee and 0% management fee. Single-asset vaults generally have no management fee, although the selected vault's configuration remains the relevant setting.
V3 can use configurable fee-handling contracts called accountants. Matching deposit assets alone does not establish matching fee settings.
A harvest fee applied to profit
A percentage fee needs its charging base before it becomes a token amount. For this hypothetical v2 factory-vault calculation, take deposited capital of 1,248 deposit-token units and harvest profit subject to the fee of 78 units. Assume the vault uses the documented factory schedule of 10% performance fees and 0% management fees.
The performance fee has a deposit-token value of
78 * 0.10 = 7.8
units. That leaves
78 - 7.8 = 70.2
units of profit attributable to depositors after this fee. The 1,248 units of deposited capital are not the performance-fee base.
The calculation isolates a profitable harvest under those fee settings; an individual withdrawal also depends on share ownership. A different configured fee or profit changes the amount retained.
Vault generations and receipt-token names
V1 vaults used a single strategy and the
y
prefix for their receipt tokens, and they are now mostly phased out. V2 supports up to 20 strategies per vault and uses the
yv
prefix for its receipt tokens. V2 remains in use for Curve LP positions, while v3 has largely superseded it for single-asset vaults. V2 factory deployments also cover Velodrome LP positions on Optimism and Aerodrome LP positions on Base.
V3 adds separate token conventions for its allocation vaults and its Tokenized Strategies. The documented convention uses
yv
plus a category suffix for multi-strategy vaults, and
ys
for single-strategy vaults. The names
yvUSDC-1
and
ysUSDC
illustrate those conventions. A token prefix helps identify the product family; the actual asset, network, and contract determine the specific position.
Direct strategy access and pooled allocation
V3 permits direct deposits into a Tokenized Strategy, which is a standalone vault, or into a multi-strategy vault that allocates across strategies. The same strategy can also serve multiple allocation vaults. The direct route gives exposure to the chosen strategy's yield source. An allocation vault manages exposure across its selected strategies, including how much capital each receives.
ERC-4626 and reusable vault infrastructure
ERC-4626 gives v3 vaults a shared interface for asset deposits, share issuance, and redemptions. Applications can use that shared interface to handle yield-bearing positions across compatible vaults and strategies. V2 vaults do not implement the standard. Fees, allocation policies, and underlying risks remain properties of the individual vault. Additional v3 components can manage allocations, fee accounting, or deposit and withdrawal limits. These components are optional, and their use depends on the vault's configuration.
Share redemption and withdrawal conditions
Vault shares represent a proportional claim on underlying assets, whose value can change while strategies operate. Redeeming shares turns that claim back into assets under the selected vault's withdrawal conditions. A direct withdrawal from an LP-token vault returns the LP position; removing liquidity from its underlying pool is a distinct operation. Where a zap is available, conversion into another output asset adds its own route and price conditions.
V3 contracts report withdrawal limits for a specified owner's address, and the optional
maxLoss
parameter sets the maximum acceptable withdrawal loss in basis points. The call reverts if the loss exceeds that limit. Omitting it gives different defaults:
redeem
can accept any withdrawal loss, while
withdraw
accepts none. Callers can supply an explicit limit. Loss tolerance governs transaction acceptance; it does not prevent a strategy from having already lost value.
Risks inherited from strategies and their protocols
Vault losses can originate in the underlying yield source even when the vault's own accounting behaves as designed. A strategy can depend on another protocol's contracts and on the behavior of its assets. A stablecoin depeg or an external exploit can therefore affect a vault position. Multi-strategy allocation only spreads the exposures that actually differ; common dependencies can remain.
Yearn uses contract audits, bug bounties, and risk analysis to address these problems. An audit of one codebase does not certify every protocol that a strategy uses. Public visibility lets someone inspect the onchain position without removing the risks that arise from its code and assets. Depositors share the gains and losses of the particular vault that holds their position.
Yearnvaults: quick answers
-
Does a v2 vault charge a separate withdrawal fee?
- V2 vaults do not charge the withdrawal fee that existed in v1. Blockchain transaction costs still apply. If the exit also converts assets, that conversion has separate costs and price effects from a vault withdrawal fee.
-
Why might a vault deposit be missing from the withdrawal balance?
- Vault shares that were additionally staked in a rewards contract can be absent from an unstaked withdrawal balance. This concerns vaults and interfaces that support extra staking, not every deposit. The vault position and the staking position occupy separate contracts, so an empty unstaked balance alone does not establish that assets disappeared.
-
Can anyone deploy a v3 vault or strategy?
- V3 supports permissionless deployment of allocation vaults through its factory and creation of Tokenized Strategies. Deploying a contract does not make it an endorsed vault. The registry tracks endorsement separately and records the underlying asset and release version.
-
Which networks does the v3 interface support?
- Yearn's v3 interface supports Ethereum, Arbitrum, Polygon, Base, and Katana. That coverage does not imply identical assets, vaults, or liquidity on every network. A vault's network and contract address identify where its shares exist.
-
Are v3 deposits unlimited?
- V3 deposit capacity can vary by vault and the address receiving its shares. The maxDeposit function reports the underlying-asset amount that can currently be deposited for that receiver. It accounts for global and receiver-specific limits, including disabled deposits. The receiver's wallet token balance is separate from this capacity limit.