- For each day 𝑡 and token 𝑖, the objective of the OHLCV module is to measure the token’s secondary-market execution price and activity on Ethereum DEXs. The execution-price proxy for each trade is defined as follows. p = counter_amount / target_amount target_amount is the traded amount of the focal stablecoin and counter_amount is the traded amount of the counterparty stablecoin.The daily open, high, low, and close are then defined from intraday trade prices, while trade_count, volume_usd_total, and target_amount_total summarize daily trading activity.
- an address is counted as an “active address” if it appears in at least one transfer in or out of the target stablecoin on that day; an address is counted as a “new address” if that day is its first observed date within the “chain × token” dimension. To avoid direct contamination from minting and burning mechanics, the zero address is excluded from the count.
active_addresses_t = count(distinct addresses active on day t)
new_addresses_t = count(distinct addresses whose first_seen_date = t)
active_addresses_change_1d_abs_t = active_addresses_t - active_addresses_{t-1}
active_addresses_change_1d_pct_t = (active_addresses_t - active_addresses_{t-1}) / active_addresses_{t-1}
new_addresses_change_1d_abs_t = new_addresses_t - new_addresses_{t-1}
new_addresses_change_1d_pct_t = (new_addresses_t - new_addresses_{t-1}) / new_addresses_{t-1}
- The objective of the liquidity-depth module is to estimate how much trade size can be executed while keeping price deviation within a tolerance band.
deviation_bps = abs(p - 1) * 10000 D_i,t^(theta) = Q_0.95(amount_usd | deviation_bps <= theta)
p is the trade-level execution-price proxy, 𝜃 is a deviation threshold such as 10, 50, or 100 basis points, and Q_0.95 is the 95th percentile of USD trade size among trades satisfying that deviation bound. This variable estimates the upper range of trade size that the market can absorb without moving too far away from the peg.
The objective of the AMM-spread module is to measure cross-venue fragmentation for the same token on the same chain. For each token-day, a daily venue price is first computed for each AMM.
VWAP = sum(p_j * V_j) / sum(V_j)
Here, p_j is the execution price of trade 𝑗 and V_j is the USD size of trade 𝑗. After venue-level prices are constructed, the AMM spread is defined as the maximum venue price minus the minimum venue price, converted into basis points.
spread_bps = (p_max - p_min) * 10000
7.8. panel_t = {date_t, symbol, tvl_t, circulating_t, circulating_usd_t, bridged_to_usd_t}
date_t denotes day t, symbol denotes the token, tvl_t denotes locked value on day t, circulating_t denotes circulating supply on day t, circulating_usd_t denotes the USD-denominated circulating value, and bridged_to_usd_t denotes a bridge-related USD measure.
circulating_change_1d_abs_t = circulating_t - circulating_{t-1}
circulating_change_1d_pct_t = (circulating_t - circulating_{t-1}) / circulating_{t-1}
circulating_t denotes circulating supply on day t, circulating_{t-1} denotes circulating supply on the previous day, circulating_change_1d_abs_t denotes the daily absolute change, and circulating_change_1d_pct_t denotes the daily relative rate of change.
Aave’s official reserve documentation treats supply, borrow, available liquidity, utilization, and caps as core reserve attributes, while Dune’s lending tables provide standardized supply-side and borrow-side event streams. This query used cumulative net-flow proxies. Deposit events increase supply, withdrawals reduce supply, borrow events increase borrowed stock, and repayments reduce borrowed stock.
total_supply_t = opening_supply + cumulative_sum(daily_deposit - daily_withdraw - supply_liquidation) total_borrow_t = opening_borrow + cumulative_sum(daily_borrow - daily_repay - borrow_liquidation) available_liquidity_t = total_supply_t - total_borrow_t utilization_t = total_borrow_t / total_supply_t
10
net_bridge_flow_i,t^ETH = inflow_i,t^ETH - outflow_i,t^ETH
gross_bridge_volume_i,t^ETH = inflow_i,t^ETH + outflow_i,t^ETH
avg_bridge_size_i,t = gross_bridge_volume_i,t / bridge_tx_count_i,t
These variables respectively measure net liquidity migration, total bridge turnover, and average transaction size.
This query also proposed Herfindahl-Hirschman indices over bridge protocols and peer chains, s_k is the share of a given bridge protocol or peer chain in total bridge volume for that token-day-direction. A higher HHI means more concentration and greater dependence on a small number of bridges or chains.
HHI = sum(s_k^2)
Introduction
This dashboard has queried several on chain signals of five kinds of stablecoins(SC) , USDC, USDT, PYUSD, DAI, FRAX v2(FRAX) with variant peg mechanisms, daily spanning 2025.1-2026.4 to context nearest market condition. as :
- daily OHLCV and trade-count variables
- AMM cross-venue pricing
- Liquidity as AMM pool depth agent
- supply and borrow APR
- mint/burn
- TVL
- circulating
- market cap
- active/new adresses
- cross-chain bridge flows
- lending-market state variables
with Ethereum treated as the focal chain and daily frequency as the basic sampling interval. Together, these tasks are aimed to use public on-chain data to characterize liquidity conditions, supply contraction and expansion, participant activity, and user diffusion, in order to predict future de-peg pressure.
Sources & functions
1.2. Dune’s curated dex.trades table. The relevant objects in this study are Ethereum mainnet, DEX venues such as Uniswap and Curve, and direct stablecoin-to-stablecoin trades involving USDT, USDC, DAI, FRAX, and PYUSD.
6.7.8. the asset-level stablecoin measure tracked by DeFiLlama, from: query_1218750, query_1227757, query_1231680: provide TVL_eth. https://stablecoins.llama.fi/stablecoins?includePrices=true: used to identify stablecoin_id, current price, and current circulation size. https://stablecoins.llama.fi/stablecoincharts/all?stablecoin=<id>: used to fetch historical daily circulating series.
- stablecoins_evm.transfers: the stablecoin transfer table used to obtain blockchain, block_date, token_symbol, and from/to addresses.
- bridges_evms.flows table, une documents this table as matched deposit-withdrawal pairs representing complete bridge transfers across 41 EVM chains.
- lending.supply and lending.borrow tables together with prices.day from Dune, Aave Markets Data from Aave.