sinahosseinzadehUntitled Query
Updated 2022-09-03
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 lido as (SELECT DISTINCT TO_ADDRESS as Users
from ethereum.core.fact_token_transfers
where CONTRACT_ADDRESS = '0xae7ab96520de3a18e5e111b5eaab095312d7fe84'
and FROM_ADDRESS = '0x0000000000000000000000000000000000000000'
and RAW_AMOUNT/ pow(10,18) > 0),
direct_staking as (SELECT DISTINCT FROM_ADDRESS as Users
from ethereum.core.fact_transactions
where TO_ADDRESS = '0x00000000219ab540356cbb839cbe05303d7705fa'
and STATUS = 'SUCCESS'),
stakewise as (SELECT DISTINCT TO_ADDRESS as Users
from ethereum.core.fact_token_transfers
where ORIGIN_TO_ADDRESS = '0xc874b064f465bdd6411d45734b56fac750cda29a'
and CONTRACT_ADDRESS = '0xfe2e637202056d30016725477c5da089ab0a043a'
and FROM_ADDRESS = '0x0000000000000000000000000000000000000000'),
cream as (SELECT DISTINCT TO_ADDRESS as Users
from ethereum.core.fact_token_transfers
where ORIGIN_TO_ADDRESS = '0xcbc1065255cbc3ab41a6868c22d1f1c573ab89fd'
and CONTRACT_ADDRESS = '0xcbc1065255cbc3ab41a6868c22d1f1c573ab89fd'
and FROM_ADDRESS = '0x0000000000000000000000000000000000000000'),
rocket as (SELECT DISTINCT TO_ADDRESS as Users
from ethereum.core.fact_token_transfers
where ORIGIN_TO_ADDRESS = '0x4d05e3d48a938db4b7a9a59a802d5b45011bde58'
and CONTRACT_ADDRESS = '0xae78736cd615f374d3085123a210448e74fc6393'
and FROM_ADDRESS = '0x0000000000000000000000000000000000000000'),
ankr as (SELECT DISTINCT ORIGIN_FROM_ADDRESS as Users
from ethereum.core.fact_event_logs
where ORIGIN_TO_ADDRESS = '0x84db6ee82b7cf3b47e8f19270abde5718b936670'
and CONTRACT_ADDRESS = '0x84db6ee82b7cf3b47e8f19270abde5718b936670'
and EVENT_NAME = 'StakeConfirmed'),
total as (
Run a query to Download Data