Skip to content

#28 Issue 28: [Security] Token Whitelist for Vault Creation #49

@JerryIdoko

Description

@JerryIdoko

Description:
Prevent malicious users from deploying vaults filled with spam/scam tokens to clutter the protocol's UI and indexer.
Acceptance Criteria:

[ ] Maintain a whitelisted_tokens map.

[ ] add_to_whitelist(token) (Admin only).

[ ] Revert create_vault if the provided token_address is not on the whitelist.
Labels: security, spam

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions