Home / Vulnerability Database / Solidity : Incorrect function signature
Solidity

Solidity : Incorrect function signature

Overview

In Solidity, the function signature is defined as the canonical expression of the basic prototype without data location specifier, i.e. the function name with the parenthesised list of parameter types. Parameter types are split by a single comma - no spaces are used. This means one should use uint256 and int256 instead of uint or int.

MEDIUM

DerScanner Severity Score

Do you want to fix Solidity : Incorrect function signature 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

Solidity : ERC-20 transfer should throw