Query editor
-- Laso revenue paid into the $LASO treasury (on-chain)-- Since the MetaDAO ICO (2026-07-07) Laso sends its daily revenue in USDC from its Solana deposit-- address to the $LASO treasury. This sums those transfers on-chain, by week.-- Scans tokens_solana.transfers directly (independent of Laso's view), so it runs to the last full week.WITH w AS (SELECTCAST(date_trunc('week', block_date) AS date) AS week_start,SUM(amount_usd) AS revenue,COUNT(*) AS transfersFROM tokens_solana.transfersWHERE block_date >= DATE '2026-07-01'AND to_owner = 'DsrBwJXCtMAdPJVuFR4rAdxKp5M6M3FDvxsGwoLAF2QZ'AND from_owner IN ('3MZVk97x9SeRxbYpc3jhzRfU2fyA3emYutnqfn9kNfYX', '8P9JiLTZSUZEhaBNPabrqVjKC9brZ87FJhhxNdVNabSq', 'Cdhj6FBJjaAbQZXP4RDaq7hCBZdcbundLtq1QiH4H9zc')AND symbol = 'USDC'AND block_date < CAST(date_trunc('week', current_date) AS date) -- drop the in-progress weekGROUP BY 1)SELECTweek_start,ROUND(revenue, 0) AS revenue_to_treasury,transfers,ROUND(SUM(revenue) OVER (ORDER BY week_start), 0) AS cumulative_revenue_to_treasuryFROM wORDER BY 1