Query editor
-- Robinhood Chain Lighter silo: deposit vault flows-- vault = 0x94bAB9693Ba2f6358507eFfcbd372b0660AFfF9d (ZkLighter proxy)-- USDG = 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168---- COMPLETE UTC DAYS ONLY. `block_date < current_date` drops the day in progress.-- Without it the final bar is a few hours of activity plotted against full days,-- which reads as a crash in depositors and understates the TVL line. Dune's-- session timezone is UTC, so current_date is the UTC day.WITH f AS (SELECTblock_date,"to" = 0x94bAB9693Ba2f6358507eFfcbd372b0660AFfF9d AS is_deposit,CASE WHEN "to" = 0x94bAB9693Ba2f6358507eFfcbd372b0660AFfF9d THEN "from" END AS depositor,CASE WHEN "to" = 0x94bAB9693Ba2f6358507eFfcbd372b0660AFfF9d THEN amount ELSE -amount END AS signed_amtFROM tokens.transfersWHERE blockchain = 'robinhood'AND block_month >= DATE '2026-06-01'AND block_date < current_dateAND contract_address = 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168AND ("to" = 0x94bAB9693Ba2f6358507eFfcbd372b0660AFfF9dOR "from" = 0x94bAB9693Ba2f6358507eFfcbd372b0660AFfF9d))SELECTblock_date,count(DISTINCT depositor) AS depositors,sum(CASE WHEN is_deposit THEN signed_amt ELSE 0 END) AS deposits_usdg,sum(CASE WHEN NOT is_deposit THEN -signed_amt ELSE 0 END) AS withdrawals_usdg,sum(signed_amt) AS net_flow_usdg,sum(sum(signed_amt)) OVER (ORDER BY block_date) AS tvl_usdgFROM fGROUP BY 1ORDER BY 1