Query editor
with markets as(select fixedProductMarketMakerfrom polymarketfactory_polygon.FixedProductMarketMakerFactory_evt_FixedProductMarketMakerCreationwhere collateralToken = 0x2791bca1f2de4661ed88a30c99a7a9449aa84174),all_trd as(select tx_hash, block_time, substr(topic1, 13, 20) as userfrom polygon.logsjoin markets on contract_address = fixedProductMarketMakerwhere topic0 in (0x4f62630f51608fc8a7603a9391a5101e58bd7c276139366fc107dc3b67c3dcf8, 0xadcf2a240ed9300d681d9a3f5382b6c1beed1b7e46643e0c7b42cbe6e2d766b4)and block_number > 4023679union allselect evt_tx_hash, evt_block_time, makerfrom polymarket_polygon.CTFExchange_evt_OrderFilledunion allselect evt_tx_hash, evt_block_time, takerfrom polymarket_polygon.CTFExchange_evt_OrderFilledunion allselect evt_tx_hash, evt_block_time, makerfrom polymarket_polygon.NegRiskCtfExchange_evt_OrderFilledunion allselect evt_tx_hash, evt_block_time, takerfrom polymarket_polygon.NegRiskCtfExchange_evt_OrderFilled),T1 AS(SELECTMIN(block_time) AS Dote,userFROM all_trdGROUP BY2),New_users AS(SELECTCOUNT(*) AS "New users",DATE_TRUNC('day', Dote) AS dateFROM T1GROUP BY 2),