> For the complete documentation index, see [llms.txt](https://docs.mintera.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mintera.co/mintera-app/green-mining-yield-gmy/three-gmy-periods.md).

# Three GMY periods

We have defined three distinct periods during which the usage related to the staking smart contract differs.

{% hint style="info" %}
The 3 periods are included in the mainnet V1 version of GMY due to constraints related to the inner workings of the GMY smart contract.

We are working on a V2 update of the smart contract with technical improvements that will remove the need for different periods. ETA: Q3 2023.
{% endhint %}

## Staking period

During this period, token holders can invest their MNTE tokens in the staking contract.

They will not be able to withdraw their funds or claim their rewards during this period, as it is entirely dedicated to staking MNTE tokens.

## Distributing period

During this period, Mintera deposits the amount in USDT corresponding to the global staking rewards for all stakers into the GMY smart contract.

Then, the rewards are distributed to all users staking MNTE, based on their total share in the pool. One complete period must be completed since the investment to receive the rewards.

We have implemented this system so that users who have been staking for a complete cycle (including at least: 1 staking + 1 distributing + 1 claiming) are not disadvantaged compared to users staking late in the cycle. This is to avoid front-run attacks from malicious participants.

## Claiming period

During the claiming period, stakers are able to claim the rewards in USDT which were allocated to them in the distributing period.

During this period, stakers can also completely withdraw their MNTE investments in order to exit the staking contract (and simultaneously recover the rewards if this had not been done previously).

## Summary table

To summarize, here are the different possible actions or restrictions based on each period:

<table data-full-width="false"><thead><tr><th width="288">Action</th><th>Staking</th><th>Distributing</th><th>Claiming</th></tr></thead><tbody><tr><td>User can stake</td><td>Yes</td><td>No</td><td>No</td></tr><tr><td>Mintera distributes rewards</td><td>No</td><td>Yes</td><td>No</td></tr><tr><td>Staker can claim USDT</td><td>No</td><td>No</td><td>Yes</td></tr><tr><td>Staker can withdraw MNTE</td><td>No</td><td>No</td><td>Yes</td></tr><tr><td>Expected duration</td><td>15 days</td><td>5 days</td><td>10 days</td></tr></tbody></table>


---

# 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://docs.mintera.co/mintera-app/green-mining-yield-gmy/three-gmy-periods.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.
