Stake LP - Unlock $ROFI lock
Staking is a way for users to unlock all in-game rewards for users before cutting off $ROFI as a reward token supply in HeroFi.
By staking a standard amount of ROFI-BUSD LP, users will gradually unlock the number of ROFI locked so that they can exchange or reinvest in the game to receive bigger rewards.
The following formula for calculating unlocking speed:
Speed = Stake Amount x 25 x 10^(-8)
There are the following:
  • Speed: The amount of ROFI unlocked in each Block determines the speed (1 block is equivalent to 3s)
  • The stake amount is the number of optional LP required to unlock ROFI (LP is the value the user gets after using the add liquidity feature)
  • The multiplier to unlock ROFI (equivalent to APY 200% /Year) is 25 x 10^(-8).
  • Users can always withdraw the amount they put in using the Staking feature at any time.
We’ll go over the three most common scenarios:
  • If a user uses the Stake feature and decides to stop, withdraw all LP (including BUSD and ROFI), the user will only receive the ROFI unlock amount from starting time to stopping time.
  • If a user uses the Stake feature and decides to withdraw a specific amount of LP (e.g., 50%); the user will also only receive the ROFI unlock amount from starting time to stopping time. However, the Stake process will continue. At this time, the amount of ROFI unlocked in each block will be reduced by half, and the unlock speed will be reduced by half as well.
  • If a user selects Claim, all of the “Amount Unlocked” ROFI will be converted from locked to unlocked and updated in the user’s ROFI balance. Staking LP to unlock ROFI continues to work until the user no longer has any locked ROFI balance.
As a result, the more LP users put in, the faster the ROFI unlocking speed will be. This feature, however, has speed limits, which are as follows:
Maximum speed = Total amount of locked ROFI / 66,000
To make it clearer for everyone, HeroFi would like to use the following example:
If a user has a total of 300000 LP after adding liquidity, using the above formula, for each block, that user can unlock the ROFI number = 25 10-8 x 300000 = 0.075 ROFI per Block (equivalent to 3 seconds).
The ROFI number will be gradually unlocked until the user’s wallet is depleted of all ROFI Lock, or until the user withdraws all LPs used for this Stake feature.
If the user withdraws half of the LP during the Stake period, the rate at which the ROFI is unlocked is also halved.
The system, however, has a limit on the ROFI unlocking rate, so if a user has a ROFI amount of 5000, that user can only unlock up to the maximum = 5000/66,000 = 0.07575 ROFI per Block (equivalent to 3 seconds)
Even if a user stakes 1,000,000 LP, he or she can only receive a maximum of 0.07575 ROFI per Block (equivalent to 3 seconds).
More information: Click here
Copy link