> For the complete documentation index, see [llms.txt](https://kamo-finance.gitbook.io/kamo-finance-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kamo-finance.gitbook.io/kamo-finance-docs/protocol-mechanics/yield-tokenazation/sy.md).

# SY

<figure><img src="/files/9a0lmTVLhil0R60qZ99d" alt="" width="563"><figcaption></figcaption></figure>

**Overview**\
SY is a token standard that implements a standardized API for wrapped yield-bearing tokens within smart contracts. Traditionally, a single wrapper was used to convert yield-bearing tokens into SY, providing a unified interface for all yield-bearing tokens in DeFi. However, to enhance flexibility and composability, we have introduced a dual-wrapper architecture.

**The Dual-Wrapper Design**

1. **First Wrapper: Non-Decreasing Exchange Rate Function**\
   The first wrapper converts yield-bearing tokens into an SY token with a non-decreasing `exchange_rate` function. This mechanism The first wrapper converts yield-bearing tokens into an SY token with a non-decreasing `exchange_rate` function. This mechanism ensures that the value of the SY token consistently increases over time, reflecting the yield generated by the underlying asset.
   1. **Note:** If the yield-bearing token natively supports a non-decreasing exchange rate, the first wrapping step is not needed. The token will directly move to the second wrapping phase, avoiding unnecessary conversions.
2. **Second Wrapper: Kamo Finance API Compatibility**\
   The SY token is then wrapped again with an API that is fully compatible with Kamo Finance contracts. This additional wrapper enables advanced DeFi functionalities such as minting PT (Principal Tokens) and YO (Yield Object) and trading PT against SY in Kamo AMM pools. The API compatibility with Kamo Finance also allows seamless integration into the Kamo ecosystem, enhancing liquidity and trading opportunities for SY tokens.

**How It Works in Practice**\
When a user deposits a yield-bearing token:

* It is first wrapped into an SY token with a non-decreasing exchange rate function.
* Then, the SY token is wrapped with the Kamo-compatible API, unlocking advanced DeFi features.

This dual-wrapper approach happens automatically behind the scenes, offering a smooth and intuitive experience for users, who interact with their yield-bearing tokens directly on the platform without needing to handle the SY conversion manually.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://kamo-finance.gitbook.io/kamo-finance-docs/protocol-mechanics/yield-tokenazation/sy.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
