> For the complete documentation index, see [llms.txt](https://turtles-organization.gitbook.io/defi-turtle/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://turtles-organization.gitbook.io/defi-turtle/protocol-overview/turtle-rebase.md).

# Turtle Rebase

### <mark style="color:yellow;">What is  Rebase Mechanism?</mark>

The  Rebase mechanism allows a token to have an elastic supply. Meaning, the total supply adjusts itself up or down every rebase. Rebases may take place every epoch (every 6 hours).

Here is a simple explanation: Token XYZ has a target price of $1, if XYZ price is above $1, new XYZ tokens are released which will result in the circulating supply going up, forcing XYZ price to $1. By contrast, when XYZ price is below 1$, the platform will remove a portion of XYZ from the circulating supply and force XYZ price to 1$. This change is supply **takes place everywhere**: in a users' wallets, farms, pools, etc. This universal control over supply helps make it easier to maintain peg and protect the ecosystem.

The important point is that after a rebase, **users own relatively the same percentage of the entire network.** That means everyone still owns the same percentage of all the tokens in existence after each rebase.

### <mark style="color:yellow;">Implementation in Space Rebase</mark>

Since many Tomb-forks fail to get back to peg, the protocol will implement the rebase Mechanism. This will help the protocol protect peg and keep the whole system running for the long term. This was prior implemented in SpaceShipx and we are inspired from it.  Though spaceshipX failed to run successfully for various reasons, rebase mechanism is something we inspired from them  which supports the peg.

### <mark style="color:yellow;">Rebase Condition</mark>

The rebase will happen on the next epoch if peg token ($TURT) **TWAP is below 1.00** of **for two consecutive epochs**. Rebases can happen every epoch as long as TWAP is under 1.00 after meeting the condition above.

### <mark style="color:yellow;">Post Rebase</mark>

After every rebase, peg tokens in circulating supply will be reduced, including in users' wallets, liquidity pool, etc.

The reduction of peg tokens in the liquidity pool will result in the increase of peg tokens price&#x20;

For Example :&#x20;

* Before the rebase: There are 1000 **$TURT** tokens to be claimed from the BeachHouse(boardroom) that are valued at $0.8  =>**$TURT** is below peg  => Total value of tokens is $800.
* After the rebase: 200 $TURT tokens have been burned => There are 800 **$TURT** tokens in the boardroom however the value of each $TURT is now => 1$ =>***Meaning the value of your tokens are the same before and after the rebase!***

###


---

# 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://turtles-organization.gitbook.io/defi-turtle/protocol-overview/turtle-rebase.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.
