In calcMinMarketslippageAmt()
in GMXManager
do not check the slippage value entry and it has to be less than 1000
.
Inside of calcMinMarketSlippageAmt()
, this sentence is running:
If the slippage is greater than 1000, they throw an unexpected error. "Arithmetic overflow/underflow".
Low, you can interrupt the process of deposit()
, compound
, rebalance()
, etc. generating losses in the use of gas.
Manual code review
Add a condition for verification of the received value such as:
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.