Query editor
SELECTcount(distinct a."hash") as hydex_swapsFROMethereum.transactions as aINNER JOIN ethereum.traces_decoded AS b ON a.hash = b.tx_hashINNER JOIN erc20_ethereum.evt_Transfer AS c ON a.hash = c.evt_tx_hashWHEREa.to = 0x111111125421ca6dc452d289314280a0f8842a65 --1Inch RouterAND b.function_name = 'swap'AND c.to = 0x84B0d6acE46cae71B1eDeadD120Ac512eFe685d0 --Hydex Rewards