Query editor
-- Top BingoChain players by arenas joined / wonWITH joined AS (SELECT bytearray_substring(topic2, 13, 20) AS player, count(distinct topic1) AS arenas_joinedFROM celo.logsWHERE contract_address = 0x8bE7c07CCF9FF515d82D4c36aB4EB937941432f1AND topic0 = 0x267de9464a1783407eb0e8ba56bcd59ef059648e576c0703bfd6a3b84355e831AND block_date >= DATE '2026-06-01'GROUP BY 1),won AS (SELECT bytearray_substring(topic2, 13, 20) AS player, count(distinct topic1) AS arenas_wonFROM celo.logsWHERE contract_address = 0x8bE7c07CCF9FF515d82D4c36aB4EB937941432f1AND topic0 = 0x193bd1cc19fc3ccd521c9900b99068933fe83e08c84234beddf1f09c9727fafdAND block_date >= DATE '2026-06-01'GROUP BY 1)SELECT j.player, j.arenas_joined, coalesce(w.arenas_won, 0) AS arenas_wonFROM joined jLEFT JOIN won w ON j.player = w.playerORDER BY j.arenas_joined DESC, arenas_won DESCLIMIT 25