Several functions in the contract lack explicit visibility modifiers, defaulting to public visibility.
Locations: Lines 99, 115, 167, 180, 219, 233
Type: Missing function visibility modifiers
Description: Several functions in the contract lack explicit visibility modifiers, defaulting to public visibility.
Malicious actors could potentially manipulate the contract's state by calling these functions unintentionally.
Slither static analysis tool identified this vulnerability.
Explicitly specify the visibility (public, private, internal, or external) for all functions in the contract.
Review and update the contract's logic to ensure proper access control and prevent unintended state changes.
Consider using OpenZeppelin's Ownable contract for functions that should only be accessible by the contract owner.
Best practice: Always explicitly declare function visibility, even if it's intentionally set to public. Recent Solidity versions will show warnings for functions without explicit visibility.
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.