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