Skip to content

Time-Locked Reward Vault Contract #94

@Mkalbani

Description

@Mkalbani

Location: contracts/reward_vault
Labels: smart-contract, soroban, good first issue
Estimated Time: 6 hours
Difficulty: Medium

Description

Create reward vaults with time-locks where players earn bonuses for committing to long-term hodling of tokens/NFTs.

Tasks

  • Design time-lock vault structure
  • Implement deposit with lock period selection
  • Add bonus calculation based on lock duration
  • Create early withdrawal with penalties
  • Implement maturity date tracking
  • Add automatic bonus distribution
  • Create vault extension options
  • Write vault flow tests
  • Add emergency unlock (with penalty)
  • Implement vault transfer (inheritance)

Acceptance Criteria

  • Deposits locked for chosen period
  • Bonuses increase with longer locks
  • Early withdrawal penalized
  • Maturity triggers full payout
  • Extensions work correctly
  • Contract deployed to testnet

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions