PoolTogether - MohammedRizwan's results

A protocol for no-loss prize savings

General Information

Platform: Code4rena

Start Date: 07/07/2023

Pot Size: $121,650 USDC

Total HM: 36

Participants: 111

Period: 7 days

Judge: Picodes

Total Solo HM: 13

Id: 258

League: ETH

PoolTogether

Findings Distribution

Researcher Performance

Rank: 95/111

Findings: 1

Award: $15.92

QA:
grade-b

🌟 Selected for report: 0

šŸš€ Solo Findings: 0

Summary

Low Risk Issues

NumberIssueInstances
[L‑01]Use of outdated prb-math library1
[L‑02]draft-ERC20Permit.sol is deprecated by openzeppelin1

[L‑01] Use of outdated prb-math library

The contracts have heavily used prb-math library but the library version used in contracts is v3.3.0 which is outdated. prb-math library is updated to latest version v4.01 which comes with features and optimizations.

There is 1 instance of this issue: All contracts: https://github.com/PaulRBerg/prb-math/blob/1edf08dd73eb1ace0042459ba719b8ea4a55c0e0/package.json#L4

Update the prb-math library to v4.01.

[L‑02] draft-ERC20Permit.sol is deprecated by openzeppelin

Vault.sol has used draft-ERC20Permit.sol in contract but Openzeppelin has deprecated draft-ERC20Permit.sol contract in v4.9.0. Reference link:- https://github.com/OpenZeppelin/openzeppelin-contracts/releases

There is 1 instance of this issue: https://github.com/GenerationSoftware/pt-v5-vault/blob/b1deb5d494c25f885c34c83f014c8a855c5e2749/src/Vault.sol#L5

Use ERC20Permit.sol instead of draft-ERC20Permit.sol.

#0 - c4-judge

2023-07-18T19:14:46Z

Picodes marked the issue as grade-b

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