barbodSaber Amount Locked Over Time
    Updated 2022-03-12
    with sbr as (SELECT
    inner_instruction:instructions[0]:parsed:info:authority as user_wl,
    sum (inner_instruction:instructions[0]:parsed:info:amount/1e6) as amount
    from solana.events
    where instruction:programId='LocktDzaV1W2Bm9DeZeiyz4J9zs4fRqNiYqQyracRXw'
    and PRETOKENBALANCES[0]:mint='Saber2gLauYim4Mvftnrasomsv6NvAuncvMEZwcLpD1'
    and succeeded = 'TRUE'
    and block_timestamp >'2022-01-31' and block_timestamp <'2022-03-01'
    and user_wl is not null group by 1 order by 2 desc limit 20)

    select instruction:programId as program,
    count(program) as usaged
    from solana.events
    Where inner_instruction:instructions[0]:parsed:info:authority in (select user_wl from sbr)
    and block_timestamp BETWEEN '2022-01-31' and '2022-03-01'
    group by 1 order by 2 DESC
    Run a query to Download Data