-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/staking/Staking.sol#L61-L63
# Vulnerability details
Whenever an attacker sees a profitable `buyTickets()` transaction, th…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/Lottery.sol#L110-L131
# Vulnerability details
## Impact
Users can earn free money by …
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/staking/Staking.sol#L118
# Vulnerability details
## Impact
Attacker can perform frontrunning attack in order to get rewar…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/RNSourceController.sol#L46-L56
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/RNSourceController.sol#L89-L104
…
-
# Lines of code
https://github.com/wenwincom/wenwin-contracts/blob/1fe7ffb8ada5f2c0dea1d6089470b342286aa3fd/src/Lottery.sol#L274
# Vulnerability details
## Impact
function returnUnclaimedJackpotTo…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/Lottery.sol#L110-L132
# Vulnerability details
## Impact
In the lottery.sol L110-L132 …
-
Previously open issue : https://github.com/kubernetes/community/issues/5473
Twitter Discussion : https://twitter.com/BenTheElder/status/1407774856033181696
There's pros and cons to having a bot do…
dims updated
8 months ago
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/LotteryMath.sol#L35-L56
# Vulnerability details
The function `calculateNewProfit` present in the `LotteryMath` library is…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/Lottery.sol#L113
# Vulnerability details
## Impact
Users can purchase tickets at a 10% discount.
## Proof of Concept
We…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/Lottery.sol#L114
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/ReferralSystem.sol#L76-L82
# Vulnerability det…