totalSupply_) + LowNormal behavior: Internal state variables in ERC-20 contracts use a leading underscore (e.g., _totalSupply) to indicate private/internal access. Standard practice is to access this variable directly internally.
Issue: The contract defines an internal function totalSupply_() to return the value of _totalSupply. This naming is confusing, non-standard, and unnecessary for internal use. Internal code should access _totalSupply directly.
Likelihood: Low
Reason 1: Developers may call totalSupply_() unnecessarily instead of _totalSupply, creating confusion.
Reason 2: Auditors or external tooling might misinterpret this internal function as part of the contract’s external API.
Impact: Low
Impact 1: Confusion for maintainers or auditors.
Impact 2: Minor unnecessary gas cost due to calling a function instead of reading the storage variable directly.
totalSupply_() is not a standard naming for the internal functions across the project.
Rename totalSupply_() function to _totalSupply() to follow the standard naming.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.