omer93MEMES 2
Updated 2023-04-24
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
WITH
pepe AS (
SELECT
COUNT(DISTINCT TX_TO) AS unique_users,
COUNT(*) AS total_swaps,
DATE_TRUNC('day', block_timestamp) AS date
FROM ethereum.core.ez_dex_swaps
WHERE TOKEN_OUT = LOWER('0x6982508145454ce325ddbe47a25d4ec3d2311933') --PEPE
GROUP BY 3
ORDER BY 2 DESC
),
bobo AS (
SELECT
COUNT(DISTINCT TX_TO) AS unique_users,
COUNT(*) AS total_swaps,
DATE_TRUNC('day', block_timestamp) AS date
FROM ethereum.core.ez_dex_swaps
WHERE TOKEN_OUT = LOWER('0x5888641e3e6cBeA6D84Ba81EDb217bD691d3bE38') -- bobo
GROUP BY 3
ORDER BY 2 DESC
),
mememe AS (
SELECT
COUNT(DISTINCT TX_TO) AS unique_users,
COUNT(*) AS total_swaps,
DATE_TRUNC('day', block_timestamp) AS date
FROM ethereum.core.ez_dex_swaps
WHERE TOKEN_OUT = LOWER('0x1A963Df363D01EEBB2816b366d61C917F20e1EbE') -- MEMEME
GROUP BY 3
ORDER BY 2 DESC
),
all_tokens AS (
SELECT
Run a query to Download Data