omer93olas staking 2
    Updated 2025-01-13
    select
    trunc(block_timestamp,'week') as week,
    sum(case when event_name='Deposit' then amount_usd else 0 end) as staked,
    sum(case when event_name='Withdrawn' then amount_usd else 0 end) as unstaked,
    staked-unstaked as netflow,
    sum(netflow) over (order by week) as tvl,
    count(distinct origin_from_address) as active_users,
    count(distinct tx_hash) as actions
    from crosschain.olas.ez_olas_staking
    group by 1 order by 1 desc , tvl desc


    Last run: 3 months ago
    WEEK
    STAKED
    UNSTAKED
    NETFLOW
    TVL
    ACTIVE_USERS
    ACTIONS
    1
    2024-12-02 00:00:00.0002.102.12751.3111
    2
    2024-10-28 00:00:00.0000.3400.342749.2111
    3
    2024-10-21 00:00:00.0000.1600.162748.8711
    4
    2024-10-14 00:00:00.0000.2700.272748.7111
    5
    2024-10-07 00:00:00.0001.6501.652748.4433
    6
    2024-09-23 00:00:00.0000.8700.872746.7922
    7
    2024-09-16 00:00:00.0000.6800.682745.9222
    8
    2024-09-02 00:00:00.0000.0700.072745.2433
    9
    2024-08-26 00:00:00.0001.101.12745.1777
    10
    2024-08-19 00:00:00.0001.7701.772744.071313
    11
    2024-08-12 00:00:00.0008.9208.922742.32025
    12
    2024-08-05 00:00:00.00024.81024.812733.382730
    13
    2024-07-29 00:00:00.00035.82035.822708.572020
    14
    2024-07-22 00:00:00.00066.54066.542672.752426
    15
    2024-07-15 00:00:00.00056.29056.292606.212324
    16
    2024-07-08 00:00:00.00086.68086.682549.921619
    17
    2024-07-01 00:00:00.00046.76046.762463.242934
    18
    2024-06-24 00:00:00.00073.57073.572416.482729
    19
    2024-06-17 00:00:00.000161.910161.912342.912929
    20
    2024-06-10 00:00:00.000201.370201.3721812122
    51
    3KB
    1s