Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Add Rewards Claiming Functionality #2726

Open
monaiuu opened this issue Jan 8, 2025 · 0 comments
Open

[TASK] Add Rewards Claiming Functionality #2726

monaiuu opened this issue Jan 8, 2025 · 0 comments
Assignees

Comments

@monaiuu
Copy link
Contributor

monaiuu commented Jan 8, 2025

Description

Integrate the rewards claiming functionality and ensure the user's balance is dynamically updated after claiming rewards.

Related Task:

#2727

Requirements

  • Conditionally render a "Claim" button only if there are rewards available for claiming.
  • Clicking the button should trigger the claim action and initiate a backend call to process the rewards claim.
  • Ensure the rewards displayed are fetched dynamically from the backend.
  • After a successful claim, automatically update the user's:
    • Transferable Balance to include the claimed rewards.
    • Claimable Rewards to reflect a value of 0 if all rewards are claimed.

Note: at launch, claiming will only support TNT for deposit rewards.

Screenshot

Image
@monaiuu monaiuu converted this from a draft issue Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Not Started 🕧
Development

No branches or pull requests

2 participants