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 allowed tokens backend #4092

Merged
merged 3 commits into from Dec 3, 2023
Merged

feat: add allowed tokens backend #4092

merged 3 commits into from Dec 3, 2023

Conversation

bigint
Copy link
Member

@bigint bigint commented Dec 3, 2023

What does this PR do?

πŸ€–[deprecated] Generated by Copilot at cded0ab

This pull request adds a new table AllowedToken to the database and the Prisma schema file, which allows the hey app to store and query information about tokens that are supported by the app. The table has a unique index on the contractAddress column to prevent duplicates.

Related issues

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Enhancement (non-breaking small changes to existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Explanation of the changes

πŸ€–[deprecated] Generated by Copilot at cded0ab

  • Create a new table AllowedToken to store allowed tokens in the database (link)
  • Add a unique index on the contractAddress column of the AllowedToken table to prevent duplicates (link)
  • Update the Prisma schema file schema.prisma to define a new model AllowedToken that matches the table definition (link)

Emoji

πŸ†•πŸͺ™πŸ—ƒοΈ

Copy link

vercel bot commented Dec 3, 2023

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated (UTC)
web βœ… Ready (Inspect) Visit Preview Dec 3, 2023 6:39am

Copy link

height bot commented Dec 3, 2023

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

πŸ’‘Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

@bigint bigint merged commit 55b388d into main Dec 3, 2023
1 of 3 checks passed
@bigint bigint deleted the token-allowlist branch December 3, 2023 06:36
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.

None yet

1 participant