Alchemix contest - Hawkeye'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: 41/62

Findings: 2

Award: $267.81

🌟 Selected for report: 0

πŸš€ Solo Findings: 0

QA

I. Variables are already their defaults.

TransmuterV2.sol

setPause() already exists to alter the flag. Therefore, there's no need to set isPaused=false in initialize() since that's the default before alteration.

StakingPools.sol

[https://github.com/code-423n4/2022-05-alchemix/blob/de65c34c7b6e4e94662bf508e214dcbf327984f4/contracts-full/StakingPools.sol#L188

[https://github.com/code-423n4/2022-05-alchemix/blob/de65c34c7b6e4e94662bf508e214dcbf327984f4/contracts-full/StakingPools.sol#L363

ThreePoolAssetManager.sol

[https://github.com/code-423n4/2022-05-alchemix/blob/de65c34c7b6e4e94662bf508e214dcbf327984f4/contracts-full/ThreePoolAssetManager.sol#L250

https://github.com/code-423n4/2022-05-alchemix/blob/de65c34c7b6e4e94662bf508e214dcbf327984f4/contracts-full/ThreePoolAssetManager.sol#L254

[https://github.com/code-423n4/2022-05-alchemix/blob/de65c34c7b6e4e94662bf508e214dcbf327984f4/contracts-full/ThreePoolAssetManager.sol#L353

https://github.com/code-423n4/2022-05-alchemix/blob/main/contracts-full/ThreePoolAssetManager.sol#L771-L773

https://github.com/code-423n4/2022-05-alchemix/blob/main/contracts-full/ThreePoolAssetManager.sol#L901-L902

II. Grammatical errors

Remove β€˜is’ :

https://github.com/code-423n4/2022-05-alchemix/blob/de65c34c7b6e4e94662bf508e214dcbf327984f4/contracts-full/interfaces/alchemist/IAlchemistV2State.sol#L47

III. Use assignment operator( +=/-=) for better readability :

https://github.com/code-423n4/2022-05-alchemix/blob/main/contracts-full/StakingPools.sol#L379-L380

[https://github.com/code-423n4/2022-05-alchemix/blob/main/contracts-full/StakingPools.sol#L397-L398

#0 - 0xfoobar

2022-05-30T06:54:09Z

Correct on struct reducing its slots

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