# xULAB

**xULAB** is a ve-style, non-transferable balance that you receive by **locking ULAB LP** in the Locker.

The amount of xULAB you get depends on:

* How much ULAB LP you lock (**LockedLPValue**)
* How long you lock it for (**LockPeriod**, up to 2 years)

#### Inputs

* `LockedLPValue`
  * Economic value (USD) of your locked ULAB LP.
* `LockPeriod`
  * Lock duration, chosen by the user, capped at **2 years** (24 months).

***

#### xULAB Formula

$$
\text{xULAB} = \Bigg( \min\Big(\frac{\text{Lock}\_{\text{Months}}}{24},\ 1\Big) \Bigg) \times \text{LockedLPValue}
$$

* Locking **longer** linearly increases your xULAB up to 24 months.
* Beyond 24 months, xULAB does **not** increase further (hard cap).

#### Example Table

Assume `LockedLPValue = $100`.

| Lock Period | Fraction of Max | xULAB Calculation | xULAB Result |
| ----------- | --------------- | ----------------- | ------------ |
| 3 months    | 3 / 24 = 0.125  | 0.125 × 100       | 12.5         |
| 12 months   | 12 / 24 = 0.5   | 0.5 × 100         | 50           |
| 24 months   | 24 / 24 = 1.0   | 1.0 × 100         | 100          |

***


---

# 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.layerbank.finance/tokenomics/usdulab-1/xulab.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.
