๐ช THKX Staking Smart Contract
Comprehensive overview of staking rules, rewards, and token management within the THKX ecosystem.
๐ Staking Mechanism
- Stake THKX Tokens for 1 - 365 days.
- +5% bonus every 30 days of lock duration.
- Stake Value =
(Deposit + Rewards) ร Bonus %
๐งฎ Bonus & Fee Calculations
- Bonus Multiplier: +5% per 30 days locked
- Formula:
Bonus % = 100 + (Lock Days รท 30) ร 5% - Example: 90 days โ 100% + (3 ร 5%) = 115%
- Unstake Fee Formula: 10% - (2% ร Months Staked)
- Example: Stake 60 days โ 2 months โ 10% - 4% = 6% fee
- No Fee after 5 months or when lock period ends.
๐ Reward System
- Initial Reward Rate: 10,000 per year.
- Auto-compounding: Rewards can be added to stake anytime.
- Formula:
(Staked ร Reward Rate ร Time) / (10,000 ร 365 days) - Reward Timing: Rewards are calculated from your last stake/compound.
- Each action updates your
lastUpdatedtimestamp.
๐ Reward Halving
- Reward rate halves every 180 days.
- Minimum reward rate is 1.
- Halving checks occur when you stake, compound, or claim.
๐ธ Early Unstake Fee
- Unstake before lock ends = 10% fee.
- Fee reduces by 2% every 30 days.
- No fee after 5 months or lock expiry.
๐จ Emergency Withdrawals
- User: Withdraws stake instantly (no rewards, no penalty).
- Owner: Emergency withdraw of all tokens if needed (system safeguard).
๐ Airdrop Distribution
- Owner distributes airdrops to all active stakers.
- Airdrops shared by staking proportion.
- Must have active stake to receive airdrop.
- Airdrop does not affect rewards or lock period.
๐ซ Paused State
- When paused, staking, unstaking, and compounding are disabled.
- Owner can pause/resume contract anytime for security or maintenance.
โ๏ธ Contract Controls
- Owner can update reward rate manually (in special cases).
- Contract can be paused/resumed to protect user funds.
๐ Key Parameters
| Parameter | Value | Description |
|---|---|---|
| Reward Rate | 10,000 | Initial annual reward rate |
| Halving Interval | 180 days | Time between reward halvings |
| Early Unstake Fee | 10% | Initial fee, reduces over time |
| Stake Duration | 1 - 365 days | Valid staking lock period |