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

check collection owner and already branded identity #6

Merged
merged 2 commits into from
Mar 8, 2024

Conversation

bogdan-rosianu
Copy link
Contributor

Two fixes:

  1. If a user wanted to brand a (SFT / NFT) collection, the checker would have only checked the owner from the 'tokens' endpoint. Extended the check so it will also check the 'collections' endpoint.
  2. If one wants to brand a new identity, there was no check that the identity (for example Staking Provider contract address) wasn't already branded under other names. Added such a check

@bogdan-rosianu bogdan-rosianu self-assigned this Mar 8, 2024
src/bot.ts Outdated Show resolved Hide resolved
src/bot.ts Outdated Show resolved Hide resolved
src/bot.ts Show resolved Hide resolved
@bogdan-rosianu bogdan-rosianu merged commit 92252a0 into main Mar 8, 2024
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