select
trader as "Swapper",
sum(to_amount/1e6) as "Volume (LUNA)",
sum(from_amount/1e6) as "Volume (USD)"
from terra.core.ez_swaps
where block_timestamp >= '2023-01-08' and to_currency = 'uluna'
and from_currency in ('ibc/B3504E092456BA618CC28AC671A71FB08C6CA0FD0BE7C8A5B5A3E2DD933CC9E4', 'ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858')
and to_amount is not null and from_amount is not null
group by 1
order by 3 DESC
limit 10