Query editor
WITHget_addresses as (SELECT*FROMquery_3892368WHERE project = 'eigenlayer'UNION ALL -- steth was removedSELECT0x93c4b944d05dfe6df7645a86cd2206016c51564d as address,'ethereum' as blockchain,'eigenlayer' as project,0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84 as token_address,'stETH' as token_symbol,18 as token_decimals,'LST' as token_typeUNION ALLSELECT0xacb55c530acdb2849e6d4f36992cd8c9d50ed8f7 as address,'ethereum' as blockchain,'eigenlayer' as project,0xec53bF9167f50cDEB3Ae105f56099aaaB9061F83 as token_address,'EIGEN' as token_symbol,18 as token_decimals,'ERC20' as token_type),erc20_tfers as (SELECT*,ROW_NUMBER() OVER (PARTITION BY evt_tx_hash ORDER BY evt_index) as index_rankFROMerc20_ethereum.evt_transferWHERE evt_block_time >= DATE '2023-01-01'AND "from" IN (SELECT address FROM get_addresses)AND contract_address IN (SELECT token_address FROM get_addresses)AND to != 0xec53bF9167f50cDEB3Ae105f56099aaaB9061F83 -- exclude withdrawals to EIGEN contract (bEIGEN gets sent first)),withdrawal_queues as (SELECTdepositor,withdrawer,withdrawalRootFROMeigenlayer_ethereum.StrategyManager_evt_WithdrawalQueued),new_withdrawals AS (SELECTevt_tx_hash,evt_block_time,withdrawal,from_hex(json_extract_scalar(withdrawal, '$.withdrawer')) AS withdrawer,from_hex(json_extract_scalar(withdrawal, '$.staker')) AS depositor,cast(json_extract(withdrawal, '$.strategies') AS array(varchar)) AS strategies,