Description:
Problem
Once verified, an address stays verified forever even if the user's identity documents expire or are found to be fraudulent.
Solution
Add a revocation mechanism that allows the admin to revoke KYC verification for specific addresses.
Tasks
Add revoke_verification function to contract
Add admin-only access control
Update is_verified to check revocation status
Add revocation event emission
Update tests for revocation
Deploy updated contract
Skills needed
Rust, Soroban
Difficulty
Medium
Description:
Problem
Once verified, an address stays verified forever even if the user's identity documents expire or are found to be fraudulent.
Solution
Add a revocation mechanism that allows the admin to revoke KYC verification for specific addresses.
Tasks
Add revoke_verification function to contract
Add admin-only access control
Update is_verified to check revocation status
Add revocation event emission
Update tests for revocation
Deploy updated contract
Skills needed
Rust, Soroban
Difficulty
Medium