Query editor
-- =================================================================-- 🔵 Base Ecosystem Landscape (Rich Data Showcase)-- 目的: 展示 Ecosystem Map 组件的 Logo 构造、分组和数值格式化能力-- =================================================================WITH ecosystem_data AS (SELECT * FROM (VALUES-- 🦄 DEX & Liquidity (The Engine)('Aerodrome', 'DEX & Liquidity', 582000000, 'aerodrome.finance'),('Uniswap', 'DEX & Liquidity', 245000000, 'uniswap.org'),('BaseSwap', 'DEX & Liquidity', 45000000, 'baseswap.fi'),('Maverick', 'DEX & Liquidity', 32000000, 'mav.xyz'),('SharkSwap', 'DEX & Liquidity', 12000000, 'sharkswap.xyz'),('Curve', 'DEX & Liquidity', 85000000, 'curve.fi'),-- 🏦 Lending & Borrowing (The Bank)('Compound V3', 'Lending', 320000000, 'compound.finance'),('Aave V3', 'Lending', 158000000, 'aave.com'),('Moonwell', 'Lending', 95000000, 'moonwell.fi'),('Seamless', 'Lending', 65000000, 'seamlessprotocol.com'),('Sonne', 'Lending', 22000000, 'sonne.finance'),-- 👥 SocialFi (The Viral Layer)('Friend.tech', 'SocialFi', 35000000, 'friend.tech'),('Farcaster', 'SocialFi', 15000000, 'farcaster.xyz'),('Drakula', 'SocialFi', 5000000, 'drakula.app'),('Blackbird', 'SocialFi', 8000000, 'blackbird.xyz'),-- 🐸 Memes & Culture (The Community)('DEGEN', 'Meme & Culture', 120000000, 'degen.tips'),('BRETT', 'Meme & Culture', 85000000, 'basedbrett.com'),('TOSHI', 'Meme & Culture', 40000000, 'toshithecat.com'),('MOCHI', 'Meme & Culture', 15000000, 'mochi.cat'),-- 🌉 Bridges & Infra (The Pipes)('Stargate', 'Infrastructure', 110000000, 'stargate.finance'),('Orbiter', 'Infrastructure', 45000000, 'orbiter.finance'),('Across', 'Infrastructure', 38000000, 'across.to'),('Pyth', 'Infrastructure', 0, 'pyth.network'),('The Graph', 'Infrastructure', 0, 'thegraph.com'),-- 🎨 NFT & Gaming('OpenSea', 'NFT & Gaming', 0, 'opensea.io'),('Manifold', 'NFT & Gaming', 0, 'manifold.xyz'),('Parallel', 'NFT & Gaming', 0, 'parallel.life'),('Pixelmon', 'NFT & Gaming', 0, 'pixelmon.ai')) AS t(project, category, tvl, domain))SELECTproject,category,-- 1. 🖼️ Logo Magic: 动态构造 Logo URL-- 如果是空域名,则留空(前端会显示首字母 fallback)CASEWHEN domain IS NOT NULLTHEN CONCAT('https://logo.clearbit.com/', domain)ELSE NULL