zakkisyedNew Curve users using swap on Curve
    Updated 2022-01-08
    select count (distinct(e1.from_address))
    --e2.pool_name, e2.platform
    from
    (
    select *
    from (

    select distinct(from_address), min(block_timestamp) as earliest_date
    from ethereum.udm_events
    where contract_address = '0xd533a949740bb3306d119cc777fa900ba034cd52'
    group by 1
    order by 2 desc
    )
    where earliest_date >= CURRENT_DATE - 90
    --group by 1
    --order by 1 desc

    ) as e1
    INNER JOIN ethereum.dex_swaps as e2
    ON e1.from_address = e2.from_address

    where e2.platform = 'curve'

    Run a query to Download Data