Ali3NDaily Net Flow TVL rsAVAX TVL & Users (stablejack v2 rsAVAX )
    Updated 2 hours ago
    with pricet as (
    select hour::date as day,
    avg (price) as USDPrice
    from avalanche.price.ez_prices_hourly
    where token_address = '0xdf788ad40181894da035b827cdf55c523bf52f67'
    group by 1),

    Mintt as (
    select 'Mint' as action,
    block_timestamp,
    tx_hash,
    origin_from_address,
    contract_address as pool_address,
    concat('0x',substr(data,27,40)) as owner,
    livequery.utils.udf_hex_to_int(concat('0x',substr(data,27+1*64,40))) as Minted_YT,
    livequery.utils.udf_hex_to_int(concat('0x',substr(data,27+2*64,40))) as Minted_VT,
    concat('0x',substr(topics[2],27+1* 0,40)) as token
    from avalanche.core.fact_event_logs
    where topics[0] = '0xac903ad8fe2e7a6d229683df0f465af874089964b0ea74e096f95d106cd333b7'
    and topics[1] = '0xff6c677ae791aaee8dffde40cc8cbc6abf7c9a50914ac3d196a697b8d3807a4e'),

    Redeemt as (
    select 'Redeem' as action,
    block_timestamp,
    tx_hash,
    origin_from_address,
    contract_address as pool_address,
    concat('0x', substr(data,27,40)) as owner,
    livequery.utils.udf_hex_to_int(concat('0x',substr(data,27+1* 64,40))) as Redeem_Volume,
    concat('0x',substr(topics[2],27+1* 0,40)) as token,
    origin_to_address
    from avalanche.core.fact_event_logs
    where topics[0] = '0xdd8b8dbb53fec7033579b7466dc8fd28b088f5b31bca605ca8fa24a570e366ca'
    and topics[1] = '0xff6c677ae791aaee8dffde40cc8cbc6abf7c9a50914ac3d196a697b8d3807a4e'),

    Mintt1 as (
    Last run: about 2 hours agoAuto-refreshes every 24 hours
    DATE
    DAILY_NET_FLOW
    CUMULATIVE_NET_FLOW
    NET_FLOW_DAILY
    TVL
    1
    2025-04-07 00:00:00.000-140.96622232614285.874274211-2670.816531309270667.316936332
    2
    2025-04-06 00:00:00.000-352.69513044714426.840496537-7242.888416345296267.191963471
    3
    2025-04-05 00:00:00.000-457.7612350614779.535626985-9906.334594393319841.467247634
    4
    2025-04-04 00:00:00.000-586.07285875615237.296862044-12730.967674331330992.18108576
    5
    2025-04-03 00:00:00.000-98.76695325115823.369720801-2150.485795453344527.503387566
    6
    2025-04-02 00:00:00.000-44.70818688515922.136674052-1031.734554432367436.474871813
    7
    2025-04-01 00:00:00.000-4063.93188423415966.844860937-93820.947462396368614.572170804
    8
    2025-03-31 00:00:00.000-17.18902926320030.776745171-384.883851489448514.129795307
    9
    2025-03-30 00:00:00.00093.33278119520047.9657744342161.781655781464352.653931256
    10
    2025-03-29 00:00:00.000-112.34287249119954.632993239-2685.275509709476965.615120886
    11
    2025-03-28 00:00:00.000-191.35940775220066.975865729-4739.334665327496992.102274564
    12
    2025-03-27 00:00:00.000-111.63807049420258.335273481-2931.290120144531924.797470409
    13
    2025-03-26 00:00:00.000-365.77411509620369.973343976-9843.133843121548164.470175283
    14
    2025-03-25 00:00:00.000163.32776584820735.7474590724314.983467227547821.168079135
    15
    2025-03-24 00:00:00.000-5.65185581720572.419693224-143.090859643520842.235583206
    16
    2025-03-23 00:00:00.00025.76013817120578.071549041599.738950186479091.802447593
    17
    2025-03-22 00:00:00.000125.90362145320552.311410872914.773756328475803.136087818
    18
    2025-03-21 00:00:00.000206.35242955620426.4077894174617.995413104457125.984320657
    19
    2025-03-20 00:00:00.000-0.730789881520220.055359861-16.580404429458759.356022977
    20
    2025-03-19 00:00:00.000-28.67348876820220.786149742-659.358821514464985.402840889
    66
    6KB
    47s