Query editor
--Error: Query is too long for wand tools.--Try shortening query to try again./* Success! If you're still running into issues, check out https://dune.com/docs/query/syntax-differences/ or reach out in the #dune-sql Discord channel. */WITH defisaver_feereciever AS (SELECTDATE_TRUNC('minute', evt_block_time) AS minute,contract_address,evt_tx_hash,CASEWHEN evt_tx_hash IN (SELECTevt_tx_hashFROM aave_v2_ethereum.LendingPool_evt_Borrow)THEN 'AAVE_v2'WHEN evt_tx_hash IN (SELECTevt_tx_hashFROM aave_v2_ethereum.LendingPool_evt_Deposit)THEN 'AAVE_v2'WHEN evt_tx_hash IN (SELECTevt_tx_hashFROM aave_v2_ethereum.LendingPool_evt_Withdraw)THEN 'AAVE_v2'WHEN evt_tx_hash IN (SELECTevt_tx_hashFROM aave_v2_ethereum.LendingPool_evt_Repay)THEN 'AAVE_v2'WHEN evt_tx_hash IN (SELECTevt_tx_hashFROM aave_v3_ethereum.Pool_evt_Borrow)THEN 'AAVE_v3'WHEN evt_tx_hash IN (SELECTevt_tx_hashFROM aave_v3_ethereum.Pool_evt_Repay)THEN 'AAVE_v3'WHEN evt_tx_hash IN (SELECTevt_tx_hashFROM aave_v3_ethereum.Pool_evt_Supply)THEN 'AAVE_v3'WHEN evt_tx_hash IN (SELECTevt_tx_hashFROM aave_v3_ethereum.Pool_evt_Withdraw)THEN 'AAVE_v3'WHEN evt_tx_hash IN (SELECTevt_tx_hash