Skip to content

Add check to ensure accepted tokens list cannot contain duplicates#44

Open
adnanhq wants to merge 1 commit intooz-audit-fixesfrom
oz-fix-issue-31
Open

Add check to ensure accepted tokens list cannot contain duplicates#44
adnanhq wants to merge 1 commit intooz-audit-fixesfrom
oz-fix-issue-31

Conversation

@adnanhq
Copy link
Contributor

@adnanhq adnanhq commented Mar 4, 2026

  • Add duplicate check for accepted tokens in CampaignInfo.initialize – Before pushing each token into s_acceptedTokens, check s_isAcceptedToken[token] and revert with CampaignInfoInvalidInput() if it is already set.

@adnanhq adnanhq self-assigned this Mar 4, 2026
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.

1 participant