Query editor
with strategies AS (SELECTtx_hash,topic1 AS strategy_idFROM base.logsWHEREblock_time > TRY_CAST('2024-05-01 01:34' /* CLTBase creation */ AS TIMESTAMP)AND contract_address IN (0xdfb179526ae303eea49ac99dd360159c39105828)AND topic0 = 0xa3e3a4b0aa73fe1da40435c107398a4ee52d3dc357ef8cef5855ad8cdd5477b2 --strategy_fee),deposits AS (SELECTblock_time,tx_hash,bytearray_to_uint256(bytearray_substring(data,33,32)) as amount0,bytearray_to_uint256(bytearray_substring(data,65,32)) as amount1FROM base.logsWHEREblock_time > TRY_CAST('2024-05-01 01:34' /* CLTBase creation */ AS TIMESTAMP)AND contract_address IN (0xdfb179526ae303eea49ac99dd360159c39105828)AND topic0 = 0x996a417e6461fc8f287ec9a6c2e9afb764a1d6fbdaa6570826ae99855b453aff --deposit)SELECTstrategy_id,block_time,dp.tx_hash,amount0,amount1FROM deposits AS dpLEFT JOIN strategies AS st ON dp.tx_hash = st.tx_hash