Query editor
-- PancakeSwap x DOS — official-shape board (clone of 8228026)-- Paying QUID query 8228026 = query_8227199 WHERE is_fe_trade AND eligible counterpart AND SUM>=500-- This file inlines the 8227199 base table, retargeted to DOS / bnb.---- Campaign: Aug 11, 2026 08:00 UTC – Aug 25, 2026 08:00 UTC-- Chain: bnb (Dune name; not 'bsc')-- Token: DOS 0xB0f09ea9ae0515C3551080D4a745C8115aA30e37-- Attribution: tx_from (same as 8228026; not taker)-- FE gate: LEFT JOIN dune.pancakeswap.dataset_fe_swap_txhash → is_fe_trade-- Eligible counterparts: dune.cyrus_su.dataset_eligible_base_tokens_trading_competition WHERE chain='bnb'-- BTCB, CAKE, ETH, U, USD1, USDC, USDT, WBNB-- Routers (same 8227199 set):-- 0xd9c500… Infinity UniversalRouter-- 0x40A1FE… Aggregator-- 0x1A0A18AC… V3 UniversalRouter-- Versions: 2 / 3 / infinity_cl / infinity_lb-- Tiers: T1 $500 / T2 $2,000 / T3 $5,000WITH params AS (SELECTCAST('2026-08-11 08:00:00' AS TIMESTAMP) AS start_time, CAST('2026-08-25 08:00:00' AS TIMESTAMP) AS end_time, 0xB0f09ea9ae0515C3551080D4a745C8115aA30e37 AS token_address -- DOS, 'bnb' AS chain),fe_hashes AS (SELECT DISTINCT lower(tx_hash) AS tx_hashFROM dune.pancakeswap.dataset_fe_swap_txhash),base_trades AS (SELECTt.tx_from, t.tx_hash, t.block_date, t.block_time, t.amount_usd, t.version, t.project_contract_address, t.block_number, t.evt_index, t.blockchain, t.token_bought_address, t.token_sold_address, CASE WHEN fe.tx_hash IS NOT NULL THEN true ELSE false END AS is_fe_tradeFROM dex.trades tCROSS JOIN params pLEFT JOIN fe_hashes feON lower(concat('0x', to_hex(t.tx_hash))) = fe.tx_hashWHEREt.block_time >= p.start_timeAND t.block_time < p.end_timeAND t.project = 'pancakeswap'AND t.version IN ('2', '3', 'infinity_cl', 'infinity_lb')AND t.blockchain = p.chainAND t.tx_to IN (0xd9c500dff816a1da21a48a732d3498bf09dc9aeb, -- Infinity UniversalRouter0x40A1Fe393A7F566F27dF6acE18e6773be844dAfc, -- aggregator0x1A0A18AC4BECDDbd6389559687d1A73d8927E416 -- V3 UniversalRouter)AND (