# Parameters

The following parameters govern the behavior of the Risk Engine, ensuring the security and efficiency of the protocol. These parameters influence borrowing, collateral management, and liquidation processes across the protocol's **pToken** markets.

#### **LTV (collateralFactor)**

The **LTV** determines the portion of a user's supplied assets that can be used as borrowing power. Can be read by `collateralFactor` function.

```solidity
function collateralFactor(uint8 categoryId, IPToken pToken)
    external
    view
    returns (uint256);
```

#### **LLTV (liquidationThreshold)**

The **LLTV** represents the point at which a borrower’s position becomes eligible for liquidation. Can be read by `liquidationThreshold` function.

<pre class="language-solidity"><code class="lang-solidity"><strong>function liquidationThreshold(uint8 categoryId, IPToken pToken)
</strong>    external
    view
    returns (uint256);
</code></pre>

#### **Close Factor**

The **Close Factor** determines the percentage of a borrower’s **under-collateralized** position that can be liquidated in a single transaction. Can be read by `closeFactor` function.

```solidity
function closeFactor(address pToken) external view returns (uint256);
```

#### **Liquidation Incentive**

The **Liquidation Incentive** is the bonus given to liquidators when they repay a borrower’s debt and seize their collateral. This incentive ensures an active liquidation market by rewarding liquidators and can be read by `liquidationIncentive` function.

```solidity
function liquidationIncentive(uint8 categoryId, address pToken)
    external
    view
    returns (uint256);
```

#### **Supply Cap**

The **Supply Cap** sets the **maximum amount** of a given **pToken** that can be supplied to the protocol and can be read by `supplyCap` function.

```solidity
function supplyCap(address pToken) external view returns (uint256);
```

#### **Borrow Cap**

The **Borrow Cap** limits the **total amount** of a given **pToken** that can be borrowed and can be read by `borrowCap` function.

```solidity
function borrowCap(address pToken) external view returns (uint256);
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pike.finance/developer-docs/smart-contracts/risk-engine/parameters.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
