Skip to content

Conversation

@Y3drk
Copy link
Contributor

@Y3drk Y3drk commented Jan 5, 2026

Lite PR


Summary

  • 1st of two PRs aiming to close Issue #99 in ENSAwards
  • Copies all "pure business" logic from ENSAwards into ens-referrals package
  • All of the above is located @ packages/ens-referrals/src/status.ts

Why

  • Aims to flatten ENSAwards and better organize referral program-related "business logic" → for more details see Issue #99 in ENSAwards

Testing

  • No testing other than CI tests in the PR run so far.
  • Will be tested when a @next package with these changes is available in npm, because this change needs to be tested specifically on ENSAwards (so far the only use-case for this code).
    • Will use /mocks/referral-program-timeline and /leaderboards/referrer for the UX&UI testing (see screenshots below)
image image

Notes for Reviewer (Optional)

  • All code is basically copy-pasted from ensawards.org/src/components/atoms/ReferralProgramTimeline.tsx and ensawards.org/src/components/atoms/badges/ReferralProgramStatusBadge.tsx in ENSAwards

Checklist

  • This PR does not change runtime behavior or semantics
  • This PR is low-risk and safe to review quickly

@Y3drk Y3drk self-assigned this Jan 5, 2026
@Y3drk Y3drk requested a review from a team as a code owner January 5, 2026 09:59
@changeset-bot
Copy link

changeset-bot bot commented Jan 5, 2026

🦋 Changeset detected

Latest commit: 1021316

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 16 packages
Name Type
@namehash/ens-referrals Minor
ensapi Patch
@ensnode/ensnode-sdk Patch
ensadmin Patch
ensindexer Patch
ensrainbow Patch
fallback-ensapi Patch
@ensnode/ensnode-react Patch
@ensnode/ensrainbow-sdk Patch
@ensnode/datasources Patch
@ensnode/ponder-metadata Patch
@ensnode/ensnode-schema Patch
@ensnode/ponder-subgraph Patch
@ensnode/shared-configs Patch
@docs/ensnode Patch
@docs/ensrainbow Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Jan 5, 2026

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

Project Deployment Review Updated (UTC)
admin.ensnode.io Ready Ready Preview, Comment Jan 5, 2026 10:07am
ensnode.io Ready Ready Preview, Comment Jan 5, 2026 10:07am
ensrainbow.io Ready Ready Preview, Comment Jan 5, 2026 10:07am

…/chore/move-referral-program-business-logic-to-ens-referrals
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
@Y3drk Y3drk merged commit 9862514 into main Jan 5, 2026
12 checks passed
@Y3drk Y3drk deleted the y3drk/chore/move-referral-program-business-logic-to-ens-referrals branch January 5, 2026 10:47
@github-actions github-actions bot mentioned this pull request Jan 5, 2026
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.

Move pure business logic of ReferralProgramTimeline & ReferralProgramBadge to ensnode/ens-referrals package

3 participants