sarathsushi_uni 6.7
Updated 2022-10-17
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
›
⌄
SELECT
case WHEN project_name LIKE '%sushiswap%' THEN 'SushiSwap'
WHEN project_name LIKE '%uniswap%' THEN 'UniSwap' end as dex,
count(DISTINCT tx_hash) as swaps,
count(DISTINCT origin_from_address) as users
FROM arbitrum.core.fact_event_logs
LEFT outer JOIN arbitrum.core.dim_labels
ON contract_address = address
where not address is NULL
--AND event_name like 'Swap'
AND( project_name LIKE '%sushiswap%'
OR project_name LIKE '%uniswap%' )
GROUP BY 1
Run a query to Download Data