# How is xSHADOW used?

## <mark style="color:orange;">Please visit</mark> [<mark style="color:orange;">docs.shadow.so</mark>](https://docs.shadow.so/) <mark style="color:orange;">these are depreciated.</mark>&#x20;

## <mark style="color:orange;">Web app is available at</mark> [<mark style="color:orange;">shadow.so</mark>](https://www.shadow.so/)

xSHADOW offers three distinct functionalities that form the basis of the decision matrix:

* <mark style="color:orange;">**Instant Exit to SHADOW (xSHADOW -> SHADOW):**</mark> This conversion allows for an immediate exchange of xSHADOW to SHADOW at a rate of X\* SHADOW per xSHADOW with a Y% haircut applied.
* <mark style="color:orange;">**Vesting of xSHADOW (xSHADOW -> SHADOW):**</mark> Vesting allows users to receive up to the full value of the SHADOW backing each xSHADOW, through a time based vesting process:

  * Minimum Vesting Length (Cancellation Period): The minimum vesting period for xSHADOW is set at 15 days (86400s \* 15), during which it cannot be canceled or returned.
  * Maximum Vesting Length (100% Exit): The maximum vesting period for a full exit of xSHADOW is 180 days (86400s \*180).

  Vesting can be cancelled only during the initial 14 day vesting period.  xSHADOW is returned to a user upon cancellation of vesting.  Once a minimum initial vesting period has elapsed, the vesting becomes permanent and a user may withdraw liquid SHADOW tokens subject to the haircut then applicable as determined based on the portion of the vesting period that has been completed.  Upon completion of the maximum 180 day vesting length a user receives SHADOW tokens in proportion to their xSHADOW on a 1:1 basis.

<mark style="color:orange;">X\* =</mark> Variable changeable by governance that represents the amount of xSHADOW-> SHADOW conversion from instant exits

<mark style="color:orange;">Y\* =</mark> Variable that represents the haircut % determinable from X

{% hint style="info" %}
Initially, instant exiting xSHADOW is subject to a 50% haircut and is instantly redeemable for 50% of the SHADOW value.
{% endhint %}


---

# 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.shadowdex.fi/shadow-tokenomics/xshadow/how-is-xshadow-used.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.
