Query editor
-- This query has been migrated to run on DuneSQL.-- If you need to change back because you’re seeing issues, use the Query History view to restore the previous version.-- If you notice a regression, please email [email protected].WITHeth2_deposits AS (WITHaddresses AS (SELECT"to"FROMethereum."traces"WHERE"from" = 0x4d05e3d48a938db4b7a9a59a802d5b45011bde58AND "success"AND "call_type" = 'call'AND NOT "to" IN (0x3bdc69c4e5e13e52a65f5583c23efb9636b469d6,0xae78736cd615f374d3085123a210448e74fc6393))SELECT"from",SUM("value") / cast(1e18 as double) AS amount,COUNT(*) AS depositsFROMethereum."traces"WHERE"to" = 0x00000000219ab540356cBB839Cbe05303d7705FaAND "success"AND "call_type" = 'call'AND "from" IN (SELECT*FROMaddresses)GROUP BY1ORDER BY1),user_submitted AS (SELECT("value") / cast(1e18 as double) AS amountFROMethereum."transactions"WHERE"to" IN (0x4D05E3d48a938db4b7a9A59A802D5b45011BDe58)AND success = TRUE),node_submitted AS (SELECT"from" AS deposited_nodeoperators,value / cast(1e18 as double) AS amountFROMethereum."transactions"WHERE"to" IN (0xdcd51fc5cd918e0461b9b7fb75967fdfd10dae2f,0xdc9c66155667578179ed82bd17e725aba9dacd09