MoDeFiPolygon memes - tokens trades
    Updated 2025-03-28
    with tokens_supply as (
    select *
    from $query('ad651c06-e8bf-46b0-8491-3db499ad0b81')
    ),

    participants_contracts_list as (
    select *
    from $query('75f58bb3-b2cd-4208-85e9-e3d75d901a1c')
    ),

    all_contracts_list as (
    select *
    from $query('22c3bdd1-3720-4594-bcd6-e14a9c76d781')
    ),

    polygon_dexs_swaps as (
    select BLOCK_TIMESTAMP, TX_HASH, ORIGIN_FUNCTION_SIGNATURE, ORIGIN_FROM_ADDRESS, ORIGIN_TO_ADDRESS,
    AMOUNT_IN_UNADJ, AMOUNT_IN, AMOUNT_IN_USD, AMOUNT_OUT_UNADJ, AMOUNT_OUT, AMOUNT_OUT_USD, PLATFORM,
    TOKEN_IN, TOKEN_OUT, SYMBOL_IN, SYMBOL_OUT
    from polygon.defi.ez_dex_swaps
    where (TOKEN_IN in (select contract from all_contracts_list) or TOKEN_OUT in (select contract from all_contracts_list))
    and BLOCK_TIMESTAMP::date>='2024-09-01'
    ),

    swaps_with_one_price AS (
    select
    DATE_TRUNC('hour', block_timestamp) as hour,
    token_in as token_address,
    symbol_in as symbol,
    coalesce(amount_out_usd,amount_out*PRICE) as value,
    amount_in as token_amount,
    value/token_amount as token_price
    from polygon_dexs_swaps a
    left join polygon.price.ez_prices_hourly c
    on hour=date_trunc(hour,BLOCK_TIMESTAMP) and c.TOKEN_ADDRESS=token_out
    join all_contracts_list b
    Last run: 2 months ago
    DATE
    Type
    TXS
    TRADERS
    VOLUME_USD
    TRADERS_7D
    1
    2025-03-10 00:00:00.000Other Tokens7103321681467257.911775280
    2
    2024-09-02 00:00:00.000Other Tokens94222825527496616.71350980
    3
    2025-01-13 00:00:00.000Other Tokens3908454624711548.886315240
    4
    2024-12-23 00:00:00.000Other Tokens66098833412231017.99120630
    5
    2025-03-24 00:00:00.000Other Tokens3405522211670310.941010882221
    6
    2024-11-04 00:00:00.000Other Tokens219366449080341961.91932230
    7
    2025-03-17 00:00:00.000Campaign Participants6747139041422.964392442464
    8
    2024-12-02 00:00:00.000Other Tokens101186674162561755.12503540
    9
    2025-03-10 00:00:00.000Campaign Participants116232220100022.5830445680
    10
    2024-10-21 00:00:00.000Other Tokens195532396082254635.17140090
    11
    2025-02-03 00:00:00.000Campaign Participants257532947287563.9135557280
    12
    2024-09-30 00:00:00.000Other Tokens152972407030291375.94986850
    13
    2024-12-09 00:00:00.000Other Tokens62512595914125522.18568720
    14
    2024-11-18 00:00:00.000Other Tokens1147408032123207180.9614330
    15
    2025-01-27 00:00:00.000Campaign Participants167311491151045.2951610030
    16
    2025-02-24 00:00:00.000Other Tokens7604023606198367.386482520
    17
    2024-12-16 00:00:00.000Other Tokens96174727029160549.61809440
    18
    2024-11-25 00:00:00.000Other Tokens90342696949332186.59864680
    19
    2024-09-16 00:00:00.000Other Tokens122476410825932039.39676650
    20
    2024-11-11 00:00:00.000Other Tokens152300689981985114.16160760
    40
    3KB
    3s