> For the complete documentation index, see [llms.txt](https://docs.origami.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.origami.finance/the-first-fold-v1/relationship-between-token-otokens-and-ovtokens.md).

# Relationship Between Token, oTokens, and ovTokens

The following examples are user flows using GMX vault as an example.

<figure><img src="/files/8sYInF77xgWKzlG8Vk0m" alt=""><figcaption></figcaption></figure>

### Example Token Flow for GMX Deposits at Time t

* User A deposits 1 GMX
* Origami mints 1 oGMX and stores it in the vault
* Origami sends the deposited 1 GMX to the gmx.io staking contract to earn yield
* Origami mints 0.90 ovGMX (assuming current reservePerShare = 1.11)
* Origami sends 0.90 ovGMX to User A

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

### Example Token Flow for GMX Redemption at Time t+1 (Fees ignored for simplicity)

* User A sends 0.90 ovGMX to Origami
* Origami burns 0.90 ovGMX in exchange for 1.17 oGMX (current reservePerShare = 1.30)
* Origami burns 1.17 oGMX to withdraw 1.17 GMX from the oGMX vault
* Origami sends 1.17 GMX to User A (a 17% return on the original deposit)


---

# 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:

```
GET https://docs.origami.finance/the-first-fold-v1/relationship-between-token-otokens-and-ovtokens.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.
