> abiDefinition = JSON.parse(compiledCode.contracts[':Voting'].interface)> VotingContract = web3.eth.contract(abiDefinition)> byteCode = compiledCode.contracts[':Voting'].bytecode> deployedContract = VotingContract.new(['R…Full Stack Hello World Voting Ethereum Dapp Tutorial — Part 111K219Mahesh MurthyCristianFollowJul 29, 2017 · 1 min readThis is now: `VotingContract = new web3.eth.Contract(abiDefinition)` in newer versions of web3