select
tx_id,
msg_value:coins[0]:amount/1e6 as amount,
msg_value:coins[0]:denom as currency
from terra.msgs
where msg_value:contract = 'terra134c5sq5pdrtzep0xmg79myxsr3p9ale88m3xmz'
and msg_value:execute_msg:deposit_tokens is not null
and tx_status = 'SUCCEEDED'
and tx_id = 'F6BEF7517CD08025D9642969D8B1809C532B08BBC35DD85D1A528DA123112F90'