Understanding Shares & Returns
Learn how Flux vault shares work, how they accrue value, and how to calculate your returns as a liquidity provider.
Share Mechanics
ERC4626 Standard
Flux vaults implement the ERC4626 tokenized vault standard, which means:
Vault shares are ERC20 tokens
Shares are fungible and transferable
Share value increases over time as interest accrues
Standard interface across all DeFi protocols
Share-to-Asset Conversion
The core formula:
Share Value = Total Assets / Total SharesAs the vault earns interest, Total Assets grows while Total Shares stays constant, increasing the value of each share.
How Shares Accrue Value
Interest Accumulation
When managers borrow from the vault, they pay interest over time:
As Accrued Interest grows, so does the value of each share.
Example Timeline
Day 0: Initial Deposit
Day 30: After Interest Accrual
Calculating Returns
Current Share Value
Preview Withdrawal
Always preview before withdrawing to know exact amount:
APY Calculation
Estimate annual percentage yield:
Real-Time APY
More accurate APY based on current interest rate:
Share Price Dynamics
Initial Share Price
The first depositor sets the initial share price:
Subsequent Deposits
New depositors receive shares at current market rate:
Share Price Never Decreases (Ideally)
In normal operations:
Share price increases from interest
Share price stays flat if no borrowing
Share price should never decrease
If share price decreases:
Bad debt has occurred (manager defaulted)
Emergency withdrawals occurred
Strategy misconfiguration
Consider exiting the vault
Factors Affecting Returns
1. Interest Rate
Higher interest rate = Higher returns (but possibly higher risk)
2. Utilization
Higher utilization = More capital earning interest
Example:
Interest Rate: 20% annual
Utilization: 80%
LP APY: 20% × 80% = 16%
3. Vault Fees
Some vaults charge creator fees:
4. Manager Performance
Returns depend on managers:
Paying interest on time
Not getting liquidated
Not defaulting (creating bad debt)
Return Scenarios
Scenario 1: Optimal Performance
Scenario 2: Low Utilization
Scenario 3: Bad Debt
Tracking Your Position
Smart Contract View
Off-Chain Tracking
Track deposits to calculate profit:
Compounding Returns
Auto-Compounding
Flux vaults automatically compound:
Interest is added to
totalAssetsShare value increases automatically
No action required from LPs
This is different from claiming rewards - it's passive compounding.
Manual Compounding
You can manually compound by:
Withdrawing all shares
Re-depositing assets
Getting new shares at current price
But this is unnecessary! Shares already auto-compound. Manual compounding only makes sense if you're moving to a different vault.
Comparing Vault Returns
Return Metrics to Compare
Example Comparison
Vault A
15%
85%
0%
1.45
⭐⭐⭐⭐⭐
Vault B
25%
95%
2%
1.18
⭐⭐⭐
Vault C
8%
45%
0%
1.62
⭐⭐⭐⭐
Analysis:
Vault A: Balanced - good returns, high utilization, no bad debt
Vault B: Risky - very high APY but has bad debt and overutilized
Vault C: Conservative - lower returns but safest, established track record
Tax Implications
Taxable Events
Deposits: Usually not taxable
Share value increase: Unrealized gain (not taxable until sold)
Withdrawals: Realized gain (taxable)
Share transfers: May be taxable depending on jurisdiction
Tracking for Taxes
Consult a tax professional - tax treatment varies by jurisdiction.
Advanced: Share Inflation Attack
The Attack
An attacker could:
Be the first depositor with 1 wei
Donate large amount to vault
Inflate share price
Make small deposits uneconomical
Flux Protection
Flux vaults include protections:
Minimum first deposit requirements
Virtual shares to prevent manipulation
Rounding that favors the vault
What This Means for LPs
First depositors should:
Deposit meaningful amounts (>$1000 recommended)
Check if vault already has deposits
Be aware of share price manipulation risks
Common Misconceptions
❌ Myth: "I should withdraw and re-deposit to compound"
✅ Reality: Shares auto-compound. Withdrawing and re-depositing just wastes gas.
❌ Myth: "More shares = more money"
✅ Reality: Share value matters, not share count. 100 shares at $1.50 = 150 shares at $1.00
❌ Myth: "APY is guaranteed"
✅ Reality: APY changes with utilization and interest rate. Historical ≠ Future.
❌ Myth: "Share price always goes up"
✅ Reality: Bad debt can decrease share price. Always monitor vault health.
Best Practices
1. Track Your Deposits
2. Monitor Share Price
3. Understand Your APY
4. Compare Risk-Adjusted Returns
Don't just chase highest APY:
Consider vault track record
Check bad debt history
Review manager quality
Assess strategy risks
Monitoring Tools
Position Value Dashboard
Related Documentation
Depositing & Withdrawing - How to deposit and withdraw
Risk Management - Understanding LP risks
LP Integration Guide - Full integration guide
Flux Vault - Vault architecture
Last updated