MoeUntitled Query
Updated 2022-10-09
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
›
⌄
with base as (
select
tx_hash
from ethereum.maker.ez_flash_loans
where block_timestamp >= CURRENT_DATE - {{days_back}}
)
,typical_users as (select
ORIGIN_FROM_ADDRESS
from ethereum.core.ez_token_transfers
where tx_hash in (select tx_hash from base)
and block_timestamp >= CURRENT_DATE - {{days_back}})
select
BLOCK_TIMESTAMP,
'UNISWAP' as platform,
AMOUNT1_USD as AMOUNT_IN_USD,
SENDER as swapper,
TOKEN0_SYMBOL as SYMBOL_IN,TOKEN1_SYMBOL as SYMBOL_OUT
from
ethereum.uniswapv3.ez_swaps
where RECIPIENT in (select origin_from_address from typical_users)
and block_timestamp >= CURRENT_DATE - {{days_back}}
limit 20
Run a query to Download Data