Query editor
WITH staker_addresses AS (SELECTaddressFROM query_4128013), User_Unstaking_Queue_Events AS (SELECTDATE_TRUNC('day', block_time) AS date,tx_hash,CASEWHEN bytearray_substring(data, 77, 20) NOT IN (SELECT address FROM staker_addresses)THEN bytearray_to_uint256(bytearray_substring(data, 385, 32)) / 1e18ELSE 0END AS beigen_requested,bytearray_substring(data, 77, 20) AS unstakerFROMethereum.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_user_withdrawal_requests,SUM(SUM(beigen_requested)) OVER (ORDER BY date ASC ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS cumulative_user_requests,SUM(SUM(beigen_requested)) OVER (ORDER BY date ASCROWS BETWEEN 6 PRECEDING AND CURRENT ROW) AS Rolling_7D_User_Requests -- how much is sitting on the queueFROMUser_Unstaking_Queue_EventsGROUP BYdateORDER BYdate DESC;