NOTE!: its assumed that pool creator fees here is the
adminFeePercentthat is sentQuantAMMAdminsince there are no other logic of distributing fees to pool creators
The UpliftOnlyExample contract charges a minimum withdrawal fee which is not totally wrong
But the problem is that fees are sent to pool creators from those minimum, contradicting the whitepaper's statement that pool creators should only earn fees when providing above-HODL returns.
In onAfterRemoveLiquidity(), the contract enforces a minimum fee through minWithdrawalFeeBps that gets charged regardless of pool performance:
This minimum fee is split between:
Pool donation (proportional to 1 - adminFeePercent)
QuantAMM admin / Pool creator (proportional to adminFeePercent)
Pool creators receive fees even when providing negative returns
Manual review
For security considerations Keep minimum fee but direct 100% to pool donation when returns are negative
Only split fees with admin/pool creators when pool provides positive returns (as intended)
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.