AbraNFT contest - Kulk0's results

A peer to peer lending platform, using NFTs as collateral.

General Information

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

Abracadabra Money

Findings Distribution

Researcher Performance

Rank: 57/59

Findings: 1

Award: $44.01

🌟 Selected for report: 0

🚀 Solo Findings: 0

Awards

44.0084 MIM - $44.01

Labels

bug
G (Gas Optimization)

External Links

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

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