Plan Morpho Borrower Protection
morpho_protectionCalculate two alternative protection plans for one Base Morpho borrower under a selected collateral-price shock and target health factor: partial repayment or added collateral. Each plan includes the bounded asset amount, expected stressed health factor, evidence basis, and unsigned ERC-20 approval plus Morpho call templates. Use morpho_position for diagnosis without an action plan, morpho_market_underwrite for market-wide risk, or morpho_preliquidation_replay for a completed historical event. Read-only; no wallet, signing, broadcast, or custody.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Borrower EVM address on Base mainnet. | |
| executionBufferBps | No | Additional repayment or collateral amount buffer in basis points for debt accrual and integer rounding; 25 means 0.25%. | |
| targetHealthFactor | No | Target Morpho health factor after the selected collateral-price shock; must be greater than 1 and at most 5. | |
| protectAgainstShockPct | No | Collateral-price shock percentage to withstand, from -99 through 0; for example -10 models a 10% price decline. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| chain | Yes | ||
| inputs | Yes | ||
| quotes | Yes | ||
| source | Yes | ||
| address | Yes | ||
| product | Yes | ||
| version | Yes | ||
| boundary | Yes | ||
| fetchedAt | Yes | ||
| invariants | Yes | ||
| positionCount | Yes | ||
| actionableCount | Yes | ||
| latestIndexedAt | Yes | ||
| unverifiedCount | Yes |