10. Security Considerations

Lock Enforcement

  • On-Chain Validation: All lock schedules validated on-chain

  • Time-Based Checks: Uses Solana Clock for accurate time tracking

  • Unlock Calculations: Precise calculations prevent premature unstaking

  • Platform Locks: Special enforcement for platform stakes

Reward Security

  • Accumulation Precision: Uses high-precision arithmetic (basis points)

  • Overflow Protection: All calculations checked for overflow

  • Reward Debt Tracking: Prevents double-claiming of rewards

  • Multiplier Validation: Ensures multipliers are within valid ranges

Voting Security

  • Participation Tracking: Accurate tracking of votes cast vs. total proposals

  • Tier Calculation: Validated tier assignments based on participation

  • Bonus Application: Voter bonuses applied correctly to reward calculations

  • Sybil Resistance: Voting power tied to staked amount

Platform Lock Security

  • Minimum Stake: Enforced minimum stake for platform registration

  • Lock Duration: Fixed 5-year schedule with monthly linear unlock cannot be shortened

  • Unlock Schedule: Linear unlock calculated precisely per month

  • Status Tracking: Platform status tied to lock schedule

General Security

  • Access Control: All functions verify user ownership

  • Account Validation: PDA derivation validated for all accounts

  • State Consistency: Pool totals updated atomically with user accounts

  • Error Handling: Comprehensive error codes for all failure modes


APY Projections

Conservative Scenario ($100M Annual Volume)

Base Case ($1B Annual Volume)

Optimistic Scenario ($10B Annual Volume)

Last updated