# gmFLOCK

In order to participate in AI Arena, you will need to use gmFLOCK (game-FLOCK), which is a market-driven mechanism designed to support AI Arena's tokenomics and emission allocation model. It is transferable, but with restrictions: it can only be used for staking as training nodes, validators, or delegators.

### Step 0: Navigate to [train-v2.flock.io](https://train-v2.flock.io/) and connect you wallet.

Follow the steps [here](https://docs.flock.io/flock-products/ai-arena/pages/628PqLScceINNZRrYVWa#step-0-go-to-https-train.flock.io-stake-to-earn-and-connect-your-wallet) to connect your wallet.\
(During the migration phase, we would use `train-v2.flock.io` for V2, and will maintain `train.flock.io` for sometime so that everyone can claim and unstake from V1 easily. After the migration phase, we would re-direct all traffic to `train.flock.io` and it will be upgraded to V2.)

### Step 1: Stake FLOCK to get gmFLOCK

Here, you decide the amount of FLOCK you want to stake to get gmFLOCK and the duration of the stake

{% hint style="info" %}
For every 1 FLOCK staked, you will receive 1 gmFLOCK for staking between 0-30 days. For each additional day before that, you will receive an extra 0.006 gmFLOCK
{% endhint %}

{% hint style="info" %}
NOTE: You will receive gmFLOCK as soon as you stake FLOCK. Once the staking period is reached, you may withdraw your staked FLOCK with a transaction fee of 5.13%. The fee remains the same irrespective of the duration of the stake
{% endhint %}

<figure><img src="/files/dQDRoPLtRn6Sohp3vXeA" alt=""><figcaption><p>Step 1.1: Decide the amount of FLOCK to stake and the stake period</p></figcaption></figure>

After that, click on "Stake", approve the transaction in the wallet and you've successfully staked FLOCK for gmFLOCK.

#### Formulae for exchanging FLOCK with gmFLOCK

If a user deposits $$n$$ FLOCK into the gmFLOCK Faucet and chooses a vesting time of $$t$$ days $$(0< t \le t\_1)$$to unlock the tokens, then the number of gmFLOCK minted, $$m$$, is:

* if $$0< t \le t\_0$$: $$m=n$$
* if $$t\_0< t \le t\_1$$: $$m = n \times (1+ \epsilon \times \frac{t-t\_0}{t\_1})$$

where $$t$$, $$t\_0$$ and $$\epsilon$$ are the parameters that can be configured by FLOCK DAO.

today, $$t\_0=30 days, t\_1=365 days, \epsilon=2.19$$

You can see all your stakes under "My Staking History"

<figure><img src="/files/2lv8ADiOjwSTGwD1Rijf" alt=""><figcaption><p>1.2 You can see all your stakes</p></figcaption></figure>

### Step 2: Use gmFLOCK&#x20;

Now that you have gmFLOCK by staking FLOCK, you can use it to stake as a [Delegator](/flock-tokenomics/network-participation/ai-arena/delegator.md), [Validator](/flock-products/ai-arena/quickstart/validator-guide.md) or a [Training Node ](/flock-products/ai-arena/quickstart/training-node-guide.md)

### Step 3: Redeem FLOCK

After the stake period has ended, you can choose to exchange gmFLOCK for FLOCK. Click on "Redeem" under My Staking History

{% hint style="info" %}
NOTE: The amount of FLOCK you receive upon redemption is equal to your original staked FLOCK, minus a fixed 5.13% transaction fee. The redemption amount is not affected by the staking duration or the amount of gmFLOCK minted.
{% endhint %}

<figure><img src="/files/NjoI3nBjaXKscuvPak4A" alt=""><figcaption><p>Step 3.1:  You can see the Stakes which are avaialble to Redeem</p></figcaption></figure>

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

Select all the stakes that you would like to redeem and click on "Redeem".&#x20;

At this stage, you've successfully exchanged gmFLOCK for FLOCK!


---

# 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.flock.io/flock-products/ai-arena/gmflock.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.
