Query editor
select * from dune.blocklytics.result_eigenlayer_lst_withdrawals-- WITH-- get_addresses as (-- SELECT-- *-- FROM-- query_3892368-- WHERE project = 'eigenlayer'-- UNION ALL -- steth was removed-- SELECT-- 0x93c4b944d05dfe6df7645a86cd2206016c51564d as address,-- 'ethereum' as blockchain,-- 'eigenlayer' as project,-- 0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84 as token_address,-- 'stETH' as token_symbol,-- 18 as token_decimals,-- 'LST' as token_type-- UNION ALL-- SELECT-- 0xacb55c530acdb2849e6d4f36992cd8c9d50ed8f7 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_rank-- FROM-- erc20_ethereum.evt_transfer-- WHERE 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 (-- SELECT-- depositor,-- withdrawer,-- withdrawalRoot-- FROM-- eigenlayer_ethereum.StrategyManager_evt_WithdrawalQueued-- ),-- new_withdrawals AS (-- SELECT-- evt_tx_hash,-- evt_block_time,