# Technical Architecture of Staking

### Staking $FAF

Staking of $FAF follows an epoch system to distribute rewards rather than being perpetual. The length of each epoch is 30 days. Users can stake anytime within the 30-day time frame of an epoch; however, their rewards will be time-weighted to remain fair for all.

At the end of each epoch, the rewards are calculated based on your time-weighted stake of $FAF and any bonus multiplier depending on your VP. (You can read more about it in the [Reward Multiplier section](https://docs.flash.trade/flash-trade/tokenomics/voltage-points-and-faf-rewards-system))

### Unstaking $FAF

Unstaking follows a **90-day linear unlock schedule**. There is no instant unstake option.

#### How Linear Unstaking Works

When you initiate an unstake:

1. **Unlock begins immediately** — Your tokens start unlocking linearly over exactly 90 days (based on seconds elapsed)
2. **Proportional revenue share** — You continue earning revenue share on the portion of your stake that remains locked. As tokens unlock, your revenue share decreases proportionally
3. **6-hour adjustments** — Revenue distribution and unlock value adjustments run via crank every 6 hours alongside the regular revenue distribution
4. **VIP level impact** — Once you initiate unstaking, the unlocking tokens are excluded from your VIP Level calculation

#### Example

If you unstake 900 FAF:

* Day 0: 900 FAF locked, earning full revenue share
* Day 30: 600 FAF still locked, earning 66% of original revenue share
* Day 60: 300 FAF still locked, earning 33% of original revenue share
* Day 90: 0 FAF locked, all tokens fully unlocked and available to withdraw

#### Key Points

| Aspect               | Details                                                  |
| -------------------- | -------------------------------------------------------- |
| Unlock Period        | 90 days (flat, based on seconds elapsed)                 |
| Unlock Type          | Linear — tokens unlock continuously over the period      |
| Revenue Share        | Continues proportionally based on remaining locked stake |
| Adjustment Frequency | Every 6 hours                                            |
| Fees                 | No fees for unstaking                                    |
| Instant Unstake      | Not available                                            |

#### Why Linear Unstaking?

This mechanism ensures alignment between long-term token holders and Flash Trade's growth. By committing to a 90-day unlock schedule, stakers signal trust in the team and protocol direction while still earning revenue share throughout the unlock period.

→ For step-by-step instructions, see [How to Stake & Unstake FAF](https://docs.flash.trade/flash-trade/getting-started/how-to-stake-and-unstake-faf)
