Query editor
with l as (select block_number, block_time, tx_index, index as log_index, topic0, topic1, topic2, datafrom ethereum.logswhere contract_address = 0xe1753f2e00940cc31213dd92013cf019dfe4ca1dand block_date >= date '2026-05-01')select block_number, block_time, tx_index, log_index,casewhen topic0 = keccak(to_utf8('ExchangeRateUpdated(uint256,uint256)')) then 'index'when topic0 = keccak(to_utf8('TargetRateUpdated(uint256)')) then 'rate'when topic0 = keccak(to_utf8('Transfer(address,address,uint256)')) and topic1 = 0x0000000000000000000000000000000000000000000000000000000000000000 then 'mint'when topic0 = keccak(to_utf8('Transfer(address,address,uint256)')) and topic2 = 0x0000000000000000000000000000000000000000000000000000000000000000 then 'burn'end as kind,-- uint256 values as decimal strings to keep full precisioncast(varbinary_to_uint256(varbinary_substring(data, 1, 32)) as varchar) as v1,case when topic0 = keccak(to_utf8('ExchangeRateUpdated(uint256,uint256)'))then cast(varbinary_to_uint256(varbinary_substring(data, 33, 32)) as varchar) end as v2from lwhere topic0 in (keccak(to_utf8('ExchangeRateUpdated(uint256,uint256)')), keccak(to_utf8('TargetRateUpdated(uint256)')))or (topic0 = keccak(to_utf8('Transfer(address,address,uint256)'))and (topic1 = 0x0000000000000000000000000000000000000000000000000000000000000000or topic2 = 0x0000000000000000000000000000000000000000000000000000000000000000))order by block_number, tx_index, log_index