DUSD Staking System
The DUSD Staking system serves as the economic backbone of the DI Synthetic Asset Protocol, providing protocol security, revenue sharing, and risk backstop functionality for the entire DAssets ecosystem.
Overview
DUSD Staking enables users to:
Stake DUSD tokens for protocol rewards
Provide economic security as protocol backstop
Earn revenue from trading fees and liquidations
Participate in governance decisions
Access tiered reward multipliers based on lock periods
Architecture
┌─────────────────────────────────────────────────────────────┐
│ DUSD Staking System │
├─────────────────┬─────────────────┬─────────────────────────┤
│ Staking Vault │ Reward Engine │ Risk Management │
│ │ │ │
│ • Lock periods │ • Fee collection│ • Insurance fund │
│ • Multipliers │ • Distribution │ • Bad debt coverage │
│ • Governance │ • Compounding │ • Loss waterfall │
└─────────────────┴─────────────────┴─────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ Revenue Sources │
├─────────────────┬─────────────────┬─────────────────────────┤
│ Trading Fees │ Liquidation Fees│ Protocol Revenue │
│ • Spot trading │ • Perp liquidations│ • Asset listings │
│ • Perp trading │ • Liquidator bonus │ • Market maker fees │
│ • Dynamic fees │ • Insurance claims │ • Partnership fees │
└─────────────────┴─────────────────┴─────────────────────────┘Core Components
DUSDStaking Contract
File: src/perps/DUSDStaking.sol
Main staking contract managing user stakes and rewards:
RewardDistributor Contract
File: src/perps/RewardDistributor.sol
Manages revenue collection and distribution:
Staking Mechanics
Lock Periods and Multipliers
Flexible
1.0x
Low
1x
3 Months
1.1x
Low
1.2x
6 Months
1.25x
Medium
1.5x
12 Months
1.5x
High
2x
24 Months
2.0x
Very High
3x
Staking Process
Reward Calculation
Revenue Sources
Trading Fee Revenue (60% of total fees)
Spot Trading: 0.3-2% fees from DSwap operations
Perpetual Trading: Maker/taker fees from order book
Dynamic Fees: Stress-based burn fees during high utilization
Cross-Chain: Bridge and meta-transaction fees
Liquidation Revenue (25% of total fees)
Liquidation Penalties: 0.5% of liquidated position value
Liquidator Bonuses: Portion of liquidation fees
Insurance Claims: Revenue from insurance fund operations
ADL Compensation: Fees from auto-deleveraging events
Protocol Revenue (15% of total fees)
Asset Listing Fees: Revenue from new synthetic asset additions
Market Maker Fees: Revenue from professional MM programs
Partnership Revenue: Revenue sharing from integrations
Governance Fees: Fees from governance proposal submissions
Risk Management
Insurance Fund Integration
DUSD staking provides the primary backstop for protocol risk:
Risk Tranches
Loss Absorption Mechanism
Governance Integration
Voting Power Calculation
Governance Rights
Stakers can participate in:
Risk Parameter Updates: Leverage limits, margin requirements
Asset Listings: Adding new synthetic assets
Fee Structure Changes: Trading and liquidation fee adjustments
Oracle Configuration: Adding/removing price feed sources
Emergency Actions: Protocol pause and recovery procedures
Proposal Requirements
Parameter Change
100K DUSD
4%
24 hours
Asset Listing
500K DUSD
6%
48 hours
Fee Changes
1M DUSD
8%
72 hours
Emergency Action
2M DUSD
12%
Immediate
Reward Distribution
Distribution Schedule
Frequency: Rewards distributed every 24 hours
Calculation: Based on time-weighted average staking
Compounding: Automatic reinvestment option available
Claiming: Manual claim or auto-compound
Reward Types
Base Rewards: Fixed APY based on protocol revenue
Performance Bonuses: Additional rewards during high activity
Governance Rewards: Bonuses for active governance participation
Loyalty Rewards: Increasing multipliers for long-term stakers
Example Reward Calculation
Integration Examples
Staking Operations
Governance Participation
Risk Monitoring
Smart Contract Interface
Security Features
Access Control
Role-Based Permissions: Staker, Admin, Insurance Fund roles
Multi-Signature: Critical functions require multiple signatures
Timelock: Governance changes have execution delays
Emergency Pause: Immediate staking halt capability
Economic Security
Slashing Protection: No slashing for honest stakers
Gradual Unstaking: Prevents bank run scenarios
Insurance Backstop: Multiple layers of loss protection
Diversified Revenue: Multiple income streams reduce risk
Operational Security
Oracle Integration: Real-time protocol health monitoring
Automated Rebalancing: Dynamic risk management
Audit Trail: Complete transaction history
Upgrade Safety: Backwards compatible upgrades
Benefits
For Stakers
Passive Income: Earn from protocol revenue without active trading
Governance Rights: Influence protocol development and parameters
Risk-Adjusted Returns: Choose risk level based on lock period
Compounding Growth: Automatic reward reinvestment options
For the Protocol
Economic Security: Aligned incentives for protocol health
Governance Participation: Active community involvement
Capital Efficiency: Staked capital provides insurance backstop
Long-Term Alignment: Lock periods encourage long-term thinking
For the Ecosystem
Stability: Reduced protocol risk through insurance mechanism
Growth: Revenue sharing attracts long-term capital
Decentralization: Community governance and ownership
Innovation: Funding for protocol development and expansion
Risk Considerations
Staker Risks
Loss Absorption: Potential loss of staked capital in extreme scenarios
Lock Period Risk: Cannot unstake during lock period
Governance Risk: Poor governance decisions may affect returns
Smart Contract Risk: Technical vulnerabilities in staking contracts
Mitigation Strategies
Diversified Tranches: Multiple risk levels for different risk appetites
Insurance Fund: Primary loss absorption before staker funds
Gradual Implementation: Phased rollout with conservative parameters
Continuous Monitoring: Real-time risk assessment and management
Future Enhancements
Planned Features
Liquid Staking: Tradeable staking derivatives (sDUSD tokens)
Cross-Chain Staking: Stake DUSD from multiple chains
Advanced Strategies: Automated yield optimization
Insurance Products: Additional protection for stakers
Integration Opportunities
DeFi Protocols: Integration with lending and yield farming
Institutional Products: Professional staking services
Mobile Apps: User-friendly staking interfaces
Analytics Tools: Advanced staking performance tracking
Last updated