balancer / balancer-v3-monorepo

GNU General Public License v3.0
38 stars 15 forks source link

Vault Pruning (move PackedTokenBalance) #699

Closed EndymionJkb closed 3 months ago

EndymionJkb commented 3 months ago

Description

After the import cleanup and warning suppression, start "pruning" the Vault by moving things out of it that don't need to be there. PackedTokenBalance is a reusable thing that can live in solidity-utils. We also have pool-utils now, and some of the base pool contracts could be moved there (albeit not easily, and we've probably coupled them a little too tightly, and designed the tests in such as way as to make them hard to move).

For ease of review, the Vault Pruning PRs will be as small and self-contained as possible.

Type of change

Checklist:

Issue Resolution

openzeppelin-code[bot] commented 3 months ago

Vault Pruning (move PackedTokenBalance)

Generated at commit: 5a930259235d720021cdf4a16b2ac75367b00fc3

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
2
2
0
11
38
53
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector