MoeUntitled Query
Updated 2022-10-03Copy Reference Fork
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
base as (
( select
'Remove Liquidity' as type,
origin_to_address address
from
ethereum.core.fact_event_logs
where
event_name ilike '%RemoveLiquidity%'
and contract_address IN (select ADDRESS
from ethereum.core.dim_labels
where
LABEL ILIKE '%sushi%') )
union all
( select
'Add Liquidity' as type,
origin_to_address address
from
ethereum.core.fact_event_logs
where
event_name ilike '%AddLiquidity%'
and contract_address in (select ADDRESS
from ethereum.core.dim_labels
where
LABEL ILIKE '%sushi%') )
union all
(select
'Borrowing' as type,
origin_to_address address
Run a query to Download Data