StephenGrider / EthereumCasts

Companion repo to an Ethereum/Solidity course on Udemy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Constructor Syntax update in smart contract

prayagcbose opened this issue · comments

In kickstart/ethereum/contracts/Campaign.sol

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