andreafiandro[Mantle] # Liquidity Provider
Updated 2023-12-05
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 BRIDGED AS (select
AMOUNT,
SYMBOL,
AMOUNT_USD,
date_trunc('hour', BLOCK_TIMESTAMP) as HOUR,
ORIGIN_FROM_ADDRESS,
ORIGIN_TO_ADDRESS,
ORIGIN_FUNCTION_SIGNATURE
from
ethereum.core.ez_token_transfers
where
ORIGIN_TO_ADDRESS in (
'0x95fc37a27a2f68e3a647cdc081f0a89bb47c3012'
)
and ORIGIN_FUNCTION_SIGNATURE in ('0x58a997f6') -- Deposit ERC20 Tokens
AND HOUR > '{{start_date_mantle}}'
AND HOUR < '{{end_date_mantle}}'
UNION ALL
select
AMOUNT,
'ETH' as SYMBOL,
AMOUNT_USD,
date_trunc('hour', BLOCK_TIMESTAMP) as HOUR,
ORIGIN_FROM_ADDRESS,
ORIGIN_TO_ADDRESS,
ORIGIN_FUNCTION_SIGNATURE
from
ethereum.core.ez_eth_transfers
where
ORIGIN_TO_ADDRESS in (
'0x32400084c286cf3e17e7b677ea9583e60a000324' -- Bridge ETH
)
and ORIGIN_FUNCTION_SIGNATURE in ('0xeb672419') -- Deposit ETH
Run a query to Download Data