Query editor
-- Cumulative deposits per yield-bearing / RWA-adjacent asset on Aave V3 Ethereum-- Source: lending.supply, filtered to deposit transactions only-- Cumulative gross deposits gives a clean adoption metric (monotonically increasing)-- Excludes withdrawals so the chart shows "capital that has ever flowed in"WITH deposits AS (SELECTdate_trunc('day', block_time) AS day,symbol,SUM(amount_usd) AS daily_deposits_usdFROM lending.supplyWHERE project = 'aave'AND blockchain = 'ethereum'AND version = '3'AND transaction_type = 'deposit'AND symbol IN ('sDAI', 'USDS', 'sUSDS', 'USDe', 'sUSDe', 'GHO', 'PYUSD', 'RLUSD', 'USDtb', 'EURC')AND block_month >= TIMESTAMP '2024-01-01'AND block_time >= TIMESTAMP '2024-01-01'AND amount_usd IS NOT NULLAND amount_usd < 1e9GROUP BY 1, 2),spine AS (SELECTd.day,s.symbolFROM UNNEST(SEQUENCE(DATE '2024-01-01', CURRENT_DATE, INTERVAL '1' DAY)) AS d(day)CROSS JOIN (SELECT DISTINCT symbol FROM deposits) s),filled AS (SELECTs.day,s.symbol,COALESCE(d.daily_deposits_usd, 0) AS daily_depositsFROM spine sLEFT JOIN deposits d ON d.day = s.day AND d.symbol = s.symbol)SELECTday,symbol,SUM(daily_deposits) OVER (PARTITION BY symbol ORDER BY day) AS cumulative_deposits_usdFROM filledORDER BY day, symbol;