sharplesLogs of Leveraged Wallet
Updated 2023-04-25
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
›
⌄
-- Get all related transaction hashes related to transfers,
WITH
eth_transfers as (
SELECT
tx_hash
FROM
ethereum.core.fact_transactions
WHERE
from_address = '0xe47d5cc33517d5b8433ff249efe094b989989acc'
or to_address = '0xe47d5cc33517d5b8433ff249efe094b989989acc'
),
erc20_transfers as (
SELECT
tx_hash
FROM
ethereum.core.ez_token_transfers
WHERE
from_address = '0xe47d5cc33517d5b8433ff249efe094b989989acc'
or to_address = '0xe47d5cc33517d5b8433ff249efe094b989989acc'
),
aave_liq AS (
SELECT
tx_hash
FROM
ethereum.aave.ez_liquidations
WHERE
liquidator = '0xe47d5cc33517d5b8433ff249efe094b989989acc'
),
comp_liq AS (
SELECT
tx_hash
FROM
ethereum.compound.ez_liquidations
WHERE
liquidator = '0xe47d5cc33517d5b8433ff249efe094b989989acc'
),
Run a query to Download Data