freemartianAll Affected Addresses
    Updated 2023-06-04
    -- forked from Distinct Count @ https://flipsidecrypto.xyz/edit/queries/3e0085bb-c523-4105-ba5c-ad0fcb70190d

    -- forked from All affected addresses @ https://flipsidecrypto.xyz/edit/queries/dfe5f22d-5aec-473f-9ac6-5c58db21b858

    -- forked from Affected Addresses @ https://flipsidecrypto.xyz/edit/queries/4b283cb4-2353-4f5b-8192-4cb0fb159c4c

    select
    from_address,
    sum(amount_usd) as stolen_fund_usd,
    Symbol as Token,
    case
    when block_timestamp BETWEEN '2023-05-30 16:35:00' and '2023-06-01 05:00:00' then 'Pika Protocol'
    when block_timestamp >= '2023-06-01 05:00:00' then 'Orbiter finance'
    end as Protocol,
    'Optimism' as Network
    from optimism.core.ez_token_transfers
    where to_address in (
    '0x2162b6caa174b90416090bd4a87e7d08f7027c48',
    '0x9fa7bb759641fcd37fe4ae41f725e0f653f2c726',
    '0x29b32f1320e2e78fa66a92e5114a125e68e75e88')
    and block_timestamp > '2023-05-30 04:50:00'
    group by symbol, Network,from_address, protocol

    UNION

    select
    from_address,
    sum(amount_usd) as stolen_fund_usd,
    Symbol as Token,
    case
    when block_timestamp BETWEEN '2023-05-30 16:35:00' and '2023-06-01 05:00:00' then 'Pika Protocol'
    when block_timestamp >= '2023-06-01 05:00:00' then 'Orbiter finance'
    end as Protocol,
    'Arbitrum' as Network
    from arbitrum.core.ez_token_transfers
    Run a query to Download Data