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

Expired Deposit Rewards Handling #433

Merged
merged 3 commits into from
Sep 3, 2024
Merged

Expired Deposit Rewards Handling #433

merged 3 commits into from
Sep 3, 2024

Conversation

Ysrbolles
Copy link

Description

This implementation ensures that users are informed about expired deposits and provides an easy way to claim the remaining rewards.

Feature Overview:

  • Implemented a check for expired deposit rewards for the currently logged-in user.
  • Added a new general box in the Earn -> My Rewards section, labeled Expired deposit rewards which is displayed when there are unclaimed rewards from expired deposits.

Details:

Display:

  • The box only shows the Pending Reward amount.
  • Other fields are hidden since this box is only related to remaining rewards, not an active deposit.
  • An informational message is included: "At least one deposit has already expired without claiming the full amount of rewards. You can still claim the rewards here."
Screenshot 2024-09-03 at 16 25 04

Claim Functionality:

  • A "Claim Rewards" button is provided in the box. Clicking this button will trigger the functionality to claim the expired deposit rewards.

…d add TreasuryRewardCard component in UserRewards.vue
@Ysrbolles Ysrbolles merged commit 8cc41d2 into suite Sep 3, 2024
4 checks passed
@Ysrbolles Ysrbolles deleted the claim-rewards branch September 3, 2024 21:23
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.

2 participants