StephenGrider / EthereumCasts

Companion repo to an Ethereum/Solidity course on Udemy
2.13k stars 1.31k forks source link

Constructor Syntax update in smart contract #28

Open prayagcbose opened 4 years ago

prayagcbose commented 4 years ago

In kickstart/ethereum/contracts/Campaign.sol

The Constructor syntax is shown as: function Camoaign(){ ....... } Which can be refactored as: constructor(){ ...... }