zakkisyedL2 ETH Deposited TVL in Kelp
Updated 2024-08-25
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 optimism_tvl AS (
SELECT
day,
daily_tvl AS OP_daily_TVL,
SUM(daily_tvl) OVER (ORDER BY day ASC) AS OP_cumulative_TVL
FROM (
SELECT
DATE_TRUNC('day', block_timestamp) AS day,
COALESCE(SUM(value),0) AS daily_tvl
FROM
optimism.core.fact_transactions
WHERE
to_address = '0xaaa687e218f9b53183a6aa9639fbd9d6e69ecb73'
AND status = 'SUCCESS'
GROUP BY
day
)
ORDER BY
day DESC
),
arbitrum_tvl AS (
SELECT
day,
daily_tvl AS ARB_daily_TVL,
SUM(daily_tvl) OVER (ORDER BY day ASC) AS ARB_cumulative_TVL
FROM (
SELECT
DATE_TRUNC('day', block_timestamp) AS day,
SUM(value) AS daily_tvl
FROM
arbitrum.core.fact_transactions
WHERE
to_address = '0x376a7564af88242d6b8598a5cfdd2e9759711b61'
AND status = 'SUCCESS'
GROUP BY
day
Auto-refreshes every 1 hour
QueryRunArchived: QueryRun has been archived