Platform: Code4rena
Start Date: 14/07/2022
Pot Size: $25,000 USDC
Total HM: 2
Participants: 63
Period: 3 days
Judge: PierrickGT
Total Solo HM: 1
Id: 147
League: ETH
Rank: 42/63
Findings: 1
Award: $39.03
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: hickuphh3
Also found by: 0x29A, 0x52, 0xNazgul, Chom, Deivitto, ElKu, Funen, IllIllI, Meera, ReyAdmirado, SooYa, TomJ, Trumpero, Waze, __141345__, ak1, asutorufos, c3phas, cRat1st0s, csanuragjain, delfin454000, exd0tpy, fatherOfBlocks, hake, hansfriese, horsefacts, hyh, karanctf, kenzo, kyteg, ladboy233, pashov, peritoflores, rajatbeladiya, rbserver, reassor, rokinot, simon135, wastewa
39.0318 USDC - $39.03
this was need to be check if duration != 0
or > 0
, since
/// @param duration Time that auctions take to go to minimal price
this duration Time maliciously can be set to be 0 and the function how much collateral is sold over time cant be do well enough.
uint32 duration https://github.com/code-423n4/2022-07-yield/blob/6ab092b8c10e4dabb470918ae15c6451c861655f/contracts/Witch.sol#L46
this was an informational and important to set on upper, since it was important
// If the world has not turned to ashes and darkness, auctions will malfunction on // the 7th of February 2106, at 06:28:16 GMT // TODO: Replace this contract before then 😰 // UPDATE: Added reminder to Google calendar ✅
#0 - alcueca
2022-07-22T14:29:08Z
One useful