Alchemix contest - hansfriese's results

A protocol for self-repaying loans with no liquidation risk.

General Information

Platform: Code4rena

Start Date: 05/05/2022

Pot Size: $125,000 DAI

Total HM: 17

Participants: 62

Period: 14 days

Judge: leastwood

Total Solo HM: 15

Id: 120

League: ETH

Alchemix

Findings Distribution

Researcher Performance

Rank: 56/62

Findings: 1

Award: $89.43

๐ŸŒŸ Selected for report: 0

๐Ÿš€ Solo Findings: 0

Recommendations I will mention one example if examples are more than 30.

  1. use != 0 instead of > 0 (more than 30 examples) AlchemistV2.sol#L1267

  2. use ++i instead of i++, i+=1 (more than 30 examples) AlchemistV2.sol#L990

  3. no need to initialize variables with default values (more than 30 examples) AlchemistV2.sol#L990

  4. an arrayโ€™s length should be cached to save gas in for-loops (more than 30 examples) AlchemistV2.sol#L990

  5. non-strict inequalities are cheaper than strict ones AlchemistV2.sol#L729 AlchemistV2.sol#L773 AlchemistV2.sol#L838 EthAssetManager.sol#L553 EthAssetManager.sol#L711 EthAssetManager.sol#L721 ThreePoolAssetManager.sol#L379 ThreePoolAssetManager.sol#L755 ThreePoolAssetManager.sol#L1027 ThreePoolAssetManager.sol#L1037 Limiters.sol#L100

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