1 matches found
The minimum values of selectionMax and selectionSize are not verified when creating a lottery, which may create an unreasonable lottery
Lines of code Vulnerability details Summary src/LotterySetup.sol constructorLotterySetupParams memory lotterySetupParams if addresslotterySetupParams.token == address0 revert RewardTokenZero; if lotterySetupParams.ticketPrice == uint2560 revert TicketPriceZero; if lotterySetupParams.selectionSize...
6.6AI score
SaveExploits0
20