Display payout token for referral rewards - #2482
Merged
MusabShakeel576 merged 1 commit intoSep 7, 2026
Merged
Conversation
The reward is quoted in dollars and settled on chain in a token, and
that token is changing from soUSD to native FUSE on a date the backend
owns. A row that only says "+$15" leaves someone who received 3,719
FUSE with no way to tie the two together.
So the referral summary's per-row asset is surfaced where it matters: a
paid row shows what actually landed ("Paid 3,719.31 FUSE", next to the
existing explorer link), and the "how it works" copy on both referral
screens names the asset a reward earned now would be paid in. Both come
straight from the API, so rows either side of the switch read correctly
and a backend that doesn't report the asset renders exactly as before.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016YX6KN5LnrKFNcZKzRr7EJ
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
MusabShakeel576
deleted the
claude/referral-rewards-sousd-to-fuse-gfitfp
branch
September 7, 2026 13:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add support for displaying the actual token that referral rewards are settled in, since rewards are quoted in USD but paid out in a specific token (soUSD or FUSE). This helps users match promised rewards against actual on-chain transfers.
Key Changes
ReferralPayoutTokenenum (soUSD, FUSE) and extendedReferralRewardListItemandReferralSummarytypes to include payout token informationformatPayoutToken()function to display the actual token amount paid (e.g., "3,719.31 FUSE") on paid referral rows, with a new "Paid" line showing what was actually sent to the walletImplementation Details
https://claude.ai/code/session_016YX6KN5LnrKFNcZKzRr7EJ