# Epoch States

Each epoch cycles through different states during its lifetime, the states are:

* CREATED

  The epoch is active.

  Users can stake/unstake.

  Queued staking/unstaking requests will get executed.
* YIELDING

  Staked funds are moved to the yield farmer.

  Staked funds are effectively locked for the duration of the yielding state.

  Any staking/unstaking requests will be queued.
* FINALISING

  The staked funds are moved from the yield farmer back to Nezha.

  Any staking/unstaking requests will be queued.
* ENDED

  The winning sequence is generated and recorded.

  Winners are declared.

  Any staking/unstaking requests will be queued.

  The epoch is complete.

##


---

# 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://docs.nezha.fi/architecture/game-contract/epoch-states.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.
