Contract purpose

The smart contract responsible for picking a winner. To participate the player must bid a number and pay at least .001 ether per transaction. When determining the winner the contract takes a rundom number that will win all the balance and the contract sefdestructs.

Exposed methods

determineWinner lets the owner to decide the moment to let the contract pick a winner

enter allows the user to book any number of rooms (if available) at a particular hotel

parameter nametypedetails
valueintegerbit a number
Reviewed by Modex
Buy Contract Test Contract

Create an account or login to purchase this smart contract