# 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/quickstart/delegator-guide#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="https://742781353-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1RpcbvTSHzzPwOSUvgKU%2Fuploads%2F1p7eoIPEvE2YB9X4vF8C%2Fimage.png?alt=media&#x26;token=9b65406b-efbd-4ac5-9401-4f34d981fddb" 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="https://742781353-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1RpcbvTSHzzPwOSUvgKU%2Fuploads%2FkzlvVKoK6r7np2jgmLhz%2Fimage.png?alt=media&#x26;token=8ed136f0-d1f0-4805-9850-40e4d4dd6b32" 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](https://docs.flock.io/flock-tokenomics/network-participation/ai-arena/delegator), [Validator](https://docs.flock.io/flock-products/ai-arena/quickstart/validator-guide) or a [Training Node ](https://docs.flock.io/flock-products/ai-arena/quickstart/training-node-guide)

### 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="https://742781353-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1RpcbvTSHzzPwOSUvgKU%2Fuploads%2FF3nAFNvdwbD6EDjvfh6D%2Fimage.png?alt=media&#x26;token=dd63cdaf-ac5c-4910-862f-fa04d52de6bf" alt=""><figcaption><p>Step 3.1:  You can see the Stakes which are avaialble to Redeem</p></figcaption></figure>

<figure><img src="https://742781353-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1RpcbvTSHzzPwOSUvgKU%2Fuploads%2FoCGMGxkQTAMRZ6coknZh%2Fimage.png?alt=media&#x26;token=f309bca0-cc29-4869-8951-3a668154e623" 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!
