code-423n4 / 2022-09-nouns-builder-findings

10 stars 6 forks source link

QA Report #704

Open code423n4 opened 1 year ago

code423n4 commented 1 year ago
GalloDaSballo commented 1 year ago

I think it would be better if changes to essential auction parameter

TODO

Token in AuctionStorageV1 should probably be of an interface type, that is IToken, not implementation:

R

minBid can have a minimum value of 1%, consider increasing bps to allow broader spreads:

R

When executing the proposal, it does not check that msg.value == sum of all _values, the caller will lose excess eth, it will remain in the treasury:

Disagree as it's meant to use the ETH from the Treasury

I am not sure if this is a feature or a bug but createBid does not have whenNotPaused modifier, meaning the bids for the current auction can still come even when the contract is paused:

Disputed

2R