Query editor
-- bankr-launch-v3-arc-daily [materialized source]-- Bankr launch-v3 on Arc: factory 0x35ECC165…, FeeLocker 0xdD946F77…, Uniswap V3 1% pools quoted in native USDC.-- Fees are measured from FeesSplit (protocol leg = Bankr), valued at collect time; token legs at the pool's-- last swap price before the collect. Volume = |quote leg| of every pool swap.WITH launches AS (SELECT block_time,bytearray_substring(topic1, 13, 20) AS token,bytearray_substring(topic2, 13, 20) AS pool,bytearray_substring(data, 13, 20) AS quoteFROM arc.logsWHERE block_date >= DATE '2026-09-16'AND contract_address = 0x35ECC165eF7F7e674fF0d05512A5B0BcfF4B731CAND topic0 = 0xe4c995d391c41bdf7603d29153dab3f7482e221dd45736de2d236e5d5f8594eb -- TokenLaunched),quotes (quote, symbol, decimals, usd) AS (VALUES (0x3600000000000000000000000000000000000000, 'USDC', 6, 1.0)),swaps AS (SELECT s.block_time, s.block_number, s.index AS log_index, l.pool, l.quote,CASE WHEN l.token < l.quote THEN bytearray_to_int256(bytearray_substring(s.data, 1, 32))ELSE bytearray_to_int256(bytearray_substring(s.data, 33, 32)) END AS token_amt,CASE WHEN l.token < l.quote THEN bytearray_to_int256(bytearray_substring(s.data, 33, 32))ELSE bytearray_to_int256(bytearray_substring(s.data, 1, 32)) END AS quote_amtFROM arc.logs sJOIN launches l ON s.contract_address = l.poolWHERE s.block_date >= DATE '2026-09-16'AND s.topic0 = 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67 -- v3 Swap),swaps_priced AS (SELECT s.*, q.decimals,ABS(CAST(s.quote_amt AS DOUBLE)) / POWER(10, q.decimals) AS quote_units,CASE WHEN s.token_amt <> 0THEN (ABS(CAST(s.quote_amt AS DOUBLE)) / POWER(10, q.decimals)) / (ABS(CAST(s.token_amt AS DOUBLE)) / 1e18)END AS px_quote_per_token,q.usd AS quote_usdFROM swaps sLEFT JOIN quotes q ON q.quote = s.quote),splits AS (SELECT f.block_time, f.block_number, f.index AS log_index, l.pool, l.quote,CAST(bytearray_to_uint256(bytearray_substring(f.data, 1, 32)) AS DOUBLE) AS creator_tok,CAST(bytearray_to_uint256(bytearray_substring(f.data, 33, 32)) AS DOUBLE) AS holder_tok,CAST(bytearray_to_uint256(bytearray_substring(f.data, 65, 32)) AS DOUBLE) AS protocol_tok,CAST(bytearray_to_uint256(bytearray_substring(f.data, 97, 32)) AS DOUBLE) AS creator_paired,CAST(bytearray_to_uint256(bytearray_substring(f.data, 129, 32)) AS DOUBLE) AS holder_paired,CAST(bytearray_to_uint256(bytearray_substring(f.data, 161, 32)) AS DOUBLE) AS protocol_pairedFROM arc.logs fJOIN launches l ON bytearray_substring(f.topic1, 13, 20) = l.tokenWHERE f.block_date >= DATE '2026-09-16'AND f.contract_address = 0xdD946F77f80ae4704A99E19Cc9330989dA0043D2AND f.topic0 = 0x593f66b1a67dcf30d5f9517cc0db3a3559a8013e777b376cdfbf968f14e0faeb -- FeesSplit),splits_priced AS (SELECT f.block_time, f.creator_tok, f.holder_tok, f.protocol_tok, f.creator_paired, f.holder_paired, f.protocol_paired,q.decimals, q.usd AS quote_usd,MAX_BY(s.px_quote_per_token, s.block_number * 1000000 + s.log_index) AS px_quote_per_tokenFROM splits fJOIN quotes q ON q.quote = f.quoteLEFT JOIN swaps_priced s ON s.pool = f.pool AND s.px_quote_per_token IS NOT NULLAND (s.block_number < f.block_number OR (s.block_number = f.block_number AND s.log_index < f.log_index))