rezarwzdeposit lending
Updated 2024-12-03
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 jucie_finance as (
SELECT
'Blast' as chain,
BLOCK_TIMESTAMP :: Date as date,
'WETH' as symbol,
'0x4300000000000000000000000000000000000004' as token_contract,
sum(decoded_log:amount / pow(10, 18)) as primary_asset_deps_token
FROM
blast.core.ez_decoded_event_logs
where
contract_address = lower('0x44f33bC796f7d3df55040cd3C631628B560715C2')
and event_name = 'Deposit'
AND BLOCK_TIMESTAMP :: Date BETWEEN CURRENT_DATE -1 -29
AND CURRENT_DATE -1
group by
1,
2,
3,
4
),
Orbit_Protocol as (
SELECT
'Blast' as chain,
BLOCK_TIMESTAMP :: Date as date,
'ETH' as symbol,
'0x0000000000000000000000000000000000000000' as token_contract,
sum(decoded_log:amount / pow(10, 18)) as primary_asset_deps_token
FROM
blast.core.ez_decoded_event_logs
where
contract_address = lower('0x0872b71EFC37CB8DdE22B2118De3d800427fdba0')
and event_name = 'Mint'
AND BLOCK_TIMESTAMP :: Date BETWEEN CURRENT_DATE -1 -29
AND CURRENT_DATE -1
group by
1,
QueryRunArchived: QueryRun has been archived