Holograph contest - Olivierdem's results

Omnichain protocol for deploying, minting, & bridging NFTs between blockchains.

General Information

Platform: Code4rena

Start Date: 18/10/2022

Pot Size: $75,000 USDC

Total HM: 27

Participants: 144

Period: 7 days

Judge: gzeon

Total Solo HM: 13

Id: 170

League: ETH

Holograph

Findings Distribution

Researcher Performance

Rank: 140/144

Findings: 1

Award: $0.00

Gas:
grade-c

🌟 Selected for report: 0

🚀 Solo Findings: 0

1. Increment 'i' at the end of the loop in 'unchecked' so save gas. 'unchecked { ++i; }' at end of loop instead of 'for(uint i; i < reservedTypes.length, i++)'. (found line 175 of ./HolographRegistry.sol). 2. Do not use '+=' ('_totalSupply += amount', found line 685 ./HolographERC20.sol). Instead use "_totalSupply = _totalSupply + amount" in order to save some gas. 3. Using uint smaller than 32 bytes incurs overhead. Each operation involving a uint8 costs an extra 22-28 gas (found line 229 in HolographERC20.sol).
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