Platform: Code4rena
Start Date: 27/11/2023
Pot Size: $60,500 USDC
Total HM: 7
Participants: 72
Period: 7 days
Judge: Picodes
Total Solo HM: 2
Id: 309
League: ETH
Rank: 69/72
Findings: 1
Award: $11.32
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: osmanozdemir1
Also found by: 0xCiphky, Audinarey, Banditx0x, CRYP70, Cryptor, D1r3Wolf, KupiaSec, LokiThe5th, Sathish9098, Skylice, ThenPuli, Topmark, Udsen, ZanyBonzy, baice, ether_sky, fatherOfBlocks, foxb868, grearlake, hihen, hubble, hunter_w3b, lanrebayode77, leegh, lsaudit, minhtrng, nocoder, onchain-guardians, ptsanev, ro1sharkm, seaton0x1, sivanesh_808, t4sk, tapir, tpiliposian, ustas
11.3163 USDC - $11.32
Contract under the following folders are set to Solidity pragma solidity ^0.8.0;
Compiler version should be set a specific version, such as 0.8.18
to avoid bugs that may be present in certain compiler version.
ERC115.balanceOfBatch
balanceOfBatch
when owners.length < ids.length
will result in incomplete query of balances.
# balanceOfBatch require(owners.length == ids.length)
Comments on fee and premia equations use feeGrowthX128
but both inside this code and Uniswap v3, fee calculations are done with feeGrowthInsideX128``so the comments should be fixed to use
feeGrowthInsideX128`.
#0 - c4-judge
2023-12-14T17:03:29Z
Picodes marked the issue as grade-b