ENS contest - ReyAdmirado's results

Decentralised naming for wallets, websites, & more.

General Information

Platform: Code4rena

Start Date: 12/07/2022

Pot Size: $75,000 USDC

Total HM: 16

Participants: 100

Period: 7 days

Judge: LSDan

Total Solo HM: 7

Id: 145

League: ETH

ENS

Findings Distribution

Researcher Performance

Rank: 63/100

Findings: 2

Award: $118.74

🌟 Selected for report: 0

🚀 Solo Findings: 0

1. it costs more gas to initialize variables to zero than to let the default of zero be applied

2. can make the variable outside the loop to save gas

3. <array>.length should not be looked up in every loop of a for-loop

4. x = x + y is cheaper than x += y

5. better to use ++i than i++

6. use custom errors rather than revert()/require() strings to save deployment gas

https://blog.soliditylang.org/2021/04/21/custom-errors/

7.Use a solidity version of at least 0.8.10 to have external calls skip contract existence checks if the external call has a return value

8. require()/revert() strings longer than 32 bytes cost extra gas

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