AbraNFT contest - m9800'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: 39/59

Findings: 1

Award: $73.06

🌟 Selected for report: 0

🚀 Solo Findings: 0

[N01] Leap-years considerations

https://github.com/code-423n4/2022-04-abranft/blob/5cd4edc3298c05748e952f8a8c93e42f930a78c2/contracts/NFTPair.sol#L111

for more precision and considering leap years you could take a year as 365.25 for more precision.

[N02] inconsistent checking of address(0) for collateral and asset contracts

https://github.com/code-423n4/2022-04-abranft/blob/5cd4edc3298c05748e952f8a8c93e42f930a78c2/contracts/NFTPair.sol#L175

you should check both, collateral and asset or none for more consistency

[N03] use enums for better readability

https://github.com/code-423n4/2022-04-abranft/blob/5cd4edc3298c05748e952f8a8c93e42f930a78c2/contracts/NFTPair.sol#L96

#0 - cryptolyndon

2022-05-13T05:50:34Z

Seen, thanks.

[N02] checking neither would break things spectacularly; the check has a different purpose

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