> For the complete documentation index, see [llms.txt](https://docs.layerbank.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.layerbank.finance/tokenomics/usdulab-1/claim-and-vesting.md).

# Claim & Vesting

This section describes how ULAB rewards are claimed, vested, and optionally re-routed back into the Locker via **Compound** and **Instant Lock**.

***

#### Claim & Vesting

When you press **Claim (Start Vesting)**, the claimed ULAB starts a **90-day vesting** schedule.

Let:

* $$R$$ = total reward amount in this vesting batch
* $$d$$ = days elapsed since vesting started (0 ≤ d ≤ 90)

Claimable amount:

$$
\text{Claimable}(d) = R \times \Big(0.01 + 0.99 \times \frac{d}{90}\Big)
$$

Penalty amount:

$$
\text{Penalty}(d) = R \times \Big( 1 - \big(0.01 + 0.99 \times \frac{d}{90} \big) \Big)
$$

* Day 0:
  * Claimable = 1% of R
  * Penalty = 99% of R
* Day 45:
  * Claimable ≈ 50.5% of R
  * Penalty ≈ 49.5% of R
* Day 90:
  * Claimable = 100% of R
  * Penalty = 0

Each **Start Vesting** action creates a separate, independent 90-day stream.

***

#### Compound (Pre-Vesting)

**Compound** uses rewards that are **not yet vesting** (Pending ULAB) and sends them directly into the Locker as LP.

* Source: **Pending ULAB (before Start Vesting)**

Flow:

1. Select the amount of Pending ULAB.
2. Use Borrow/Zap/Wallet funds to create ULAB LP.
3. Choose lock duration (minimum 90 days up to 2 years).
4. Lock LP → receive xULAB.

This effectively converts short-term rewards into long-term locked liquidity and more xULAB, instead of liquid ULAB.

***

#### Instant Lock (In-Vesting)

**Instant Lock** uses rewards that are **already vesting**.

* Source: **Vesting ULAB (after Start Vesting)**

Flow:

1. Select a portion of vesting ULAB.
2. Use Borrow/Zap/Wallet funds to create ULAB LP.
3. Choose lock duration (minimum 90 days up to 2 years).
4. Lock LP → receive xULAB.

Both **Compound** and **Instant Lock** share the same “Create LP & Lock” UX; they differ only in where the ULAB comes from.

Comparison:

| Mode         | ULAB Source  | Vesting State   | Result                     |
| ------------ | ------------ | --------------- | -------------------------- |
| Compound     | Pending ULAB | Not vesting     | LP + xULAB (no vest)       |
| Instant Lock | Vesting ULAB | Already vesting | LP + xULAB (converts vest) |
