Submitted by hickuphh3, also found by throttle
WhitelistPeriodManager.sol#L178-L184
WhitelistPeriodManager.sol#L115-L125
The totalLiquidity and totalLiquidityByLp mappings are not updated when an address is removed from the isExcludedAddress mapping. While this affects the enforcement of the cap limits and the getMaxCommunityLpPositon() function, the worst impact this has is that the address cannot have liquidity removed / transferred due to subtraction overflow.
In particular, users can be prevented from withdrawing their staked LP tokens from the liquidity farming contract should it become non-excluded.
The simplest way is to prevent exclusion removals.
ankurdubey521 (Biconomy) confirmed
pauliax (judge) decreased severity to Medium and commented:
