base_lending_guard
Read-only Base lending pre-signing gate for Aave V3, an exact Morpho Blue market, Compound V3 USDC Comet, or reviewed Moonwell markets. Separately evaluates collateral and loan oracle integrity, checks caller-declared post-action LTV against live protocol parameters, and returns ALLOW / CAUTION / BLOCK. It never signs, broadcasts, or authorizes a transaction; bind a successful decision to an exact user-authorized transaction separately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| marketId | No | ||
| loanSymbol | Yes | ||
| protocolId | Yes | ||
| debtValueUsd | Yes | ||
| collateralSymbol | Yes | ||
| collateralValueUsd | Yes |