- Players chooses a number from 1 - 100
- A player can choose multiple numbers
- A player can force draw the raffle but must send an amount equivalent to the total amount of open slots left
- When all slots are closed, an event is triggered for admin to draw the raffle, effectively selecting a random winner.
- The admin gets a 10% fee from the total price pool
- Upon selecting the random winner, the raffle is reset
-
Notifications
You must be signed in to change notification settings - Fork 0
hosnipogi/ph-raffle-smartcontract
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
My first smart contract
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published