Skip to content

[#927] Update milestone tiers: add Diamond, adjust percentages, use emojis#933

Merged
realproject7 merged 1 commit intomainfrom
task/927-milestone-tiers-update
Apr 22, 2026
Merged

[#927] Update milestone tiers: add Diamond, adjust percentages, use emojis#933
realproject7 merged 1 commit intomainfrom
task/927-milestone-tiers-update

Conversation

@realproject7
Copy link
Copy Markdown
Owner

Summary

Fixes #927

Full-stack update from 3 tiers to 4 tiers with emoji indicators:

Tier FDV Target Pool % Emoji
Bronze $1M 10% 🥉
Silver $10M 30% 🥈
Gold $50M 50% 🥇
Diamond $100M 100% 💎

Files changed (9):

  • lib/airdrop/config.ts — Add DIAMOND, change GOLD from $70M/100% to $50M/50%
  • src/app/api/airdrop/status/route.ts — Return 4 milestones
  • src/app/api/airdrop/points/route.ts — Add diamond to estimatedAirdrop
  • src/app/api/airdrop/results/route.ts — Add Diamond check + emoji prefixes
  • scripts/airdrop-finalize.ts — 4-tier determination logic
  • src/components/airdrop/UserPoints.tsx — 4-tier estimates with emojis
  • src/components/airdrop/CampaignHero.tsx — StatusData interface update
  • src/components/airdrop/MilestoneTrack.tsx — StatusData interface update

Test plan

  • Verify config exports 4 tiers with correct FDV/pct values
  • Verify /api/airdrop/status returns 4 milestones
  • Verify /api/airdrop/points returns diamond in estimatedAirdrop
  • Verify UserPoints displays 4 tier estimates with emoji labels
  • Verify MilestoneTrack chart still renders correctly (already had 4 presentation tiers)
  • Verify finalize script handles Diamond tier (code review)

🤖 Generated with Claude Code

…mojis

- Config: Add DIAMOND tier ($100M/100%), change GOLD from $70M/100% to $50M/50%
- Status API: Return 4 milestones (bronze/silver/gold/diamond)
- Points API: Add diamond to estimatedAirdrop
- Results API: Add Diamond check, use emoji prefixes in milestone names
- Finalize script: Add Diamond tier to determination logic
- UserPoints: Display 4 tiers with emoji labels
- CampaignHero/MilestoneTrack: Update StatusData interfaces for 4 tiers

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
plotlink Ignored Ignored Apr 22, 2026 1:40am

Request Review

Copy link
Copy Markdown
Owner Author

@realproject7 realproject7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re2 verdict: APPROVE

Full-stack 3→4 tier update across 9 files, all consistent:

  • Config: DIAMOND added at $100M/100%, GOLD adjusted from $70M/100% → $50M/50%. Both prod and test configs updated.
  • Finalize script: Diamond check first (correct descending order), emoji prefixes on all tiers.
  • APIs: status/points/results all return 4 tiers consistently.
  • UI: UserPoints displays 4 emoji-labeled estimates. CampaignHero + MilestoneTrack interfaces updated.
  • Closes the "4-tier presentation vs 3-tier backend" gap from PR #930.

No issues found.

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Summary

The PR updates the airdrop milestone system from 3 tiers to 4 tiers across config, API responses, UI estimates, and finalization/results logic. The new Bronze / Silver / Gold / Diamond thresholds and percentages match issue #927.

Findings

  • None.

Decision

Approving. Residual risk is limited to the still-pending CI checks (e2e, lint-and-typecheck), but I did not find a code-level blocker in the reviewed changes.

@realproject7 realproject7 merged commit 5265f33 into main Apr 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Airdrop] Update milestone tiers: add Diamond, adjust percentages, use emojis

2 participants