potmoVELO-USDC last 24 hours
Updated 2023-04-13
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
›
⌄
select block_timestamp,
flipside_prod_db.tokenflow_eth.hextoint(substring(data,1,66)) /1e18 as token0,
flipside_prod_db.tokenflow_eth.hextoint(substring(data,67,130)) /1e6 as token1,
token1 / token0 as velo_price
from optimism.core.fact_event_logs
where 1
--and tx_hash ilike '0x0e7c77137eff40da43e88a4ea6e16f7cd924a8e7dd0ffb1f04ee35bfc3522aa4'
and contract_address ilike '0xe8537b6ff1039cb9ed0b71713f697ddbadbb717d'
-- and origin_to_address ilike '0x287f9681af590354d6722ac51e6935beef631941'
and origin_function_signature ilike ('0xfdb5a03e')
and topics[0] ilike '0xcf2aa%'
--and block_timestamp = (select block_timestamp, max(1) from optimism.core.fact_event_logs group by 1)
and block_timestamp::timestamp >= current_date - interval '24 hours'
order by 1
Run a query to Download Data