Function X: March Hash Out — Part II

A guide to participate in Function X staking

Danny
Function X
8 min readMar 31, 2021

--

Highlights

  • 10,500,000 FX on-chain staking rewards will be distributed over 29 weeks for PUNDIX and FX token holders in FXWallet (10 weeks for staking calculation, 19 weeks for staking reward distribution). Staking period starts on 6th April, 2021 until 15th June, 2021
  • All receivable rewards will be released 5% immediately, the remaining 95% will be distributed in 19 weeks (5% /week).
  • Four steps (TSCU): 1. Transfer of FX, PUNDIX, ETH to FXWallet (or import your other blockchain wallet in FX Wallet); 2, Staking FX or PUNDIX or both in the smart contract; 3. Claim reward; 4. Receive the Unlock tokens when mature.
  • All staking rewards need to be claimed or harvested before their respective deadlines.
  • Users can opt in or opt out anytime before the staking calculation period 15th June 2021.

Staking reward allocation and calculation

Function X Foundation will be allocating 10,500,000 FX tokens (around 4 million worth of USD as of March 29, 2021) for the first onchain staking event, in which 6,930,000 FX (66%) allocating to PUNDIX holder and 3,570,000 FX (34%) allocating to FX holder. The whole distribution will last for 29 weeks (203 days). The staking event will be distributing 1,050,000 FX per week, or 150,000 FX per day.

Here is how the staking reward calculates.

Staking reward per block = user’s staking token / total staked token * total staking reward per block

For example, Alice stakes 100 PUNDIX and 100 FX in the respective staking smart contract, while the total staked token in the PUNDIX pool is 10,000 PUNDIX and the total staked token in the FX pool is 1,000 FX. Assume there are 6,541 blocks daily. The staking reward per block of PUNDIX Pool is 15.135 FX (150,000 * 66% / 6,541) , the staking reward per block of FX Pool is 7.8 FX.(150,000 * 34% / 6,541)

IF Alice staked for 24 hours (without withdrawal), she will receive a staking reward as follows: (total staking daily reward: 150,000FX)

PUNDIX staking pool: 989.98 FX ( 100/10,000 * 15.135 FX * 6,541)

FX staking pool: 5,102 FX (100/1,000 * 7.8 FX * 6,541)

The staking reward will be computed and accumulated per blocktime and the available/receivable staking reward will be updated on the staking interface simultaneously.

There is no cap on each wallet address that can be staked.

Withdrawal of the token will result in no entitlement of staking reward during the staking calculation period.

Staking calculation period and staking unlock period

To avoid market fluctuation and maintain the viability of the network, it is a common practice for staking smart contract implementing token lockup mechanism for the distribution of staking reward. Each cycle reward starts with releasing 5% of the claiming staking reward immediately and the remaining 95% of the staking reward will be locked for 19 weeks. In short, each ‘cycle’ consists of two parts: immediate release (5%) and locked token (95%). Locked token will take 19 weeks (5%/week) to be fully unlocked.

There are two periods: 1.staking calculation period and 2.staking unlock period

  1. Staking calculation period: 10 weeks time (70 days) from 6 Apr, 2021 until 15th Jun, 2021, users can accumulate the staking reward within the staking calculation period. The calculation of staking smart contract will be closed on 15th June 2021 and any staking after 15th June 2021 SHALL NOT be qualified and entitled for the staking reward.
  2. Staking unlock period: Every staking reward will need 19 weeks (133 days) to be fully unlocked. Please take note of your unlocked token schedule. YOUR ASSET YOUR RESPONSIBILITY. All unclaimed unlocked staking reward after 14:00 GMT+8 on 5th December 2021 shall be FORFEITED.

For simplicity, users need to claim the staking reward (at least once) before or on 14th June 2021 to get the first 5% of staking reward, and users need to wait for 19 weeks or 133 days to get full unlocked token and please execute the claiming of unlocked token anytime before 5th December 2021.

For example,

If Alice claims her token reward on 3rd June 2021, she will have to wait until 14th October 2021 (3rd June +19 weeks) to receive the full staking reward;

If David claims his token reward on 10th June 2021, he will have to wait until 21st October 2021 (10th June+19 weeks) to get the full staking reward.

Users can claim the staking reward anytime they want but the unlocked token can only be released every 7 days.

Note: The smart contract will compute the staking reward in terms of block time instead of day/week. Day/week in the calculation is for illustration purposes.

Staking reward distribution and harvest/claim of staking reward

Basic rule of staking reward: NO CLAIM, NO TOKEN.

