Home / Vulnerability Database / Solidity : Pure-functions should not read or change state
Solidity

Solidity : Pure-functions should not read or change state

Overview

In Solidity, function that do not read from the state or modify it can be declared as pure.

LOW

DerScanner Severity Score

Do you want to fix Solidity : Pure-functions should not read or change state 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