pietrektDeterministic Rune Price
    Updated 20 hours ago
    with init AS (
    SELECT to_date(block_timestamp) as day
    from thorchain.core.dim_block
    where day > '2021-04-10 00:00:00.000'
    group by day
    ),

    supply_changes AS ( SELECT
    to_date(block_timestamp) as day
    ,
    CASE
    WHEN supply = 'burn' and reason = 'swap' then -asset_e8 / 1e8
    WHEN supply = 'mint' and reason = 'swap' then asset_e8 / 1e8
    ELSE 0
    END as lending_change9,

    CASE
    WHEN supply = 'burn' and reason = 'adr' then -asset_e8 / 1e8
    ELSE 0
    END as adr129,

    CASE
    WHEN supply = 'burn' and reason = 'burn_system_income' then -asset_e8 / 1e8
    ELSE 0
    END as adr179

    FROM thorchain.defi.fact_mint_burn_events
    where asset = 'THOR.RUNE'
    ),


    killswitch AS (
    SELECT a.day,
    COALESCE(lending_change9, 0) as lending_change9,
    COALESCE(adr179, 0) as adr179,
    COALESCE(adr129, 0) as adr129,
    Last run: about 20 hours agoAuto-refreshes every 24 hours
    DAY
    RUNE_PRICE
    DETERMINISTIC_RUNE_PRICE
    1
    2025-04-25 00:00:00.0001.38250.5879804705
    2
    2025-04-24 00:00:00.0001.313750.5965333619
    3
    2025-04-23 00:00:00.0001.3066666670.5753629508
    4
    2025-04-22 00:00:00.0001.2533333330.5779639952
    5
    2025-04-21 00:00:00.0001.2308333330.5413352166
    6
    2025-04-20 00:00:00.0001.1795833330.5326790873
    7
    2025-04-19 00:00:00.0001.1529166670.525169397
    8
    2025-04-18 00:00:00.0001.136250.5160278741
    9
    2025-04-17 00:00:00.0001.130.5152705512
    10
    2025-04-16 00:00:00.0001.1119166670.5109757101
    11
    2025-04-15 00:00:00.0001.1391666670.506417961
    12
    2025-04-14 00:00:00.0001.1633333330.5188238241
    13
    2025-04-13 00:00:00.0001.16250.5158360611
    14
    2025-04-12 00:00:00.0001.1433333330.5301311264
    15
    2025-04-11 00:00:00.0001.1057083330.5086969247
    16
    2025-04-10 00:00:00.0001.0897083330.4900375141
    17
    2025-04-09 00:00:00.0001.0343909170.508294678
    18
    2025-04-08 00:00:00.0001.0405404580.4632032878
    19
    2025-04-07 00:00:00.0001.0179304170.4803600893
    20
    2025-04-06 00:00:00.0001.0743469580.4815860114
    ...
    1453
    74KB
    12s