Query editor
WITH new_locks AS(SELECT distinct newLockAddress, evt_tx_hash, evt_block_time as date_created from unlock_ethereum.Unlock_evt_NewLockWHERE evt_block_time > now() - Interval '30' day),lock_name_table AS(select ltrim(from_utf8(bytearray_substring(data,bytearray_length(data)-91,91))) as lock_name, hash, to from ethereum.transactionswhere to = 0xe79B93f8E22676774F2A8dAd469175ebd00029FA and (bytearray_substring(data,1,4) = 0x42d92106 OR bytearray_substring(data,1,4) = 0x487a8a76))SELECT date_created, lock_name, newLockAddress FROM new_locksINNER JOIN lock_name_tableON evt_tx_hash = hashORDER BY date_created DESC