Updated 2022-03-10
    SELECT
    date_trunc('day',block_timestamp) as dt,
    sum (inner_instruction:instructions[0]:parsed:info:amount/1e6) locked_SBR
    from solana.events
    WHERE block_timestamp >='2022-01-19'
    and instruction:programId='LocktDzaV1W2Bm9DeZeiyz4J9zs4fRqNiYqQyracRXw'
    --and PRETOKENBALANCES:mint='Saber2gLauYim4Mvftnrasomsv6NvAuncvMEZwcLpD1'
    and succeeded = 'TRUE'
    group by 1 order by 1
    Run a query to Download Data