zakkisyedNew Curve User actions - last 90 days
Updated 2022-01-08
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
›
⌄
select
-- count (distinct(
count (distinct (e1.from_address)), e2.function_name
--))
--e2.pool_name, e2.platform
from
(
select *
from (
select distinct(from_address), min(block_timestamp) as earliest_date
from ethereum.udm_events
where contract_address = '0xd533a949740bb3306d119cc777fa900ba034cd52'
group by 1
order by 2 desc
)
where earliest_date >= CURRENT_DATE - 90
--group by 1
--order by 1 desc
) as e1
INNER JOIN ethereum.transactions as e2
ON e1.from_address = e2.from_address
where e2.to_label = 'curve fi'
and e2.function_name != 'approve'
group by 2
--where e2.contract_address = '0xd533a949740bb3306d119cc777fa900ba034cd52'
--and e2.event_name = 'Transfer'
--e2.platform = 'curve'
Run a query to Download Data