code-423n4 / 2022-05-velodrome-findings

0 stars 0 forks source link

QA Report #179

Open code423n4 opened 2 years ago

code423n4 commented 2 years ago

QA (LOW & NON-CRITICAL)

GalloDaSballo commented 2 years ago

Floating Pragma

Valid NC

transfer and safeTransfer methods are used inside the codebase.

Invalid finding, these are not the Account.transfer functions your automated-tool is picking up

Pair.sol, Router.sol, VotingEscrow.sol, PairFactory.sol, RedemptionSender.sol, use abi.encodePacked()

Addresses will not collide, in lack of POC, marking Invalid

The project uses deprecated safeApprove in ChainlinkOracleClient.sol. Link

Contract is out of scope

The contract uses ecrecover()

In lack of POC, cannot but mark invalid, would be Med / High with POC

block.timestamp is used on many places at the scoped contracts

Invalid as random statement without backing

the codebase uses isContract()

Same

the codebase has //TODO's

Valid NC

The codebase is having lack of NatSpec

Valid NC

Many require statement

Valid NC

In Voter.sol#L198, the approve

Because impl is known, the finding is invalid

An expensive loop used by using SSTORE

Disagree as list of tokens is a function parameter

Router.sol uses create2

The statement doesn't apply to the system as there's no way of deleting the contracts

There are implicit conversations

Valid NC

GalloDaSballo commented 2 years ago

You can really tell Slither or similar was used, that said the report has some merits

GalloDaSballo commented 2 years ago

5 NC