Query editor
WITHtime_seq AS (SELECTsequence(CAST('2024-06-18' AS timestamp), -- Start datedate_trunc('day', CAST(now() AS timestamp)), -- Today's date, truncated to start of the dayinterval '1' day) AS time),days AS (SELECTday_grouped.time AS day_groupedFROMtime_seq,UNNEST(time_seq.time) AS day_grouped(time) -- Clearer aliasing for the unnested column),actions AS (SELECTevt_block_time as block_date,evt_block_number as block_number,evt_tx_hash as tx_hash,0 as eigen_ultraeth_out,0 as symbiotic_net,value/1e18 as eigen_net,value/1e18 as eigen_ultraeth_in,0 as s_ultraeth_in,0 as s_ultraeth_out,'Mint ultraETH' as action_type,to as addressFROMerc20_ethereum.evt_TransferWHEREcontract_address = 0xcbc632833687dacdcc7dfac96f6c5989381f4b47AND "from" = 0x0000000000000000000000000000000000000000UNION ALLSELECTevt_block_time as block_date,evt_block_number as block_number,evt_tx_hash as tx_hash,-(value/1e18) as eigen_ultraeth_out,0 as symbiotic_net,-(value/1e18) as eigen_net,0 as eigen_ultraeth_in,0 as s_ultraeth_in,0 as s_ultraeth_out,'Burn ultraETH' as action_type,"from" as addressFROMerc20_ethereum.evt_TransferWHEREcontract_address = 0xcbc632833687dacdcc7dfac96f6c5989381f4b47AND to = 0x0000000000000000000000000000000000000000UNION ALLSELECTevt_block_time as block_date,