Query editor
with hashs as (selectblock_time, tx_hash,casewhen topic0=0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7 then 'deposit' else 'withdraw'end as typefrom ethereum.logswherecontract_address=0xB0f56BB0bf13ee05FeF8cD2d8DF5FfdFcAC7a74f andtopic0 in (0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7,0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db)), txs as (select evt_tx_from as address, evt_tx_hash as tx_hash, value as amountfrom erc20_ethereum.evt_transferwherecontract_address=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 andevt_tx_hash in (select tx_hash from hashs))select h.block_time, t.address, t.amount, h.type, h.tx_hashfrom hashs hjoin txs ton h.tx_hash=t.tx_hash