There is currently limit no low limits on what quantAMMSwapFeeTake
can be set to. Even though this is an admin function, accidentally setting quantAMMSwapFeeTake
to zero, for instance, would have negative impacts.
Calculations dependant on this variable can break if it is set incorrectly.
Example in UpliftOnlyExample.sol
Consider adding restrictions for _quantAMMUpliftFeeTake
not being 0
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.