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

[FEAT] Add Rewards Claiming Functionality #2726

Closed
monaiuu opened this issue Jan 8, 2025 · 0 comments · Fixed by #2754
Closed

[FEAT] Add Rewards Claiming Functionality #2726

monaiuu opened this issue Jan 8, 2025 · 0 comments · Fixed by #2754
Assignees
Labels
app: tangle-dapp type: feature ➕ Tasks that are functional additions or enhancements

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
@AtelyPham AtelyPham moved this from Not Started 🕧 to Planning 🗺️ in Webb Universe Jan 13, 2025
@yurixander yurixander added type: task ✔️ app: tangle-dapp type: feature ➕ Tasks that are functional additions or enhancements and removed type: task ✔️ labels Jan 15, 2025
@yurixander yurixander changed the title [TASK] Add Rewards Claiming Functionality [FEAT] Add Rewards Claiming Functionality Jan 18, 2025
@AtelyPham AtelyPham moved this from Planning 🗺️ to Building 🏗️ in Webb Universe Jan 22, 2025
@github-project-automation github-project-automation bot moved this from Building 🏗️ to Completed ✅ in Webb Universe Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app: tangle-dapp type: feature ➕ Tasks that are functional additions or enhancements
Projects
Status: Completed ✅
Development

Successfully merging a pull request may close this issue.

3 participants