Juicebox Buyback Delegate - fatherOfBlocks's results

Thousands of projects use Juicebox to fund, operate, and scale their ideas & communities transparently on Ethereum.

General Information

Platform: Code4rena

Start Date: 18/05/2023

Pot Size: $24,500 USDC

Total HM: 3

Participants: 72

Period: 4 days

Judge: LSDan

Id: 237

League: ETH

Juicebox

Findings Distribution

Researcher Performance

Rank: 63/72

Findings: 1

Award: $16.19

QA:
grade-b

🌟 Selected for report: 0

🚀 Solo Findings: 0

  • L4/8 - IJBController3_1, IJBFundingCycleBallot are imported, which are not used in any way, this generates that when the interface is deployed in a blockchain and in an explorer the entire code is seen, it becomes difficult to understand the code. In addition to the extra cost of gas that is generated.

  • L185/218 - The understanding of the code could be improved if a modifier were created so that it is clear who is authorized to use the function.

modifier onlyAddress(bool) { if(bool == true){ if (msg.sender != address(jbxTerminal)) revert JuiceBuyback_Unauthorized(); }else{ if (msg.sender != address(pool)) revert JuiceBuyback_Unauthorized(); } }

#0 - c4-judge

2023-06-02T10:56:47Z

dmvt marked the issue as grade-b

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