Pine Analyticskyros.fi copy
    Updated 2025-03-18
    -- forked from kyros.fi @ https://flipsidecrypto.xyz/studio/queries/fcbf5ebd-c51e-4b2c-917a-f8d67896dce4

    with tab1 as (
    SELECT
    date,
    sum(
    case when type like 'mint' then amt else -amt end
    ) as net_supply,
    sum(net_supply) over (order by date) as total_supply

    FROM (
    SELECT
    date(block_timestamp) as date,
    'mint' as type,
    mint_amount / power(10, 9) as amt

    FROM eclipse.defi.fact_token_mint_actions
    where mint like '8jN7xMDqJucigQphWHvqAPQPAmk7VJKKsqLmgCkE7XzP'
    and SUCCEEDED

    UNION all

    SELECT
    date(block_timestamp) as date,
    'burn' as type,
    burn_amount / power(10, 9) as amt

    FROM eclipse.defi.fact_token_burn_actions
    where mint like '8jN7xMDqJucigQphWHvqAPQPAmk7VJKKsqLmgCkE7XzP'
    and SUCCEEDED
    )
    GROUP by 1
    order by date DESC
    )

    SELECT
    Last run: about 1 month ago
    DATE
    NET_SUPPLY
    TOTAL_SUPPLY
    MARKET_CAP
    1
    2025-03-18 00:00:00.000-0.413510698411.77486423761276.217547108
    2
    2025-03-17 00:00:00.0001.2739412.18837493562671.181466992
    3
    2025-03-16 00:00:00.000-99.6878410.91447493564852.577006616
    4
    2025-03-15 00:00:00.000-0.10038510.60227493581096.406316551
    5
    2025-03-14 00:00:00.0002.0979510.70265493576102.356125139
    6
    2025-03-13 00:00:00.000-1.1746508.60475493575179.411850717
    7
    2025-03-12 00:00:00.0001.46575509.77935493575136.37912387
    8
    2025-03-11 00:00:00.0000.4955508.31360493574046.042830881
    9
    2025-03-10 00:00:00.0000.06641507.81810493576271.740270712
    10
    2025-03-09 00:00:00.000-5.756235083507.75169493581887.654600642
    11
    2025-03-08 00:00:00.000-85.72119513.50793001883991.924573394
    12
    2025-03-07 00:00:00.0001.5787599.229120018101638.247191853
    13
    2025-03-06 00:00:00.00019.4787597.650420018104292.986545241
    14
    2025-03-05 00:00:00.0000.77791578.17172001898532.024525468
    15
    2025-03-04 00:00:00.000123.283000001577.39381001894002.599239981
    16
    2025-03-03 00:00:00.0006.1772454.11081001786896.374050803
    17
    2025-03-02 00:00:00.0000.21044447.93361001776030.011296236
    18
    2025-03-01 00:00:00.0000.1889447.72317001775000.346825398
    19
    2025-02-28 00:00:00.000-2.4676447.53427001771442.133194164
    20
    2025-02-27 00:00:00.000-104.3657450.00187001773339.054766021
    92
    6KB
    6s