Afonso_DiazTotal copy
    Updated 2025-03-30
    with

    main as (
    select
    tx_hash,
    block_timestamp,
    origin_from_address as user,
    a.contract_address as token_address,
    iff(from_address = origin_to_address, 'Deposit', 'Withdraw') as event_name,
    a.symbol,
    a.amount,
    a.amount_usd
    from
    boba.core.ez_token_transfers a
    where
    origin_to_address = '0x54ecc8832b65c2db0c53235cde94991c5cdcabf9'
    and origin_to_address in (from_address, to_address)
    and tx_hash in (select distinct tx_hash from boba.core.ez_token_transfers where contract_address = lower('0x54ecc8832B65C2DB0c53235cdE94991C5CdCAbf9'))
    )

    select * from main limit 1000


    QueryRunArchived: QueryRun has been archived