Docs / DEWS

DEWS — Depeg Early Warning System

DEWS is a forward-looking stress indicator, not a depeg confirmation. While the main risk score detects an active depeg in price, DEWS captures the structural and market conditions that typically precede one — giving analysts a lead time of hours to days.

Each stablecoin receives a 0–100 DEWS score daily. Higher = more pre-stress. Missing signals are skipped and weights renormalised so the score is always comparable regardless of data availability.

Threat Bands

BandScore rangeMeaning
CALM0 – 15No notable pre-stress signals. Normal market conditions.
WATCH16 – 40One or more early warning signals present. Monitor closely.
ALERT41 – 75Multiple stress signals active. Heightened depeg probability.
DANGER76 – 100Severe stress across multiple dimensions. Depeg highly probable.

11 Sub-signals

Weights sum to 1.0 when all signals are present. Each is normalised to 0–1 before weighting. Signals with no available data are excluded and weights renormalised.

SignalWeightMax risk thresholdDescription
supply_velocity17%≥10% minted in 24hRapid minting relative to total supply — can signal backing strain or coordinated exit.
pool_balance_drift11%DEX pool 100% one-sidedDEX pool imbalance. A Curve/Uniswap pool drifting away from 50/50 indicates directional selling pressure.
liquidity_erosion12%≥50% drop vs 7d avgProviders pulling liquidity before a depeg — often the first sign of insider information.
price_confidence10%Confidence = 'fallback'Inverted DeFiLlama price source confidence. Low confidence means the price feed is thin or unreliable.
cross_source_divergence10%≥1% spread across sourcesSpread between price data sources. Divergence often precedes a confirmed depeg.
blacklist_activity8%≥3 freeze events in 7dRecent address freezes by the issuer. Elevated freeze activity can signal sanctions pressure or exploits.
mint_burn_flow8%bank_run_gauge = maxBank-run gauge from the mint/burn flows tracker. High burn-to-mint ratio signals redemption pressure.
mint_role_centralization8%Single EOA controls mintingWhether a single externally-owned address can mint without multisig. Captures USR/Usual-style exploit risk.
tvl_supply_divergence5%On-chain supply > DeFiLlama TVLOn-chain token supply significantly exceeds DeFiLlama's tracked TVL — potential unbacked minting.
yield_anomaly4%APY spike >3σ above historyUnsustainably high yield spikes often reflect protocol distress or attempts to attract exit liquidity.
whale_concentration7%Top-10 holders ≥80% of supplyHigh top-10 holder concentration amplifies bank-run severity if whales exit simultaneously. Source: GeckoTerminal/Moralis.

Update Cadence & Data Sources

  • DEWS scores — recalculated daily at 04:00 UTC.
  • Supply velocity & mint/burn flow — from the mint/burn flows tracker (S3).
  • Pool balance drift — from DeFiLlama liquidity pool data.
  • Liquidity erosion — 7-day rolling average from DeFiLlama TVL.
  • Price confidence & cross-source divergence — from DeFiLlama price API.
  • Blacklist activity — from the freeze tracker (daily at 03:00 UTC).
  • Whale concentration — from the contamination pipeline (Moralis + GeckoTerminal, daily midnight).
  • Mint role centralization & TVL divergence — require Etherscan API keys (currently skipped).

DEWS vs. Risk Score

Risk ScoreDEWS Score
MeasuresActive peg deviationPre-depeg structural stress
Signal typeReactive (current price)Forward-looking (leading indicators)
UpdatesEvery 5 minutesDaily
Lead timeNone (concurrent)Hours to days before price breaks
Primary useAlert triage, tier assignmentRisk management, early positioning
Safety Grade Docs →Risk Score Docs →← All Docs