select
date_trunc('day', block_timestamp) as day,
count(distinct from_address) as active_creators
from base.core.fact_transactions
where to_address = '0x777777c338d93e2c7adf08d102d45ca7cc4ed021' -- ERC1155 factory
and status = 'SUCCESS'
and block_timestamp >= current_date() - 90
group by day
order by day