Smart Allocation
Smart Allocation is a one-click portfolio suggestion feature that recommends a diversified set of vaults based on your risk tolerance.
Allocation profiles
| Profile | Description | Risk mix |
|---|---|---|
| Conservative | Capital preservation first. Established protocols, large TVL. | 70% Low, 30% Medium |
| Balanced | Best risk-adjusted APY. Good protocols, reasonable yields. | 40% Low, 45% Medium, 15% High |
| Aggressive | Maximum yield. Accepts higher protocol and reward risk. | 20% Medium, 60% High, 20% Degen |
How allocations are built
The algorithm runs on the client after vaults are fetched:
flowchart TD
A[All vaults] --> B[Filter by risk profile]
B --> C[Deduplicate by token+protocol+chain]
C --> D[Score each vault]
D --> E[Pick top vaults per profile]
E --> F[Allocate weights]
F --> G[Return suggested portfolio]
Deduplication key
To avoid recommending the same vault twice (e.g. Aave USDC on multiple chains), vaults are deduplicated using:
key = token_symbol + "|" + protocol_name + "|" + chain_id
Scoring for allocation
Within each profile, vaults are scored:
score = (apy_norm × weight_apy) + (tvl_norm × weight_tvl) - (risk × weight_risk)
Weights differ by profile (conservative weights TVL more, aggressive weights APY more).
Anomaly filtering
Smart Allocation automatically excludes vaults where:
- Max(live_apy, avg30d_apy) > 25% for stablecoin assets
This prevents "too good to be true" emission spikes from dominating the suggestions.
Using Smart Allocation
- Go to the Discover tab
- The Smart Allocation section shows three profile cards at the top
- Click a profile to see the suggested vaults
- Click any vault to open the deposit modal
Smart Allocation is a suggestion — you always choose which vaults to deposit into.