Golom contest - dirk_y's results

An NFT marketplace that offers the lowest industry fee, a publicly available order-book along with analytical tools.

General Information

Platform: Code4rena

Start Date: 26/07/2022

Pot Size: $75,000 USDC

Total HM: 29

Participants: 179

Period: 6 days

Judge: LSDan

Total Solo HM: 6

Id: 148

League: ETH

Golom

Findings Distribution

Researcher Performance

Rank: 148/179

Findings: 1

Award: $35.17

🌟 Selected for report: 0

🚀 Solo Findings: 0

Low severity findings

During my audit of this project I found the following low severity findings worth mentioning:

  1. The storage entries claimedUpto and rewardLP are not used in RewardDistributor.sol. Unused storage slots should be removed from the contract to avoid confusion, reduce code complexity/noise and save gas on deployment.

  2. In fillAsk in GolomTrader.sol there is the following check: require(amountRemaining >= amount, 'order already filled');. The error string for this check is misleading since an order can be partially filled. Thus, I think it would be more accurate to update the string to something like: "Trying to fill more tokens than available".

  3. The require statement checks in the rest of GolomTrader.sol do not have error strings like in fillAsk. Verbose error strings are helpful for users and either way it would be good to keep some consistency in error string usage through the contract and the project as a whole.

  4. TimLock.sol should be called TimeLock.sol...I'm sure that's been mentioned before but hey ho!

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