grimoire-morpho-blue
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGrimoire Morpho Blue Skill
Grimoire Morpho Blue 技能
Use the Grimoire CLI to read Morpho Blue deployment data.
Preferred:
grimoire venue morpho-blue ...
If you installed directly, you can also use .
@grimoirelabs/venuesgrimoire-morpho-blue使用Grimoire CLI读取Morpho Blue部署数据。
推荐用法:
grimoire venue morpho-blue ...
如果你直接安装了,也可以使用。
@grimoirelabs/venuesgrimoire-morpho-blueWhen to use
使用场景
- Fetch Morpho Blue addresses or vaults for quick VM prototyping.
- Produce snapshot blocks with
paramsfor VM runs.--format spell
- 为快速VM原型开发获取Morpho Blue地址或金库信息。
- 使用生成适用于VM运行的快照
--format spell块。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 to emit a VM-ready block you can paste into a spell.
--format spellparams:The snapshot includes provenance fields (, ) and APY data.
snapshot_atsnapshot_sourceAPY semantics:
- /
apyare decimal rates (for examplenet_apy=0.0408).4.08% - When reporting, include both decimal and percent display when possible.
使用生成可直接粘贴到spell中的VM就绪块。
--format spellparams:快照包含溯源字段(、)以及APY数据。
snapshot_atsnapshot_sourceAPY语义说明:
- /
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 spellExample VM provenance output fields to preserve:
snapshot_atsnapshot_source- (for example
units,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_atsnapshot_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):
| Market | Collateral | LLTV |
|---|---|---|
| cbBTC/USDC | cbBTC | 86% |
| WETH/USDC | WETH | 86% |
When no collateral is specified in a spell, the first matching market by loan token is selected.
该适配器附带Base链(链ID 8453)的预配置市场:
| 市场 | 抵押品 | LLTV |
|---|---|---|
| cbBTC/USDC | cbBTC | 86% |
| WETH/USDC | WETH | 86% |
当spell中未指定抵押品时,将按借贷代币选择第一个匹配的市场。
Notes
注意事项
- Outputs JSON plus a human-readable table.
- Uses the SDK's chain address registry.
- 输出JSON格式以及人类可读的表格形式。
- 使用SDK的链地址注册表。