grimoire-morpho-blue

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Grimoire Morpho Blue Skill

Grimoire Morpho Blue 技能

Use the Grimoire CLI to read Morpho Blue deployment data.
Preferred:
  • grimoire venue morpho-blue ...
If you installed
@grimoirelabs/venues
directly, you can also use
grimoire-morpho-blue
.
使用Grimoire CLI读取Morpho Blue部署数据。
推荐用法:
  • grimoire venue morpho-blue ...
如果你直接安装了
@grimoirelabs/venues
,也可以使用
grimoire-morpho-blue

When to use

使用场景

  • Fetch Morpho Blue addresses or vaults for quick VM prototyping.
  • Produce snapshot
    params
    blocks with
    --format spell
    for VM runs.
  • 为快速VM原型开发获取Morpho Blue地址或金库信息。
  • 使用
    --format spell
    生成适用于VM运行的快照
    params
    块。

Prerequisites

前置条件

  • Global CLI:
    npm i -g @grimoirelabs/cli
  • No install:
    npx -y @grimoirelabs/cli venue morpho-blue ...
  • 全局CLI安装:
    npm i -g @grimoirelabs/cli
  • 无需安装:
    npx -y @grimoirelabs/cli venue morpho-blue ...

VM snapshot usage

VM快照用法

Use
--format spell
to emit a VM-ready
params:
block you can paste into a spell.
The snapshot includes provenance fields (
snapshot_at
,
snapshot_source
) and APY data.
APY semantics:
  • apy
    /
    net_apy
    are decimal rates (for example
    0.0408
    =
    4.08%
    ).
  • When reporting, include both decimal and percent display when possible.
使用
--format spell
生成可直接粘贴到spell中的VM就绪
params:
块。
快照包含溯源字段(
snapshot_at
snapshot_source
)以及APY数据。
APY语义说明:
  • apy
    /
    net_apy
    为十进制比率(例如
    0.0408
    =
    4.08%
    )。
  • 报告时,尽可能同时显示十进制数值和百分比形式。

Commands

命令

  • grimoire venue morpho-blue info [--format <json|table>]
  • grimoire venue morpho-blue addresses [--chain <id>] [--format <json|table>]
  • grimoire venue morpho-blue vaults [--chain <id>] [--asset <symbol>] [--min-tvl <usd>] [--min-apy <decimal>] [--min-net-apy <decimal>] [--sort <field>] [--order <asc|desc>] [--limit <n>] [--format <json|table|spell>]
  • grimoire venue morpho-blue info [--format <json|table>]
  • grimoire venue morpho-blue addresses [--chain <id>] [--format <json|table>]
  • grimoire venue morpho-blue vaults [--chain <id>] [--asset <symbol>] [--min-tvl <usd>] [--min-apy <decimal>] [--min-net-apy <decimal>] [--sort <field>] [--order <asc|desc>] [--limit <n>] [--format <json|table|spell>]

Examples

示例

bash
grimoire venue morpho-blue info --format table
grimoire venue morpho-blue addresses --chain 1
grimoire venue morpho-blue addresses --chain 8453
grimoire venue morpho-blue vaults --chain 8453 --asset USDC --min-tvl 5000000 --format table
grimoire venue morpho-blue vaults --chain 8453 --asset USDC --min-tvl 5000000 --format spell
Example VM provenance output fields to preserve:
  • snapshot_at
  • snapshot_source
  • units
    (for example
    net_apy=decimal
    ,
    net_apy_pct=percent
    ,
    tvl_usd=usd
    )
bash
grimoire venue morpho-blue info --format table
grimoire venue morpho-blue addresses --chain 1
grimoire venue morpho-blue addresses --chain 8453
grimoire venue morpho-blue vaults --chain 8453 --asset USDC --min-tvl 5000000 --format table
grimoire venue morpho-blue vaults --chain 8453 --asset USDC --min-tvl 5000000 --format spell
需要保留的VM溯源输出字段示例:
  • snapshot_at
  • snapshot_source
  • units
    (例如
    net_apy=decimal
    net_apy_pct=percent
    tvl_usd=usd

Default Markets (Base)

默认市场(Base链)

The adapter ships with pre-configured markets for Base (chain 8453):
MarketCollateralLLTV
cbBTC/USDCcbBTC86%
WETH/USDCWETH86%
When no collateral is specified in a spell, the first matching market by loan token is selected.
该适配器附带Base链(链ID 8453)的预配置市场:
市场抵押品LLTV
cbBTC/USDCcbBTC86%
WETH/USDCWETH86%
当spell中未指定抵押品时,将按借贷代币选择第一个匹配的市场。

Notes

注意事项

  • Outputs JSON plus a human-readable table.
  • Uses the SDK's chain address registry.
  • 输出JSON格式以及人类可读的表格形式。
  • 使用SDK的链地址注册表。