Query editor
selectl.tx_hash,l.block_time,BYTEARRAY_SUBSTRING(topic1, 1 + 12 + 32 * 0, 20)as pool,BYTEARRAY_SUBSTRING(e.DATA, 1 + 16 + 32 * 0, 20) as collectionContract,BYTEARRAY_SUBSTRING(e.DATA, 1 + 16 + 32 * 4, 20) as currency,casewhen length(e.data) = 580 then 1155else 721end as ercfrom BASE.logs l left join BASE.transactions e on l.tx_hash=e.hashwhere l.block_time > date '2023-06-01'and l.topic0=0x4f2ce4e40f623ca765fc0167a25cb7842ceaafb8d82d3dec26ca0d0e0d2d4896and l.contract_address=0x41cF7ea4Ba650191e829A6bD31B9e2049C78D858