select
m.msg_value:execute_msg:transfer:recipient::string as recipient
from terra.msgs m
where m.msg_value:execute_msg:transfer is not null
and m.msg_value:contract::string = 'terra1hzh9vpxhsk8253se0vv5jj6etdvxu3nv8z07zu'
union
select
m.msg_value:execute_msg:transfer:sender::string as sender
from terra.msgs m
where m.msg_value:execute_msg:transfer is not null
and m.msg_value:contract::string = 'terra1hzh9vpxhsk8253se0vv5jj6etdvxu3nv8z07zu'