GMXVault::receive()
the code doesn't check if the contract has a positive balance before attempting the transfer. If the contract balance is zero, attempting to transfer funds will consume unnecessary gas and may result in a failed transaction. To avoid this, you should add a check to ensure the contract balance is greater than zero before attempting the transfer.
Gas Wastage
Manual Review
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.