in UpliftOnlyExample user can bypass paying fees by waiting for the upliftFeeBps to be law then swap to his other account and withdraw with the few fee
this report assumes implementation of the function specified by the sponsor here has been done and solved
upliftFeeBps is vthe alue of the fee charged while withdrawing the value can be changed but not for already added BptAmount
Assume Bob added liquidity at upliftFeeBps = 5000
then he wanted to the withdraw creator to change the fee to 100 (this value is for future deposits)
bob call update the position to his other account which will store the new fee value of 100
after that, he can withdraw from that account with a few fee
loss of (funds / fees)
manual review
in case of swap
when liquidity is added the fee should stay as is and not changed to the new fee
Likelihood: High, any transfer will trigger the bug. Impact: Low, will update upliftFeeBps to the new current value which will increase or decrease the fees, but at the moment there is no setter for upliftFeeBps ! So it won't change anything (but this setter should exists according the sponsor)
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.