@idemp2953·3 charts
UST & LUNA — On-chain, USDC-Denominated DEX Volume (May 1–13, 2022)
What this is. DEX spot volume for TerraUSD (UST) and LUNA across the collapse window, rebuilt entirely from on-chain trade amounts — not Dune's amount_usd. Dune's figure is Coinpaprika-derived (token qty × an undisclosed price), so it can't be reproduced for a paper. Here the only non-chain input is one stated assumption: a verified stablecoin = $1.
How each trade is valued — by its counterparty (the steadier side):
- vs a stablecoin (~84%) → value = the stablecoin amount ($1 each).
- vs a liquid major — WETH/WBTC/WBNB/WAVAX/WFTM/WPOL (EVM) or SOL/mSOL/stSOL (Solana) (~12%) → value = the counterparty's amount × that token's own on-chain USD price (built from its stablecoin pools, per minute).
- vs UST/LUNA itself (~3.4%, e.g. wrapped-UST↔wrapped-UST) → no outside leg, so value = coin amount × a cross-venue UST/LUNA price for that minute (built from the coin's stablecoin + major trades, forward-filled when a minute has no trades).
- vs an illiquid/unverified token (~0.4%) → dropped.
Rigor: UST/LUNA and all stablecoins/majors are matched by verified contract address / mint, never by symbol (spoofed 'USDC'/'WBNB' tokens exist in the data and would corrupt volume). Prices are volume-weighted (total $ ÷ total tokens).
Validation: totals reconcile with Dune's amount_usd to within 1% (UST +0.6%, LUNA −0.2%), while being fully transparent and Coinpaprika-free.
Notes to keep in mind when reading
- UST dominates, and we enforce it on purpose. A UST↔LUNA swap is labelled UST ('UST wins ties') and counted once — otherwise the same swap would be double-counted under both coins. So UST totals include UST↔LUNA flow; LUNA totals exclude it.
- Ethereum dominates UST (~$7.9B of ~$9.3B) — this is the Curve 4pool (UST/USDC/USDT/DAI) arbitrage during the depeg.
- Stablecoin = $1 introduces only a ~0.16% aggregate bias (on-chain-verified; USDT briefly dipped to ~$0.95 on May 12).
- The ~3.4% terra↔terra slice is the one place a modeled UST/LUNA price is used; everything else is read off the counterparty.
- LUNA's pre-crash price is sparse (it barely traded), so some quiet minutes are forward-filled — fine, since LUNA was ~flat then; the fast-moving crash minutes are densely covered.
- Window: May 1–13, split at 2022-05-07 12:00 UTC into P1 (pre-crash) / P2 (crash).
vol_usd_duneis shown only as a benchmark.