Ali3NDaily Net Flow TVL rsAVAX TVL & Users (stablejack v2 rsAVAX )
    Updated 4 days 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: 4 days agoAuto-refreshes every 24 hours
    DATE
    DAILY_NET_FLOW
    CUMULATIVE_NET_FLOW
    NET_FLOW_DAILY
    TVL
    1
    2025-04-09 00:00:00.000-45.8657865714237.76564727-910.000138452282484.389324664
    2
    2025-04-08 00:00:00.000-2.65967727714283.631433841-53.898360026289457.79100678
    3
    2025-04-07 00:00:00.000-140.54938541914286.291111118-2689.880987947273415.801381613
    4
    2025-04-06 00:00:00.000-352.69513044714426.840496537-7242.888416345296267.191963471
    5
    2025-04-05 00:00:00.000-457.7612350614779.535626985-9906.334594393319841.467247634
    6
    2025-04-04 00:00:00.000-586.07285875615237.296862044-12730.967674331330992.18108576
    7
    2025-04-03 00:00:00.000-98.76695325115823.369720801-2150.485795453344527.503387566
    8
    2025-04-02 00:00:00.000-44.70818688515922.136674052-1031.734554432367436.474871813
    9
    2025-04-01 00:00:00.000-4063.93188423415966.844860937-93820.947462396368614.572170804
    10
    2025-03-31 00:00:00.000-17.18902926320030.776745171-384.883851489448514.129795307
    11
    2025-03-30 00:00:00.00093.33278119520047.9657744342161.781655781464352.653931256
    12
    2025-03-29 00:00:00.000-112.34287249119954.632993239-2685.275509709476965.615120886
    13
    2025-03-28 00:00:00.000-191.35940775220066.975865729-4739.334665327496992.102274564
    14
    2025-03-27 00:00:00.000-111.63807049420258.335273481-2931.290120144531924.797470409
    15
    2025-03-26 00:00:00.000-365.77411509620369.973343976-9843.133843121548164.470175283
    16
    2025-03-25 00:00:00.000163.32776584820735.7474590724314.983467227547821.168079135
    17
    2025-03-24 00:00:00.000-5.65185581720572.419693224-143.090859643520842.235583206
    18
    2025-03-23 00:00:00.00025.76013817120578.071549041599.738950186479091.802447593
    19
    2025-03-22 00:00:00.000125.90362145320552.311410872914.773756328475803.136087818
    20
    2025-03-21 00:00:00.000206.35242955620426.4077894174617.995413104457125.984320657
    68
    6KB
    47s