Project

One World
NFTDeFi
15,000 USDC
View results
Submission Details
Severity: low
Invalid

The `name` and `symbol` variables declared in `OWPIdentity` contract is not used any where.

Summary

The name and symbol variable declared in OWPIdentity contract is not used any where.

Vulnerability Details

The following variables are declared but not used any where.

i think these variables are for the tokens name and its symbol in the project but not used any where.

string public name = "One World Project";
string public symbol = "OWP";

https://github.com/Cyfrin/2024-11-one-world/blob/1e872c7ab393c380010a507398d4b4caca1ae32b/contracts/OWPIdentity.sol#L15

https://github.com/Cyfrin/2024-11-one-world/blob/1e872c7ab393c380010a507398d4b4caca1ae32b/contracts/OWPIdentity.sol#L16

Impact

Tools Used

manual review

Recommendations

use these vaiable on appropritte place . these variable are used for token name and symbol .

If not in use remove it for better clearity.

Updates

Lead Judging Commences

0xbrivan2 Lead Judge 12 months ago
Submission Judgement Published
Invalidated
Reason: Design choice
0xbrivan2 Lead Judge 12 months ago
Submission Judgement Published
Invalidated
Reason: Design choice

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.