Incorrect Constructor Name
SCWE-070: Incorrect Constructor Name
Theory
contract Example {
//Constructor function of the "Example" contract
//for Solidity <0.4.22
function Example() public {
owner = msg.sender;
}
}Practice
Resources
Last updated
