MLDZMNyolo2- protocol fee2
Updated 2025-02-07
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
›
⌄
-- forked from yolo2- protocol fee @ https://flipsidecrypto.xyz/edit/queries/ac8adc6f-d458-41e2-800c-ebf640872bfd
-- forked from yolo2 @ https://flipsidecrypto.xyz/edit/queries/d73954ca-d252-4e52-9db4-0d4785112f9e
with tb1 as (select
*
from blast.core.ez_decoded_event_logs
where CONTRACT_ADDRESS = lower('0x0000000000E14E87e5c80A8A90817308fFF715d3')
and ORIGIN_FUNCTION_SIGNATURE in ('0x7d7c3c74','0x7d33ca3f') --fee payment
)
select
BLOCK_TIMESTAMP::date as day,
sum(amount) as "Volume ETH",
sum(AMOUNT_USD) as "Volume USD",
avg(AMOUNT_USD) as avg_volume
from blast.core.ez_native_transfers
where tx_hash in (select tx_hash from tb1)
and to_address = lower('0x6b86fF7863e27d1C8CCf05dF9cB03b8eFaA52125')
group by 1
QueryRunArchived: QueryRun has been archived