balancer / balancer-core

Balancer on the EVM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Token balance limits are not enforced

ggrieco-tob opened this issue · comments

The balancer documentation states:

Minimum Balance - (10^18) / (10^12)
The minimum balance of any token in a pool is 10^6 wei. Important note: this is agnostic to token decimals and may cause issues for tokens with less than 6 decimals.

Maximum Balance - (10^18) * (10^12)
The maximum balance of any token in a pool is 10^12 ether.

However, it is still possible to have a balance larger than the maximum or smaller than the minimum, using joinPool and exitPool respectively.

It's unclear what is the severity of this issue.