The smart contract will compute the total token receivable for each wallet address but it requires users press the ‘claim’ (send request) button actively to claim it. Regardless of the staking reward or the unlocked token, the reward token will NOT transfer to your wallet automatically.

  • Users have to manually redeem with paying the ‘gas’ fee.
  • The event of a user claiming the staking reward at that particular moment is considered as a staking cycle (‘cycle’). Each cycle will last for 19 weeks.

To illustrate further, the number of staking rewards shown on the staking interface is the total receivable staking reward on that particular ‘cycle’. The new cycle will kick start immediately right after the claiming of the previous cycle, so the staking reward cycle will keep rolling until the end of the staking event. Users can choose to end the cycle (claim the reward) anytime before the deadline.

In each cycle, users will only receive 5% upon their claim (harvest), the remaining 95% will transfer to the locked token’s account. 5% of the total receivable staking reward will transfer from the locked token’s account to the unlocked token’s account every 7 days.

The unlocked token derived from each staking circle will be accumulated automatically without user’s interference, users can then choose anytime before the deadline to claim the unlocked token.

For example: (a single circle)

On 1st June, Alice’s f(x)Wallet interface showed a total staking reward of 1,000 FX to be claimed. She ‘presses’ the claim button and pays the gas fees to claim that 1,000 FX reward. After the smart contract processed the transaction, 1,000 FX will be transferred out from the receivable account to the following account:

1. Alice’s wallet — 50 FX (1,000 FX *5%)

2. Alice’s locked token account — 950 FX (1,000 FX *95%)

On 8th June, 50 FX will be transferred out from the locked token account to the unlocked token account. Alice can choose to claim it now or claim it later. If Alice chooses not to claim it on 8th June, the balance of the unlocked token account will increase to 100 FX on 15th June; 150 FX on 22nd June; 200 FX on 29th June etc. If Alice did not claim any unlocked token before 29th June, she can claim 200 FX to her wallet.

Please note that, the first claim of the staking reward is the prerequisite criteria of the following unlocked token.

In simple terms, you need to have the first 5% to get the rest of the 95%.

The balance of different staking rewards from each staking cycle will be combined and shown on the staking interface.

Users can claim the staking reward anytime they want but the unlocked token can only be released every 7 days.

All remaining unlocked tokens shall be claimed before 5th Dec 2021 or else all unclaimed unlocked tokens will be forfeited.

Network and the gas fee

The purpose of staking activities is to help our community to become familiar with the whole decentralised network and environment, hence the whole staking smart contract and token (ERC20) will be running on the most popular network — Ethereum network.

Unlike centralised network, every action in the decentralised network requires ‘gas’ to fuel the transaction or request.

For example, transferring token from wallet A to wallet B; sending token A to smart contract B for staking; requesting /claiming reward token from smart contract A, etc.

Basically every transaction needs ETH as a gas fee to perform the request, in layman’s terms, every action/request in a decentralised network costs money.

Sometimes, due to the network congestion, the requests or transactions might not be able to respond promptly.

Please check the gas fee (cost of transaction) before performing the transaction/request. Your patience is required so that you can avoid duplicating the transaction or requests as this might result in further network congestion and spending more gas.

The FX token you will receive from the staking can be used for the transactions on the Function X blockchain when the mainnet is live.

Withdrawal of the principal

There is no restriction of the withdrawal of the principal from the staking pool.

Users can request the transfer (gas fee involved) of the token (PUNDIX / FX) out of the staking pool anytime. By doing that, the wallet address will not be eligible for the future staking reward.

However, the withdrawal of the principal shall not affect the previous entitlement and previous locked token distribution.

For example, on 15th June, Alice decides to withdraw her PUNDIX from the staking pool and by the time she transferred, she was entitled to an unclaimed staking reward of 10 FX which she has not claimed (or start the circle) and 20 FX token in the locked token account. The withdrawal of her PUNDIX token shall not affect her previous staking reward. She just needs to claim her 10 FX and wait for 19 weeks to unlock and wait for x weeks for her 20 FX to be unlocked.

How to begin the journey

1. Install f(x)Wallet (iOS & Android) in your device and set up your account. Make sure you keep your seed phrases properly. PLEASE NOTE THAT THIS IS A BLOCKCHAIN WALLET THAT YOU OWN YOUR PRIVATE KEY. IF YOU LOSE THE RECOVERY PHRASES, YOU WILL LOSE THE ACCESS TO THE ACCOUNT.

2. Transfer tokens to your f(x)Wallet address

3. Click the staking button and transferring tokens to the smart contract

4. Claim / harvest the receivable staking reward

5. Receive unlocked tokens when matured.

Last but not least, although the team will try their best to provide a secure and stable environment; however, nothing is guaranteed, neither the fund nor the reward is 100% safe in the extreme scenario. Please do your own research and put in what you can afford to lose only.

Patience, risks, and rewards are always part of the DeFi’s journey.

--

--