Query editor
with users as(selectevt_block_time, evt_tx_hash, minter as userfrom benqi_finance_avalanche_c.QiErc20Delegate_evt_Mintunion allselectevt_block_time, evt_tx_hash, redeemer as userfrom benqi_finance_avalanche_c.QiErc20Delegate_evt_Redeemunion allselectevt_block_time, evt_tx_hash, minter as userfrom benqi_finance_avalanche_c.QiAvax_evt_Mintunion allselectevt_block_time, evt_tx_hash, redeemer as userfrom benqi_finance_avalanche_c.QiAvax_evt_Redeem)selectcasewhen name like '%Synapse%' then 'Synapse'when name like 'Celer%' then 'Celer Network'when name like '%Allbridge%' then 'Allbridge'when name like 'Anyswap%' then 'Multichain'when name like '%Multichain%' then 'Multichain'else 'ZERO' end as project, count(distinct("from")) as total_users, count(distinct(hash)) as total_transactionsfrom avalanche_c.transactions ajoin users bon a."from" = b.userleft join labels.all con a.to = c.addresswhere c.name != 'Rubic_crosschain: RubicMultichainProxy'and date_trunc('month', a.block_time) >= now() - interval '1' yeargroup by 1having count(distinct(hash)) < 100000order by 3 desc