Query editor
-- Beigen unstaking queue with cumulative 7-day flowsWITHUnstaking_Queue_Events AS (SELECTDATE_TRUNC('day', block_time) AS date,tx_hash,bytearray_to_uint256(bytearray_substring(data, 385, 32)) / 1e18 AS beigen_requestedFROMethereum.logsWHEREtopic0 = 0x9009ab153e8014fbfb02f2217f5cde7aa7f9ad734ae85ca3ee3f4ca2fdd499f9 -- WithdrawalQueued EventAND bytearray_substring(data, 333, 20) = 0xaCB55C530Acdb2849e6d4f36992Cd8c9D50ED8F7 -- bEigen strategy transactionsAND block_time >= TRY_CAST('2024-09-13' AS TIMESTAMP)ORDER BYblock_time DESC)SELECTdate,SUM(beigen_requested) AS daily_withdrawal_requests,SUM(SUM(beigen_requested)) OVER (ORDER BY date ASC ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS cumulative_requests,SUM(SUM(beigen_requested)) OVER (ORDER BY date ASCROWS BETWEEN 6 PRECEDING AND CURRENT ROW) AS Rolling_7D_Requests -- how much is sitting on the queueFROMUnstaking_Queue_EventsGROUP BYdateORDER BYdate DESC;