freemartianTop 20 Affected Addresses
    Updated 2023-06-04
    -- forked from ALL top Affected addresses @ https://flipsidecrypto.xyz/edit/queries/bf57070c-e1ca-4405-bb52-95ba6c4db3ff

    -- forked from Top Affected Addresses @ https://flipsidecrypto.xyz/edit/queries/ee98d2e5-230c-4153-b54a-1731c0c36f84

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

    with total as (
    select
    from_address,
    sum(amount) as Stolen_Fund,
    sum(amount * token_price) 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) as Stolen_Fund,
    sum(amount * token_price) 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'
    Run a query to Download Data