Safe Staker Documentation
  • Overview
    • ❓What is Safe Staker?
    • 🌎Official Links
    • 🤑Earn by Referrals
  • Admin Setup Guide
    • ⚙️Getting Started
    • 🖼️NFT Staking Setup
      • 🟥/set-nft-collection
      • 🟦/nft-staking-reward
      • 🟦/nft-staking-duration
    • 🪙Token Staking Setup
      • 🟥/set-token-address
      • 🟦/token-staking-reward
      • 🟦/token-staking-duration
    • 💲Reward Currency Setup
    • 🥩Staking UI Setup
      • 🟦/staking-ui
    • 🏪Points Parlor Setup
      • 🟦/points-parlor-ui
      • 🎟️Raffles - setup
        • /create-raffle
        • /edit-raffle
        • /delete-raffle
      • 🏪Store - setup
        • /add-item
        • /delete-item
        • /edit-item
        • /item-info
        • /store
    • 🚅Staking Boosters
      • 🐦Tweet Booster
      • 🫧Chat Booster
      • 😀Reaction Booster
      • 🧵Role Booster
    • 🏄Staking Types
      • Periodic Staking
      • Cumulative Staking
    • 📬DAO Voting
    • 🧬Holder Verification ᵇᵉᵗᵃ
    • 📕Logs, Reports & more
      • 🟦/logs-channel
      • 🟦/csv-reports
      • 🟥/set-rpc
      • 🟥/reset-all-points
      • 🟥/add-points
      • 🟥/remove-points
  • User Guide
    • 🟩/link-wallet
    • 🟩/stake-nfts
    • 🟩/stake-tokens
    • 🟩/points
    • 🟩/leaderboard
  • NFT Minting
    • 🍀Minting Portal
    • 🖼️NFT Collection Creation
  • Phase 2 Features
    • Planned features
Powered by GitBook
On this page
  • Command Parameter 1 - reward_amount
  • Command Parameter 2 - minimum_staking_amount
  • Example Configuration
  1. Admin Setup Guide
  2. Token Staking Setup

/token-staking-reward

[OPTIONAL] - Set reward for fungible token staking. By default, this command can be used by a server administrator only.

Previous/set-token-addressNext/token-staking-duration

Last updated 10 months ago

Use the command /token-staking-reward to customize the staking reward & the minimum amount of amount required to stake.

Command Parameter 1 - 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

Command Parameter 2 - 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

Example Configuration

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:

  1. 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.

  2. 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.

🪙
🟦