OpenSea Seaport contest - kaden's results

A marketplace contract for safely and efficiently creating and fulfilling orders for ERC721 and ERC1155 items.

General Information

Platform: Code4rena

Start Date: 20/05/2022

Pot Size: $1,000,000 USDC

Total HM: 4

Participants: 59

Period: 14 days

Judge: leastwood

Id: 128

League: ETH

OpenSea

Findings Distribution

Researcher Performance

Rank: 51/59

Findings: 1

Award: $434.95

🌟 Selected for report: 0

🚀 Solo Findings: 0

where necessary, do the following:

  • Use a do while loop in place of a for loop
  • Don't initialize loop variable uint256 i as = 0
  • Use ++i instead of i++ (within an unchecked block to prevent unnecessary safeMath)

e.g. replace:

for (uint256 i = 0; i < n; i++) { ... }

with:

uint256 i; do { ... unchecked { ++i; } } while (i < num);

in the following locations:

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