-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/LotterySetup.sol#L85
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/RNSourceController.sol#L46-L56
# Vulnerabi…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/LotteryMath.sol#L84
# Vulnerability details
## Impact
Expected payout may be great…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/LotteryMath.sol#L52-L53
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/Lottery.sol#L240
https://github.com/code-…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/Lottery.sol#L129
# Vulnerability details
## Impact
Missing checks for the value of th…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/LotterySetup.sol#L114
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/Lottery.sol#L159-L168
# Vulnerability details
The protocol states that a winner has 1 year to claim prizes, after that pr…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/Lottery.sol#L140
# Vulnerability details
## Impact
Bad actors can take advantage end up winning lotterys that they did n…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/staking/Staking.sol#L22-L44
# Vulnerability details
## Description
Staking.sol provide an option for user to stake their …
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/Lottery.sol#L159-L168
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/RNSourceController.sol#L89
# Vulnerability details
# [M-02] Malicious onlyOwner and changing of Oracle can drain Lottery
…