SELECT
date_trunc('day',block_timestamp) as timeframe,
sum (inner_instruction:instructions[0]:parsed:info:amount/1e6) as amount
from solana.events
WHERE
timeframe between '2022-01-19' and '2022-03-09'
and instruction:programId='LocktDzaV1W2Bm9DeZeiyz4J9zs4fRqNiYqQyracRXw'
and PRETOKENBALANCES[0]:mint='Saber2gLauYim4Mvftnrasomsv6NvAuncvMEZwcLpD1'
and succeeded = 'TRUE'
group by 1
order by 1