Skip to content

Feat/token rewards distribution 378#437

Merged
Devsol-01 merged 2 commits intoDevsol-01:mainfrom
Emeka000:feat/token-rewards-distribution-378
Mar 27, 2026
Merged

Feat/token rewards distribution 378#437
Devsol-01 merged 2 commits intoDevsol-01:mainfrom
Emeka000:feat/token-rewards-distribution-378

Conversation

@Emeka000
Copy link
Copy Markdown
Contributor

closes #378

- Add claimed_tokens and unclaimed_tokens fields to UserRewards
- Add RewardToken key to RewardsDataKey for token contract address
- Add RewardsClaimed event and emit_rewards_claimed helper
- Implement claim_rewards() with double-claim protection via token::Client transfer
- Implement convert_points_to_tokens() to convert points to claimable tokens
- Expose set_reward_token, convert_points_to_tokens, claim_rewards entrypoints
- Guard claim_rewards with auth, pause check, and reentrancy guard
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nestera Ready Ready Preview, Comment Mar 27, 2026 5:11am

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 27, 2026

@Emeka000 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Devsol-01 Devsol-01 merged commit 921bfad into Devsol-01:main Mar 27, 2026
2 of 3 checks passed
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.

Rewards Distribution in Token

2 participants