rajsETH 2 Staking Platforms Crossover Summary
Updated 2022-09-05Copy 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 txs as
(
SELECT
'LIDO' as platform,
tokenflow_eth.hextoint(substr(data,3,64)) / pow (10,18) as deposit_amount,
'0x' || substr(topics[1],27,40) as depositor,
tx_hash
from ethereum.core.fact_event_logs
where contract_address = '0xae7ab96520de3a18e5e111b5eaab095312d7fe84'
and topics[0] = '0x96a25c8ce0baabc1fdefd93e9ed25d8e092a3332f3aa9a41722b5697231d1d1a'
UNION
SELECT
'Rocketpool' as platform,
tokenflow_eth.hextoint(substr(data,3,64)) / pow (10,18) as deposit_amount,
'0x' || substr(topics[1],27,40) as depositor,
tx_hash
from ethereum.core.fact_event_logs
where contract_address = '0x4d05e3d48a938db4b7a9a59a802d5b45011bde58'
and topics[0] = '0x7aa1a8eb998c779420645fc14513bf058edb347d95c2fc2e6845bdc22f888631'
UNION
SELECT
'Stakewise' as platform,
tokenflow_eth.hextoint(substr(data,3,64)) / pow (10,18) as deposit_amount,
'0x' || substr(topics[2],27,40) as depositor,
tx_hash
from ethereum.core.fact_event_logs
where contract_address = '0xfe2e637202056d30016725477c5da089ab0a043a'
and topics[0] = '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef'
and topics[1] = '0x0000000000000000000000000000000000000000000000000000000000000000'
-- and tx_hash = '0x1cda6dca1faf5fa64b5d932e913909e8da51b067ba0823102433e44f42fba551'
UNION
Run a query to Download Data