Query editor
SELECTblock_time,date_trunc('day',block_time) as block_date,tx_hash,topic0,topic1 as user_address_raw,lower('0x' || substr(CAST(topic1 AS VARCHAR),27)) as user_address-- ,data,bytearray_to_uint256(bytearray_substring(data, 1,32))/1e18 as amount,bytearray_to_uint256(bytearray_substring(data, 33,32)) as stakedAtFROMethereum.logsWHERE contract_address = 0xC059A531B4234D05E9ef4ac51028F7E6156E2CCeAND topic0 = 0x1449c6dd7851abc30abf37f57715f492010519147cc2652fbc38202c18a6ee90 -- stakeUNION ALLSELECTblock_time,date_trunc('day',block_time) as block_date,tx_hash,topic0,topic1 as user_address_raw,lower('0x' || substr(CAST(topic1 AS VARCHAR),27)) as user_address-- ,data,bytearray_to_uint256(bytearray_substring(data, 33,32))/1e18 as amount,bytearray_to_uint256(bytearray_substring(data, 65,32)) as stakedAtFROMethereum.logsWHERE contract_address = 0xC059A531B4234D05E9ef4ac51028F7E6156E2CCeAND topic0 = 0x7bd92c7069a498d76fff43e59c23ef356087a6d297570d50c9961cbb3e7e7090 -- RewardStaked