- Users can enter the lottery with ETH based on a USD fee.
- An admin will chose when the lottery is over
- Lotter will select a random winner
What will our main functions be?
-
enter_lottery/fund/get_conversion_rate
-
get_conversion_rate
-
fund
-
get_price (from chainlink)
-
select_winner
-
end_lottery
-
enter
-
getEntranceFee
-
startLottery (only Admin)
-
endLottery (only Admin)
How do we wanna test this?