Query editor
-- https://github.com/Lunarbase-Lab/LunarBaseIntegrations/blob/main/mainnet/addresses.json-- contract creator: 0x3BaE2A2B5397d82f76d3315b8716214375F4C08b-- contract create2 factory: 0x4e59b44847b379578588920cA78FbF26c0B4956C-- eth/usdc pool: 0x0000eFC4ec03a7c47D3a38A9Be7Ff1d52dD01b99with pool as (select 0x0000eFC4ec03a7c47D3a38A9Be7Ff1d52dD01b99 as project_contract_address)-- select-- block_month,-- block_date,-- block_time,-- tx_hash,-- case-- when "from" = 0x0000efc4ec03a7c47d3a38a9be7ff1d52dd01b99 then "to"-- when "to" = 0x0000efc4ec03a7c47d3a38a9be7ff1d52dd01b99 then "from"-- end as taker,-- 0x0000efc4ec03a7c47d3a38a9be7ff1d52dd01b99 as maker,-- symbol as token,-- contract_address as token_address,-- amount as amount_native,-- price_usd,-- amount_usd-- from tokens.transfers-- where-- blockchain = 'base' and-- ("from" = 0x0000eFC4ec03a7c47D3a38A9Be7Ff1d52dD01b99 or "to" = 0x0000eFC4ec03a7c47D3a38A9Be7Ff1d52dD01b99),swap_event as (select'swap' as operation,contract_address as project_contract_address,tx_hashfrom base.logswhereblock_date >= timestamp '2026-03-03' and-- block_time >= current_timestamp - interval '24' hour andcontract_address in (select project_contract_address from pool) andtopic0 in (0x1b43ddf90e971181a7faf41549e512675072e84befadbba7873086509dec1fdc)), swap as (selectdistinct'lunarbase' as protocol,tt.block_month,tt.block_date,tt.block_time,se.project_contract_address,se.operation,tt.tx_hash,tt.tx_to,tt.symbol,tt.contract_address as token_address,