Forgotten Runes Warrior Guild contest - dipp's results

16,000 Warrior NFTs sold in a phased Dutch Auction.

General Information

Platform: Code4rena

Start Date: 03/05/2022

Pot Size: $30,000 USDC

Total HM: 6

Participants: 93

Period: 3 days

Judge: gzeon

Id: 118

League: ETH

Forgotten Runes

Findings Distribution

Researcher Performance

Rank: 24/93

Findings: 1

Award: $296.76

🌟 Selected for report: 0

🚀 Solo Findings: 0

Findings Information

🌟 Selected for report: throttle

Also found by: 0xDjango, BowTiedWardens, WatchPug, defsec, dipp, fatherOfBlocks, gzeon, hake, reassor, shung, unforgiven

Labels

bug
duplicate
2 (Med Risk)

Awards

296.7571 USDC - $296.76

External Links

L-01: Mintlist Phase able to Start Before the Dutch Auction Phase

Line References

ForgottenRunesWarriorsMinter.sol#L171-L195

ForgottenRunesWarriorsMinter.sol#L480-L500

Description

If the mintlist summon starts before the final price is reached in the auction and is not set, then users who use mintlistSummon or publicSummon could pay more than what they should. They would be unable to receive a refund by using the contract since the refund functionality only considers the amount spent in the bidSummon function.

Since the mintlist start time is expected to be 24 hours after the Dutch auction start time, and the public summon 24 hours after that, this scenario is unlikely but is still possible.

A requirement that mintlistStartTime is at least 380 minutes after daStartTime in the setPhaseTimes function could be added since the final price should be equal to lowestPrice 380 minutes after the start of the auction or should already be set if all warriors are sold before that.

#0 - gzeoneth

2022-06-18T19:29:25Z

Duplicate of #27

AuditHub

A portfolio for auditors, a security profile for protocols, a hub for web3 security.

Built bymalatrax © 2024

Auditors

Browse

Contests

Browse

Get in touch

ContactTwitter