# Fixed Staking

#### 🔒Fixed Staking - Early Withdrawal Rules

\
If you stake in a Fixed Pool and decide to withdraw before the lock period ends, here’s exactly how it works

***

#### 💰Do I lose my rewards if I exit early?

\
No.

You keep all rewards accrued up to that point.

The contract always calculates:

* Rewards already accumulated
* Plus new rewards earned since your last action

Those rewards are added to your payout, even if you leave early.

***

#### ✂️Where does the penalty apply?

\
The penalty is applied only to your original deposit, not to rewards.

Your final payout is:

Penalized principal + 100% of earned rewards

***

#### ⏳How early-exit penalties are calculated

\
Each pool’s lock period is split into 3 equal phases:

**Phase 1:** No withdrawals allowed,\
**Phase 2:** Partial principal unlocked (Penalty Tier 1),\
**Phase 3:** Larger principal unlocked (Penalty Tier 2),

Depending on when you exit, the contract applies one of these:

withdrawalCut1 → % of principal returned in Phase 2,\
withdrawalCut2 → % of principal returned in Phase 3,

Rewards are **always fully included.**

***

#### ✅Summary

\
• Early withdrawals keep all earned rewards\
• Penalties affect only the principal\
• Lock period has 3 stages\
• The later you exit, the less principal is cut


---

# 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://wiki.obsidian.finance/dex/fixed-staking.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.
