-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/Lottery.sol#L129
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/Lottery.sol#L151
# Vulnerability details
## I…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/Lottery.sol#L110-L131
# Vulnerability details
Wenwin provides incentive rewards for r…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/Lottery.sol#L110
# Vulnerability details
## Impact
There's no validation for the `frontend` address when calling `buyTick…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/Lottery.sol#L110
# Vulnerability details
## Impact
There's no validation for the `frontend` address when calling `buyTick…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/Lottery.sol#L110
# Vulnerability details
## Impact
1. Each user can buy a ticket for …
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/Lottery.sol#L113
https://github.com/code-423n4/2023-03-wenwin/blob/main/src/Lottery.sol#L129
https://github.com/code-423n4/2…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/Lottery.sol#L110-L131
# Vulnerability details
## Impact
- **Referrers** per docs: "Re…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/940066dc3c500cf745afc9e9381e131da7f98e88/src/staking/Staking.sol#L121
https://github.com/code-423n4/2023-03-wenwin/blob/940066dc3c500…
-
# Lines of code
https://github.com/code-423n4/2023-03-wenwin/blob/91b89482aaedf8b8feb73c771d11c257eed997e8/src/Lottery.sol#L110-L131
# Vulnerability details
## Impact
Incomplete input validation i…
-
#772 was hiding an integration test failure:
```sh
not ok 39 lottery - Syntax/Types & Effects/Unit tests: program exited with error
---
program: |
bash -
exit status: 1
stderr: |
…