VTVL contest - jpserrat's results

Building no-code token management tools to empower web3 founders and investors, starting with token vesting.

General Information

Platform: Code4rena

Start Date: 20/09/2022

Pot Size: $30,000 USDC

Total HM: 12

Participants: 198

Period: 3 days

Judge: 0xean

Total Solo HM: 2

Id: 164

League: ETH

VTVL

Findings Distribution

Researcher Performance

Rank: 186/198

Findings: 1

Award: $9.09

🌟 Selected for report: 0

🚀 Solo Findings: 0

Awards

9.086 USDC - $9.09

Labels

bug
G (Gas Optimization)

External Links

Initializing variable to default value

The variable numTokensReservedForVesting is being initialized to zero and the uint default value is already zero.

Using custom errors is more gas efficient

Starting from Solidity 0.8.4 using custom errors instead of strings is more gas efficient.

Require statement not needed due to underflow

VariableSupplyERC20Token.mint

require(amount <= mintableSupply, "INVALID_AMOUNT"); mintableSupply -= amount;

The require statement is not needed here cause the operation will revert in case of underflow

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