Illuminate contest - UnusualTurtle's results

Your Sole Source For Fixed-Yields.

General Information

Platform: Code4rena

Start Date: 21/06/2022

Pot Size: $55,000 USDC

Total HM: 29

Participants: 88

Period: 5 days

Judge: gzeon

Total Solo HM: 7

Id: 134

League: ETH

Illuminate

Findings Distribution

Researcher Performance

Rank: 77/88

Findings: 1

Award: $63.08

🌟 Selected for report: 0

πŸš€ Solo Findings: 0

1. ++I COSTS LESS GAS THAN ++I, ESPECIALLY WHEN IT’S USED IN FOR-LOOPS (--I/I-- TOO)

Examples of this issue in the codebase:

  1. File: lender\Lender.sol (Line 96)

  2. File: lender\Lender.sol (Line 289)


2. X = X + Y IS CHEAPER THAN X += Y

Examples of this issue in the codebase:

  1. File: lender\Lender.sol (Line 279)

  2. File: lender\Lender.sol (Line 283)


3 STATE VARIABLES ONLY SET IN THE CONSTRUCTOR SHOULD BE DECLARED IMMUTABLE

Examples of this issue in the codebase: redeemer\Redeemer.sol (Line 54-L56)


4. USING > 0 COSTS MORE GAS THAN != 0 WHEN USED ON A UINT

Example of this issue in the codebase:

  1. File: lender\Lender.sol (Line 681)

5. MINIMIZE THE NUMBER OF EXPENSIVE SLOAD CALL

Examples of this issue in the codebase:

  1. File: redeemer\Redeemer.sol lender can be cached (Line 128)

  2. File: redeemer\Redeemer.sol lender can be cached (Line 177)


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