SocioAnalyticatxns based on different pool
    Updated 2025-02-09
    SELECT
    date_trunc('week', block_timestamp) as date,
    substr(address_name,16) as pool,
    count(DISTINCT origin_from_address) as DAU,
    count(DISTINCT tx_hash) as n_txns
    FROM avalanche.core.ez_decoded_event_logs a
    JOIN avalanche.core.dim_labels b ON a.contract_address = b.address
    where b.project_name ilike '%beefy%'
    AND b.label_subtype = 'pool'
    AND date >= dateadd('month', -12, current_date)
    GROUP BY date, pool
    qualify row_number () over (partition by date order by n_txns DESC) <= 10




    Last run: 3 months ago
    DATE
    POOL
    DAU
    N_TXNS
    1
    2024-02-26 00:00:00.000pangolin png450550910
    2
    2024-02-26 00:00:00.000stargate usdc lp1697140760
    3
    2024-02-26 00:00:00.000bankerjoe weth.e551636188
    4
    2024-02-26 00:00:00.000stargate usdt lp1547435231
    5
    2024-02-26 00:00:00.000bankerjoe usdt.e547519844
    6
    2024-02-26 00:00:00.000bankerjoe usdc.e499017786
    7
    2024-02-26 00:00:00.000gmx gmx11044285
    8
    2024-02-26 00:00:00.000bankerjoe mim13853365
    9
    2024-02-26 00:00:00.000bankerjoe link.e8743065
    10
    2024-02-26 00:00:00.000traderjoe lost-avax lp1121247
    11
    2024-05-06 00:00:00.000bankerjoe weth.e379320756
    12
    2024-05-06 00:00:00.000stargate usdc lp648415927
    13
    2024-05-06 00:00:00.000pangolin png212512099
    14
    2024-05-06 00:00:00.000stargate usdt lp446311392
    15
    2024-05-06 00:00:00.000bankerjoe usdc.e344610698
    16
    2024-05-06 00:00:00.000bankerjoe usdt.e33779074
    17
    2024-05-06 00:00:00.000gmx gmx7404019
    18
    2024-05-06 00:00:00.000bankerjoe mim5891565
    19
    2024-05-06 00:00:00.000bankerjoe link.e4511316
    20
    2024-05-06 00:00:00.000curve dai/usdc/usdt4701080
    ...
    520
    28KB
    9s