-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/Lottery.sol#L267
# Vulnerability details
## Impact
Buyer on the secondary market can…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/ReferralSystem.sol#L52-L72
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/ReferralSystem.sol#L111-L120
# Vulne…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/Ticket.sol#L26
# Vulnerability details
## Impact
When a user buys a ticket, Lottery.s…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/Lottery.sol#L110
# Vulnerability details
## Impact
An external contract could call th…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/Lottery.sol#L111
# Vulnerability details
## Impact
If the draw id is very large ,users may not have a chance to win.
## …
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/staking/Staking.sol#L67-L89
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aa…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/Ticket.sol#L12
# Vulnerability details
## Impact
ERC721 NFT collections have to imple…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/Lottery.sol#L118
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/Lottery.sol#L230
# Vulnerability details
As per the [docs](https://docs.wenwin.com/we…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/LotteryMath.sol#L24
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8fe…