Platform: Code4rena
Start Date: 12/04/2023
Pot Size: $60,500 USDC
Total HM: 21
Participants: 199
Period: 7 days
Judge: hansfriese
Total Solo HM: 5
Id: 231
League: ETH
Rank: 140/199
Findings: 1
Award: $22.60
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: juancito
Also found by: 0xAgro, 0xNorman, 0xSmartContract, 0xStalin, 0xTheC0der, 0xWaitress, 0xhacksmithh, 0xnev, 3dgeville, 8olidity, Arz, Aymen0909, BGSecurity, BRONZEDISC, Bauchibred, Bauer, BenRai, ChainHunters, ChrisTina, CodeFoxInc, DedOhWale, DishWasher, EloiManuel, IceBear, Inspex, Jorgect, Kaysoft, LeoGold, LewisBroadhurst, Madalad, MiloTruck, MohammedRizwan, Nyx, Polaris_tow, RaymondFam, SaharDevep, SanketKogekar, Sathish9098, SolidityATL, Udsen, W0RR1O, aria, ayden, berlin-101, bin2chen, catellatech, codeslide, crc32, decade, descharre, evmboi32, eyexploit, fatherOfBlocks, georgits, giovannidisiena, joestakey, karanctf, kodyvim, ltyu, lukris02, m9800, matrix_0wl, mov, mrpathfindr, nadin, niser93, p0wd3r, parlayan_yildizlar_takimi, pavankv, pontifex, qpzm, ravikiranweb3, rbserver, santipu_, shealtielanz, slvDev, tnevler, wonjun, xmxanuel, yixxas
22.6007 USDC - $22.60
Equity.restructureCapTable
does not iterate the array addressToWipe
https://github.com/code-423n4/2023-04-frankencoin/blob/e13bce4f0f9756d0e6145ad2d1992494f983dce5/contracts/Equity.sol
Change the line to address current = addressesToWipe[i];
.
require
should be checked at the beginning of the function MintingHub.openPosition
.
https://github.com/code-423n4/2023-04-frankencoin/blob/e13bce4f0f9756d0e6145ad2d1992494f983dce5/contracts/MintingHub.sol#L109
override
in state variableshttps://github.com/code-423n4/2023-04-frankencoin/blob/e13bce4f0f9756d0e6145ad2d1992494f983dce5/contracts/Frankencoin.sol#L31 https://github.com/code-423n4/2023-04-frankencoin/blob/e13bce4f0f9756d0e6145ad2d1992494f983dce5/contracts/Position.sol#L35-L36
#0 - 0xA5DF
2023-04-27T10:04:38Z
#0 is dupe of #941
#1 - c4-judge
2023-05-16T16:10:46Z
hansfriese marked the issue as grade-b