Query editor
WITH token_transfers AS (SELECTdate_trunc('day', l.block_time) AS day,from_hex(substr(CAST(l.topic1 AS varchar), 27)) AS from_address,bytearray_to_uint256(from_hex(CAST(l.topic3 AS varchar))) AS token_idFROM base.logs lJOIN base.transactions tON l.tx_hash = t.hashWHERE l.contract_address = from_hex('da3983e1ea25051b242ec0df4acf18e68d08a212')AND l.topic0 = from_hex('ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef')AND t.success = TRUE),mints AS (SELECTday,COUNT(DISTINCT token_id) AS nfts_mintedFROM token_transfersWHERE from_address = from_hex('0000000000000000000000000000000000000000')GROUP BY day)SELECTday,nfts_minted,SUM(nfts_minted) OVER (ORDER BY day) AS cumulative_nftsFROM mintsORDER BY day;