I created lottery smart contract

By using ERC20 tokens on an EVM-compatible public blockchain to play the lottery Lotteries can be conducted at low cost, with strict privacy, high return rates, and traceability guaranteed, without having to go through a lottery management organization. Winners are determined by randomly generated numbers on the blockchain.

How do you think lottery contract?

smart contract code


Nice job!

I have just noticed your ILottery interface only have one method and missing the other methods of your contract.