Skip to content

Staking Rewards Contract #249

Description

@Mkalbani

Location: contracts/staking_rewards
Language: Rust (Soroban)
Estimated Time: 7 hours
Difficulty: Medium

Description

Implement a staking contract where players stake tokens to earn passive rewards over time with configurable APY.

Tasks

  • Design staking pool structure
  • Implement stake/unstake functions
  • Add reward calculation engine
  • Create APY configuration
  • Implement reward claiming
  • Add lock-up periods
  • Create early unstake penalties
  • Write comprehensive tests
  • Add staking history tracking
  • Implement auto-compounding option

Acceptance Criteria

  • Tokens staked successfully
  • Rewards calculated accurately
  • APY configurable by admin
  • Penalties enforced
  • History tracked
  • Tests pass with 100% coverage

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave program

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions