← Docs

Vaults Documentation

Overview of the vault rating system, risk ratings, and data pipeline.

Overview

The Vaults tab rates ERC-4626 and strategy vaults by structural risk. Each vault receives a composite rating (0–100), a tier (low/medium/high/critical), and risk flags. Data flows from the stablecoin-research-systems pipeline to S3; the dashboard reads verified_vaults.json.

Vaults are verified by a structural classifier that analyzes contract bytecode and behavior. Only vaults with confidence ≥ 90% and a known contract type (erc4626, strategy, lending, bridge) appear in the list.

Customer-Requested Features

The following features were built in response to customer feedback on vault risk visibility.

  • Unlock period — Lockup (days) and withdrawal delay (hours) are displayed on the vault table and detail page. Sourced from Trading Strategy API. Helps users assess liquidity and exit timing.
  • Underlying position risk — Vault composition shows underlying assets with share % and depeg score (when the underlying is in the depeg monitor). Enables users to see which underlying stablecoins drive risk.
  • Risk notificationGET /api/vaults/alerts returns vaults needing attention for webhook/notification integration. Use ?format=webhook for a compact payload suitable for Slack/Discord.

Risk Sub-Ratings

Each sub-rating is 0–100 (higher = riskier). The composite rating is a weighted sum of all sub-ratings.

Sub-RatingWeightDescription
Protocol15%Trading Strategy risk (Blacklisted/Severe/Dangerous/etc.)
Depeg15%last_share_price < 1.0 for stablecoin vaults
Closed liquidity8%Deposits or redemptions closed
Centralization10%EOA owner, pause powers
Upgrade8%Proxy, upgradeability, beacon
Liquidity6%Lockup, withdrawal delay, caps
Code7%Delegatecall, external calls
Webacy code7%Reentrancy, unchecked calls, etc.
Strategy7%External strategies, leverage
Return loss3%Negative lifetime_return or CAGR
Asset4%Non-stablecoin underlying
Size4%Low TVL = fragility
Maturity3%New vault = higher risk
Volatility1%From three_months_volatility
Drawdown2%max_drawdown from period_results
TVL outflow2%Negative tvl_trend_pct
Inactivity2%Low event_count (dormant/inactive)
Subvault1%Subvault in flags = indirect exposure
Webacy contract / deployer4% / 2%Contract and deployer risk from Webacy

Depeg Risk

For stablecoin vaults, last_share_price from Trading Strategy indicates whether shares trade below par. If < 1.0, the vault is flagged for depeg risk.

  • Rating 80 — last_share_price < 0.99 (1%+ depeg)
  • Rating 50 — 0.99 ≤ last_share_price < 1.0
  • Rating 0 — last_share_price ≥ 1.0

Hard Overrides

Certain conditions force a minimum composite rating regardless of other factors:

  • Blacklisted → composite rating ≥ 85
  • Share price < 0.97 → composite ≥ 70
  • Redemptions closed + TVL outflow ≥ 30 → composite + 15

Tier System

LowRating < 25
Medium25 ≤ Rating < 50
High50 ≤ Rating < 75
CriticalRating ≥ 75

Risk Flags

Flags are derived from features and rating details. They appear on the vault detail page and in the table.

unverifiedContract not verified on block explorer
no_auditsNo audits found
depegShare price < 1.0
negative_returnNegative lifetime return or CAGR
eoa_ownerOwner is EOA (not multisig)
pause_capablePause function present
upgradeableProxy or upgradeable
lockup_7dLockup > 7 days
withdrawal_delayWithdrawal delay present
low_tvlTVL < $500K
new_vaultAge < 6 months
deposit_closedDeposits closed
redemption_closedRedemptions closed
dormantVery low event count
inactiveLow event count
subvaultSubvault in Trading Strategy flags

Needing Attention

A vault "needs attention" if it matches any of: unverified, no_audits, high or critical tier, or is on the depeg monitor with watch, warning, or critical status. Use the "Needing Attention" filter on the Vaults page to focus on these.

Data Sources

  • Trading Strategy API — Top vaults by TVL, risk tier, lifetime_return, last_share_price, max_drawdown, volatility, flags
  • Etherscan / Basescan v2 — Bytecode, source code, proxy detection, upgradeability
  • Webacy API — Code analysis, contract risk, deployer risk, vulnerability findings (reentrancy, delegatecall, access control, etc.)

Webacy Code Analysis

Webacy scans vault contracts for vulnerabilities. Critical findings (reentrancy, unchecked calls, malicious external call, etc.) contribute 60–100 to the webacy_code_risk sub-rating. Other findings add 20–40. Findings are shown on the vault detail page with risk level and description.

Vaults← DocsDashboard