SELECT date_trunc('day', block_timestamp) as DATE,
count(distinct(transfer_id)) as unique_transfers,
sum(amount)as amount
from terra.core.ez_transfers where currency = 'uluna' and transfer_type = 'IBC_Transfer_Off' and tx_succeeded= 'True'
GROUP BY DATE