Forkast Knowledge Center
...
Platform Rewards
Staking & Loot Boxes

Understanding Staking Spending Cap

5min

When staking CGX tokens on Forkast, users are required to approve a spending cap, which allows the staking smart contract to access a specified amount of CGX from their wallet. This is a standard blockchain security mechanism that ensures the contract can only interact with the approved amount of tokens. These mechanisms are designed to protect users and optimize transaction efficiency.

What is a Spending Cap?

A spending cap determines how many tokens a smart contract can access from your wallet for staking or transactions. This is a security feature that prevents unauthorized access and ensures that tokens can only be used with your explicit approval.

Why Does Forkast Ask for a Spending Cap Approval?

  • The staking smart contract cannot access or transfer your CGX without approval.
  • You must approve a spending cap before staking, as this sets the maximum number of tokens the contract can use.
  • Even if you set a high cap, the contract cannot take more than you authorize when signing transactions.
  • If you do not want to reapprove the cap every time, you can select "Max", which acts as a one-time approval. This allows seamless future staking without needing to repeat the approval process.

Why is it Necessary?

  1. Security: Without a cap, a malicious or compromised contract could acces or drain your tokens.
  2. User Control: The user decides how much they are comfortable allowing the contract to access.
  3. Gas Efficiency: If you plan multiple transactions, setting a reasonable cap prevents the need for constant re-approvals.

What is High Price Impact?

During swaps or transactions, you may see a "High Price Impact" warning. This happens when your trade significantly affects the token price due to liquidity conditions.

Why Does High Price Impact Happen?

  • Market Volatility – Price fluctuations can lead to higher slippage risks.

How Does This Protect You?

  • The warning alerts you if a transaction might execute at a bad rate.
  • Prevents you from losing value due to trade execution.
  • Ensures that your final transaction price doesn’t drastically change from what you expected.

ο»Ώ