# SY

SY is a token standard for wrapping yield-bearing tokens, implementing a standardized smart contract API. All yield-bearing tokens can be wrapped into SY, providing them with a common standardized interface. SY on Zenlink Eden is compatible with all yield-bearing tokens in the Polkadot DeFi ecosystem, creating a permissionless ecosystem.

> For example, vDOT, vGLMR, and stDOT can be wrapped into SY-vDOT, SY-vGLMR, and SY-stDOT, standardizing their yield generation mechanisms for Zenlink Eden system support.

Since all SY tokens share the same mechanism, Zenlink Eden uses SY as the main interface for interacting with all yield-bearing tokens. PT and YT are minted by splitting SY, and Zenlink AMM pools allow trading between PT and SY.

Although it may sound complex, Zenlink Eden can automatically convert yield-bearing tokens into SY and vice versa. This process happens automatically in the background, providing users with an experience akin to directly interacting with yield-bearing tokens without manually handling the SY <> yield-bearing token conversion.

Learn more about SY and EIP-5115 [here](https://eips.ethereum.org/EIPS/eip-5115/).

### SY (Un)wrap Function

The SY (Un)wrap function can be found in "Swap," allowing users to convert SY tokens back to their underlying yield-bearing tokens and vice versa.

<figure><img src="/files/hXNFzNEPsCsGy2bIuGUq" alt=""><figcaption></figcaption></figure>

The SY (Un)wrap function follows these simple steps:

**Step 1:** Select whether to convert an SY token back to its underlying yield-bearing asset (Unwrap) or to wrap a yield-bearing asset into an SY token (Wrap).

**Step 2:** Enter the amount.

**Step 3:** Check the exchange rate and output.

**Step 4:** Confirm and approve the transaction.

{% hint style="info" %}
Generally, users do not need to use the wrap function manually. All operations that involve wrapping yield-bearing tokens into SY are executed automatically by the protocol, requiring no manual intervention.

However, since the interest accrued by YT from the underlying yield-bearing assets is distributed through SY tokens, users will need to use the "Unwrap" function to convert SY back into yield-bearing assets or perform other operations like providing liquidity after claiming YT interest.
{% 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://wiki.zenlink.pro/zenlinkeden/protocol-mechanisms/yield-tokenization/sy.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.
