Overview
The delphAI staking mechanism allows token holders to stake their DELPH tokens and earn continuous rewards from a shared reward pool. The system implements two key components:- Time-locked Staking: Stake tokens to earn farming rewards proportionally to your stake
- Flexible Unstaking: Choose your unstaking period to determine penalty rates (50-100% return)
How Staking Works
Staking Process
When you stake DELPHAI tokens:- Your tokens are locked in the staking contract
- You immediately start earning rewards proportionally to your stake
- Rewards are distributed continuously from the reward pool over time
- You can stake additional tokens at any time to increase your rewards
Reward Distribution
The staking contract uses a continuous emission model:- Rewards are distributed from a shared reward pool
- Distribution happens over a predefined period (e.g., 30 days)
- Your share of rewards is proportional to your staked amount vs total staked
- Rewards accumulate continuously and can be claimed at any time
Unstaking Mechanism
Time-Based Penalty System
When you want to unstake, you choose a lock duration that determines your penalty:- Minimum Lock Period: Shorter wait time, higher penalty (50% return)
- Maximum Lock Period: Longer wait time, no penalty (100% return)
- Linear Scaling: Lock periods in between scale linearly
- 7 days lock = 50% return (50% penalty)
- 30 days lock = 100% return (0% penalty)
- 15 days lock = 75% return (25% penalty)
Unstaking Flow
-
Initialize Unstake: Choose amount and lock duration
- Penalty is calculated based on your chosen duration
- Penalty tokens are immediately added to the reward pool
- You stop earning rewards on this amount
- Tokens enter a waiting period
-
Waiting Period: Wait for the lock duration to complete
- Your remaining tokens (after penalty) are reserved
- Cannot be canceled once initiated
-
Finalize Unstake: Claim your tokens after the lock period
- Receive your tokens minus the penalty
- No additional fees or delays
Key Features
Continuous Farming Rewards
- Rewards are distributed smoothly over time, not in discrete epochs
- No need to wait for specific claim periods
- Claim anytime you want - rewards accumulate automatically
- Pool is replenished by penalties and external deposits
Penalty-to-Rewards Model
When users unstake with penalties, those penalty tokens flow directly into the reward pool:- Creates a self-sustaining ecosystem
- Early unstakers subsidize patient stakers
- Encourages longer-term participation
Flexible Options
- No lock period for staking: Start earning immediately
- Multiple unstake positions: Can initiate multiple unstakes with different lock periods
- Additive staking: Stake more tokens anytime to increase rewards
- EIP-2612 Permit support: Gasless approvals for better UX
Mathematical Model
Reward Calculation
Your rewards at any time are calculated as: Where:- Accumulated Rewards Per Share: Total rewards distributed per staked token
- Reward Debt: Tracks rewards already accounted for
- Emission Rate:
Penalty Calculation
Your return amount when unstaking: Where scales linearly between and based on chosen lock days.Contract Parameters
The staking contract is deployed with immutable parameters:| Parameter | Description | Example Value |
|---|---|---|
| MIN_REDEEM_DAYS | Minimum unstaking lock period | 7 days |
| MAX_REDEEM_DAYS | Maximum unstaking lock period | 30 days |
| MIN_REDEEM_RATIO | Minimum return percentage | 50% |
| MAX_REDEEM_RATIO | Maximum return percentage | 100% |
| DISTRIBUTION_PERIOD | Reward distribution timeframe | 30 days |
Getting Started
How to Stake
- Connect your wallet to the delphAI platform
- Navigate to the Staking section
- Enter the amount of DELPH tokens you want to stake
- Confirm the transaction
- Start earning rewards immediately
How to Claim Rewards
- Go to the Staking dashboard
- View your accumulated rewards
- Click “Claim Rewards”
- Confirm the transaction to receive your tokens
How to Unstake
- Navigate to your staked positions
- Select the amount you want to unstake
- Choose your lock duration (affects penalty rate)
- Confirm to initialize the unstake
- Wait for the lock period to complete
- Return to finalize and receive your tokens
Best Practices
- Maximize Rewards: Stake early and maintain your position
- Plan Unstaking: Choose longer lock periods to minimize penalties
- Claim Regularly: Gas-efficient to claim periodically rather than every block
- Monitor Pool: Keep an eye on the reward pool size and distribution rate
- Multiple Positions: Consider spreading unstakes across different lock periods
Contract Address
| Network | Contract Address |
|---|---|
| BSC Mainnet | 0x4Bd4c9AaaE9B9fD66EDEc0932B1A4297409aDe8f |
