Platform: Code4rena
Start Date: 27/04/2022
Pot Size: $50,000 MIM
Total HM: 6
Participants: 59
Period: 5 days
Judge: 0xean
Id: 113
League: ETH
Rank: 57/59
Findings: 1
Award: $44.01
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: BowTiedWardens
Also found by: 0x1f8b, 0xNazgul, 0xf15ers, 0xkatana, CertoraInc, Funen, GimelSec, Hawkeye, IllIllI, Kulk0, NoamYakov, Tadashi, Tomio, TrungOre, antonttc, catchup, defsec, delfin454000, fatherOfBlocks, gzeon, horsefacts, joestakey, kenta, oyc_109, pauliax, reassor, robee, samruna, simon135, slywaters, sorrynotsorry, z3s
44.0084 MIM - $44.01
In NFTPair.requestAndBorrow() in the first require statement:
require(ILendingClub(lender).willLend(tokenId, params), "NFTPair: LendingClub does not like you");
The string Is longer than 32 bytes which means it is stored in 2 storage slots. If you make it shorter it can fit into 1 storage slot and you will save 20 000 gas.
#0 - cryptolyndon
2022-05-14T01:55:30Z
Seen, thanks