SimpleLottery
contract SimpleLottery
Reference
Functions
SimpleLottery
function SimpleLottery(uint duration) public- Parameters:
duration- uint
buy
function buy() public payabledrawWinner
function drawWinner() publicfallback
function () public payablewithdraw
function withdraw() public
