Query editor
-- stonkbox on Base, contract 0x515a693fc474b2344a9a07f4962ef33ffc253447, from block 51277954with buyers as (select bytearray_substring(topic1, 13, 20) as buyer, min(block_time) as first_buyfrom base.logswhere contract_address = 0x515a693fc474b2344a9a07f4962ef33ffc253447 and topic0 = 0x793212bc54a93b64ad49d45a9d02304eb16c908134ea23af900d90d8bffb8783 and block_number >= 51277954group by 1)select date_trunc('day', first_buy) as day, count(*) as new_buyers, sum(count(*)) over (order by date_trunc('day', first_buy)) as total_buyersfrom buyersgroup by 1order by 1