Skip to content

SC-17: Ensure strict validation of token contract addresses in deposit methods #862

Description

@chinweobtagaz

Context: The contract accepts any token address, which could lead to users funding tournaments with worthless spoofed tokens.
Location: contracts/game_contract/src/lib.rs
Acceptance Criteria:

  • Enforce an admin-maintained whitelist of permitted Token Contract Addresses (e.g., USDC).

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