Tadle

Tadle
DeFiFoundry
27,750 USDC
View results
Submission Details
Severity: low
Invalid

Misspelled Contract Name Leading to Potential Inheritance Issues

Vulnerability Details

The contract name is misspelled as PreMarktes instead of PreMarkets. This typo could lead to issues with inheritance and contract interactions.

Impact

While this doesn't directly impact the contract's functionality, it could cause confusion during development, testing, and integration. It may also lead to difficulties when other contracts attempt to inherit from or interact with this contract.

Proof of Concept

Link to code

contract PreMarktes is PerMarketsStorage, Rescuable, Related, IPerMarkets {
// Contract implementation
}

Tools Used

Recommendations

  • Correct the contract name from PreMarktes to PreMarkets.

  • Ensure that all references to this contract (in inheritance, factory contracts, tests, etc.) use the correct spelling.

Updates

Lead Judging Commences

0xnevi Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

[invalid] finding-Typos

Typos are at most informational and does not highlight a direct smart contract vulnerability

Support

FAQs

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