Query editor
-- Backgroud:-- - https://twitter.com/klever_io/status/1679267565434986501-- - https://klever.org/en/blog/klever-alert-external-security-incident-- - https://etherscan.io/address/0xaa8b55e21ef3df5f15adf4d0f49d3bfa854e9125-- Get the estimated wallet creation date by catching all following cases-- - Some addresses only received incoming txns but never sent outgoing txns-- - Some addresses only got funded by a internal transfer (internal call)-- - Some addresses only got funded by a ERC20 token transfer (filtered by event)WITHvictims AS (SELECT DISTINCT"from" AS victim_addressFROMethereum.transactionsWHERE"to" = 0xaa8b55e21ef3df5f15adf4d0f49d3bfa854e9125AND block_number >= 17675048AND block_number <= 17677874),all_transactions AS (SELECTaddress,transaction_dateFROM(SELECT"from" AS address,block_time AS transaction_dateFROMethereum.tracesUNION ALLSELECT"to" AS address,block_time AS transaction_dateFROMethereum.traces)UNION ALLSELECTaddress,transaction_dateFROM(SELECT"from" AS address,evt_block_time AS transaction_dateFROMerc20_ethereum.evt_TransferUNION ALLSELECT"to" AS address,evt_block_time AS transaction_dateFROMerc20_ethereum.evt_Transfer))SELECTvictims.victim_address,MIN(all_transactions.transaction_date) AS wallet_creation_date