ola12 movement between dexs
Updated 2024-07-17
999
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 t1 as (
(SELECT
block_timestamp,
'Ethereum' as chain,
case
when platform ilike '%hashflow%' then 'hashflow'
when platform ilike '%kyberswap%' then 'kyberswap'
when platform ilike '%joe%' then 'trader joe'
when platform ilike '%uniswap%' then 'uniswap'
when platform ilike '%pancakeswap%' then 'pancakeswap'
when platform ilike '%dodo%' then 'dodo'
else platform
end as dex,
origin_from_address,
amount_in_usd
from
avalanche.defi.ez_dex_swaps
)
union all
(SELECT
block_timestamp,
'Arbitrum' as chain,
case
when platform ilike '%camelot%' then 'camelot'
when platform ilike '%dodo%' then 'dodo'
when platform ilike '%hashflow%' then 'hashflow'
when platform ilike '%kyberswap%' then 'kyberswap'
when platform ilike '%joe%' then 'trader joe'
when platform ilike '%uniswap%' then 'uniswap'
when platform ilike '%zyberswap%' then 'zyberswap'
else platform
end as dex,
origin_from_address,
QueryRunArchived: QueryRun has been archived