nasdfajsklj2024-05-06 MM Swaps
    Updated 2024-05-06




    with data as (
    select
    block_timestamp::date as date
    , date_trunc('week', block_timestamp)::date as week
    ,'ETH' as chain
    , amount_usd
    , origin_to_address
    from ethereum.core.ez_token_transfers
    where 1=1
    and to_address in (
    lower('0x881d40237659c251811cec9c364ef91dc08d300c')
    )
    and block_timestamp::date > '2024-02-26'
    and symbol not in ('Shiba 2.0')

    --native tables
    UNION ALL
    select
    block_timestamp::date as date
    ,date_trunc('week', block_timestamp)::date as week
    ,'ETH' as chain
    , amount_usd
    , origin_to_address
    from ethereum.core.ez_native_transfers
    where 1=1
    and to_address in (
    lower('0x6460D14DbAeb27AEfec8eBeF85dB35DefA31c3b9')
    )
    and block_timestamp::date > '2024-02-26'



    QueryRunArchived: QueryRun has been archived