Query editor
--Error: Query is too long for wand tools.--Try shortening query to try again./* Error: Query is too long for wand tools. *//* Try shortening query to try again. *//* Error: Query is too long for wand tools. *//* Try shortening query to try again. */WITH mint_burnt_supply /* lp_txs AS ( *//* SELECT *//* DATE_TRUNC('day', evt_block_time) AS time, *//* ABS(amount0) / 1e18 AS eth_amount, *//* ABS(amount1) / 1e18 AS gmx_amount, *//* ABS(amount0 / 1e18) / ABS(amount1 / 1e18) AS eth_gmx_amount *//* FROM uniswap_v3_arbitrum.Pair_evt_Swap *//* WHERE *//* contract_address IN (0x80a9ae39310abf666a87c743d6ebbd0e8c42158e, 0x1aeedd3727a6431b8f070c0afaa81cc74f273882) *//* AND amount1 / 1e18 <> 0 *//* ), *//* weth_price AS ( *//* SELECT *//* DATE_TRUNC('day', minute) AS time, *//* AVG(price) AS avg_price *//* FROM prices.usd *//* WHERE *//* symbol IN ('WETH') AND minute >= TRY_CAST('2021-08-31' AS DATE) *//* GROUP BY *//* 1 *//* ORDER BY *//* 1 DESC *//* ), *//* gmx_price AS ( *//* SELECT *//* lp_txs.time, *//* AVG(eth_gmx_amount * weth_price.avg_price) AS avg_price *//* FROM lp_txs *//* JOIN weth_price *//* ON lp_txs.time = weth_price.time *//* GROUP BY *//* 1 *//* ORDER BY *//* 1 DESC *//* ), */ AS (SELECTDATE_TRUNC('day', evt_block_time) AS time,SUM(CASEWHEN "from" = 0x0000000000000000000000000000000000000000THEN value / 1e18ELSE 0END) AS minted_tokens,SUM(CASEWHEN "to" = 0x0000000000000000000000000000000000000000THEN -value / 1e18ELSE 0END) AS burnt_tokens,SUM(CASEWHEN "from" = 0x0000000000000000000000000000000000000000