Nibbl contest - GalloDaSballo's results

NFT fractionalization protocol with guaranteed liquidity and price based buyout.

General Information

Platform: Code4rena

Start Date: 21/06/2022

Pot Size: $30,000 USDC

Total HM: 12

Participants: 96

Period: 3 days

Judge: HardlyDifficult

Total Solo HM: 5

Id: 140

League: ETH

Nibbl

Findings Distribution

Researcher Performance

Rank: 75/96

Findings: 1

Award: $28.28

🌟 Selected for report: 0

🚀 Solo Findings: 0

Unnecessary Usage of transferFrom when transferring from address(this)

The code for transfering tokens in:

Uses transferFrom while it could simply use transfer, this will save gas (less calldata and less checks)

Lack of safeTransfer

The code for sweeping tokens in:

Is not using safeTransfer, hence doesn't check if the transfer was successful, which is inconsistent with the rest of the code

Variable Shadowing

In NibblVault.sol

The variable _totalSupply is part of ERC20Upgradeable but certain functions are shadowing it It may be best to rename it to avoid potential mistakes

#0 - mundhrakeshav

2022-06-26T16:55:31Z

#16

#1 - HardlyDifficult

2022-07-03T23:00:52Z

#2 - HardlyDifficult

2022-07-04T16:03:41Z

  1. is invalid.
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