hbd1994Staker Count
Updated 2022-09-23
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 tab1 as(
(select
'Stake' as "Action",
case
when contract_address = '0x9ee91f9f426fa633d227f7a9b000e28b9dfd8599' then 'Lido | stMATIC'
when contract_address = '0x38b7bf4eecf3eb530b1529c9401fc37d2a71a912' then 'ClayStack | csMATIC'
when contract_address = '0xf03a7eb46d01d9ecaa104558c732cf82f6b6b645' then 'Stader | MATICX'
when contract_address = '0x99534ef705df1fff4e4bd7bbaaf9b0dff038ebfe' then 'Ankr | aMATICb'
end as "Platforms",
ORIGIN_FROM_ADDRESS as "User Address",
sum(raw_amount/1e18) as "MATIC Amount"
from
ethereum.core.ez_token_transfers
where from_address = '0x0000000000000000000000000000000000000000'
and contract_address in ('0x9ee91f9f426fa633d227f7a9b000e28b9dfd8599', '0x38b7bf4eecf3eb530b1529c9401fc37d2a71a912', '0xf03a7eb46d01d9ecaa104558c732cf82f6b6b645','0x99534ef705df1fff4e4bd7bbaaf9b0dff038ebfe' )
group by 2,3
order by 4 desc
)
union
(select
'Unstake' as "Action",
case
when contract_address = '0x9ee91f9f426fa633d227f7a9b000e28b9dfd8599' then 'Lido | stMATIC'
when contract_address = '0x38b7bf4eecf3eb530b1529c9401fc37d2a71a912' then 'ClayStack | csMATIC'
when contract_address = '0xf03a7eb46d01d9ecaa104558c732cf82f6b6b645' then 'Stader | MATICX'
when contract_address = '0x99534ef705df1fff4e4bd7bbaaf9b0dff038ebfe' then 'Ankr | aMATICb'
end as "Platforms",
ORIGIN_FROM_ADDRESS as "User Address",
sum(raw_amount/1e18) as "MATIC Amount"
from
ethereum.core.ez_token_transfers
where to_address = '0x0000000000000000000000000000000000000000'
and contract_address in ('0x9ee91f9f426fa633d227f7a9b000e28b9dfd8599', '0x38b7bf4eecf3eb530b1529c9401fc37d2a71a912', '0xf03a7eb46d01d9ecaa104558c732cf82f6b6b645','0x99534ef705df1fff4e4bd7bbaaf9b0dff038ebfe' )
group by 2,3
order by 4 desc)),
lido_top_staker as
Run a query to Download Data