-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/Lottery.sol#L110-L131
# Vulnerability details
## Impact
Players can extract frontend rewards by self-frontend
## Proof o…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/Ticket.sol#L12
# Vulnerability details
## Impact
The ticket contract doesn't implemen…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/Lottery.sol#L135
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/Lottery.sol#L110
https://github.com/code-423n4/2…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/Lottery.sol#L110
# Vulnerability details
## Impact
If a player is both the fronted and the referrer, they are eligible to…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/Lottery.sol#L110-L131
# Vulnerability details
## Impact
Add a protection to prevent s…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/LotteryMath.sol#L96
# Vulnerability details
## Impact
A player who's winnings are m…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/Lottery.sol#L110-L131
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/Lottery.sol#L151-L157
https://github.com/co…
-
# Lines of code
https://github.com/wenwincom/wenwin-contracts/blob/main/src/Lottery.sol#L114
# Vulnerability details
## Impact
Contract miss check for msg.sender != referrer, so user can buy ticke…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/Lottery.sol#L271-L277
# Vulnerability details
## Impact
Prize pool will be smaller t…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/Lottery.sol#L271
# Vulnerability details
## Impact
The current implementation of `returnUnclaimedJackpotToThePot` only wo…