StangFASTpart 1.3 - trading
Updated 2024-09-17
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
›
⌄
-- forked from part 1.2 - trading @ https://flipsidecrypto.xyz/studio/queries/a8606ac0-d95c-4dfd-9e10-0b4c64bb5846
-- forked from part 1 - trading @ https://flipsidecrypto.xyz/studio/queries/f56796b3-d01a-4859-9d42-8c18c80ae0d8
-- $COQ — 0x420fca0121dc28039145009570975747295f2329 - fdd46b
-- $TECH — 0x5ac04b69bde6f67c0bd5d6ba6fd5d816548b066a - 3fa5c7
-- $WOLF - 0x4f94b8aef08c92fefe416af073f1df1e284438ec - fff600
-- $NOCHILL — 0xacfb898cff266e53278cc0124fc2c7c94c8cb9a5 - 2a4163
-- $KIMBO 0x184ff13b3ebcb25be44e860163a5d8391dd568c1 - fa8f41
-- $HEFE - 0x18e3605b13f10016901eac609b9e188cf7c18973 - 7ac342
-- $MEOW — 0x8ad25b0083c9879942a64f00f20a70d3278f6187 - cf0508
-- $MAJIN - 0x73f49d00ac1b520f94d11248808c40774aeb0802 - e84142
select
count( distinct a.origin_from_address ) as "traders"
, count( distinct a.tx_hash ) as "swap counts"
, sum( a.amount_in_usd ) as "USD volume"
, case
when a.platform like '%pharaoh%' then 'Pharaoh'
when a.platform like '%uniswap%' then 'Uniswap'
when a.platform like '%trader%' then 'Trader Joe'
when a.platform like '%pangolin%' then 'Pangolin'
when a.platform like '%woofi%' then 'Woofi'
when a.platform like '%balancer%' then 'Balancer'
end
as "platforms"
, case
when a.platform like '%pharaoh%' then '<img src="https://pbs.twimg.com/profile_images/1736075424701239296/vQNQjGPR_400x400.jpg" style="width: 30px; border-radius: 100%;">Pharaoh'
when a.platform like '%uniswap%' then '<img src="https://pbs.twimg.com/profile_images/1696986796478091264/79NZgGom_400x400.jpg" style="width: 30px; border-radius: 100%;">Uniswap'
when a.platform like '%trader%' then '<img src="https://pbs.twimg.com/profile_images/1815754501455855616/6T0PlyLm_400x400.png" style="width: 30px; border-radius: 100%;">Trader Joe'
when a.platform like '%pangolin%' then '<img src="https://pbs.twimg.com/profile_images/1607809611834298369/f-MClvFk_400x400.png" style="width: 30px; border-radius: 100%;">Pangolin'
when a.platform like '%woofi%' then '<img src="https://pbs.twimg.com/profile_images/1813531665227984898/G0X__vPi_400x400.jpg" style="width: 30px; border-radius: 100%;">Woofi'
when a.platform like '%balancer%' then '<img src="https://pbs.twimg.com/profile_images/1656222978919784449/eQgwPTaY_400x400.png" style="width: 30px; border-radius: 100%;">Balancer'
end
as "platforms [img]"
QueryRunArchived: QueryRun has been archived