Nested Finance contest - Picodes's results

The one-stop Defi app to build, manage and monetize your portfolio.

General Information

Platform: Code4rena

Start Date: 15/06/2022

Pot Size: $35,000 USDC

Total HM: 1

Participants: 36

Period: 3 days

Judge: Jack the Pug

Total Solo HM: 1

Id: 137

League: ETH

Nested Finance

Findings Distribution

Researcher Performance

Rank: 33/36

Findings: 1

Award: $34.72

🌟 Selected for report: 0

🚀 Solo Findings: 0

Awards

34.7201 USDC - $34.72

Labels

bug
G (Gas Optimization)
valid

External Links

[Gas - 01] Use Custom Errors

Instead of using error strings, to reduce deployment and runtime cost, you should use Custom Errors: see https://blog.soliditylang.org/2021/04/21/custom-errors/. This would save both deployment and runtime cost, and increase readability !

Examples: https://github.com/code-423n4/2022-06-nested/blob/b4a153c943d54755711a2f7b80cbbf3a5bb49d76/contracts/operators/Paraswap/ParaswapOperator.sol#L39 https://github.com/code-423n4/2022-06-nested/blob/b4a153c943d54755711a2f7b80cbbf3a5bb49d76/contracts/operators/ZeroEx/ZeroExOperator.sol#L33 And many others !

#0 - maximebrugel

2022-06-24T14:27:38Z

[Gas - 01] Use Custom Errors (Duplicated)

#6 (see comment)

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