protocol-deep-dive

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Protocol 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_base
,
fees_1d
,
revenue_1d
,
mcap
,
ps_ratio
,
pf_ratio
,
tvl_base_7d_pct_change
,
tvl_base_30d_pct_change
.
获取TVL、费用、收入、市值、比率及趋势数据。
defillama:get_protocol_metrics
  protocol: "<slug>"
需重点展示的关键字段:
tvl_base
fees_1d
revenue_1d
mcap
ps_ratio
pf_ratio
tvl_base_7d_pct_change
tvl_base_30d_pct_change

Step 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
metric
param to filter by specific income line items if needed.
获取收入细分数据,了解收入来源。
defillama:get_income_statement
  protocol: "<slug>"
如有需要,可使用
metric
参数筛选特定收入项目。

Step 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:
  1. Overview - One-paragraph summary: what the protocol does, which chain(s) it operates on, its category.
  2. Key Metrics - Table of TVL, fees, revenue, mcap, P/S, P/F, and percentage changes (7d, 30d).
  3. Yield Opportunities - Top 3-5 pools by TVL with chain, APY, and TVL.
  4. Revenue Breakdown - Where income comes from (supply-side vs protocol).
  5. User Growth - Active users trend, transaction volume.
  6. Recent Events - Hacks, raises, governance events.
  7. Token Performance - Price, market cap, volume, ATH distance.
按以下顺序呈现报告:
  1. 概述 - 一段总结:协议的功能、运行的链、所属类别。
  2. 关键指标 - TVL、费用、收入、市值、市销率(P/S)、市现率(P/F)及百分比变化(7天、30天)的表格。
  3. 收益机会 - TVL排名前3-5的池,包含链、APY及TVL信息。
  4. 收入细分 - 收入来源(供应端vs协议端)。
  5. 用户增长 - 活跃用户趋势、交易量。
  6. 近期事件 - 黑客攻击、融资、治理事件。
  7. 代币表现 - 价格、市值、交易量、距历史最高价(ATH)的差距。

Tips

提示

  • If
    get_income_statement
    returns no data, skip the Revenue Breakdown section rather than showing empty results.
  • 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_date
    /
    end_date
    for custom date ranges when analyzing specific periods.
  • 如果
    get_income_statement
    未返回数据,跳过“收入细分”部分,而非展示空结果。
  • 尽可能将P/S和P/F比率与类别平均值进行比较。
  • 标记TVL下降+用户数下降为看空信号。
  • 标记TVL增长+用户数增长+收入增长为强劲基本面信号。
  • 分析特定时间段时,使用
    start_date
    /
    end_date
    设置自定义日期范围。