-- forked from e9366ce6-4fc6-4c66-8dad-7399e086d4b2
-- forked from e0b36d4d-b616-4c3e-8d35-fd26a0c00b37
-- forked from 3b97473f-794e-4de0-9c1f-0cd902ee0b28
select
date_trunc('month',BLOCK_TIMESTAMP::Date) as BTD,
count(distinct ORIGIN_FROM_ADDRESS) as OFR,
sum(OFR) over (order by BTD) as SOFR
from Polygon.sushi.ez_swaps
group by 1
HAVING BTD >='2022-09-01'