cheeyoung-kekUntitled Query
Updated 2022-08-22Copy Reference Fork
9
1
2
3
4
5
6
7
8
›
⌄
select
regexp_substr_all(SUBSTR(data, 11, len(data)), '.{64}') AS segmented_data,
concat('0x', substr(segmented_data[0], 17, 40)) as game,
ethereum.public.udf_hex_to_int(substr(segmented_data[17], 1, 56) :: STRING) :: FLOAT as sport_tag
from optimism.core.fact_event_logs
where origin_function_signature = '0xac2c957c'
and origin_to_address = '0x2b91c14ce9aa828ed124d12541452a017d8a2148'
and topics[0] = '0x889e2060e46779287c2fcbf489c195ef20f5b44a74e3dcb58d491ae073c1370f'
Run a query to Download Data