Alchemix contest - Picodes'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: 48/62

Findings: 1

Award: $179.97

🌟 Selected for report: 0

🚀 Solo Findings: 0

[Low - 01] AlchemicTokenV2 - flashMintFee could be set to an incorrect value

In setFlashFeeMint, flashMintFee can be set to a value superior to 10000, so adding a require wouldn’t cost much and would add additional safety.

This is also true for setSwapFees

[Non-Critical - 01] setSentinel already natively exist

https://github.com/OpenZeppelin/openzeppelin-contracts/blob/57725120581e27ec469e1c7e497a4008aafff818/contracts/access/AccessControl.sol#L142The function grantRole does the same thing as setSentinel, so there is no real need for this function.

[Non-Critical - 02] Incorrect comment

Comment for mint in AlchemicTokenV2 is incorrect here: there is no mineable ceiling.

#0 - 0xfoobar

2022-05-30T07:48:36Z

Useful QA

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