function createCottery() public onlyOwner returns(address) { Cottery newCottery = new Cottery(tokenAddress, owner, prizePool); latestCottery = address(newCottery); return latestCottery; }
0.7.1