Holograph contest - cylzxje'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: 130/144

Findings: 2

Award: $0.00

QA:
grade-c
Gas:
grade-c

🌟 Selected for report: 0

🚀 Solo Findings: 0

Gas Optimizations

[G-01] Use external instead of public

[G-02] Use payable for onlyOwner function


Details:

[G-01] Use external instead of public

Since these functions aren't called by the internal contract, it should be declared as external

contracts/enforcer/HolographERC20.sol

contracts/enforcer/PA1D.sol

Recommend changing from public to external

[G-02] Use payable for onlyOwner function

Since ETH can't be accidently sent by owner, mark as payable to save some gas

contracts/enforcer/PA1D.sol https://github.com/code-423n4/2022-10-holograph/blob/main/contracts/enforcer/PA1D.sol#L533

Recommend marking payable

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