select
swap_to_mint as to_swap,
address_name as token,
count (DISTINCT tx_id) as transactions,
count (DISTINCT swapper) as wallets
from solana.defi.fact_swaps join solana.core.dim_labels
on address = swap_to_mint
where block_timestamp>= '2021-01-01'
and succeeded = 'true'
and swap_program ilike '%raydium%'
group by 1,2 order by 3 desc
LIMIT 10