vendettapopularest token on osmosis copy
    Updated 2023-02-23
    -- forked from 6a740dc6-ca54-45a7-bb0c-2ea7a76bfa33

    -- forked from 17da2dd4-e5e0-4711-a4f9-646c328a0c4c
    -- forked from 17da2dd4-e5e0-4711-a4f9-646c328a0c4c
    with
    minuary as (
    select
    currency,
    project_name as symbol,
    min(block_timestamp) as t
    from
    osmosis.core.fact_transfers ft
    inner join osmosis.core.dim_tokens dt on dt.address = ft.currency
    where
    currency not like '%pool%'
    and block_timestamp >= '2022-12-01'
    and transfer_type = 'OSMOSIS'
    group by
    1,
    2
    order by
    3 desc
    ),
    olde as (
    select
    currency,
    project_name as symbol,
    min(block_timestamp) as t
    from
    osmosis.core.fact_transfers ft
    inner join osmosis.core.dim_tokens dt on dt.address = ft.currency
    where
    currency not like '%pool%'
    and block_timestamp < '2022-12-01'
    and transfer_type = 'OSMOSIS'
    group by
    Run a query to Download Data