# Pool variables

<table><thead><tr><th width="225.5">Parameter</th><th>Description</th></tr></thead><tbody><tr><td>Base Collateral</td><td>Sum of all ETH collateral in the system.</td></tr><tr><td>Quote Collateral</td><td>Sum of all USDC collateral in the system.</td></tr><tr><td>Base Debt</td><td>Discounted total debt in ETH. </td></tr><tr><td>Quote Debt</td><td>Discounted total debt in USDC. </td></tr><tr><td>Long leverage</td><td>This is leverage of all long positions in the protocol. Longs borrow USDC against ETH to buy more ETH.</td></tr><tr><td>Short leverage</td><td>This is leverage of all short positions in the protocol. Shorts borrow ETH against USDC to sell it for more USDC</td></tr><tr><td>Base Debt Coef</td><td><p>Total accrued interest from the inception. Recalculated every time any user performs any action. Tracks debt accrual in the system: </p><pre><code>ARL(t) = ARL(t-1) * (1 + Long leverage * ir)^dt
ir = Coef * var(ETH)
</code></pre></td></tr><tr><td>Quote Debt Coeff</td><td><p>Total accrued interest from the inception. Recalculated every time any user performs any action. Tracks debt accrual in the system: </p><pre><code>ARS(t) = ARS(t-1) * (1 + Short leverage * ir)^dt
ir = Coef * var(ETH)
</code></pre></td></tr><tr><td>Base Collateral Coef</td><td>This is the collateral coefficient for ETH liquidity.<br><br>It increases every time the interest rate from ETH shorts is accrued. It also increases every time shorts are liquidated with the surplus. It may decrease when liquidated position has negative net difference. </td></tr><tr><td>Quote Collateral Coef</td><td>This is the mToken price for the USDC liquidity.<br><br>It increases every time the interest rate from USDC shorts is accrued. It also increases every time ETH longs are liquidated with the surplus.  It may decrease when liquidated position has negative net difference. </td></tr><tr><td>Base Deleverage Coef</td><td>Coefficient used in base collateral calculations after deleverage</td></tr><tr><td>Quote Deleverage Coef</td><td>Coefficient used in quote collateral calculations after deleverage</td></tr></tbody></table>


---

# 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.marginly.com/protocol-architecture/pools/pool-variables.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.
