Query editor
-- Treasury addresses used so far by guild.xyz:-- treasury1: 0xf7b73f96951e7ef3f9da69b4ec6431319ade7e9f - TokenBuyer only-- - Arbitrum (blocks 58808976 - 60017869)-- treasury2: 0x1d7dA3D9BC8fcFf7953D91E721531D6Dc69F09f6 - TokenBuyer and FeeCollector 1.0 only-- - Ethereum (blocks 16671778 - 16834448)-- - Arbitrum (blocks 60017869 - 65502466)-- - Polygon (blocks 39519899 - 46618625)-- treasury3: 0x30B6F80A535Ecf39892ec8e7C2776910D2576cd9-- - Ethereum (from 16728606)-- - Arbitrum (from 65502466)-- - Polygon (from 39814828)-- - BSC (from 28834271)-- - Base (from 2916852)-- - Optimism (from 110535324)-- - zkSync (from 15391144)-- - Mantle (from 24929187)-- - Linea (from 3807992)-- - Blast (from 8930720, actual income will start later and this can be adjusted)-- - Scroll (from 9401131, actual income will start later and this can be adjusted)-- - Mode (from 13251859, actual income will start later and this can be adjusted)-- - Avalanche (from 23634341, actual income will start later and this can be adjusted)-- - Ink (from 864975)-- - Sonic (from 3028912, actual income will start later and this can be adjusted)-- - Polygon zkEvm (from 20265525, actual income will start later and this can be adjusted)-- - unsupported by Dune: Cronos, Ontology, cyber, taiko, xlayer, coredao, metis, neon, zeta, mint, lisk, form, iota, zero, xdc, soneiumwith treasury1 AS (SELECTDATE_TRUNC('{{granularity}}', block_time) AS "Time",SUM(CAST(value AS DOUBLE) / 1e18) AS "Income"FROMarbitrum.traces tWHEREtx_success = TRUEAND "to" = 0xf7b73f96951e7ef3f9da69b4ec6431319ade7e9fAND t.block_number > 58808975AND t.block_number < 60017869GROUP BY1),------------------treasury2eth AS (SELECTDATE_TRUNC('{{granularity}}', block_time) AS "Time",SUM(CAST(value AS DOUBLE) / 1e18) AS "Income"FROMethereum.traces tWHEREtx_success = TRUEAND "to" = 0x1d7dA3D9BC8fcFf7953D91E721531D6Dc69F09f6AND t.block_number > 16671777AND t.block_number < 16834448GROUP BY1),treasury2arb AS (SELECTDATE_TRUNC('{{granularity}}', block_time) AS "Time",SUM(CAST(value AS DOUBLE) / 1e18) AS "Income"FROM