Implemented XP Model
The backend rewards formula isrewards_xp_mvp_v1.
Each allocation run distributes a fixed weekly XP pool pro rata by power score:
XP is persisted through allocation runs, ledger entries, and balances. Public/user-facing APIs expose trading XP, referral XP, total XP, referral summary, rewards summary, and leaderboard XP fields.
Earning Sources
Core XP sources:- Eligible trading volume and performance.
- Referral bonuses from active referred traders.
- Competition rewards and projected XP.
- Operator-approved manual grants or adjustments.
- Referred active traders that pass eligibility checks.
- Referred trading volume or fee contribution.
- Competition participation driven by a campaign.
- Campaign-specific quests with verifiable completion.
- Verified content deliverables that are reviewed and capped.
- Manual operator grants or clawbacks for edge cases.
KOL Campaign Rules
KOL campaigns should be configured before launch and should not depend on ad hoc UI-only balances. Every campaign grant or correction should map to a ledger reason, an operator decision, or a deterministic backend allocation. Minimum campaign configuration:- Campaign identifier and active window.
- Eligible referral code or attribution rule.
- Minimum referred-user activity threshold.
- Per-user, per-KOL, and campaign-wide caps.
- Reward reasons used in the ledger.
- Review and clawback policy.
Recommended KOL ledger reasons:
Campaign metadata should include enough detail to audit the grant later:
delta_xp entries for clawbacks instead of rewriting history.
Abuse Policy
The following activity should be excluded or clawed back:- Self-referral or circular referral chains.
- Wash trading, spoofing, or economically meaningless volume.
- Multi-account farming.
- Referral attribution manipulation.
- Campaign activity outside the eligibility window.
- Any activity tied to sanctioned, banned, or otherwise ineligible accounts.
User Visibility
Users should be able to inspect:- Current referral code and referral tree summary.
- Trading XP, referral XP, and total XP.
- Recent ledger entries or allocation history.
- Leaderboard placement with XP fields.
- Campaign-specific caps and eligibility status when participating in a KOL campaign.