Query editor
-- Aptos DEX activity via SwapEvent (이벤트 로그 기반)-- 함수명 필터 대신 SwapEvent 이벤트 타입으로 추적SELECTblock_date AS date,COUNT(*) AS dex_swapsFROM aptos.eventsWHERE block_date >= date('{{start_date}}')AND block_date < current_dateAND (event_type LIKE '%::SwapEvent%'OR event_type LIKE '%::SwapEventV3%'OR event_type LIKE '%::Swapped%'OR event_type LIKE '%::SponsoredSwap%')-- 중복 제거: Before/After 이벤트 제외, 메인 이벤트만AND event_type NOT LIKE '%Before%'AND event_type NOT LIKE '%After%'AND event_type NOT LIKE '%Fee%'AND event_type NOT LIKE '%Partner%'AND event_type NOT LIKE '%Step%'AND event_type NOT LIKE '%Summary%'AND event_type NOT LIKE '%Metadata%'GROUP BY 1ORDER BY 1