Home / Vulnerability Database / Solidity : Use of return in constructor
Solidity

Solidity : Use of return in constructor

Overview

return statement is used in contract’s constructor. With return the process of deploy will differ from the intuitive one. For instance, deployed bytecode may not include functions implemented in the source.

Vulnerability type by SmartDec classification: Assembly return in constructor.

CRITICAL

DerScanner Severity Score

Do you want to fix Solidity : Use of return in constructor 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