Open minhquanym opened 2 weeks ago
Impact: Low
Likelihood: Low
There are some unused functions and variables in the codebase:
removeParticipant()
getRandomNumber()
AuctionV1Base
LotteryState
VRF_REQUESTED
VRF_COMPLETED
config._seller
seller
config._blessedOperator
Consider removing the unused code.
valid
[I-01] Unused code
Severity
Impact: Low
Likelihood: Low
Description
There are some unused functions and variables in the codebase:
removeParticipant()
functions.getRandomNumber()
function inAuctionV1Base
.LotteryState
:VRF_REQUESTED
andVRF_COMPLETED
.config._seller
variable is unused, and theseller
variable is assignedconfig._blessedOperator
instead.Recommendations
Consider removing the unused code.