Lends Math Liquidation Price
lends_math_liquidation_priceCompute the 8-decimal liquidation price from collateral, debt, decimals, and threshold; returns null when debt or collateral is absent.
Instructions
Calculate the 8-decimal liquidation price; returns null without debt or collateral.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debtLeusd | Yes | ||
| collateralRaw | Yes | ||
| collateralDecimals | Yes | ||
| liquidationThresholdBps | Yes |