Nouns DAO contest - 0xSky's results

A DAO-driven NFT project on Ethereum.

General Information

Platform: Code4rena

Start Date: 22/08/2022

Pot Size: $50,000 USDC

Total HM: 4

Participants: 160

Period: 5 days

Judge: gzeon

Total Solo HM: 2

Id: 155

League: ETH

Nouns DAO

Findings Distribution

Researcher Performance

Rank: 110/160

Findings: 1

Award: $35.44

🌟 Selected for report: 0

🚀 Solo Findings: 0

  1. INounsDAOExecutor.executeTransaction has payable keyword. But LogicV2.execute(caller) and NounsDAOExecutor.executeTransaction doesn't have payable keyword. I think LogicV2.execute is called by proxy so payable is not mandatory. NounsDAOExecutor.executeTransaction is out of scope and it can be converted to payable function by the interface. Anyway, I think it's better to write payable keyword.

  2. There is a mismatch between LogicV2.execute and NounsDAOExecutor.executeTransaction. When block.timestamp == proposal.eta + timelock.GRACE_PERIOD(), LogicV2.state will return ProposalState.Expired. So the proposal can not be executed. But in NounsDAOExecutor.executeTransaction, the proposal can be executed in the timestamp. So I think block.timestamp > proposal.eta + timelock.GRACE_PERIOD() is more correct in LogicV2.state.

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