Query editor
with traces as (selecttx_hash,bytearray_substring(input, 1 + 4 + 32 + 12, 20) as token_fromfrom {{chain}}.traceswhere block_time > now() - interval '{{dt}}' dayand to in (0x40aa958dd87fc8305b97f2ba922cddca374bcd7f,0x70cbb871e8f30fc8ce23609e9e0ea87b6b222f58)and bytearray_substring(input, 1, 4) = 0x0a5ea466 -- claimTokens),txs as (selectdata, hash, "from"from {{chain}}.transactionswhere block_time > now() - interval '{{dt}}' day)selecthash,bytearray_substring(data, 1, 4) as selector,bytearray_position(data, token_from) as "offset","from",token_fromfrom txs join traces ontraces.tx_hash = txs.hashandbytearray_position(data, token_from) > 0andbytearray_substring(data, 1, 4)not in (0x016cba5f, -- mint cake0x0d5f0e3b, -- univ30x972250fe, 0x3d21e25a, -- SWFT0x1fad948c, 0x532d3ac9, -- handleOps0x252f7b01, -- layer00xabcd6741, 0x0000000b, 0x00000000, 0xf5c58cda, 0x9846cd9e,-- mev0x711f769c, 0x9f487685, --0xb80c2f09, -- sellBase0x3eee9156, 0x66613461, 0x12a0ddc7, 0xdc5e3110 -- ecrecover)