/token-staking-reward
[OPTIONAL] - Set reward for fungible token staking. By default, this command can be used by a server administrator only.
Last updated
[OPTIONAL] - Set reward for fungible token staking. By default, this command can be used by a server administrator only.
Last updated
Use the command /token-staking-reward
to customize the staking reward & the minimum amount of amount required to stake.
reward_amount
By default, the staking reward is set to
10
.Minimum
reward_amount
you can set:10
Maximum
reward_amount
you can set:10,000,000
minimum_staking_amount
By default, the minimum staking amount is set to
100
.Minimum
minimum_staking_amount
you can set:1
Maximum
minimum_staking_amount
you can set:10,000,000
Let's consider the following configuration settings:
Reward Amount: 10 points
Minimum Staking Amount: 200 tokens
With these settings, the reward calculation works as follows:
Minimum Staking Requirement:
A user must stake at least 200 tokens to be eligible for any reward.
If a user stakes 200 tokens, they will receive a reward of 10 points.
Proportional Rewards:
If a user stakes more than the minimum staking amount, their reward increases proportionally.
For example, if a user stakes 300 tokens, the reward is calculated based on the proportion of tokens staked relative to the minimum staking amount.
Detailed Calculation
Minimum Staking Amount: 200 tokens
Reward Amount for Minimum Staking: 10 points
To calculate the reward for any staked amount, use the following formula:
Let's apply this formula to the example:
Therefore, if a user stakes 300 tokens, they will receive a reward of 15 tokens.
Summary
To receive the reward, a user must stake at least the minimum staking amount.
The reward increases proportionally with the amount staked above the minimum staking amount.
By understanding these key points, users can optimize their staking amounts to maximize their rewards based on the configured reward and minimum staking amounts.