Since UpliftOnlyExample can be associated with normal balancerV3 pools, users could be charged upLiftFee when actually the pool didn't have any activity
NOTE!: we need to take into considerations that
UpliftOnlyExampleis a normal hook that can be chosen for other standard Balancer V3 pools
when user deposits, their share price gets stored in their poolsFeeData to be used later for fees charging during removal of liquidity
But the problem here is that there can be times where if the pool is Quant weighted or normal balancerV3, uplift fees will be charged on withdrawals, although there were no earned swap fees or no weight changes of the pool, here is how
User deposits 50-50 wBTC/USDC (BTC = 10K)
wBTC price suddenly spikes to 12K, no rule changing weights for quantAMM weighted pool, and no manual weight changes for normal balancer V3 pools yet
user want to withdraw after
getPoolLPTokenValue will be called during onAfterRemoveLiquidity and will charge the user upLift fees as if the pool caused his value to grow (which is not)
unfair fees charges to LP during withdrawals
Manual review
implement tracking systems to see how much the system actually caused upLift to the user and not blindly charge upLift fees from current market value only
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.