Caviar Private Pools - 0x6980's results

A fully on-chain NFT AMM that allows you to trade every NFT in a collection.

General Information

Platform: Code4rena

Start Date: 07/04/2023

Pot Size: $47,000 USDC

Total HM: 20

Participants: 120

Period: 6 days

Judge: GalloDaSballo

Total Solo HM: 4

Id: 230

League: ETH

Caviar

Findings Distribution

Researcher Performance

Rank: 92/120

Findings: 1

Award: $23.08

🌟 Selected for report: 0

🚀 Solo Findings: 0

Awards

23.0813 USDC - $23.08

Labels

3 (High Risk)
satisfactory
duplicate-167

External Links

Judge has assessed an item in Issue #826 as 3 risk. The relevant finding follows:

  1. Consider using OpenZeppelin’s SafeCast library to prevent unexpected overflows when casting from uint256. PrivatePool.sol#L2 File: src/PrivatePool.sol

231: virtualNftReserves -= uint128(weightSum);

PrivatePoolMetadata.sol#L36 PrivatePoolMetadata.sol#L56 File: src/PrivatePoolMetadata.sol

36: PrivatePool privatePool = PrivatePool(payable(address(uint160(tokenId))));

56: PrivatePool privatePool = PrivatePool(payable(address(uint160(tokenId))));

#0 - c4-judge

2023-05-04T16:55:44Z

GalloDaSballo marked the issue as duplicate of #167

#1 - c4-judge

2023-05-04T16:56:31Z

GalloDaSballo marked the issue as satisfactory

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