-- 2022-03-25 20:10:21.155
SELECT *, sum(unique_addr) over (order by day) as cumulative_unique_addr from
(select date(first_use) as day, count(DISTINCT from_address)
as unique_addr
from
(SELECT from_address, min(block_timestamp) as first_use from thorchain.swaps
GROUP by 1 )
GROUP by 1 )
where day < '2022-03-25' and day >= '2022-03-15'
LIMIT 12