You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 17, 2026. It is now read-only.
mplement a backend logic that dynamically generates a congratulatory message when a user claims an Impact Product level. The message should change based on whether it is their first claim, a level upgrade, or the final milestone.
Tasks:
✅ Retrieve User’s Current Impact Product Level:
Query the dIP smart contract to get the user’s existing level.
✅ Determine & Assign the Correct Message:
If Level 1 is being claimed:
Congratulations! You’ve just received the first level of DeCleanup Impact Product.
Come back for more! Share your referral with friends and earn more DCU Points.
If Level 2-9 is being claimed:
Congratulations! You’ve just upgraded to a higher level of DeCleanup Impact Product.
Come back for more!
If Level 10 is being claimed:
Congratulations! You’ve successfully completed all levels of DeCleanup journey at this phase!
Stay updated for new level updates.
✅ Modify API Response for Claim Requests:
Implement logic in the reward claim API (/api/rewards/claim).
Return the correct confirmation message in the response based on the claimed level.
mplement a backend logic that dynamically generates a congratulatory message when a user claims an Impact Product level. The message should change based on whether it is their first claim, a level upgrade, or the final milestone.
Tasks:
✅ Retrieve User’s Current Impact Product Level:
✅ Determine & Assign the Correct Message:
✅ Modify API Response for Claim Requests:
/api/rewards/claim).