TOTAL_DEPOSIT_TRANSACTIONS | TOTAL_DEPOSITORS | TOTAL_DEPOSITS_USD | |
---|---|---|---|
1 | 5386 | 927 | 42524254.0470274 |
datavortex12345
Updated 2025-02-07
999
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 D1 AS (
SELECT DISTINCT
contract_name,
contract_address,
origin_from_address AS depositor,
CASE
WHEN decoded_log:wad IS NOT NULL
THEN (decoded_log:wad::int)
ELSE (decoded_log:assets::int)
END AS deposit_amount,
tx_hash,
block_timestamp
FROM swell.core.ez_decoded_event_logs
WHERE event_name = 'Deposit'
),
D2 AS (
SELECT DISTINCT
contract_name,
contract_address,
origin_from_address AS depositor,
(decoded_log:assets[1]::int) AS deposit_amount,
tx_hash,
block_timestamp
FROM swell.core.ez_decoded_event_logs
WHERE event_name = 'Deposits'
),
prices AS (
SELECT
LOWER(name) AS name,
LOWER(symbol) AS symbol,
date_trunc('hour', hour) AS hour,
price,
decimals
FROM ethereum.price.ez_prices_hourly
Last run: 3 months ago
1
29B
6s