Query editor
with test as(selectblock_time,tx_hash,tx_from,bytearray_to_uint256(bytearray_substring(data,1,32)) / POWER(10, 18) as totalAllocation,--CAST(bytearray_to_uint256(bytearray_substring(data,33,32)) as TIMESTAMP) as startTimestamp,bytearray_to_uint256(bytearray_substring(data,33,32)) as startTimestamp,bytearray_to_uint256(bytearray_substring(data,65,32)) as cliffDuration,bytearray_to_uint256(bytearray_substring(data,97,32)) as duration,from_unixtime(cast(bytearray_to_uint256(bytearray_substring(data,33,32))as double)) as startTimestamp1,from_unixtime(cast(bytearray_to_uint256(bytearray_substring(data,65,32))as double)) as cliffDuration1,from_unixtime(cast(bytearray_to_uint256(bytearray_substring(data,97,32))as double)) as duration1,from_unixtime((cast(bytearray_to_uint256(bytearray_substring(data,33,32))as double))+ cast(bytearray_to_uint256(bytearray_substring(data,97,32))as double)) as unlock_timefrom ethereum.logswhere contract_address = 0xbff28c0b8c3df7b89e71743e835a7be2c98599f6 and topic0 = 0x28014ecebe981ccba4aea99e0ba379ca0306dab79ea7cba4fe5b7100eca81702)selectCONCAT ('<a href="https://debank.com/profile/0', SUBSTRING(CAST(t.tx_from AS VARCHAR), 2),'" target="_blank">DB</a>',' ') as links,t.*from test t