Holograph contest - beardofginger'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: 127/144

Findings: 1

Award: $0.00

Gas:
grade-c

🌟 Selected for report: 0

🚀 Solo Findings: 0

i++ is less efficient than ++i

The gas cost can be reduced by using ++i or i += 1 instead of i++ in the following locations:

FileLineCode
HolographERC721.sol357for (uint256 i = 0; i < length; i++) {
HolographERC721.sol716for (uint256 i = 0; i < length; i++) {
HolographERC20.sol564for (uint256 i = 0; i < wallets.length; i++) {
PA1D.sol307for (uint256 i = 0; i < length; i++) {
PA1D.sol323for (uint256 i = 0; i < length; i++) {
PA1D.sol340for (uint256 i = 0; i < length; i++) {
PA1D.sol356for (uint256 i = 0; i < length; i++) {
PA1D.sol394for (uint256 i = 0; i < length; i++) {
PA1D.sol414for (uint256 i = 0; i < length; i++) {
PA1D.sol432for (uint256 t = 0; t < tokenAddresses.length; t++) {
PA1D.sol437for (uint256 i = 0; i < addresses.length; i++) {
PA1D.sol454for (uint256 i = 0; i < addresses.length; i++) {
PA1D.sol474for (uint256 i = 0; i < addresses.length; i++) {
HolographOperator.sol781for (uint256 i = 0; i < length; i++) {
HolographOperator.sol871for (uint256 i = _operatorPods.length; i <= pod; i++) {
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