-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add flow to claim operator staking token #668
Add flow to claim operator staking token #668
Conversation
✅ Deploy Preview for dev-astral ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one small nit
User description
Add flow to claim operator staking token
Screenshot
PR Type
Enhancement, Documentation
Description
verifyToken
utility function.Changes walkthrough 📝
route.ts
Implement operator disbursement claim API route.
explorer/src/app/api/claim/[...params]/route.ts
GetDiscordRoles.tsx
Add UI for claiming operator disbursement in WalletSideKick.
explorer/src/components/WalletSideKick/GetDiscordRoles.tsx
routes.ts
Define constants for new claim API routes.
explorer/src/constants/routes.ts
discord.ts
Refactor Discord auth provider to use verifyToken utility.
explorer/src/utils/auth/providers/discord.ts
verifyToken
utility function.verifyToken.ts
Add utility function for JWT token verification.
explorer/src/utils/auth/verifyToken.ts
fauna.ts
Add FaunaDB utilities for handling claims and statistics.
explorer/src/utils/fauna.ts
slack.ts
Add Slack utility functions for notifications.
explorer/src/utils/slack.ts
wallet balance.
.env.sample
Update .env.sample with Slack and disbursement variables.
explorer/.env.sample
disbursement.