protocol-deep-dive
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseProtocol Deep Dive
协议深度剖析
Perform a thorough analysis of a single DeFi protocol by combining multiple
data sources into one structured report.
通过整合多数据源,对单一DeFi协议进行全面分析并生成结构化报告。
Workflow
工作流程
Step 1 - Resolve the protocol entity
步骤1 - 解析协议实体
If the protocol slug is unknown or ambiguous, resolve it first.
defillama:resolve_entity
entity_type: "protocol"
name: "<user-provided name>"如果协议slug未知或存在歧义,需先进行解析。
defillama:resolve_entity
entity_type: "protocol"
name: "<user-provided name>"Step 2 - Core protocol metrics
步骤2 - 核心协议指标
Fetch TVL, fees, revenue, market cap, ratios, and trend data.
defillama:get_protocol_metrics
protocol: "<slug>"Key fields to surface: , , , ,
, , , .
tvl_basefees_1drevenue_1dmcapps_ratiopf_ratiotvl_base_7d_pct_changetvl_base_30d_pct_change获取TVL、费用、收入、市值、比率及趋势数据。
defillama:get_protocol_metrics
protocol: "<slug>"需重点展示的关键字段:、、、、、、、。
tvl_basefees_1drevenue_1dmcapps_ratiopf_ratiotvl_base_7d_pct_changetvl_base_30d_pct_changeStep 3 - Top yield pools
步骤3 - 顶级收益池
Retrieve the protocol's highest-TVL pools to show yield opportunities.
defillama:get_yield_pools
protocol: "<slug>"Highlight pools with the highest TVL and APY. Note any pools where the
base APY is very low and rewards dominate (sustainability signal).
获取协议中TVL最高的收益池,展示收益机会。
defillama:get_yield_pools
protocol: "<slug>"重点突出TVL和APY最高的池。注意那些基础APY极低、奖励占主导的池(这是可持续性信号)。
Step 4 - Recent events
步骤4 - 近期事件
Check for hacks, fundraises, or other notable events.
defillama:get_events
protocol: "<slug>"
event_type: "hacks"Also check for fundraising activity:
defillama:get_events
protocol: "<slug>"
event_type: "raises"检查是否存在黑客攻击、融资或其他重大事件。
defillama:get_events
protocol: "<slug>"
event_type: "hacks"同时检查融资活动:
defillama:get_events
protocol: "<slug>"
event_type: "raises"Step 5 - Income statement
步骤5 - 利润表
Get the revenue breakdown to understand where income comes from.
defillama:get_income_statement
protocol: "<slug>"Use the param to filter by specific income line items if needed.
metric获取收入细分数据,了解收入来源。
defillama:get_income_statement
protocol: "<slug>"如有需要,可使用参数筛选特定收入项目。
metricStep 6 - User activity
步骤6 - 用户活跃度
Fetch daily active users and transaction counts.
defillama:get_user_activity
protocol: "<slug>"获取日活用户数及交易次数。
defillama:get_user_activity
protocol: "<slug>"Step 7 - Token price (if applicable)
步骤7 - 代币价格(如适用)
If the protocol has a native token, fetch current price context.
defillama:get_token_prices
token: "<coingecko:token_id>"如果协议有原生代币,获取当前价格相关信息。
defillama:get_token_prices
token: "<coingecko:token_id>"Output Format
输出格式
Present the report with these sections in order:
- Overview - One-paragraph summary: what the protocol does, which chain(s) it operates on, its category.
- Key Metrics - Table of TVL, fees, revenue, mcap, P/S, P/F, and percentage changes (7d, 30d).
- Yield Opportunities - Top 3-5 pools by TVL with chain, APY, and TVL.
- Revenue Breakdown - Where income comes from (supply-side vs protocol).
- User Growth - Active users trend, transaction volume.
- Recent Events - Hacks, raises, governance events.
- Token Performance - Price, market cap, volume, ATH distance.
按以下顺序呈现报告:
- 概述 - 一段总结:协议的功能、运行的链、所属类别。
- 关键指标 - TVL、费用、收入、市值、市销率(P/S)、市现率(P/F)及百分比变化(7天、30天)的表格。
- 收益机会 - TVL排名前3-5的池,包含链、APY及TVL信息。
- 收入细分 - 收入来源(供应端vs协议端)。
- 用户增长 - 活跃用户趋势、交易量。
- 近期事件 - 黑客攻击、融资、治理事件。
- 代币表现 - 价格、市值、交易量、距历史最高价(ATH)的差距。
Tips
提示
- If returns no data, skip the Revenue Breakdown section rather than showing empty results.
get_income_statement - Compare P/S and P/F ratios to category averages when possible.
- Flag declining TVL + declining users as a bearish signal.
- Flag growing TVL + growing users + growing revenue as strong fundamentals.
- Use /
start_datefor custom date ranges when analyzing specific periods.end_date
- 如果未返回数据,跳过“收入细分”部分,而非展示空结果。
get_income_statement - 尽可能将P/S和P/F比率与类别平均值进行比较。
- 标记TVL下降+用户数下降为看空信号。
- 标记TVL增长+用户数增长+收入增长为强劲基本面信号。
- 分析特定时间段时,使用/
start_date设置自定义日期范围。end_date