Rush Earn
The Rush Games Vault is a staking mechanism that allows users to earn rewards by staking their RUSH tokens. This section explains how the Vault works and how you can participate to earn passive income.
Overview
The Vault contract enables users to:
Stake RUSH tokens and receive xRUSH tokens in return
Earn rewards based on tiered APY rates
Claim rewards at any time
Withdraw staked tokens (after meeting the minimum staking period)
Key Features
Tiered Rewards System
The Vault implements a three-tier reward structure based on the amount of RUSH tokens staked:
Tier 1: For balances below the tier 1 threshold
Current APY: ${tier1_APY/100}%
Tier 2: For balances between tier 1 and tier 2 thresholds
Current APY: ${tier2_APY/100}%
Tier 3: For balances above the tier 2 threshold
Current APY: ${tier3_APY/100}%
xRUSH Tokens
When you stake RUSH tokens, you receive an equivalent amount of xRUSH tokens (minus the deposit fee). These tokens represent your stake in the Vault and can be used in other parts of the Rush Games ecosystem.
Reward Calculation
Rewards are calculated hourly based on:
Your staked balance
Your applicable APY tier
The duration since your last claim or deposit
The formula used is:
How to Use
Staking (Deposit)
To stake your RUSH tokens:
Approve the Vault contract to spend your RUSH tokens
Call the
deposit
function with the amount you want to stakeA small deposit fee (currently ${depositFeePercentage/100}%) will be deducted
You'll receive xRUSH tokens representing your stake
Claiming Rewards
You can claim your accumulated rewards at any time by:
Calling the
claim
functionThe rewards will be transferred to your wallet
Your last update time will be reset
Withdrawing
To withdraw your staked tokens:
Call the
withdraw
function with the amount you want to withdrawYour xRUSH tokens will be burned and RUSH tokens returned to you
Note: A minimum staking period of 21 days applies to withdrawals
Contract Details
Contract Address: -
Chain: Sonic
Important Parameters
Minimum Staking Period: 21 days
Deposit Fee: ${depositFeePercentage/100}%
Tier 1 Threshold: ${tier1_balance} RUSH
Tier 2 Threshold: ${tier2_balance} RUSH
Tips for Optimizing Returns
Stake larger amounts to access higher APY tiers
For maximum rewards, claim less frequently to minimize gas costs
Consider the minimum staking period when planning your strategy
Security
The Vault contract includes several security measures:
Utilizes OpenZeppelin's ReentrancyGuard to prevent reentrancy attacks
Implements SafeERC20 for secure token transfers
All functions that modify state are protected against potential exploits
For complete transparency, the full contract code will be available on Audit
Last updated