Query editor
WITHWithdrawals_FirstBatch AS (SELECTDATE_TRUNC('day', block_time) AS withdrawal_day,bytearray_to_uint256 (bytearray_substring (data, 385, 32)) / 1e18 AS ether_transferredFROMethereum.logsWHEREtopic0 = 0x9009ab153e8014fbfb02f2217f5cde7aa7f9ad734ae85ca3ee3f4ca2fdd499f9 -- WithdrawalQueued EventAND block_time >= TRY_CAST('2024-04-10' AS TIMESTAMP)AND bytearray_substring (data, 333, 20) NOT IN(0xacb55c530acdb2849e6d4f36992cd8c9d50ed8f7,0x99A05F4e3Fa886A5104630e8a4b01159867ad9a1,0x8fEb56C8802Bda01F3cC1802D44f6Cb469Ac9B22,0x6075546538c3eFbD607ea6aFC24149fCcFb2edF4,0x73a18a6304D05B495ecb161Dbf1ab496461bBf2e,0x1Fc0DB099E3452b6c20027578CA57722815df98f,0xC9ad499c11677Ea3815984295Dd73c0858757B8E,0x7AA0B2618daeCdCC3a8D74489c9a601204e1e4B7,0x01F3BE8090C3f3A273c9Cd598d8CFc94854A45dd,0xca18116F8Ed9081501B14C6aF3a7748E52b0E99E,0x6c6E8aF98a49bBaBCc17ca1dbA6b95c5D58A2ccb,0x752c665ae29bf52F3a162a944AE26882d03321e3,0x71cB984BbcbaE0E85c8d59dB131246FA694e100D,0x505241696AB63FaEC03ed7893246DE52EB1A8CFF,0x0858616B1a07B7c925Ba7E8F9a33475887db3A36,0x7251e23983643eAB81E17e4f851c4E01ecAFD882,0xa33600c9B9C2A4585B5A2cecD5b10d0330Cde9A2,0x2cB2201DF702B01Fec173fDe6756496aebE546F4,0x66ea956907F7ed2FD816106f2f4d8c384c6d4f92,0xa553a8198e0692b4393Ac2F64bd2E42A2061c1C5,0xB8312B0B13dC1925B6aa2dEBB432B4C3B93b1Dab,0xEB6CC669971d5310bEA32291d5d2087474D710ec,0x0650435080A9C606F92b2996c5D5e9554A713898,0x74acF103148e183C87Ed24Ae1d2b3b2C6654Fc0a,0xdd24550e754e63d16d07881D16D88328D9EE3382,0xAD855d1E5DBbffcBF3249209dA28BeB9a8259fFE) -- Excluding Eigen strategy transactions-- txs from EigenPie always interact with this contract here 0x59514391133821b9d5cab6b91c3a9bc02038fb55, we can consider it as a proxyAND bytearray_substring (data, 77, 20) != 0x59514391133821b9d5cab6b91c3a9bc02038fb55 -- excluding EigenPie txsAND bytearray_to_uint256 (bytearray_substring (data, 385, 32)) / 1e18 < 10000000ORDER BYblock_time DESC),Withdrawals_EigenPie AS (SELECTDATE_TRUNC('day', block_time) AS withdrawal_day,-- batch withdrawal requests, we can look at the last 8 rows from the WithdrawalQueued event and sum it to get the cumulative transferred valuebytearray_to_uint256 (bytearray_substring (data, 609, 32)) / 1e18 +bytearray_to_uint256 (bytearray_substring (data, 641, 32)) / 1e18 +bytearray_to_uint256 (bytearray_substring (data, 673, 32)) / 1e18 +bytearray_to_uint256 (bytearray_substring (data, 705, 32)) / 1e18 +bytearray_to_uint256 (bytearray_substring (data, 737, 32)) / 1e18 +bytearray_to_uint256 (bytearray_substring (data, 769, 32)) / 1e18 +bytearray_to_uint256 (bytearray_substring (data, 801, 32)) / 1e18 +bytearray_to_uint256 (bytearray_substring (data, 833, 32)) / 1e18 AS ether_transferredFROMethereum.logsWHEREtopic0 = 0x9009ab153e8014fbfb02f2217f5cde7aa7f9ad734ae85ca3ee3f4ca2fdd499f9 -- WithdrawalQueued Event