Fraxlend (Frax Finance) contest - dy's results

Fraxlend: A permissionless lending platform and the final piece of the Frax Finance Defi Trinity.

General Information

Platform: Code4rena

Start Date: 12/08/2022

Pot Size: $50,000 USDC

Total HM: 15

Participants: 120

Period: 5 days

Judge: Justin Goro

Total Solo HM: 6

Id: 153

League: ETH

Frax Finance

Findings Distribution

Researcher Performance

Rank: 85/120

Findings: 1

Award: $45.83

🌟 Selected for report: 0

🚀 Solo Findings: 0

State-accessing function marked as pure

FraxlendPair.getConstants() is marked as pure when it should be marked as view, as it accesses state.

State variable formatted like constant

FraxlendPairCore.TIME_LOCK_ADDRESS is formatted in ALL-CAPS like a constant, but it is not a constant and change be changed by FraxlendPair.setTimelock(). It should thus be written in camelCase to indicate it is a standard state variable (timeLockAddress).

#0 - gititGoro

2022-10-06T22:34:44Z

Constants are not state. At compile time, the values are written as though the dev used magic numbers.

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