endAuction() Function and Documentation Mismatch Leading to Potential Auction Settlement IssuesThe project documentation specifies that anyone can settle the auction after 3 days have passed by calling endAuction(tokenId) However, the current implementation of BidBeastsNFTMarket does not include any endAuction() function. Instead, the settleAuction() function allows anyone to settle the auction immediately after the auction end time, regardless of whether the 3-day period mentioned in the documentation has passed.
Likelihood:
Documentation vs. Code Mismatch: Users relying on the documentation may assume they have a three-day period when they do not, leading to unexpected auction outcomes.
Impact:
Potential financial losses for sellers if auctions are settled earlier than intended.
Align Code with Documentation
Implement a dedicated endAuction() function with the correct 3-day period as described in the docs:
Documentation for BidBeasts Marketplace is incomplete or inaccurate, potentially leading to misconfigurations or security misunderstandings.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.