Query editor
-- XMAQUINA / DEUS dashboard chart query-- Generated by Codex on 2026-05-20.-- Chain: Base.WITH wave_summary AS (SELECT * FROM (VALUES('Wave 1.5', 12499782.0, 499991.28, 0.0, 223, 273),('Wave 2', 22222222.0, 999999.99, 0.0, 259, 388),('Wave 3', 60000000.0, 3000000.00, 0.0, 285, 356),('Community Launch', 54164969.0, 3045898.14, 190400.0, 661, 782)) AS t(wave, deus_amount, payment_usdc, payment_virtuals, unique_buyers, tx_count)), totals AS (SELECT SUM(deus_amount) AS total_deus, SUM(payment_usdc) AS total_usdc, SUM(payment_virtuals) AS total_virtuals FROM wave_summary)SELECTw.wave,w.deus_amount,w.payment_usdc,w.payment_virtuals,w.unique_buyers,w.tx_count,w.deus_amount / t.total_deus AS deus_share,w.payment_usdc / NULLIF(t.total_usdc, 0) AS usdc_shareFROM wave_summary wCROSS JOIN totals tORDER BY deus_amount DESC;