Loading...
Loading...
Compare original and translation side by side
Experimental (pre-v1.0) — Command syntax, response schemas, and available operations may change. Always verify critical outputs independently.
morpho <command> [options]baseethereum--chain实验版本(v1.0之前) — 命令语法、响应结构和可用操作可能会发生变化。重要输出请务必独立验证。
morpho <command> [options]baseethereum--chainundefinedundefinedundefinedundefinedprepare-*prepare-*{operation, simulation}operationsimulation--no-simulatesimulation.allSucceededsimulate-transactionsprepare-*prepare-*{operation, simulation}operationsimulation--no-simulatesimulation.allSucceededsimulate-transactions| Revert | Cause | What to do |
|---|---|---|
| Missing approval | Re-prepare — CLI should include approvals automatically |
| Vault liquidity insufficient | Reduce amount (see below) |
| User lacks tokens | Tell the user |
| Custom error hex | Protocol-specific | Query state with |
| 报错信息 | 原因 | 解决方法 |
|---|---|---|
| 缺少授权 | 重新执行准备命令 — CLI会自动包含授权操作 |
| 金库流动性不足 | 减少取款金额(见下文) |
| 用户代币余额不足 | 告知用户 |
| 自定义错误十六进制码 | 协议特定报错 | 使用 |
prepare-withdraw --amount maxsummaryparsedAmount * 0.99prepare-withdrawprepare-withdraw --amount maxsummary解析后金额 * 0.99prepare-withdrawsimulation.allSucceededsimulation.allSucceededjq--fields--sort-by--limitjq--fields--sort-by--limit--chain18453ethereumbase10^decimals"2000000000"2000--amount10001000000000--no-simulatesimulation.allSucceeded === false--chain18453ethereumbase10^精度"2000000000"2000--amount10001000000000--no-simulatesimulation.allSucceeded === false