Skip to content

P2E: add seasons and reward campaigns #89

@ilyar

Description

@ilyar

Source PRD: tasks/prd-full-play-to-earn.md
Parent epic: #86
PRD section: US-003

Description

Rewards need visible seasons/campaigns so P2E has a bounded competitive structure.

Acceptance Criteria

  • Add season/campaign records with ID, title, start time, end time, status, eligible game modes, eligible balance kinds, reward pool ID, and reward rules version.
  • Only active seasons/campaigns can accrue reward points.
  • Ended seasons stop accruing points but remain visible in history.
  • Admin can create a draft campaign and preview reward math before activation.
  • Campaign activation requires a funded reward pool and legal gate approval flag.
  • Tests cover active, upcoming, ended, and canceled campaign states.

Constraints

  • Keep current paid PvP settlement as entry fee, not player-funded prize pool.
  • Do not make Season Points redeemable or refundable.
  • Keep payout/compliance/provider secrets backend-only.
  • Treat this as deferred future-phase work until mechanics/self-host production readiness is stable.

Notes

Campaign rules should be versioned and immutable after activation except pause/cancel paths.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: backendServer-side services, APIs, reducers, and data mutationsarea: frontendTelegram Mini App UI, screens, and client UXdomain: economyELM/tELM balances, ledger, credits, debits, and rewardsdomain: operationsRunbooks, observability, incident handling, migration, and support flowspriority: highImportant for MVPstatus: deferredDeferred until the current active milestone is stabletype: featureNew capability or product improvement

    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