Home / Vulnerability Database / Solidity : Implicit visibility level
Solidity
Solidity : Implicit visibility level
Overview
The default function visibility level in contracts is public, in interfaces - external, state variable default visibility level is internal.
In contracts, the fallback function can be external or public. In interfaces, all the functions should be declared as external. Explicitly define function visibility to prevent confusion.
References
LOW
DerScanner Severity Score
Do you want to fix Solidity : Implicit visibility level in your application?
See also
Solidity
Solidity : Return value of transfer, transferFrom, or approve function of ERC-20 standard is always false.
Solidity
Solidity : Using approve function of the ERC-20 token standard
Solidity
